This repository has been archived on 2024-07-21. You can view files and clone it, but cannot push or open issues or pull requests.
2023-06-06 17:17:27 +08:00

1 line
683 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"version":3,"sources":["webpack://mdb/webpack/universalModuleDefinition","webpack://mdb/./node_modules/core-js/modules/es.array.iterator.js","webpack://mdb/./node_modules/core-js/modules/web.dom-collections.iterator.js","webpack://mdb/./node_modules/core-js/internals/fails.js","webpack://mdb/./node_modules/core-js/internals/is-callable.js","webpack://mdb/./node_modules/core-js/internals/function-uncurry-this.js","webpack://mdb/./node_modules/core-js/modules/es.regexp.exec.js","webpack://mdb/./node_modules/core-js/internals/global.js","webpack://mdb/./node_modules/core-js/internals/well-known-symbol.js","webpack://mdb/./node_modules/core-js/internals/descriptors.js","webpack://mdb/./node_modules/core-js/internals/has-own-property.js","webpack://mdb/./node_modules/core-js/modules/es.array.includes.js","webpack://mdb/./node_modules/core-js/internals/object-define-property.js","webpack://mdb/./node_modules/core-js/internals/function-call.js","webpack://mdb/./node_modules/core-js/internals/is-object.js","webpack://mdb/./node_modules/core-js/internals/an-object.js","webpack://mdb/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://mdb/./node_modules/core-js/internals/to-indexed-object.js","webpack://mdb/./node_modules/core-js/internals/classof-raw.js","webpack://mdb/./node_modules/core-js/internals/require-object-coercible.js","webpack://mdb/./node_modules/core-js/internals/define-built-in.js","webpack://mdb/./node_modules/core-js/internals/to-string.js","webpack://mdb/./node_modules/core-js/modules/es.string.replace.js","webpack://mdb/./node_modules/core-js/internals/export.js","webpack://mdb/./node_modules/core-js/internals/get-built-in.js","webpack://mdb/./node_modules/core-js/internals/is-pure.js","webpack://mdb/./node_modules/core-js/internals/internal-state.js","webpack://mdb/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://mdb/./node_modules/core-js/internals/object-create.js","webpack://mdb/./node_modules/core-js/modules/es.string.trim.js","webpack://mdb/./node_modules/core-js/modules/es.regexp.constructor.js","webpack://mdb/./node_modules/core-js/internals/function-bind-native.js","webpack://mdb/./node_modules/core-js/internals/create-property-descriptor.js","webpack://mdb/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://mdb/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://mdb/./node_modules/core-js/internals/shared.js","webpack://mdb/./node_modules/core-js/internals/shared-store.js","webpack://mdb/./node_modules/core-js/internals/define-global-property.js","webpack://mdb/./node_modules/core-js/internals/to-object.js","webpack://mdb/./node_modules/core-js/internals/document-create-element.js","webpack://mdb/./node_modules/core-js/internals/function-name.js","webpack://mdb/./node_modules/core-js/internals/shared-key.js","webpack://mdb/./node_modules/core-js/internals/hidden-keys.js","webpack://mdb/./node_modules/core-js/internals/enum-bug-keys.js","webpack://mdb/./node_modules/core-js/internals/regexp-exec.js","webpack://mdb/./node_modules/core-js/internals/iterators.js","webpack://mdb/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://mdb/./node_modules/core-js/internals/to-property-key.js","webpack://mdb/./node_modules/core-js/internals/document-all.js","webpack://mdb/./node_modules/core-js/internals/is-symbol.js","webpack://mdb/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://mdb/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://mdb/./node_modules/core-js/internals/get-method.js","webpack://mdb/./node_modules/core-js/internals/a-callable.js","webpack://mdb/./node_modules/core-js/internals/uid.js","webpack://mdb/./node_modules/core-js/internals/ie8-dom-define.js","webpack://mdb/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://mdb/./node_modules/core-js/internals/make-built-in.js","webpack://mdb/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://mdb/./node_modules/core-js/internals/object-keys-internal.js","webpack://mdb/./node_modules/core-js/internals/array-includes.js","webpack://mdb/./node_modules/core-js/internals/to-length.js","webpack://mdb/./node_modules/core-js/internals/is-forced.js","webpack://mdb/./node_modules/core-js/internals/regexp-flags.js","webpack://mdb/./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://mdb/./node_modules/core-js/internals/regexp-unsupported-dot-all.js","webpack://mdb/./node_modules/core-js/internals/regexp-unsupported-ncg.js","webpack://mdb/./node_modules/core-js/internals/whitespaces.js","webpack://mdb/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://mdb/./node_modules/core-js/internals/add-to-unscopables.js","webpack://mdb/./node_modules/core-js/internals/iterators-core.js","webpack://mdb/./node_modules/core-js/internals/object-get-prototype-of.js","webpack://mdb/./node_modules/core-js/internals/set-to-string-tag.js","webpack://mdb/(webpack)/buildin/global.js","webpack://mdb/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://mdb/./node_modules/core-js/internals/indexed-object.js","webpack://mdb/./node_modules/core-js/internals/to-primitive.js","webpack://mdb/./node_modules/core-js/internals/engine-v8-version.js","webpack://mdb/./node_modules/core-js/internals/engine-user-agent.js","webpack://mdb/./node_modules/core-js/internals/try-to-string.js","webpack://mdb/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://mdb/./node_modules/core-js/internals/inspect-source.js","webpack://mdb/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://mdb/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://mdb/./node_modules/core-js/internals/own-keys.js","webpack://mdb/./node_modules/core-js/internals/to-absolute-index.js","webpack://mdb/./node_modules/core-js/internals/math-trunc.js","webpack://mdb/./node_modules/core-js/internals/length-of-array-like.js","webpack://mdb/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://mdb/./node_modules/core-js/internals/classof.js","webpack://mdb/./node_modules/core-js/internals/to-string-tag-support.js","webpack://mdb/./node_modules/core-js/internals/object-define-properties.js","webpack://mdb/./node_modules/core-js/internals/object-keys.js","webpack://mdb/./node_modules/core-js/internals/html.js","webpack://mdb/./node_modules/core-js/internals/string-trim.js","webpack://mdb/./node_modules/core-js/internals/string-trim-forced.js","webpack://mdb/./node_modules/core-js/internals/inherit-if-required.js","webpack://mdb/./node_modules/core-js/internals/function-uncurry-this-accessor.js","webpack://mdb/./node_modules/core-js/internals/a-possible-prototype.js","webpack://mdb/./node_modules/core-js/internals/is-regexp.js","webpack://mdb/./node_modules/core-js/internals/regexp-get-flags.js","webpack://mdb/./node_modules/core-js/internals/proxy-accessor.js","webpack://mdb/./node_modules/core-js/internals/set-species.js","webpack://mdb/./node_modules/core-js/internals/define-built-in-accessor.js","webpack://mdb/./node_modules/core-js/internals/function-apply.js","webpack://mdb/./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack://mdb/./node_modules/core-js/internals/function-uncurry-this-clause.js","webpack://mdb/./node_modules/core-js/internals/advance-string-index.js","webpack://mdb/./node_modules/core-js/internals/string-multibyte.js","webpack://mdb/./node_modules/core-js/internals/get-substitution.js","webpack://mdb/./node_modules/core-js/internals/regexp-exec-abstract.js","webpack://mdb/./node_modules/core-js/internals/iterator-define.js","webpack://mdb/./node_modules/core-js/internals/iterator-create-constructor.js","webpack://mdb/./node_modules/core-js/internals/correct-prototype-getter.js","webpack://mdb/./node_modules/core-js/internals/create-iter-result-object.js","webpack://mdb/./node_modules/core-js/internals/dom-iterables.js","webpack://mdb/./node_modules/core-js/internals/dom-token-list-prototype.js","webpack://mdb/./node_modules/detect-autofill/dist/detect-autofill.js","webpack://mdb/./src/js/mdb/util/index.js","webpack://mdb/./src/js/mdb/dom/data.js","webpack://mdb/./src/js/mdb/dom/event-handler.js","webpack://mdb/./src/js/mdb/dom/manipulator.js","webpack://mdb/./src/js/mdb/dom/selector-engine.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/util/index.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/dom/event-handler.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/dom/data.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/dom/manipulator.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/util/config.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/base-component.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/button.js","webpack://mdb/./src/js/free/button.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/dom/selector-engine.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/util/scrollbar.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/util/backdrop.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/util/focustrap.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/util/component-functions.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/offcanvas.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/alert.js","webpack://mdb/./src/js/free/alert.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/util/swipe.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/carousel.js","webpack://mdb/./src/js/free/carousel.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/modal.js","webpack://mdb/./src/js/free/modal.js","webpack://mdb/./node_modules/@popperjs/core/lib/enums.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/getWindow.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","webpack://mdb/./node_modules/@popperjs/core/lib/modifiers/applyStyles.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/getBasePlacement.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/math.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/userAgent.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/contains.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/within.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/expandToHashMap.js","webpack://mdb/./node_modules/@popperjs/core/lib/modifiers/arrow.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/getVariation.js","webpack://mdb/./node_modules/@popperjs/core/lib/modifiers/computeStyles.js","webpack://mdb/./node_modules/@popperjs/core/lib/modifiers/eventListeners.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/rectToClientRect.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/computeOffsets.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/detectOverflow.js","webpack://mdb/./node_modules/@popperjs/core/lib/modifiers/flip.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","webpack://mdb/./node_modules/@popperjs/core/lib/modifiers/hide.js","webpack://mdb/./node_modules/@popperjs/core/lib/modifiers/offset.js","webpack://mdb/./node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","webpack://mdb/./node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/getAltAxis.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","webpack://mdb/./node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/orderModifiers.js","webpack://mdb/./node_modules/@popperjs/core/lib/createPopper.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/debounce.js","webpack://mdb/./node_modules/@popperjs/core/lib/utils/mergeByName.js","webpack://mdb/./node_modules/@popperjs/core/lib/popper.js","webpack://mdb/./node_modules/@popperjs/core/lib/popper-lite.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/util/sanitizer.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/util/template-factory.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/tooltip.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/popover.js","webpack://mdb/./src/js/free/popover.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/scrollspy.js","webpack://mdb/./src/js/free/scrollspy.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/tab.js","webpack://mdb/./src/js/free/tab.js","webpack://mdb/./src/js/free/tooltip.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/toast.js","webpack://mdb/./src/js/free/toast.js","webpack://mdb/./src/js/free/input.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/collapse.js","webpack://mdb/./src/js/free/collapse.js","webpack://mdb/./src/js/bootstrap/mdb-prefix/dropdown.js","webpack://mdb/./src/js/free/dropdown.js","webpack://mdb/./src/js/free/ripple.js","webpack://mdb/./src/js/free/range.js","webpack://mdb/webpack/bootstrap"],"names":["root","factory","exports","module","define","amd","this","toIndexedObject","addToUnscopables","Iterators","InternalStateModule","defineProperty","f","defineIterator","createIterResultObject","IS_PURE","DESCRIPTORS","ARRAY_ITERATOR","setInternalState","set","getInternalState","getterFor","values","Array","iterated","kind","type","target","index","state","length","undefined","Arguments","name","value","error","handlePrototype","CollectionPrototype","COLLECTION_NAME","ITERATOR","ArrayValues","createNonEnumerableProperty","TO_STRING_TAG","DOMIterables","METHOD_NAME","ArrayIteratorMethods","global","DOMTokenListPrototype","wellKnownSymbol","prototype","exec","$documentAll","documentAll","all","IS_HTMLDDA","argument","NATIVE_BIND","FunctionPrototype","Function","call","uncurryThisWithBind","bind","fn","apply","arguments","$","proto","forced","it","Math","check","globalThis","window","self","shared","hasOwn","uid","NATIVE_SYMBOL","USE_SYMBOL_AS_UID","Symbol","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","fails","Object","get","uncurryThis","toObject","hasOwnProperty","key","$includes","includes","el","IE8_DOM_DEFINE","V8_PROTOTYPE_DEFINE_BUG","anObject","toPropertyKey","$TypeError","TypeError","$defineProperty","$getOwnPropertyDescriptor","getOwnPropertyDescriptor","ENUMERABLE","CONFIGURABLE","WRITABLE","O","P","Attributes","current","configurable","enumerable","writable","isCallable","isObject","$String","String","definePropertyModule","createPropertyDescriptor","object","IndexedObject","requireObjectCoercible","toString","stringSlice","slice","isNullOrUndefined","makeBuiltIn","defineGlobalProperty","options","simple","unsafe","nonConfigurable","nonWritable","classof","fixRegExpWellKnownSymbolLogic","toIntegerOrInfinity","toLength","advanceStringIndex","getMethod","getSubstitution","regExpExec","REPLACE","max","min","concat","push","stringIndexOf","indexOf","REPLACE_KEEPS_$0","replace","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","_","nativeReplace","maybeCallNative","UNSAFE_SUBSTITUTE","searchValue","replaceValue","replacer","string","rx","S","res","done","fullUnicode","functionalReplace","results","unicode","lastIndex","result","accumulatedResult","nextSourcePosition","i","matched","position","captures","j","namedCaptures","groups","replacement","replacerArgs","re","a","defineBuiltIn","copyConstructorProperties","isForced","source","sourceProperty","descriptor","TARGET","GLOBAL","STATIC","stat","targetProperty","dontCallGetSet","sham","namespace","method","store","STATE","NATIVE_WEAK_MAP","sharedKey","hiddenKeys","OBJECT_ALREADY_INITIALIZED","WeakMap","has","metadata","facade","enforce","TYPE","trunc","number","EmptyConstructor","NullProtoObjectViaActiveX","activeXDocument","write","scriptTag","close","temp","parentWindow","definePropertiesModule","enumBugKeys","html","documentCreateElement","PROTOTYPE","SCRIPT","IE_PROTO","content","NullProtoObject","ActiveXObject","document","domain","iframe","JS","style","display","appendChild","src","iframeDocument","contentWindow","open","F","create","Properties","$trim","trim","inheritIfRequired","getOwnPropertyNames","isPrototypeOf","isRegExp","getRegExpFlags","stickyHelpers","proxyAccessor","enforceInternalState","setSpecies","UNSUPPORTED_DOT_ALL","UNSUPPORTED_NCG","MATCH","NativeRegExp","RegExp","RegExpPrototype","SyntaxError","charAt","IS_NCG","re1","re2","CORRECT_NEW","MISSED_STICKY","UNSUPPORTED_Y","BASE_FORCED","RegExpWrapper","pattern","flags","dotAll","sticky","thisIsRegExp","patternIsRegExp","flagsAreUndefined","rawPattern","constructor","rawFlags","handled","chr","named","names","brackets","ncg","groupid","groupname","raw","keys","test","bitmap","version","mode","copyright","license","SHARED","$Object","EXISTS","createElement","getDescriptor","PROPER","regexpFlags","nativeExec","patchedExec","UPDATES_LAST_INDEX_WRONG","BROKEN_CARET","NPCG_INCLUDED","reCopy","match","group","str","charsAdded","strCopy","multiline","input","propertyIsEnumerableModule","toPrimitive","isSymbol","getBuiltIn","$Symbol","iterator","V8_VERSION","getOwnPropertySymbols","symbol","aCallable","V","func","tryToString","id","postfix","random","CONFIGURABLE_FUNCTION_NAME","inspectSource","join","CONFIGURABLE_LENGTH","TEMPLATE","split","getter","setter","arity","internalObjectKeys","createMethod","IS_INCLUDES","$this","fromIndex","lengthOfArrayLike","toAbsoluteIndex","feature","detection","data","normalize","POLYFILL","NATIVE","toLowerCase","that","hasIndices","ignoreCase","unicodeSets","$RegExp","uncurryThisAccessor","aPossiblePrototype","setPrototypeOf","CORRECT_SETTER","__proto__","UNSCOPABLES","ArrayPrototype","IteratorPrototype","arrayIterator","getPrototypeOf","BUGGY_SAFARI_ITERATORS","PrototypeOfArrayIteratorPrototype","CORRECT_PROTOTYPE_GETTER","ObjectPrototype","TAG","g","e","$propertyIsEnumerable","propertyIsEnumerable","NASHORN_BUG","1","ordinaryToPrimitive","TO_PRIMITIVE","pref","exoticToPrim","userAgent","process","Deno","versions","v8","navigator","val","valueOf","functionToString","ownKeys","getOwnPropertyDescriptorModule","exceptions","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","integer","ceil","floor","x","n","obj","TO_STRING_TAG_SUPPORT","classofRaw","CORRECT_ARGUMENTS","tag","callee","objectKeys","defineProperties","props","ltrim","rtrim","whitespaces","start","end","PROPER_FUNCTION_NAME","dummy","Wrapper","NewTarget","NewTargetPrototype","regExpFlags","R","Target","Source","defineBuiltInAccessor","SPECIES","CONSTRUCTOR_NAME","Constructor","Reflect","regexpExec","KEY","FORCED","SHAM","uncurriedNativeRegExpMethod","SYMBOL","DELEGATES_TO_SYMBOL","DELEGATES_TO_EXEC","execCalled","methods","nativeMethod","regexp","arg2","forceStringMethod","uncurriedNativeMethod","$exec","CONVERT_TO_STRING","pos","first","size","charCodeAt","second","codeAt","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","tailPos","m","symbols","ch","capture","returnThis","FunctionName","createIteratorConstructor","setToStringTag","IteratorsCore","VALUES","ENTRIES","Iterable","NAME","IteratorConstructor","next","DEFAULT","IS_SET","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","entries","CurrentIteratorPrototype","ENUMERABLE_NEXT","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","classList","r","o","t","454","d","Z","645","map","u","c","810","CustomEvent","cancelable","preventDefault","defaultPrevented","Error","bubbles","createEvent","initCustomEvent","detail","Event","379","querySelector","HTMLIFrameElement","contentDocument","head","identifier","base","l","s","css","media","sourceMap","references","updater","singleton","p","v","setAttribute","removeAttribute","btoa","unescape","encodeURIComponent","JSON","stringify","styleSheet","cssText","firstChild","removeChild","createTextNode","parentNode","attributes","nonce","nc","forEach","insert","filter","Boolean","childNodes","insertBefore","atob","splice","__esModule","default","hasAttribute","dispatchEvent","locals","addEventListener","animationName","inputType","getSelector","element","let","selector","getAttribute","hrefAttr","getSelectorFromElement","getElementFromSelector","typeCheckConfig","componentName","config","configTypes","property","expectedTypes","valueType","nodeType","toUpperCase","getjQuery","jQuery","body","onDOMContentLoaded","callback","readyState","documentElement","dir","mapData","storeData","keyProperties","delete","Data","setData","instance","getData","removeData","namespaceRegex","stripNameRegex","stripUidRegex","eventRegistry","uidEvent","customEvents","mouseenter","mouseleave","nativeEvents","getUidEvent","getEvent","findHandler","events","handler","delegationSelector","uidEventList","len","event","originalHandler","normalizeParams","originalTypeEvent","delegationFn","delegation","typeEvent","custom","isNative","addHandler","oneOff","handlers","previousFn","domElements","querySelectorAll","delegateTarget","EventHandler","off","removeHandler","removeEventListener","on","one","inNamespace","isNamespace","elementEvent","removeNamespacedHandlers","storeElementEvent","handlerKey","keyHandlers","trigger","args","jQueryEvent","nativeDispatch","evt","isPropagationStopped","isImmediatePropagationStopped","isDefaultPrevented","initEvent","normalizeData","Number","normalizeDataKey","Manipulator","setDataAttribute","removeDataAttribute","getDataAttributes","dataset","startsWith","pureKey","getDataAttribute","offset","rect","getBoundingClientRect","top","scrollTop","left","scrollLeft","offsetTop","offsetLeft","assign","toggleClass","className","contains","remove","add","addClass","addStyle","removeClass","hasClass","SelectorEngine","closest","matches","find","Element","findOne","children","child","parents","ancestor","Node","ELEMENT_NODE","prev","previous","previousElementSibling","nextElementSibling","MILLISECONDS_MULTIPLIER","TRANSITION_END","hrefAttribute","triggerTransitionEnd","isElement","jquery","getElement","isVisible","getClientRects","elementIsVisible","getComputedStyle","getPropertyValue","closedDetails","summary","isDisabled","disabled","findShadowRoot","attachShadow","getRootNode","ShadowRoot","noop","reflow","offsetHeight","DOMContentLoadedCallbacks","isRTL","defineJQueryPlugin","plugin","JQUERY_NO_CONFLICT","jQueryInterface","noConflict","executeAfterTransition","transitionElement","emulatedDuration","transitionDuration","transitionDelay","floatTransitionDuration","parseFloat","floatTransitionDelay","called","_ref","execute","setTimeout","getNextActiveElement","list","activeElement","shouldGetNext","isCycleAllowed","listLength","Set","makeEventUid","getElementEvents","callable","normalizeParameters","delegationFunction","isDelegated","getTypeEvent","relatedTarget","previousFunction","domElement","hydrateObj","meta","_unused","elementMap","Map","instanceMap","console","from","parse","decodeURIComponent","Config","_getConfig","_mergeConfigObj","_configAfterMerge","_typeCheckConfig","jsonConfig","Default","DefaultType","BaseComponent","super","_element","_config","DATA_KEY","dispose","EVENT_KEY","propertyName","_queueCallback","isAnimated","getInstance","SELECTOR_DATA_TOGGLE","EVENT_CLICK_DATA_API","Button","toggle","each","getOrCreateInstance","button","EVENT_CLICK","EVENT_TRANSITIONEND","EVENT_MOUSEENTER","EVENT_MOUSELEAVE","EVENT_HIDE","EVENT_HIDDEN","EVENT_SHOW","EVENT_SHOWN","CLASS_NAME_FIXED_ACTION_BTN","BSButton","_fn","_init","show","_buttonList","_bindListOpenTransitionEnd","height","_fullContainerHeight","_toggleVisibility","hide","_bindListHideTransitionEnd","_actionButton","_saveInitialHeights","_setInitialStyles","_bindInitialEvents","_bindMouseEnter","_isTouchDevice","_bindMouseLeave","_bindClick","_initialContainerHeight","action","listTranslate","transform","_buttonListElements","_getHeight","computed","_initialListHeight","marginBottom","focusableChildren","focusables","SELECTOR_FIXED_CONTENT","SELECTOR_STICKY_CONTENT","PROPERTY_PADDING","PROPERTY_MARGIN","ScrollBarHelper","getWidth","documentWidth","clientWidth","abs","innerWidth","width","_disableOverFlow","_setElementAttributes","calculatedValue","reset","_resetElementAttributes","isOverflowing","_saveInitialAttribute","overflow","styleProperty","scrollbarWidth","_applyManipulationCallback","setProperty","actualValue","removeProperty","callBack","sel","EVENT_MOUSEDOWN","clickCallback","rootElement","Backdrop","_isAppended","_append","_getElement","_emulateAnimation","backdrop","append","EVENT_FOCUSIN","EVENT_KEYDOWN_TAB","TAB_NAV_BACKWARD","autofocus","trapElement","enableDismissTrigger","component","clickEvent","tagName","FocusTrap","_isActive","_lastTabNavDirection","activate","focus","_handleFocusin","_handleKeydown","deactivate","elements","shiftKey","DATA_API_KEY","EVENT_LOAD_DATA_API","CLASS_NAME_SHOWING","OPEN_SELECTOR","EVENT_HIDE_PREVENTED","EVENT_RESIZE","EVENT_KEYDOWN_DISMISS","keyboard","scroll","Offcanvas","_isShown","_backdrop","_initializeBackDrop","_focustrap","_initializeFocusTrap","_addEventListeners","completeCallBack","hideEvent","blur","completeCallback","alreadyOpen","EVENT_CLOSE","EVENT_CLOSED","Alert","_destroyElement","EVENT_CLOSE_BS","EVENT_CLOSED_BS","BSAlert","_bindCloseEvent","_bindClosedEvent","EVENT_TOUCHSTART","EVENT_TOUCHMOVE","EVENT_TOUCHEND","EVENT_POINTERDOWN","EVENT_POINTERUP","endCallback","leftCallback","rightCallback","Swipe","isSupported","_deltaX","_supportPointerEvents","PointerEvent","_initEvents","_start","_eventIsPointerPenTouch","clientX","touches","_end","_handleSwipe","_move","absDeltaX","direction","pointerType","maxTouchPoints","ORDER_NEXT","ORDER_PREV","DIRECTION_LEFT","DIRECTION_RIGHT","EVENT_SLIDE","EVENT_SLID","EVENT_KEYDOWN","EVENT_DRAG_START","CLASS_NAME_CAROUSEL","CLASS_NAME_ACTIVE","SELECTOR_ACTIVE","SELECTOR_ITEM","KEY_TO_DIRECTION","interval","pause","ride","touch","wrap","Carousel","_interval","_activeElement","_isSliding","touchTimeout","_swipeHelper","_indicatorsElement","cycle","_slide","nextWhenVisible","hidden","_clearInterval","_updateInterval","setInterval","_maybeEnableCycle","to","order","items","_getItems","activeIndex","_getItemIndex","_getActive","defaultInterval","_keydown","_addTouchEventListeners","img","_directionToOrder","endCallBack","clearTimeout","_setActiveIndicatorElement","newActiveIndicator","activeIndicator","elementInterval","parseInt","isNext","nextElement","nextElementIndex","triggerEvent","eventName","_orderToDirection","slideEvent","isCycling","directionalClassName","orderClassName","_isAnimated","clearInterval","carousel","slideIndex","EVENT_SLIDE_BS","EVENT_SLID_BS","BSCarousel","_bindSlideEvent","_bindSlidEvent","EVENT_CLICK_DISMISS","EVENT_MOUSEDOWN_DISMISS","CLASS_NAME_OPEN","CLASS_NAME_STATIC","Modal","_dialog","_isTransitioning","_scrollBar","_adjustDialog","_showElement","_hideModal","htmlElement","handleUpdate","modalNonInvasive","modalBody","transitionComplete","_triggerBackdropTransition","event2","_resetAdjustments","isModalOverflowing","scrollHeight","clientHeight","initialOverflowY","overflowY","isBodyOverflowing","paddingLeft","paddingRight","showEvent","modal","EVENT_HIDE_BS","EVENT_HIDE_PREVENTED_BS","EVENT_HIDDEN_BS","EVENT_SHOW_BS","EVENT_SHOWN_BS","BSModal","_bindShowEvent","_bindShownEvent","_bindHideEvent","_bindHiddenEvent","_bindHidePreventedEvent","selectorElement","bottom","right","auto","basePlacements","viewport","variationPlacements","reduce","acc","placement","beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","afterWrite","modifierPhases","getNodeName","nodeName","getWindow","node","ownerDocument","defaultView","isHTMLElement","HTMLElement","isShadowRoot","enabled","phase","styles","effect","_ref2","initialStyles","popper","strategy","margin","arrow","reference","attribute","requires","getBasePlacement","round","getUAString","uaData","userAgentData","brands","isArray","item","brand","isLayoutViewport","includeScale","isFixedStrategy","clientRect","scaleX","scaleY","offsetWidth","visualViewport","addVisualOffsets","y","getLayoutRect","parent","rootNode","isSameNode","host","getDocumentElement","getParentNode","assignedSlot","getTrueOffsetParent","offsetParent","getOffsetParent","isFirefox","isIE","currentNode","perspective","contain","willChange","getMainAxisFromPlacement","within","getFreshSideObject","mergePaddingObject","paddingObject","expandToHashMap","hashMap","endDiff","center","arrowElement","popperOffsets","modifiersData","axis","basePlacement","padding","rects","arrowRect","minProp","maxProp","startDiff","clientSize","arrowOffsetParent","_state$modifiersData$","centerOffset","_options$element","requiresIfExists","getVariation","unsetSides","mapToStyles","_Object$assign","popperRect","variation","offsets","gpuAcceleration","adaptive","roundOffsets","isFixed","_offsets$x","_offsets$y","_ref3","hasX","hasY","sideX","sideY","win","commonStyles","heightProp","widthProp","_ref4","dpr","devicePixelRatio","_Object$assign2","_ref5","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","passive","_options$scroll","resize","_options$resize","scrollParents","scrollParent","update","hash","getOppositePlacement","getOppositeVariationPlacement","getWindowScroll","pageXOffset","pageYOffset","getWindowScrollBarX","isScrollParent","_getComputedStyle","overflowX","listScrollParents","getScrollParent","isBody","_element$ownerDocumen","updatedList","rectToClientRect","getClientRectFromMixedType","clippingParent","layoutViewport","clientTop","clientLeft","winScroll","scrollWidth","getClippingRect","boundary","rootBoundary","clipperElement","mainClippingParents","clippingParents","firstClippingParent","clippingRect","accRect","computeOffsets","commonX","commonY","mainAxis","detectOverflow","_options","_options$placement","_options$strategy","_options$boundary","_options$rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","clippingClientRect","contextElement","referenceClientRect","popperClientRect","elementClientRect","overflowOffsets","offsetData","multiply","_skip","_options$mainAxis","checkMainAxis","_options$altAxis","altAxis","checkAltAxis","specifiedFallbackPlacements","fallbackPlacements","_options$flipVariatio","flipVariations","allowedAutoPlacements","preferredPlacement","oppositePlacement","placements","_options$allowedAutoP","overflows","allowedPlacements","sort","b","referenceRect","checksMap","makeFallbackChecks","firstFittingPlacement","_basePlacement","isStartVariation","isVertical","mainVariationSide","altVariationSide","checks","every","_i","fittingPlacement","getSideOffsets","preventedOffsets","isAnySideFullyClipped","some","side","preventOverflow","referenceOverflow","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","_options$offset","invertDistance","skidding","distance","_data$state$placement","_offsetModifierState$2","_offset","_len","_min","isOriginSide","_tetherMin","_preventedOffset","tether","_options$tether","tetherOffset","_options$tetherOffset","isBasePlacement","normalizedTetherOffsetValue","tetherOffsetValue","offsetModifierState","mainSide","altSide","additive","minLen","maxLen","arrowPaddingMin","arrowPaddingObject","arrowPaddingMax","arrowLen","minOffset","maxOffset","clientOffset","tetherMax","offsetModifierValue","_offsetModifierState$","preventedOffset","_max","_offsetModifierValue","_tetherMax","getCompositeRect","elementOrVirtualElement","isOffsetParentAnElement","offsetParentIsScaled","modifiers","visited","modifier","dep","depModifier","DEFAULT_OPTIONS","areValidElements","_key","popperGenerator","generatorOptions","_generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","defaultOptions","pending","orderedModifiers","effectCleanupFns","isDestroyed","setOptions","setOptionsAction","merged","cleanupModifierEffects","existing","_ref3$options","cleanupFn","forceUpdate","_state$elements","_state$orderedModifie2","_state$orderedModifie","Promise","resolve","then","destroy","onFirstUpdate","eventListeners","uriAttributes","SAFE_URL_PATTERN","DATA_URL_PATTERN","DefaultAllowlist","area","br","col","code","div","em","hr","h1","h2","h3","h4","h5","h6","li","ol","pre","small","span","sub","sup","strong","ul","sanitizeHtml","unsafeHtml","allowList","sanitizeFunction","createdDocument","DOMParser","parseFromString","elementName","attributeList","allowedAttributes","allowedAttribute","allowedAttributeList","attributeName","nodeValue","attributeRegex","regex","innerHTML","extraClass","sanitize","sanitizeFn","template","DefaultContentType","entry","TemplateFactory","getContent","_resolvePossibleFunction","hasContent","changeContent","_checkContent","toHtml","text","templateWrapper","_maybeSanitize","_setContent","arg","templateElement","_putElementInTemplate","textContent","DISALLOWED_ATTRIBUTES","CLASS_NAME_FADE","CLASS_NAME_SHOW","SELECTOR_MODAL","EVENT_MODAL_HIDE","TRIGGER_HOVER","TRIGGER_FOCUS","AttachmentMap","AUTO","TOP","RIGHT","BOTTOM","LEFT","animation","container","customClass","delay","popperConfig","title","Tooltip","Popper","_isEnabled","_timeout","_isHovered","_activeTrigger","_popper","_templateFactory","_newContent","tip","_setListeners","_fixTitle","enable","disable","toggleEnabled","click","_leave","_enter","_hideModalHandler","_disposePopper","_isWithContent","isInTheDom","_getTipElement","_createPopper","complete","_isWithActiveTrigger","_getTitle","_createTipElement","_getContentForTemplate","_getTemplateFactory","tipId","prefix","getElementById","setContent","_initializeOnDelegatedTarget","_getDelegateConfig","attachment","_getPopperConfig","_getOffset","popperData","defaultBsPopperConfig","eventIn","eventOut","context","_setTimeout","timeout","dataAttributes","dataAttribute","Popover","_getContent","EVENT_INSERTED_BS","EVENT_INSERTED","BSPopover","_bindInsertedEvent","EVENT_ACTIVATE","SELECTOR_TARGET_LINKS","SELECTOR_NAV_LINKS","SELECTOR_LINK_ITEMS","rootMargin","smoothScroll","threshold","ScrollSpy","_targetLinks","_observableSections","_rootElement","_activeTarget","_observer","_previousScrollData","visibleEntryTop","parentScrollTop","refresh","_initializeTargetsAndObservables","_maybeEnableSmoothScroll","disconnect","_getNewObserver","section","observe","observableSection","scrollTo","behavior","IntersectionObserver","_observerCallback","targetElement","_process","userScrollsDown","isIntersecting","entryIsLowerThanPrevious","_clearActiveClass","anchor","_activateParents","listGroup","EVENT_ACTIVATE_BS","CLASS_COLLAPSIBLE","SELECTOR_COLLAPSIBLE_SCROLLSPY","BSScrollSpy","_collapsibles","_scrollElement","_bindActivateEvent","_getCollapsibles","_showSubsection","_hideSubsection","_hide","itemsToHide","_show","destinedHeight","collapsibleElements","collapsibleElement","listParent","listHeight","active","collapsible","unactive","ARROW_RIGHT_KEY","ARROW_DOWN_KEY","NOT_SELECTOR_DROPDOWN_TOGGLE","SELECTOR_INNER","SELECTOR_INNER_ELEM","SELECTOR_DATA_TOGGLE_ACTIVE","Tab","_parent","_setInitialAttributes","_getChildren","innerElem","_elemIsActive","_getActiveElem","_deactivate","_activate","relatedElem","_toggleDropDown","stopPropagation","nextActiveElement","preventScroll","_setAttributeIfNotExists","_setInitialAttributesOnChild","_getInnerElement","isActive","outerElem","_getOuterElement","_setInitialAttributesOnTargetPanel","elem","BSTab","hideEventMdb","showEventMdb","BSTooltip","EVENT_MOUSEOVER","EVENT_MOUSEOUT","EVENT_FOCUSOUT","autohide","Toast","_hasMouseInteraction","_hasKeyboardInteraction","_clearTimeout","_maybeScheduleHide","isShown","_onInteraction","isInteracting","BSToast","CLASSNAME_WRAPPER","CLASSNAME_ACTIVE","CLASSNAME_NOTCH","CLASSNAME_NOTCH_LEADING","CLASSNAME_NOTCH_MIDDLE","SELECTOR_OUTLINE_INPUT","SELECTOR_OUTLINE_TEXTAREA","SELECTOR_NOTCH","SELECTOR_NOTCH_LEADING","SELECTOR_NOTCH_MIDDLE","SELECTOR_HELPER","Input","_label","_labelWidth","_labelMarginLeft","_notchLeading","_notchMiddle","_notchTrailing","_initiated","_helper","_counter","_counterElement","_maxLength","_leadingIcon","init","_getLabelData","_applyDivs","_applyNotch","_getHelper","_getCounter","_getNotchData","forceActive","forceInactive","_removeBorder","_showPlaceholder","_getLabelWidth","_getLabelPositionInInputGroup","_toggleDefaultDatePlaceholder","maxLength","_showCounter","actualLength","_bindCounter","opacity","allNotchWrappers","notchWrapper","marginLeft","border","_getElements","prevLabelWidth","targetId","href","CLASS_NAME_COLLAPSE","CLASS_NAME_COLLAPSING","CLASS_NAME_DEEPER_CHILDREN","Collapse","_triggerArray","filterElement","foundElement","_initializeChildren","_addAriaAndCollapsedClass","activeChildren","_getFirstLevelChildren","startEvent","activeInstance","dimension","_getDimension","capitalizedDimension","scrollSize","selected","triggerArray","isOpen","BSCollapse","EVENT_KEYDOWN_DATA_API","EVENT_KEYUP_DATA_API","SELECTOR_DATA_TOGGLE_SHOWN","SELECTOR_MENU","PLACEMENT_TOP","PLACEMENT_TOPEND","PLACEMENT_BOTTOM","PLACEMENT_BOTTOMEND","PLACEMENT_RIGHT","PLACEMENT_LEFT","autoClose","Dropdown","_menu","_inNavbar","_detectNavbar","_completeHide","referenceElement","_getPlacement","isEnd","parentDropdown","_selectMenuItem","isMenuTarget","composedPath","isInput","isEscapeEvent","isUpOrDownEvent","getToggleButton","dataApiKeydownHandler","clearMenus","flip","dropdownAnimation","EVENT_HIDE_MDB","EVENT_HIDDEN_MDB","EVENT_SHOW_MDB","EVENT_SHOWN_MDB","ANIMATION_CLASS","ANIMATION_SHOW_CLASS","ANIMATION_HIDE_CLASS","BSDropdown","_menuStyle","_popperPlacement","_mdbPopperConfig","isPrefersReducedMotionSet","matchMedia","_dropdownAnimationStart","_bindAnimationEnd","CLASSNAME_RIPPLE","CLASSNAME_RIPPLE_WAVE","CLASSNAME_RIPPLE_WRAPPER","SELECTOR_COMPONENT","CLASSNAME_UNBOUND","DEFAULT_RIPPLE_COLOR","BOOTSTRAP_COLORS","rippleCentered","rippleColor","rippleDuration","rippleRadius","rippleUnbound","Ripple","_clickHandler","_createRipple","_rippleTimer","_isMinWidthSet","_rippleInSpan","_addClickEvent","_autoInit","shadow","boxShadow","btn","wrapper","replaceChild","minWidth","_getEventLayer","layerX","layerY","clientY","duration","_durationToMsNumber","diameterOptions","offsetX","offsetY","diameter","_getDiameter","radiusValue","rippleHTML","_createHTMLRipple","ripple","_removeHTMLRipple","_removeOldColorClasses","_addColor","_toggleUnbound","_appendRipple","rippleEl","_removeWrapperSpan","replaceWith","time","pythagorean","sideA","sideB","sqrt","positionCenter","quadrant","getCorner","topLeft","topRight","bottomLeft","bottomRight","color","rgbValue","_colorToRGB","gradientImage","backgroundImage","REGEXP_CLASS_COLOR","tempElem","substr","flag","autoInitial","SELECTOR_THUMB_VALUE","SELECTOR_THUMB","SELECTOR_WRAPPER","Range","_thumb","_addThumb","_thumbUpdate","_handleEvents","_disposeEvents","RANGE_THUMB","rangeInput","_showThumb","_hideThumb","inputValue","minValue","maxValue","newValue","installedModules","__webpack_require__","modules","toStringTag","ns","moduleId"],"mappings":";;;;;;;;;;;;;;;;;GAAA;CAAA,SAA2CA,EAAMC,GAC1B,UAAnB,OAAOC,SAA0C,UAAlB,OAAOC,OACxCA,OAAOD,QAAUD,EAAQ,EACA,YAAlB,OAAOG,QAAyBA,OAAOC,IAC9CD,OAAO,MAAO,GAAIH,CAAO,EACC,UAAnB,OAAOC,QACdA,QAAa,IAAID,EAAQ,EAEzBD,EAAU,IAAIC,EAAQ,CACvB,EAAEK,KAAM,WACT,O,gCCTA,IAAIC,EAAkB,EAAQ,EAAgC,EAC1DC,EAAmB,EAAQ,EAAiC,EAC5DC,EAAY,EAAQ,EAAwB,EAC5CC,EAAsB,EAAQ,EAA6B,EAC3DC,EAAiB,EAAQ,EAAqC,EAAEC,EAChEC,EAAiB,EAAQ,GAA8B,EACvDC,EAAyB,EAAQ,GAAwC,EACzEC,EAAU,EAAQ,EAAsB,EACxCC,EAAc,EAAQ,CAA0B,EAEhDC,EAAiB,iBACjBC,EAAmBR,EAAoBS,IACvCC,EAAmBV,EAAoBW,UAAUJ,CAAc,EAsC/DK,GA1BJnB,EAAOD,QAAUW,EAAeU,MAAO,QAAS,SAAUC,EAAUC,GAClEP,EAAiBZ,KAAM,CACrBoB,KAAMT,EACNU,OAAQpB,EAAgBiB,CAAQ,EAChCI,MAAO,EACPH,KAAMA,CACR,CAAC,CAGH,EAAG,WACD,IAAII,EAAQT,EAAiBd,IAAI,EAC7BqB,EAASE,EAAMF,OACfF,EAAOI,EAAMJ,KACbG,EAAQC,EAAMD,KAAK,GACvB,MAAI,CAACD,GAAUC,GAASD,EAAOG,QAC7BD,EAAMF,OAASI,OACRjB,EAAuBiB,OAAW,EAAI,GAEpBjB,EAAf,QAARW,EAA8CG,EACtC,UAARH,EAAgDE,EAAOC,GAC7B,CAACA,EAAOD,E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D,WAAY,GAAM5E,MAAOA,CAAM,CAAC,EAC7D,EAAPkQ,GAA4B,UAAhB,OAAOlQ,EAAmB,IAAI,IAAIuD,KAAOvD,EAAOgxD,EAAoB1yC,EAAE6yC,EAAI5tD,EAAK,SAASA,GAAO,OAAOvD,EAAMuD,EAAM,EAAE5B,KAAK,KAAM4B,CAAG,CAAC,EAClJ,OAAO4tD,CACR,EAGAH,EAAoBh6C,EAAI,SAAS/Y,GAChC,IAAI8U,EAAS9U,GAAUA,EAAO+jB,WAC7B,WAAwB,OAAO/jB,EAAgB,OAAG,EAClD,WAA8B,OAAOA,CAAQ,EAE9C,OADA+yD,EAAoB1yC,EAAEvL,EAAQ,IAAKA,CAAM,EAClCA,CACR,EAGAi+C,EAAoB7yC,EAAI,SAAS/Y,EAAQge,GAAY,OAAOlgB,OAAOnC,UAAUuC,eAAe7B,KAAK2D,EAAQge,CAAQ,CAAG,EAGpH4tC,EAAoB1wC,EAAI,GAIjB0wC,EAAoBA,EAAoBjxC,EAAI,GAAG,EA9EtD,SAASixC,EAAoBI,GAG5B,IAIInzD,EAJJ,OAAG8yD,EAAiBK,KAIhBnzD,EAAS8yD,EAAiBK,GAAY,CACzC5oD,EAAG4oD,EACHtxC,EAAG,GACH9hB,QAAS,EACV,EAGAizD,EAAQG,GAAU3vD,KAAKxD,EAAOD,QAASC,EAAQA,EAAOD,QAASgzD,CAAmB,EAGlF/yD,EAAO6hB,EAAI,GAGJ7hB,IAhB4BD,OAiBpC,C,MAxBI+yD,C","file":"js/mdb.min.js","sourcesContent":["(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(\"mdb\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"mdb\"] = factory();\n\telse\n\t\troot[\"mdb\"] = factory();\n})(this, function() {\nreturn ","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return createIterResultObject(undefined, true);\n }\n if (kind == 'keys') return createIterResultObject(index, false);\n if (kind == 'values') return createIterResultObject(target[index], false);\n return createIterResultObject([index, target[index]], false);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n","var 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","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\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","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; })() || this || Function('return this')();\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\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 uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar fails = require('../internals/fails');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// FF99+ bug\nvar BROKEN_ON_SPARSE = fails(function () {\n // eslint-disable-next-line es/no-array-prototype-includes -- detection\n return !Array(1).includes();\n});\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","var isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","var isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};\n","var 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","// 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 uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","var classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\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 isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\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;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\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 = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, 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 stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -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 push(results, 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(toIntegerOrInfinity(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++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n var replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\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 defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\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.dontCallGetSet - 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] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\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 defineBuiltIn(target, key, sourceProperty, options);\n }\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","module.exports = false;\n","var NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isRegExp = require('../internals/is-regexp');\nvar toString = require('../internals/to-string');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar proxyAccessor = require('../internals/proxy-accessor');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar enforceInternalState = require('../internals/internal-state').enforce;\nvar setSpecies = require('../internals/set-species');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar MATCH = wellKnownSymbol('match');\nvar NativeRegExp = global.RegExp;\nvar RegExpPrototype = NativeRegExp.prototype;\nvar SyntaxError = global.SyntaxError;\nvar exec = uncurryThis(RegExpPrototype.exec);\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n// TODO: Use only proper RegExpIdentifierName\nvar IS_NCG = /^\\?<[^\\s\\d!#%&*+<=>@^][^\\s!#%&*+<=>@^]*>/;\nvar re1 = /a/g;\nvar re2 = /a/g;\n\n// \"new\" should create a new object, old webkit bug\nvar CORRECT_NEW = new NativeRegExp(re1) !== re1;\n\nvar MISSED_STICKY = stickyHelpers.MISSED_STICKY;\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\n\nvar BASE_FORCED = DESCRIPTORS &&\n (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () {\n re2[MATCH] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';\n }));\n\nvar handleDotAll = function (string) {\n var length = string.length;\n var index = 0;\n var result = '';\n var brackets = false;\n var chr;\n for (; index <= length; index++) {\n chr = charAt(string, index);\n if (chr === '\\\\') {\n result += chr + charAt(string, ++index);\n continue;\n }\n if (!brackets && chr === '.') {\n result += '[\\\\s\\\\S]';\n } else {\n if (chr === '[') {\n brackets = true;\n } else if (chr === ']') {\n brackets = false;\n } result += chr;\n }\n } return result;\n};\n\nvar handleNCG = function (string) {\n var length = string.length;\n var index = 0;\n var result = '';\n var named = [];\n var names = {};\n var brackets = false;\n var ncg = false;\n var groupid = 0;\n var groupname = '';\n var chr;\n for (; index <= length; index++) {\n chr = charAt(string, index);\n if (chr === '\\\\') {\n chr = chr + charAt(string, ++index);\n } else if (chr === ']') {\n brackets = false;\n } else if (!brackets) switch (true) {\n case chr === '[':\n brackets = true;\n break;\n case chr === '(':\n if (exec(IS_NCG, stringSlice(string, index + 1))) {\n index += 2;\n ncg = true;\n }\n result += chr;\n groupid++;\n continue;\n case chr === '>' && ncg:\n if (groupname === '' || hasOwn(names, groupname)) {\n throw new SyntaxError('Invalid capture group name');\n }\n names[groupname] = true;\n named[named.length] = [groupname, groupid];\n ncg = false;\n groupname = '';\n continue;\n }\n if (ncg) groupname += chr;\n else result += chr;\n } return [result, named];\n};\n\n// `RegExp` constructor\n// https://tc39.es/ecma262/#sec-regexp-constructor\nif (isForced('RegExp', BASE_FORCED)) {\n var RegExpWrapper = function RegExp(pattern, flags) {\n var thisIsRegExp = isPrototypeOf(RegExpPrototype, this);\n var patternIsRegExp = isRegExp(pattern);\n var flagsAreUndefined = flags === undefined;\n var groups = [];\n var rawPattern = pattern;\n var rawFlags, dotAll, sticky, handled, result, state;\n\n if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) {\n return pattern;\n }\n\n if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) {\n pattern = pattern.source;\n if (flagsAreUndefined) flags = getRegExpFlags(rawPattern);\n }\n\n pattern = pattern === undefined ? '' : toString(pattern);\n flags = flags === undefined ? '' : toString(flags);\n rawPattern = pattern;\n\n if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) {\n dotAll = !!flags && stringIndexOf(flags, 's') > -1;\n if (dotAll) flags = replace(flags, /s/g, '');\n }\n\n rawFlags = flags;\n\n if (MISSED_STICKY && 'sticky' in re1) {\n sticky = !!flags && stringIndexOf(flags, 'y') > -1;\n if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, '');\n }\n\n if (UNSUPPORTED_NCG) {\n handled = handleNCG(pattern);\n pattern = handled[0];\n groups = handled[1];\n }\n\n result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper);\n\n if (dotAll || sticky || groups.length) {\n state = enforceInternalState(result);\n if (dotAll) {\n state.dotAll = true;\n state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags);\n }\n if (sticky) state.sticky = true;\n if (groups.length) state.groups = groups;\n }\n\n if (pattern !== rawPattern) try {\n // fails in old engines, but we have no alternatives for unsupported regex syntax\n createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);\n } catch (error) { /* empty */ }\n\n return result;\n };\n\n for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) {\n proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]);\n }\n\n RegExpPrototype.constructor = RegExpWrapper;\n RegExpWrapper.prototype = RegExpPrototype;\n defineBuiltIn(global, 'RegExp', RegExpWrapper, { constructor: true });\n}\n\n// https://tc39.es/ecma262/#sec-get-regexp-@@species\nsetSpecies('RegExp');\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","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","// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\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.30.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","var global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","module.exports = {};\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\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 call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\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 nativeReplace = shared('native-string-replace', String.prototype.replace);\nvar nativeExec = RegExp.prototype.exec;\nvar patchedExec = nativeExec;\nvar charAt = uncurryThis(''.charAt);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n call(nativeExec, re1, 'a');\n call(nativeExec, re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar 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 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 = call(patchedExec, 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 = call(regexpFlags, re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = replace(flags, 'y', '');\n if (indexOf(flags, 'g') === -1) {\n flags += 'g';\n }\n\n strCopy = stringSlice(str, re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, 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 = call(nativeExec, sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = stringSlice(match.input, charsAdded);\n match[0] = stringSlice(match[0], 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't work for /(.?)?/\n call(nativeReplace, 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","module.exports = {};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\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 // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\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 aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\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","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var 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","'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.hasIndices) result += 'd';\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.unicodeSets) result += 'v';\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\nvar UNSUPPORTED_Y = fails(function () {\n var re = $RegExp('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') != null;\n});\n\n// UC Browser bug\n// https://github.com/zloirock/core-js/issues/1008\nvar MISSED_STICKY = UNSUPPORTED_Y || fails(function () {\n return !$RegExp('a', 'y').sticky;\n});\n\nvar BROKEN_CARET = UNSUPPORTED_Y || 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\nmodule.exports = {\n BROKEN_CARET: BROKEN_CARET,\n MISSED_STICKY: MISSED_STICKY,\n UNSUPPORTED_Y: UNSUPPORTED_Y\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","// 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","/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\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 setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property').f;\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 defineProperty(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 fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\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 = !isObject(IteratorPrototype) || 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 defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","var hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\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 (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n","var defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (target, TAG, STATIC) {\n if (target && !STATIC) target = target.prototype;\n if (target && !hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n};\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","var call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\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');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","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 DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar ltrim = RegExp('^[' + whitespaces + ']+');\nvar rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '$1');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","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 uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n","var isCallable = require('../internals/is-callable');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (typeof argument == 'object' || isCallable(argument)) return argument;\n throw $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","var call = require('../internals/function-call');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (R) {\n var flags = R.flags;\n return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)\n ? call(regExpFlags, R) : flags;\n};\n","var defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (Target, Source, key) {\n key in Target || defineProperty(Target, key, {\n configurable: true,\n get: function () { return Source[key]; },\n set: function (it) { Source[key] = it; }\n });\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineBuiltInAccessor(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","var makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar defineBuiltIn = require('../internals/define-built-in');\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 uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n var uncurriedNativeMethod = uncurryThis(nativeMethod);\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: uncurriedNativeRegExpMethod(regexp, str, arg2) };\n }\n return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };\n }\n return { done: false };\n });\n\n defineBuiltIn(String.prototype, KEY, methods[0]);\n defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);\n }\n\n if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);\n};\n","var classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\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","var uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n// eslint-disable-next-line redos/no-vulnerable -- safe\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(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 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 ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\n\nvar $TypeError = TypeError;\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 = call(exec, R, S);\n if (result !== null) anObject(result);\n return result;\n }\n if (classof(R) === 'RegExp') return call(regexpExec, R, S);\n throw $TypeError('RegExp#exec called on incompatible receiver');\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/iterator-create-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 defineBuiltIn = require('../internals/define-built-in');\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 defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n } else {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return call(nativeIterator, this); };\n }\n }\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n defineBuiltIn(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 defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n }\n Iterators[NAME] = defaultIterator;\n\n return methods;\n};\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","var 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","// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n return { value: value, done: done };\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 e={454:(e,t,n)=>{\"use strict\";n.d(t,{Z:()=>a});var r=n(645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,\"INPUT:-webkit-autofill,SELECT:-webkit-autofill,TEXTAREA:-webkit-autofill{animation-name:onautofillstart}INPUT:not(:-webkit-autofill),SELECT:not(:-webkit-autofill),TEXTAREA:not(:-webkit-autofill){animation-name:onautofillcancel}@keyframes onautofillstart{}@keyframes onautofillcancel{}\",\"\"]);const a=o},645:e=>{\"use strict\";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?\"@media \".concat(t[2],\" {\").concat(n,\"}\"):n})).join(\"\")},t.i=function(e,n,r){\"string\"==typeof e&&(e=[[null,e,\"\"]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);r&&o[c[0]]||(n&&(c[2]?c[2]=\"\".concat(n,\" and \").concat(c[2]):c[2]=n),t.push(c))}},t}},810:()=>{!function(){if(\"undefined\"!=typeof window)try{var e=new window.CustomEvent(\"test\",{cancelable:!0});if(e.preventDefault(),!0!==e.defaultPrevented)throw new Error(\"Could not prevent default\")}catch(e){var t=function(e,t){var n,r;return(t=t||{}).bubbles=!!t.bubbles,t.cancelable=!!t.cancelable,(n=document.createEvent(\"CustomEvent\")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail),r=n.preventDefault,n.preventDefault=function(){r.call(this);try{Object.defineProperty(this,\"defaultPrevented\",{get:function(){return!0}})}catch(e){this.defaultPrevented=!0}},n};t.prototype=window.Event.prototype,window.CustomEvent=t}}()},379:(e,t,n)=>{\"use strict\";var r,o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function i(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function u(e,t){for(var n={},r=[],o=0;o<e.length;o++){var u=e[o],c=t.base?u[0]+t.base:u[0],l=n[c]||0,s=\"\".concat(c,\" \").concat(l);n[c]=l+1;var d=i(s),f={css:u[1],media:u[2],sourceMap:u[3]};-1!==d?(a[d].references++,a[d].updater(f)):a.push({identifier:s,updater:m(f,t),references:1}),r.push(s)}return r}function c(e){var t=document.createElement(\"style\"),r=e.attributes||{};if(void 0===r.nonce){var a=n.nc;a&&(r.nonce=a)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),\"function\"==typeof e.insert)e.insert(t);else{var i=o(e.insert||\"head\");if(!i)throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");i.appendChild(t)}return t}var l,s=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join(\"\\n\")});function d(e,t,n,r){var o=n?\"\":r.media?\"@media \".concat(r.media,\" {\").concat(r.css,\"}\"):r.css;if(e.styleSheet)e.styleSheet.cssText=s(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function f(e,t,n){var r=n.css,o=n.media,a=n.sourceMap;if(o?e.setAttribute(\"media\",o):e.removeAttribute(\"media\"),a&&\"undefined\"!=typeof btoa&&(r+=\"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a)))),\" */\")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var v=null,p=0;function m(e,t){var n,r,o;if(t.singleton){var a=p++;n=v||(v=c(t)),r=d.bind(null,n,a,!1),o=d.bind(null,n,a,!0)}else n=c(t),r=f.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||\"boolean\"==typeof t.singleton||(t.singleton=(void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r));var n=u(e=e||[],t);return function(e){if(e=e||[],\"[object Array]\"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=i(n[r]);a[o].references--}for(var c=u(e,t),l=0;l<n.length;l++){var s=i(n[l]);0===a[s].references&&(a[s].updater(),a.splice(s,1))}n=c}}}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={id:r,exports:{}};return e[r](a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{\"use strict\";var e=n(379),t=n.n(e),r=n(454);function o(e){if(!e.hasAttribute(\"autocompleted\")){e.setAttribute(\"autocompleted\",\"\");var t=new window.CustomEvent(\"onautocomplete\",{bubbles:!0,cancelable:!0,detail:null});e.dispatchEvent(t)||(e.value=\"\")}}function a(e){e.hasAttribute(\"autocompleted\")&&(e.removeAttribute(\"autocompleted\"),e.dispatchEvent(new window.CustomEvent(\"onautocomplete\",{bubbles:!0,cancelable:!1,detail:null})))}t()(r.Z,{insert:\"head\",singleton:!1}),r.Z.locals,n(810),document.addEventListener(\"animationstart\",(function(e){\"onautofillstart\"===e.animationName?o(e.target):a(e.target)}),!0),document.addEventListener(\"input\",(function(e){\"insertReplacementText\"!==e.inputType&&\"data\"in e?a(e.target):o(e.target)}),!0)})()})();","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.0.0-beta2): util/index.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nconst MAX_UID = 1000000;\r\nconst MILLISECONDS_MULTIPLIER = 1000;\r\nconst TRANSITION_END = 'transitionend';\r\n\r\n// Shoutout AngusCroll (https://goo.gl/pxwQGp)\r\nconst toType = (obj) => {\r\n if (obj === null || obj === undefined) {\r\n return `${obj}`;\r\n }\r\n\r\n return {}.toString\r\n .call(obj)\r\n .match(/\\s([a-z]+)/i)[1]\r\n .toLowerCase();\r\n};\r\n\r\n/**\r\n * --------------------------------------------------------------------------\r\n * Public Util Api\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nconst getUID = (prefix) => {\r\n do {\r\n prefix += Math.floor(Math.random() * MAX_UID);\r\n } while (document.getElementById(prefix));\r\n\r\n return prefix;\r\n};\r\n\r\nconst getSelector = (element) => {\r\n let selector = element.getAttribute('data-mdb-target');\r\n\r\n if (!selector || selector === '#') {\r\n const hrefAttr = element.getAttribute('href');\r\n\r\n selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : null;\r\n }\r\n\r\n return selector;\r\n};\r\n\r\nconst getSelectorFromElement = (element) => {\r\n const selector = getSelector(element);\r\n\r\n if (selector) {\r\n return document.querySelector(selector) ? selector : null;\r\n }\r\n\r\n return null;\r\n};\r\n\r\nconst getElementFromSelector = (element) => {\r\n const selector = getSelector(element);\r\n\r\n return selector ? document.querySelector(selector) : null;\r\n};\r\n\r\nconst getTransitionDurationFromElement = (element) => {\r\n if (!element) {\r\n return 0;\r\n }\r\n\r\n // Get transition-duration of the element\r\n let { transitionDuration, transitionDelay } = window.getComputedStyle(element);\r\n\r\n const floatTransitionDuration = Number.parseFloat(transitionDuration);\r\n const floatTransitionDelay = Number.parseFloat(transitionDelay);\r\n\r\n // Return 0 if element or transition duration is not found\r\n if (!floatTransitionDuration && !floatTransitionDelay) {\r\n return 0;\r\n }\r\n\r\n // If multiple durations are defined, take the first\r\n transitionDuration = transitionDuration.split(',')[0];\r\n transitionDelay = transitionDelay.split(',')[0];\r\n\r\n return (\r\n (Number.parseFloat(transitionDuration) + Number.parseFloat(transitionDelay)) *\r\n MILLISECONDS_MULTIPLIER\r\n );\r\n};\r\n\r\nconst triggerTransitionEnd = (element) => {\r\n element.dispatchEvent(new Event(TRANSITION_END));\r\n};\r\n\r\nconst isElement = (obj) => (obj[0] || obj).nodeType;\r\n\r\nconst emulateTransitionEnd = (element, duration) => {\r\n let called = false;\r\n const durationPadding = 5;\r\n const emulatedDuration = duration + durationPadding;\r\n\r\n function listener() {\r\n called = true;\r\n element.removeEventListener(TRANSITION_END, listener);\r\n }\r\n\r\n element.addEventListener(TRANSITION_END, listener);\r\n setTimeout(() => {\r\n if (!called) {\r\n triggerTransitionEnd(element);\r\n }\r\n }, emulatedDuration);\r\n};\r\n\r\nconst typeCheckConfig = (componentName, config, configTypes) => {\r\n Object.keys(configTypes).forEach((property) => {\r\n const expectedTypes = configTypes[property];\r\n const value = config[property];\r\n const valueType = value && isElement(value) ? 'element' : toType(value);\r\n\r\n if (!new RegExp(expectedTypes).test(valueType)) {\r\n throw new Error(\r\n `${componentName.toUpperCase()}: ` +\r\n `Option \"${property}\" provided type \"${valueType}\" ` +\r\n `but expected type \"${expectedTypes}\".`\r\n );\r\n }\r\n });\r\n};\r\n\r\nconst isVisible = (element) => {\r\n if (!element) {\r\n return false;\r\n }\r\n\r\n if (element.style && element.parentNode && element.parentNode.style) {\r\n const elementStyle = getComputedStyle(element);\r\n const parentNodeStyle = getComputedStyle(element.parentNode);\r\n\r\n return (\r\n elementStyle.display !== 'none' &&\r\n parentNodeStyle.display !== 'none' &&\r\n elementStyle.visibility !== 'hidden'\r\n );\r\n }\r\n\r\n return false;\r\n};\r\n\r\nconst findShadowRoot = (element) => {\r\n if (!document.documentElement.attachShadow) {\r\n return null;\r\n }\r\n\r\n // Can find the shadow root otherwise it'll return the document\r\n if (typeof element.getRootNode === 'function') {\r\n const root = element.getRootNode();\r\n return root instanceof ShadowRoot ? root : null;\r\n }\r\n\r\n if (element instanceof ShadowRoot) {\r\n return element;\r\n }\r\n\r\n // when we don't find a shadow root\r\n if (!element.parentNode) {\r\n return null;\r\n }\r\n\r\n return findShadowRoot(element.parentNode);\r\n};\r\n\r\nconst noop = () => function () {};\r\n\r\nconst reflow = (element) => element.offsetHeight;\r\n\r\nconst getjQuery = () => {\r\n const { jQuery } = window;\r\n\r\n if (jQuery && !document.body.hasAttribute('data-mdb-no-jquery')) {\r\n return jQuery;\r\n }\r\n\r\n return null;\r\n};\r\n\r\nconst onDOMContentLoaded = (callback) => {\r\n if (document.readyState === 'loading') {\r\n document.addEventListener('DOMContentLoaded', callback);\r\n } else {\r\n callback();\r\n }\r\n};\r\n\r\nconst isRTL = document.documentElement.dir === 'rtl';\r\n\r\nconst array = (collection) => {\r\n return Array.from(collection);\r\n};\r\n\r\nconst element = (tag) => {\r\n return document.createElement(tag);\r\n};\r\n\r\nconst defineJQueryPlugin = (name, plugin) => {\r\n onDOMContentLoaded(() => {\r\n const $ = getjQuery();\r\n /* istanbul ignore if */\r\n if ($) {\r\n const JQUERY_NO_CONFLICT = $.fn[name];\r\n $.fn[name] = plugin.jQueryInterface;\r\n $.fn[name].Constructor = plugin;\r\n $.fn[name].noConflict = () => {\r\n $.fn[name] = JQUERY_NO_CONFLICT;\r\n return plugin.jQueryInterface;\r\n };\r\n }\r\n });\r\n};\r\n\r\nexport {\r\n getjQuery,\r\n TRANSITION_END,\r\n getUID,\r\n getSelectorFromElement,\r\n getElementFromSelector,\r\n getTransitionDurationFromElement,\r\n triggerTransitionEnd,\r\n isElement,\r\n emulateTransitionEnd,\r\n typeCheckConfig,\r\n isVisible,\r\n findShadowRoot,\r\n noop,\r\n reflow,\r\n array,\r\n element,\r\n onDOMContentLoaded,\r\n isRTL,\r\n defineJQueryPlugin,\r\n};\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.0.0-beta2): dom/data.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Constants\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nconst mapData = (() => {\r\n const storeData = {};\r\n let id = 1;\r\n return {\r\n set(element, key, data) {\r\n if (typeof element[key] === 'undefined') {\r\n element[key] = {\r\n key,\r\n id,\r\n };\r\n id++;\r\n }\r\n\r\n storeData[element[key].id] = data;\r\n },\r\n get(element, key) {\r\n if (!element || typeof element[key] === 'undefined') {\r\n return null;\r\n }\r\n\r\n const keyProperties = element[key];\r\n if (keyProperties.key === key) {\r\n return storeData[keyProperties.id];\r\n }\r\n\r\n return null;\r\n },\r\n delete(element, key) {\r\n if (typeof element[key] === 'undefined') {\r\n return;\r\n }\r\n\r\n const keyProperties = element[key];\r\n if (keyProperties.key === key) {\r\n delete storeData[keyProperties.id];\r\n delete element[key];\r\n }\r\n },\r\n };\r\n})();\r\n\r\nconst Data = {\r\n setData(instance, key, data) {\r\n mapData.set(instance, key, data);\r\n },\r\n getData(instance, key) {\r\n return mapData.get(instance, key);\r\n },\r\n removeData(instance, key) {\r\n mapData.delete(instance, key);\r\n },\r\n};\r\n\r\nexport default Data;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.0.0-beta2): dom/event-handler.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport { getjQuery } from '../util/index';\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Constants\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nconst $ = getjQuery();\r\nconst namespaceRegex = /[^.]*(?=\\..*)\\.|.*/;\r\nconst stripNameRegex = /\\..*/;\r\nconst stripUidRegex = /::\\d+$/;\r\nconst eventRegistry = {}; // Events storage\r\nlet uidEvent = 1;\r\nconst customEvents = {\r\n mouseenter: 'mouseover',\r\n mouseleave: 'mouseout',\r\n};\r\nconst nativeEvents = [\r\n 'click',\r\n 'dblclick',\r\n 'mouseup',\r\n 'mousedown',\r\n 'contextmenu',\r\n 'mousewheel',\r\n 'DOMMouseScroll',\r\n 'mouseover',\r\n 'mouseout',\r\n 'mousemove',\r\n 'selectstart',\r\n 'selectend',\r\n 'keydown',\r\n 'keypress',\r\n 'keyup',\r\n 'orientationchange',\r\n 'touchstart',\r\n 'touchmove',\r\n 'touchend',\r\n 'touchcancel',\r\n 'pointerdown',\r\n 'pointermove',\r\n 'pointerup',\r\n 'pointerleave',\r\n 'pointercancel',\r\n 'gesturestart',\r\n 'gesturechange',\r\n 'gestureend',\r\n 'focus',\r\n 'blur',\r\n 'change',\r\n 'reset',\r\n 'select',\r\n 'submit',\r\n 'focusin',\r\n 'focusout',\r\n 'load',\r\n 'unload',\r\n 'beforeunload',\r\n 'resize',\r\n 'move',\r\n 'DOMContentLoaded',\r\n 'readystatechange',\r\n 'error',\r\n 'abort',\r\n 'scroll',\r\n];\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Private methods\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nfunction getUidEvent(element, uid) {\r\n return (uid && `${uid}::${uidEvent++}`) || element.uidEvent || uidEvent++;\r\n}\r\n\r\nfunction getEvent(element) {\r\n const uid = getUidEvent(element);\r\n\r\n element.uidEvent = uid;\r\n eventRegistry[uid] = eventRegistry[uid] || {};\r\n\r\n return eventRegistry[uid];\r\n}\r\n\r\nfunction bootstrapHandler(element, fn) {\r\n return function handler(event) {\r\n event.delegateTarget = element;\r\n\r\n if (handler.oneOff) {\r\n EventHandler.off(element, event.type, fn);\r\n }\r\n\r\n return fn.apply(element, [event]);\r\n };\r\n}\r\n\r\nfunction bootstrapDelegationHandler(element, selector, fn) {\r\n return function handler(event) {\r\n const domElements = element.querySelectorAll(selector);\r\n\r\n for (let { target } = event; target && target !== this; target = target.parentNode) {\r\n for (let i = domElements.length; i--; '') {\r\n if (domElements[i] === target) {\r\n event.delegateTarget = target;\r\n\r\n if (handler.oneOff) {\r\n EventHandler.off(element, event.type, fn);\r\n }\r\n\r\n return fn.apply(target, [event]);\r\n }\r\n }\r\n }\r\n\r\n // To please ESLint\r\n return null;\r\n };\r\n}\r\n\r\nfunction findHandler(events, handler, delegationSelector = null) {\r\n const uidEventList = Object.keys(events);\r\n\r\n for (let i = 0, len = uidEventList.length; i < len; i++) {\r\n const event = events[uidEventList[i]];\r\n\r\n if (event.originalHandler === handler && event.delegationSelector === delegationSelector) {\r\n return event;\r\n }\r\n }\r\n\r\n return null;\r\n}\r\n\r\nfunction normalizeParams(originalTypeEvent, handler, delegationFn) {\r\n const delegation = typeof handler === 'string';\r\n const originalHandler = delegation ? delegationFn : handler;\r\n\r\n // allow to get the native events from namespaced events ('click.bs.button' --> 'click')\r\n let typeEvent = originalTypeEvent.replace(stripNameRegex, '');\r\n const custom = customEvents[typeEvent];\r\n\r\n if (custom) {\r\n typeEvent = custom;\r\n }\r\n\r\n const isNative = nativeEvents.indexOf(typeEvent) > -1;\r\n\r\n if (!isNative) {\r\n typeEvent = originalTypeEvent;\r\n }\r\n\r\n return [delegation, originalHandler, typeEvent];\r\n}\r\n\r\nfunction addHandler(element, originalTypeEvent, handler, delegationFn, oneOff) {\r\n if (typeof originalTypeEvent !== 'string' || !element) {\r\n return;\r\n }\r\n\r\n if (!handler) {\r\n handler = delegationFn;\r\n delegationFn = null;\r\n }\r\n\r\n const [delegation, originalHandler, typeEvent] = normalizeParams(\r\n originalTypeEvent,\r\n handler,\r\n delegationFn\r\n );\r\n const events = getEvent(element);\r\n const handlers = events[typeEvent] || (events[typeEvent] = {});\r\n const previousFn = findHandler(handlers, originalHandler, delegation ? handler : null);\r\n\r\n if (previousFn) {\r\n previousFn.oneOff = previousFn.oneOff && oneOff;\r\n\r\n return;\r\n }\r\n\r\n const uid = getUidEvent(originalHandler, originalTypeEvent.replace(namespaceRegex, ''));\r\n const fn = delegation\r\n ? bootstrapDelegationHandler(element, handler, delegationFn)\r\n : bootstrapHandler(element, handler);\r\n\r\n fn.delegationSelector = delegation ? handler : null;\r\n fn.originalHandler = originalHandler;\r\n fn.oneOff = oneOff;\r\n fn.uidEvent = uid;\r\n handlers[uid] = fn;\r\n\r\n element.addEventListener(typeEvent, fn, delegation);\r\n}\r\n\r\nfunction removeHandler(element, events, typeEvent, handler, delegationSelector) {\r\n const fn = findHandler(events[typeEvent], handler, delegationSelector);\r\n\r\n if (!fn) {\r\n return;\r\n }\r\n\r\n element.removeEventListener(typeEvent, fn, Boolean(delegationSelector));\r\n delete events[typeEvent][fn.uidEvent];\r\n}\r\n\r\nfunction removeNamespacedHandlers(element, events, typeEvent, namespace) {\r\n const storeElementEvent = events[typeEvent] || {};\r\n\r\n Object.keys(storeElementEvent).forEach((handlerKey) => {\r\n if (handlerKey.indexOf(namespace) > -1) {\r\n const event = storeElementEvent[handlerKey];\r\n\r\n removeHandler(element, events, typeEvent, event.originalHandler, event.delegationSelector);\r\n }\r\n });\r\n}\r\n\r\nconst EventHandler = {\r\n on(element, event, handler, delegationFn) {\r\n addHandler(element, event, handler, delegationFn, false);\r\n },\r\n\r\n one(element, event, handler, delegationFn) {\r\n addHandler(element, event, handler, delegationFn, true);\r\n },\r\n\r\n off(element, originalTypeEvent, handler, delegationFn) {\r\n if (typeof originalTypeEvent !== 'string' || !element) {\r\n return;\r\n }\r\n\r\n const [delegation, originalHandler, typeEvent] = normalizeParams(\r\n originalTypeEvent,\r\n handler,\r\n delegationFn\r\n );\r\n const inNamespace = typeEvent !== originalTypeEvent;\r\n const events = getEvent(element);\r\n const isNamespace = originalTypeEvent.charAt(0) === '.';\r\n\r\n if (typeof originalHandler !== 'undefined') {\r\n // Simplest case: handler is passed, remove that listener ONLY.\r\n if (!events || !events[typeEvent]) {\r\n return;\r\n }\r\n\r\n removeHandler(element, events, typeEvent, originalHandler, delegation ? handler : null);\r\n return;\r\n }\r\n\r\n if (isNamespace) {\r\n Object.keys(events).forEach((elementEvent) => {\r\n removeNamespacedHandlers(element, events, elementEvent, originalTypeEvent.slice(1));\r\n });\r\n }\r\n\r\n const storeElementEvent = events[typeEvent] || {};\r\n Object.keys(storeElementEvent).forEach((keyHandlers) => {\r\n const handlerKey = keyHandlers.replace(stripUidRegex, '');\r\n\r\n if (!inNamespace || originalTypeEvent.indexOf(handlerKey) > -1) {\r\n const event = storeElementEvent[keyHandlers];\r\n\r\n removeHandler(element, events, typeEvent, event.originalHandler, event.delegationSelector);\r\n }\r\n });\r\n },\r\n\r\n trigger(element, event, args) {\r\n if (typeof event !== 'string' || !element) {\r\n return null;\r\n }\r\n\r\n const typeEvent = event.replace(stripNameRegex, '');\r\n const inNamespace = event !== typeEvent;\r\n const isNative = nativeEvents.indexOf(typeEvent) > -1;\r\n\r\n let jQueryEvent;\r\n let bubbles = true;\r\n let nativeDispatch = true;\r\n let defaultPrevented = false;\r\n let evt = null;\r\n\r\n if (inNamespace && $) {\r\n jQueryEvent = $.Event(event, args);\r\n\r\n $(element).trigger(jQueryEvent);\r\n bubbles = !jQueryEvent.isPropagationStopped();\r\n nativeDispatch = !jQueryEvent.isImmediatePropagationStopped();\r\n defaultPrevented = jQueryEvent.isDefaultPrevented();\r\n }\r\n\r\n if (isNative) {\r\n evt = document.createEvent('HTMLEvents');\r\n evt.initEvent(typeEvent, bubbles, true);\r\n } else {\r\n evt = new CustomEvent(event, {\r\n bubbles,\r\n cancelable: true,\r\n });\r\n }\r\n\r\n // merge custom informations in our event\r\n if (typeof args !== 'undefined') {\r\n Object.keys(args).forEach((key) => {\r\n Object.defineProperty(evt, key, {\r\n get() {\r\n return args[key];\r\n },\r\n });\r\n });\r\n }\r\n\r\n if (defaultPrevented) {\r\n evt.preventDefault();\r\n }\r\n\r\n if (nativeDispatch) {\r\n element.dispatchEvent(evt);\r\n }\r\n\r\n if (evt.defaultPrevented && typeof jQueryEvent !== 'undefined') {\r\n jQueryEvent.preventDefault();\r\n }\r\n\r\n return evt;\r\n },\r\n};\r\n\r\nexport const EventHandlerMulti = {\r\n on(element, eventsName, handler, delegationFn) {\r\n const events = eventsName.split(' ');\r\n\r\n for (let i = 0; i < events.length; i++) {\r\n EventHandler.on(element, events[i], handler, delegationFn);\r\n }\r\n },\r\n off(element, originalTypeEvent, handler, delegationFn) {\r\n const events = originalTypeEvent.split(' ');\r\n\r\n for (let i = 0; i < events.length; i++) {\r\n EventHandler.off(element, events[i], handler, delegationFn);\r\n }\r\n },\r\n};\r\n\r\nexport default EventHandler;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.0.0-beta2): dom/manipulator.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nfunction normalizeData(val) {\r\n if (val === 'true') {\r\n return true;\r\n }\r\n\r\n if (val === 'false') {\r\n return false;\r\n }\r\n\r\n if (val === Number(val).toString()) {\r\n return Number(val);\r\n }\r\n\r\n if (val === '' || val === 'null') {\r\n return null;\r\n }\r\n\r\n return val;\r\n}\r\n\r\nfunction normalizeDataKey(key) {\r\n return key.replace(/[A-Z]/g, (chr) => `-${chr.toLowerCase()}`);\r\n}\r\n\r\nconst Manipulator = {\r\n setDataAttribute(element, key, value) {\r\n element.setAttribute(`data-mdb-${normalizeDataKey(key)}`, value);\r\n },\r\n\r\n removeDataAttribute(element, key) {\r\n element.removeAttribute(`data-mdb-${normalizeDataKey(key)}`);\r\n },\r\n\r\n getDataAttributes(element) {\r\n if (!element) {\r\n return {};\r\n }\r\n\r\n const attributes = {\r\n ...element.dataset,\r\n };\r\n\r\n Object.keys(attributes)\r\n .filter((key) => key.startsWith('mdb'))\r\n .forEach((key) => {\r\n let pureKey = key.replace(/^mdb/, '');\r\n pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length);\r\n attributes[pureKey] = normalizeData(attributes[key]);\r\n });\r\n\r\n return attributes;\r\n },\r\n\r\n getDataAttribute(element, key) {\r\n return normalizeData(element.getAttribute(`data-mdb-${normalizeDataKey(key)}`));\r\n },\r\n\r\n offset(element) {\r\n const rect = element.getBoundingClientRect();\r\n\r\n return {\r\n top: rect.top + document.body.scrollTop,\r\n left: rect.left + document.body.scrollLeft,\r\n };\r\n },\r\n\r\n position(element) {\r\n return {\r\n top: element.offsetTop,\r\n left: element.offsetLeft,\r\n };\r\n },\r\n\r\n style(element, style) {\r\n Object.assign(element.style, style);\r\n },\r\n\r\n toggleClass(element, className) {\r\n if (!element) {\r\n return;\r\n }\r\n\r\n if (element.classList.contains(className)) {\r\n element.classList.remove(className);\r\n } else {\r\n element.classList.add(className);\r\n }\r\n },\r\n\r\n addClass(element, className) {\r\n if (element.classList.contains(className)) return;\r\n element.classList.add(className);\r\n },\r\n\r\n addStyle(element, style) {\r\n Object.keys(style).forEach((property) => {\r\n element.style[property] = style[property];\r\n });\r\n },\r\n\r\n removeClass(element, className) {\r\n if (!element.classList.contains(className)) return;\r\n element.classList.remove(className);\r\n },\r\n\r\n hasClass(element, className) {\r\n return element.classList.contains(className);\r\n },\r\n};\r\n\r\nexport default Manipulator;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.0.0-beta2): dom/selector-engine.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Constants\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nconst NODE_TEXT = 3;\r\n\r\nconst SelectorEngine = {\r\n closest(element, selector) {\r\n return element.closest(selector);\r\n },\r\n\r\n matches(element, selector) {\r\n return element.matches(selector);\r\n },\r\n\r\n find(selector, element = document.documentElement) {\r\n return [].concat(...Element.prototype.querySelectorAll.call(element, selector));\r\n },\r\n\r\n findOne(selector, element = document.documentElement) {\r\n return Element.prototype.querySelector.call(element, selector);\r\n },\r\n\r\n children(element, selector) {\r\n const children = [].concat(...element.children);\r\n\r\n return children.filter((child) => child.matches(selector));\r\n },\r\n\r\n parents(element, selector) {\r\n const parents = [];\r\n\r\n let ancestor = element.parentNode;\r\n\r\n while (ancestor && ancestor.nodeType === Node.ELEMENT_NODE && ancestor.nodeType !== NODE_TEXT) {\r\n if (this.matches(ancestor, selector)) {\r\n parents.push(ancestor);\r\n }\r\n\r\n ancestor = ancestor.parentNode;\r\n }\r\n\r\n return parents;\r\n },\r\n\r\n prev(element, selector) {\r\n let previous = element.previousElementSibling;\r\n\r\n while (previous) {\r\n if (previous.matches(selector)) {\r\n return [previous];\r\n }\r\n\r\n previous = previous.previousElementSibling;\r\n }\r\n\r\n return [];\r\n },\r\n\r\n next(element, selector) {\r\n let next = element.nextElementSibling;\r\n\r\n while (next) {\r\n if (this.matches(next, selector)) {\r\n return [next];\r\n }\r\n\r\n next = next.nextElementSibling;\r\n }\r\n\r\n return [];\r\n },\r\n};\r\n\r\nexport default SelectorEngine;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): util/index.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nconst MAX_UID = 1_000_000;\r\nconst MILLISECONDS_MULTIPLIER = 1000;\r\nconst TRANSITION_END = 'transitionend';\r\n\r\n// Shout-out Angus Croll (https://goo.gl/pxwQGp)\r\nconst toType = (object) => {\r\n if (object === null || object === undefined) {\r\n return `${object}`;\r\n }\r\n\r\n return Object.prototype.toString\r\n .call(object)\r\n .match(/\\s([a-z]+)/i)[1]\r\n .toLowerCase();\r\n};\r\n\r\n/**\r\n * Public Util API\r\n */\r\n\r\nconst getUID = (prefix) => {\r\n do {\r\n prefix += Math.floor(Math.random() * MAX_UID);\r\n } while (document.getElementById(prefix));\r\n\r\n return prefix;\r\n};\r\n\r\nconst getSelector = (element) => {\r\n let selector = element.getAttribute('data-mdb-target');\r\n\r\n if (!selector || selector === '#') {\r\n let hrefAttribute = element.getAttribute('href');\r\n\r\n // The only valid content that could double as a selector are IDs or classes,\r\n // so everything starting with `#` or `.`. If a \"real\" URL is used as the selector,\r\n // `document.querySelector` will rightfully complain it is invalid.\r\n // See https://github.com/twbs/bootstrap/issues/32273\r\n if (!hrefAttribute || (!hrefAttribute.includes('#') && !hrefAttribute.startsWith('.'))) {\r\n return null;\r\n }\r\n\r\n // Just in case some CMS puts out a full URL with the anchor appended\r\n if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) {\r\n hrefAttribute = `#${hrefAttribute.split('#')[1]}`;\r\n }\r\n\r\n selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null;\r\n }\r\n\r\n return selector;\r\n};\r\n\r\nconst getSelectorFromElement = (element) => {\r\n const selector = getSelector(element);\r\n\r\n if (selector) {\r\n return document.querySelector(selector) ? selector : null;\r\n }\r\n\r\n return null;\r\n};\r\n\r\nconst getElementFromSelector = (element) => {\r\n const selector = getSelector(element);\r\n\r\n return selector ? document.querySelector(selector) : null;\r\n};\r\n\r\nconst getTransitionDurationFromElement = (element) => {\r\n if (!element) {\r\n return 0;\r\n }\r\n\r\n // Get transition-duration of the element\r\n let { transitionDuration, transitionDelay } = window.getComputedStyle(element);\r\n\r\n const floatTransitionDuration = Number.parseFloat(transitionDuration);\r\n const floatTransitionDelay = Number.parseFloat(transitionDelay);\r\n\r\n // Return 0 if element or transition duration is not found\r\n if (!floatTransitionDuration && !floatTransitionDelay) {\r\n return 0;\r\n }\r\n\r\n // If multiple durations are defined, take the first\r\n transitionDuration = transitionDuration.split(',')[0];\r\n transitionDelay = transitionDelay.split(',')[0];\r\n\r\n return (\r\n (Number.parseFloat(transitionDuration) + Number.parseFloat(transitionDelay)) *\r\n MILLISECONDS_MULTIPLIER\r\n );\r\n};\r\n\r\nconst triggerTransitionEnd = (element) => {\r\n element.dispatchEvent(new Event(TRANSITION_END));\r\n};\r\n\r\nconst isElement = (object) => {\r\n if (!object || typeof object !== 'object') {\r\n return false;\r\n }\r\n\r\n if (typeof object.jquery !== 'undefined') {\r\n object = object[0];\r\n }\r\n\r\n return typeof object.nodeType !== 'undefined';\r\n};\r\n\r\nconst getElement = (object) => {\r\n // it's a jQuery object or a node element\r\n if (isElement(object)) {\r\n return object.jquery ? object[0] : object;\r\n }\r\n\r\n if (typeof object === 'string' && object.length > 0) {\r\n return document.querySelector(object);\r\n }\r\n\r\n return null;\r\n};\r\n\r\nconst isVisible = (element) => {\r\n if (!isElement(element) || element.getClientRects().length === 0) {\r\n return false;\r\n }\r\n\r\n const elementIsVisible = getComputedStyle(element).getPropertyValue('visibility') === 'visible';\r\n // Handle `details` element as its content may falsie appear visible when it is closed\r\n const closedDetails = element.closest('details:not([open])');\r\n\r\n if (!closedDetails) {\r\n return elementIsVisible;\r\n }\r\n\r\n if (closedDetails !== element) {\r\n const summary = element.closest('summary');\r\n if (summary && summary.parentNode !== closedDetails) {\r\n return false;\r\n }\r\n\r\n if (summary === null) {\r\n return false;\r\n }\r\n }\r\n\r\n return elementIsVisible;\r\n};\r\n\r\nconst isDisabled = (element) => {\r\n if (!element || element.nodeType !== Node.ELEMENT_NODE) {\r\n return true;\r\n }\r\n\r\n if (element.classList.contains('disabled')) {\r\n return true;\r\n }\r\n\r\n if (typeof element.disabled !== 'undefined') {\r\n return element.disabled;\r\n }\r\n\r\n return element.hasAttribute('disabled') && element.getAttribute('disabled') !== 'false';\r\n};\r\n\r\nconst findShadowRoot = (element) => {\r\n if (!document.documentElement.attachShadow) {\r\n return null;\r\n }\r\n\r\n // Can find the shadow root otherwise it'll return the document\r\n if (typeof element.getRootNode === 'function') {\r\n const root = element.getRootNode();\r\n return root instanceof ShadowRoot ? root : null;\r\n }\r\n\r\n if (element instanceof ShadowRoot) {\r\n return element;\r\n }\r\n\r\n // when we don't find a shadow root\r\n if (!element.parentNode) {\r\n return null;\r\n }\r\n\r\n return findShadowRoot(element.parentNode);\r\n};\r\n\r\nconst noop = () => {};\r\n\r\n/**\r\n * Trick to restart an element's animation\r\n *\r\n * @param {HTMLElement} element\r\n * @return void\r\n *\r\n * @see https://www.charistheo.io/blog/2021/02/restart-a-css-animation-with-javascript/#restarting-a-css-animation\r\n */\r\nconst reflow = (element) => {\r\n element.offsetHeight; // eslint-disable-line no-unused-expressions\r\n};\r\n\r\nconst getjQuery = () => {\r\n if (window.jQuery && !document.body.hasAttribute('data-mdb-no-jquery')) {\r\n return window.jQuery;\r\n }\r\n\r\n return null;\r\n};\r\n\r\nconst DOMContentLoadedCallbacks = [];\r\n\r\nconst onDOMContentLoaded = (callback) => {\r\n if (document.readyState === 'loading') {\r\n // add listener on the first call when the document is in loading state\r\n if (!DOMContentLoadedCallbacks.length) {\r\n document.addEventListener('DOMContentLoaded', () => {\r\n for (const callback of DOMContentLoadedCallbacks) {\r\n callback();\r\n }\r\n });\r\n }\r\n\r\n DOMContentLoadedCallbacks.push(callback);\r\n } else {\r\n callback();\r\n }\r\n};\r\n\r\nconst isRTL = () => document.documentElement.dir === 'rtl';\r\n\r\nconst defineJQueryPlugin = (plugin) => {\r\n onDOMContentLoaded(() => {\r\n const $ = getjQuery();\r\n /* istanbul ignore if */\r\n if ($) {\r\n const name = plugin.NAME;\r\n const JQUERY_NO_CONFLICT = $.fn[name];\r\n $.fn[name] = plugin.jQueryInterface;\r\n $.fn[name].Constructor = plugin;\r\n $.fn[name].noConflict = () => {\r\n $.fn[name] = JQUERY_NO_CONFLICT;\r\n return plugin.jQueryInterface;\r\n };\r\n }\r\n });\r\n};\r\n\r\nconst execute = (callback) => {\r\n if (typeof callback === 'function') {\r\n callback();\r\n }\r\n};\r\n\r\nconst executeAfterTransition = (callback, transitionElement, waitForTransition = true) => {\r\n if (!waitForTransition) {\r\n execute(callback);\r\n return;\r\n }\r\n\r\n const durationPadding = 5;\r\n const emulatedDuration = getTransitionDurationFromElement(transitionElement) + durationPadding;\r\n\r\n let called = false;\r\n\r\n const handler = ({ target }) => {\r\n if (target !== transitionElement) {\r\n return;\r\n }\r\n\r\n called = true;\r\n transitionElement.removeEventListener(TRANSITION_END, handler);\r\n execute(callback);\r\n };\r\n\r\n transitionElement.addEventListener(TRANSITION_END, handler);\r\n setTimeout(() => {\r\n if (!called) {\r\n triggerTransitionEnd(transitionElement);\r\n }\r\n }, emulatedDuration);\r\n};\r\n\r\n/**\r\n * Return the previous/next element of a list.\r\n *\r\n * @param {array} list The list of elements\r\n * @param activeElement The active element\r\n * @param shouldGetNext Choose to get next or previous element\r\n * @param isCycleAllowed\r\n * @return {Element|elem} The proper element\r\n */\r\nconst getNextActiveElement = (list, activeElement, shouldGetNext, isCycleAllowed) => {\r\n const listLength = list.length;\r\n let index = list.indexOf(activeElement);\r\n\r\n // if the element does not exist in the list return an element\r\n // depending on the direction and if cycle is allowed\r\n if (index === -1) {\r\n return !shouldGetNext && isCycleAllowed ? list[listLength - 1] : list[0];\r\n }\r\n\r\n index += shouldGetNext ? 1 : -1;\r\n\r\n if (isCycleAllowed) {\r\n index = (index + listLength) % listLength;\r\n }\r\n\r\n return list[Math.max(0, Math.min(index, listLength - 1))];\r\n};\r\n\r\nexport {\r\n defineJQueryPlugin,\r\n execute,\r\n executeAfterTransition,\r\n findShadowRoot,\r\n getElement,\r\n getElementFromSelector,\r\n getjQuery,\r\n getNextActiveElement,\r\n getSelectorFromElement,\r\n getTransitionDurationFromElement,\r\n getUID,\r\n isDisabled,\r\n isElement,\r\n isRTL,\r\n isVisible,\r\n noop,\r\n onDOMContentLoaded,\r\n reflow,\r\n triggerTransitionEnd,\r\n toType,\r\n};\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): dom/event-handler.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport { getjQuery } from '../util/index';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst namespaceRegex = /[^.]*(?=\\..*)\\.|.*/;\r\nconst stripNameRegex = /\\..*/;\r\nconst stripUidRegex = /::\\d+$/;\r\nconst eventRegistry = {}; // Events storage\r\nlet uidEvent = 1;\r\nconst customEvents = {\r\n mouseenter: 'mouseover',\r\n mouseleave: 'mouseout',\r\n};\r\n\r\nconst nativeEvents = new Set([\r\n 'click',\r\n 'dblclick',\r\n 'mouseup',\r\n 'mousedown',\r\n 'contextmenu',\r\n 'mousewheel',\r\n 'DOMMouseScroll',\r\n 'mouseover',\r\n 'mouseout',\r\n 'mousemove',\r\n 'selectstart',\r\n 'selectend',\r\n 'keydown',\r\n 'keypress',\r\n 'keyup',\r\n 'orientationchange',\r\n 'touchstart',\r\n 'touchmove',\r\n 'touchend',\r\n 'touchcancel',\r\n 'pointerdown',\r\n 'pointermove',\r\n 'pointerup',\r\n 'pointerleave',\r\n 'pointercancel',\r\n 'gesturestart',\r\n 'gesturechange',\r\n 'gestureend',\r\n 'focus',\r\n 'blur',\r\n 'change',\r\n 'reset',\r\n 'select',\r\n 'submit',\r\n 'focusin',\r\n 'focusout',\r\n 'load',\r\n 'unload',\r\n 'beforeunload',\r\n 'resize',\r\n 'move',\r\n 'DOMContentLoaded',\r\n 'readystatechange',\r\n 'error',\r\n 'abort',\r\n 'scroll',\r\n]);\r\n\r\n/**\r\n * Private methods\r\n */\r\n\r\nfunction makeEventUid(element, uid) {\r\n return (uid && `${uid}::${uidEvent++}`) || element.uidEvent || uidEvent++;\r\n}\r\n\r\nfunction getElementEvents(element) {\r\n const uid = makeEventUid(element);\r\n\r\n element.uidEvent = uid;\r\n eventRegistry[uid] = eventRegistry[uid] || {};\r\n\r\n return eventRegistry[uid];\r\n}\r\n\r\nfunction bootstrapHandler(element, fn) {\r\n return function handler(event) {\r\n hydrateObj(event, { delegateTarget: element });\r\n\r\n if (handler.oneOff) {\r\n EventHandler.off(element, event.type, fn);\r\n }\r\n\r\n return fn.apply(element, [event]);\r\n };\r\n}\r\n\r\nfunction bootstrapDelegationHandler(element, selector, fn) {\r\n return function handler(event) {\r\n const domElements = element.querySelectorAll(selector);\r\n\r\n for (let { target } = event; target && target !== this; target = target.parentNode) {\r\n for (const domElement of domElements) {\r\n if (domElement !== target) {\r\n continue;\r\n }\r\n\r\n hydrateObj(event, { delegateTarget: target });\r\n\r\n if (handler.oneOff) {\r\n EventHandler.off(element, event.type, selector, fn);\r\n }\r\n\r\n return fn.apply(target, [event]);\r\n }\r\n }\r\n };\r\n}\r\n\r\nfunction findHandler(events, callable, delegationSelector = null) {\r\n return Object.values(events).find(\r\n (event) => event.callable === callable && event.delegationSelector === delegationSelector\r\n );\r\n}\r\n\r\nfunction normalizeParameters(originalTypeEvent, handler, delegationFunction) {\r\n const isDelegated = typeof handler === 'string';\r\n // todo: tooltip passes `false` instead of selector, so we need to check\r\n const callable = isDelegated ? delegationFunction : handler || delegationFunction;\r\n let typeEvent = getTypeEvent(originalTypeEvent);\r\n\r\n if (!nativeEvents.has(typeEvent)) {\r\n typeEvent = originalTypeEvent;\r\n }\r\n\r\n return [isDelegated, callable, typeEvent];\r\n}\r\n\r\nfunction addHandler(element, originalTypeEvent, handler, delegationFunction, oneOff) {\r\n if (typeof originalTypeEvent !== 'string' || !element) {\r\n return;\r\n }\r\n\r\n let [isDelegated, callable, typeEvent] = normalizeParameters(\r\n originalTypeEvent,\r\n handler,\r\n delegationFunction\r\n );\r\n\r\n // in case of mouseenter or mouseleave wrap the handler within a function that checks for its DOM position\r\n // this prevents the handler from being dispatched the same way as mouseover or mouseout does\r\n if (originalTypeEvent in customEvents) {\r\n const wrapFunction = (fn) => {\r\n return function (event) {\r\n if (\r\n !event.relatedTarget ||\r\n (event.relatedTarget !== event.delegateTarget &&\r\n !event.delegateTarget.contains(event.relatedTarget))\r\n ) {\r\n return fn.call(this, event);\r\n }\r\n };\r\n };\r\n\r\n callable = wrapFunction(callable);\r\n }\r\n\r\n const events = getElementEvents(element);\r\n const handlers = events[typeEvent] || (events[typeEvent] = {});\r\n const previousFunction = findHandler(handlers, callable, isDelegated ? handler : null);\r\n\r\n if (previousFunction) {\r\n previousFunction.oneOff = previousFunction.oneOff && oneOff;\r\n\r\n return;\r\n }\r\n\r\n const uid = makeEventUid(callable, originalTypeEvent.replace(namespaceRegex, ''));\r\n const fn = isDelegated\r\n ? bootstrapDelegationHandler(element, handler, callable)\r\n : bootstrapHandler(element, callable);\r\n\r\n fn.delegationSelector = isDelegated ? handler : null;\r\n fn.callable = callable;\r\n fn.oneOff = oneOff;\r\n fn.uidEvent = uid;\r\n handlers[uid] = fn;\r\n\r\n element.addEventListener(typeEvent, fn, isDelegated);\r\n}\r\n\r\nfunction removeHandler(element, events, typeEvent, handler, delegationSelector) {\r\n const fn = findHandler(events[typeEvent], handler, delegationSelector);\r\n\r\n if (!fn) {\r\n return;\r\n }\r\n\r\n element.removeEventListener(typeEvent, fn, Boolean(delegationSelector));\r\n delete events[typeEvent][fn.uidEvent];\r\n}\r\n\r\nfunction removeNamespacedHandlers(element, events, typeEvent, namespace) {\r\n const storeElementEvent = events[typeEvent] || {};\r\n\r\n for (const handlerKey of Object.keys(storeElementEvent)) {\r\n if (handlerKey.includes(namespace)) {\r\n const event = storeElementEvent[handlerKey];\r\n removeHandler(element, events, typeEvent, event.callable, event.delegationSelector);\r\n }\r\n }\r\n}\r\n\r\nfunction getTypeEvent(event) {\r\n // allow to get the native events from namespaced events ('click.bs.button' --> 'click')\r\n event = event.replace(stripNameRegex, '');\r\n return customEvents[event] || event;\r\n}\r\n\r\nconst EventHandler = {\r\n on(element, event, handler, delegationFunction) {\r\n addHandler(element, event, handler, delegationFunction, false);\r\n },\r\n\r\n one(element, event, handler, delegationFunction) {\r\n addHandler(element, event, handler, delegationFunction, true);\r\n },\r\n\r\n off(element, originalTypeEvent, handler, delegationFunction) {\r\n if (typeof originalTypeEvent !== 'string' || !element) {\r\n return;\r\n }\r\n\r\n const [isDelegated, callable, typeEvent] = normalizeParameters(\r\n originalTypeEvent,\r\n handler,\r\n delegationFunction\r\n );\r\n const inNamespace = typeEvent !== originalTypeEvent;\r\n const events = getElementEvents(element);\r\n const storeElementEvent = events[typeEvent] || {};\r\n const isNamespace = originalTypeEvent.startsWith('.');\r\n\r\n if (typeof callable !== 'undefined') {\r\n // Simplest case: handler is passed, remove that listener ONLY.\r\n if (!Object.keys(storeElementEvent).length) {\r\n return;\r\n }\r\n\r\n removeHandler(element, events, typeEvent, callable, isDelegated ? handler : null);\r\n return;\r\n }\r\n\r\n if (isNamespace) {\r\n for (const elementEvent of Object.keys(events)) {\r\n removeNamespacedHandlers(element, events, elementEvent, originalTypeEvent.slice(1));\r\n }\r\n }\r\n\r\n for (const keyHandlers of Object.keys(storeElementEvent)) {\r\n const handlerKey = keyHandlers.replace(stripUidRegex, '');\r\n\r\n if (!inNamespace || originalTypeEvent.includes(handlerKey)) {\r\n const event = storeElementEvent[keyHandlers];\r\n removeHandler(element, events, typeEvent, event.callable, event.delegationSelector);\r\n }\r\n }\r\n },\r\n\r\n trigger(element, event, args) {\r\n if (typeof event !== 'string' || !element) {\r\n return null;\r\n }\r\n\r\n const $ = getjQuery();\r\n const typeEvent = getTypeEvent(event);\r\n const inNamespace = event !== typeEvent;\r\n\r\n let jQueryEvent = null;\r\n let bubbles = true;\r\n let nativeDispatch = true;\r\n let defaultPrevented = false;\r\n\r\n if (inNamespace && $) {\r\n jQueryEvent = $.Event(event, args);\r\n\r\n $(element).trigger(jQueryEvent);\r\n bubbles = !jQueryEvent.isPropagationStopped();\r\n nativeDispatch = !jQueryEvent.isImmediatePropagationStopped();\r\n defaultPrevented = jQueryEvent.isDefaultPrevented();\r\n }\r\n\r\n let evt = new Event(event, { bubbles, cancelable: true });\r\n evt = hydrateObj(evt, args);\r\n\r\n if (defaultPrevented) {\r\n evt.preventDefault();\r\n }\r\n\r\n if (nativeDispatch) {\r\n element.dispatchEvent(evt);\r\n }\r\n\r\n if (evt.defaultPrevented && jQueryEvent) {\r\n jQueryEvent.preventDefault();\r\n }\r\n\r\n return evt;\r\n },\r\n};\r\n\r\nfunction hydrateObj(obj, meta) {\r\n for (const [key, value] of Object.entries(meta || {})) {\r\n try {\r\n obj[key] = value;\r\n } catch {\r\n Object.defineProperty(obj, key, {\r\n configurable: true,\r\n get() {\r\n return value;\r\n },\r\n });\r\n }\r\n }\r\n\r\n return obj;\r\n}\r\n\r\nexport default EventHandler;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): dom/data.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst elementMap = new Map();\r\n\r\nexport default {\r\n set(element, key, instance) {\r\n if (!elementMap.has(element)) {\r\n elementMap.set(element, new Map());\r\n }\r\n\r\n const instanceMap = elementMap.get(element);\r\n\r\n // make it clear we only want one instance per element\r\n // can be removed later when multiple key/instances are fine to be used\r\n if (!instanceMap.has(key) && instanceMap.size !== 0) {\r\n // eslint-disable-next-line no-console\r\n console.error(\r\n `Bootstrap doesn't allow more than one instance per element. Bound instance: ${\r\n Array.from(instanceMap.keys())[0]\r\n }.`\r\n );\r\n return;\r\n }\r\n\r\n instanceMap.set(key, instance);\r\n },\r\n\r\n get(element, key) {\r\n if (elementMap.has(element)) {\r\n return elementMap.get(element).get(key) || null;\r\n }\r\n\r\n return null;\r\n },\r\n\r\n remove(element, key) {\r\n if (!elementMap.has(element)) {\r\n return;\r\n }\r\n\r\n const instanceMap = elementMap.get(element);\r\n\r\n instanceMap.delete(key);\r\n\r\n // free up element references if there are no instances left for an element\r\n if (instanceMap.size === 0) {\r\n elementMap.delete(element);\r\n }\r\n },\r\n};\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): dom/manipulator.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nfunction normalizeData(value) {\r\n if (value === 'true') {\r\n return true;\r\n }\r\n\r\n if (value === 'false') {\r\n return false;\r\n }\r\n\r\n if (value === Number(value).toString()) {\r\n return Number(value);\r\n }\r\n\r\n if (value === '' || value === 'null') {\r\n return null;\r\n }\r\n\r\n if (typeof value !== 'string') {\r\n return value;\r\n }\r\n\r\n try {\r\n return JSON.parse(decodeURIComponent(value));\r\n } catch {\r\n return value;\r\n }\r\n}\r\n\r\nfunction normalizeDataKey(key) {\r\n return key.replace(/[A-Z]/g, (chr) => `-${chr.toLowerCase()}`);\r\n}\r\n\r\nconst Manipulator = {\r\n setDataAttribute(element, key, value) {\r\n element.setAttribute(`data-mdb-${normalizeDataKey(key)}`, value);\r\n },\r\n\r\n removeDataAttribute(element, key) {\r\n element.removeAttribute(`data-mdb-${normalizeDataKey(key)}`);\r\n },\r\n\r\n getDataAttributes(element) {\r\n if (!element) {\r\n return {};\r\n }\r\n\r\n const attributes = {};\r\n const mdbKeys = Object.keys(element.dataset).filter(\r\n (key) => key.startsWith('mdb') && !key.startsWith('mdbConfig')\r\n );\r\n\r\n for (const key of mdbKeys) {\r\n let pureKey = key.replace(/^mdb/, '');\r\n pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length);\r\n attributes[pureKey] = normalizeData(element.dataset[key]);\r\n }\r\n\r\n return attributes;\r\n },\r\n\r\n getDataAttribute(element, key) {\r\n return normalizeData(element.getAttribute(`data-mdb-${normalizeDataKey(key)}`));\r\n },\r\n};\r\n\r\nexport default Manipulator;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): util/config.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport { isElement, toType } from './index';\r\nimport Manipulator from '../dom/manipulator';\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass Config {\r\n // Getters\r\n static get Default() {\r\n return {};\r\n }\r\n\r\n static get DefaultType() {\r\n return {};\r\n }\r\n\r\n static get NAME() {\r\n throw new Error('You have to implement the static method \"NAME\", for each component!');\r\n }\r\n\r\n _getConfig(config) {\r\n config = this._mergeConfigObj(config);\r\n config = this._configAfterMerge(config);\r\n this._typeCheckConfig(config);\r\n return config;\r\n }\r\n\r\n _configAfterMerge(config) {\r\n return config;\r\n }\r\n\r\n _mergeConfigObj(config, element) {\r\n const jsonConfig = isElement(element) ? Manipulator.getDataAttribute(element, 'config') : {}; // try to parse\r\n\r\n return {\r\n ...this.constructor.Default,\r\n ...(typeof jsonConfig === 'object' ? jsonConfig : {}),\r\n ...(isElement(element) ? Manipulator.getDataAttributes(element) : {}),\r\n ...(typeof config === 'object' ? config : {}),\r\n };\r\n }\r\n\r\n _typeCheckConfig(config, configTypes = this.constructor.DefaultType) {\r\n for (const property of Object.keys(configTypes)) {\r\n const expectedTypes = configTypes[property];\r\n const value = config[property];\r\n const valueType = isElement(value) ? 'element' : toType(value);\r\n\r\n if (!new RegExp(expectedTypes).test(valueType)) {\r\n throw new TypeError(\r\n `${this.constructor.NAME.toUpperCase()}: Option \"${property}\" provided type \"${valueType}\" but expected type \"${expectedTypes}\".`\r\n );\r\n }\r\n }\r\n }\r\n}\r\n\r\nexport default Config;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): base-component.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport Data from './dom/data';\r\nimport { executeAfterTransition, getElement } from './util/index';\r\nimport EventHandler from './dom/event-handler';\r\nimport Config from './util/config';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst VERSION = '5.2.3';\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass BaseComponent extends Config {\r\n constructor(element, config) {\r\n super();\r\n\r\n element = getElement(element);\r\n if (!element) {\r\n return;\r\n }\r\n\r\n this._element = element;\r\n this._config = this._getConfig(config);\r\n\r\n Data.set(this._element, this.constructor.DATA_KEY, this);\r\n }\r\n\r\n // Public\r\n dispose() {\r\n Data.remove(this._element, this.constructor.DATA_KEY);\r\n EventHandler.off(this._element, this.constructor.EVENT_KEY);\r\n\r\n for (const propertyName of Object.getOwnPropertyNames(this)) {\r\n this[propertyName] = null;\r\n }\r\n }\r\n\r\n _queueCallback(callback, element, isAnimated = true) {\r\n executeAfterTransition(callback, element, isAnimated);\r\n }\r\n\r\n _getConfig(config) {\r\n config = this._mergeConfigObj(config, this._element);\r\n config = this._configAfterMerge(config);\r\n this._typeCheckConfig(config);\r\n return config;\r\n }\r\n\r\n // Static\r\n static getInstance(element) {\r\n return Data.get(getElement(element), this.DATA_KEY);\r\n }\r\n\r\n static getOrCreateInstance(element, config = {}) {\r\n return (\r\n this.getInstance(element) || new this(element, typeof config === 'object' ? config : null)\r\n );\r\n }\r\n\r\n static get VERSION() {\r\n return VERSION;\r\n }\r\n\r\n static get DATA_KEY() {\r\n return `bs.${this.NAME}`;\r\n }\r\n\r\n static get EVENT_KEY() {\r\n return `.${this.DATA_KEY}`;\r\n }\r\n\r\n static eventName(name) {\r\n return `${name}${this.EVENT_KEY}`;\r\n }\r\n}\r\n\r\nexport default BaseComponent;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): button.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport { defineJQueryPlugin } from './util/index';\r\nimport EventHandler from './dom/event-handler';\r\nimport BaseComponent from './base-component';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst NAME = 'button';\r\nconst DATA_KEY = 'bs.button';\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\nconst DATA_API_KEY = '.data-api';\r\n\r\nconst CLASS_NAME_ACTIVE = 'active';\r\nconst SELECTOR_DATA_TOGGLE = '[data-mdb-toggle=\"button\"]';\r\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`;\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass Button extends BaseComponent {\r\n // Getters\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Public\r\n toggle() {\r\n // Toggle class and sync the `aria-pressed` attribute with the return value of the `.toggle()` method\r\n this._element.setAttribute('aria-pressed', this._element.classList.toggle(CLASS_NAME_ACTIVE));\r\n }\r\n\r\n // Static\r\n static jQueryInterface(config) {\r\n return this.each(function () {\r\n const data = Button.getOrCreateInstance(this);\r\n\r\n if (config === 'toggle') {\r\n data[config]();\r\n }\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * Data API implementation\r\n */\r\n\r\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, (event) => {\r\n event.preventDefault();\r\n\r\n const button = event.target.closest(SELECTOR_DATA_TOGGLE);\r\n const data = Button.getOrCreateInstance(button);\r\n\r\n data.toggle();\r\n});\r\n\r\n/**\r\n * jQuery\r\n */\r\n\r\ndefineJQueryPlugin(Button);\r\n\r\nexport default Button;\r\n","import { getjQuery, onDOMContentLoaded } from '../mdb/util/index';\r\nimport Data from '../mdb/dom/data';\r\nimport EventHandler from '../mdb/dom/event-handler';\r\nimport Manipulator from '../mdb/dom/manipulator';\r\nimport SelectorEngine from '../mdb/dom/selector-engine';\r\n\r\nimport BSButton from '../bootstrap/mdb-prefix/button';\r\n\r\nconst NAME = 'button';\r\nconst DATA_KEY = `mdb.${NAME}`;\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\n\r\nconst EVENT_CLICK = `click${EVENT_KEY}`;\r\nconst EVENT_TRANSITIONEND = 'transitionend';\r\nconst EVENT_MOUSEENTER = 'mouseenter';\r\nconst EVENT_MOUSELEAVE = 'mouseleave';\r\nconst EVENT_HIDE = `hide${EVENT_KEY}`;\r\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`;\r\nconst EVENT_SHOW = `show${EVENT_KEY}`;\r\nconst EVENT_SHOWN = `shown${EVENT_KEY}`;\r\n\r\nconst CLASS_NAME_ACTIVE = 'active';\r\nconst CLASS_NAME_SHOWN = 'shown';\r\nconst CLASS_NAME_FIXED_ACTION_BTN = 'fixed-action-btn';\r\n\r\nconst SELECTOR_BUTTON = '[data-mdb-toggle=\"button\"]';\r\nconst SELECTOR_FIXED_CONTAINER = '.fixed-action-btn';\r\nconst SELECTOR_ACTION_BUTTON = '.fixed-action-btn:not(.smooth-scroll) > .btn-floating';\r\nconst SELECTOR_LIST_ELEMENT = 'ul .btn';\r\nconst SELECTOR_LIST = 'ul';\r\n\r\nclass Button extends BSButton {\r\n constructor(element) {\r\n super(element);\r\n this._fn = {};\r\n\r\n if (this._element) {\r\n Data.setData(this._element, DATA_KEY, this);\r\n this._init();\r\n }\r\n }\r\n\r\n // Static\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n static jQueryInterface(config, options) {\r\n return this.each(function () {\r\n let data = Data.getData(this, DATA_KEY);\r\n const _config = typeof config === 'object' && config;\r\n if (!data && /dispose/.test(config)) {\r\n return;\r\n }\r\n\r\n if (!data) {\r\n data = new Button(this, _config);\r\n }\r\n if (typeof config === 'string') {\r\n if (typeof data[config] === 'undefined') {\r\n throw new TypeError(`No method named \"${config}\"`);\r\n }\r\n data[config](options);\r\n }\r\n });\r\n }\r\n\r\n // Getters\r\n get _actionButton() {\r\n return SelectorEngine.findOne(SELECTOR_ACTION_BUTTON, this._element);\r\n }\r\n\r\n get _buttonListElements() {\r\n return SelectorEngine.find(SELECTOR_LIST_ELEMENT, this._element);\r\n }\r\n\r\n get _buttonList() {\r\n return SelectorEngine.findOne(SELECTOR_LIST, this._element);\r\n }\r\n\r\n get _isTouchDevice() {\r\n return 'ontouchstart' in document.documentElement;\r\n }\r\n\r\n // Public\r\n show() {\r\n if (Manipulator.hasClass(this._element, CLASS_NAME_FIXED_ACTION_BTN)) {\r\n EventHandler.off(this._buttonList, EVENT_TRANSITIONEND);\r\n EventHandler.trigger(this._element, EVENT_SHOW);\r\n // EventHandler.on(this._buttonList, EVENT_TRANSITIONEND, this._bindListOpenTransitionEnd);\r\n this._bindListOpenTransitionEnd();\r\n Manipulator.addStyle(this._element, { height: `${this._fullContainerHeight}px` });\r\n this._toggleVisibility(true);\r\n }\r\n }\r\n\r\n hide() {\r\n if (Manipulator.hasClass(this._element, CLASS_NAME_FIXED_ACTION_BTN)) {\r\n EventHandler.off(this._buttonList, EVENT_TRANSITIONEND);\r\n EventHandler.trigger(this._element, EVENT_HIDE);\r\n // EventHandler.on(this._buttonList, EVENT_TRANSITIONEND, this._bindListHideTransitionEnd);\r\n this._bindListHideTransitionEnd();\r\n this._toggleVisibility(false);\r\n }\r\n }\r\n\r\n dispose() {\r\n if (Manipulator.hasClass(this._element, CLASS_NAME_FIXED_ACTION_BTN)) {\r\n EventHandler.off(this._actionButton, EVENT_CLICK);\r\n this._actionButton.removeEventListener(EVENT_MOUSEENTER, this._fn.mouseenter);\r\n this._element.removeEventListener(EVENT_MOUSELEAVE, this._fn.mouseleave);\r\n }\r\n\r\n super.dispose();\r\n }\r\n\r\n // Private\r\n _init() {\r\n if (Manipulator.hasClass(this._element, CLASS_NAME_FIXED_ACTION_BTN)) {\r\n this._saveInitialHeights();\r\n this._setInitialStyles();\r\n this._bindInitialEvents();\r\n }\r\n }\r\n\r\n _bindMouseEnter() {\r\n this._actionButton.addEventListener(\r\n EVENT_MOUSEENTER,\r\n // prettier-ignore\r\n this._fn.mouseenter = () => {\r\n if (!this._isTouchDevice) {\r\n this.show();\r\n }\r\n }\r\n // prettier-ignore\r\n );\r\n }\r\n\r\n _bindMouseLeave() {\r\n this._element.addEventListener(\r\n EVENT_MOUSELEAVE,\r\n // prettier-ignore\r\n this._fn.mouseleave = () => {\r\n this.hide();\r\n }\r\n // prettier-ignore\r\n );\r\n }\r\n\r\n _bindClick() {\r\n EventHandler.on(this._actionButton, EVENT_CLICK, () => {\r\n if (Manipulator.hasClass(this._element, CLASS_NAME_ACTIVE)) {\r\n this.hide();\r\n } else {\r\n this.show();\r\n }\r\n });\r\n }\r\n\r\n _bindListHideTransitionEnd() {\r\n EventHandler.on(this._buttonList, EVENT_TRANSITIONEND, (event) => {\r\n if (event.propertyName === 'transform') {\r\n EventHandler.off(this._buttonList, EVENT_TRANSITIONEND);\r\n this._element.style.height = `${this._initialContainerHeight}px`;\r\n EventHandler.trigger(this._element, EVENT_HIDDEN);\r\n }\r\n });\r\n }\r\n\r\n _bindListOpenTransitionEnd() {\r\n EventHandler.on(this._buttonList, EVENT_TRANSITIONEND, (event) => {\r\n if (event.propertyName === 'transform') {\r\n EventHandler.off(this._buttonList, EVENT_TRANSITIONEND);\r\n EventHandler.trigger(this._element, EVENT_SHOWN);\r\n }\r\n });\r\n }\r\n\r\n _toggleVisibility(isVisible) {\r\n const action = isVisible ? 'addClass' : 'removeClass';\r\n const listTranslate = isVisible ? 'translate(0)' : `translateY(${this._fullContainerHeight}px)`;\r\n Manipulator.addStyle(this._buttonList, { transform: listTranslate });\r\n\r\n if (this._buttonListElements) {\r\n this._buttonListElements.forEach((el) => Manipulator[action](el, CLASS_NAME_SHOWN));\r\n }\r\n Manipulator[action](this._element, CLASS_NAME_ACTIVE);\r\n }\r\n\r\n _getHeight(element) {\r\n const computed = window.getComputedStyle(element);\r\n const height = parseFloat(computed.getPropertyValue('height'));\r\n return height;\r\n }\r\n\r\n _saveInitialHeights() {\r\n this._initialContainerHeight = this._getHeight(this._element);\r\n this._initialListHeight = this._getHeight(this._buttonList);\r\n this._fullContainerHeight = this._initialContainerHeight + this._initialListHeight;\r\n }\r\n\r\n _bindInitialEvents() {\r\n this._bindClick();\r\n this._bindMouseEnter();\r\n this._bindMouseLeave();\r\n }\r\n\r\n _setInitialStyles() {\r\n this._buttonList.style.marginBottom = `${this._initialContainerHeight}px`;\r\n this._buttonList.style.transform = `translateY(${this._fullContainerHeight}px)`;\r\n\r\n this._element.style.height = `${this._initialContainerHeight}px`;\r\n }\r\n}\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Data Api implementation - auto initialization\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nSelectorEngine.find(SELECTOR_FIXED_CONTAINER).forEach((element) => {\r\n let instance = Button.getInstance(element);\r\n if (!instance) {\r\n instance = new Button(element);\r\n }\r\n return instance;\r\n});\r\n\r\nSelectorEngine.find(SELECTOR_BUTTON).forEach((element) => {\r\n let instance = Button.getInstance(element);\r\n if (!instance) {\r\n instance = new Button(element);\r\n }\r\n return instance;\r\n});\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * jQuery\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nonDOMContentLoaded(() => {\r\n const $ = getjQuery();\r\n\r\n if ($) {\r\n const JQUERY_NO_CONFLICT = $.fn[NAME];\r\n $.fn[NAME] = Button.jQueryInterface;\r\n $.fn[NAME].Constructor = Button;\r\n $.fn[NAME].noConflict = () => {\r\n $.fn[NAME] = JQUERY_NO_CONFLICT;\r\n return Button.jQueryInterface;\r\n };\r\n }\r\n});\r\n\r\nexport default Button;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): dom/selector-engine.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport { isDisabled, isVisible } from '../util/index';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst SelectorEngine = {\r\n find(selector, element = document.documentElement) {\r\n return [].concat(...Element.prototype.querySelectorAll.call(element, selector));\r\n },\r\n\r\n findOne(selector, element = document.documentElement) {\r\n return Element.prototype.querySelector.call(element, selector);\r\n },\r\n\r\n children(element, selector) {\r\n return [].concat(...element.children).filter((child) => child.matches(selector));\r\n },\r\n\r\n parents(element, selector) {\r\n const parents = [];\r\n let ancestor = element.parentNode.closest(selector);\r\n\r\n while (ancestor) {\r\n parents.push(ancestor);\r\n ancestor = ancestor.parentNode.closest(selector);\r\n }\r\n\r\n return parents;\r\n },\r\n\r\n prev(element, selector) {\r\n let previous = element.previousElementSibling;\r\n\r\n while (previous) {\r\n if (previous.matches(selector)) {\r\n return [previous];\r\n }\r\n\r\n previous = previous.previousElementSibling;\r\n }\r\n\r\n return [];\r\n },\r\n // TODO: this is now unused; remove later along with prev()\r\n next(element, selector) {\r\n let next = element.nextElementSibling;\r\n\r\n while (next) {\r\n if (next.matches(selector)) {\r\n return [next];\r\n }\r\n\r\n next = next.nextElementSibling;\r\n }\r\n\r\n return [];\r\n },\r\n\r\n focusableChildren(element) {\r\n const focusables = [\r\n 'a',\r\n 'button',\r\n 'input',\r\n 'textarea',\r\n 'select',\r\n 'details',\r\n '[tabindex]',\r\n '[contenteditable=\"true\"]',\r\n ]\r\n .map((selector) => `${selector}:not([tabindex^=\"-\"])`)\r\n .join(',');\r\n\r\n return this.find(focusables, element).filter((el) => !isDisabled(el) && isVisible(el));\r\n },\r\n};\r\n\r\nexport default SelectorEngine;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): util/scrollBar.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport SelectorEngine from '../dom/selector-engine';\r\nimport Manipulator from '../dom/manipulator';\r\nimport { isElement } from './index';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst SELECTOR_FIXED_CONTENT = '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top';\r\nconst SELECTOR_STICKY_CONTENT = '.sticky-top';\r\nconst PROPERTY_PADDING = 'padding-right';\r\nconst PROPERTY_MARGIN = 'margin-right';\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass ScrollBarHelper {\r\n constructor() {\r\n this._element = document.body;\r\n }\r\n\r\n // Public\r\n getWidth() {\r\n // https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth#usage_notes\r\n const documentWidth = document.documentElement.clientWidth;\r\n return Math.abs(window.innerWidth - documentWidth);\r\n }\r\n\r\n hide() {\r\n const width = this.getWidth();\r\n this._disableOverFlow();\r\n // give padding to element to balance the hidden scrollbar width\r\n this._setElementAttributes(\r\n this._element,\r\n PROPERTY_PADDING,\r\n (calculatedValue) => calculatedValue + width\r\n );\r\n // trick: We adjust positive paddingRight and negative marginRight to sticky-top elements to keep showing fullwidth\r\n this._setElementAttributes(\r\n SELECTOR_FIXED_CONTENT,\r\n PROPERTY_PADDING,\r\n (calculatedValue) => calculatedValue + width\r\n );\r\n this._setElementAttributes(\r\n SELECTOR_STICKY_CONTENT,\r\n PROPERTY_MARGIN,\r\n (calculatedValue) => calculatedValue - width\r\n );\r\n }\r\n\r\n reset() {\r\n this._resetElementAttributes(this._element, 'overflow');\r\n this._resetElementAttributes(this._element, PROPERTY_PADDING);\r\n this._resetElementAttributes(SELECTOR_FIXED_CONTENT, PROPERTY_PADDING);\r\n this._resetElementAttributes(SELECTOR_STICKY_CONTENT, PROPERTY_MARGIN);\r\n }\r\n\r\n isOverflowing() {\r\n return this.getWidth() > 0;\r\n }\r\n\r\n // Private\r\n _disableOverFlow() {\r\n this._saveInitialAttribute(this._element, 'overflow');\r\n this._element.style.overflow = 'hidden';\r\n }\r\n\r\n _setElementAttributes(selector, styleProperty, callback) {\r\n const scrollbarWidth = this.getWidth();\r\n const manipulationCallBack = (element) => {\r\n if (element !== this._element && window.innerWidth > element.clientWidth + scrollbarWidth) {\r\n return;\r\n }\r\n\r\n this._saveInitialAttribute(element, styleProperty);\r\n const calculatedValue = window.getComputedStyle(element).getPropertyValue(styleProperty);\r\n element.style.setProperty(styleProperty, `${callback(Number.parseFloat(calculatedValue))}px`);\r\n };\r\n\r\n this._applyManipulationCallback(selector, manipulationCallBack);\r\n }\r\n\r\n _saveInitialAttribute(element, styleProperty) {\r\n const actualValue = element.style.getPropertyValue(styleProperty);\r\n if (actualValue) {\r\n Manipulator.setDataAttribute(element, styleProperty, actualValue);\r\n }\r\n }\r\n\r\n _resetElementAttributes(selector, styleProperty) {\r\n const manipulationCallBack = (element) => {\r\n const value = Manipulator.getDataAttribute(element, styleProperty);\r\n // We only want to remove the property if the value is `null`; the value can also be zero\r\n if (value === null) {\r\n element.style.removeProperty(styleProperty);\r\n return;\r\n }\r\n\r\n Manipulator.removeDataAttribute(element, styleProperty);\r\n element.style.setProperty(styleProperty, value);\r\n };\r\n\r\n this._applyManipulationCallback(selector, manipulationCallBack);\r\n }\r\n\r\n _applyManipulationCallback(selector, callBack) {\r\n if (isElement(selector)) {\r\n callBack(selector);\r\n return;\r\n }\r\n\r\n for (const sel of SelectorEngine.find(selector, this._element)) {\r\n callBack(sel);\r\n }\r\n }\r\n}\r\n\r\nexport default ScrollBarHelper;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): util/backdrop.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport EventHandler from '../dom/event-handler';\r\nimport { execute, executeAfterTransition, getElement, reflow } from './index';\r\nimport Config from './config';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst NAME = 'backdrop';\r\nconst CLASS_NAME_FADE = 'fade';\r\nconst CLASS_NAME_SHOW = 'show';\r\nconst EVENT_MOUSEDOWN = `mousedown.bs.${NAME}`;\r\n\r\nconst Default = {\r\n className: 'modal-backdrop',\r\n clickCallback: null,\r\n isAnimated: false,\r\n isVisible: true, // if false, we use the backdrop helper without adding any element to the dom\r\n rootElement: 'body', // give the choice to place backdrop under different elements\r\n};\r\n\r\nconst DefaultType = {\r\n className: 'string',\r\n clickCallback: '(function|null)',\r\n isAnimated: 'boolean',\r\n isVisible: 'boolean',\r\n rootElement: '(element|string)',\r\n};\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass Backdrop extends Config {\r\n constructor(config) {\r\n super();\r\n this._config = this._getConfig(config);\r\n this._isAppended = false;\r\n this._element = null;\r\n }\r\n\r\n // Getters\r\n static get Default() {\r\n return Default;\r\n }\r\n\r\n static get DefaultType() {\r\n return DefaultType;\r\n }\r\n\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Public\r\n show(callback) {\r\n if (!this._config.isVisible) {\r\n execute(callback);\r\n return;\r\n }\r\n\r\n this._append();\r\n\r\n const element = this._getElement();\r\n if (this._config.isAnimated) {\r\n reflow(element);\r\n }\r\n\r\n element.classList.add(CLASS_NAME_SHOW);\r\n\r\n this._emulateAnimation(() => {\r\n execute(callback);\r\n });\r\n }\r\n\r\n hide(callback) {\r\n if (!this._config.isVisible) {\r\n execute(callback);\r\n return;\r\n }\r\n\r\n this._getElement().classList.remove(CLASS_NAME_SHOW);\r\n\r\n this._emulateAnimation(() => {\r\n this.dispose();\r\n execute(callback);\r\n });\r\n }\r\n\r\n dispose() {\r\n if (!this._isAppended) {\r\n return;\r\n }\r\n\r\n EventHandler.off(this._element, EVENT_MOUSEDOWN);\r\n\r\n this._element.remove();\r\n this._isAppended = false;\r\n }\r\n\r\n // Private\r\n _getElement() {\r\n if (!this._element) {\r\n const backdrop = document.createElement('div');\r\n backdrop.className = this._config.className;\r\n if (this._config.isAnimated) {\r\n backdrop.classList.add(CLASS_NAME_FADE);\r\n }\r\n\r\n this._element = backdrop;\r\n }\r\n\r\n return this._element;\r\n }\r\n\r\n _configAfterMerge(config) {\r\n // use getElement() with the default \"body\" to get a fresh Element on each instantiation\r\n config.rootElement = getElement(config.rootElement);\r\n return config;\r\n }\r\n\r\n _append() {\r\n if (this._isAppended) {\r\n return;\r\n }\r\n\r\n const element = this._getElement();\r\n this._config.rootElement.append(element);\r\n\r\n EventHandler.on(element, EVENT_MOUSEDOWN, () => {\r\n execute(this._config.clickCallback);\r\n });\r\n\r\n this._isAppended = true;\r\n }\r\n\r\n _emulateAnimation(callback) {\r\n executeAfterTransition(callback, this._getElement(), this._config.isAnimated);\r\n }\r\n}\r\n\r\nexport default Backdrop;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): util/focustrap.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport EventHandler from '../dom/event-handler';\r\nimport SelectorEngine from '../dom/selector-engine';\r\nimport Config from './config';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst NAME = 'focustrap';\r\nconst DATA_KEY = 'bs.focustrap';\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\nconst EVENT_FOCUSIN = `focusin${EVENT_KEY}`;\r\nconst EVENT_KEYDOWN_TAB = `keydown.tab${EVENT_KEY}`;\r\n\r\nconst TAB_KEY = 'Tab';\r\nconst TAB_NAV_FORWARD = 'forward';\r\nconst TAB_NAV_BACKWARD = 'backward';\r\n\r\nconst Default = {\r\n autofocus: true,\r\n trapElement: null, // The element to trap focus inside of\r\n};\r\n\r\nconst DefaultType = {\r\n autofocus: 'boolean',\r\n trapElement: 'element',\r\n};\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass FocusTrap extends Config {\r\n constructor(config) {\r\n super();\r\n this._config = this._getConfig(config);\r\n this._isActive = false;\r\n this._lastTabNavDirection = null;\r\n }\r\n\r\n // Getters\r\n static get Default() {\r\n return Default;\r\n }\r\n\r\n static get DefaultType() {\r\n return DefaultType;\r\n }\r\n\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Public\r\n activate() {\r\n if (this._isActive) {\r\n return;\r\n }\r\n\r\n if (this._config.autofocus) {\r\n this._config.trapElement.focus();\r\n }\r\n\r\n EventHandler.off(document, EVENT_KEY); // guard against infinite focus loop\r\n EventHandler.on(document, EVENT_FOCUSIN, (event) => this._handleFocusin(event));\r\n EventHandler.on(document, EVENT_KEYDOWN_TAB, (event) => this._handleKeydown(event));\r\n\r\n this._isActive = true;\r\n }\r\n\r\n deactivate() {\r\n if (!this._isActive) {\r\n return;\r\n }\r\n\r\n this._isActive = false;\r\n EventHandler.off(document, EVENT_KEY);\r\n }\r\n\r\n // Private\r\n _handleFocusin(event) {\r\n const { trapElement } = this._config;\r\n\r\n if (\r\n event.target === document ||\r\n event.target === trapElement ||\r\n trapElement.contains(event.target)\r\n ) {\r\n return;\r\n }\r\n\r\n const elements = SelectorEngine.focusableChildren(trapElement);\r\n\r\n if (elements.length === 0) {\r\n trapElement.focus();\r\n } else if (this._lastTabNavDirection === TAB_NAV_BACKWARD) {\r\n elements[elements.length - 1].focus();\r\n } else {\r\n elements[0].focus();\r\n }\r\n }\r\n\r\n _handleKeydown(event) {\r\n if (event.key !== TAB_KEY) {\r\n return;\r\n }\r\n\r\n this._lastTabNavDirection = event.shiftKey ? TAB_NAV_BACKWARD : TAB_NAV_FORWARD;\r\n }\r\n}\r\n\r\nexport default FocusTrap;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): util/component-functions.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport EventHandler from '../dom/event-handler';\r\nimport { getElementFromSelector, isDisabled } from './index';\r\n\r\nconst enableDismissTrigger = (component, method = 'hide') => {\r\n const clickEvent = `click.dismiss${component.EVENT_KEY}`;\r\n const name = component.NAME;\r\n\r\n EventHandler.on(document, clickEvent, `[data-mdb-dismiss=\"${name}\"]`, function (event) {\r\n if (['A', 'AREA'].includes(this.tagName)) {\r\n event.preventDefault();\r\n }\r\n\r\n if (isDisabled(this)) {\r\n return;\r\n }\r\n\r\n const target = getElementFromSelector(this) || this.closest(`.${name}`);\r\n const instance = component.getOrCreateInstance(target);\r\n\r\n // Method argument is left, for Alert and only, as it doesn't implement the 'hide' method\r\n instance[method]();\r\n });\r\n};\r\n\r\nexport { enableDismissTrigger };\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): offcanvas.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport { defineJQueryPlugin, getElementFromSelector, isDisabled, isVisible } from './util/index';\r\nimport ScrollBarHelper from './util/scrollbar';\r\nimport EventHandler from './dom/event-handler';\r\nimport BaseComponent from './base-component';\r\nimport SelectorEngine from './dom/selector-engine';\r\nimport Backdrop from './util/backdrop';\r\nimport FocusTrap from './util/focustrap';\r\nimport { enableDismissTrigger } from './util/component-functions';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst NAME = 'offcanvas';\r\nconst DATA_KEY = 'bs.offcanvas';\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\nconst DATA_API_KEY = '.data-api';\r\nconst EVENT_LOAD_DATA_API = `load${EVENT_KEY}${DATA_API_KEY}`;\r\nconst ESCAPE_KEY = 'Escape';\r\n\r\nconst CLASS_NAME_SHOW = 'show';\r\nconst CLASS_NAME_SHOWING = 'showing';\r\nconst CLASS_NAME_HIDING = 'hiding';\r\nconst CLASS_NAME_BACKDROP = 'offcanvas-backdrop';\r\nconst OPEN_SELECTOR = '.offcanvas.show';\r\n\r\nconst EVENT_SHOW = `show${EVENT_KEY}`;\r\nconst EVENT_SHOWN = `shown${EVENT_KEY}`;\r\nconst EVENT_HIDE = `hide${EVENT_KEY}`;\r\nconst EVENT_HIDE_PREVENTED = `hidePrevented${EVENT_KEY}`;\r\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`;\r\nconst EVENT_RESIZE = `resize${EVENT_KEY}`;\r\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`;\r\nconst EVENT_KEYDOWN_DISMISS = `keydown.dismiss${EVENT_KEY}`;\r\n\r\nconst SELECTOR_DATA_TOGGLE = '[data-mdb-toggle=\"offcanvas\"]';\r\n\r\nconst Default = {\r\n backdrop: true,\r\n keyboard: true,\r\n scroll: false,\r\n};\r\n\r\nconst DefaultType = {\r\n backdrop: '(boolean|string)',\r\n keyboard: 'boolean',\r\n scroll: 'boolean',\r\n};\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass Offcanvas extends BaseComponent {\r\n constructor(element, config) {\r\n super(element, config);\r\n\r\n this._isShown = false;\r\n this._backdrop = this._initializeBackDrop();\r\n this._focustrap = this._initializeFocusTrap();\r\n this._addEventListeners();\r\n }\r\n\r\n // Getters\r\n static get Default() {\r\n return Default;\r\n }\r\n\r\n static get DefaultType() {\r\n return DefaultType;\r\n }\r\n\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Public\r\n toggle(relatedTarget) {\r\n return this._isShown ? this.hide() : this.show(relatedTarget);\r\n }\r\n\r\n show(relatedTarget) {\r\n if (this._isShown) {\r\n return;\r\n }\r\n\r\n const showEvent = EventHandler.trigger(this._element, EVENT_SHOW, { relatedTarget });\r\n\r\n if (showEvent.defaultPrevented) {\r\n return;\r\n }\r\n\r\n this._isShown = true;\r\n this._backdrop.show();\r\n\r\n if (!this._config.scroll) {\r\n new ScrollBarHelper().hide();\r\n }\r\n\r\n this._element.setAttribute('aria-modal', true);\r\n this._element.setAttribute('role', 'dialog');\r\n this._element.classList.add(CLASS_NAME_SHOWING);\r\n\r\n const completeCallBack = () => {\r\n if (!this._config.scroll || this._config.backdrop) {\r\n this._focustrap.activate();\r\n }\r\n\r\n this._element.classList.add(CLASS_NAME_SHOW);\r\n this._element.classList.remove(CLASS_NAME_SHOWING);\r\n EventHandler.trigger(this._element, EVENT_SHOWN, { relatedTarget });\r\n };\r\n\r\n this._queueCallback(completeCallBack, this._element, true);\r\n }\r\n\r\n hide() {\r\n if (!this._isShown) {\r\n return;\r\n }\r\n\r\n const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE);\r\n\r\n if (hideEvent.defaultPrevented) {\r\n return;\r\n }\r\n\r\n this._focustrap.deactivate();\r\n this._element.blur();\r\n this._isShown = false;\r\n this._element.classList.add(CLASS_NAME_HIDING);\r\n this._backdrop.hide();\r\n\r\n const completeCallback = () => {\r\n this._element.classList.remove(CLASS_NAME_SHOW, CLASS_NAME_HIDING);\r\n this._element.removeAttribute('aria-modal');\r\n this._element.removeAttribute('role');\r\n\r\n if (!this._config.scroll) {\r\n new ScrollBarHelper().reset();\r\n }\r\n\r\n EventHandler.trigger(this._element, EVENT_HIDDEN);\r\n };\r\n\r\n this._queueCallback(completeCallback, this._element, true);\r\n }\r\n\r\n dispose() {\r\n this._backdrop.dispose();\r\n this._focustrap.deactivate();\r\n super.dispose();\r\n }\r\n\r\n // Private\r\n _initializeBackDrop() {\r\n const clickCallback = () => {\r\n if (this._config.backdrop === 'static') {\r\n EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED);\r\n return;\r\n }\r\n\r\n this.hide();\r\n };\r\n\r\n // 'static' option will be translated to true, and booleans will keep their value\r\n const isVisible = Boolean(this._config.backdrop);\r\n\r\n return new Backdrop({\r\n className: CLASS_NAME_BACKDROP,\r\n isVisible,\r\n isAnimated: true,\r\n rootElement: this._element.parentNode,\r\n clickCallback: isVisible ? clickCallback : null,\r\n });\r\n }\r\n\r\n _initializeFocusTrap() {\r\n return new FocusTrap({\r\n trapElement: this._element,\r\n });\r\n }\r\n\r\n _addEventListeners() {\r\n EventHandler.on(this._element, EVENT_KEYDOWN_DISMISS, (event) => {\r\n if (event.key !== ESCAPE_KEY) {\r\n return;\r\n }\r\n\r\n if (!this._config.keyboard) {\r\n EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED);\r\n return;\r\n }\r\n\r\n this.hide();\r\n });\r\n }\r\n\r\n // Static\r\n static jQueryInterface(config) {\r\n return this.each(function () {\r\n const data = Offcanvas.getOrCreateInstance(this, config);\r\n\r\n if (typeof config !== 'string') {\r\n return;\r\n }\r\n\r\n if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\r\n throw new TypeError(`No method named \"${config}\"`);\r\n }\r\n\r\n data[config](this);\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * Data API implementation\r\n */\r\n\r\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\r\n const target = getElementFromSelector(this);\r\n\r\n if (['A', 'AREA'].includes(this.tagName)) {\r\n event.preventDefault();\r\n }\r\n\r\n if (isDisabled(this)) {\r\n return;\r\n }\r\n\r\n EventHandler.one(target, EVENT_HIDDEN, () => {\r\n // focus on trigger when it is closed\r\n if (isVisible(this)) {\r\n this.focus();\r\n }\r\n });\r\n\r\n // avoid conflict when clicking a toggler of an offcanvas, while another is open\r\n const alreadyOpen = SelectorEngine.findOne(OPEN_SELECTOR);\r\n if (alreadyOpen && alreadyOpen !== target) {\r\n Offcanvas.getInstance(alreadyOpen).hide();\r\n }\r\n\r\n const data = Offcanvas.getOrCreateInstance(target);\r\n data.toggle(this);\r\n});\r\n\r\nEventHandler.on(window, EVENT_LOAD_DATA_API, () => {\r\n for (const selector of SelectorEngine.find(OPEN_SELECTOR)) {\r\n Offcanvas.getOrCreateInstance(selector).show();\r\n }\r\n});\r\n\r\nEventHandler.on(window, EVENT_RESIZE, () => {\r\n for (const element of SelectorEngine.find('[aria-modal][class*=show][class*=offcanvas-]')) {\r\n if (getComputedStyle(element).position !== 'fixed') {\r\n Offcanvas.getOrCreateInstance(element).hide();\r\n }\r\n }\r\n});\r\n\r\nenableDismissTrigger(Offcanvas);\r\n\r\n/**\r\n * jQuery\r\n */\r\n\r\ndefineJQueryPlugin(Offcanvas);\r\n\r\nexport default Offcanvas;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): alert.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport { defineJQueryPlugin } from './util/index';\r\nimport EventHandler from './dom/event-handler';\r\nimport BaseComponent from './base-component';\r\nimport { enableDismissTrigger } from './util/component-functions';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst NAME = 'alert';\r\nconst DATA_KEY = 'bs.alert';\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\n\r\nconst EVENT_CLOSE = `close${EVENT_KEY}`;\r\nconst EVENT_CLOSED = `closed${EVENT_KEY}`;\r\nconst CLASS_NAME_FADE = 'fade';\r\nconst CLASS_NAME_SHOW = 'show';\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass Alert extends BaseComponent {\r\n // Getters\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Public\r\n close() {\r\n const closeEvent = EventHandler.trigger(this._element, EVENT_CLOSE);\r\n\r\n if (closeEvent.defaultPrevented) {\r\n return;\r\n }\r\n\r\n this._element.classList.remove(CLASS_NAME_SHOW);\r\n\r\n const isAnimated = this._element.classList.contains(CLASS_NAME_FADE);\r\n this._queueCallback(() => this._destroyElement(), this._element, isAnimated);\r\n }\r\n\r\n // Private\r\n _destroyElement() {\r\n this._element.remove();\r\n EventHandler.trigger(this._element, EVENT_CLOSED);\r\n this.dispose();\r\n }\r\n\r\n // Static\r\n static jQueryInterface(config) {\r\n return this.each(function () {\r\n const data = Alert.getOrCreateInstance(this);\r\n\r\n if (typeof config !== 'string') {\r\n return;\r\n }\r\n\r\n if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\r\n throw new TypeError(`No method named \"${config}\"`);\r\n }\r\n\r\n data[config](this);\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * Data API implementation\r\n */\r\n\r\nenableDismissTrigger(Alert, 'close');\r\n\r\n/**\r\n * jQuery\r\n */\r\n\r\ndefineJQueryPlugin(Alert);\r\n\r\nexport default Alert;\r\n","import { getjQuery, onDOMContentLoaded } from '../mdb/util/index';\r\nimport EventHandler from '../mdb/dom/event-handler';\r\nimport SelectorEngine from '../mdb/dom/selector-engine';\r\nimport BSAlert from '../bootstrap/mdb-prefix/alert';\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Constants\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nconst NAME = 'alert';\r\nconst DATA_KEY = `mdb.${NAME}`;\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\n\r\nconst EVENT_CLOSE_BS = 'close.bs.alert';\r\nconst EVENT_CLOSED_BS = 'closed.bs.alert';\r\n\r\nconst EVENT_CLOSE = `close${EVENT_KEY}`;\r\nconst EVENT_CLOSED = `closed${EVENT_KEY}`;\r\n\r\nconst SELECTOR_ALERT = '.alert';\r\n\r\nclass Alert extends BSAlert {\r\n constructor(element, data = {}) {\r\n super(element, data);\r\n\r\n this._init();\r\n }\r\n\r\n dispose() {\r\n EventHandler.off(this._element, EVENT_CLOSE_BS);\r\n EventHandler.off(this._element, EVENT_CLOSED_BS);\r\n\r\n super.dispose();\r\n }\r\n\r\n // Getters\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Private\r\n _init() {\r\n this._bindCloseEvent();\r\n this._bindClosedEvent();\r\n }\r\n\r\n _bindCloseEvent() {\r\n EventHandler.on(this._element, EVENT_CLOSE_BS, () => {\r\n EventHandler.trigger(this._element, EVENT_CLOSE);\r\n });\r\n }\r\n\r\n _bindClosedEvent() {\r\n EventHandler.on(this._element, EVENT_CLOSED_BS, () => {\r\n EventHandler.trigger(this._element, EVENT_CLOSED);\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Data Api implementation - auto initialization\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nSelectorEngine.find(SELECTOR_ALERT).forEach((el) => {\r\n let instance = Alert.getInstance(el);\r\n if (!instance) {\r\n instance = new Alert(el);\r\n }\r\n});\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * jQuery\r\n * ------------------------------------------------------------------------\r\n * add .rating to jQuery only if jQuery is present\r\n */\r\nonDOMContentLoaded(() => {\r\n const $ = getjQuery();\r\n\r\n if ($) {\r\n const JQUERY_NO_CONFLICT = $.fn[NAME];\r\n $.fn[NAME] = Alert.jQueryInterface;\r\n $.fn[NAME].Constructor = Alert;\r\n $.fn[NAME].noConflict = () => {\r\n $.fn[NAME] = JQUERY_NO_CONFLICT;\r\n return Alert.jQueryInterface;\r\n };\r\n }\r\n});\r\n\r\nexport default Alert;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): util/swipe.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport Config from './config';\r\nimport EventHandler from '../dom/event-handler';\r\nimport { execute } from './index';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst NAME = 'swipe';\r\nconst EVENT_KEY = '.bs.swipe';\r\nconst EVENT_TOUCHSTART = `touchstart${EVENT_KEY}`;\r\nconst EVENT_TOUCHMOVE = `touchmove${EVENT_KEY}`;\r\nconst EVENT_TOUCHEND = `touchend${EVENT_KEY}`;\r\nconst EVENT_POINTERDOWN = `pointerdown${EVENT_KEY}`;\r\nconst EVENT_POINTERUP = `pointerup${EVENT_KEY}`;\r\nconst POINTER_TYPE_TOUCH = 'touch';\r\nconst POINTER_TYPE_PEN = 'pen';\r\nconst CLASS_NAME_POINTER_EVENT = 'pointer-event';\r\nconst SWIPE_THRESHOLD = 40;\r\n\r\nconst Default = {\r\n endCallback: null,\r\n leftCallback: null,\r\n rightCallback: null,\r\n};\r\n\r\nconst DefaultType = {\r\n endCallback: '(function|null)',\r\n leftCallback: '(function|null)',\r\n rightCallback: '(function|null)',\r\n};\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass Swipe extends Config {\r\n constructor(element, config) {\r\n super();\r\n this._element = element;\r\n\r\n if (!element || !Swipe.isSupported()) {\r\n return;\r\n }\r\n\r\n this._config = this._getConfig(config);\r\n this._deltaX = 0;\r\n this._supportPointerEvents = Boolean(window.PointerEvent);\r\n this._initEvents();\r\n }\r\n\r\n // Getters\r\n static get Default() {\r\n return Default;\r\n }\r\n\r\n static get DefaultType() {\r\n return DefaultType;\r\n }\r\n\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Public\r\n dispose() {\r\n EventHandler.off(this._element, EVENT_KEY);\r\n }\r\n\r\n // Private\r\n _start(event) {\r\n if (!this._supportPointerEvents) {\r\n this._deltaX = event.touches[0].clientX;\r\n\r\n return;\r\n }\r\n\r\n if (this._eventIsPointerPenTouch(event)) {\r\n this._deltaX = event.clientX;\r\n }\r\n }\r\n\r\n _end(event) {\r\n if (this._eventIsPointerPenTouch(event)) {\r\n this._deltaX = event.clientX - this._deltaX;\r\n }\r\n\r\n this._handleSwipe();\r\n execute(this._config.endCallback);\r\n }\r\n\r\n _move(event) {\r\n this._deltaX =\r\n event.touches && event.touches.length > 1 ? 0 : event.touches[0].clientX - this._deltaX;\r\n }\r\n\r\n _handleSwipe() {\r\n const absDeltaX = Math.abs(this._deltaX);\r\n\r\n if (absDeltaX <= SWIPE_THRESHOLD) {\r\n return;\r\n }\r\n\r\n const direction = absDeltaX / this._deltaX;\r\n\r\n this._deltaX = 0;\r\n\r\n if (!direction) {\r\n return;\r\n }\r\n\r\n execute(direction > 0 ? this._config.rightCallback : this._config.leftCallback);\r\n }\r\n\r\n _initEvents() {\r\n if (this._supportPointerEvents) {\r\n EventHandler.on(this._element, EVENT_POINTERDOWN, (event) => this._start(event));\r\n EventHandler.on(this._element, EVENT_POINTERUP, (event) => this._end(event));\r\n\r\n this._element.classList.add(CLASS_NAME_POINTER_EVENT);\r\n } else {\r\n EventHandler.on(this._element, EVENT_TOUCHSTART, (event) => this._start(event));\r\n EventHandler.on(this._element, EVENT_TOUCHMOVE, (event) => this._move(event));\r\n EventHandler.on(this._element, EVENT_TOUCHEND, (event) => this._end(event));\r\n }\r\n }\r\n\r\n _eventIsPointerPenTouch(event) {\r\n return (\r\n this._supportPointerEvents &&\r\n (event.pointerType === POINTER_TYPE_PEN || event.pointerType === POINTER_TYPE_TOUCH)\r\n );\r\n }\r\n\r\n // Static\r\n static isSupported() {\r\n return 'ontouchstart' in document.documentElement || navigator.maxTouchPoints > 0;\r\n }\r\n}\r\n\r\nexport default Swipe;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): carousel.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport {\r\n defineJQueryPlugin,\r\n getElementFromSelector,\r\n getNextActiveElement,\r\n isRTL,\r\n isVisible,\r\n reflow,\r\n triggerTransitionEnd,\r\n} from './util/index';\r\nimport EventHandler from './dom/event-handler';\r\nimport Manipulator from './dom/manipulator';\r\nimport SelectorEngine from './dom/selector-engine';\r\nimport Swipe from './util/swipe';\r\nimport BaseComponent from './base-component';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst NAME = 'carousel';\r\nconst DATA_KEY = 'bs.carousel';\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\nconst DATA_API_KEY = '.data-api';\r\n\r\nconst ARROW_LEFT_KEY = 'ArrowLeft';\r\nconst ARROW_RIGHT_KEY = 'ArrowRight';\r\nconst TOUCHEVENT_COMPAT_WAIT = 500; // Time for mouse compat events to fire after touch\r\n\r\nconst ORDER_NEXT = 'next';\r\nconst ORDER_PREV = 'prev';\r\nconst DIRECTION_LEFT = 'left';\r\nconst DIRECTION_RIGHT = 'right';\r\n\r\nconst EVENT_SLIDE = `slide${EVENT_KEY}`;\r\nconst EVENT_SLID = `slid${EVENT_KEY}`;\r\nconst EVENT_KEYDOWN = `keydown${EVENT_KEY}`;\r\nconst EVENT_MOUSEENTER = `mouseenter${EVENT_KEY}`;\r\nconst EVENT_MOUSELEAVE = `mouseleave${EVENT_KEY}`;\r\nconst EVENT_DRAG_START = `dragstart${EVENT_KEY}`;\r\nconst EVENT_LOAD_DATA_API = `load${EVENT_KEY}${DATA_API_KEY}`;\r\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`;\r\n\r\nconst CLASS_NAME_CAROUSEL = 'carousel';\r\nconst CLASS_NAME_ACTIVE = 'active';\r\nconst CLASS_NAME_SLIDE = 'slide';\r\nconst CLASS_NAME_END = 'carousel-item-end';\r\nconst CLASS_NAME_START = 'carousel-item-start';\r\nconst CLASS_NAME_NEXT = 'carousel-item-next';\r\nconst CLASS_NAME_PREV = 'carousel-item-prev';\r\n\r\nconst SELECTOR_ACTIVE = '.active';\r\nconst SELECTOR_ITEM = '.carousel-item';\r\nconst SELECTOR_ACTIVE_ITEM = SELECTOR_ACTIVE + SELECTOR_ITEM;\r\nconst SELECTOR_ITEM_IMG = '.carousel-item img';\r\nconst SELECTOR_INDICATORS = '.carousel-indicators';\r\nconst SELECTOR_DATA_SLIDE = '[data-mdb-slide], [data-mdb-slide-to]';\r\nconst SELECTOR_DATA_RIDE = '[data-mdb-ride=\"carousel\"]';\r\n\r\nconst KEY_TO_DIRECTION = {\r\n [ARROW_LEFT_KEY]: DIRECTION_RIGHT,\r\n [ARROW_RIGHT_KEY]: DIRECTION_LEFT,\r\n};\r\n\r\nconst Default = {\r\n interval: 5000,\r\n keyboard: true,\r\n pause: 'hover',\r\n ride: false,\r\n touch: true,\r\n wrap: true,\r\n};\r\n\r\nconst DefaultType = {\r\n interval: '(number|boolean)', // TODO:v6 remove boolean support\r\n keyboard: 'boolean',\r\n pause: '(string|boolean)',\r\n ride: '(boolean|string)',\r\n touch: 'boolean',\r\n wrap: 'boolean',\r\n};\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass Carousel extends BaseComponent {\r\n constructor(element, config) {\r\n super(element, config);\r\n\r\n this._interval = null;\r\n this._activeElement = null;\r\n this._isSliding = false;\r\n this.touchTimeout = null;\r\n this._swipeHelper = null;\r\n\r\n this._indicatorsElement = SelectorEngine.findOne(SELECTOR_INDICATORS, this._element);\r\n this._addEventListeners();\r\n\r\n if (this._config.ride === CLASS_NAME_CAROUSEL) {\r\n this.cycle();\r\n }\r\n }\r\n\r\n // Getters\r\n static get Default() {\r\n return Default;\r\n }\r\n\r\n static get DefaultType() {\r\n return DefaultType;\r\n }\r\n\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Public\r\n next() {\r\n this._slide(ORDER_NEXT);\r\n }\r\n\r\n nextWhenVisible() {\r\n // FIXME TODO use `document.visibilityState`\r\n // Don't call next when the page isn't visible\r\n // or the carousel or its parent isn't visible\r\n if (!document.hidden && isVisible(this._element)) {\r\n this.next();\r\n }\r\n }\r\n\r\n prev() {\r\n this._slide(ORDER_PREV);\r\n }\r\n\r\n pause() {\r\n if (this._isSliding) {\r\n triggerTransitionEnd(this._element);\r\n }\r\n\r\n this._clearInterval();\r\n }\r\n\r\n cycle() {\r\n this._clearInterval();\r\n this._updateInterval();\r\n\r\n this._interval = setInterval(() => this.nextWhenVisible(), this._config.interval);\r\n }\r\n\r\n _maybeEnableCycle() {\r\n if (!this._config.ride) {\r\n return;\r\n }\r\n\r\n if (this._isSliding) {\r\n EventHandler.one(this._element, EVENT_SLID, () => this.cycle());\r\n return;\r\n }\r\n\r\n this.cycle();\r\n }\r\n\r\n to(index) {\r\n const items = this._getItems();\r\n if (index > items.length - 1 || index < 0) {\r\n return;\r\n }\r\n\r\n if (this._isSliding) {\r\n EventHandler.one(this._element, EVENT_SLID, () => this.to(index));\r\n return;\r\n }\r\n\r\n const activeIndex = this._getItemIndex(this._getActive());\r\n if (activeIndex === index) {\r\n return;\r\n }\r\n\r\n const order = index > activeIndex ? ORDER_NEXT : ORDER_PREV;\r\n\r\n this._slide(order, items[index]);\r\n }\r\n\r\n dispose() {\r\n if (this._swipeHelper) {\r\n this._swipeHelper.dispose();\r\n }\r\n\r\n super.dispose();\r\n }\r\n\r\n // Private\r\n _configAfterMerge(config) {\r\n config.defaultInterval = config.interval;\r\n return config;\r\n }\r\n\r\n _addEventListeners() {\r\n if (this._config.keyboard) {\r\n EventHandler.on(this._element, EVENT_KEYDOWN, (event) => this._keydown(event));\r\n }\r\n\r\n if (this._config.pause === 'hover') {\r\n EventHandler.on(this._element, EVENT_MOUSEENTER, () => this.pause());\r\n EventHandler.on(this._element, EVENT_MOUSELEAVE, () => this._maybeEnableCycle());\r\n }\r\n\r\n if (this._config.touch && Swipe.isSupported()) {\r\n this._addTouchEventListeners();\r\n }\r\n }\r\n\r\n _addTouchEventListeners() {\r\n for (const img of SelectorEngine.find(SELECTOR_ITEM_IMG, this._element)) {\r\n EventHandler.on(img, EVENT_DRAG_START, (event) => event.preventDefault());\r\n }\r\n\r\n const endCallBack = () => {\r\n if (this._config.pause !== 'hover') {\r\n return;\r\n }\r\n\r\n // If it's a touch-enabled device, mouseenter/leave are fired as\r\n // part of the mouse compatibility events on first tap - the carousel\r\n // would stop cycling until user tapped out of it;\r\n // here, we listen for touchend, explicitly pause the carousel\r\n // (as if it's the second time we tap on it, mouseenter compat event\r\n // is NOT fired) and after a timeout (to allow for mouse compatibility\r\n // events to fire) we explicitly restart cycling\r\n\r\n this.pause();\r\n if (this.touchTimeout) {\r\n clearTimeout(this.touchTimeout);\r\n }\r\n\r\n this.touchTimeout = setTimeout(\r\n () => this._maybeEnableCycle(),\r\n TOUCHEVENT_COMPAT_WAIT + this._config.interval\r\n );\r\n };\r\n\r\n const swipeConfig = {\r\n leftCallback: () => this._slide(this._directionToOrder(DIRECTION_LEFT)),\r\n rightCallback: () => this._slide(this._directionToOrder(DIRECTION_RIGHT)),\r\n endCallback: endCallBack,\r\n };\r\n\r\n this._swipeHelper = new Swipe(this._element, swipeConfig);\r\n }\r\n\r\n _keydown(event) {\r\n if (/input|textarea/i.test(event.target.tagName)) {\r\n return;\r\n }\r\n\r\n const direction = KEY_TO_DIRECTION[event.key];\r\n if (direction) {\r\n event.preventDefault();\r\n this._slide(this._directionToOrder(direction));\r\n }\r\n }\r\n\r\n _getItemIndex(element) {\r\n return this._getItems().indexOf(element);\r\n }\r\n\r\n _setActiveIndicatorElement(index) {\r\n if (!this._indicatorsElement) {\r\n return;\r\n }\r\n\r\n const activeIndicator = SelectorEngine.findOne(SELECTOR_ACTIVE, this._indicatorsElement);\r\n\r\n activeIndicator.classList.remove(CLASS_NAME_ACTIVE);\r\n activeIndicator.removeAttribute('aria-current');\r\n\r\n const newActiveIndicator = SelectorEngine.findOne(\r\n `[data-mdb-slide-to=\"${index}\"]`,\r\n this._indicatorsElement\r\n );\r\n\r\n if (newActiveIndicator) {\r\n newActiveIndicator.classList.add(CLASS_NAME_ACTIVE);\r\n newActiveIndicator.setAttribute('aria-current', 'true');\r\n }\r\n }\r\n\r\n _updateInterval() {\r\n const element = this._activeElement || this._getActive();\r\n\r\n if (!element) {\r\n return;\r\n }\r\n\r\n const elementInterval = Number.parseInt(element.getAttribute('data-mdb-interval'), 10);\r\n\r\n this._config.interval = elementInterval || this._config.defaultInterval;\r\n }\r\n\r\n _slide(order, element = null) {\r\n if (this._isSliding) {\r\n return;\r\n }\r\n\r\n const activeElement = this._getActive();\r\n const isNext = order === ORDER_NEXT;\r\n const nextElement =\r\n element || getNextActiveElement(this._getItems(), activeElement, isNext, this._config.wrap);\r\n\r\n if (nextElement === activeElement) {\r\n return;\r\n }\r\n\r\n const nextElementIndex = this._getItemIndex(nextElement);\r\n\r\n const triggerEvent = (eventName) => {\r\n return EventHandler.trigger(this._element, eventName, {\r\n relatedTarget: nextElement,\r\n direction: this._orderToDirection(order),\r\n from: this._getItemIndex(activeElement),\r\n to: nextElementIndex,\r\n });\r\n };\r\n\r\n const slideEvent = triggerEvent(EVENT_SLIDE);\r\n\r\n if (slideEvent.defaultPrevented) {\r\n return;\r\n }\r\n\r\n if (!activeElement || !nextElement) {\r\n // Some weirdness is happening, so we bail\r\n // todo: change tests that use empty divs to avoid this check\r\n return;\r\n }\r\n\r\n const isCycling = Boolean(this._interval);\r\n this.pause();\r\n\r\n this._isSliding = true;\r\n\r\n this._setActiveIndicatorElement(nextElementIndex);\r\n this._activeElement = nextElement;\r\n\r\n const directionalClassName = isNext ? CLASS_NAME_START : CLASS_NAME_END;\r\n const orderClassName = isNext ? CLASS_NAME_NEXT : CLASS_NAME_PREV;\r\n\r\n nextElement.classList.add(orderClassName);\r\n\r\n reflow(nextElement);\r\n\r\n activeElement.classList.add(directionalClassName);\r\n nextElement.classList.add(directionalClassName);\r\n\r\n const completeCallBack = () => {\r\n nextElement.classList.remove(directionalClassName, orderClassName);\r\n nextElement.classList.add(CLASS_NAME_ACTIVE);\r\n\r\n activeElement.classList.remove(CLASS_NAME_ACTIVE, orderClassName, directionalClassName);\r\n\r\n this._isSliding = false;\r\n\r\n triggerEvent(EVENT_SLID);\r\n };\r\n\r\n this._queueCallback(completeCallBack, activeElement, this._isAnimated());\r\n\r\n if (isCycling) {\r\n this.cycle();\r\n }\r\n }\r\n\r\n _isAnimated() {\r\n return this._element.classList.contains(CLASS_NAME_SLIDE);\r\n }\r\n\r\n _getActive() {\r\n return SelectorEngine.findOne(SELECTOR_ACTIVE_ITEM, this._element);\r\n }\r\n\r\n _getItems() {\r\n return SelectorEngine.find(SELECTOR_ITEM, this._element);\r\n }\r\n\r\n _clearInterval() {\r\n if (this._interval) {\r\n clearInterval(this._interval);\r\n this._interval = null;\r\n }\r\n }\r\n\r\n _directionToOrder(direction) {\r\n if (isRTL()) {\r\n return direction === DIRECTION_LEFT ? ORDER_PREV : ORDER_NEXT;\r\n }\r\n\r\n return direction === DIRECTION_LEFT ? ORDER_NEXT : ORDER_PREV;\r\n }\r\n\r\n _orderToDirection(order) {\r\n if (isRTL()) {\r\n return order === ORDER_PREV ? DIRECTION_LEFT : DIRECTION_RIGHT;\r\n }\r\n\r\n return order === ORDER_PREV ? DIRECTION_RIGHT : DIRECTION_LEFT;\r\n }\r\n\r\n // Static\r\n static jQueryInterface(config) {\r\n return this.each(function () {\r\n const data = Carousel.getOrCreateInstance(this, config);\r\n\r\n if (typeof config === 'number') {\r\n data.to(config);\r\n return;\r\n }\r\n\r\n if (typeof config === 'string') {\r\n if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\r\n throw new TypeError(`No method named \"${config}\"`);\r\n }\r\n\r\n data[config]();\r\n }\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * Data API implementation\r\n */\r\n\r\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_SLIDE, function (event) {\r\n const target = getElementFromSelector(this);\r\n\r\n if (!target || !target.classList.contains(CLASS_NAME_CAROUSEL)) {\r\n return;\r\n }\r\n\r\n event.preventDefault();\r\n\r\n const carousel = Carousel.getOrCreateInstance(target);\r\n const slideIndex = this.getAttribute('data-mdb-slide-to');\r\n\r\n if (slideIndex) {\r\n carousel.to(slideIndex);\r\n carousel._maybeEnableCycle();\r\n return;\r\n }\r\n\r\n if (Manipulator.getDataAttribute(this, 'slide') === 'next') {\r\n carousel.next();\r\n carousel._maybeEnableCycle();\r\n return;\r\n }\r\n\r\n carousel.prev();\r\n carousel._maybeEnableCycle();\r\n});\r\n\r\nEventHandler.on(window, EVENT_LOAD_DATA_API, () => {\r\n const carousels = SelectorEngine.find(SELECTOR_DATA_RIDE);\r\n\r\n for (const carousel of carousels) {\r\n Carousel.getOrCreateInstance(carousel);\r\n }\r\n});\r\n\r\n/**\r\n * jQuery\r\n */\r\n\r\ndefineJQueryPlugin(Carousel);\r\n\r\nexport default Carousel;\r\n","import { getjQuery, onDOMContentLoaded } from '../mdb/util/index';\r\nimport EventHandler from '../mdb/dom/event-handler';\r\nimport SelectorEngine from '../mdb/dom/selector-engine';\r\nimport Manipulator from '../mdb/dom/manipulator';\r\nimport BSCarousel from '../bootstrap/mdb-prefix/carousel';\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Constants\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nconst NAME = 'carousel';\r\nconst DATA_KEY = `mdb.${NAME}`;\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\n\r\nconst EVENT_SLIDE_BS = 'slide.bs.carousel';\r\nconst EVENT_SLID_BS = 'slid.bs.carousel';\r\n\r\nconst EVENT_SLIDE = `slide${EVENT_KEY}`;\r\nconst EVENT_SLID = `slid${EVENT_KEY}`;\r\n\r\nconst SELECTOR_DATA_RIDE = '[data-mdb-ride=\"carousel\"]';\r\n\r\nclass Carousel extends BSCarousel {\r\n constructor(element, data) {\r\n super(element, data);\r\n\r\n this._init();\r\n }\r\n\r\n dispose() {\r\n EventHandler.off(this._element, EVENT_SLIDE_BS);\r\n EventHandler.off(this._element, EVENT_SLID_BS);\r\n\r\n super.dispose();\r\n }\r\n\r\n // Getters\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Private\r\n _init() {\r\n this._bindSlideEvent();\r\n this._bindSlidEvent();\r\n }\r\n\r\n _bindSlideEvent() {\r\n EventHandler.on(this._element, EVENT_SLIDE_BS, (e) => {\r\n EventHandler.trigger(this._element, EVENT_SLIDE, {\r\n relatedTarget: e.relatedTarget,\r\n direction: e.direction,\r\n from: e.from,\r\n to: e.to,\r\n });\r\n });\r\n }\r\n\r\n _bindSlidEvent() {\r\n EventHandler.on(this._element, EVENT_SLID_BS, (e) => {\r\n EventHandler.trigger(this._element, EVENT_SLID, {\r\n relatedTarget: e.relatedTarget,\r\n direction: e.direction,\r\n from: e.from,\r\n to: e.to,\r\n });\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Data Api implementation - auto initialization\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nSelectorEngine.find(SELECTOR_DATA_RIDE).forEach((el) => {\r\n let instance = Carousel.getInstance(el);\r\n if (!instance) {\r\n instance = new Carousel(el, Manipulator.getDataAttributes(el));\r\n }\r\n});\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * jQuery\r\n * ------------------------------------------------------------------------\r\n * add .rating to jQuery only if jQuery is present\r\n */\r\n\r\nonDOMContentLoaded(() => {\r\n const $ = getjQuery();\r\n\r\n if ($) {\r\n const JQUERY_NO_CONFLICT = $.fn[NAME];\r\n $.fn[NAME] = Carousel.jQueryInterface;\r\n $.fn[NAME].Constructor = Carousel;\r\n $.fn[NAME].noConflict = () => {\r\n $.fn[NAME] = JQUERY_NO_CONFLICT;\r\n return Carousel.jQueryInterface;\r\n };\r\n }\r\n});\r\n\r\nexport default Carousel;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): modal.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport { defineJQueryPlugin, getElementFromSelector, isRTL, isVisible, reflow } from './util/index';\r\nimport EventHandler from './dom/event-handler';\r\nimport SelectorEngine from './dom/selector-engine';\r\nimport ScrollBarHelper from './util/scrollbar';\r\nimport BaseComponent from './base-component';\r\nimport Backdrop from './util/backdrop';\r\nimport FocusTrap from './util/focustrap';\r\nimport { enableDismissTrigger } from './util/component-functions';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst NAME = 'modal';\r\nconst DATA_KEY = 'bs.modal';\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\nconst DATA_API_KEY = '.data-api';\r\nconst ESCAPE_KEY = 'Escape';\r\n\r\nconst EVENT_HIDE = `hide${EVENT_KEY}`;\r\nconst EVENT_HIDE_PREVENTED = `hidePrevented${EVENT_KEY}`;\r\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`;\r\nconst EVENT_SHOW = `show${EVENT_KEY}`;\r\nconst EVENT_SHOWN = `shown${EVENT_KEY}`;\r\nconst EVENT_RESIZE = `resize${EVENT_KEY}`;\r\nconst EVENT_CLICK_DISMISS = `click.dismiss${EVENT_KEY}`;\r\nconst EVENT_MOUSEDOWN_DISMISS = `mousedown.dismiss${EVENT_KEY}`;\r\nconst EVENT_KEYDOWN_DISMISS = `keydown.dismiss${EVENT_KEY}`;\r\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`;\r\n\r\nconst CLASS_NAME_OPEN = 'modal-open';\r\nconst CLASS_NAME_FADE = 'fade';\r\nconst CLASS_NAME_SHOW = 'show';\r\nconst CLASS_NAME_STATIC = 'modal-static';\r\n\r\nconst OPEN_SELECTOR = '.modal.show';\r\nconst SELECTOR_DIALOG = '.modal-dialog';\r\nconst SELECTOR_MODAL_BODY = '.modal-body';\r\nconst SELECTOR_DATA_TOGGLE = '[data-mdb-toggle=\"modal\"]';\r\n\r\nconst Default = {\r\n backdrop: true,\r\n focus: true,\r\n keyboard: true,\r\n};\r\n\r\nconst DefaultType = {\r\n backdrop: '(boolean|string)',\r\n focus: 'boolean',\r\n keyboard: 'boolean',\r\n};\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass Modal extends BaseComponent {\r\n constructor(element, config) {\r\n super(element, config);\r\n\r\n this._dialog = SelectorEngine.findOne(SELECTOR_DIALOG, this._element);\r\n this._backdrop = this._initializeBackDrop();\r\n this._focustrap = this._initializeFocusTrap();\r\n this._isShown = false;\r\n this._isTransitioning = false;\r\n this._scrollBar = new ScrollBarHelper();\r\n\r\n this._addEventListeners();\r\n }\r\n\r\n // Getters\r\n static get Default() {\r\n return Default;\r\n }\r\n\r\n static get DefaultType() {\r\n return DefaultType;\r\n }\r\n\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Public\r\n toggle(relatedTarget) {\r\n return this._isShown ? this.hide() : this.show(relatedTarget);\r\n }\r\n\r\n show(relatedTarget) {\r\n if (this._isShown || this._isTransitioning) {\r\n return;\r\n }\r\n\r\n const showEvent = EventHandler.trigger(this._element, EVENT_SHOW, {\r\n relatedTarget,\r\n });\r\n\r\n if (showEvent.defaultPrevented) {\r\n return;\r\n }\r\n\r\n this._isShown = true;\r\n this._isTransitioning = true;\r\n\r\n this._scrollBar.hide();\r\n\r\n document.body.classList.add(CLASS_NAME_OPEN);\r\n\r\n this._adjustDialog();\r\n\r\n this._backdrop.show(() => this._showElement(relatedTarget));\r\n }\r\n\r\n hide() {\r\n if (!this._isShown || this._isTransitioning) {\r\n return;\r\n }\r\n\r\n const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE);\r\n\r\n if (hideEvent.defaultPrevented) {\r\n return;\r\n }\r\n\r\n this._isShown = false;\r\n this._isTransitioning = true;\r\n this._focustrap.deactivate();\r\n\r\n this._element.classList.remove(CLASS_NAME_SHOW);\r\n\r\n this._queueCallback(() => this._hideModal(), this._element, this._isAnimated());\r\n }\r\n\r\n dispose() {\r\n for (const htmlElement of [window, this._dialog]) {\r\n EventHandler.off(htmlElement, EVENT_KEY);\r\n }\r\n\r\n this._backdrop.dispose();\r\n this._focustrap.deactivate();\r\n super.dispose();\r\n }\r\n\r\n handleUpdate() {\r\n this._adjustDialog();\r\n }\r\n\r\n // Private\r\n _initializeBackDrop() {\r\n return new Backdrop({\r\n isVisible: Boolean(this._config.backdrop) && Boolean(!this._config.modalNonInvasive), // 'static' option will be translated to true, and booleans will keep their value,\r\n isAnimated: this._isAnimated(),\r\n });\r\n }\r\n\r\n _initializeFocusTrap() {\r\n return new FocusTrap({\r\n trapElement: this._element,\r\n });\r\n }\r\n\r\n _showElement(relatedTarget) {\r\n // try to append dynamic modal\r\n if (!document.body.contains(this._element)) {\r\n document.body.append(this._element);\r\n }\r\n\r\n this._element.style.display = 'block';\r\n this._element.removeAttribute('aria-hidden');\r\n this._element.setAttribute('aria-modal', true);\r\n this._element.setAttribute('role', 'dialog');\r\n this._element.scrollTop = 0;\r\n\r\n const modalBody = SelectorEngine.findOne(SELECTOR_MODAL_BODY, this._dialog);\r\n if (modalBody) {\r\n modalBody.scrollTop = 0;\r\n }\r\n\r\n reflow(this._element);\r\n\r\n this._element.classList.add(CLASS_NAME_SHOW);\r\n\r\n const transitionComplete = () => {\r\n if (this._config.focus) {\r\n this._focustrap.activate();\r\n }\r\n\r\n this._isTransitioning = false;\r\n EventHandler.trigger(this._element, EVENT_SHOWN, {\r\n relatedTarget,\r\n });\r\n };\r\n\r\n this._queueCallback(transitionComplete, this._dialog, this._isAnimated());\r\n }\r\n\r\n _addEventListeners() {\r\n EventHandler.on(this._element, EVENT_KEYDOWN_DISMISS, (event) => {\r\n if (event.key !== ESCAPE_KEY) {\r\n return;\r\n }\r\n\r\n if (this._config.keyboard) {\r\n event.preventDefault();\r\n this.hide();\r\n return;\r\n }\r\n\r\n this._triggerBackdropTransition();\r\n });\r\n\r\n EventHandler.on(window, EVENT_RESIZE, () => {\r\n if (this._isShown && !this._isTransitioning) {\r\n this._adjustDialog();\r\n }\r\n });\r\n\r\n EventHandler.on(this._element, EVENT_MOUSEDOWN_DISMISS, (event) => {\r\n // a bad trick to segregate clicks that may start inside dialog but end outside, and avoid listen to scrollbar clicks\r\n EventHandler.one(this._element, EVENT_CLICK_DISMISS, (event2) => {\r\n if (this._element !== event.target || this._element !== event2.target) {\r\n return;\r\n }\r\n\r\n if (this._config.backdrop === 'static') {\r\n this._triggerBackdropTransition();\r\n return;\r\n }\r\n\r\n if (this._config.backdrop) {\r\n this.hide();\r\n }\r\n });\r\n });\r\n }\r\n\r\n _hideModal() {\r\n this._element.style.display = 'none';\r\n this._element.setAttribute('aria-hidden', true);\r\n this._element.removeAttribute('aria-modal');\r\n this._element.removeAttribute('role');\r\n this._isTransitioning = false;\r\n\r\n this._backdrop.hide(() => {\r\n document.body.classList.remove(CLASS_NAME_OPEN);\r\n this._resetAdjustments();\r\n this._scrollBar.reset();\r\n EventHandler.trigger(this._element, EVENT_HIDDEN);\r\n });\r\n }\r\n\r\n _isAnimated() {\r\n return this._element.classList.contains(CLASS_NAME_FADE);\r\n }\r\n\r\n _triggerBackdropTransition() {\r\n const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED);\r\n if (hideEvent.defaultPrevented) {\r\n return;\r\n }\r\n\r\n const isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight;\r\n const initialOverflowY = this._element.style.overflowY;\r\n // return if the following background transition hasn't yet completed\r\n if (initialOverflowY === 'hidden' || this._element.classList.contains(CLASS_NAME_STATIC)) {\r\n return;\r\n }\r\n\r\n if (!isModalOverflowing) {\r\n this._element.style.overflowY = 'hidden';\r\n }\r\n\r\n this._element.classList.add(CLASS_NAME_STATIC);\r\n this._queueCallback(() => {\r\n this._element.classList.remove(CLASS_NAME_STATIC);\r\n this._queueCallback(() => {\r\n this._element.style.overflowY = initialOverflowY;\r\n }, this._dialog);\r\n }, this._dialog);\r\n\r\n this._element.focus();\r\n }\r\n\r\n /**\r\n * The following methods are used to handle overflowing modals\r\n */\r\n\r\n _adjustDialog() {\r\n const isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight;\r\n const scrollbarWidth = this._scrollBar.getWidth();\r\n const isBodyOverflowing = scrollbarWidth > 0;\r\n\r\n if (isBodyOverflowing && !isModalOverflowing) {\r\n const property = isRTL() ? 'paddingLeft' : 'paddingRight';\r\n this._element.style[property] = `${scrollbarWidth}px`;\r\n }\r\n\r\n if (!isBodyOverflowing && isModalOverflowing) {\r\n const property = isRTL() ? 'paddingRight' : 'paddingLeft';\r\n this._element.style[property] = `${scrollbarWidth}px`;\r\n }\r\n }\r\n\r\n _resetAdjustments() {\r\n this._element.style.paddingLeft = '';\r\n this._element.style.paddingRight = '';\r\n }\r\n\r\n // Static\r\n static jQueryInterface(config, relatedTarget) {\r\n return this.each(function () {\r\n const data = Modal.getOrCreateInstance(this, config);\r\n\r\n if (typeof config !== 'string') {\r\n return;\r\n }\r\n\r\n if (typeof data[config] === 'undefined') {\r\n throw new TypeError(`No method named \"${config}\"`);\r\n }\r\n\r\n data[config](relatedTarget);\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * Data API implementation\r\n */\r\n\r\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\r\n const target = getElementFromSelector(this);\r\n\r\n if (['A', 'AREA'].includes(this.tagName)) {\r\n event.preventDefault();\r\n }\r\n\r\n EventHandler.one(target, EVENT_SHOW, (showEvent) => {\r\n if (showEvent.defaultPrevented) {\r\n // only register focus restorer if modal will actually get shown\r\n return;\r\n }\r\n\r\n EventHandler.one(target, EVENT_HIDDEN, () => {\r\n if (isVisible(this)) {\r\n this.focus();\r\n }\r\n });\r\n });\r\n\r\n // avoid conflict when clicking modal toggler while another one is open\r\n const allreadyOpenedModals = SelectorEngine.find(OPEN_SELECTOR);\r\n allreadyOpenedModals.forEach((modal) => {\r\n if (!modal.classList.contains('modal-non-invasive-show')) {\r\n Modal.getInstance(modal).hide();\r\n }\r\n });\r\n\r\n const data = Modal.getOrCreateInstance(target);\r\n\r\n data.toggle(this);\r\n});\r\n\r\nenableDismissTrigger(Modal);\r\n\r\n/**\r\n * jQuery\r\n */\r\n\r\ndefineJQueryPlugin(Modal);\r\n\r\nexport default Modal;\r\n","import { getjQuery, getSelectorFromElement, onDOMContentLoaded } from '../mdb/util/index';\r\nimport EventHandler from '../mdb/dom/event-handler';\r\nimport SelectorEngine from '../mdb/dom/selector-engine';\r\nimport BSModal from '../bootstrap/mdb-prefix/modal';\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Constants\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nconst NAME = 'modal';\r\nconst DATA_KEY = `mdb.${NAME}`;\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\n\r\nconst EVENT_HIDE_BS = 'hide.bs.modal';\r\nconst EVENT_HIDE_PREVENTED_BS = 'hidePrevented.bs.modal';\r\nconst EVENT_HIDDEN_BS = 'hidden.bs.modal';\r\nconst EVENT_SHOW_BS = 'show.bs.modal';\r\nconst EVENT_SHOWN_BS = 'shown.bs.modal';\r\n\r\nconst EVENT_HIDE = `hide${EVENT_KEY}`;\r\nconst EVENT_HIDE_PREVENTED = `hidePrevented${EVENT_KEY}`;\r\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`;\r\nconst EVENT_SHOW = `show${EVENT_KEY}`;\r\nconst EVENT_SHOWN = `shown${EVENT_KEY}`;\r\n\r\nconst SELECTOR_DATA_TOGGLE = '[data-mdb-toggle=\"modal\"]';\r\n\r\nclass Modal extends BSModal {\r\n constructor(element, data) {\r\n super(element, data);\r\n\r\n this._init();\r\n }\r\n\r\n dispose() {\r\n EventHandler.off(this._element, EVENT_SHOW_BS);\r\n EventHandler.off(this._element, EVENT_SHOWN_BS);\r\n EventHandler.off(this._element, EVENT_HIDE_BS);\r\n EventHandler.off(this._element, EVENT_HIDDEN_BS);\r\n EventHandler.off(this._element, EVENT_HIDE_PREVENTED_BS);\r\n\r\n super.dispose();\r\n }\r\n\r\n // Getters\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Private\r\n _init() {\r\n this._bindShowEvent();\r\n this._bindShownEvent();\r\n this._bindHideEvent();\r\n this._bindHiddenEvent();\r\n this._bindHidePreventedEvent();\r\n }\r\n\r\n _bindShowEvent() {\r\n EventHandler.on(this._element, EVENT_SHOW_BS, (e) => {\r\n EventHandler.trigger(this._element, EVENT_SHOW, { relatedTarget: e.relatedTarget });\r\n });\r\n }\r\n\r\n _bindShownEvent() {\r\n EventHandler.on(this._element, EVENT_SHOWN_BS, (e) => {\r\n EventHandler.trigger(this._element, EVENT_SHOWN, { relatedTarget: e.relatedTarget });\r\n });\r\n }\r\n\r\n _bindHideEvent() {\r\n EventHandler.on(this._element, EVENT_HIDE_BS, () => {\r\n EventHandler.trigger(this._element, EVENT_HIDE);\r\n });\r\n }\r\n\r\n _bindHiddenEvent() {\r\n EventHandler.on(this._element, EVENT_HIDDEN_BS, () => {\r\n EventHandler.trigger(this._element, EVENT_HIDDEN);\r\n });\r\n }\r\n\r\n _bindHidePreventedEvent() {\r\n EventHandler.on(this._element, EVENT_HIDE_PREVENTED_BS, () => {\r\n EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED);\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Data Api implementation - auto initialization\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nSelectorEngine.find(SELECTOR_DATA_TOGGLE).forEach((el) => {\r\n const selector = getSelectorFromElement(el);\r\n const selectorElement = SelectorEngine.findOne(selector);\r\n\r\n let instance = Modal.getInstance(selectorElement);\r\n if (!instance) {\r\n instance = new Modal(selectorElement);\r\n }\r\n});\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * jQuery\r\n * ------------------------------------------------------------------------\r\n * add .modal to jQuery only if jQuery is present\r\n */\r\n\r\nonDOMContentLoaded(() => {\r\n const $ = getjQuery();\r\n\r\n if ($) {\r\n const JQUERY_NO_CONFLICT = $.fn[NAME];\r\n $.fn[NAME] = Modal.jQueryInterface;\r\n $.fn[NAME].Constructor = Modal;\r\n $.fn[NAME].noConflict = () => {\r\n $.fn[NAME] = JQUERY_NO_CONFLICT;\r\n return Modal.jQueryInterface;\r\n };\r\n }\r\n});\r\n\r\nexport default Modal;\r\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 { 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}","import getNodeName from \"./getNodeName.js\";\nexport default function isTableElement(element) {\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;\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}","export default function getFreshSideObject() {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n };\n}","import getFreshSideObject from \"./getFreshSideObject.js\";\nexport default function mergePaddingObject(paddingObject) {\n return Object.assign({}, getFreshSideObject(), paddingObject);\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\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.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 (process.env.NODE_ENV !== \"production\") {\n if (!isHTMLElement(arrowElement)) {\n console.error(['Popper: \"arrow\" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' '));\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(['Popper: \"arrow\" modifier\\'s `element` must be a child of the popper', 'element.'].join(' '));\n }\n\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\n if (process.env.NODE_ENV !== \"production\") {\n var transitionProperty = getComputedStyle(state.elements.popper).transitionProperty || '';\n\n if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) {\n return transitionProperty.indexOf(property) >= 0;\n })) {\n console.warn(['Popper: Detected CSS transitions on at least one of the following', 'CSS properties: \"transform\", \"top\", \"right\", \"bottom\", \"left\".', '\\n\\n', 'Disable the \"computeStyles\" modifier\\'s `adaptive` option to allow', 'for smooth transitions, or remove these properties from the CSS', 'transition declaration on the popper element if only transitioning', 'opacity or background-color for example.', '\\n\\n', 'We recommend using the popper element as a wrapper around an inner', 'element that can have any CSS property transitioned for animations.'].join(' '));\n }\n }\n\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 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}","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}","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\n if (process.env.NODE_ENV !== \"production\") {\n console.error(['Popper: The `allowedAutoPlacements` option did not allow any', 'placements. Ensure the `placement` option matches the variation', 'of the allowed placements.', 'For example, \"auto\" cannot be used to allow \"bottom-start\".', 'Use \"auto-start\" instead.'].join(' '));\n }\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 getComputedStyle from \"./dom-utils/getComputedStyle.js\";\nimport orderModifiers from \"./utils/orderModifiers.js\";\nimport debounce from \"./utils/debounce.js\";\nimport validateModifiers from \"./utils/validateModifiers.js\";\nimport uniqueBy from \"./utils/uniqueBy.js\";\nimport getBasePlacement from \"./utils/getBasePlacement.js\";\nimport mergeByName from \"./utils/mergeByName.js\";\nimport detectOverflow from \"./utils/detectOverflow.js\";\nimport { isElement } from \"./dom-utils/instanceOf.js\";\nimport { auto } from \"./enums.js\";\nvar INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\nvar INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\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 }); // Validate the provided modifiers so that the consumer will get warned\n // if one of the modifiers is invalid for any reason\n\n if (process.env.NODE_ENV !== \"production\") {\n var modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), function (_ref) {\n var name = _ref.name;\n return name;\n });\n validateModifiers(modifiers);\n\n if (getBasePlacement(state.options.placement) === auto) {\n var flipModifier = state.orderedModifiers.find(function (_ref2) {\n var name = _ref2.name;\n return name === 'flip';\n });\n\n if (!flipModifier) {\n console.error(['Popper: \"auto\" placements require the \"flip\" modifier be', 'present and enabled to work.'].join(' '));\n }\n }\n\n var _getComputedStyle = getComputedStyle(popper),\n marginTop = _getComputedStyle.marginTop,\n marginRight = _getComputedStyle.marginRight,\n marginBottom = _getComputedStyle.marginBottom,\n marginLeft = _getComputedStyle.marginLeft; // We no longer take into account `margins` on the popper, and it can\n // cause bugs with positioning, so we'll warn the consumer\n\n\n if ([marginTop, marginRight, marginBottom, marginLeft].some(function (margin) {\n return parseFloat(margin);\n })) {\n console.warn(['Popper: CSS \"margin\" styles cannot be used to apply padding', 'between the popper and its reference element or boundary.', 'To replicate margin, use the `offset` modifier, as well as', 'the `padding` option in the `preventOverflow` and `flip`', 'modifiers.'].join(' '));\n }\n }\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 if (process.env.NODE_ENV !== \"production\") {\n console.error(INVALID_ELEMENT_ERROR);\n }\n\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 var __debug_loops__ = 0;\n\n for (var index = 0; index < state.orderedModifiers.length; index++) {\n if (process.env.NODE_ENV !== \"production\") {\n __debug_loops__ += 1;\n\n if (__debug_loops__ > 100) {\n console.error(INFINITE_LOOP_ERROR);\n break;\n }\n }\n\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 if (process.env.NODE_ENV !== \"production\") {\n console.error(INVALID_ELEMENT_ERROR);\n }\n\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 (_ref3) {\n var name = _ref3.name,\n _ref3$options = _ref3.options,\n options = _ref3$options === void 0 ? {} : _ref3$options,\n effect = _ref3.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 };","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): util/sanitizer.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nconst uriAttributes = new Set([\r\n 'background',\r\n 'cite',\r\n 'href',\r\n 'itemtype',\r\n 'longdesc',\r\n 'poster',\r\n 'src',\r\n 'xlink:href',\r\n]);\r\n\r\nconst ARIA_ATTRIBUTE_PATTERN = /^aria-[\\w-]*$/i;\r\n\r\n/**\r\n * A pattern that recognizes a commonly useful subset of URLs that are safe.\r\n *\r\n * Shout-out to Angular https://github.com/angular/angular/blob/12.2.x/packages/core/src/sanitization/url_sanitizer.ts\r\n */\r\nconst SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i;\r\n\r\n/**\r\n * A pattern that matches safe data URLs. Only matches image, video and audio types.\r\n *\r\n * Shout-out to Angular https://github.com/angular/angular/blob/12.2.x/packages/core/src/sanitization/url_sanitizer.ts\r\n */\r\nconst DATA_URL_PATTERN =\r\n /^data:(?:image\\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\\/(?:mpeg|mp4|ogg|webm)|audio\\/(?:mp3|oga|ogg|opus));base64,[\\d+/a-z]+=*$/i;\r\n\r\nconst allowedAttribute = (attribute, allowedAttributeList) => {\r\n const attributeName = attribute.nodeName.toLowerCase();\r\n\r\n if (allowedAttributeList.includes(attributeName)) {\r\n if (uriAttributes.has(attributeName)) {\r\n return Boolean(\r\n SAFE_URL_PATTERN.test(attribute.nodeValue) || DATA_URL_PATTERN.test(attribute.nodeValue)\r\n );\r\n }\r\n\r\n return true;\r\n }\r\n\r\n // Check if a regular expression validates the attribute.\r\n return allowedAttributeList\r\n .filter((attributeRegex) => attributeRegex instanceof RegExp)\r\n .some((regex) => regex.test(attributeName));\r\n};\r\n\r\nexport const DefaultAllowlist = {\r\n // Global attributes allowed on any supplied element below.\r\n '*': ['class', 'dir', 'id', 'lang', 'role', ARIA_ATTRIBUTE_PATTERN],\r\n a: ['target', 'href', 'title', 'rel'],\r\n area: [],\r\n b: [],\r\n br: [],\r\n col: [],\r\n code: [],\r\n div: [],\r\n em: [],\r\n hr: [],\r\n h1: [],\r\n h2: [],\r\n h3: [],\r\n h4: [],\r\n h5: [],\r\n h6: [],\r\n i: [],\r\n img: ['src', 'srcset', 'alt', 'title', 'width', 'height'],\r\n li: [],\r\n ol: [],\r\n p: [],\r\n pre: [],\r\n s: [],\r\n small: [],\r\n span: [],\r\n sub: [],\r\n sup: [],\r\n strong: [],\r\n u: [],\r\n ul: [],\r\n};\r\n\r\nexport function sanitizeHtml(unsafeHtml, allowList, sanitizeFunction) {\r\n if (!unsafeHtml.length) {\r\n return unsafeHtml;\r\n }\r\n\r\n if (sanitizeFunction && typeof sanitizeFunction === 'function') {\r\n return sanitizeFunction(unsafeHtml);\r\n }\r\n\r\n const domParser = new window.DOMParser();\r\n const createdDocument = domParser.parseFromString(unsafeHtml, 'text/html');\r\n const elements = [].concat(...createdDocument.body.querySelectorAll('*'));\r\n\r\n for (const element of elements) {\r\n const elementName = element.nodeName.toLowerCase();\r\n\r\n if (!Object.keys(allowList).includes(elementName)) {\r\n element.remove();\r\n\r\n continue;\r\n }\r\n\r\n const attributeList = [].concat(...element.attributes);\r\n const allowedAttributes = [].concat(allowList['*'] || [], allowList[elementName] || []);\r\n\r\n for (const attribute of attributeList) {\r\n if (!allowedAttribute(attribute, allowedAttributes)) {\r\n element.removeAttribute(attribute.nodeName);\r\n }\r\n }\r\n }\r\n\r\n return createdDocument.body.innerHTML;\r\n}\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): util/template-factory.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport { DefaultAllowlist, sanitizeHtml } from './sanitizer';\r\nimport { getElement, isElement } from '../util/index';\r\nimport SelectorEngine from '../dom/selector-engine';\r\nimport Config from './config';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst NAME = 'TemplateFactory';\r\n\r\nconst Default = {\r\n allowList: DefaultAllowlist,\r\n content: {}, // { selector : text , selector2 : text2 , }\r\n extraClass: '',\r\n html: false,\r\n sanitize: true,\r\n sanitizeFn: null,\r\n template: '<div></div>',\r\n};\r\n\r\nconst DefaultType = {\r\n allowList: 'object',\r\n content: 'object',\r\n extraClass: '(string|function)',\r\n html: 'boolean',\r\n sanitize: 'boolean',\r\n sanitizeFn: '(null|function)',\r\n template: 'string',\r\n};\r\n\r\nconst DefaultContentType = {\r\n entry: '(string|element|function|null)',\r\n selector: '(string|element)',\r\n};\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass TemplateFactory extends Config {\r\n constructor(config) {\r\n super();\r\n this._config = this._getConfig(config);\r\n }\r\n\r\n // Getters\r\n static get Default() {\r\n return Default;\r\n }\r\n\r\n static get DefaultType() {\r\n return DefaultType;\r\n }\r\n\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Public\r\n getContent() {\r\n return Object.values(this._config.content)\r\n .map((config) => this._resolvePossibleFunction(config))\r\n .filter(Boolean);\r\n }\r\n\r\n hasContent() {\r\n return this.getContent().length > 0;\r\n }\r\n\r\n changeContent(content) {\r\n this._checkContent(content);\r\n this._config.content = { ...this._config.content, ...content };\r\n return this;\r\n }\r\n\r\n toHtml() {\r\n const templateWrapper = document.createElement('div');\r\n templateWrapper.innerHTML = this._maybeSanitize(this._config.template);\r\n\r\n for (const [selector, text] of Object.entries(this._config.content)) {\r\n this._setContent(templateWrapper, text, selector);\r\n }\r\n\r\n const template = templateWrapper.children[0];\r\n const extraClass = this._resolvePossibleFunction(this._config.extraClass);\r\n\r\n if (extraClass) {\r\n template.classList.add(...extraClass.split(' '));\r\n }\r\n\r\n return template;\r\n }\r\n\r\n // Private\r\n _typeCheckConfig(config) {\r\n super._typeCheckConfig(config);\r\n this._checkContent(config.content);\r\n }\r\n\r\n _checkContent(arg) {\r\n for (const [selector, content] of Object.entries(arg)) {\r\n super._typeCheckConfig({ selector, entry: content }, DefaultContentType);\r\n }\r\n }\r\n\r\n _setContent(template, content, selector) {\r\n const templateElement = SelectorEngine.findOne(selector, template);\r\n\r\n if (!templateElement) {\r\n return;\r\n }\r\n\r\n content = this._resolvePossibleFunction(content);\r\n\r\n if (!content) {\r\n templateElement.remove();\r\n return;\r\n }\r\n\r\n if (isElement(content)) {\r\n this._putElementInTemplate(getElement(content), templateElement);\r\n return;\r\n }\r\n\r\n if (this._config.html) {\r\n templateElement.innerHTML = this._maybeSanitize(content);\r\n return;\r\n }\r\n\r\n templateElement.textContent = content;\r\n }\r\n\r\n _maybeSanitize(arg) {\r\n return this._config.sanitize\r\n ? sanitizeHtml(arg, this._config.allowList, this._config.sanitizeFn)\r\n : arg;\r\n }\r\n\r\n _resolvePossibleFunction(arg) {\r\n return typeof arg === 'function' ? arg(this) : arg;\r\n }\r\n\r\n _putElementInTemplate(element, templateElement) {\r\n if (this._config.html) {\r\n templateElement.innerHTML = '';\r\n templateElement.append(element);\r\n return;\r\n }\r\n\r\n templateElement.textContent = element.textContent;\r\n }\r\n}\r\n\r\nexport default TemplateFactory;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): tooltip.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport * as Popper from '@popperjs/core';\r\nimport { defineJQueryPlugin, findShadowRoot, getElement, getUID, isRTL, noop } from './util/index';\r\nimport { DefaultAllowlist } from './util/sanitizer';\r\nimport EventHandler from './dom/event-handler';\r\nimport Manipulator from './dom/manipulator';\r\nimport BaseComponent from './base-component';\r\nimport TemplateFactory from './util/template-factory';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst NAME = 'tooltip';\r\nconst DISALLOWED_ATTRIBUTES = new Set(['sanitize', 'allowList', 'sanitizeFn']);\r\n\r\nconst CLASS_NAME_FADE = 'fade';\r\nconst CLASS_NAME_MODAL = 'modal';\r\nconst CLASS_NAME_SHOW = 'show';\r\n\r\nconst SELECTOR_TOOLTIP_INNER = '.tooltip-inner';\r\nconst SELECTOR_MODAL = `.${CLASS_NAME_MODAL}`;\r\n\r\nconst EVENT_MODAL_HIDE = 'hide.bs.modal';\r\n\r\nconst TRIGGER_HOVER = 'hover';\r\nconst TRIGGER_FOCUS = 'focus';\r\nconst TRIGGER_CLICK = 'click';\r\nconst TRIGGER_MANUAL = 'manual';\r\n\r\nconst EVENT_HIDE = 'hide';\r\nconst EVENT_HIDDEN = 'hidden';\r\nconst EVENT_SHOW = 'show';\r\nconst EVENT_SHOWN = 'shown';\r\nconst EVENT_INSERTED = 'inserted';\r\nconst EVENT_CLICK = 'click';\r\nconst EVENT_FOCUSIN = 'focusin';\r\nconst EVENT_FOCUSOUT = 'focusout';\r\nconst EVENT_MOUSEENTER = 'mouseenter';\r\nconst EVENT_MOUSELEAVE = 'mouseleave';\r\n\r\nconst AttachmentMap = {\r\n AUTO: 'auto',\r\n TOP: 'top',\r\n RIGHT: isRTL() ? 'left' : 'right',\r\n BOTTOM: 'bottom',\r\n LEFT: isRTL() ? 'right' : 'left',\r\n};\r\n\r\nconst Default = {\r\n allowList: DefaultAllowlist,\r\n animation: true,\r\n boundary: 'clippingParents',\r\n container: false,\r\n customClass: '',\r\n delay: 0,\r\n fallbackPlacements: ['top', 'right', 'bottom', 'left'],\r\n html: false,\r\n offset: [0, 0],\r\n placement: 'top',\r\n popperConfig: null,\r\n sanitize: true,\r\n sanitizeFn: null,\r\n selector: false,\r\n template:\r\n '<div class=\"tooltip\" role=\"tooltip\">' +\r\n '<div class=\"tooltip-arrow\"></div>' +\r\n '<div class=\"tooltip-inner\"></div>' +\r\n '</div>',\r\n title: '',\r\n trigger: 'hover focus',\r\n};\r\n\r\nconst DefaultType = {\r\n allowList: 'object',\r\n animation: 'boolean',\r\n boundary: '(string|element)',\r\n container: '(string|element|boolean)',\r\n customClass: '(string|function)',\r\n delay: '(number|object)',\r\n fallbackPlacements: 'array',\r\n html: 'boolean',\r\n offset: '(array|string|function)',\r\n placement: '(string|function)',\r\n popperConfig: '(null|object|function)',\r\n sanitize: 'boolean',\r\n sanitizeFn: '(null|function)',\r\n selector: '(string|boolean)',\r\n template: 'string',\r\n title: '(string|element|function)',\r\n trigger: 'string',\r\n};\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass Tooltip extends BaseComponent {\r\n constructor(element, config) {\r\n if (typeof Popper === 'undefined') {\r\n throw new TypeError(\"Bootstrap's tooltips require Popper (https://popper.js.org)\");\r\n }\r\n\r\n super(element, config);\r\n\r\n // Private\r\n this._isEnabled = true;\r\n this._timeout = 0;\r\n this._isHovered = null;\r\n this._activeTrigger = {};\r\n this._popper = null;\r\n this._templateFactory = null;\r\n this._newContent = null;\r\n\r\n // Protected\r\n this.tip = null;\r\n\r\n this._setListeners();\r\n\r\n if (!this._config.selector) {\r\n this._fixTitle();\r\n }\r\n }\r\n\r\n // Getters\r\n static get Default() {\r\n return Default;\r\n }\r\n\r\n static get DefaultType() {\r\n return DefaultType;\r\n }\r\n\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Public\r\n enable() {\r\n this._isEnabled = true;\r\n }\r\n\r\n disable() {\r\n this._isEnabled = false;\r\n }\r\n\r\n toggleEnabled() {\r\n this._isEnabled = !this._isEnabled;\r\n }\r\n\r\n toggle() {\r\n if (!this._isEnabled) {\r\n return;\r\n }\r\n\r\n this._activeTrigger.click = !this._activeTrigger.click;\r\n if (this._isShown()) {\r\n this._leave();\r\n return;\r\n }\r\n\r\n this._enter();\r\n }\r\n\r\n dispose() {\r\n clearTimeout(this._timeout);\r\n\r\n EventHandler.off(\r\n this._element.closest(SELECTOR_MODAL),\r\n EVENT_MODAL_HIDE,\r\n this._hideModalHandler\r\n );\r\n\r\n if (this._element.getAttribute('data-mdb-original-title')) {\r\n this._element.setAttribute('title', this._element.getAttribute('data-mdb-original-title'));\r\n }\r\n\r\n this._disposePopper();\r\n super.dispose();\r\n }\r\n\r\n show() {\r\n if (this._element.style.display === 'none') {\r\n throw new Error('Please use show on visible elements');\r\n }\r\n\r\n if (!(this._isWithContent() && this._isEnabled)) {\r\n return;\r\n }\r\n\r\n const showEvent = EventHandler.trigger(this._element, this.constructor.eventName(EVENT_SHOW));\r\n const shadowRoot = findShadowRoot(this._element);\r\n const isInTheDom = (shadowRoot || this._element.ownerDocument.documentElement).contains(\r\n this._element\r\n );\r\n\r\n if (showEvent.defaultPrevented || !isInTheDom) {\r\n return;\r\n }\r\n\r\n // todo v6 remove this OR make it optional\r\n this._disposePopper();\r\n\r\n const tip = this._getTipElement();\r\n\r\n this._element.setAttribute('aria-describedby', tip.getAttribute('id'));\r\n\r\n const { container } = this._config;\r\n\r\n if (!this._element.ownerDocument.documentElement.contains(this.tip)) {\r\n container.append(tip);\r\n EventHandler.trigger(this._element, this.constructor.eventName(EVENT_INSERTED));\r\n }\r\n\r\n this._popper = this._createPopper(tip);\r\n\r\n tip.classList.add(CLASS_NAME_SHOW);\r\n\r\n // If this is a touch-enabled device we add extra\r\n // empty mouseover listeners to the body's immediate children;\r\n // only needed because of broken event delegation on iOS\r\n // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html\r\n if ('ontouchstart' in document.documentElement) {\r\n for (const element of [].concat(...document.body.children)) {\r\n EventHandler.on(element, 'mouseover', noop);\r\n }\r\n }\r\n\r\n const complete = () => {\r\n EventHandler.trigger(this._element, this.constructor.eventName(EVENT_SHOWN));\r\n\r\n if (this._isHovered === false) {\r\n this._leave();\r\n }\r\n\r\n this._isHovered = false;\r\n };\r\n\r\n this._queueCallback(complete, this.tip, this._isAnimated());\r\n }\r\n\r\n hide() {\r\n if (!this._isShown()) {\r\n return;\r\n }\r\n\r\n const hideEvent = EventHandler.trigger(this._element, this.constructor.eventName(EVENT_HIDE));\r\n if (hideEvent.defaultPrevented) {\r\n return;\r\n }\r\n\r\n const tip = this._getTipElement();\r\n tip.classList.remove(CLASS_NAME_SHOW);\r\n\r\n // If this is a touch-enabled device we remove the extra\r\n // empty mouseover listeners we added for iOS support\r\n if ('ontouchstart' in document.documentElement) {\r\n for (const element of [].concat(...document.body.children)) {\r\n EventHandler.off(element, 'mouseover', noop);\r\n }\r\n }\r\n\r\n this._activeTrigger[TRIGGER_CLICK] = false;\r\n this._activeTrigger[TRIGGER_FOCUS] = false;\r\n this._activeTrigger[TRIGGER_HOVER] = false;\r\n this._isHovered = null; // it is a trick to support manual triggering\r\n\r\n const complete = () => {\r\n if (this._isWithActiveTrigger()) {\r\n return;\r\n }\r\n\r\n if (!this._isHovered) {\r\n this._disposePopper();\r\n }\r\n\r\n this._element.removeAttribute('aria-describedby');\r\n EventHandler.trigger(this._element, this.constructor.eventName(EVENT_HIDDEN));\r\n };\r\n\r\n this._queueCallback(complete, this.tip, this._isAnimated());\r\n }\r\n\r\n update() {\r\n if (this._popper) {\r\n this._popper.update();\r\n }\r\n }\r\n\r\n // Protected\r\n _isWithContent() {\r\n return Boolean(this._getTitle());\r\n }\r\n\r\n _getTipElement() {\r\n if (!this.tip) {\r\n this.tip = this._createTipElement(this._newContent || this._getContentForTemplate());\r\n }\r\n\r\n return this.tip;\r\n }\r\n\r\n _createTipElement(content) {\r\n const tip = this._getTemplateFactory(content).toHtml();\r\n\r\n // todo: remove this check on v6\r\n if (!tip) {\r\n return null;\r\n }\r\n\r\n tip.classList.remove(CLASS_NAME_FADE, CLASS_NAME_SHOW);\r\n // todo: on v6 the following can be achieved with CSS only\r\n tip.classList.add(`bs-${this.constructor.NAME}-auto`);\r\n\r\n const tipId = getUID(this.constructor.NAME).toString();\r\n\r\n tip.setAttribute('id', tipId);\r\n\r\n if (this._isAnimated()) {\r\n tip.classList.add(CLASS_NAME_FADE);\r\n }\r\n\r\n return tip;\r\n }\r\n\r\n setContent(content) {\r\n this._newContent = content;\r\n if (this._isShown()) {\r\n this._disposePopper();\r\n this.show();\r\n }\r\n }\r\n\r\n _getTemplateFactory(content) {\r\n if (this._templateFactory) {\r\n this._templateFactory.changeContent(content);\r\n } else {\r\n this._templateFactory = new TemplateFactory({\r\n ...this._config,\r\n // the `content` var has to be after `this._config`\r\n // to override config.content in case of popover\r\n content,\r\n extraClass: this._resolvePossibleFunction(this._config.customClass),\r\n });\r\n }\r\n\r\n return this._templateFactory;\r\n }\r\n\r\n _getContentForTemplate() {\r\n return {\r\n [SELECTOR_TOOLTIP_INNER]: this._getTitle(),\r\n };\r\n }\r\n\r\n _getTitle() {\r\n return (\r\n this._resolvePossibleFunction(this._config.title) ||\r\n this._element.getAttribute('data-mdb-original-title')\r\n );\r\n }\r\n\r\n // Private\r\n _initializeOnDelegatedTarget(event) {\r\n return this.constructor.getOrCreateInstance(event.delegateTarget, this._getDelegateConfig());\r\n }\r\n\r\n _isAnimated() {\r\n return this._config.animation || (this.tip && this.tip.classList.contains(CLASS_NAME_FADE));\r\n }\r\n\r\n _isShown() {\r\n return this.tip && this.tip.classList.contains(CLASS_NAME_SHOW);\r\n }\r\n\r\n _createPopper(tip) {\r\n const placement =\r\n typeof this._config.placement === 'function'\r\n ? this._config.placement.call(this, tip, this._element)\r\n : this._config.placement;\r\n const attachment = AttachmentMap[placement.toUpperCase()];\r\n return Popper.createPopper(this._element, tip, this._getPopperConfig(attachment));\r\n }\r\n\r\n _getOffset() {\r\n const { offset } = this._config;\r\n\r\n if (typeof offset === 'string') {\r\n return offset.split(',').map((value) => Number.parseInt(value, 10));\r\n }\r\n\r\n if (typeof offset === 'function') {\r\n return (popperData) => offset(popperData, this._element);\r\n }\r\n\r\n return offset;\r\n }\r\n\r\n _resolvePossibleFunction(arg) {\r\n return typeof arg === 'function' ? arg.call(this._element) : arg;\r\n }\r\n\r\n _getPopperConfig(attachment) {\r\n const defaultBsPopperConfig = {\r\n placement: attachment,\r\n modifiers: [\r\n {\r\n name: 'flip',\r\n options: {\r\n fallbackPlacements: this._config.fallbackPlacements,\r\n },\r\n },\r\n {\r\n name: 'offset',\r\n options: {\r\n offset: this._getOffset(),\r\n },\r\n },\r\n {\r\n name: 'preventOverflow',\r\n options: {\r\n boundary: this._config.boundary,\r\n },\r\n },\r\n {\r\n name: 'arrow',\r\n options: {\r\n element: `.${this.constructor.NAME}-arrow`,\r\n },\r\n },\r\n {\r\n name: 'preSetPlacement',\r\n enabled: true,\r\n phase: 'beforeMain',\r\n fn: (data) => {\r\n // Pre-set Popper's placement attribute in order to read the arrow sizes properly.\r\n // Otherwise, Popper mixes up the width and height dimensions since the initial arrow style is for top placement\r\n this._getTipElement().setAttribute('data-popper-placement', data.state.placement);\r\n },\r\n },\r\n ],\r\n };\r\n\r\n return {\r\n ...defaultBsPopperConfig,\r\n ...(typeof this._config.popperConfig === 'function'\r\n ? this._config.popperConfig(defaultBsPopperConfig)\r\n : this._config.popperConfig),\r\n };\r\n }\r\n\r\n _setListeners() {\r\n const triggers = this._config.trigger.split(' ');\r\n\r\n for (const trigger of triggers) {\r\n if (trigger === 'click') {\r\n EventHandler.on(\r\n this._element,\r\n this.constructor.eventName(EVENT_CLICK),\r\n this._config.selector,\r\n (event) => {\r\n const context = this._initializeOnDelegatedTarget(event);\r\n context.toggle();\r\n }\r\n );\r\n } else if (trigger !== TRIGGER_MANUAL) {\r\n const eventIn =\r\n trigger === TRIGGER_HOVER\r\n ? this.constructor.eventName(EVENT_MOUSEENTER)\r\n : this.constructor.eventName(EVENT_FOCUSIN);\r\n const eventOut =\r\n trigger === TRIGGER_HOVER\r\n ? this.constructor.eventName(EVENT_MOUSELEAVE)\r\n : this.constructor.eventName(EVENT_FOCUSOUT);\r\n\r\n EventHandler.on(this._element, eventIn, this._config.selector, (event) => {\r\n const context = this._initializeOnDelegatedTarget(event);\r\n context._activeTrigger[event.type === 'focusin' ? TRIGGER_FOCUS : TRIGGER_HOVER] = true;\r\n context._enter();\r\n });\r\n EventHandler.on(this._element, eventOut, this._config.selector, (event) => {\r\n const context = this._initializeOnDelegatedTarget(event);\r\n context._activeTrigger[event.type === 'focusout' ? TRIGGER_FOCUS : TRIGGER_HOVER] =\r\n context._element.contains(event.relatedTarget);\r\n\r\n context._leave();\r\n });\r\n }\r\n }\r\n\r\n this._hideModalHandler = () => {\r\n if (this._element) {\r\n this.hide();\r\n }\r\n };\r\n\r\n EventHandler.on(\r\n this._element.closest(SELECTOR_MODAL),\r\n EVENT_MODAL_HIDE,\r\n this._hideModalHandler\r\n );\r\n }\r\n\r\n _fixTitle() {\r\n const title = this._element.getAttribute('title');\r\n\r\n if (!title) {\r\n return;\r\n }\r\n\r\n if (!this._element.getAttribute('aria-label') && !this._element.textContent.trim()) {\r\n this._element.setAttribute('aria-label', title);\r\n }\r\n\r\n this._element.setAttribute('data-mdb-original-title', title); // DO NOT USE IT. Is only for backwards compatibility\r\n this._element.removeAttribute('title');\r\n }\r\n\r\n _enter() {\r\n if (this._isShown() || this._isHovered) {\r\n this._isHovered = true;\r\n return;\r\n }\r\n\r\n this._isHovered = true;\r\n\r\n this._setTimeout(() => {\r\n if (this._isHovered) {\r\n this.show();\r\n }\r\n }, this._config.delay.show);\r\n }\r\n\r\n _leave() {\r\n if (this._isWithActiveTrigger()) {\r\n return;\r\n }\r\n\r\n this._isHovered = false;\r\n\r\n this._setTimeout(() => {\r\n if (!this._isHovered) {\r\n this.hide();\r\n }\r\n }, this._config.delay.hide);\r\n }\r\n\r\n _setTimeout(handler, timeout) {\r\n clearTimeout(this._timeout);\r\n this._timeout = setTimeout(handler, timeout);\r\n }\r\n\r\n _isWithActiveTrigger() {\r\n return Object.values(this._activeTrigger).includes(true);\r\n }\r\n\r\n _getConfig(config) {\r\n const dataAttributes = Manipulator.getDataAttributes(this._element);\r\n\r\n for (const dataAttribute of Object.keys(dataAttributes)) {\r\n if (DISALLOWED_ATTRIBUTES.has(dataAttribute)) {\r\n delete dataAttributes[dataAttribute];\r\n }\r\n }\r\n\r\n config = {\r\n ...dataAttributes,\r\n ...(typeof config === 'object' && config ? config : {}),\r\n };\r\n config = this._mergeConfigObj(config);\r\n config = this._configAfterMerge(config);\r\n this._typeCheckConfig(config);\r\n return config;\r\n }\r\n\r\n _configAfterMerge(config) {\r\n config.container = config.container === false ? document.body : getElement(config.container);\r\n\r\n if (typeof config.delay === 'number') {\r\n config.delay = {\r\n show: config.delay,\r\n hide: config.delay,\r\n };\r\n }\r\n\r\n if (typeof config.title === 'number') {\r\n config.title = config.title.toString();\r\n }\r\n\r\n if (typeof config.content === 'number') {\r\n config.content = config.content.toString();\r\n }\r\n\r\n return config;\r\n }\r\n\r\n _getDelegateConfig() {\r\n const config = {};\r\n\r\n for (const key in this._config) {\r\n if (this.constructor.Default[key] !== this._config[key]) {\r\n config[key] = this._config[key];\r\n }\r\n }\r\n\r\n config.selector = false;\r\n config.trigger = 'manual';\r\n\r\n // In the future can be replaced with:\r\n // const keysWithDifferentValues = Object.entries(this._config).filter(entry => this.constructor.Default[entry[0]] !== this._config[entry[0]])\r\n // `Object.fromEntries(keysWithDifferentValues)`\r\n return config;\r\n }\r\n\r\n _disposePopper() {\r\n if (this._popper) {\r\n this._popper.destroy();\r\n this._popper = null;\r\n }\r\n\r\n if (this.tip) {\r\n this.tip.remove();\r\n this.tip = null;\r\n }\r\n }\r\n\r\n // Static\r\n static jQueryInterface(config) {\r\n return this.each(function () {\r\n const data = Tooltip.getOrCreateInstance(this, config);\r\n\r\n if (typeof config !== 'string') {\r\n return;\r\n }\r\n\r\n if (typeof data[config] === 'undefined') {\r\n throw new TypeError(`No method named \"${config}\"`);\r\n }\r\n\r\n data[config]();\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * jQuery\r\n */\r\n\r\ndefineJQueryPlugin(Tooltip);\r\n\r\nexport default Tooltip;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): popover.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport { defineJQueryPlugin } from './util/index';\r\nimport Tooltip from './tooltip';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst NAME = 'popover';\r\n\r\nconst SELECTOR_TITLE = '.popover-header';\r\nconst SELECTOR_CONTENT = '.popover-body';\r\n\r\nconst Default = {\r\n ...Tooltip.Default,\r\n content: '',\r\n offset: [0, 8],\r\n placement: 'right',\r\n template:\r\n '<div class=\"popover\" role=\"tooltip\">' +\r\n '<div class=\"popover-arrow\"></div>' +\r\n '<h3 class=\"popover-header\"></h3>' +\r\n '<div class=\"popover-body\"></div>' +\r\n '</div>',\r\n trigger: 'click',\r\n};\r\n\r\nconst DefaultType = {\r\n ...Tooltip.DefaultType,\r\n content: '(null|string|element|function)',\r\n};\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass Popover extends Tooltip {\r\n // Getters\r\n static get Default() {\r\n return Default;\r\n }\r\n\r\n static get DefaultType() {\r\n return DefaultType;\r\n }\r\n\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Overrides\r\n _isWithContent() {\r\n return this._getTitle() || this._getContent();\r\n }\r\n\r\n // Private\r\n _getContentForTemplate() {\r\n return {\r\n [SELECTOR_TITLE]: this._getTitle(),\r\n [SELECTOR_CONTENT]: this._getContent(),\r\n };\r\n }\r\n\r\n _getContent() {\r\n return this._resolvePossibleFunction(this._config.content);\r\n }\r\n\r\n // Static\r\n static jQueryInterface(config) {\r\n return this.each(function () {\r\n const data = Popover.getOrCreateInstance(this, config);\r\n\r\n if (typeof config !== 'string') {\r\n return;\r\n }\r\n\r\n if (typeof data[config] === 'undefined') {\r\n throw new TypeError(`No method named \"${config}\"`);\r\n }\r\n\r\n data[config]();\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * jQuery\r\n */\r\n\r\ndefineJQueryPlugin(Popover);\r\n\r\nexport default Popover;\r\n","import { getjQuery, onDOMContentLoaded } from '../mdb/util/index';\r\nimport EventHandler from '../mdb/dom/event-handler';\r\nimport SelectorEngine from '../mdb/dom/selector-engine';\r\nimport BSPopover from '../bootstrap/mdb-prefix/popover';\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Constants\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nconst NAME = 'popover';\r\nconst DATA_KEY = `mdb.${NAME}`;\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\n\r\nconst EVENT_SHOW_BS = 'show.bs.popover';\r\nconst EVENT_SHOWN_BS = 'shown.bs.popover';\r\nconst EVENT_HIDE_BS = 'hide.bs.popover';\r\nconst EVENT_HIDDEN_BS = 'hidden.bs.popover';\r\nconst EVENT_INSERTED_BS = 'inserted.bs.popover';\r\n\r\nconst EVENT_SHOW = `show${EVENT_KEY}`;\r\nconst EVENT_SHOWN = `shown${EVENT_KEY}`;\r\nconst EVENT_HIDE = `hide${EVENT_KEY}`;\r\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`;\r\nconst EVENT_INSERTED = `inserted${EVENT_KEY}`;\r\n\r\nconst SELECTOR_DATA_TOGGLE = '[data-mdb-toggle=\"popover\"]';\r\n\r\nclass Popover extends BSPopover {\r\n constructor(element, data) {\r\n super(element, data);\r\n\r\n this._init();\r\n }\r\n\r\n dispose() {\r\n EventHandler.off(this.element, EVENT_SHOW_BS);\r\n EventHandler.off(this.element, EVENT_SHOWN_BS);\r\n EventHandler.off(this.element, EVENT_HIDE_BS);\r\n EventHandler.off(this.element, EVENT_HIDDEN_BS);\r\n EventHandler.off(this.element, EVENT_INSERTED_BS);\r\n\r\n super.dispose();\r\n }\r\n\r\n // Getters\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Private\r\n _init() {\r\n this._bindShowEvent();\r\n this._bindShownEvent();\r\n this._bindHideEvent();\r\n this._bindHiddenEvent();\r\n this._bindInsertedEvent();\r\n }\r\n\r\n _bindShowEvent() {\r\n EventHandler.on(this.element, EVENT_SHOW_BS, () => {\r\n EventHandler.trigger(this.element, EVENT_SHOW);\r\n });\r\n }\r\n\r\n _bindShownEvent() {\r\n EventHandler.on(this.element, EVENT_SHOWN_BS, () => {\r\n EventHandler.trigger(this.element, EVENT_SHOWN);\r\n });\r\n }\r\n\r\n _bindHideEvent() {\r\n EventHandler.on(this.element, EVENT_HIDE_BS, () => {\r\n EventHandler.trigger(this.element, EVENT_HIDE);\r\n });\r\n }\r\n\r\n _bindHiddenEvent() {\r\n EventHandler.on(this.element, EVENT_HIDDEN_BS, () => {\r\n EventHandler.trigger(this.element, EVENT_HIDDEN);\r\n });\r\n }\r\n\r\n _bindInsertedEvent() {\r\n EventHandler.on(this.element, EVENT_INSERTED_BS, () => {\r\n EventHandler.trigger(this.element, EVENT_INSERTED);\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Data Api implementation - auto initialization\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nSelectorEngine.find(SELECTOR_DATA_TOGGLE).forEach((el) => {\r\n let instance = Popover.getInstance(el);\r\n if (!instance) {\r\n instance = new Popover(el);\r\n }\r\n});\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * jQuery\r\n * ------------------------------------------------------------------------\r\n * add .rating to jQuery only if jQuery is present\r\n */\r\n\r\nonDOMContentLoaded(() => {\r\n const $ = getjQuery();\r\n\r\n if ($) {\r\n const JQUERY_NO_CONFLICT = $.fn[NAME];\r\n $.fn[NAME] = Popover.jQueryInterface;\r\n $.fn[NAME].Constructor = Popover;\r\n $.fn[NAME].noConflict = () => {\r\n $.fn[NAME] = JQUERY_NO_CONFLICT;\r\n return Popover.jQueryInterface;\r\n };\r\n }\r\n});\r\n\r\nexport default Popover;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): scrollspy.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport {\r\n defineJQueryPlugin,\r\n getElement,\r\n isDisabled,\r\n isVisible,\r\n getSelectorFromElement,\r\n} from './util/index';\r\nimport EventHandler from './dom/event-handler';\r\nimport SelectorEngine from './dom/selector-engine';\r\nimport BaseComponent from './base-component';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst NAME = 'scrollspy';\r\nconst DATA_KEY = 'bs.scrollspy';\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\nconst DATA_API_KEY = '.data-api';\r\n\r\nconst EVENT_ACTIVATE = `activate${EVENT_KEY}`;\r\nconst EVENT_CLICK = `click${EVENT_KEY}`;\r\nconst EVENT_LOAD_DATA_API = `load${EVENT_KEY}${DATA_API_KEY}`;\r\n\r\nconst CLASS_NAME_DROPDOWN_ITEM = 'dropdown-item';\r\nconst CLASS_NAME_ACTIVE = 'active';\r\n\r\nconst SELECTOR_DATA_SPY = '[data-mdb-spy=\"scroll\"]';\r\nconst SELECTOR_TARGET_LINKS = '[href]';\r\nconst SELECTOR_NAV_LIST_GROUP = '.nav, .list-group';\r\nconst SELECTOR_NAV_LINKS = '.nav-link';\r\nconst SELECTOR_NAV_ITEMS = '.nav-item';\r\nconst SELECTOR_LIST_ITEMS = '.list-group-item';\r\nconst SELECTOR_LINK_ITEMS = `${SELECTOR_NAV_LINKS}, ${SELECTOR_NAV_ITEMS} > ${SELECTOR_NAV_LINKS}, ${SELECTOR_LIST_ITEMS}`;\r\nconst SELECTOR_DROPDOWN = '.dropdown';\r\nconst SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle';\r\n\r\nconst Default = {\r\n offset: null, // TODO: v6 @deprecated, keep it for backwards compatibility reasons\r\n rootMargin: '0px 0px -25%',\r\n smoothScroll: false,\r\n target: null,\r\n threshold: [0.1, 0.5, 1],\r\n};\r\n\r\nconst DefaultType = {\r\n offset: '(number|null)', // TODO v6 @deprecated, keep it for backwards compatibility reasons\r\n rootMargin: 'string',\r\n smoothScroll: 'boolean',\r\n target: 'element',\r\n threshold: 'array',\r\n};\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass ScrollSpy extends BaseComponent {\r\n constructor(element, config) {\r\n super(element, config);\r\n\r\n if (!this._config.target) {\r\n return;\r\n }\r\n\r\n // this._element is the observablesContainer and config.target the menu links wrapper\r\n this._targetLinks = new Map();\r\n this._observableSections = new Map();\r\n this._rootElement =\r\n getComputedStyle(this._element).overflowY === 'visible' ? null : this._element;\r\n this._activeTarget = null;\r\n this._observer = null;\r\n this._previousScrollData = {\r\n visibleEntryTop: 0,\r\n parentScrollTop: 0,\r\n };\r\n this.refresh(); // initialize\r\n }\r\n\r\n // Getters\r\n static get Default() {\r\n return Default;\r\n }\r\n\r\n static get DefaultType() {\r\n return DefaultType;\r\n }\r\n\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Public\r\n refresh() {\r\n this._initializeTargetsAndObservables();\r\n this._maybeEnableSmoothScroll();\r\n\r\n if (this._observer) {\r\n this._observer.disconnect();\r\n } else {\r\n this._observer = this._getNewObserver();\r\n }\r\n\r\n for (const section of this._observableSections.values()) {\r\n this._observer.observe(section);\r\n }\r\n }\r\n\r\n dispose() {\r\n if (this._observer) {\r\n this._observer.disconnect();\r\n }\r\n super.dispose();\r\n }\r\n\r\n // Private\r\n _configAfterMerge(config) {\r\n // TODO: on v6 target should be given explicitly & remove the {target: 'ss-target'} case\r\n config.target = getElement(config.target) || document.body;\r\n\r\n // TODO: v6 Only for backwards compatibility reasons. Use rootMargin only\r\n config.rootMargin = config.offset ? `${config.offset}px 0px -30%` : config.rootMargin;\r\n\r\n if (typeof config.threshold === 'string') {\r\n config.threshold = config.threshold.split(',').map((value) => Number.parseFloat(value));\r\n }\r\n\r\n return config;\r\n }\r\n\r\n _maybeEnableSmoothScroll() {\r\n if (!this._config.smoothScroll) {\r\n return;\r\n }\r\n\r\n // unregister any previous listeners\r\n EventHandler.off(this._config.target, EVENT_CLICK);\r\n\r\n EventHandler.on(this._config.target, EVENT_CLICK, SELECTOR_TARGET_LINKS, (event) => {\r\n const observableSection = this._observableSections.get(event.target.hash);\r\n if (observableSection) {\r\n event.preventDefault();\r\n const root = this._rootElement || window;\r\n const height = observableSection.offsetTop - this._element.offsetTop;\r\n if (root.scrollTo) {\r\n root.scrollTo({ top: height, behavior: 'smooth' });\r\n return;\r\n }\r\n\r\n // Chrome 60 doesn't support `scrollTo`\r\n root.scrollTop = height;\r\n }\r\n });\r\n }\r\n\r\n _getNewObserver() {\r\n const options = {\r\n root: this._rootElement,\r\n threshold: this._config.threshold,\r\n rootMargin: this._config.rootMargin,\r\n };\r\n return new IntersectionObserver((entries) => this._observerCallback(entries), options);\r\n }\r\n\r\n // The logic of selection\r\n _observerCallback(entries) {\r\n const targetElement = (entry) => this._targetLinks.get(`#${entry.target.id}`);\r\n const activate = (entry) => {\r\n this._previousScrollData.visibleEntryTop = entry.target.offsetTop;\r\n this._process(targetElement(entry));\r\n };\r\n\r\n const parentScrollTop = (this._rootElement || document.documentElement).scrollTop;\r\n const userScrollsDown = parentScrollTop >= this._previousScrollData.parentScrollTop;\r\n this._previousScrollData.parentScrollTop = parentScrollTop;\r\n\r\n for (const entry of entries) {\r\n if (!entry.isIntersecting) {\r\n this._activeTarget = null;\r\n this._clearActiveClass(targetElement(entry));\r\n\r\n continue;\r\n }\r\n\r\n const entryIsLowerThanPrevious =\r\n entry.target.offsetTop >= this._previousScrollData.visibleEntryTop;\r\n // if we are scrolling down, pick the bigger offsetTop\r\n if (userScrollsDown && entryIsLowerThanPrevious) {\r\n activate(entry);\r\n // if parent isn't scrolled, let's keep the first visible item, breaking the iteration\r\n if (!parentScrollTop) {\r\n return;\r\n }\r\n\r\n continue;\r\n }\r\n\r\n // if we are scrolling up, pick the smallest offsetTop\r\n if (!userScrollsDown && !entryIsLowerThanPrevious) {\r\n activate(entry);\r\n }\r\n }\r\n }\r\n\r\n _initializeTargetsAndObservables() {\r\n this._targetLinks = new Map();\r\n this._observableSections = new Map();\r\n\r\n const targetLinks = SelectorEngine.find(SELECTOR_TARGET_LINKS, this._config.target);\r\n\r\n for (const anchor of targetLinks) {\r\n // ensure that the anchor has an id and is not disabled\r\n if (!anchor.hash || isDisabled(anchor)) {\r\n continue;\r\n }\r\n\r\n const observableSection = SelectorEngine.findOne(anchor.hash, this._element);\r\n\r\n // ensure that the observableSection exists & is visible\r\n if (isVisible(observableSection)) {\r\n this._targetLinks.set(anchor.hash, anchor);\r\n this._observableSections.set(anchor.hash, observableSection);\r\n }\r\n }\r\n }\r\n\r\n _process(target) {\r\n if (this._activeTarget === target) {\r\n return;\r\n }\r\n\r\n this._clearActiveClass(this._config.target);\r\n this._activeTarget = target;\r\n target.classList.add(CLASS_NAME_ACTIVE);\r\n this._activateParents(target);\r\n\r\n EventHandler.trigger(this._element, EVENT_ACTIVATE, { relatedTarget: target });\r\n }\r\n\r\n _activateParents(target) {\r\n // Activate dropdown parents\r\n if (target.classList.contains(CLASS_NAME_DROPDOWN_ITEM)) {\r\n SelectorEngine.findOne(\r\n SELECTOR_DROPDOWN_TOGGLE,\r\n target.closest(SELECTOR_DROPDOWN)\r\n ).classList.add(CLASS_NAME_ACTIVE);\r\n return;\r\n }\r\n\r\n for (const listGroup of SelectorEngine.parents(target, SELECTOR_NAV_LIST_GROUP)) {\r\n // Set triggered links parents as active\r\n // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor\r\n for (const item of SelectorEngine.prev(listGroup, SELECTOR_LINK_ITEMS)) {\r\n item.classList.add(CLASS_NAME_ACTIVE);\r\n }\r\n }\r\n }\r\n\r\n _clearActiveClass(parent) {\r\n parent.classList.remove(CLASS_NAME_ACTIVE);\r\n\r\n const activeNodes = SelectorEngine.find(\r\n `${SELECTOR_TARGET_LINKS}.${CLASS_NAME_ACTIVE}`,\r\n parent\r\n );\r\n for (const node of activeNodes) {\r\n node.classList.remove(CLASS_NAME_ACTIVE);\r\n }\r\n }\r\n\r\n // Static\r\n static jQueryInterface(config) {\r\n return this.each(function () {\r\n const data = ScrollSpy.getOrCreateInstance(this, config);\r\n\r\n if (typeof config !== 'string') {\r\n return;\r\n }\r\n\r\n if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\r\n throw new TypeError(`No method named \"${config}\"`);\r\n }\r\n\r\n data[config]();\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * Data API implementation\r\n */\r\n\r\n// EventHandler.on(window, EVENT_LOAD_DATA_API, () => {\r\n// for (const spy of SelectorEngine.find(SELECTOR_DATA_SPY)) {\r\n// ScrollSpy.getOrCreateInstance(spy);\r\n// }\r\n// });\r\n\r\n/**\r\n * jQuery\r\n */\r\n\r\ndefineJQueryPlugin(ScrollSpy);\r\n\r\nexport default ScrollSpy;\r\n","import { getjQuery, onDOMContentLoaded } from '../mdb/util/index';\r\nimport EventHandler from '../mdb/dom/event-handler';\r\nimport SelectorEngine from '../mdb/dom/selector-engine';\r\nimport Manipulator from '../mdb/dom/manipulator';\r\nimport BSScrollSpy from '../bootstrap/mdb-prefix/scrollspy';\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Constants\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nconst NAME = 'scrollspy';\r\nconst DATA_KEY = `mdb.${NAME}`;\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\nconst DATA_API_KEY = '.data-api';\r\n\r\nconst EVENT_ACTIVATE_BS = 'activate.bs.scrollspy';\r\nconst EVENT_ACTIVATE = `activate${EVENT_KEY}`;\r\nconst EVENT_LOAD_DATA_API = `load${EVENT_KEY}${DATA_API_KEY}`;\r\n\r\nconst CLASS_COLLAPSIBLE = 'collapsible-scrollspy';\r\nconst CLASS_ACTIVE = 'active';\r\n\r\nconst SELECTOR_LIST = 'ul';\r\nconst SELECTOR_DATA_SPY = '[data-mdb-spy=\"scroll\"]';\r\nconst SELECTOR_ACTIVE = `.${CLASS_ACTIVE}`;\r\nconst SELECTOR_COLLAPSIBLE_SCROLLSPY = `.${CLASS_COLLAPSIBLE}`;\r\n\r\nclass ScrollSpy extends BSScrollSpy {\r\n constructor(element, data) {\r\n super(element, data);\r\n\r\n this._collapsibles = [];\r\n this._init();\r\n }\r\n\r\n dispose() {\r\n EventHandler.off(this._scrollElement, EVENT_ACTIVATE_BS);\r\n\r\n super.dispose();\r\n }\r\n\r\n // Getters\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Private\r\n _init() {\r\n this._bindActivateEvent();\r\n this._getCollapsibles();\r\n\r\n if (this._collapsibles.length === 0) {\r\n return;\r\n }\r\n\r\n this._showSubsection();\r\n this._hideSubsection();\r\n }\r\n\r\n _getHeight(element) {\r\n return element.offsetHeight;\r\n }\r\n\r\n _hide(target) {\r\n const itemsToHide = SelectorEngine.findOne(SELECTOR_LIST, target.parentNode);\r\n itemsToHide.style.overflow = 'hidden';\r\n itemsToHide.style.height = `${0}px`;\r\n }\r\n\r\n _show(target, destinedHeight) {\r\n target.style.height = destinedHeight;\r\n }\r\n\r\n _getCollapsibles() {\r\n const collapsibleElements = SelectorEngine.find(SELECTOR_COLLAPSIBLE_SCROLLSPY);\r\n\r\n if (!collapsibleElements) {\r\n return;\r\n }\r\n\r\n collapsibleElements.forEach((collapsibleElement) => {\r\n const listParent = collapsibleElement.parentNode;\r\n const list = SelectorEngine.findOne(SELECTOR_LIST, listParent);\r\n const listHeight = list.offsetHeight;\r\n this._collapsibles.push({\r\n element: list,\r\n relatedTarget: collapsibleElement.getAttribute('href'),\r\n height: `${listHeight}px`,\r\n });\r\n });\r\n }\r\n\r\n _showSubsection() {\r\n const activeElements = SelectorEngine.find(SELECTOR_ACTIVE);\r\n const actives = activeElements.filter((active) => {\r\n return Manipulator.hasClass(active, CLASS_COLLAPSIBLE);\r\n });\r\n\r\n actives.forEach((active) => {\r\n const list = SelectorEngine.findOne(SELECTOR_LIST, active.parentNode);\r\n const height = this._collapsibles.find((collapsible) => {\r\n return (collapsible.relatedTarget = active.getAttribute('href'));\r\n }).height;\r\n this._show(list, height);\r\n });\r\n }\r\n\r\n _hideSubsection() {\r\n const unactives = SelectorEngine.find(SELECTOR_COLLAPSIBLE_SCROLLSPY).filter((collapsible) => {\r\n return Manipulator.hasClass(collapsible, 'active') === false;\r\n });\r\n unactives.forEach((unactive) => {\r\n this._hide(unactive);\r\n });\r\n }\r\n\r\n _bindActivateEvent() {\r\n EventHandler.on(this._element, EVENT_ACTIVATE_BS, (e) => {\r\n this._showSubsection();\r\n this._hideSubsection();\r\n EventHandler.trigger(this._element, EVENT_ACTIVATE, {\r\n relatedTarget: e.relatedTarget,\r\n });\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Data Api implementation - auto initialization\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nEventHandler.on(window, EVENT_LOAD_DATA_API, () => {\r\n SelectorEngine.find(SELECTOR_DATA_SPY).forEach((el) => {\r\n let instance = ScrollSpy.getInstance(el);\r\n if (!instance) {\r\n instance = new ScrollSpy(el, Manipulator.getDataAttributes(el));\r\n }\r\n });\r\n});\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * jQuery\r\n * ------------------------------------------------------------------------\r\n * add .rating to jQuery only if jQuery is present\r\n */\r\n\r\nonDOMContentLoaded(() => {\r\n const $ = getjQuery();\r\n\r\n if ($) {\r\n const JQUERY_NO_CONFLICT = $.fn[NAME];\r\n $.fn[NAME] = ScrollSpy.jQueryInterface;\r\n $.fn[NAME].Constructor = ScrollSpy;\r\n $.fn[NAME].noConflict = () => {\r\n $.fn[NAME] = JQUERY_NO_CONFLICT;\r\n return ScrollSpy.jQueryInterface;\r\n };\r\n }\r\n});\r\n\r\nexport default ScrollSpy;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): tab.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport {\r\n defineJQueryPlugin,\r\n getElementFromSelector,\r\n getNextActiveElement,\r\n isDisabled,\r\n} from './util/index';\r\nimport EventHandler from './dom/event-handler';\r\nimport SelectorEngine from './dom/selector-engine';\r\nimport BaseComponent from './base-component';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst NAME = 'tab';\r\nconst DATA_KEY = 'bs.tab';\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\n\r\nconst EVENT_HIDE = `hide${EVENT_KEY}`;\r\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`;\r\nconst EVENT_SHOW = `show${EVENT_KEY}`;\r\nconst EVENT_SHOWN = `shown${EVENT_KEY}`;\r\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}`;\r\nconst EVENT_KEYDOWN = `keydown${EVENT_KEY}`;\r\nconst EVENT_LOAD_DATA_API = `load${EVENT_KEY}`;\r\n\r\nconst ARROW_LEFT_KEY = 'ArrowLeft';\r\nconst ARROW_RIGHT_KEY = 'ArrowRight';\r\nconst ARROW_UP_KEY = 'ArrowUp';\r\nconst ARROW_DOWN_KEY = 'ArrowDown';\r\n\r\nconst CLASS_NAME_ACTIVE = 'active';\r\nconst CLASS_NAME_FADE = 'fade';\r\nconst CLASS_NAME_SHOW = 'show';\r\nconst CLASS_DROPDOWN = 'dropdown';\r\n\r\nconst SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle';\r\nconst SELECTOR_DROPDOWN_MENU = '.dropdown-menu';\r\nconst NOT_SELECTOR_DROPDOWN_TOGGLE = ':not(.dropdown-toggle)';\r\n\r\nconst SELECTOR_TAB_PANEL = '.list-group, .nav, [role=\"tablist\"]';\r\nconst SELECTOR_OUTER = '.nav-item, .list-group-item';\r\nconst SELECTOR_INNER = `.nav-link${NOT_SELECTOR_DROPDOWN_TOGGLE}, .list-group-item${NOT_SELECTOR_DROPDOWN_TOGGLE}, [role=\"tab\"]${NOT_SELECTOR_DROPDOWN_TOGGLE}`;\r\nconst SELECTOR_DATA_TOGGLE =\r\n '[data-mdb-toggle=\"tab\"], [data-mdb-toggle=\"pill\"], [data-mdb-toggle=\"list\"]'; // todo:v6: could be only `tab`\r\nconst SELECTOR_INNER_ELEM = `${SELECTOR_INNER}, ${SELECTOR_DATA_TOGGLE}`;\r\n\r\nconst SELECTOR_DATA_TOGGLE_ACTIVE = `.${CLASS_NAME_ACTIVE}[data-mdb-toggle=\"tab\"], .${CLASS_NAME_ACTIVE}[data-mdb-toggle=\"pill\"], .${CLASS_NAME_ACTIVE}[data-mdb-toggle=\"list\"]`;\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass Tab extends BaseComponent {\r\n constructor(element) {\r\n super(element);\r\n this._parent = this._element.closest(SELECTOR_TAB_PANEL);\r\n\r\n if (!this._parent) {\r\n return;\r\n // todo: should Throw exception on v6\r\n // throw new TypeError(`${element.outerHTML} has not a valid parent ${SELECTOR_INNER_ELEM}`)\r\n }\r\n\r\n // Set up initial aria attributes\r\n this._setInitialAttributes(this._parent, this._getChildren());\r\n\r\n EventHandler.on(this._element, EVENT_KEYDOWN, (event) => this._keydown(event));\r\n }\r\n\r\n // Getters\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Public\r\n show() {\r\n // Shows this elem and deactivate the active sibling if exists\r\n const innerElem = this._element;\r\n if (this._elemIsActive(innerElem)) {\r\n return;\r\n }\r\n\r\n // Search for active tab on same parent to deactivate it\r\n const active = this._getActiveElem();\r\n\r\n const hideEvent = active\r\n ? EventHandler.trigger(active, EVENT_HIDE, { relatedTarget: innerElem })\r\n : null;\r\n\r\n const showEvent = EventHandler.trigger(innerElem, EVENT_SHOW, { relatedTarget: active });\r\n\r\n if (showEvent.defaultPrevented || (hideEvent && hideEvent.defaultPrevented)) {\r\n return;\r\n }\r\n\r\n this._deactivate(active, innerElem);\r\n this._activate(innerElem, active);\r\n }\r\n\r\n // Private\r\n _activate(element, relatedElem) {\r\n if (!element) {\r\n return;\r\n }\r\n\r\n element.classList.add(CLASS_NAME_ACTIVE);\r\n\r\n this._activate(getElementFromSelector(element)); // Search and activate/show the proper section\r\n\r\n const complete = () => {\r\n if (element.getAttribute('role') !== 'tab') {\r\n element.classList.add(CLASS_NAME_SHOW);\r\n return;\r\n }\r\n\r\n element.removeAttribute('tabindex');\r\n element.setAttribute('aria-selected', true);\r\n this._toggleDropDown(element, true);\r\n EventHandler.trigger(element, EVENT_SHOWN, {\r\n relatedTarget: relatedElem,\r\n });\r\n };\r\n\r\n this._queueCallback(complete, element, element.classList.contains(CLASS_NAME_FADE));\r\n }\r\n\r\n _deactivate(element, relatedElem) {\r\n if (!element) {\r\n return;\r\n }\r\n\r\n element.classList.remove(CLASS_NAME_ACTIVE);\r\n element.blur();\r\n\r\n this._deactivate(getElementFromSelector(element)); // Search and deactivate the shown section too\r\n\r\n const complete = () => {\r\n if (element.getAttribute('role') !== 'tab') {\r\n element.classList.remove(CLASS_NAME_SHOW);\r\n return;\r\n }\r\n\r\n element.setAttribute('aria-selected', false);\r\n element.setAttribute('tabindex', '-1');\r\n this._toggleDropDown(element, false);\r\n EventHandler.trigger(element, EVENT_HIDDEN, { relatedTarget: relatedElem });\r\n };\r\n\r\n this._queueCallback(complete, element, element.classList.contains(CLASS_NAME_FADE));\r\n }\r\n\r\n _keydown(event) {\r\n if (![ARROW_LEFT_KEY, ARROW_RIGHT_KEY, ARROW_UP_KEY, ARROW_DOWN_KEY].includes(event.key)) {\r\n return;\r\n }\r\n\r\n event.stopPropagation(); // stopPropagation/preventDefault both added to support up/down keys without scrolling the page\r\n event.preventDefault();\r\n const isNext = [ARROW_RIGHT_KEY, ARROW_DOWN_KEY].includes(event.key);\r\n const nextActiveElement = getNextActiveElement(\r\n this._getChildren().filter((element) => !isDisabled(element)),\r\n event.target,\r\n isNext,\r\n true\r\n );\r\n\r\n if (nextActiveElement) {\r\n nextActiveElement.focus({ preventScroll: true });\r\n Tab.getOrCreateInstance(nextActiveElement).show();\r\n }\r\n }\r\n\r\n _getChildren() {\r\n // collection of inner elements\r\n return SelectorEngine.find(SELECTOR_INNER_ELEM, this._parent);\r\n }\r\n\r\n _getActiveElem() {\r\n return this._getChildren().find((child) => this._elemIsActive(child)) || null;\r\n }\r\n\r\n _setInitialAttributes(parent, children) {\r\n this._setAttributeIfNotExists(parent, 'role', 'tablist');\r\n\r\n for (const child of children) {\r\n this._setInitialAttributesOnChild(child);\r\n }\r\n }\r\n\r\n _setInitialAttributesOnChild(child) {\r\n child = this._getInnerElement(child);\r\n const isActive = this._elemIsActive(child);\r\n const outerElem = this._getOuterElement(child);\r\n child.setAttribute('aria-selected', isActive);\r\n\r\n if (outerElem !== child) {\r\n this._setAttributeIfNotExists(outerElem, 'role', 'presentation');\r\n }\r\n\r\n if (!isActive) {\r\n child.setAttribute('tabindex', '-1');\r\n }\r\n\r\n this._setAttributeIfNotExists(child, 'role', 'tab');\r\n\r\n // set attributes to the related panel too\r\n this._setInitialAttributesOnTargetPanel(child);\r\n }\r\n\r\n _setInitialAttributesOnTargetPanel(child) {\r\n const target = getElementFromSelector(child);\r\n\r\n if (!target) {\r\n return;\r\n }\r\n\r\n this._setAttributeIfNotExists(target, 'role', 'tabpanel');\r\n\r\n if (child.id) {\r\n this._setAttributeIfNotExists(target, 'aria-labelledby', `#${child.id}`);\r\n }\r\n }\r\n\r\n _toggleDropDown(element, open) {\r\n const outerElem = this._getOuterElement(element);\r\n if (!outerElem.classList.contains(CLASS_DROPDOWN)) {\r\n return;\r\n }\r\n\r\n const toggle = (selector, className) => {\r\n const element = SelectorEngine.findOne(selector, outerElem);\r\n if (element) {\r\n element.classList.toggle(className, open);\r\n }\r\n };\r\n\r\n toggle(SELECTOR_DROPDOWN_TOGGLE, CLASS_NAME_ACTIVE);\r\n toggle(SELECTOR_DROPDOWN_MENU, CLASS_NAME_SHOW);\r\n outerElem.setAttribute('aria-expanded', open);\r\n }\r\n\r\n _setAttributeIfNotExists(element, attribute, value) {\r\n if (!element.hasAttribute(attribute)) {\r\n element.setAttribute(attribute, value);\r\n }\r\n }\r\n\r\n _elemIsActive(elem) {\r\n return elem.classList.contains(CLASS_NAME_ACTIVE);\r\n }\r\n\r\n // Try to get the inner element (usually the .nav-link)\r\n _getInnerElement(elem) {\r\n return elem.matches(SELECTOR_INNER_ELEM)\r\n ? elem\r\n : SelectorEngine.findOne(SELECTOR_INNER_ELEM, elem);\r\n }\r\n\r\n // Try to get the outer element (usually the .nav-item)\r\n _getOuterElement(elem) {\r\n return elem.closest(SELECTOR_OUTER) || elem;\r\n }\r\n\r\n // Static\r\n static jQueryInterface(config) {\r\n return this.each(function () {\r\n const data = Tab.getOrCreateInstance(this);\r\n\r\n if (typeof config !== 'string') {\r\n return;\r\n }\r\n\r\n if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\r\n throw new TypeError(`No method named \"${config}\"`);\r\n }\r\n\r\n data[config]();\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * Data API implementation\r\n */\r\n\r\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\r\n if (['A', 'AREA'].includes(this.tagName)) {\r\n event.preventDefault();\r\n }\r\n\r\n if (isDisabled(this)) {\r\n return;\r\n }\r\n\r\n Tab.getOrCreateInstance(this).show();\r\n});\r\n\r\n/**\r\n * Initialize on focus\r\n */\r\nEventHandler.on(window, EVENT_LOAD_DATA_API, () => {\r\n for (const element of SelectorEngine.find(SELECTOR_DATA_TOGGLE_ACTIVE)) {\r\n Tab.getOrCreateInstance(element);\r\n }\r\n});\r\n/**\r\n * jQuery\r\n */\r\n\r\ndefineJQueryPlugin(Tab);\r\n\r\nexport default Tab;\r\n","import { getjQuery, getElementFromSelector, onDOMContentLoaded } from '../mdb/util/index';\r\nimport EventHandler from '../mdb/dom/event-handler';\r\nimport SelectorEngine from '../mdb/dom/selector-engine';\r\nimport BSTab from '../bootstrap/mdb-prefix/tab';\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Constants\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nconst NAME = 'tab';\r\nconst DATA_KEY = `mdb.${NAME}`;\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\n\r\nconst EVENT_SHOW_BS = 'show.bs.tab';\r\nconst EVENT_SHOWN_BS = 'shown.bs.tab';\r\nconst EVENT_HIDE_BS = 'hide.bs.tab';\r\nconst EVENT_HIDDEN_BS = 'hidden.bs.tab';\r\n\r\nconst EVENT_SHOW = `show${EVENT_KEY}`;\r\nconst EVENT_SHOWN = `shown${EVENT_KEY}`;\r\nconst EVENT_HIDE = `hide${EVENT_KEY}`;\r\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`;\r\n\r\nconst CLASS_NAME_ACTIVE = 'active';\r\nconst CLASS_NAME_FADE = 'fade';\r\nconst CLASS_NAME_SHOW = 'show';\r\n\r\nconst SELECTOR_DATA_TOGGLE =\r\n '[data-mdb-toggle=\"tab\"], [data-mdb-toggle=\"pill\"], [data-mdb-toggle=\"list\"]';\r\n\r\nclass Tab extends BSTab {\r\n dispose() {\r\n EventHandler.off(this._element, EVENT_SHOW_BS);\r\n EventHandler.off(this._element, EVENT_SHOWN_BS);\r\n\r\n super.dispose();\r\n }\r\n\r\n // Getters\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Override\r\n show() {\r\n // Shows this elem and deactivate the active sibling if exists\r\n const innerElem = this._element;\r\n if (this._elemIsActive(innerElem)) {\r\n return;\r\n }\r\n\r\n // Search for active tab on same parent to deactivate it\r\n const active = this._getActiveElem();\r\n\r\n let hideEvent = null;\r\n let hideEventMdb = null;\r\n\r\n if (active) {\r\n hideEvent = EventHandler.trigger(active, EVENT_HIDE_BS, { relatedTarget: innerElem });\r\n hideEventMdb = EventHandler.trigger(active, EVENT_HIDE, { relatedTarget: innerElem });\r\n }\r\n\r\n const showEvent = EventHandler.trigger(innerElem, EVENT_SHOW_BS, { relatedTarget: active });\r\n const showEventMdb = EventHandler.trigger(innerElem, EVENT_SHOW, { relatedTarget: active });\r\n\r\n if (\r\n (showEvent.defaultPrevented && showEventMdb.defaultPrevented) ||\r\n (hideEvent && hideEvent.defaultPrevented && hideEventMdb && hideEventMdb.defaultPrevented)\r\n ) {\r\n return;\r\n }\r\n\r\n this._deactivate(active, innerElem);\r\n this._activate(innerElem, active);\r\n }\r\n\r\n _activate(element, relatedElem) {\r\n if (!element) {\r\n return;\r\n }\r\n\r\n element.classList.add(CLASS_NAME_ACTIVE);\r\n\r\n this._activate(getElementFromSelector(element)); // Search and activate/show the proper section\r\n\r\n const complete = () => {\r\n if (element.getAttribute('role') !== 'tab') {\r\n element.classList.add(CLASS_NAME_SHOW);\r\n return;\r\n }\r\n\r\n element.focus();\r\n element.removeAttribute('tabindex');\r\n element.setAttribute('aria-selected', true);\r\n this._toggleDropDown(element, true);\r\n EventHandler.trigger(element, EVENT_SHOWN_BS, {\r\n relatedTarget: relatedElem,\r\n });\r\n EventHandler.trigger(element, EVENT_SHOWN, {\r\n relatedTarget: relatedElem,\r\n });\r\n };\r\n\r\n this._queueCallback(complete, element, element.classList.contains(CLASS_NAME_FADE));\r\n }\r\n\r\n _deactivate(element, relatedElem) {\r\n if (!element) {\r\n return;\r\n }\r\n\r\n element.classList.remove(CLASS_NAME_ACTIVE);\r\n element.blur();\r\n\r\n this._deactivate(getElementFromSelector(element)); // Search and deactivate the shown section too\r\n\r\n const complete = () => {\r\n if (element.getAttribute('role') !== 'tab') {\r\n element.classList.remove(CLASS_NAME_SHOW);\r\n return;\r\n }\r\n\r\n element.setAttribute('aria-selected', false);\r\n element.setAttribute('tabindex', '-1');\r\n this._toggleDropDown(element, false);\r\n EventHandler.trigger(element, EVENT_HIDDEN_BS, { relatedTarget: relatedElem });\r\n EventHandler.trigger(element, EVENT_HIDDEN, { relatedTarget: relatedElem });\r\n };\r\n\r\n this._queueCallback(complete, element, element.classList.contains(CLASS_NAME_FADE));\r\n }\r\n}\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Data Api implementation - auto initialization\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nSelectorEngine.find(SELECTOR_DATA_TOGGLE).forEach((el) => {\r\n let instance = Tab.getInstance(el);\r\n if (!instance) {\r\n instance = new Tab(el);\r\n }\r\n});\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * jQuery\r\n * ------------------------------------------------------------------------\r\n * add .rating to jQuery only if jQuery is present\r\n */\r\n\r\nonDOMContentLoaded(() => {\r\n const $ = getjQuery();\r\n\r\n if ($) {\r\n const JQUERY_NO_CONFLICT = $.fn[NAME];\r\n $.fn[NAME] = Tab.jQueryInterface;\r\n $.fn[NAME].Constructor = Tab;\r\n $.fn[NAME].noConflict = () => {\r\n $.fn[NAME] = JQUERY_NO_CONFLICT;\r\n return Tab.jQueryInterface;\r\n };\r\n }\r\n});\r\n\r\nexport default Tab;\r\n","import { getjQuery, onDOMContentLoaded } from '../mdb/util/index';\r\nimport EventHandler from '../mdb/dom/event-handler';\r\nimport BSTooltip from '../bootstrap/mdb-prefix/tooltip';\r\nimport SelectorEngine from '../mdb/dom/selector-engine';\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Constants\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nconst NAME = 'tooltip';\r\nconst DATA_KEY = `mdb.${NAME}`;\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\n\r\nconst EVENT_HIDE_BS = 'hide.bs.tooltip';\r\nconst EVENT_HIDDEN_BS = 'hidden.bs.tooltip';\r\nconst EVENT_SHOW_BS = 'show.bs.tooltip';\r\nconst EVENT_SHOWN_BS = 'shown.bs.tooltip';\r\nconst EVENT_INSERTED_BS = 'inserted.bs.tooltip';\r\n\r\nconst EVENT_HIDE = `hide${EVENT_KEY}`;\r\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`;\r\nconst EVENT_SHOW = `show${EVENT_KEY}`;\r\nconst EVENT_SHOWN = `shown${EVENT_KEY}`;\r\nconst EVENT_INSERTED = `inserted${EVENT_KEY}`;\r\n\r\nconst SELECTOR_DATA_TOGGLE = '[data-mdb-toggle=\"tooltip\"]';\r\n\r\nclass Tooltip extends BSTooltip {\r\n constructor(element, data) {\r\n super(element, data);\r\n\r\n this._init();\r\n }\r\n\r\n dispose() {\r\n EventHandler.off(this._element, EVENT_SHOW_BS);\r\n EventHandler.off(this._element, EVENT_SHOWN_BS);\r\n EventHandler.off(this._element, EVENT_HIDE_BS);\r\n EventHandler.off(this._element, EVENT_HIDDEN_BS);\r\n EventHandler.off(this._element, EVENT_INSERTED_BS);\r\n\r\n super.dispose();\r\n }\r\n\r\n // Getters\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Private\r\n _init() {\r\n this._bindShowEvent();\r\n this._bindShownEvent();\r\n this._bindHideEvent();\r\n this._bindHiddenEvent();\r\n this._bindHidePreventedEvent();\r\n }\r\n\r\n _bindShowEvent() {\r\n EventHandler.on(this.element, EVENT_SHOW_BS, () => {\r\n EventHandler.trigger(this.element, EVENT_SHOW);\r\n });\r\n }\r\n\r\n _bindShownEvent() {\r\n EventHandler.on(this.element, EVENT_SHOWN_BS, () => {\r\n EventHandler.trigger(this.element, EVENT_SHOWN);\r\n });\r\n }\r\n\r\n _bindHideEvent() {\r\n EventHandler.on(this.element, EVENT_HIDE_BS, () => {\r\n EventHandler.trigger(this.element, EVENT_HIDE);\r\n });\r\n }\r\n\r\n _bindHiddenEvent() {\r\n EventHandler.on(this.element, EVENT_HIDDEN_BS, () => {\r\n EventHandler.trigger(this.element, EVENT_HIDDEN);\r\n });\r\n }\r\n\r\n _bindHidePreventedEvent() {\r\n EventHandler.on(this.element, EVENT_INSERTED_BS, () => {\r\n EventHandler.trigger(this.element, EVENT_INSERTED);\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Data Api implementation - auto initialization\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nSelectorEngine.find(SELECTOR_DATA_TOGGLE).forEach((el) => {\r\n let instance = Tooltip.getInstance(el);\r\n if (!instance) {\r\n instance = new Tooltip(el);\r\n }\r\n});\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * jQuery\r\n * ------------------------------------------------------------------------\r\n * add .rating to jQuery only if jQuery is present\r\n */\r\n\r\nonDOMContentLoaded(() => {\r\n const $ = getjQuery();\r\n\r\n if ($) {\r\n const JQUERY_NO_CONFLICT = $.fn[NAME];\r\n $.fn[NAME] = Tooltip.jQueryInterface;\r\n $.fn[NAME].Constructor = Tooltip;\r\n $.fn[NAME].noConflict = () => {\r\n $.fn[NAME] = JQUERY_NO_CONFLICT;\r\n return Tooltip.jQueryInterface;\r\n };\r\n }\r\n});\r\n\r\nexport default Tooltip;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): toast.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport { defineJQueryPlugin, reflow } from './util/index';\r\nimport EventHandler from './dom/event-handler';\r\nimport BaseComponent from './base-component';\r\nimport { enableDismissTrigger } from './util/component-functions';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst NAME = 'toast';\r\nconst DATA_KEY = 'bs.toast';\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\n\r\nconst EVENT_MOUSEOVER = `mouseover${EVENT_KEY}`;\r\nconst EVENT_MOUSEOUT = `mouseout${EVENT_KEY}`;\r\nconst EVENT_FOCUSIN = `focusin${EVENT_KEY}`;\r\nconst EVENT_FOCUSOUT = `focusout${EVENT_KEY}`;\r\nconst EVENT_HIDE = `hide${EVENT_KEY}`;\r\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`;\r\nconst EVENT_SHOW = `show${EVENT_KEY}`;\r\nconst EVENT_SHOWN = `shown${EVENT_KEY}`;\r\n\r\nconst CLASS_NAME_FADE = 'fade';\r\nconst CLASS_NAME_HIDE = 'hide'; // @deprecated - kept here only for backwards compatibility\r\nconst CLASS_NAME_SHOW = 'show';\r\nconst CLASS_NAME_SHOWING = 'showing';\r\n\r\nconst DefaultType = {\r\n animation: 'boolean',\r\n autohide: 'boolean',\r\n delay: 'number',\r\n};\r\n\r\nconst Default = {\r\n animation: true,\r\n autohide: true,\r\n delay: 5000,\r\n};\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass Toast extends BaseComponent {\r\n constructor(element, config) {\r\n super(element, config);\r\n\r\n this._timeout = null;\r\n this._hasMouseInteraction = false;\r\n this._hasKeyboardInteraction = false;\r\n this._setListeners();\r\n }\r\n\r\n // Getters\r\n static get Default() {\r\n return Default;\r\n }\r\n\r\n static get DefaultType() {\r\n return DefaultType;\r\n }\r\n\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Public\r\n show() {\r\n const showEvent = EventHandler.trigger(this._element, EVENT_SHOW);\r\n\r\n if (showEvent.defaultPrevented) {\r\n return;\r\n }\r\n\r\n this._clearTimeout();\r\n\r\n if (this._config.animation) {\r\n this._element.classList.add(CLASS_NAME_FADE);\r\n }\r\n\r\n const complete = () => {\r\n this._element.classList.remove(CLASS_NAME_SHOWING);\r\n EventHandler.trigger(this._element, EVENT_SHOWN);\r\n\r\n this._maybeScheduleHide();\r\n };\r\n\r\n this._element.classList.remove(CLASS_NAME_HIDE); // @deprecated\r\n reflow(this._element);\r\n this._element.classList.add(CLASS_NAME_SHOW, CLASS_NAME_SHOWING);\r\n\r\n this._queueCallback(complete, this._element, this._config.animation);\r\n }\r\n\r\n hide() {\r\n if (!this.isShown()) {\r\n return;\r\n }\r\n\r\n const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE);\r\n\r\n if (hideEvent.defaultPrevented) {\r\n return;\r\n }\r\n\r\n const complete = () => {\r\n this._element.classList.add(CLASS_NAME_HIDE); // @deprecated\r\n this._element.classList.remove(CLASS_NAME_SHOWING, CLASS_NAME_SHOW);\r\n EventHandler.trigger(this._element, EVENT_HIDDEN);\r\n };\r\n\r\n this._element.classList.add(CLASS_NAME_SHOWING);\r\n this._queueCallback(complete, this._element, this._config.animation);\r\n }\r\n\r\n dispose() {\r\n this._clearTimeout();\r\n\r\n if (this.isShown()) {\r\n this._element.classList.remove(CLASS_NAME_SHOW);\r\n }\r\n\r\n super.dispose();\r\n }\r\n\r\n isShown() {\r\n return this._element.classList.contains(CLASS_NAME_SHOW);\r\n }\r\n\r\n // Private\r\n\r\n _maybeScheduleHide() {\r\n if (!this._config.autohide) {\r\n return;\r\n }\r\n\r\n if (this._hasMouseInteraction || this._hasKeyboardInteraction) {\r\n return;\r\n }\r\n\r\n this._timeout = setTimeout(() => {\r\n this.hide();\r\n }, this._config.delay);\r\n }\r\n\r\n _onInteraction(event, isInteracting) {\r\n switch (event.type) {\r\n case 'mouseover':\r\n case 'mouseout': {\r\n this._hasMouseInteraction = isInteracting;\r\n break;\r\n }\r\n\r\n case 'focusin':\r\n case 'focusout': {\r\n this._hasKeyboardInteraction = isInteracting;\r\n break;\r\n }\r\n\r\n default: {\r\n break;\r\n }\r\n }\r\n\r\n if (isInteracting) {\r\n this._clearTimeout();\r\n return;\r\n }\r\n\r\n const nextElement = event.relatedTarget;\r\n if (this._element === nextElement || this._element.contains(nextElement)) {\r\n return;\r\n }\r\n\r\n this._maybeScheduleHide();\r\n }\r\n\r\n _setListeners() {\r\n EventHandler.on(this._element, EVENT_MOUSEOVER, (event) => this._onInteraction(event, true));\r\n EventHandler.on(this._element, EVENT_MOUSEOUT, (event) => this._onInteraction(event, false));\r\n EventHandler.on(this._element, EVENT_FOCUSIN, (event) => this._onInteraction(event, true));\r\n EventHandler.on(this._element, EVENT_FOCUSOUT, (event) => this._onInteraction(event, false));\r\n }\r\n\r\n _clearTimeout() {\r\n clearTimeout(this._timeout);\r\n this._timeout = null;\r\n }\r\n\r\n // Static\r\n static jQueryInterface(config) {\r\n return this.each(function () {\r\n const data = Toast.getOrCreateInstance(this, config);\r\n\r\n if (typeof config === 'string') {\r\n if (typeof data[config] === 'undefined') {\r\n throw new TypeError(`No method named \"${config}\"`);\r\n }\r\n\r\n data[config](this);\r\n }\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * Data API implementation\r\n */\r\n\r\nenableDismissTrigger(Toast);\r\n\r\n/**\r\n * jQuery\r\n */\r\n\r\ndefineJQueryPlugin(Toast);\r\n\r\nexport default Toast;\r\n","import { getjQuery, onDOMContentLoaded } from '../mdb/util/index';\r\nimport EventHandler from '../mdb/dom/event-handler';\r\nimport SelectorEngine from '../mdb/dom/selector-engine';\r\nimport BSToast from '../bootstrap/mdb-prefix/toast';\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Constants\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nconst NAME = 'toast';\r\nconst DATA_KEY = `mdb.${NAME}`;\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\n\r\nconst EVENT_SHOW_BS = 'show.bs.toast';\r\nconst EVENT_SHOWN_BS = 'shown.bs.toast';\r\nconst EVENT_HIDE_BS = 'hide.bs.toast';\r\nconst EVENT_HIDDEN_BS = 'hidden.bs.toast';\r\n\r\nconst EVENT_SHOW = `show${EVENT_KEY}`;\r\nconst EVENT_SHOWN = `shown${EVENT_KEY}`;\r\nconst EVENT_HIDE = `hide${EVENT_KEY}`;\r\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`;\r\n\r\nconst SELECTOR_TOAST = '.toast';\r\n\r\nclass Toast extends BSToast {\r\n constructor(element, data) {\r\n super(element, data);\r\n\r\n this._init();\r\n }\r\n\r\n dispose() {\r\n EventHandler.off(this._element, EVENT_SHOW_BS);\r\n EventHandler.off(this._element, EVENT_SHOWN_BS);\r\n EventHandler.off(this._element, EVENT_HIDE_BS);\r\n EventHandler.off(this._element, EVENT_HIDDEN_BS);\r\n\r\n super.dispose();\r\n }\r\n\r\n // Getters\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Private\r\n _init() {\r\n this._bindShowEvent();\r\n this._bindShownEvent();\r\n this._bindHideEvent();\r\n this._bindHiddenEvent();\r\n }\r\n\r\n _bindShowEvent() {\r\n EventHandler.on(this._element, EVENT_SHOW_BS, () => {\r\n EventHandler.trigger(this._element, EVENT_SHOW);\r\n });\r\n }\r\n\r\n _bindShownEvent() {\r\n EventHandler.on(this._element, EVENT_SHOWN_BS, () => {\r\n EventHandler.trigger(this._element, EVENT_SHOWN);\r\n });\r\n }\r\n\r\n _bindHideEvent() {\r\n EventHandler.on(this._element, EVENT_HIDE_BS, () => {\r\n EventHandler.trigger(this._element, EVENT_HIDE);\r\n });\r\n }\r\n\r\n _bindHiddenEvent() {\r\n EventHandler.on(this._element, EVENT_HIDDEN_BS, () => {\r\n EventHandler.trigger(this._element, EVENT_HIDDEN);\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Data Api implementation - auto initialization\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nSelectorEngine.find(SELECTOR_TOAST).forEach((el) => {\r\n let instance = Toast.getInstance(el);\r\n if (!instance) {\r\n instance = new Toast(el);\r\n }\r\n});\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * jQuery\r\n * ------------------------------------------------------------------------\r\n * add .rating to jQuery only if jQuery is present\r\n */\r\n\r\nonDOMContentLoaded(() => {\r\n const $ = getjQuery();\r\n\r\n if ($) {\r\n const JQUERY_NO_CONFLICT = $.fn[NAME];\r\n $.fn[NAME] = Toast.jQueryInterface;\r\n $.fn[NAME].Constructor = Toast;\r\n $.fn[NAME].noConflict = () => {\r\n $.fn[NAME] = JQUERY_NO_CONFLICT;\r\n return Toast.jQueryInterface;\r\n };\r\n }\r\n});\r\n\r\nexport default Toast;\r\n","import { element, getjQuery, onDOMContentLoaded } from '../mdb/util/index';\r\nimport Data from '../mdb/dom/data';\r\nimport EventHandler from '../mdb/dom/event-handler';\r\nimport Manipulator from '../mdb/dom/manipulator';\r\nimport SelectorEngine from '../mdb/dom/selector-engine';\r\nimport 'detect-autofill';\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Constants\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nconst NAME = 'input';\r\nconst DATA_KEY = 'mdb.input';\r\nconst CLASSNAME_WRAPPER = 'form-outline';\r\nconst CLASSNAME_ACTIVE = 'active';\r\nconst CLASSNAME_NOTCH = 'form-notch';\r\nconst CLASSNAME_NOTCH_LEADING = 'form-notch-leading';\r\nconst CLASSNAME_NOTCH_MIDDLE = 'form-notch-middle';\r\nconst CLASSNAME_NOTCH_TRAILING = 'form-notch-trailing';\r\nconst CLASSNAME_PLACEHOLDER_ACTIVE = 'placeholder-active';\r\nconst CLASSNAME_HELPER = 'form-helper';\r\nconst CLASSNAME_COUNTER = 'form-counter';\r\n\r\nconst SELECTOR_OUTLINE_INPUT = `.${CLASSNAME_WRAPPER} input`;\r\nconst SELECTOR_OUTLINE_TEXTAREA = `.${CLASSNAME_WRAPPER} textarea`;\r\nconst SELECTOR_NOTCH = `.${CLASSNAME_NOTCH}`;\r\nconst SELECTOR_NOTCH_LEADING = `.${CLASSNAME_NOTCH_LEADING}`;\r\nconst SELECTOR_NOTCH_MIDDLE = `.${CLASSNAME_NOTCH_MIDDLE}`;\r\nconst SELECTOR_HELPER = `.${CLASSNAME_HELPER}`;\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Class Definition\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nclass Input {\r\n constructor(element) {\r\n this._element = element;\r\n this._label = null;\r\n this._labelWidth = 0;\r\n this._labelMarginLeft = 0;\r\n this._notchLeading = null;\r\n this._notchMiddle = null;\r\n this._notchTrailing = null;\r\n this._initiated = false;\r\n this._helper = null;\r\n this._counter = false;\r\n this._counterElement = null;\r\n this._maxLength = 0;\r\n this._leadingIcon = null;\r\n if (this._element) {\r\n Data.setData(element, DATA_KEY, this);\r\n this.init();\r\n }\r\n }\r\n\r\n // Getters\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n get input() {\r\n const inputElement =\r\n SelectorEngine.findOne('input', this._element) ||\r\n SelectorEngine.findOne('textarea', this._element);\r\n return inputElement;\r\n }\r\n\r\n // Public\r\n init() {\r\n if (this._initiated) {\r\n return;\r\n }\r\n this._getLabelData();\r\n this._applyDivs();\r\n this._applyNotch();\r\n this._activate();\r\n this._getHelper();\r\n this._getCounter();\r\n this._initiated = true;\r\n }\r\n\r\n update() {\r\n this._getLabelData();\r\n this._getNotchData();\r\n this._applyNotch();\r\n this._activate();\r\n this._getHelper();\r\n this._getCounter();\r\n }\r\n\r\n forceActive() {\r\n Manipulator.addClass(this.input, CLASSNAME_ACTIVE);\r\n }\r\n\r\n forceInactive() {\r\n Manipulator.removeClass(this.input, CLASSNAME_ACTIVE);\r\n }\r\n\r\n dispose() {\r\n this._removeBorder();\r\n\r\n Data.removeData(this._element, DATA_KEY);\r\n this._element = null;\r\n }\r\n\r\n // Private\r\n\r\n /*\r\n _getIcons() {\r\n this._leadingIcon = SelectorEngine.findOne('i.leading', this._element);\r\n\r\n if (this._leadingIcon !== null) {\r\n this._applyLeadingIcon();\r\n }\r\n }\r\n\r\n _applyLeadingIcon() {\r\n this._label.innerHTML = ` ${this._label.innerHTML}`;\r\n this._label.insertBefore(this._leadingIcon, this._label.firstChild);\r\n }\r\n */\r\n\r\n _getLabelData() {\r\n this._label = SelectorEngine.findOne('label', this._element);\r\n if (this._label === null) {\r\n this._showPlaceholder();\r\n } else {\r\n this._getLabelWidth();\r\n this._getLabelPositionInInputGroup();\r\n this._toggleDefaultDatePlaceholder();\r\n }\r\n }\r\n\r\n _getHelper() {\r\n this._helper = SelectorEngine.findOne(SELECTOR_HELPER, this._element);\r\n }\r\n\r\n _getCounter() {\r\n this._counter = Manipulator.getDataAttribute(this.input, 'showcounter');\r\n if (this._counter) {\r\n this._maxLength = this.input.maxLength;\r\n this._showCounter();\r\n }\r\n }\r\n\r\n _showCounter() {\r\n const counters = SelectorEngine.find('.form-counter', this._element);\r\n if (counters.length > 0) {\r\n return;\r\n }\r\n this._counterElement = document.createElement('div');\r\n Manipulator.addClass(this._counterElement, CLASSNAME_COUNTER);\r\n const actualLength = this.input.value.length;\r\n this._counterElement.innerHTML = `${actualLength} / ${this._maxLength}`;\r\n this._helper.appendChild(this._counterElement);\r\n this._bindCounter();\r\n }\r\n\r\n _bindCounter() {\r\n EventHandler.on(this.input, 'input', () => {\r\n const actualLength = this.input.value.length;\r\n this._counterElement.innerHTML = `${actualLength} / ${this._maxLength}`;\r\n });\r\n }\r\n\r\n _toggleDefaultDatePlaceholder(input = this.input) {\r\n const isTypeDate = input.getAttribute('type') === 'date';\r\n\r\n if (!isTypeDate) {\r\n return;\r\n }\r\n\r\n const isInputFocused = document.activeElement === input;\r\n\r\n if (!isInputFocused && !input.value) {\r\n input.style.opacity = 0;\r\n } else {\r\n input.style.opacity = 1;\r\n }\r\n }\r\n\r\n _showPlaceholder() {\r\n Manipulator.addClass(this.input, CLASSNAME_PLACEHOLDER_ACTIVE);\r\n }\r\n\r\n _getNotchData() {\r\n this._notchMiddle = SelectorEngine.findOne(SELECTOR_NOTCH_MIDDLE, this._element);\r\n this._notchLeading = SelectorEngine.findOne(SELECTOR_NOTCH_LEADING, this._element);\r\n }\r\n\r\n _getLabelWidth() {\r\n this._labelWidth = this._label.clientWidth * 0.8 + 8;\r\n }\r\n\r\n _getLabelPositionInInputGroup() {\r\n this._labelMarginLeft = 0;\r\n\r\n if (!this._element.classList.contains('input-group')) return;\r\n const input = this.input;\r\n const prefix = SelectorEngine.prev(input, '.input-group-text')[0];\r\n if (prefix === undefined) {\r\n this._labelMarginLeft = 0;\r\n } else {\r\n this._labelMarginLeft = prefix.offsetWidth - 1;\r\n }\r\n }\r\n\r\n _applyDivs() {\r\n const allNotchWrappers = SelectorEngine.find(SELECTOR_NOTCH, this._element);\r\n const notchWrapper = element('div');\r\n Manipulator.addClass(notchWrapper, CLASSNAME_NOTCH);\r\n this._notchLeading = element('div');\r\n Manipulator.addClass(this._notchLeading, CLASSNAME_NOTCH_LEADING);\r\n this._notchMiddle = element('div');\r\n Manipulator.addClass(this._notchMiddle, CLASSNAME_NOTCH_MIDDLE);\r\n this._notchTrailing = element('div');\r\n Manipulator.addClass(this._notchTrailing, CLASSNAME_NOTCH_TRAILING);\r\n if (allNotchWrappers.length >= 1) {\r\n return;\r\n }\r\n notchWrapper.append(this._notchLeading);\r\n notchWrapper.append(this._notchMiddle);\r\n notchWrapper.append(this._notchTrailing);\r\n this._element.append(notchWrapper);\r\n }\r\n\r\n _applyNotch() {\r\n this._notchMiddle.style.width = `${this._labelWidth}px`;\r\n this._notchLeading.style.width = `${this._labelMarginLeft + 9}px`;\r\n\r\n if (this._label === null) return;\r\n this._label.style.marginLeft = `${this._labelMarginLeft}px`;\r\n }\r\n\r\n _removeBorder() {\r\n const border = SelectorEngine.findOne(SELECTOR_NOTCH, this._element);\r\n if (border) border.remove();\r\n }\r\n\r\n _activate(event) {\r\n onDOMContentLoaded(() => {\r\n this._getElements(event);\r\n const input = event ? event.target : this.input;\r\n\r\n if (input.value !== '') {\r\n Manipulator.addClass(input, CLASSNAME_ACTIVE);\r\n }\r\n this._toggleDefaultDatePlaceholder(input);\r\n });\r\n }\r\n\r\n _getElements(event) {\r\n if (event) {\r\n this._element = event.target.parentNode;\r\n this._label = SelectorEngine.findOne('label', this._element);\r\n }\r\n\r\n if (event && this._label) {\r\n const prevLabelWidth = this._labelWidth;\r\n this._getLabelData();\r\n\r\n if (prevLabelWidth !== this._labelWidth) {\r\n this._notchMiddle = SelectorEngine.findOne('.form-notch-middle', event.target.parentNode);\r\n this._notchLeading = SelectorEngine.findOne(\r\n SELECTOR_NOTCH_LEADING,\r\n event.target.parentNode\r\n );\r\n this._applyNotch();\r\n }\r\n }\r\n }\r\n\r\n _deactivate(event) {\r\n const input = event ? event.target : this.input;\r\n\r\n if (input.value === '') {\r\n input.classList.remove(CLASSNAME_ACTIVE);\r\n }\r\n this._toggleDefaultDatePlaceholder(input);\r\n }\r\n\r\n static activate(instance) {\r\n return function (event) {\r\n instance._activate(event);\r\n };\r\n }\r\n\r\n static deactivate(instance) {\r\n return function (event) {\r\n instance._deactivate(event);\r\n };\r\n }\r\n\r\n static jQueryInterface(config, options) {\r\n return this.each(function () {\r\n let data = Data.getData(this, DATA_KEY);\r\n const _config = typeof config === 'object' && config;\r\n if (!data && /dispose/.test(config)) {\r\n return;\r\n }\r\n if (!data) {\r\n data = new Input(this, _config);\r\n }\r\n if (typeof config === 'string') {\r\n if (typeof data[config] === 'undefined') {\r\n throw new TypeError(`No method named \"${config}\"`);\r\n }\r\n data[config](options);\r\n }\r\n });\r\n }\r\n\r\n static getInstance(element) {\r\n return Data.getData(element, DATA_KEY);\r\n }\r\n\r\n static getOrCreateInstance(element, config = {}) {\r\n return (\r\n this.getInstance(element) || new this(element, typeof config === 'object' ? config : null)\r\n );\r\n }\r\n}\r\n\r\nEventHandler.on(document, 'focus', SELECTOR_OUTLINE_INPUT, Input.activate(new Input()));\r\nEventHandler.on(document, 'input', SELECTOR_OUTLINE_INPUT, Input.activate(new Input()));\r\nEventHandler.on(document, 'blur', SELECTOR_OUTLINE_INPUT, Input.deactivate(new Input()));\r\n\r\nEventHandler.on(document, 'focus', SELECTOR_OUTLINE_TEXTAREA, Input.activate(new Input()));\r\nEventHandler.on(document, 'input', SELECTOR_OUTLINE_TEXTAREA, Input.activate(new Input()));\r\nEventHandler.on(document, 'blur', SELECTOR_OUTLINE_TEXTAREA, Input.deactivate(new Input()));\r\n\r\nEventHandler.on(window, 'shown.bs.modal', (e) => {\r\n SelectorEngine.find(SELECTOR_OUTLINE_INPUT, e.target).forEach((element) => {\r\n const instance = Input.getInstance(element.parentNode);\r\n if (!instance) {\r\n return;\r\n }\r\n instance.update();\r\n });\r\n SelectorEngine.find(SELECTOR_OUTLINE_TEXTAREA, e.target).forEach((element) => {\r\n const instance = Input.getInstance(element.parentNode);\r\n if (!instance) {\r\n return;\r\n }\r\n instance.update();\r\n });\r\n});\r\n\r\nEventHandler.on(window, 'shown.bs.dropdown', (e) => {\r\n const target = e.target.parentNode.querySelector('.dropdown-menu');\r\n if (target) {\r\n SelectorEngine.find(SELECTOR_OUTLINE_INPUT, target).forEach((element) => {\r\n const instance = Input.getInstance(element.parentNode);\r\n if (!instance) {\r\n return;\r\n }\r\n instance.update();\r\n });\r\n SelectorEngine.find(SELECTOR_OUTLINE_TEXTAREA, target).forEach((element) => {\r\n const instance = Input.getInstance(element.parentNode);\r\n if (!instance) {\r\n return;\r\n }\r\n instance.update();\r\n });\r\n }\r\n});\r\n\r\nEventHandler.on(window, 'shown.bs.tab', (e) => {\r\n let targetId;\r\n\r\n if (e.target.href) {\r\n targetId = e.target.href.split('#')[1];\r\n } else {\r\n targetId = Manipulator.getDataAttribute(e.target, 'target').split('#')[1];\r\n }\r\n\r\n const target = SelectorEngine.findOne(`#${targetId}`);\r\n SelectorEngine.find(SELECTOR_OUTLINE_INPUT, target).forEach((element) => {\r\n const instance = Input.getInstance(element.parentNode);\r\n if (!instance) {\r\n return;\r\n }\r\n instance.update();\r\n });\r\n SelectorEngine.find(SELECTOR_OUTLINE_TEXTAREA, target).forEach((element) => {\r\n const instance = Input.getInstance(element.parentNode);\r\n if (!instance) {\r\n return;\r\n }\r\n instance.update();\r\n });\r\n});\r\n\r\n// auto-init\r\nSelectorEngine.find(`.${CLASSNAME_WRAPPER}`).map((element) => new Input(element));\r\n\r\n// form reset handler\r\nEventHandler.on(window, 'reset', (e) => {\r\n SelectorEngine.find(SELECTOR_OUTLINE_INPUT, e.target).forEach((element) => {\r\n const instance = Input.getInstance(element.parentNode);\r\n if (!instance) {\r\n return;\r\n }\r\n instance.forceInactive();\r\n });\r\n SelectorEngine.find(SELECTOR_OUTLINE_TEXTAREA, e.target).forEach((element) => {\r\n const instance = Input.getInstance(element.parentNode);\r\n if (!instance) {\r\n return;\r\n }\r\n instance.forceInactive();\r\n });\r\n});\r\n\r\n// auto-fill\r\nEventHandler.on(window, 'onautocomplete', (e) => {\r\n const instance = Input.getInstance(e.target.parentNode);\r\n if (!instance || !e.cancelable) {\r\n return;\r\n }\r\n instance.forceActive();\r\n});\r\n\r\nonDOMContentLoaded(() => {\r\n const $ = getjQuery();\r\n\r\n if ($) {\r\n const JQUERY_NO_CONFLICT = $.fn[NAME];\r\n $.fn[NAME] = Input.jQueryInterface;\r\n $.fn[NAME].Constructor = Input;\r\n $.fn[NAME].noConflict = () => {\r\n $.fn[NAME] = JQUERY_NO_CONFLICT;\r\n return Input.jQueryInterface;\r\n };\r\n }\r\n});\r\n\r\nexport default Input;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): collapse.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport {\r\n defineJQueryPlugin,\r\n getElement,\r\n getElementFromSelector,\r\n getSelectorFromElement,\r\n reflow,\r\n} from './util/index';\r\nimport EventHandler from './dom/event-handler';\r\nimport SelectorEngine from './dom/selector-engine';\r\nimport BaseComponent from './base-component';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst NAME = 'collapse';\r\nconst DATA_KEY = 'bs.collapse';\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\nconst DATA_API_KEY = '.data-api';\r\n\r\nconst EVENT_SHOW = `show${EVENT_KEY}`;\r\nconst EVENT_SHOWN = `shown${EVENT_KEY}`;\r\nconst EVENT_HIDE = `hide${EVENT_KEY}`;\r\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`;\r\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`;\r\n\r\nconst CLASS_NAME_SHOW = 'show';\r\nconst CLASS_NAME_COLLAPSE = 'collapse';\r\nconst CLASS_NAME_COLLAPSING = 'collapsing';\r\nconst CLASS_NAME_COLLAPSED = 'collapsed';\r\nconst CLASS_NAME_DEEPER_CHILDREN = `:scope .${CLASS_NAME_COLLAPSE} .${CLASS_NAME_COLLAPSE}`;\r\nconst CLASS_NAME_HORIZONTAL = 'collapse-horizontal';\r\n\r\nconst WIDTH = 'width';\r\nconst HEIGHT = 'height';\r\n\r\nconst SELECTOR_ACTIVES = '.collapse.show, .collapse.collapsing';\r\nconst SELECTOR_DATA_TOGGLE = '[data-mdb-toggle=\"collapse\"]';\r\n\r\nconst Default = {\r\n parent: null,\r\n toggle: true,\r\n};\r\n\r\nconst DefaultType = {\r\n parent: '(null|element)',\r\n toggle: 'boolean',\r\n};\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass Collapse extends BaseComponent {\r\n constructor(element, config) {\r\n super(element, config);\r\n\r\n this._isTransitioning = false;\r\n this._triggerArray = [];\r\n\r\n const toggleList = SelectorEngine.find(SELECTOR_DATA_TOGGLE);\r\n\r\n for (const elem of toggleList) {\r\n const selector = getSelectorFromElement(elem);\r\n const filterElement = SelectorEngine.find(selector).filter(\r\n (foundElement) => foundElement === this._element\r\n );\r\n\r\n if (selector !== null && filterElement.length) {\r\n this._triggerArray.push(elem);\r\n }\r\n }\r\n\r\n this._initializeChildren();\r\n\r\n if (!this._config.parent) {\r\n this._addAriaAndCollapsedClass(this._triggerArray, this._isShown());\r\n }\r\n\r\n if (this._config.toggle) {\r\n this.toggle();\r\n }\r\n }\r\n\r\n // Getters\r\n static get Default() {\r\n return Default;\r\n }\r\n\r\n static get DefaultType() {\r\n return DefaultType;\r\n }\r\n\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Public\r\n toggle() {\r\n if (this._isShown()) {\r\n this.hide();\r\n } else {\r\n this.show();\r\n }\r\n }\r\n\r\n show() {\r\n if (this._isTransitioning || this._isShown()) {\r\n return;\r\n }\r\n\r\n let activeChildren = [];\r\n\r\n // find active children\r\n if (this._config.parent) {\r\n activeChildren = this._getFirstLevelChildren(SELECTOR_ACTIVES)\r\n .filter((element) => element !== this._element)\r\n .map((element) => Collapse.getOrCreateInstance(element, { toggle: false }));\r\n }\r\n\r\n if (activeChildren.length && activeChildren[0]._isTransitioning) {\r\n return;\r\n }\r\n\r\n const startEvent = EventHandler.trigger(this._element, EVENT_SHOW);\r\n if (startEvent.defaultPrevented) {\r\n return;\r\n }\r\n\r\n for (const activeInstance of activeChildren) {\r\n activeInstance.hide();\r\n }\r\n\r\n const dimension = this._getDimension();\r\n\r\n this._element.classList.remove(CLASS_NAME_COLLAPSE);\r\n this._element.classList.add(CLASS_NAME_COLLAPSING);\r\n\r\n this._element.style[dimension] = 0;\r\n\r\n this._addAriaAndCollapsedClass(this._triggerArray, true);\r\n this._isTransitioning = true;\r\n\r\n const complete = () => {\r\n this._isTransitioning = false;\r\n\r\n this._element.classList.remove(CLASS_NAME_COLLAPSING);\r\n this._element.classList.add(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW);\r\n\r\n this._element.style[dimension] = '';\r\n\r\n EventHandler.trigger(this._element, EVENT_SHOWN);\r\n };\r\n\r\n const capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1);\r\n const scrollSize = `scroll${capitalizedDimension}`;\r\n\r\n this._queueCallback(complete, this._element, true);\r\n this._element.style[dimension] = `${this._element[scrollSize]}px`;\r\n }\r\n\r\n hide() {\r\n if (this._isTransitioning || !this._isShown()) {\r\n return;\r\n }\r\n\r\n const startEvent = EventHandler.trigger(this._element, EVENT_HIDE);\r\n if (startEvent.defaultPrevented) {\r\n return;\r\n }\r\n\r\n const dimension = this._getDimension();\r\n\r\n this._element.style[dimension] = `${this._element.getBoundingClientRect()[dimension]}px`;\r\n\r\n reflow(this._element);\r\n\r\n this._element.classList.add(CLASS_NAME_COLLAPSING);\r\n this._element.classList.remove(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW);\r\n\r\n for (const trigger of this._triggerArray) {\r\n const element = getElementFromSelector(trigger);\r\n\r\n if (element && !this._isShown(element)) {\r\n this._addAriaAndCollapsedClass([trigger], false);\r\n }\r\n }\r\n\r\n this._isTransitioning = true;\r\n\r\n const complete = () => {\r\n this._isTransitioning = false;\r\n this._element.classList.remove(CLASS_NAME_COLLAPSING);\r\n this._element.classList.add(CLASS_NAME_COLLAPSE);\r\n EventHandler.trigger(this._element, EVENT_HIDDEN);\r\n };\r\n\r\n this._element.style[dimension] = '';\r\n\r\n this._queueCallback(complete, this._element, true);\r\n }\r\n\r\n _isShown(element = this._element) {\r\n return element.classList.contains(CLASS_NAME_SHOW);\r\n }\r\n\r\n // Private\r\n _configAfterMerge(config) {\r\n config.toggle = Boolean(config.toggle); // Coerce string values\r\n config.parent = getElement(config.parent);\r\n return config;\r\n }\r\n\r\n _getDimension() {\r\n return this._element.classList.contains(CLASS_NAME_HORIZONTAL) ? WIDTH : HEIGHT;\r\n }\r\n\r\n _initializeChildren() {\r\n if (!this._config.parent) {\r\n return;\r\n }\r\n\r\n const children = this._getFirstLevelChildren(SELECTOR_DATA_TOGGLE);\r\n\r\n for (const element of children) {\r\n const selected = getElementFromSelector(element);\r\n\r\n if (selected) {\r\n this._addAriaAndCollapsedClass([element], this._isShown(selected));\r\n }\r\n }\r\n }\r\n\r\n _getFirstLevelChildren(selector) {\r\n const children = SelectorEngine.find(CLASS_NAME_DEEPER_CHILDREN, this._config.parent);\r\n // remove children if greater depth\r\n return SelectorEngine.find(selector, this._config.parent).filter(\r\n (element) => !children.includes(element)\r\n );\r\n }\r\n\r\n _addAriaAndCollapsedClass(triggerArray, isOpen) {\r\n if (!triggerArray.length) {\r\n return;\r\n }\r\n\r\n for (const element of triggerArray) {\r\n element.classList.toggle(CLASS_NAME_COLLAPSED, !isOpen);\r\n element.setAttribute('aria-expanded', isOpen);\r\n }\r\n }\r\n\r\n // Static\r\n static jQueryInterface(config) {\r\n const _config = {};\r\n if (typeof config === 'string' && /show|hide/.test(config)) {\r\n _config.toggle = false;\r\n }\r\n\r\n return this.each(function () {\r\n const data = Collapse.getOrCreateInstance(this, _config);\r\n\r\n if (typeof config === 'string') {\r\n if (typeof data[config] === 'undefined') {\r\n throw new TypeError(`No method named \"${config}\"`);\r\n }\r\n\r\n data[config]();\r\n }\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * Data API implementation\r\n */\r\n\r\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\r\n // preventDefault only for <a> elements (which change the URL) not inside the collapsible element\r\n if (\r\n event.target.tagName === 'A' ||\r\n (event.delegateTarget && event.delegateTarget.tagName === 'A')\r\n ) {\r\n event.preventDefault();\r\n }\r\n\r\n const selector = getSelectorFromElement(this);\r\n const selectorElements = SelectorEngine.find(selector);\r\n\r\n for (const element of selectorElements) {\r\n Collapse.getOrCreateInstance(element, { toggle: false }).toggle();\r\n }\r\n});\r\n\r\n/**\r\n * jQuery\r\n */\r\n\r\ndefineJQueryPlugin(Collapse);\r\n\r\nexport default Collapse;\r\n","import { getjQuery, onDOMContentLoaded, getSelectorFromElement } from '../mdb/util/index';\r\nimport EventHandler from '../mdb/dom/event-handler';\r\nimport SelectorEngine from '../mdb/dom/selector-engine';\r\nimport BSCollapse from '../bootstrap/mdb-prefix/collapse';\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Constants\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nconst NAME = 'collapse';\r\nconst DATA_KEY = `mdb.${NAME}`;\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\n\r\nconst EVENT_SHOW_BS = 'show.bs.collapse';\r\nconst EVENT_SHOWN_BS = 'shown.bs.collapse';\r\nconst EVENT_HIDE_BS = 'hide.bs.collapse';\r\nconst EVENT_HIDDEN_BS = 'hidden.bs.collapse';\r\n\r\nconst EVENT_SHOW = `show${EVENT_KEY}`;\r\nconst EVENT_SHOWN = `shown${EVENT_KEY}`;\r\nconst EVENT_HIDE = `hide${EVENT_KEY}`;\r\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`;\r\n\r\nconst SELECTOR_DATA_TOGGLE = '[data-mdb-toggle=\"collapse\"]';\r\n\r\nclass Collapse extends BSCollapse {\r\n constructor(element, data = {}) {\r\n super(element, data);\r\n\r\n this._init();\r\n }\r\n\r\n dispose() {\r\n EventHandler.off(this._element, EVENT_SHOW_BS);\r\n EventHandler.off(this._element, EVENT_SHOWN_BS);\r\n EventHandler.off(this._element, EVENT_HIDE_BS);\r\n EventHandler.off(this._element, EVENT_HIDDEN_BS);\r\n\r\n super.dispose();\r\n }\r\n\r\n // Getters\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Private\r\n _init() {\r\n this._bindShowEvent();\r\n this._bindShownEvent();\r\n this._bindHideEvent();\r\n this._bindHiddenEvent();\r\n }\r\n\r\n _bindShowEvent() {\r\n EventHandler.on(this._element, EVENT_SHOW_BS, () => {\r\n EventHandler.trigger(this._element, EVENT_SHOW);\r\n });\r\n }\r\n\r\n _bindShownEvent() {\r\n EventHandler.on(this._element, EVENT_SHOWN_BS, () => {\r\n EventHandler.trigger(this._element, EVENT_SHOWN);\r\n });\r\n }\r\n\r\n _bindHideEvent() {\r\n EventHandler.on(this._element, EVENT_HIDE_BS, () => {\r\n EventHandler.trigger(this._element, EVENT_HIDE);\r\n });\r\n }\r\n\r\n _bindHiddenEvent() {\r\n EventHandler.on(this._element, EVENT_HIDDEN_BS, () => {\r\n EventHandler.trigger(this._element, EVENT_HIDDEN);\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Data Api implementation - auto initialization\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nSelectorEngine.find(SELECTOR_DATA_TOGGLE).forEach((el) => {\r\n const selector = getSelectorFromElement(el);\r\n const selectorElements = SelectorEngine.find(selector);\r\n\r\n selectorElements.forEach((element) => {\r\n Collapse.getOrCreateInstance(element, { toggle: false });\r\n });\r\n});\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * jQuery\r\n * ------------------------------------------------------------------------\r\n * add .rating to jQuery only if jQuery is present\r\n */\r\nonDOMContentLoaded(() => {\r\n const $ = getjQuery();\r\n\r\n if ($) {\r\n const JQUERY_NO_CONFLICT = $.fn[NAME];\r\n $.fn[NAME] = Collapse.jQueryInterface;\r\n $.fn[NAME].Constructor = Collapse;\r\n $.fn[NAME].noConflict = () => {\r\n $.fn[NAME] = JQUERY_NO_CONFLICT;\r\n return Collapse.jQueryInterface;\r\n };\r\n }\r\n});\r\n\r\nexport default Collapse;\r\n","/**\r\n * --------------------------------------------------------------------------\r\n * Bootstrap (v5.2.3): dropdown.js\r\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\r\n * --------------------------------------------------------------------------\r\n */\r\n\r\nimport * as Popper from '@popperjs/core';\r\nimport {\r\n defineJQueryPlugin,\r\n getElement,\r\n getNextActiveElement,\r\n isDisabled,\r\n isElement,\r\n isRTL,\r\n isVisible,\r\n noop,\r\n} from './util/index';\r\nimport EventHandler from './dom/event-handler';\r\nimport Manipulator from './dom/manipulator';\r\nimport SelectorEngine from './dom/selector-engine';\r\nimport BaseComponent from './base-component';\r\n\r\n/**\r\n * Constants\r\n */\r\n\r\nconst NAME = 'dropdown';\r\nconst DATA_KEY = 'bs.dropdown';\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\nconst DATA_API_KEY = '.data-api';\r\n\r\nconst ESCAPE_KEY = 'Escape';\r\nconst TAB_KEY = 'Tab';\r\nconst ARROW_UP_KEY = 'ArrowUp';\r\nconst ARROW_DOWN_KEY = 'ArrowDown';\r\nconst RIGHT_MOUSE_BUTTON = 2; // MouseEvent.button value for the secondary button, usually the right button\r\n\r\nconst EVENT_HIDE = `hide${EVENT_KEY}`;\r\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`;\r\nconst EVENT_SHOW = `show${EVENT_KEY}`;\r\nconst EVENT_SHOWN = `shown${EVENT_KEY}`;\r\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`;\r\nconst EVENT_KEYDOWN_DATA_API = `keydown${EVENT_KEY}${DATA_API_KEY}`;\r\nconst EVENT_KEYUP_DATA_API = `keyup${EVENT_KEY}${DATA_API_KEY}`;\r\n\r\nconst CLASS_NAME_SHOW = 'show';\r\nconst CLASS_NAME_DROPUP = 'dropup';\r\nconst CLASS_NAME_DROPEND = 'dropend';\r\nconst CLASS_NAME_DROPSTART = 'dropstart';\r\nconst CLASS_NAME_DROPUP_CENTER = 'dropup-center';\r\nconst CLASS_NAME_DROPDOWN_CENTER = 'dropdown-center';\r\n\r\nconst SELECTOR_DATA_TOGGLE = '[data-mdb-toggle=\"dropdown\"]:not(.disabled):not(:disabled)';\r\nconst SELECTOR_DATA_TOGGLE_SHOWN = `${SELECTOR_DATA_TOGGLE}.${CLASS_NAME_SHOW}`;\r\nconst SELECTOR_MENU = '.dropdown-menu';\r\nconst SELECTOR_NAVBAR = '.navbar';\r\nconst SELECTOR_NAVBAR_NAV = '.navbar-nav';\r\nconst SELECTOR_VISIBLE_ITEMS = '.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)';\r\n\r\nconst PLACEMENT_TOP = isRTL() ? 'top-end' : 'top-start';\r\nconst PLACEMENT_TOPEND = isRTL() ? 'top-start' : 'top-end';\r\nconst PLACEMENT_BOTTOM = isRTL() ? 'bottom-end' : 'bottom-start';\r\nconst PLACEMENT_BOTTOMEND = isRTL() ? 'bottom-start' : 'bottom-end';\r\nconst PLACEMENT_RIGHT = isRTL() ? 'left-start' : 'right-start';\r\nconst PLACEMENT_LEFT = isRTL() ? 'right-start' : 'left-start';\r\nconst PLACEMENT_TOPCENTER = 'top';\r\nconst PLACEMENT_BOTTOMCENTER = 'bottom';\r\n\r\nconst Default = {\r\n autoClose: true,\r\n boundary: 'clippingParents',\r\n display: 'dynamic',\r\n offset: [0, 2],\r\n popperConfig: null,\r\n reference: 'toggle',\r\n};\r\n\r\nconst DefaultType = {\r\n autoClose: '(boolean|string)',\r\n boundary: '(string|element)',\r\n display: 'string',\r\n offset: '(array|string|function)',\r\n popperConfig: '(null|object|function)',\r\n reference: '(string|element|object)',\r\n};\r\n\r\n/**\r\n * Class definition\r\n */\r\n\r\nclass Dropdown extends BaseComponent {\r\n constructor(element, config) {\r\n super(element, config);\r\n\r\n this._popper = null;\r\n this._parent = this._element.parentNode; // dropdown wrapper\r\n // todo: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.2/forms/input-group/\r\n this._menu =\r\n SelectorEngine.next(this._element, SELECTOR_MENU)[0] ||\r\n SelectorEngine.prev(this._element, SELECTOR_MENU)[0] ||\r\n SelectorEngine.findOne(SELECTOR_MENU, this._parent);\r\n this._inNavbar = this._detectNavbar();\r\n }\r\n\r\n // Getters\r\n static get Default() {\r\n return Default;\r\n }\r\n\r\n static get DefaultType() {\r\n return DefaultType;\r\n }\r\n\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Public\r\n toggle() {\r\n return this._isShown() ? this.hide() : this.show();\r\n }\r\n\r\n show() {\r\n if (isDisabled(this._element) || this._isShown()) {\r\n return;\r\n }\r\n\r\n const relatedTarget = {\r\n relatedTarget: this._element,\r\n };\r\n\r\n const showEvent = EventHandler.trigger(this._element, EVENT_SHOW, relatedTarget);\r\n\r\n if (showEvent.defaultPrevented) {\r\n return;\r\n }\r\n\r\n this._createPopper();\r\n\r\n // If this is a touch-enabled device we add extra\r\n // empty mouseover listeners to the body's immediate children;\r\n // only needed because of broken event delegation on iOS\r\n // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html\r\n if ('ontouchstart' in document.documentElement && !this._parent.closest(SELECTOR_NAVBAR_NAV)) {\r\n for (const element of [].concat(...document.body.children)) {\r\n EventHandler.on(element, 'mouseover', noop);\r\n }\r\n }\r\n\r\n this._element.focus();\r\n this._element.setAttribute('aria-expanded', true);\r\n\r\n this._menu.classList.add(CLASS_NAME_SHOW);\r\n this._element.classList.add(CLASS_NAME_SHOW);\r\n EventHandler.trigger(this._element, EVENT_SHOWN, relatedTarget);\r\n }\r\n\r\n hide() {\r\n if (isDisabled(this._element) || !this._isShown()) {\r\n return;\r\n }\r\n\r\n const relatedTarget = {\r\n relatedTarget: this._element,\r\n };\r\n\r\n this._completeHide(relatedTarget);\r\n }\r\n\r\n dispose() {\r\n if (this._popper) {\r\n this._popper.destroy();\r\n }\r\n\r\n super.dispose();\r\n }\r\n\r\n update() {\r\n this._inNavbar = this._detectNavbar();\r\n if (this._popper) {\r\n this._popper.update();\r\n }\r\n }\r\n\r\n // Private\r\n _completeHide(relatedTarget) {\r\n const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE, relatedTarget);\r\n if (hideEvent.defaultPrevented) {\r\n return;\r\n }\r\n\r\n // If this is a touch-enabled device we remove the extra\r\n // empty mouseover listeners we added for iOS support\r\n if ('ontouchstart' in document.documentElement) {\r\n for (const element of [].concat(...document.body.children)) {\r\n EventHandler.off(element, 'mouseover', noop);\r\n }\r\n }\r\n\r\n if (this._popper) {\r\n this._popper.destroy();\r\n }\r\n\r\n this._menu.classList.remove(CLASS_NAME_SHOW);\r\n this._element.classList.remove(CLASS_NAME_SHOW);\r\n this._element.setAttribute('aria-expanded', 'false');\r\n Manipulator.removeDataAttribute(this._menu, 'popper');\r\n EventHandler.trigger(this._element, EVENT_HIDDEN, relatedTarget);\r\n }\r\n\r\n _getConfig(config) {\r\n config = super._getConfig(config);\r\n\r\n if (\r\n typeof config.reference === 'object' &&\r\n !isElement(config.reference) &&\r\n typeof config.reference.getBoundingClientRect !== 'function'\r\n ) {\r\n // Popper virtual elements require a getBoundingClientRect method\r\n throw new TypeError(\r\n `${NAME.toUpperCase()}: Option \"reference\" provided type \"object\" without a required \"getBoundingClientRect\" method.`\r\n );\r\n }\r\n\r\n return config;\r\n }\r\n\r\n _createPopper() {\r\n if (typeof Popper === 'undefined') {\r\n throw new TypeError(\"Bootstrap's dropdowns require Popper (https://popper.js.org)\");\r\n }\r\n\r\n let referenceElement = this._element;\r\n\r\n if (this._config.reference === 'parent') {\r\n referenceElement = this._parent;\r\n } else if (isElement(this._config.reference)) {\r\n referenceElement = getElement(this._config.reference);\r\n } else if (typeof this._config.reference === 'object') {\r\n referenceElement = this._config.reference;\r\n }\r\n\r\n const popperConfig = this._getPopperConfig();\r\n this._popper = Popper.createPopper(referenceElement, this._menu, popperConfig);\r\n }\r\n\r\n _isShown() {\r\n return this._menu.classList.contains(CLASS_NAME_SHOW);\r\n }\r\n\r\n _getPlacement() {\r\n const parentDropdown = this._parent;\r\n\r\n if (parentDropdown.classList.contains(CLASS_NAME_DROPEND)) {\r\n return PLACEMENT_RIGHT;\r\n }\r\n\r\n if (parentDropdown.classList.contains(CLASS_NAME_DROPSTART)) {\r\n return PLACEMENT_LEFT;\r\n }\r\n\r\n if (parentDropdown.classList.contains(CLASS_NAME_DROPUP_CENTER)) {\r\n return PLACEMENT_TOPCENTER;\r\n }\r\n\r\n if (parentDropdown.classList.contains(CLASS_NAME_DROPDOWN_CENTER)) {\r\n return PLACEMENT_BOTTOMCENTER;\r\n }\r\n\r\n // We need to trim the value because custom properties can also include spaces\r\n const isEnd = getComputedStyle(this._menu).getPropertyValue('--bs-position').trim() === 'end';\r\n\r\n if (parentDropdown.classList.contains(CLASS_NAME_DROPUP)) {\r\n return isEnd ? PLACEMENT_TOPEND : PLACEMENT_TOP;\r\n }\r\n\r\n return isEnd ? PLACEMENT_BOTTOMEND : PLACEMENT_BOTTOM;\r\n }\r\n\r\n _detectNavbar() {\r\n return this._element.closest(SELECTOR_NAVBAR) !== null;\r\n }\r\n\r\n _getOffset() {\r\n const { offset } = this._config;\r\n\r\n if (typeof offset === 'string') {\r\n return offset.split(',').map((value) => Number.parseInt(value, 10));\r\n }\r\n\r\n if (typeof offset === 'function') {\r\n return (popperData) => offset(popperData, this._element);\r\n }\r\n\r\n return offset;\r\n }\r\n\r\n _getPopperConfig() {\r\n const defaultBsPopperConfig = {\r\n placement: this._getPlacement(),\r\n modifiers: [\r\n {\r\n name: 'preventOverflow',\r\n options: {\r\n boundary: this._config.boundary,\r\n },\r\n },\r\n {\r\n name: 'offset',\r\n options: {\r\n offset: this._getOffset(),\r\n },\r\n },\r\n ],\r\n };\r\n\r\n // Disable Popper if we have a static display or Dropdown is in Navbar\r\n if (this._inNavbar || this._config.display === 'static') {\r\n Manipulator.setDataAttribute(this._menu, 'popper', 'static'); // todo:v6 remove\r\n defaultBsPopperConfig.modifiers = [\r\n {\r\n name: 'applyStyles',\r\n enabled: false,\r\n },\r\n ];\r\n }\r\n\r\n return {\r\n ...defaultBsPopperConfig,\r\n ...(typeof this._config.popperConfig === 'function'\r\n ? this._config.popperConfig(defaultBsPopperConfig)\r\n : this._config.popperConfig),\r\n };\r\n }\r\n\r\n _selectMenuItem({ key, target }) {\r\n const items = SelectorEngine.find(SELECTOR_VISIBLE_ITEMS, this._menu).filter((element) =>\r\n isVisible(element)\r\n );\r\n\r\n if (!items.length) {\r\n return;\r\n }\r\n\r\n // if target isn't included in items (e.g. when expanding the dropdown)\r\n // allow cycling to get the last item in case key equals ARROW_UP_KEY\r\n getNextActiveElement(items, target, key === ARROW_DOWN_KEY, !items.includes(target)).focus();\r\n }\r\n\r\n // Static\r\n static jQueryInterface(config) {\r\n return this.each(function () {\r\n const data = Dropdown.getOrCreateInstance(this, config);\r\n\r\n if (typeof config !== 'string') {\r\n return;\r\n }\r\n\r\n if (typeof data[config] === 'undefined') {\r\n throw new TypeError(`No method named \"${config}\"`);\r\n }\r\n\r\n data[config]();\r\n });\r\n }\r\n\r\n static clearMenus(event) {\r\n if (event.button === RIGHT_MOUSE_BUTTON || (event.type === 'keyup' && event.key !== TAB_KEY)) {\r\n return;\r\n }\r\n\r\n const openToggles = SelectorEngine.find(SELECTOR_DATA_TOGGLE_SHOWN);\r\n\r\n for (const toggle of openToggles) {\r\n const context = Dropdown.getInstance(toggle);\r\n if (!context || context._config.autoClose === false) {\r\n continue;\r\n }\r\n\r\n const composedPath = event.composedPath();\r\n const isMenuTarget = composedPath.includes(context._menu);\r\n if (\r\n composedPath.includes(context._element) ||\r\n (context._config.autoClose === 'inside' && !isMenuTarget) ||\r\n (context._config.autoClose === 'outside' && isMenuTarget)\r\n ) {\r\n continue;\r\n }\r\n\r\n // Tab navigation through the dropdown menu or events from contained inputs shouldn't close the menu\r\n if (\r\n context._menu.contains(event.target) &&\r\n ((event.type === 'keyup' && event.key === TAB_KEY) ||\r\n /input|select|option|textarea|form/i.test(event.target.tagName))\r\n ) {\r\n continue;\r\n }\r\n\r\n const relatedTarget = { relatedTarget: context._element };\r\n\r\n if (event.type === 'click') {\r\n relatedTarget.clickEvent = event;\r\n }\r\n\r\n context._completeHide(relatedTarget);\r\n }\r\n }\r\n\r\n static dataApiKeydownHandler(event) {\r\n // If not an UP | DOWN | ESCAPE key => not a dropdown command\r\n // If input/textarea && if key is other than ESCAPE => not a dropdown command\r\n\r\n const isInput = /input|textarea/i.test(event.target.tagName);\r\n const isEscapeEvent = event.key === ESCAPE_KEY;\r\n const isUpOrDownEvent = [ARROW_UP_KEY, ARROW_DOWN_KEY].includes(event.key);\r\n\r\n if (!isUpOrDownEvent && !isEscapeEvent) {\r\n return;\r\n }\r\n\r\n if (isInput && !isEscapeEvent) {\r\n return;\r\n }\r\n\r\n event.preventDefault();\r\n\r\n // todo: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.2/forms/input-group/\r\n const getToggleButton = this.matches(SELECTOR_DATA_TOGGLE)\r\n ? this\r\n : SelectorEngine.prev(this, SELECTOR_DATA_TOGGLE)[0] ||\r\n SelectorEngine.next(this, SELECTOR_DATA_TOGGLE)[0] ||\r\n SelectorEngine.findOne(SELECTOR_DATA_TOGGLE, event.delegateTarget.parentNode);\r\n\r\n const instance = Dropdown.getOrCreateInstance(getToggleButton);\r\n\r\n if (isUpOrDownEvent) {\r\n event.stopPropagation();\r\n instance.show();\r\n instance._selectMenuItem(event);\r\n return;\r\n }\r\n\r\n if (instance._isShown()) {\r\n // else is escape and we check if it is shown\r\n event.stopPropagation();\r\n instance.hide();\r\n getToggleButton.focus();\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * Data API implementation\r\n */\r\n\r\nEventHandler.on(\r\n document,\r\n EVENT_KEYDOWN_DATA_API,\r\n SELECTOR_DATA_TOGGLE,\r\n Dropdown.dataApiKeydownHandler\r\n);\r\nEventHandler.on(document, EVENT_KEYDOWN_DATA_API, SELECTOR_MENU, Dropdown.dataApiKeydownHandler);\r\nEventHandler.on(document, EVENT_CLICK_DATA_API, Dropdown.clearMenus);\r\nEventHandler.on(document, EVENT_KEYUP_DATA_API, Dropdown.clearMenus);\r\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\r\n event.preventDefault();\r\n Dropdown.getOrCreateInstance(this).toggle();\r\n});\r\n\r\n/**\r\n * jQuery\r\n */\r\n\r\ndefineJQueryPlugin(Dropdown);\r\n\r\nexport default Dropdown;\r\n","import { getjQuery, typeCheckConfig, onDOMContentLoaded } from '../mdb/util/index';\r\nimport EventHandler from '../mdb/dom/event-handler';\r\nimport SelectorEngine from '../mdb/dom/selector-engine';\r\nimport Manipulator from '../mdb/dom/manipulator';\r\nimport BSDropdown from '../bootstrap/mdb-prefix/dropdown';\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Constants\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nconst NAME = 'dropdown';\r\nconst DATA_KEY = `mdb.${NAME}`;\r\nconst EVENT_KEY = `.${DATA_KEY}`;\r\n\r\nconst SELECTOR_EXPAND = '[data-mdb-toggle=\"dropdown\"]';\r\n\r\nconst Default = {\r\n offset: [0, 2],\r\n flip: true,\r\n boundary: 'clippingParents',\r\n reference: 'toggle',\r\n display: 'dynamic',\r\n popperConfig: null,\r\n dropdownAnimation: 'on',\r\n};\r\n\r\nconst DefaultType = {\r\n offset: '(array|string|function)',\r\n flip: 'boolean',\r\n boundary: '(string|element)',\r\n reference: '(string|element|object)',\r\n display: 'string',\r\n popperConfig: '(null|object|function)',\r\n dropdownAnimation: 'string',\r\n};\r\n\r\nconst EVENT_HIDE = 'hide.bs.dropdown';\r\nconst EVENT_HIDDEN = 'hidden.bs.dropdown';\r\nconst EVENT_SHOW = 'show.bs.dropdown';\r\nconst EVENT_SHOWN = 'shown.bs.dropdown';\r\n\r\nconst EVENT_HIDE_MDB = `hide${EVENT_KEY}`;\r\nconst EVENT_HIDDEN_MDB = `hidden${EVENT_KEY}`;\r\nconst EVENT_SHOW_MDB = `show${EVENT_KEY}`;\r\nconst EVENT_SHOWN_MDB = `shown${EVENT_KEY}`;\r\n\r\nconst ANIMATION_CLASS = 'animation';\r\nconst ANIMATION_SHOW_CLASS = 'fade-in';\r\nconst ANIMATION_HIDE_CLASS = 'fade-out';\r\n\r\nclass Dropdown extends BSDropdown {\r\n constructor(element, data) {\r\n super(element, data);\r\n this._config = this._getConfig(data);\r\n this._menuStyle = '';\r\n this._popperPlacement = '';\r\n this._mdbPopperConfig = '';\r\n\r\n //* prevents dropdown close issue when system animation is turned off\r\n const isPrefersReducedMotionSet = window.matchMedia('(prefers-reduced-motion: reduce)').matches;\r\n\r\n if (this._config.dropdownAnimation === 'on' && !isPrefersReducedMotionSet) {\r\n this._init();\r\n }\r\n }\r\n\r\n dispose() {\r\n EventHandler.off(this._element, EVENT_SHOW);\r\n EventHandler.off(this._parent, EVENT_SHOWN);\r\n EventHandler.off(this._parent, EVENT_HIDE);\r\n EventHandler.off(this._parent, EVENT_HIDDEN);\r\n super.dispose();\r\n }\r\n\r\n // Getters\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Private\r\n _init() {\r\n this._bindShowEvent();\r\n this._bindShownEvent();\r\n this._bindHideEvent();\r\n this._bindHiddenEvent();\r\n }\r\n\r\n _getConfig(options) {\r\n const config = {\r\n ...Default,\r\n ...Manipulator.getDataAttributes(this._element),\r\n ...options,\r\n };\r\n typeCheckConfig(NAME, config, DefaultType);\r\n return config;\r\n }\r\n\r\n _getOffset() {\r\n const { offset } = this._config;\r\n\r\n if (typeof offset === 'string') {\r\n return offset.split(',').map((val) => Number.parseInt(val, 10));\r\n }\r\n\r\n if (typeof offset === 'function') {\r\n return (popperData) => offset(popperData, this._element);\r\n }\r\n\r\n return offset;\r\n }\r\n\r\n _getPopperConfig() {\r\n const popperConfig = {\r\n placement: this._getPlacement(),\r\n modifiers: [\r\n {\r\n name: 'preventOverflow',\r\n options: {\r\n altBoundary: this._config.flip,\r\n boundary: this._config.boundary,\r\n },\r\n },\r\n {\r\n name: 'offset',\r\n options: {\r\n offset: this._getOffset(),\r\n },\r\n },\r\n ],\r\n };\r\n\r\n // Disable Popper if we have a static display\r\n if (this._config.display === 'static') {\r\n Manipulator.setDataAttribute(this._menu, 'popper', 'static');\r\n popperConfig.modifiers = [\r\n {\r\n name: 'applyStyles',\r\n enabled: false,\r\n },\r\n ];\r\n }\r\n\r\n return {\r\n ...popperConfig,\r\n /* eslint no-extra-parens: \"off\" */\r\n ...(typeof this._config.popperConfig === 'function'\r\n ? this._config.popperConfig(popperConfig)\r\n : this._config.popperConfig),\r\n };\r\n }\r\n\r\n _bindShowEvent() {\r\n EventHandler.on(this._element, EVENT_SHOW, (e) => {\r\n const showEvent = EventHandler.trigger(this._element, EVENT_SHOW_MDB, {\r\n relatedTarget: e.relatedTarget,\r\n });\r\n\r\n if (showEvent.defaultPrevented) {\r\n e.preventDefault();\r\n return;\r\n }\r\n\r\n this._dropdownAnimationStart('show');\r\n });\r\n }\r\n\r\n _bindShownEvent() {\r\n EventHandler.on(this._parent, EVENT_SHOWN, (e) => {\r\n const shownEvent = EventHandler.trigger(this._parent, EVENT_SHOWN_MDB, {\r\n relatedTarget: e.relatedTarget,\r\n });\r\n\r\n if (shownEvent.defaultPrevented) {\r\n e.preventDefault();\r\n return;\r\n }\r\n });\r\n }\r\n\r\n _bindHideEvent() {\r\n EventHandler.on(this._parent, EVENT_HIDE, (e) => {\r\n const hideEvent = EventHandler.trigger(this._parent, EVENT_HIDE_MDB, {\r\n relatedTarget: e.relatedTarget,\r\n });\r\n\r\n if (hideEvent.defaultPrevented) {\r\n e.preventDefault();\r\n return;\r\n }\r\n\r\n this._menuStyle = this._menu.style.cssText;\r\n this._popperPlacement = this._menu.getAttribute('data-popper-placement');\r\n this._mdbPopperConfig = this._menu.getAttribute('data-mdb-popper');\r\n });\r\n }\r\n\r\n _bindHiddenEvent() {\r\n EventHandler.on(this._parent, EVENT_HIDDEN, (e) => {\r\n const hiddenEvent = EventHandler.trigger(this._parent, EVENT_HIDDEN_MDB, {\r\n relatedTarget: e.relatedTarget,\r\n });\r\n\r\n if (hiddenEvent.defaultPrevented) {\r\n e.preventDefault();\r\n return;\r\n }\r\n\r\n if (this._config.display !== 'static' && this._menuStyle !== '') {\r\n this._menu.style.cssText = this._menuStyle;\r\n }\r\n\r\n this._menu.setAttribute('data-popper-placement', this._popperPlacement);\r\n this._menu.setAttribute('data-mdb-popper', this._mdbPopperConfig);\r\n\r\n this._dropdownAnimationStart('hide');\r\n });\r\n }\r\n\r\n _dropdownAnimationStart(action) {\r\n switch (action) {\r\n case 'show':\r\n this._menu.classList.add(ANIMATION_CLASS, ANIMATION_SHOW_CLASS);\r\n this._menu.classList.remove(ANIMATION_HIDE_CLASS);\r\n break;\r\n default:\r\n // hide\r\n this._menu.classList.add(ANIMATION_CLASS, ANIMATION_HIDE_CLASS);\r\n this._menu.classList.remove(ANIMATION_SHOW_CLASS);\r\n break;\r\n }\r\n\r\n this._bindAnimationEnd();\r\n }\r\n\r\n _bindAnimationEnd() {\r\n EventHandler.one(this._menu, 'animationend', () => {\r\n this._menu.classList.remove(ANIMATION_CLASS, ANIMATION_HIDE_CLASS, ANIMATION_SHOW_CLASS);\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Data Api implementation - auto initialization\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nSelectorEngine.find(SELECTOR_EXPAND).forEach((el) => {\r\n let instance = Dropdown.getInstance(el);\r\n if (!instance) {\r\n instance = new Dropdown(el);\r\n }\r\n});\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * jQuery\r\n * ------------------------------------------------------------------------\r\n * add .rating to jQuery only if jQuery is present\r\n */\r\n\r\nonDOMContentLoaded(() => {\r\n const $ = getjQuery();\r\n\r\n if ($) {\r\n const JQUERY_NO_CONFLICT = $.fn[NAME];\r\n $.fn[NAME] = Dropdown.jQueryInterface;\r\n $.fn[NAME].Constructor = Dropdown;\r\n $.fn[NAME].noConflict = () => {\r\n $.fn[NAME] = JQUERY_NO_CONFLICT;\r\n return Dropdown.jQueryInterface;\r\n };\r\n }\r\n});\r\n\r\nexport default Dropdown;\r\n","import { element, getjQuery, typeCheckConfig, onDOMContentLoaded } from '../mdb/util/index';\r\nimport Data from '../mdb/dom/data';\r\nimport EventHandler from '../mdb/dom/event-handler';\r\nimport Manipulator from '../mdb/dom/manipulator';\r\nimport SelectorEngine from '../mdb/dom/selector-engine';\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Constants\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nconst NAME = 'ripple';\r\nconst DATA_KEY = 'mdb.ripple';\r\nconst CLASSNAME_RIPPLE = 'ripple-surface';\r\nconst CLASSNAME_RIPPLE_WAVE = 'ripple-wave';\r\nconst CLASSNAME_RIPPLE_WRAPPER = 'input-wrapper';\r\nconst SELECTOR_COMPONENT = ['.btn', '.ripple'];\r\n\r\nconst CLASSNAME_UNBOUND = 'ripple-surface-unbound';\r\nconst GRADIENT =\r\n 'rgba({{color}}, 0.2) 0, rgba({{color}}, 0.3) 40%, rgba({{color}}, 0.4) 50%, rgba({{color}}, 0.5) 60%, rgba({{color}}, 0) 70%';\r\nconst DEFAULT_RIPPLE_COLOR = [0, 0, 0];\r\nconst BOOTSTRAP_COLORS = [\r\n 'primary',\r\n 'secondary',\r\n 'success',\r\n 'danger',\r\n 'warning',\r\n 'info',\r\n 'light',\r\n 'dark',\r\n];\r\n\r\n// Sets value when run opacity transition\r\n// Hide element after 50% (0.5) time of animation and finish on 100%\r\nconst TRANSITION_BREAK_OPACITY = 0.5;\r\n\r\nconst Default = {\r\n rippleCentered: false,\r\n rippleColor: '',\r\n rippleDuration: '500ms',\r\n rippleRadius: 0,\r\n rippleUnbound: false,\r\n};\r\n\r\nconst DefaultType = {\r\n rippleCentered: 'boolean',\r\n rippleColor: 'string',\r\n rippleDuration: 'string',\r\n rippleRadius: 'number',\r\n rippleUnbound: 'boolean',\r\n};\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Class Definition\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nclass Ripple {\r\n constructor(element, options) {\r\n this._element = element;\r\n this._options = this._getConfig(options);\r\n\r\n if (this._element) {\r\n Data.setData(element, DATA_KEY, this);\r\n Manipulator.addClass(this._element, CLASSNAME_RIPPLE);\r\n }\r\n\r\n this._clickHandler = this._createRipple.bind(this);\r\n this._rippleTimer = null;\r\n this._isMinWidthSet = false;\r\n this._rippleInSpan = false;\r\n\r\n this.init();\r\n }\r\n\r\n // Getters\r\n\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n // Public\r\n\r\n init() {\r\n this._addClickEvent(this._element);\r\n }\r\n\r\n dispose() {\r\n Data.removeData(this._element, DATA_KEY);\r\n EventHandler.off(this._element, 'click', this._clickHandler);\r\n this._element = null;\r\n this._options = null;\r\n }\r\n\r\n // Private\r\n\r\n _autoInit(event) {\r\n SELECTOR_COMPONENT.forEach((selector) => {\r\n const target = SelectorEngine.closest(event.target, selector);\r\n if (target) {\r\n this._element = SelectorEngine.closest(event.target, selector);\r\n }\r\n });\r\n\r\n this._options = this._getConfig();\r\n\r\n if (this._element.tagName.toLowerCase() === 'input') {\r\n const parent = this._element.parentNode;\r\n\r\n this._rippleInSpan = true;\r\n\r\n if (parent.tagName.toLowerCase() === 'span' && parent.classList.contains(CLASSNAME_RIPPLE)) {\r\n this._element = parent;\r\n } else {\r\n const shadow = getComputedStyle(this._element).boxShadow;\r\n const btn = this._element;\r\n const wrapper = document.createElement('span');\r\n\r\n if (btn.classList.contains('btn-block')) {\r\n wrapper.style.display = 'block';\r\n }\r\n\r\n EventHandler.one(wrapper, 'mouseup', (e) => {\r\n // prevent submit on click other than LMB, ripple still triggered, but submit is blocked\r\n if (e.button === 0) {\r\n btn.click();\r\n }\r\n });\r\n\r\n wrapper.classList.add(CLASSNAME_RIPPLE, CLASSNAME_RIPPLE_WRAPPER);\r\n\r\n Manipulator.addStyle(wrapper, {\r\n border: 0,\r\n 'box-shadow': shadow,\r\n });\r\n\r\n // Put element as child\r\n parent.replaceChild(wrapper, this._element);\r\n wrapper.appendChild(this._element);\r\n this._element = wrapper;\r\n }\r\n this._element.focus();\r\n }\r\n\r\n if (!this._element.style.minWidth) {\r\n Manipulator.style(this._element, { 'min-width': `${getComputedStyle(this._element).width}` });\r\n this._isMinWidthSet = true;\r\n }\r\n\r\n Manipulator.addClass(this._element, CLASSNAME_RIPPLE);\r\n this._createRipple(event);\r\n }\r\n\r\n _addClickEvent(target) {\r\n EventHandler.on(target, 'mousedown', this._clickHandler);\r\n }\r\n\r\n _getEventLayer(event) {\r\n const x = Math.round(event.clientX - event.target.getBoundingClientRect().x);\r\n const y = Math.round(event.clientY - event.target.getBoundingClientRect().y);\r\n return { layerX: x, layerY: y };\r\n }\r\n\r\n _createRipple(event) {\r\n if (!Manipulator.hasClass(this._element, CLASSNAME_RIPPLE)) {\r\n Manipulator.addClass(this._element, CLASSNAME_RIPPLE);\r\n }\r\n\r\n const { layerX, layerY } = this._getEventLayer(event);\r\n const offsetX = layerX;\r\n const offsetY = layerY;\r\n const height = this._element.offsetHeight;\r\n const width = this._element.offsetWidth;\r\n const duration = this._durationToMsNumber(this._options.rippleDuration);\r\n const diameterOptions = {\r\n offsetX: this._options.rippleCentered ? height / 2 : offsetX,\r\n offsetY: this._options.rippleCentered ? width / 2 : offsetY,\r\n height,\r\n width,\r\n };\r\n const diameter = this._getDiameter(diameterOptions);\r\n const radiusValue = this._options.rippleRadius || diameter / 2;\r\n\r\n const opacity = {\r\n delay: duration * TRANSITION_BREAK_OPACITY,\r\n duration: duration - duration * TRANSITION_BREAK_OPACITY,\r\n };\r\n\r\n const styles = {\r\n left: this._options.rippleCentered\r\n ? `${width / 2 - radiusValue}px`\r\n : `${offsetX - radiusValue}px`,\r\n top: this._options.rippleCentered\r\n ? `${height / 2 - radiusValue}px`\r\n : `${offsetY - radiusValue}px`,\r\n height: `${this._options.rippleRadius * 2 || diameter}px`,\r\n width: `${this._options.rippleRadius * 2 || diameter}px`,\r\n transitionDelay: `0s, ${opacity.delay}ms`,\r\n transitionDuration: `${duration}ms, ${opacity.duration}ms`,\r\n };\r\n\r\n const rippleHTML = element('div');\r\n\r\n this._createHTMLRipple({ wrapper: this._element, ripple: rippleHTML, styles });\r\n this._removeHTMLRipple({ ripple: rippleHTML, duration });\r\n }\r\n\r\n _createHTMLRipple({ wrapper, ripple, styles }) {\r\n Object.keys(styles).forEach((property) => (ripple.style[property] = styles[property]));\r\n ripple.classList.add(CLASSNAME_RIPPLE_WAVE);\r\n if (this._options.rippleColor !== '') {\r\n this._removeOldColorClasses(wrapper);\r\n this._addColor(ripple, wrapper);\r\n }\r\n\r\n this._toggleUnbound(wrapper);\r\n this._appendRipple(ripple, wrapper);\r\n }\r\n\r\n _removeHTMLRipple({ ripple, duration }) {\r\n if (this._rippleTimer) {\r\n clearTimeout(this._rippleTimer);\r\n this._rippleTimer = null;\r\n }\r\n this._rippleTimer = setTimeout(() => {\r\n if (ripple) {\r\n ripple.remove();\r\n if (this._element) {\r\n SelectorEngine.find(`.${CLASSNAME_RIPPLE_WAVE}`, this._element).forEach((rippleEl) => {\r\n rippleEl.remove();\r\n });\r\n if (this._isMinWidthSet) {\r\n Manipulator.style(this._element, { 'min-width': '' });\r\n this._isMinWidthSet = false;\r\n }\r\n if (this._rippleInSpan && this._element.classList.contains(CLASSNAME_RIPPLE_WRAPPER)) {\r\n this._removeWrapperSpan();\r\n } else {\r\n Manipulator.removeClass(this._element, CLASSNAME_RIPPLE);\r\n }\r\n }\r\n }\r\n }, duration);\r\n }\r\n\r\n _removeWrapperSpan() {\r\n const child = this._element.firstChild;\r\n\r\n this._element.replaceWith(child);\r\n this._element = child;\r\n this._element.focus();\r\n this._rippleInSpan = false;\r\n }\r\n\r\n _durationToMsNumber(time) {\r\n return Number(time.replace('ms', '').replace('s', '000'));\r\n }\r\n\r\n _getConfig(config = {}) {\r\n const dataAttributes = Manipulator.getDataAttributes(this._element);\r\n\r\n config = {\r\n ...Default,\r\n ...dataAttributes,\r\n ...config,\r\n };\r\n\r\n typeCheckConfig(NAME, config, DefaultType);\r\n return config;\r\n }\r\n\r\n _getDiameter({ offsetX, offsetY, height, width }) {\r\n const top = offsetY <= height / 2;\r\n const left = offsetX <= width / 2;\r\n const pythagorean = (sideA, sideB) => Math.sqrt(sideA ** 2 + sideB ** 2);\r\n\r\n const positionCenter = offsetY === height / 2 && offsetX === width / 2;\r\n // mouse position on the quadrants of the coordinate system\r\n const quadrant = {\r\n first: top === true && left === false,\r\n second: top === true && left === true,\r\n third: top === false && left === true,\r\n fourth: top === false && left === false,\r\n };\r\n\r\n const getCorner = {\r\n topLeft: pythagorean(offsetX, offsetY),\r\n topRight: pythagorean(width - offsetX, offsetY),\r\n bottomLeft: pythagorean(offsetX, height - offsetY),\r\n bottomRight: pythagorean(width - offsetX, height - offsetY),\r\n };\r\n\r\n let diameter = 0;\r\n\r\n if (positionCenter || quadrant.fourth) {\r\n diameter = getCorner.topLeft;\r\n } else if (quadrant.third) {\r\n diameter = getCorner.topRight;\r\n } else if (quadrant.second) {\r\n diameter = getCorner.bottomRight;\r\n } else if (quadrant.first) {\r\n diameter = getCorner.bottomLeft;\r\n }\r\n return diameter * 2;\r\n }\r\n\r\n _appendRipple(target, parent) {\r\n const FIX_ADD_RIPPLE_EFFECT = 50; // delay for active animations\r\n parent.appendChild(target);\r\n setTimeout(() => {\r\n Manipulator.addClass(target, 'active');\r\n }, FIX_ADD_RIPPLE_EFFECT);\r\n }\r\n\r\n _toggleUnbound(target) {\r\n if (this._options.rippleUnbound === true) {\r\n Manipulator.addClass(target, CLASSNAME_UNBOUND);\r\n } else {\r\n target.classList.remove(CLASSNAME_UNBOUND);\r\n }\r\n }\r\n\r\n _addColor(target, parent) {\r\n const IS_BOOTSTRAP_COLOR = BOOTSTRAP_COLORS.find(\r\n (color) => color === this._options.rippleColor.toLowerCase()\r\n );\r\n\r\n if (IS_BOOTSTRAP_COLOR) {\r\n Manipulator.addClass(\r\n parent,\r\n `${CLASSNAME_RIPPLE}-${this._options.rippleColor.toLowerCase()}`\r\n );\r\n } else {\r\n const rgbValue = this._colorToRGB(this._options.rippleColor).join(',');\r\n const gradientImage = GRADIENT.split('{{color}}').join(`${rgbValue}`);\r\n target.style.backgroundImage = `radial-gradient(circle, ${gradientImage})`;\r\n }\r\n }\r\n\r\n _removeOldColorClasses(target) {\r\n const REGEXP_CLASS_COLOR = new RegExp(`${CLASSNAME_RIPPLE}-[a-z]+`, 'gi');\r\n const PARENT_CLASSS_COLOR = target.classList.value.match(REGEXP_CLASS_COLOR) || [];\r\n PARENT_CLASSS_COLOR.forEach((className) => {\r\n target.classList.remove(className);\r\n });\r\n }\r\n\r\n _colorToRGB(color) {\r\n function hexToRgb(color) {\r\n const HEX_COLOR_LENGTH = 7;\r\n const IS_SHORT_HEX = color.length < HEX_COLOR_LENGTH;\r\n if (IS_SHORT_HEX) {\r\n color = `#${color[1]}${color[1]}${color[2]}${color[2]}${color[3]}${color[3]}`;\r\n }\r\n return [\r\n parseInt(color.substr(1, 2), 16),\r\n parseInt(color.substr(3, 2), 16),\r\n parseInt(color.substr(5, 2), 16),\r\n ];\r\n }\r\n\r\n function namedColorsToRgba(color) {\r\n const tempElem = document.body.appendChild(document.createElement('fictum'));\r\n const flag = 'rgb(1, 2, 3)';\r\n tempElem.style.color = flag;\r\n if (tempElem.style.color !== flag) {\r\n return DEFAULT_RIPPLE_COLOR;\r\n }\r\n tempElem.style.color = color;\r\n if (tempElem.style.color === flag || tempElem.style.color === '') {\r\n return DEFAULT_RIPPLE_COLOR;\r\n } // color parse failed\r\n color = getComputedStyle(tempElem).color;\r\n document.body.removeChild(tempElem);\r\n return color;\r\n }\r\n\r\n function rgbaToRgb(color) {\r\n color = color.match(/[.\\d]+/g).map((a) => +Number(a));\r\n color.length = 3;\r\n return color;\r\n }\r\n\r\n if (color.toLowerCase() === 'transparent') {\r\n return DEFAULT_RIPPLE_COLOR;\r\n }\r\n if (color[0] === '#') {\r\n return hexToRgb(color);\r\n }\r\n if (color.indexOf('rgb') === -1) {\r\n color = namedColorsToRgba(color);\r\n }\r\n if (color.indexOf('rgb') === 0) {\r\n return rgbaToRgb(color);\r\n }\r\n\r\n return DEFAULT_RIPPLE_COLOR;\r\n }\r\n\r\n // Static\r\n static autoInitial(instance) {\r\n return function (event) {\r\n instance._autoInit(event);\r\n };\r\n }\r\n\r\n static jQueryInterface(options) {\r\n return this.each(function () {\r\n const data = Data.getData(this, DATA_KEY);\r\n if (!data) {\r\n return new Ripple(this, options);\r\n }\r\n\r\n return null;\r\n });\r\n }\r\n\r\n static getInstance(element) {\r\n return Data.getData(element, DATA_KEY);\r\n }\r\n\r\n static getOrCreateInstance(element, config = {}) {\r\n return (\r\n this.getInstance(element) || new this(element, typeof config === 'object' ? config : null)\r\n );\r\n }\r\n}\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Data Api implementation - auto initialization\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nSELECTOR_COMPONENT.forEach((selector) => {\r\n EventHandler.one(document, 'mousedown', selector, Ripple.autoInitial(new Ripple()));\r\n});\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * jQuery\r\n * ------------------------------------------------------------------------\r\n * add .ripple to jQuery only if jQuery is present\r\n */\r\n\r\nonDOMContentLoaded(() => {\r\n const $ = getjQuery();\r\n\r\n if ($) {\r\n const JQUERY_NO_CONFLICT = $.fn[NAME];\r\n $.fn[NAME] = Ripple.jQueryInterface;\r\n $.fn[NAME].Constructor = Ripple;\r\n $.fn[NAME].noConflict = () => {\r\n $.fn[NAME] = JQUERY_NO_CONFLICT;\r\n return Ripple.jQueryInterface;\r\n };\r\n }\r\n});\r\n\r\nexport default Ripple;\r\n","import { getjQuery, element, onDOMContentLoaded } from '../mdb/util/index';\r\nimport Data from '../mdb/dom/data';\r\nimport EventHandler from '../mdb/dom/event-handler';\r\nimport Manipulator from '../mdb/dom/manipulator';\r\nimport SelectorEngine from '../mdb/dom/selector-engine';\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Constants\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nconst NAME = 'range';\r\nconst DATA_KEY = 'mdb.range';\r\nconst CLASSNAME_THUMB = 'thumb';\r\nconst CLASSNAME_WRAPPER = 'range';\r\nconst CLASSNAME_ACTIVE = 'thumb-active';\r\nconst CLASSNAME_THUMB_VALUE = 'thumb-value';\r\n\r\nconst SELECTOR_THUMB_VALUE = `.${CLASSNAME_THUMB_VALUE}`;\r\nconst SELECTOR_THUMB = `.${CLASSNAME_THUMB}`;\r\nconst SELECTOR_WRAPPER = `.${CLASSNAME_WRAPPER}`;\r\n\r\n/**\r\n * ------------------------------------------------------------------------\r\n * Class Definition\r\n * ------------------------------------------------------------------------\r\n */\r\n\r\nclass Range {\r\n constructor(element) {\r\n this._element = element;\r\n this._initiated = false;\r\n this._thumb = null;\r\n\r\n if (this._element) {\r\n Data.setData(element, DATA_KEY, this);\r\n this.init();\r\n }\r\n }\r\n\r\n // Getters\r\n static get NAME() {\r\n return NAME;\r\n }\r\n\r\n get rangeInput() {\r\n return SelectorEngine.findOne('input[type=range]', this._element);\r\n }\r\n\r\n // Public\r\n init() {\r\n if (this._initiated) {\r\n return;\r\n }\r\n this._addThumb();\r\n this._thumbUpdate();\r\n this._handleEvents();\r\n this._initiated = true;\r\n }\r\n\r\n dispose() {\r\n this._disposeEvents();\r\n Data.removeData(this._element, DATA_KEY);\r\n this._element = null;\r\n this._thumb = null;\r\n }\r\n\r\n // Private\r\n _addThumb() {\r\n const RANGE_THUMB = element('span');\r\n Manipulator.addClass(RANGE_THUMB, CLASSNAME_THUMB);\r\n RANGE_THUMB.innerHTML = '<span class=\"thumb-value\"></span>';\r\n this._element.append(RANGE_THUMB);\r\n this._thumb = SelectorEngine.findOne(SELECTOR_THUMB, this._element);\r\n }\r\n\r\n _handleEvents() {\r\n EventHandler.on(this.rangeInput, 'mousedown', () => this._showThumb());\r\n EventHandler.on(this.rangeInput, 'mouseup', () => this._hideThumb());\r\n EventHandler.on(this.rangeInput, 'touchstart', () => this._showThumb());\r\n EventHandler.on(this.rangeInput, 'touchend', () => this._hideThumb());\r\n EventHandler.on(this.rangeInput, 'input', () => this._thumbUpdate());\r\n }\r\n\r\n _disposeEvents() {\r\n EventHandler.off(this.rangeInput, 'mousedown', this._showThumb);\r\n EventHandler.off(this.rangeInput, 'mouseup', this._hideThumb);\r\n EventHandler.off(this.rangeInput, 'touchstart', this._showThumb);\r\n EventHandler.off(this.rangeInput, 'touchend', this._hideThumb);\r\n EventHandler.off(this.rangeInput, 'input', this._thumbUpdate);\r\n }\r\n\r\n _showThumb() {\r\n Manipulator.addClass(this._thumb, CLASSNAME_ACTIVE);\r\n }\r\n\r\n _hideThumb() {\r\n Manipulator.removeClass(this._thumb, CLASSNAME_ACTIVE);\r\n }\r\n\r\n _thumbUpdate() {\r\n const rangeInput = this.rangeInput;\r\n const inputValue = rangeInput.value;\r\n const minValue = rangeInput.min ? rangeInput.min : 0;\r\n const maxValue = rangeInput.max ? rangeInput.max : 100;\r\n const thumbValue = SelectorEngine.findOne(SELECTOR_THUMB_VALUE, this._thumb);\r\n thumbValue.textContent = inputValue;\r\n const newValue = Number(((inputValue - minValue) * 100) / (maxValue - minValue));\r\n Manipulator.style(this._thumb, { left: `calc(${newValue}% + (${8 - newValue * 0.15}px))` });\r\n }\r\n // Static\r\n\r\n static getInstance(element) {\r\n return Data.getData(element, DATA_KEY);\r\n }\r\n\r\n static getOrCreateInstance(element, config = {}) {\r\n return (\r\n this.getInstance(element) || new this(element, typeof config === 'object' ? config : null)\r\n );\r\n }\r\n\r\n static jQueryInterface(config, options) {\r\n return this.each(function () {\r\n let data = Data.getData(this, DATA_KEY);\r\n const _config = typeof config === 'object' && config;\r\n if (!data && /dispose/.test(config)) {\r\n return;\r\n }\r\n if (!data) {\r\n data = new Range(this, _config);\r\n }\r\n if (typeof config === 'string') {\r\n if (typeof data[config] === 'undefined') {\r\n throw new TypeError(`No method named \"${config}\"`);\r\n }\r\n data[config](options);\r\n }\r\n });\r\n }\r\n}\r\n\r\n// auto-init\r\nSelectorEngine.find(SELECTOR_WRAPPER).map((element) => new Range(element));\r\n\r\n// jQuery init\r\nonDOMContentLoaded(() => {\r\n const $ = getjQuery();\r\n\r\n if ($) {\r\n const JQUERY_NO_CONFLICT = $.fn[NAME];\r\n $.fn[NAME] = Range.jQueryInterface;\r\n $.fn[NAME].Constructor = Range;\r\n $.fn[NAME].noConflict = () => {\r\n $.fn[NAME] = JQUERY_NO_CONFLICT;\r\n return Range.jQueryInterface;\r\n };\r\n }\r\n});\r\n\r\nexport default Range;\r\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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 119);\n"],"sourceRoot":""}