{
  "version": 3,
  "sources": ["ssg:https://jspm.dev/npm:react@18.2.0!cjs", "ssg:https://jspm.dev/npm:react-tweet-embed@1.2.2!cjs", "ssg:https://framerusercontent.com/modules/YLAIqVion55BUycOZr6e/jrsqkDfbeZOvPjiIdPh9/Twitter.js", "ssg:https://ga.jspm.io/npm:@motionone/utils@10.14.0/dist/index.es.js", "ssg:https://ga.jspm.io/npm:@motionone/easing@10.12.0/dist/index.es.js", "ssg:https://ga.jspm.io/npm:@motionone/animation@10.12.0/dist/index.es.js", "ssg:https://ga.jspm.io/npm:tslib@2.4.0/tslib.es6.js", "ssg:https://ga.jspm.io/npm:hey-listen@1.0.8/dist/index.js", "ssg:https://ga.jspm.io/npm:@motionone/generators@10.12.0/dist/index.es.js", "ssg:https://ga.jspm.io/npm:@motionone/dom@10.13.1/dist/index.es.js", "ssg:https://ga.jspm.io/npm:style-value-types@5.0.0/dist/es/index.mjs", "ssg:https://ga.jspm.io/npm:framesync@6.0.1/dist/es/index.mjs", "ssg:https://ga.jspm.io/npm:popmotion@11.0.3/dist/es/index.mjs", "ssg:https://framerusercontent.com/modules/V9ryrjN5Am9WM1dJeyyJ/9mrJHeWj7rhvLTLu7Yzt/UsePageVisibility.js", "ssg:https://framerusercontent.com/modules/zvkTOpMSuRzRhLzZZIwG/tMgLW02JctHcv25gtiqf/SlideShow.js"],
  "sourcesContent": ["var exports = {};\nvar module = {\n  exports: exports\n};\n(function () {\n  'use strict';\n\n  /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== \"undefined\" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === \"function\") {\n    __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());\n  }\n  var ReactVersion = \"18.2.0\";\n\n  // ATTENTION\n  // When adding new symbols to this file,\n  // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n  // The Symbol used to tag the ReactElement-like types.\n  var REACT_ELEMENT_TYPE = Symbol.for(\"react.element\");\n  var REACT_PORTAL_TYPE = Symbol.for(\"react.portal\");\n  var REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\n  var REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\");\n  var REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\");\n  var REACT_PROVIDER_TYPE = Symbol.for(\"react.provider\");\n  var REACT_CONTEXT_TYPE = Symbol.for(\"react.context\");\n  var REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\");\n  var REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\");\n  var REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\");\n  var REACT_MEMO_TYPE = Symbol.for(\"react.memo\");\n  var REACT_LAZY_TYPE = Symbol.for(\"react.lazy\");\n  var REACT_OFFSCREEN_TYPE = Symbol.for(\"react.offscreen\");\n  var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\n  var FAUX_ITERATOR_SYMBOL = \"@@iterator\";\n  function getIteratorFn(maybeIterable) {\n    if (maybeIterable === null || typeof maybeIterable !== \"object\") {\n      return null;\n    }\n    var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n    if (typeof maybeIterator === \"function\") {\n      return maybeIterator;\n    }\n    return null;\n  }\n\n  /**\n   * Keeps track of the current dispatcher.\n   */\n  var ReactCurrentDispatcher = {\n    /**\n     * @internal\n     * @type {ReactComponent}\n     */\n    current: null\n  };\n\n  /**\n   * Keeps track of the current batch's configuration such as how long an update\n   * should suspend for if it needs to.\n   */\n  var ReactCurrentBatchConfig = {\n    transition: null\n  };\n  var ReactCurrentActQueue = {\n    current: null,\n    // Used to reproduce behavior of `batchedUpdates` in legacy mode.\n    isBatchingLegacy: false,\n    didScheduleLegacyUpdate: false\n  };\n\n  /**\n   * Keeps track of the current owner.\n   *\n   * The current owner is the component who should own any components that are\n   * currently being constructed.\n   */\n  var ReactCurrentOwner = {\n    /**\n     * @internal\n     * @type {ReactComponent}\n     */\n    current: null\n  };\n  var ReactDebugCurrentFrame = {};\n  var currentExtraStackFrame = null;\n  function setExtraStackFrame(stack) {\n    {\n      currentExtraStackFrame = stack;\n    }\n  }\n  {\n    ReactDebugCurrentFrame.setExtraStackFrame = function (stack) {\n      {\n        currentExtraStackFrame = stack;\n      }\n    }; // Stack implementation injected by the current renderer.\n\n    ReactDebugCurrentFrame.getCurrentStack = null;\n    ReactDebugCurrentFrame.getStackAddendum = function () {\n      var stack = \"\"; // Add an extra top frame while an element is being validated\n\n      if (currentExtraStackFrame) {\n        stack += currentExtraStackFrame;\n      } // Delegate to the injected renderer-specific implementation\n\n      var impl = ReactDebugCurrentFrame.getCurrentStack;\n      if (impl) {\n        stack += impl() || \"\";\n      }\n      return stack;\n    };\n  }\n\n  // -----------------------------------------------------------------------------\n\n  var enableScopeAPI = false; // Experimental Create Event Handle API.\n  var enableCacheElement = false;\n  var enableTransitionTracing = false; // No known bugs, but needs performance testing\n\n  var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n  // stuff. Intended to enable React core members to more easily debug scheduling\n  // issues in DEV builds.\n\n  var enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\n  var ReactSharedInternals = {\n    ReactCurrentDispatcher: ReactCurrentDispatcher,\n    ReactCurrentBatchConfig: ReactCurrentBatchConfig,\n    ReactCurrentOwner: ReactCurrentOwner\n  };\n  {\n    ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;\n    ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;\n  }\n\n  // by calls to these methods by a Babel plugin.\n  //\n  // In PROD (or in packages without access to React internals),\n  // they are left as they are instead.\n\n  function warn(format) {\n    {\n      {\n        for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n          args[_key - 1] = arguments[_key];\n        }\n        printWarning(\"warn\", format, args);\n      }\n    }\n  }\n  function error(format) {\n    {\n      {\n        for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n          args[_key2 - 1] = arguments[_key2];\n        }\n        printWarning(\"error\", format, args);\n      }\n    }\n  }\n  function printWarning(level, format, args) {\n    // When changing this logic, you might want to also\n    // update consoleWithStackDev.www.js as well.\n    {\n      var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n      var stack = ReactDebugCurrentFrame.getStackAddendum();\n      if (stack !== \"\") {\n        format += \"%s\";\n        args = args.concat([stack]);\n      } // eslint-disable-next-line react-internal/safe-string-coercion\n\n      var argsWithFormat = args.map(function (item) {\n        return String(item);\n      }); // Careful: RN currently depends on this prefix\n\n      argsWithFormat.unshift(\"Warning: \" + format); // We intentionally don't use spread (or .apply) directly because it\n      // breaks IE9: https://github.com/facebook/react/issues/13610\n      // eslint-disable-next-line react-internal/no-production-logging\n\n      Function.prototype.apply.call(console[level], console, argsWithFormat);\n    }\n  }\n  var didWarnStateUpdateForUnmountedComponent = {};\n  function warnNoop(publicInstance, callerName) {\n    {\n      var _constructor = publicInstance.constructor;\n      var componentName = _constructor && (_constructor.displayName || _constructor.name) || \"ReactClass\";\n      var warningKey = componentName + \".\" + callerName;\n      if (didWarnStateUpdateForUnmountedComponent[warningKey]) {\n        return;\n      }\n      error(\"Can't call %s on a component that is not yet mounted. \" + \"This is a no-op, but it might indicate a bug in your application. \" + \"Instead, assign to `this.state` directly or define a `state = {};` \" + \"class property with the desired state in the %s component.\", callerName, componentName);\n      didWarnStateUpdateForUnmountedComponent[warningKey] = true;\n    }\n  }\n  /**\n   * This is the abstract API for an update queue.\n   */\n\n  var ReactNoopUpdateQueue = {\n    /**\n     * Checks whether or not this composite component is mounted.\n     * @param {ReactClass} publicInstance The instance we want to test.\n     * @return {boolean} True if mounted, false otherwise.\n     * @protected\n     * @final\n     */\n    isMounted: function (publicInstance) {\n      return false;\n    },\n    /**\n     * Forces an update. This should only be invoked when it is known with\n     * certainty that we are **not** in a DOM transaction.\n     *\n     * You may want to call this when you know that some deeper aspect of the\n     * component's state has changed but `setState` was not called.\n     *\n     * This will not invoke `shouldComponentUpdate`, but it will invoke\n     * `componentWillUpdate` and `componentDidUpdate`.\n     *\n     * @param {ReactClass} publicInstance The instance that should rerender.\n     * @param {?function} callback Called after component is updated.\n     * @param {?string} callerName name of the calling function in the public API.\n     * @internal\n     */\n    enqueueForceUpdate: function (publicInstance, callback, callerName) {\n      warnNoop(publicInstance, \"forceUpdate\");\n    },\n    /**\n     * Replaces all of the state. Always use this or `setState` to mutate state.\n     * You should treat `this.state` as immutable.\n     *\n     * There is no guarantee that `this.state` will be immediately updated, so\n     * accessing `this.state` after calling this method may return the old value.\n     *\n     * @param {ReactClass} publicInstance The instance that should rerender.\n     * @param {object} completeState Next state.\n     * @param {?function} callback Called after component is updated.\n     * @param {?string} callerName name of the calling function in the public API.\n     * @internal\n     */\n    enqueueReplaceState: function (publicInstance, completeState, callback, callerName) {\n      warnNoop(publicInstance, \"replaceState\");\n    },\n    /**\n     * Sets a subset of the state. This only exists because _pendingState is\n     * internal. This provides a merging strategy that is not available to deep\n     * properties which is confusing. TODO: Expose pendingState or don't use it\n     * during the merge.\n     *\n     * @param {ReactClass} publicInstance The instance that should rerender.\n     * @param {object} partialState Next partial state to be merged with state.\n     * @param {?function} callback Called after component is updated.\n     * @param {?string} Name of the calling function in the public API.\n     * @internal\n     */\n    enqueueSetState: function (publicInstance, partialState, callback, callerName) {\n      warnNoop(publicInstance, \"setState\");\n    }\n  };\n  var assign = Object.assign;\n  var emptyObject = {};\n  {\n    Object.freeze(emptyObject);\n  }\n  /**\n   * Base class helpers for the updating state of a component.\n   */\n\n  function Component(props, context, updater) {\n    this.props = props;\n    this.context = context; // If a component has string refs, we will assign a different object later.\n\n    this.refs = emptyObject; // We initialize the default updater but the real one gets injected by the\n    // renderer.\n\n    this.updater = updater || ReactNoopUpdateQueue;\n  }\n  Component.prototype.isReactComponent = {};\n  /**\n   * Sets a subset of the state. Always use this to mutate\n   * state. You should treat `this.state` as immutable.\n   *\n   * There is no guarantee that `this.state` will be immediately updated, so\n   * accessing `this.state` after calling this method may return the old value.\n   *\n   * There is no guarantee that calls to `setState` will run synchronously,\n   * as they may eventually be batched together.  You can provide an optional\n   * callback that will be executed when the call to setState is actually\n   * completed.\n   *\n   * When a function is provided to setState, it will be called at some point in\n   * the future (not synchronously). It will be called with the up to date\n   * component arguments (state, props, context). These values can be different\n   * from this.* because your function may be called after receiveProps but before\n   * shouldComponentUpdate, and this new state, props, and context will not yet be\n   * assigned to this.\n   *\n   * @param {object|function} partialState Next partial state or function to\n   *        produce next partial state to be merged with current state.\n   * @param {?function} callback Called after state is updated.\n   * @final\n   * @protected\n   */\n\n  Component.prototype.setState = function (partialState, callback) {\n    if (typeof partialState !== \"object\" && typeof partialState !== \"function\" && partialState != null) {\n      throw new Error(\"setState(...): takes an object of state variables to update or a \" + \"function which returns an object of state variables.\");\n    }\n    this.updater.enqueueSetState(this, partialState, callback, \"setState\");\n  };\n  /**\n   * Forces an update. This should only be invoked when it is known with\n   * certainty that we are **not** in a DOM transaction.\n   *\n   * You may want to call this when you know that some deeper aspect of the\n   * component's state has changed but `setState` was not called.\n   *\n   * This will not invoke `shouldComponentUpdate`, but it will invoke\n   * `componentWillUpdate` and `componentDidUpdate`.\n   *\n   * @param {?function} callback Called after update is complete.\n   * @final\n   * @protected\n   */\n\n  Component.prototype.forceUpdate = function (callback) {\n    this.updater.enqueueForceUpdate(this, callback, \"forceUpdate\");\n  };\n  /**\n   * Deprecated APIs. These APIs used to exist on classic React classes but since\n   * we would like to deprecate them, we're not going to move them over to this\n   * modern base class. Instead, we define a getter that warns if it's accessed.\n   */\n\n  {\n    var deprecatedAPIs = {\n      isMounted: [\"isMounted\", \"Instead, make sure to clean up subscriptions and pending requests in \" + \"componentWillUnmount to prevent memory leaks.\"],\n      replaceState: [\"replaceState\", \"Refactor your code to use setState instead (see \" + \"https://github.com/facebook/react/issues/3236).\"]\n    };\n    var defineDeprecationWarning = function (methodName, info) {\n      Object.defineProperty(Component.prototype, methodName, {\n        get: function () {\n          warn(\"%s(...) is deprecated in plain JavaScript React classes. %s\", info[0], info[1]);\n          return undefined;\n        }\n      });\n    };\n    for (var fnName in deprecatedAPIs) {\n      if (deprecatedAPIs.hasOwnProperty(fnName)) {\n        defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);\n      }\n    }\n  }\n  function ComponentDummy() {}\n  ComponentDummy.prototype = Component.prototype;\n  /**\n   * Convenience component with default shallow equality check for sCU.\n   */\n\n  function PureComponent(props, context, updater) {\n    this.props = props;\n    this.context = context; // If a component has string refs, we will assign a different object later.\n\n    this.refs = emptyObject;\n    this.updater = updater || ReactNoopUpdateQueue;\n  }\n  var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();\n  pureComponentPrototype.constructor = PureComponent; // Avoid an extra prototype jump for these methods.\n\n  assign(pureComponentPrototype, Component.prototype);\n  pureComponentPrototype.isPureReactComponent = true;\n\n  // an immutable object with a single mutable value\n  function createRef() {\n    var refObject = {\n      current: null\n    };\n    {\n      Object.seal(refObject);\n    }\n    return refObject;\n  }\n  var isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\n  function isArray(a) {\n    return isArrayImpl(a);\n  }\n\n  /*\n   * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n   * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n   *\n   * The functions in this module will throw an easier-to-understand,\n   * easier-to-debug exception with a clear errors message message explaining the\n   * problem. (Instead of a confusing exception thrown inside the implementation\n   * of the `value` object).\n   */\n  // $FlowFixMe only called in DEV, so void return is not possible.\n  function typeName(value) {\n    {\n      // toStringTag is needed for namespaced types like Temporal.Instant\n      var hasToStringTag = typeof Symbol === \"function\" && Symbol.toStringTag;\n      var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || \"Object\";\n      return type;\n    }\n  } // $FlowFixMe only called in DEV, so void return is not possible.\n\n  function willCoercionThrow(value) {\n    {\n      try {\n        testStringCoercion(value);\n        return false;\n      } catch (e) {\n        return true;\n      }\n    }\n  }\n  function testStringCoercion(value) {\n    // If you ended up here by following an exception call stack, here's what's\n    // happened: you supplied an object or symbol value to React (as a prop, key,\n    // DOM attribute, CSS property, string ref, etc.) and when React tried to\n    // coerce it to a string using `'' + value`, an exception was thrown.\n    //\n    // The most common types that will cause this exception are `Symbol` instances\n    // and Temporal objects like `Temporal.Instant`. But any object that has a\n    // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n    // exception. (Library authors do this to prevent users from using built-in\n    // numeric operators like `+` or comparison operators like `>=` because custom\n    // methods are needed to perform accurate arithmetic or comparison.)\n    //\n    // To fix the problem, coerce this object or symbol value to a string before\n    // passing it to React. The most reliable way is usually `String(value)`.\n    //\n    // To find which value is throwing, check the browser or debugger console.\n    // Before this exception was thrown, there should be `console.error` output\n    // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n    // problem and how that type was used: key, atrribute, input value prop, etc.\n    // In most cases, this console output also shows the component and its\n    // ancestor components where the exception happened.\n    //\n    // eslint-disable-next-line react-internal/safe-string-coercion\n    return \"\" + value;\n  }\n  function checkKeyStringCoercion(value) {\n    {\n      if (willCoercionThrow(value)) {\n        error(\"The provided key is an unsupported type %s.\" + \" This value must be coerced to a string before before using it here.\", typeName(value));\n        return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n      }\n    }\n  }\n\n  function getWrappedName(outerType, innerType, wrapperName) {\n    var displayName = outerType.displayName;\n    if (displayName) {\n      return displayName;\n    }\n    var functionName = innerType.displayName || innerType.name || \"\";\n    return functionName !== \"\" ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n  } // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n  function getContextName(type) {\n    return type.displayName || \"Context\";\n  } // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n  function getComponentNameFromType(type) {\n    if (type == null) {\n      // Host root, text node or just invalid type.\n      return null;\n    }\n    {\n      if (typeof type.tag === \"number\") {\n        error(\"Received an unexpected object in getComponentNameFromType(). \" + \"This is likely a bug in React. Please file an issue.\");\n      }\n    }\n    if (typeof type === \"function\") {\n      return type.displayName || type.name || null;\n    }\n    if (typeof type === \"string\") {\n      return type;\n    }\n    switch (type) {\n      case REACT_FRAGMENT_TYPE:\n        return \"Fragment\";\n      case REACT_PORTAL_TYPE:\n        return \"Portal\";\n      case REACT_PROFILER_TYPE:\n        return \"Profiler\";\n      case REACT_STRICT_MODE_TYPE:\n        return \"StrictMode\";\n      case REACT_SUSPENSE_TYPE:\n        return \"Suspense\";\n      case REACT_SUSPENSE_LIST_TYPE:\n        return \"SuspenseList\";\n    }\n    if (typeof type === \"object\") {\n      switch (type.$$typeof) {\n        case REACT_CONTEXT_TYPE:\n          var context = type;\n          return getContextName(context) + \".Consumer\";\n        case REACT_PROVIDER_TYPE:\n          var provider = type;\n          return getContextName(provider._context) + \".Provider\";\n        case REACT_FORWARD_REF_TYPE:\n          return getWrappedName(type, type.render, \"ForwardRef\");\n        case REACT_MEMO_TYPE:\n          var outerName = type.displayName || null;\n          if (outerName !== null) {\n            return outerName;\n          }\n          return getComponentNameFromType(type.type) || \"Memo\";\n        case REACT_LAZY_TYPE:\n          {\n            var lazyComponent = type;\n            var payload = lazyComponent._payload;\n            var init = lazyComponent._init;\n            try {\n              return getComponentNameFromType(init(payload));\n            } catch (x) {\n              return null;\n            }\n          }\n\n        // eslint-disable-next-line no-fallthrough\n      }\n    }\n\n    return null;\n  }\n  var hasOwnProperty = Object.prototype.hasOwnProperty;\n  var RESERVED_PROPS = {\n    key: true,\n    ref: true,\n    __self: true,\n    __source: true\n  };\n  var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs;\n  {\n    didWarnAboutStringRefs = {};\n  }\n  function hasValidRef(config) {\n    {\n      if (hasOwnProperty.call(config, \"ref\")) {\n        var getter = Object.getOwnPropertyDescriptor(config, \"ref\").get;\n        if (getter && getter.isReactWarning) {\n          return false;\n        }\n      }\n    }\n    return config.ref !== undefined;\n  }\n  function hasValidKey(config) {\n    {\n      if (hasOwnProperty.call(config, \"key\")) {\n        var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n        if (getter && getter.isReactWarning) {\n          return false;\n        }\n      }\n    }\n    return config.key !== undefined;\n  }\n  function defineKeyPropWarningGetter(props, displayName) {\n    var warnAboutAccessingKey = function () {\n      {\n        if (!specialPropKeyWarningShown) {\n          specialPropKeyWarningShown = true;\n          error(\"%s: `key` is not a prop. Trying to access it will result \" + \"in `undefined` being returned. If you need to access the same \" + \"value within the child component, you should pass it as a different \" + \"prop. (https://reactjs.org/link/special-props)\", displayName);\n        }\n      }\n    };\n    warnAboutAccessingKey.isReactWarning = true;\n    Object.defineProperty(props, \"key\", {\n      get: warnAboutAccessingKey,\n      configurable: true\n    });\n  }\n  function defineRefPropWarningGetter(props, displayName) {\n    var warnAboutAccessingRef = function () {\n      {\n        if (!specialPropRefWarningShown) {\n          specialPropRefWarningShown = true;\n          error(\"%s: `ref` is not a prop. Trying to access it will result \" + \"in `undefined` being returned. If you need to access the same \" + \"value within the child component, you should pass it as a different \" + \"prop. (https://reactjs.org/link/special-props)\", displayName);\n        }\n      }\n    };\n    warnAboutAccessingRef.isReactWarning = true;\n    Object.defineProperty(props, \"ref\", {\n      get: warnAboutAccessingRef,\n      configurable: true\n    });\n  }\n  function warnIfStringRefCannotBeAutoConverted(config) {\n    {\n      if (typeof config.ref === \"string\" && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) {\n        var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n        if (!didWarnAboutStringRefs[componentName]) {\n          error(\"Component \\\"%s\\\" contains the string ref \\\"%s\\\". \" + \"Support for string refs will be removed in a future major release. \" + \"This case cannot be automatically converted to an arrow function. \" + \"We ask you to manually fix this case by using useRef() or createRef() instead. \" + \"Learn more about using refs safely here: \" + \"https://reactjs.org/link/strict-mode-string-ref\", componentName, config.ref);\n          didWarnAboutStringRefs[componentName] = true;\n        }\n      }\n    }\n  }\n  /**\n   * Factory method to create a new React element. This no longer adheres to\n   * the class pattern, so do not use new to call it. Also, instanceof check\n   * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n   * if something is a React Element.\n   *\n   * @param {*} type\n   * @param {*} props\n   * @param {*} key\n   * @param {string|object} ref\n   * @param {*} owner\n   * @param {*} self A *temporary* helper to detect places where `this` is\n   * different from the `owner` when React.createElement is called, so that we\n   * can warn. We want to get rid of owner and replace string `ref`s with arrow\n   * functions, and as long as `this` and owner are the same, there will be no\n   * change in behavior.\n   * @param {*} source An annotation object (added by a transpiler or otherwise)\n   * indicating filename, line number, and/or other information.\n   * @internal\n   */\n\n  var ReactElement = function (type, key, ref, self, source, owner, props) {\n    var element = {\n      // This tag allows us to uniquely identify this as a React Element\n      $$typeof: REACT_ELEMENT_TYPE,\n      // Built-in properties that belong on the element\n      type: type,\n      key: key,\n      ref: ref,\n      props: props,\n      // Record the component responsible for creating this element.\n      _owner: owner\n    };\n    {\n      // The validation flag is currently mutative. We put it on\n      // an external backing store so that we can freeze the whole object.\n      // This can be replaced with a WeakMap once they are implemented in\n      // commonly used development environments.\n      element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n      // the validation flag non-enumerable (where possible, which should\n      // include every environment we run tests in), so the test framework\n      // ignores it.\n\n      Object.defineProperty(element._store, \"validated\", {\n        configurable: false,\n        enumerable: false,\n        writable: true,\n        value: false\n      }); // self and source are DEV only properties.\n\n      Object.defineProperty(element, \"_self\", {\n        configurable: false,\n        enumerable: false,\n        writable: false,\n        value: self\n      }); // Two elements created in two different places should be considered\n      // equal for testing purposes and therefore we hide it from enumeration.\n\n      Object.defineProperty(element, \"_source\", {\n        configurable: false,\n        enumerable: false,\n        writable: false,\n        value: source\n      });\n      if (Object.freeze) {\n        Object.freeze(element.props);\n        Object.freeze(element);\n      }\n    }\n    return element;\n  };\n  /**\n   * Create and return a new ReactElement of the given type.\n   * See https://reactjs.org/docs/react-api.html#createelement\n   */\n\n  function createElement(type, config, children) {\n    var propName; // Reserved names are extracted\n\n    var props = {};\n    var key = null;\n    var ref = null;\n    var self = null;\n    var source = null;\n    if (config != null) {\n      if (hasValidRef(config)) {\n        ref = config.ref;\n        {\n          warnIfStringRefCannotBeAutoConverted(config);\n        }\n      }\n      if (hasValidKey(config)) {\n        {\n          checkKeyStringCoercion(config.key);\n        }\n        key = \"\" + config.key;\n      }\n      self = config.__self === undefined ? null : config.__self;\n      source = config.__source === undefined ? null : config.__source; // Remaining properties are added to a new props object\n\n      for (propName in config) {\n        if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n          props[propName] = config[propName];\n        }\n      }\n    } // Children can be more than one argument, and those are transferred onto\n    // the newly allocated props object.\n\n    var childrenLength = arguments.length - 2;\n    if (childrenLength === 1) {\n      props.children = children;\n    } else if (childrenLength > 1) {\n      var childArray = Array(childrenLength);\n      for (var i = 0; i < childrenLength; i++) {\n        childArray[i] = arguments[i + 2];\n      }\n      {\n        if (Object.freeze) {\n          Object.freeze(childArray);\n        }\n      }\n      props.children = childArray;\n    } // Resolve default props\n\n    if (type && type.defaultProps) {\n      var defaultProps = type.defaultProps;\n      for (propName in defaultProps) {\n        if (props[propName] === undefined) {\n          props[propName] = defaultProps[propName];\n        }\n      }\n    }\n    {\n      if (key || ref) {\n        var displayName = typeof type === \"function\" ? type.displayName || type.name || \"Unknown\" : type;\n        if (key) {\n          defineKeyPropWarningGetter(props, displayName);\n        }\n        if (ref) {\n          defineRefPropWarningGetter(props, displayName);\n        }\n      }\n    }\n    return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n  }\n  function cloneAndReplaceKey(oldElement, newKey) {\n    var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);\n    return newElement;\n  }\n  /**\n   * Clone and return a new ReactElement using element as the starting point.\n   * See https://reactjs.org/docs/react-api.html#cloneelement\n   */\n\n  function cloneElement(element, config, children) {\n    if (element === null || element === undefined) {\n      throw new Error(\"React.cloneElement(...): The argument must be a React element, but you passed \" + element + \".\");\n    }\n    var propName; // Original props are copied\n\n    var props = assign({}, element.props); // Reserved names are extracted\n\n    var key = element.key;\n    var ref = element.ref; // Self is preserved since the owner is preserved.\n\n    var self = element._self; // Source is preserved since cloneElement is unlikely to be targeted by a\n    // transpiler, and the original source is probably a better indicator of the\n    // true owner.\n\n    var source = element._source; // Owner will be preserved, unless ref is overridden\n\n    var owner = element._owner;\n    if (config != null) {\n      if (hasValidRef(config)) {\n        // Silently steal the ref from the parent.\n        ref = config.ref;\n        owner = ReactCurrentOwner.current;\n      }\n      if (hasValidKey(config)) {\n        {\n          checkKeyStringCoercion(config.key);\n        }\n        key = \"\" + config.key;\n      } // Remaining properties override existing props\n\n      var defaultProps;\n      if (element.type && element.type.defaultProps) {\n        defaultProps = element.type.defaultProps;\n      }\n      for (propName in config) {\n        if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n          if (config[propName] === undefined && defaultProps !== undefined) {\n            // Resolve default props\n            props[propName] = defaultProps[propName];\n          } else {\n            props[propName] = config[propName];\n          }\n        }\n      }\n    } // Children can be more than one argument, and those are transferred onto\n    // the newly allocated props object.\n\n    var childrenLength = arguments.length - 2;\n    if (childrenLength === 1) {\n      props.children = children;\n    } else if (childrenLength > 1) {\n      var childArray = Array(childrenLength);\n      for (var i = 0; i < childrenLength; i++) {\n        childArray[i] = arguments[i + 2];\n      }\n      props.children = childArray;\n    }\n    return ReactElement(element.type, key, ref, self, source, owner, props);\n  }\n  /**\n   * Verifies the object is a ReactElement.\n   * See https://reactjs.org/docs/react-api.html#isvalidelement\n   * @param {?object} object\n   * @return {boolean} True if `object` is a ReactElement.\n   * @final\n   */\n\n  function isValidElement(object) {\n    return typeof object === \"object\" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n  }\n  var SEPARATOR = \".\";\n  var SUBSEPARATOR = \":\";\n  /**\n   * Escape and wrap key so it is safe to use as a reactid\n   *\n   * @param {string} key to be escaped.\n   * @return {string} the escaped key.\n   */\n\n  function escape(key) {\n    var escapeRegex = /[=:]/g;\n    var escaperLookup = {\n      \"=\": \"=0\",\n      \":\": \"=2\"\n    };\n    var escapedString = key.replace(escapeRegex, function (match) {\n      return escaperLookup[match];\n    });\n    return \"$\" + escapedString;\n  }\n  /**\n   * TODO: Test that a single child and an array with one item have the same key\n   * pattern.\n   */\n\n  var didWarnAboutMaps = false;\n  var userProvidedKeyEscapeRegex = /\\/+/g;\n  function escapeUserProvidedKey(text) {\n    return text.replace(userProvidedKeyEscapeRegex, \"$&/\");\n  }\n  /**\n   * Generate a key string that identifies a element within a set.\n   *\n   * @param {*} element A element that could contain a manual key.\n   * @param {number} index Index that is used if a manual key is not provided.\n   * @return {string}\n   */\n\n  function getElementKey(element, index) {\n    // Do some typechecking here since we call this blindly. We want to ensure\n    // that we don't block potential future ES APIs.\n    if (typeof element === \"object\" && element !== null && element.key != null) {\n      // Explicit key\n      {\n        checkKeyStringCoercion(element.key);\n      }\n      return escape(\"\" + element.key);\n    } // Implicit key determined by the index in the set\n\n    return index.toString(36);\n  }\n  function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {\n    var type = typeof children;\n    if (type === \"undefined\" || type === \"boolean\") {\n      // All of the above are perceived as null.\n      children = null;\n    }\n    var invokeCallback = false;\n    if (children === null) {\n      invokeCallback = true;\n    } else {\n      switch (type) {\n        case \"string\":\n        case \"number\":\n          invokeCallback = true;\n          break;\n        case \"object\":\n          switch (children.$$typeof) {\n            case REACT_ELEMENT_TYPE:\n            case REACT_PORTAL_TYPE:\n              invokeCallback = true;\n          }\n      }\n    }\n    if (invokeCallback) {\n      var _child = children;\n      var mappedChild = callback(_child); // If it's the only child, treat the name as if it was wrapped in an array\n      // so that it's consistent if the number of children grows:\n\n      var childKey = nameSoFar === \"\" ? SEPARATOR + getElementKey(_child, 0) : nameSoFar;\n      if (isArray(mappedChild)) {\n        var escapedChildKey = \"\";\n        if (childKey != null) {\n          escapedChildKey = escapeUserProvidedKey(childKey) + \"/\";\n        }\n        mapIntoArray(mappedChild, array, escapedChildKey, \"\", function (c) {\n          return c;\n        });\n      } else if (mappedChild != null) {\n        if (isValidElement(mappedChild)) {\n          {\n            // The `if` statement here prevents auto-disabling of the safe\n            // coercion ESLint rule, so we must manually disable it below.\n            // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key\n            if (mappedChild.key && (!_child || _child.key !== mappedChild.key)) {\n              checkKeyStringCoercion(mappedChild.key);\n            }\n          }\n          mappedChild = cloneAndReplaceKey(mappedChild,\n          // Keep both the (mapped) and old keys if they differ, just as\n          // traverseAllChildren used to do for objects as children\n          escapedPrefix + (\n          // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key\n          mappedChild.key && (!_child || _child.key !== mappedChild.key) ?\n          // $FlowFixMe Flow incorrectly thinks existing element's key can be a number\n          // eslint-disable-next-line react-internal/safe-string-coercion\n          escapeUserProvidedKey(\"\" + mappedChild.key) + \"/\" : \"\") + childKey);\n        }\n        array.push(mappedChild);\n      }\n      return 1;\n    }\n    var child;\n    var nextName;\n    var subtreeCount = 0; // Count of children found in the current subtree.\n\n    var nextNamePrefix = nameSoFar === \"\" ? SEPARATOR : nameSoFar + SUBSEPARATOR;\n    if (isArray(children)) {\n      for (var i = 0; i < children.length; i++) {\n        child = children[i];\n        nextName = nextNamePrefix + getElementKey(child, i);\n        subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);\n      }\n    } else {\n      var iteratorFn = getIteratorFn(children);\n      if (typeof iteratorFn === \"function\") {\n        var iterableChildren = children;\n        {\n          // Warn about using Maps as children\n          if (iteratorFn === iterableChildren.entries) {\n            if (!didWarnAboutMaps) {\n              warn(\"Using Maps as children is not supported. \" + \"Use an array of keyed ReactElements instead.\");\n            }\n            didWarnAboutMaps = true;\n          }\n        }\n        var iterator = iteratorFn.call(iterableChildren);\n        var step;\n        var ii = 0;\n        while (!(step = iterator.next()).done) {\n          child = step.value;\n          nextName = nextNamePrefix + getElementKey(child, ii++);\n          subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);\n        }\n      } else if (type === \"object\") {\n        // eslint-disable-next-line react-internal/safe-string-coercion\n        var childrenString = String(children);\n        throw new Error(\"Objects are not valid as a React child (found: \" + (childrenString === \"[object Object]\" ? \"object with keys {\" + Object.keys(children).join(\", \") + \"}\" : childrenString) + \"). \" + \"If you meant to render a collection of children, use an array \" + \"instead.\");\n      }\n    }\n    return subtreeCount;\n  }\n\n  /**\n   * Maps children that are typically specified as `props.children`.\n   *\n   * See https://reactjs.org/docs/react-api.html#reactchildrenmap\n   *\n   * The provided mapFunction(child, index) will be called for each\n   * leaf child.\n   *\n   * @param {?*} children Children tree container.\n   * @param {function(*, int)} func The map function.\n   * @param {*} context Context for mapFunction.\n   * @return {object} Object containing the ordered map of results.\n   */\n  function mapChildren(children, func, context) {\n    if (children == null) {\n      return children;\n    }\n    var result = [];\n    var count = 0;\n    mapIntoArray(children, result, \"\", \"\", function (child) {\n      return func.call(context, child, count++);\n    });\n    return result;\n  }\n  /**\n   * Count the number of children that are typically specified as\n   * `props.children`.\n   *\n   * See https://reactjs.org/docs/react-api.html#reactchildrencount\n   *\n   * @param {?*} children Children tree container.\n   * @return {number} The number of children.\n   */\n\n  function countChildren(children) {\n    var n = 0;\n    mapChildren(children, function () {\n      n++; // Don't return anything\n    });\n\n    return n;\n  }\n\n  /**\n   * Iterates through children that are typically specified as `props.children`.\n   *\n   * See https://reactjs.org/docs/react-api.html#reactchildrenforeach\n   *\n   * The provided forEachFunc(child, index) will be called for each\n   * leaf child.\n   *\n   * @param {?*} children Children tree container.\n   * @param {function(*, int)} forEachFunc\n   * @param {*} forEachContext Context for forEachContext.\n   */\n  function forEachChildren(children, forEachFunc, forEachContext) {\n    mapChildren(children, function () {\n      forEachFunc.apply(this, arguments); // Don't return anything.\n    }, forEachContext);\n  }\n  /**\n   * Flatten a children object (typically specified as `props.children`) and\n   * return an array with appropriately re-keyed children.\n   *\n   * See https://reactjs.org/docs/react-api.html#reactchildrentoarray\n   */\n\n  function toArray(children) {\n    return mapChildren(children, function (child) {\n      return child;\n    }) || [];\n  }\n  /**\n   * Returns the first child in a collection of children and verifies that there\n   * is only one child in the collection.\n   *\n   * See https://reactjs.org/docs/react-api.html#reactchildrenonly\n   *\n   * The current implementation of this function assumes that a single child gets\n   * passed without a wrapper, but the purpose of this helper function is to\n   * abstract away the particular structure of children.\n   *\n   * @param {?object} children Child collection structure.\n   * @return {ReactElement} The first and only `ReactElement` contained in the\n   * structure.\n   */\n\n  function onlyChild(children) {\n    if (!isValidElement(children)) {\n      throw new Error(\"React.Children.only expected to receive a single React element child.\");\n    }\n    return children;\n  }\n  function createContext(defaultValue) {\n    // TODO: Second argument used to be an optional `calculateChangedBits`\n    // function. Warn to reserve for future use?\n    var context = {\n      $$typeof: REACT_CONTEXT_TYPE,\n      // As a workaround to support multiple concurrent renderers, we categorize\n      // some renderers as primary and others as secondary. We only expect\n      // there to be two concurrent renderers at most: React Native (primary) and\n      // Fabric (secondary); React DOM (primary) and React ART (secondary).\n      // Secondary renderers store their context values on separate fields.\n      _currentValue: defaultValue,\n      _currentValue2: defaultValue,\n      // Used to track how many concurrent renderers this context currently\n      // supports within in a single renderer. Such as parallel server rendering.\n      _threadCount: 0,\n      // These are circular\n      Provider: null,\n      Consumer: null,\n      // Add these to use same hidden class in VM as ServerContext\n      _defaultValue: null,\n      _globalName: null\n    };\n    context.Provider = {\n      $$typeof: REACT_PROVIDER_TYPE,\n      _context: context\n    };\n    var hasWarnedAboutUsingNestedContextConsumers = false;\n    var hasWarnedAboutUsingConsumerProvider = false;\n    var hasWarnedAboutDisplayNameOnConsumer = false;\n    {\n      // A separate object, but proxies back to the original context object for\n      // backwards compatibility. It has a different $$typeof, so we can properly\n      // warn for the incorrect usage of Context as a Consumer.\n      var Consumer = {\n        $$typeof: REACT_CONTEXT_TYPE,\n        _context: context\n      }; // $FlowFixMe: Flow complains about not setting a value, which is intentional here\n\n      Object.defineProperties(Consumer, {\n        Provider: {\n          get: function () {\n            if (!hasWarnedAboutUsingConsumerProvider) {\n              hasWarnedAboutUsingConsumerProvider = true;\n              error(\"Rendering <Context.Consumer.Provider> is not supported and will be removed in \" + \"a future major release. Did you mean to render <Context.Provider> instead?\");\n            }\n            return context.Provider;\n          },\n          set: function (_Provider) {\n            context.Provider = _Provider;\n          }\n        },\n        _currentValue: {\n          get: function () {\n            return context._currentValue;\n          },\n          set: function (_currentValue) {\n            context._currentValue = _currentValue;\n          }\n        },\n        _currentValue2: {\n          get: function () {\n            return context._currentValue2;\n          },\n          set: function (_currentValue2) {\n            context._currentValue2 = _currentValue2;\n          }\n        },\n        _threadCount: {\n          get: function () {\n            return context._threadCount;\n          },\n          set: function (_threadCount) {\n            context._threadCount = _threadCount;\n          }\n        },\n        Consumer: {\n          get: function () {\n            if (!hasWarnedAboutUsingNestedContextConsumers) {\n              hasWarnedAboutUsingNestedContextConsumers = true;\n              error(\"Rendering <Context.Consumer.Consumer> is not supported and will be removed in \" + \"a future major release. Did you mean to render <Context.Consumer> instead?\");\n            }\n            return context.Consumer;\n          }\n        },\n        displayName: {\n          get: function () {\n            return context.displayName;\n          },\n          set: function (displayName) {\n            if (!hasWarnedAboutDisplayNameOnConsumer) {\n              warn(\"Setting `displayName` on Context.Consumer has no effect. \" + \"You should set it directly on the context with Context.displayName = '%s'.\", displayName);\n              hasWarnedAboutDisplayNameOnConsumer = true;\n            }\n          }\n        }\n      }); // $FlowFixMe: Flow complains about missing properties because it doesn't understand defineProperty\n\n      context.Consumer = Consumer;\n    }\n    {\n      context._currentRenderer = null;\n      context._currentRenderer2 = null;\n    }\n    return context;\n  }\n  var Uninitialized = -1;\n  var Pending = 0;\n  var Resolved = 1;\n  var Rejected = 2;\n  function lazyInitializer(payload) {\n    if (payload._status === Uninitialized) {\n      var ctor = payload._result;\n      var thenable = ctor(); // Transition to the next state.\n      // This might throw either because it's missing or throws. If so, we treat it\n      // as still uninitialized and try again next time. Which is the same as what\n      // happens if the ctor or any wrappers processing the ctor throws. This might\n      // end up fixing it if the resolution was a concurrency bug.\n\n      thenable.then(function (moduleObject) {\n        if (payload._status === Pending || payload._status === Uninitialized) {\n          // Transition to the next state.\n          var resolved = payload;\n          resolved._status = Resolved;\n          resolved._result = moduleObject;\n        }\n      }, function (error) {\n        if (payload._status === Pending || payload._status === Uninitialized) {\n          // Transition to the next state.\n          var rejected = payload;\n          rejected._status = Rejected;\n          rejected._result = error;\n        }\n      });\n      if (payload._status === Uninitialized) {\n        // In case, we're still uninitialized, then we're waiting for the thenable\n        // to resolve. Set it as pending in the meantime.\n        var pending = payload;\n        pending._status = Pending;\n        pending._result = thenable;\n      }\n    }\n    if (payload._status === Resolved) {\n      var moduleObject = payload._result;\n      {\n        if (moduleObject === undefined) {\n          error(\"lazy: Expected the result of a dynamic imp\" + \"ort() call. \" + \"Instead received: %s\\n\\nYour code should look like: \\n  \" +\n          // Break up imports to avoid accidentally parsing them as dependencies.\n          \"const MyComponent = lazy(() => imp\" + \"ort('./MyComponent'))\\n\\n\" + \"Did you accidentally put curly braces around the import?\", moduleObject);\n        }\n      }\n      {\n        if (!(\"default\" in moduleObject)) {\n          error(\"lazy: Expected the result of a dynamic imp\" + \"ort() call. \" + \"Instead received: %s\\n\\nYour code should look like: \\n  \" +\n          // Break up imports to avoid accidentally parsing them as dependencies.\n          \"const MyComponent = lazy(() => imp\" + \"ort('./MyComponent'))\", moduleObject);\n        }\n      }\n      return moduleObject.default;\n    } else {\n      throw payload._result;\n    }\n  }\n  function lazy(ctor) {\n    var payload = {\n      // We use these fields to store the result.\n      _status: Uninitialized,\n      _result: ctor\n    };\n    var lazyType = {\n      $$typeof: REACT_LAZY_TYPE,\n      _payload: payload,\n      _init: lazyInitializer\n    };\n    {\n      // In production, this would just set it on the object.\n      var defaultProps;\n      var propTypes; // $FlowFixMe\n\n      Object.defineProperties(lazyType, {\n        defaultProps: {\n          configurable: true,\n          get: function () {\n            return defaultProps;\n          },\n          set: function (newDefaultProps) {\n            error(\"React.lazy(...): It is not supported to assign `defaultProps` to \" + \"a lazy component import. Either specify them where the component \" + \"is defined, or create a wrapping component around it.\");\n            defaultProps = newDefaultProps; // Match production behavior more closely:\n            // $FlowFixMe\n\n            Object.defineProperty(lazyType, \"defaultProps\", {\n              enumerable: true\n            });\n          }\n        },\n        propTypes: {\n          configurable: true,\n          get: function () {\n            return propTypes;\n          },\n          set: function (newPropTypes) {\n            error(\"React.lazy(...): It is not supported to assign `propTypes` to \" + \"a lazy component import. Either specify them where the component \" + \"is defined, or create a wrapping component around it.\");\n            propTypes = newPropTypes; // Match production behavior more closely:\n            // $FlowFixMe\n\n            Object.defineProperty(lazyType, \"propTypes\", {\n              enumerable: true\n            });\n          }\n        }\n      });\n    }\n    return lazyType;\n  }\n  function forwardRef(render) {\n    {\n      if (render != null && render.$$typeof === REACT_MEMO_TYPE) {\n        error(\"forwardRef requires a render function but received a `memo` \" + \"component. Instead of forwardRef(memo(...)), use \" + \"memo(forwardRef(...)).\");\n      } else if (typeof render !== \"function\") {\n        error(\"forwardRef requires a render function but was given %s.\", render === null ? \"null\" : typeof render);\n      } else {\n        if (render.length !== 0 && render.length !== 2) {\n          error(\"forwardRef render functions accept exactly two parameters: props and ref. %s\", render.length === 1 ? \"Did you forget to use the ref parameter?\" : \"Any additional parameter will be undefined.\");\n        }\n      }\n      if (render != null) {\n        if (render.defaultProps != null || render.propTypes != null) {\n          error(\"forwardRef render functions do not support propTypes or defaultProps. \" + \"Did you accidentally pass a React component?\");\n        }\n      }\n    }\n    var elementType = {\n      $$typeof: REACT_FORWARD_REF_TYPE,\n      render: render\n    };\n    {\n      var ownName;\n      Object.defineProperty(elementType, \"displayName\", {\n        enumerable: false,\n        configurable: true,\n        get: function () {\n          return ownName;\n        },\n        set: function (name) {\n          ownName = name; // The inner component shouldn't inherit this display name in most cases,\n          // because the component may be used elsewhere.\n          // But it's nice for anonymous functions to inherit the name,\n          // so that our component-stack generation logic will display their frames.\n          // An anonymous function generally suggests a pattern like:\n          //   React.forwardRef((props, ref) => {...});\n          // This kind of inner function is not used elsewhere so the side effect is okay.\n\n          if (!render.name && !render.displayName) {\n            render.displayName = name;\n          }\n        }\n      });\n    }\n    return elementType;\n  }\n  var REACT_MODULE_REFERENCE;\n  {\n    REACT_MODULE_REFERENCE = Symbol.for(\"react.module.reference\");\n  }\n  function isValidElementType(type) {\n    if (typeof type === \"string\" || typeof type === \"function\") {\n      return true;\n    } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n    if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {\n      return true;\n    }\n    if (typeof type === \"object\" && type !== null) {\n      if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE ||\n      // This needs to include all possible module reference object\n      // types supported by any Flight configuration anywhere since\n      // we don't know which Flight build this will end up being used\n      // with.\n      type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function memo(type, compare) {\n    {\n      if (!isValidElementType(type)) {\n        error(\"memo: The first argument must be a component. Instead \" + \"received: %s\", type === null ? \"null\" : typeof type);\n      }\n    }\n    var elementType = {\n      $$typeof: REACT_MEMO_TYPE,\n      type: type,\n      compare: compare === undefined ? null : compare\n    };\n    {\n      var ownName;\n      Object.defineProperty(elementType, \"displayName\", {\n        enumerable: false,\n        configurable: true,\n        get: function () {\n          return ownName;\n        },\n        set: function (name) {\n          ownName = name; // The inner component shouldn't inherit this display name in most cases,\n          // because the component may be used elsewhere.\n          // But it's nice for anonymous functions to inherit the name,\n          // so that our component-stack generation logic will display their frames.\n          // An anonymous function generally suggests a pattern like:\n          //   React.memo((props) => {...});\n          // This kind of inner function is not used elsewhere so the side effect is okay.\n\n          if (!type.name && !type.displayName) {\n            type.displayName = name;\n          }\n        }\n      });\n    }\n    return elementType;\n  }\n  function resolveDispatcher() {\n    var dispatcher = ReactCurrentDispatcher.current;\n    {\n      if (dispatcher === null) {\n        error(\"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for\" + \" one of the following reasons:\\n\" + \"1. You might have mismatching versions of React and the renderer (such as React DOM)\\n\" + \"2. You might be breaking the Rules of Hooks\\n\" + \"3. You might have more than one copy of React in the same app\\n\" + \"See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.\");\n      }\n    } // Will result in a null access error if accessed outside render phase. We\n    // intentionally don't throw our own error because this is in a hot path.\n    // Also helps ensure this is inlined.\n\n    return dispatcher;\n  }\n  function useContext(Context) {\n    var dispatcher = resolveDispatcher();\n    {\n      // TODO: add a more generic warning for invalid values.\n      if (Context._context !== undefined) {\n        var realContext = Context._context; // Don't deduplicate because this legitimately causes bugs\n        // and nobody should be using this in existing code.\n\n        if (realContext.Consumer === Context) {\n          error(\"Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be \" + \"removed in a future major release. Did you mean to call useContext(Context) instead?\");\n        } else if (realContext.Provider === Context) {\n          error(\"Calling useContext(Context.Provider) is not supported. \" + \"Did you mean to call useContext(Context) instead?\");\n        }\n      }\n    }\n    return dispatcher.useContext(Context);\n  }\n  function useState(initialState) {\n    var dispatcher = resolveDispatcher();\n    return dispatcher.useState(initialState);\n  }\n  function useReducer(reducer, initialArg, init) {\n    var dispatcher = resolveDispatcher();\n    return dispatcher.useReducer(reducer, initialArg, init);\n  }\n  function useRef(initialValue) {\n    var dispatcher = resolveDispatcher();\n    return dispatcher.useRef(initialValue);\n  }\n  function useEffect(create, deps) {\n    var dispatcher = resolveDispatcher();\n    return dispatcher.useEffect(create, deps);\n  }\n  function useInsertionEffect(create, deps) {\n    var dispatcher = resolveDispatcher();\n    return dispatcher.useInsertionEffect(create, deps);\n  }\n  function useLayoutEffect(create, deps) {\n    var dispatcher = resolveDispatcher();\n    return dispatcher.useLayoutEffect(create, deps);\n  }\n  function useCallback(callback, deps) {\n    var dispatcher = resolveDispatcher();\n    return dispatcher.useCallback(callback, deps);\n  }\n  function useMemo(create, deps) {\n    var dispatcher = resolveDispatcher();\n    return dispatcher.useMemo(create, deps);\n  }\n  function useImperativeHandle(ref, create, deps) {\n    var dispatcher = resolveDispatcher();\n    return dispatcher.useImperativeHandle(ref, create, deps);\n  }\n  function useDebugValue(value, formatterFn) {\n    {\n      var dispatcher = resolveDispatcher();\n      return dispatcher.useDebugValue(value, formatterFn);\n    }\n  }\n  function useTransition() {\n    var dispatcher = resolveDispatcher();\n    return dispatcher.useTransition();\n  }\n  function useDeferredValue(value) {\n    var dispatcher = resolveDispatcher();\n    return dispatcher.useDeferredValue(value);\n  }\n  function useId() {\n    var dispatcher = resolveDispatcher();\n    return dispatcher.useId();\n  }\n  function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {\n    var dispatcher = resolveDispatcher();\n    return dispatcher.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n  }\n\n  // Helpers to patch console.logs to avoid logging during side-effect free\n  // replaying on render function. This currently only patches the object\n  // lazily which won't cover if the log function was extracted eagerly.\n  // We could also eagerly patch the method.\n  var disabledDepth = 0;\n  var prevLog;\n  var prevInfo;\n  var prevWarn;\n  var prevError;\n  var prevGroup;\n  var prevGroupCollapsed;\n  var prevGroupEnd;\n  function disabledLog() {}\n  disabledLog.__reactDisabledLog = true;\n  function disableLogs() {\n    {\n      if (disabledDepth === 0) {\n        /* eslint-disable react-internal/no-production-logging */\n        prevLog = console.log;\n        prevInfo = console.info;\n        prevWarn = console.warn;\n        prevError = console.error;\n        prevGroup = console.group;\n        prevGroupCollapsed = console.groupCollapsed;\n        prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n        var props = {\n          configurable: true,\n          enumerable: true,\n          value: disabledLog,\n          writable: true\n        }; // $FlowFixMe Flow thinks console is immutable.\n\n        Object.defineProperties(console, {\n          info: props,\n          log: props,\n          warn: props,\n          error: props,\n          group: props,\n          groupCollapsed: props,\n          groupEnd: props\n        });\n        /* eslint-enable react-internal/no-production-logging */\n      }\n\n      disabledDepth++;\n    }\n  }\n  function reenableLogs() {\n    {\n      disabledDepth--;\n      if (disabledDepth === 0) {\n        /* eslint-disable react-internal/no-production-logging */\n        var props = {\n          configurable: true,\n          enumerable: true,\n          writable: true\n        }; // $FlowFixMe Flow thinks console is immutable.\n\n        Object.defineProperties(console, {\n          log: assign({}, props, {\n            value: prevLog\n          }),\n          info: assign({}, props, {\n            value: prevInfo\n          }),\n          warn: assign({}, props, {\n            value: prevWarn\n          }),\n          error: assign({}, props, {\n            value: prevError\n          }),\n          group: assign({}, props, {\n            value: prevGroup\n          }),\n          groupCollapsed: assign({}, props, {\n            value: prevGroupCollapsed\n          }),\n          groupEnd: assign({}, props, {\n            value: prevGroupEnd\n          })\n        });\n        /* eslint-enable react-internal/no-production-logging */\n      }\n\n      if (disabledDepth < 0) {\n        error(\"disabledDepth fell below zero. \" + \"This is a bug in React. Please file an issue.\");\n      }\n    }\n  }\n  var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher;\n  var prefix;\n  function describeBuiltInComponentFrame(name, source, ownerFn) {\n    {\n      if (prefix === undefined) {\n        // Extract the VM specific prefix used by each line.\n        try {\n          throw Error();\n        } catch (x) {\n          var match = x.stack.trim().match(/\\n( *(at )?)/);\n          prefix = match && match[1] || \"\";\n        }\n      } // We use the prefix to ensure our stacks line up with native stack frames.\n\n      return \"\\n\" + prefix + name;\n    }\n  }\n  var reentry = false;\n  var componentFrameCache;\n  {\n    var PossiblyWeakMap = typeof WeakMap === \"function\" ? WeakMap : Map;\n    componentFrameCache = new PossiblyWeakMap();\n  }\n  function describeNativeComponentFrame(fn, construct) {\n    // If something asked for a stack inside a fake render, it should get ignored.\n    if (!fn || reentry) {\n      return \"\";\n    }\n    {\n      var frame = componentFrameCache.get(fn);\n      if (frame !== undefined) {\n        return frame;\n      }\n    }\n    var control;\n    reentry = true;\n    var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n    Error.prepareStackTrace = undefined;\n    var previousDispatcher;\n    {\n      previousDispatcher = ReactCurrentDispatcher$1.current; // Set the dispatcher in DEV because this might be call in the render function\n      // for warnings.\n\n      ReactCurrentDispatcher$1.current = null;\n      disableLogs();\n    }\n    try {\n      // This should throw.\n      if (construct) {\n        // Something should be setting the props in the constructor.\n        var Fake = function () {\n          throw Error();\n        }; // $FlowFixMe\n\n        Object.defineProperty(Fake.prototype, \"props\", {\n          set: function () {\n            // We use a throwing setter instead of frozen or non-writable props\n            // because that won't throw in a non-strict mode function.\n            throw Error();\n          }\n        });\n        if (typeof Reflect === \"object\" && Reflect.construct) {\n          // We construct a different control for this case to include any extra\n          // frames added by the construct call.\n          try {\n            Reflect.construct(Fake, []);\n          } catch (x) {\n            control = x;\n          }\n          Reflect.construct(fn, [], Fake);\n        } else {\n          try {\n            Fake.call();\n          } catch (x) {\n            control = x;\n          }\n          fn.call(Fake.prototype);\n        }\n      } else {\n        try {\n          throw Error();\n        } catch (x) {\n          control = x;\n        }\n        fn();\n      }\n    } catch (sample) {\n      // This is inlined manually because closure doesn't do it for us.\n      if (sample && control && typeof sample.stack === \"string\") {\n        // This extracts the first frame from the sample that isn't also in the control.\n        // Skipping one frame that we assume is the frame that calls the two.\n        var sampleLines = sample.stack.split(\"\\n\");\n        var controlLines = control.stack.split(\"\\n\");\n        var s = sampleLines.length - 1;\n        var c = controlLines.length - 1;\n        while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n          // We expect at least one stack frame to be shared.\n          // Typically this will be the root most one. However, stack frames may be\n          // cut off due to maximum stack limits. In this case, one maybe cut off\n          // earlier than the other. We assume that the sample is longer or the same\n          // and there for cut off earlier. So we should find the root most frame in\n          // the sample somewhere in the control.\n          c--;\n        }\n        for (; s >= 1 && c >= 0; s--, c--) {\n          // Next we find the first one that isn't the same which should be the\n          // frame that called our sample function and the control.\n          if (sampleLines[s] !== controlLines[c]) {\n            // In V8, the first line is describing the message but other VMs don't.\n            // If we're about to return the first line, and the control is also on the same\n            // line, that's a pretty good indicator that our sample threw at same line as\n            // the control. I.e. before we entered the sample frame. So we ignore this result.\n            // This can happen if you passed a class to function component, or non-function.\n            if (s !== 1 || c !== 1) {\n              do {\n                s--;\n                c--; // We may still have similar intermediate frames from the construct call.\n                // The next one that isn't the same should be our match though.\n\n                if (c < 0 || sampleLines[s] !== controlLines[c]) {\n                  // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n                  var _frame = \"\\n\" + sampleLines[s].replace(\" at new \", \" at \"); // If our component frame is labeled \"<anonymous>\"\n                  // but we have a user-provided \"displayName\"\n                  // splice it in to make the stack more readable.\n\n                  if (fn.displayName && _frame.includes(\"<anonymous>\")) {\n                    _frame = _frame.replace(\"<anonymous>\", fn.displayName);\n                  }\n                  {\n                    if (typeof fn === \"function\") {\n                      componentFrameCache.set(fn, _frame);\n                    }\n                  } // Return the line we found.\n\n                  return _frame;\n                }\n              } while (s >= 1 && c >= 0);\n            }\n            break;\n          }\n        }\n      }\n    } finally {\n      reentry = false;\n      {\n        ReactCurrentDispatcher$1.current = previousDispatcher;\n        reenableLogs();\n      }\n      Error.prepareStackTrace = previousPrepareStackTrace;\n    } // Fallback to just using the name if we couldn't make it throw.\n\n    var name = fn ? fn.displayName || fn.name : \"\";\n    var syntheticFrame = name ? describeBuiltInComponentFrame(name) : \"\";\n    {\n      if (typeof fn === \"function\") {\n        componentFrameCache.set(fn, syntheticFrame);\n      }\n    }\n    return syntheticFrame;\n  }\n  function describeFunctionComponentFrame(fn, source, ownerFn) {\n    {\n      return describeNativeComponentFrame(fn, false);\n    }\n  }\n  function shouldConstruct(Component) {\n    var prototype = Component.prototype;\n    return !!(prototype && prototype.isReactComponent);\n  }\n  function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n    if (type == null) {\n      return \"\";\n    }\n    if (typeof type === \"function\") {\n      {\n        return describeNativeComponentFrame(type, shouldConstruct(type));\n      }\n    }\n    if (typeof type === \"string\") {\n      return describeBuiltInComponentFrame(type);\n    }\n    switch (type) {\n      case REACT_SUSPENSE_TYPE:\n        return describeBuiltInComponentFrame(\"Suspense\");\n      case REACT_SUSPENSE_LIST_TYPE:\n        return describeBuiltInComponentFrame(\"SuspenseList\");\n    }\n    if (typeof type === \"object\") {\n      switch (type.$$typeof) {\n        case REACT_FORWARD_REF_TYPE:\n          return describeFunctionComponentFrame(type.render);\n        case REACT_MEMO_TYPE:\n          // Memo may contain any component type so we recursively resolve it.\n          return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n        case REACT_LAZY_TYPE:\n          {\n            var lazyComponent = type;\n            var payload = lazyComponent._payload;\n            var init = lazyComponent._init;\n            try {\n              // Lazy may contain any component type so we recursively resolve it.\n              return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n            } catch (x) {}\n          }\n      }\n    }\n    return \"\";\n  }\n  var loggedTypeFailures = {};\n  var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n  function setCurrentlyValidatingElement(element) {\n    {\n      if (element) {\n        var owner = element._owner;\n        var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n        ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n      } else {\n        ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n      }\n    }\n  }\n  function checkPropTypes(typeSpecs, values, location, componentName, element) {\n    {\n      // $FlowFixMe This is okay but Flow doesn't know it.\n      var has = Function.call.bind(hasOwnProperty);\n      for (var typeSpecName in typeSpecs) {\n        if (has(typeSpecs, typeSpecName)) {\n          var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n          // fail the render phase where it didn't fail before. So we log it.\n          // After these have been cleaned up, we'll let them throw.\n\n          try {\n            // This is intentionally an invariant that gets caught. It's the same\n            // behavior as without this statement except with a better message.\n            if (typeof typeSpecs[typeSpecName] !== \"function\") {\n              // eslint-disable-next-line react-internal/prod-error-codes\n              var err = Error((componentName || \"React class\") + \": \" + location + \" type `\" + typeSpecName + \"` is invalid; \" + \"it must be a function, usually from the `prop-types` package, but received `\" + typeof typeSpecs[typeSpecName] + \"`.\" + \"This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.\");\n              err.name = \"Invariant Violation\";\n              throw err;\n            }\n            error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, \"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\");\n          } catch (ex) {\n            error$1 = ex;\n          }\n          if (error$1 && !(error$1 instanceof Error)) {\n            setCurrentlyValidatingElement(element);\n            error(\"%s: type specification of %s\" + \" `%s` is invalid; the type checker \" + \"function must return `null` or an `Error` but returned a %s. \" + \"You may have forgotten to pass an argument to the type checker \" + \"creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and \" + \"shape all require an argument).\", componentName || \"React class\", location, typeSpecName, typeof error$1);\n            setCurrentlyValidatingElement(null);\n          }\n          if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n            // Only monitor this failure once because there tends to be a lot of the\n            // same error.\n            loggedTypeFailures[error$1.message] = true;\n            setCurrentlyValidatingElement(element);\n            error(\"Failed %s type: %s\", location, error$1.message);\n            setCurrentlyValidatingElement(null);\n          }\n        }\n      }\n    }\n  }\n  function setCurrentlyValidatingElement$1(element) {\n    {\n      if (element) {\n        var owner = element._owner;\n        var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n        setExtraStackFrame(stack);\n      } else {\n        setExtraStackFrame(null);\n      }\n    }\n  }\n  var propTypesMisspellWarningShown;\n  {\n    propTypesMisspellWarningShown = false;\n  }\n  function getDeclarationErrorAddendum() {\n    if (ReactCurrentOwner.current) {\n      var name = getComponentNameFromType(ReactCurrentOwner.current.type);\n      if (name) {\n        return \"\\n\\nCheck the render method of `\" + name + \"`.\";\n      }\n    }\n    return \"\";\n  }\n  function getSourceInfoErrorAddendum(source) {\n    if (source !== undefined) {\n      var fileName = source.fileName.replace(/^.*[\\\\\\/]/, \"\");\n      var lineNumber = source.lineNumber;\n      return \"\\n\\nCheck your code at \" + fileName + \":\" + lineNumber + \".\";\n    }\n    return \"\";\n  }\n  function getSourceInfoErrorAddendumForProps(elementProps) {\n    if (elementProps !== null && elementProps !== undefined) {\n      return getSourceInfoErrorAddendum(elementProps.__source);\n    }\n    return \"\";\n  }\n  /**\n   * Warn if there's no key explicitly set on dynamic arrays of children or\n   * object keys are not valid. This allows us to keep track of children between\n   * updates.\n   */\n\n  var ownerHasKeyUseWarning = {};\n  function getCurrentComponentErrorInfo(parentType) {\n    var info = getDeclarationErrorAddendum();\n    if (!info) {\n      var parentName = typeof parentType === \"string\" ? parentType : parentType.displayName || parentType.name;\n      if (parentName) {\n        info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n      }\n    }\n    return info;\n  }\n  /**\n   * Warn if the element doesn't have an explicit key assigned to it.\n   * This element is in an array. The array could grow and shrink or be\n   * reordered. All children that haven't already been validated are required to\n   * have a \"key\" property assigned to it. Error statuses are cached so a warning\n   * will only be shown once.\n   *\n   * @internal\n   * @param {ReactElement} element Element that requires a key.\n   * @param {*} parentType element's parent's type.\n   */\n\n  function validateExplicitKey(element, parentType) {\n    if (!element._store || element._store.validated || element.key != null) {\n      return;\n    }\n    element._store.validated = true;\n    var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n    if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n      return;\n    }\n    ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n    // property, it may be the creator of the child that's responsible for\n    // assigning it a key.\n\n    var childOwner = \"\";\n    if (element && element._owner && element._owner !== ReactCurrentOwner.current) {\n      // Give the component that originally created this child.\n      childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n    }\n    {\n      setCurrentlyValidatingElement$1(element);\n      error(\"Each child in a list should have a unique \\\"key\\\" prop.\" + \"%s%s See https://reactjs.org/link/warning-keys for more information.\", currentComponentErrorInfo, childOwner);\n      setCurrentlyValidatingElement$1(null);\n    }\n  }\n  /**\n   * Ensure that every element either is passed in a static location, in an\n   * array with an explicit keys property defined, or in an object literal\n   * with valid key property.\n   *\n   * @internal\n   * @param {ReactNode} node Statically passed child of any type.\n   * @param {*} parentType node's parent's type.\n   */\n\n  function validateChildKeys(node, parentType) {\n    if (typeof node !== \"object\") {\n      return;\n    }\n    if (isArray(node)) {\n      for (var i = 0; i < node.length; i++) {\n        var child = node[i];\n        if (isValidElement(child)) {\n          validateExplicitKey(child, parentType);\n        }\n      }\n    } else if (isValidElement(node)) {\n      // This element was passed in a valid location.\n      if (node._store) {\n        node._store.validated = true;\n      }\n    } else if (node) {\n      var iteratorFn = getIteratorFn(node);\n      if (typeof iteratorFn === \"function\") {\n        // Entry iterators used to provide implicit keys,\n        // but now we print a separate warning for them later.\n        if (iteratorFn !== node.entries) {\n          var iterator = iteratorFn.call(node);\n          var step;\n          while (!(step = iterator.next()).done) {\n            if (isValidElement(step.value)) {\n              validateExplicitKey(step.value, parentType);\n            }\n          }\n        }\n      }\n    }\n  }\n  /**\n   * Given an element, validate that its props follow the propTypes definition,\n   * provided by the type.\n   *\n   * @param {ReactElement} element\n   */\n\n  function validatePropTypes(element) {\n    {\n      var type = element.type;\n      if (type === null || type === undefined || typeof type === \"string\") {\n        return;\n      }\n      var propTypes;\n      if (typeof type === \"function\") {\n        propTypes = type.propTypes;\n      } else if (typeof type === \"object\" && (type.$$typeof === REACT_FORWARD_REF_TYPE ||\n      // Note: Memo only checks outer props here.\n      // Inner props are checked in the reconciler.\n      type.$$typeof === REACT_MEMO_TYPE)) {\n        propTypes = type.propTypes;\n      } else {\n        return;\n      }\n      if (propTypes) {\n        // Intentionally inside to avoid triggering lazy initializers:\n        var name = getComponentNameFromType(type);\n        checkPropTypes(propTypes, element.props, \"prop\", name, element);\n      } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n        propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n        var _name = getComponentNameFromType(type);\n        error(\"Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?\", _name || \"Unknown\");\n      }\n      if (typeof type.getDefaultProps === \"function\" && !type.getDefaultProps.isReactClassApproved) {\n        error(\"getDefaultProps is only used on classic React.createClass \" + \"definitions. Use a static property named `defaultProps` instead.\");\n      }\n    }\n  }\n  /**\n   * Given a fragment, validate that it can only be provided with fragment props\n   * @param {ReactElement} fragment\n   */\n\n  function validateFragmentProps(fragment) {\n    {\n      var keys = Object.keys(fragment.props);\n      for (var i = 0; i < keys.length; i++) {\n        var key = keys[i];\n        if (key !== \"children\" && key !== \"key\") {\n          setCurrentlyValidatingElement$1(fragment);\n          error(\"Invalid prop `%s` supplied to `React.Fragment`. \" + \"React.Fragment can only have `key` and `children` props.\", key);\n          setCurrentlyValidatingElement$1(null);\n          break;\n        }\n      }\n      if (fragment.ref !== null) {\n        setCurrentlyValidatingElement$1(fragment);\n        error(\"Invalid attribute `ref` supplied to `React.Fragment`.\");\n        setCurrentlyValidatingElement$1(null);\n      }\n    }\n  }\n  function createElementWithValidation(type, props, children) {\n    var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n    // succeed and there will likely be errors in render.\n\n    if (!validType) {\n      var info = \"\";\n      if (type === undefined || typeof type === \"object\" && type !== null && Object.keys(type).length === 0) {\n        info += \" You likely forgot to export your component from the file \" + \"it's defined in, or you might have mixed up default and named imports.\";\n      }\n      var sourceInfo = getSourceInfoErrorAddendumForProps(props);\n      if (sourceInfo) {\n        info += sourceInfo;\n      } else {\n        info += getDeclarationErrorAddendum();\n      }\n      var typeString;\n      if (type === null) {\n        typeString = \"null\";\n      } else if (isArray(type)) {\n        typeString = \"array\";\n      } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n        typeString = \"<\" + (getComponentNameFromType(type.type) || \"Unknown\") + \" />\";\n        info = \" Did you accidentally export a JSX literal instead of a component?\";\n      } else {\n        typeString = typeof type;\n      }\n      {\n        error(\"React.createElement: type is invalid -- expected a string (for \" + \"built-in components) or a class/function (for composite \" + \"components) but got: %s.%s\", typeString, info);\n      }\n    }\n    var element = createElement.apply(this, arguments); // The result can be nullish if a mock or a custom function is used.\n    // TODO: Drop this when these are no longer allowed as the type argument.\n\n    if (element == null) {\n      return element;\n    } // Skip key warning if the type isn't valid since our key validation logic\n    // doesn't expect a non-string/function type and can throw confusing errors.\n    // We don't want exception behavior to differ between dev and prod.\n    // (Rendering will throw with a helpful message and as soon as the type is\n    // fixed, the key warnings will appear.)\n\n    if (validType) {\n      for (var i = 2; i < arguments.length; i++) {\n        validateChildKeys(arguments[i], type);\n      }\n    }\n    if (type === REACT_FRAGMENT_TYPE) {\n      validateFragmentProps(element);\n    } else {\n      validatePropTypes(element);\n    }\n    return element;\n  }\n  var didWarnAboutDeprecatedCreateFactory = false;\n  function createFactoryWithValidation(type) {\n    var validatedFactory = createElementWithValidation.bind(null, type);\n    validatedFactory.type = type;\n    {\n      if (!didWarnAboutDeprecatedCreateFactory) {\n        didWarnAboutDeprecatedCreateFactory = true;\n        warn(\"React.createFactory() is deprecated and will be removed in \" + \"a future major release. Consider using JSX \" + \"or use React.createElement() directly instead.\");\n      } // Legacy hook: remove it\n\n      Object.defineProperty(validatedFactory, \"type\", {\n        enumerable: false,\n        get: function () {\n          warn(\"Factory.type is deprecated. Access the class directly \" + \"before passing it to createFactory.\");\n          Object.defineProperty(this, \"type\", {\n            value: type\n          });\n          return type;\n        }\n      });\n    }\n    return validatedFactory;\n  }\n  function cloneElementWithValidation(element, props, children) {\n    var newElement = cloneElement.apply(this, arguments);\n    for (var i = 2; i < arguments.length; i++) {\n      validateChildKeys(arguments[i], newElement.type);\n    }\n    validatePropTypes(newElement);\n    return newElement;\n  }\n  function startTransition(scope, options) {\n    var prevTransition = ReactCurrentBatchConfig.transition;\n    ReactCurrentBatchConfig.transition = {};\n    var currentTransition = ReactCurrentBatchConfig.transition;\n    {\n      ReactCurrentBatchConfig.transition._updatedFibers = new Set();\n    }\n    try {\n      scope();\n    } finally {\n      ReactCurrentBatchConfig.transition = prevTransition;\n      {\n        if (prevTransition === null && currentTransition._updatedFibers) {\n          var updatedFibersCount = currentTransition._updatedFibers.size;\n          if (updatedFibersCount > 10) {\n            warn(\"Detected a large number of updates inside startTransition. \" + \"If this is due to a subscription please re-write it to use React provided hooks. \" + \"Otherwise concurrent mode guarantees are off the table.\");\n          }\n          currentTransition._updatedFibers.clear();\n        }\n      }\n    }\n  }\n  var didWarnAboutMessageChannel = false;\n  var enqueueTaskImpl = null;\n  function enqueueTask(task) {\n    if (enqueueTaskImpl === null) {\n      try {\n        // read require off the module object to get around the bundlers.\n        // we don't want them to detect a require and bundle a Node polyfill.\n        var requireString = (\"require\" + Math.random()).slice(0, 7);\n        var nodeRequire = true && module[requireString]; // assuming we're in node, let's try to get node's\n        // version of setImmediate, bypassing fake timers if any.\n\n        enqueueTaskImpl = nodeRequire.call(module, \"timers\").setImmediate;\n      } catch (_err) {\n        // we're in a browser\n        // we can't use regular timers because they may still be faked\n        // so we try MessageChannel+postMessage instead\n        enqueueTaskImpl = function (callback) {\n          {\n            if (didWarnAboutMessageChannel === false) {\n              didWarnAboutMessageChannel = true;\n              if (typeof MessageChannel === \"undefined\") {\n                error(\"This browser does not have a MessageChannel implementation, \" + \"so enqueuing tasks via await act(async () => ...) will fail. \" + \"Please file an issue at https://github.com/facebook/react/issues \" + \"if you encounter this warning.\");\n              }\n            }\n          }\n          var channel = new MessageChannel();\n          channel.port1.onmessage = callback;\n          channel.port2.postMessage(undefined);\n        };\n      }\n    }\n    return enqueueTaskImpl(task);\n  }\n  var actScopeDepth = 0;\n  var didWarnNoAwaitAct = false;\n  function act(callback) {\n    {\n      // `act` calls can be nested, so we track the depth. This represents the\n      // number of `act` scopes on the stack.\n      var prevActScopeDepth = actScopeDepth;\n      actScopeDepth++;\n      if (ReactCurrentActQueue.current === null) {\n        // This is the outermost `act` scope. Initialize the queue. The reconciler\n        // will detect the queue and use it instead of Scheduler.\n        ReactCurrentActQueue.current = [];\n      }\n      var prevIsBatchingLegacy = ReactCurrentActQueue.isBatchingLegacy;\n      var result;\n      try {\n        // Used to reproduce behavior of `batchedUpdates` in legacy mode. Only\n        // set to `true` while the given callback is executed, not for updates\n        // triggered during an async event, because this is how the legacy\n        // implementation of `act` behaved.\n        ReactCurrentActQueue.isBatchingLegacy = true;\n        result = callback(); // Replicate behavior of original `act` implementation in legacy mode,\n        // which flushed updates immediately after the scope function exits, even\n        // if it's an async function.\n\n        if (!prevIsBatchingLegacy && ReactCurrentActQueue.didScheduleLegacyUpdate) {\n          var queue = ReactCurrentActQueue.current;\n          if (queue !== null) {\n            ReactCurrentActQueue.didScheduleLegacyUpdate = false;\n            flushActQueue(queue);\n          }\n        }\n      } catch (error) {\n        popActScope(prevActScopeDepth);\n        throw error;\n      } finally {\n        ReactCurrentActQueue.isBatchingLegacy = prevIsBatchingLegacy;\n      }\n      if (result !== null && typeof result === \"object\" && typeof result.then === \"function\") {\n        var thenableResult = result; // The callback is an async function (i.e. returned a promise). Wait\n        // for it to resolve before exiting the current scope.\n\n        var wasAwaited = false;\n        var thenable = {\n          then: function (resolve, reject) {\n            wasAwaited = true;\n            thenableResult.then(function (returnValue) {\n              popActScope(prevActScopeDepth);\n              if (actScopeDepth === 0) {\n                // We've exited the outermost act scope. Recursively flush the\n                // queue until there's no remaining work.\n                recursivelyFlushAsyncActWork(returnValue, resolve, reject);\n              } else {\n                resolve(returnValue);\n              }\n            }, function (error) {\n              // The callback threw an error.\n              popActScope(prevActScopeDepth);\n              reject(error);\n            });\n          }\n        };\n        {\n          if (!didWarnNoAwaitAct && typeof Promise !== \"undefined\") {\n            // eslint-disable-next-line no-undef\n            Promise.resolve().then(function () {}).then(function () {\n              if (!wasAwaited) {\n                didWarnNoAwaitAct = true;\n                error(\"You called act(async () => ...) without await. \" + \"This could lead to unexpected testing behaviour, \" + \"interleaving multiple act calls and mixing their \" + \"scopes. \" + \"You should - await act(async () => ...);\");\n              }\n            });\n          }\n        }\n        return thenable;\n      } else {\n        var returnValue = result; // The callback is not an async function. Exit the current scope\n        // immediately, without awaiting.\n\n        popActScope(prevActScopeDepth);\n        if (actScopeDepth === 0) {\n          // Exiting the outermost act scope. Flush the queue.\n          var _queue = ReactCurrentActQueue.current;\n          if (_queue !== null) {\n            flushActQueue(_queue);\n            ReactCurrentActQueue.current = null;\n          } // Return a thenable. If the user awaits it, we'll flush again in\n          // case additional work was scheduled by a microtask.\n\n          var _thenable = {\n            then: function (resolve, reject) {\n              // Confirm we haven't re-entered another `act` scope, in case\n              // the user does something weird like await the thenable\n              // multiple times.\n              if (ReactCurrentActQueue.current === null) {\n                // Recursively flush the queue until there's no remaining work.\n                ReactCurrentActQueue.current = [];\n                recursivelyFlushAsyncActWork(returnValue, resolve, reject);\n              } else {\n                resolve(returnValue);\n              }\n            }\n          };\n          return _thenable;\n        } else {\n          // Since we're inside a nested `act` scope, the returned thenable\n          // immediately resolves. The outer scope will flush the queue.\n          var _thenable2 = {\n            then: function (resolve, reject) {\n              resolve(returnValue);\n            }\n          };\n          return _thenable2;\n        }\n      }\n    }\n  }\n  function popActScope(prevActScopeDepth) {\n    {\n      if (prevActScopeDepth !== actScopeDepth - 1) {\n        error(\"You seem to have overlapping act() calls, this is not supported. \" + \"Be sure to await previous act() calls before making a new one. \");\n      }\n      actScopeDepth = prevActScopeDepth;\n    }\n  }\n  function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {\n    {\n      var queue = ReactCurrentActQueue.current;\n      if (queue !== null) {\n        try {\n          flushActQueue(queue);\n          enqueueTask(function () {\n            if (queue.length === 0) {\n              // No additional work was scheduled. Finish.\n              ReactCurrentActQueue.current = null;\n              resolve(returnValue);\n            } else {\n              // Keep flushing work until there's none left.\n              recursivelyFlushAsyncActWork(returnValue, resolve, reject);\n            }\n          });\n        } catch (error) {\n          reject(error);\n        }\n      } else {\n        resolve(returnValue);\n      }\n    }\n  }\n  var isFlushing = false;\n  function flushActQueue(queue) {\n    {\n      if (!isFlushing) {\n        // Prevent re-entrance.\n        isFlushing = true;\n        var i = 0;\n        try {\n          for (; i < queue.length; i++) {\n            var callback = queue[i];\n            do {\n              callback = callback(true);\n            } while (callback !== null);\n          }\n          queue.length = 0;\n        } catch (error) {\n          // If something throws, leave the remaining callbacks on the queue.\n          queue = queue.slice(i + 1);\n          throw error;\n        } finally {\n          isFlushing = false;\n        }\n      }\n    }\n  }\n  var createElement$1 = createElementWithValidation;\n  var cloneElement$1 = cloneElementWithValidation;\n  var createFactory = createFactoryWithValidation;\n  var Children = {\n    map: mapChildren,\n    forEach: forEachChildren,\n    count: countChildren,\n    toArray: toArray,\n    only: onlyChild\n  };\n  exports.Children = Children;\n  exports.Component = Component;\n  exports.Fragment = REACT_FRAGMENT_TYPE;\n  exports.Profiler = REACT_PROFILER_TYPE;\n  exports.PureComponent = PureComponent;\n  exports.StrictMode = REACT_STRICT_MODE_TYPE;\n  exports.Suspense = REACT_SUSPENSE_TYPE;\n  exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;\n  exports.cloneElement = cloneElement$1;\n  exports.createContext = createContext;\n  exports.createElement = createElement$1;\n  exports.createFactory = createFactory;\n  exports.createRef = createRef;\n  exports.forwardRef = forwardRef;\n  exports.isValidElement = isValidElement;\n  exports.lazy = lazy;\n  exports.memo = memo;\n  exports.startTransition = startTransition;\n  exports.unstable_act = act;\n  exports.useCallback = useCallback;\n  exports.useContext = useContext;\n  exports.useDebugValue = useDebugValue;\n  exports.useDeferredValue = useDeferredValue;\n  exports.useEffect = useEffect;\n  exports.useId = useId;\n  exports.useImperativeHandle = useImperativeHandle;\n  exports.useInsertionEffect = useInsertionEffect;\n  exports.useLayoutEffect = useLayoutEffect;\n  exports.useMemo = useMemo;\n  exports.useReducer = useReducer;\n  exports.useRef = useRef;\n  exports.useState = useState;\n  exports.useSyncExternalStore = useSyncExternalStore;\n  exports.useTransition = useTransition;\n  exports.version = ReactVersion;\n  /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== \"undefined\" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === \"function\") {\n    __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());\n  }\n})();\nvar _react = module.exports;\n\nconst Children = _react.Children,\n  Component = _react.Component,\n  Fragment = _react.Fragment,\n  Profiler = _react.Profiler,\n  PureComponent = _react.PureComponent,\n  StrictMode = _react.StrictMode,\n  Suspense = _react.Suspense,\n  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = _react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,\n  cloneElement = _react.cloneElement,\n  createContext = _react.createContext,\n  createElement = _react.createElement,\n  createFactory = _react.createFactory,\n  createRef = _react.createRef,\n  forwardRef = _react.forwardRef,\n  isValidElement = _react.isValidElement,\n  lazy = _react.lazy,\n  memo = _react.memo,\n  startTransition = _react.startTransition,\n  unstable_act = _react.unstable_act,\n  useCallback = _react.useCallback,\n  useContext = _react.useContext,\n  useDebugValue = _react.useDebugValue,\n  useDeferredValue = _react.useDeferredValue,\n  useEffect = _react.useEffect,\n  useId = _react.useId,\n  useImperativeHandle = _react.useImperativeHandle,\n  useInsertionEffect = _react.useInsertionEffect,\n  useLayoutEffect = _react.useLayoutEffect,\n  useMemo = _react.useMemo,\n  useReducer = _react.useReducer,\n  useRef = _react.useRef,\n  useState = _react.useState,\n  useSyncExternalStore = _react.useSyncExternalStore,\n  useTransition = _react.useTransition,\n  version = _react.version;\n\nexport { Children, Component, Fragment, Profiler, PureComponent, StrictMode, Suspense, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, cloneElement, createContext, createElement, createFactory, createRef, _react as default, forwardRef, isValidElement, lazy, memo, startTransition, unstable_act, useCallback, useContext, useDebugValue, useDeferredValue, useEffect, useId, useImperativeHandle, useInsertionEffect, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore, useTransition, version };\n\n//# sourceMappingURL=npm:react@18.2.0!cjs.map", "import _react from '/npm:react!cjs';\n\nvar _global = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : global;\n\nvar exports = {};\nvar e,\n    t = (e = _react) && \"object\" == typeof e && \"default\" in e ? e.default : e;\n\nfunction r(e) {\n  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, \"default\") ? e.default : e;\n}\n\nfunction n(e, t) {\n  return e(t = {\n    exports: {}\n  }, t.exports), t.exports;\n}\n\nvar o = n(function (e, t) {\n  Object.defineProperty(t, \"__esModule\", {\n    value: !0\n  });\n  var r = \"function\" == typeof Symbol && Symbol.for,\n      n = r ? Symbol.for(\"react.element\") : 60103,\n      o = r ? Symbol.for(\"react.portal\") : 60106,\n      a = r ? Symbol.for(\"react.fragment\") : 60107,\n      i = r ? Symbol.for(\"react.strict_mode\") : 60108,\n      c = r ? Symbol.for(\"react.profiler\") : 60114,\n      u = r ? Symbol.for(\"react.provider\") : 60109,\n      s = r ? Symbol.for(\"react.context\") : 60110,\n      f = r ? Symbol.for(\"react.async_mode\") : 60111,\n      p = r ? Symbol.for(\"react.concurrent_mode\") : 60111,\n      l = r ? Symbol.for(\"react.forward_ref\") : 60112,\n      y = r ? Symbol.for(\"react.suspense\") : 60113,\n      d = r ? Symbol.for(\"react.memo\") : 60115,\n      m = r ? Symbol.for(\"react.lazy\") : 60116;\n\n  function v(e) {\n    if (\"object\" == typeof e && null !== e) {\n      var t = e.$$typeof;\n\n      switch (t) {\n        case n:\n          switch (e = e.type) {\n            case f:\n            case p:\n            case a:\n            case c:\n            case i:\n            case y:\n              return e;\n\n            default:\n              switch (e = e && e.$$typeof) {\n                case s:\n                case l:\n                case u:\n                  return e;\n\n                default:\n                  return t;\n              }\n\n          }\n\n        case m:\n        case d:\n        case o:\n          return t;\n      }\n    }\n  }\n\n  function b(e) {\n    return v(e) === p;\n  }\n\n  t.typeOf = v, t.AsyncMode = f, t.ConcurrentMode = p, t.ContextConsumer = s, t.ContextProvider = u, t.Element = n, t.ForwardRef = l, t.Fragment = a, t.Lazy = m, t.Memo = d, t.Portal = o, t.Profiler = c, t.StrictMode = i, t.Suspense = y, t.isValidElementType = function (e) {\n    return \"string\" == typeof e || \"function\" == typeof e || e === a || e === p || e === c || e === i || e === y || \"object\" == typeof e && null !== e && (e.$$typeof === m || e.$$typeof === d || e.$$typeof === u || e.$$typeof === s || e.$$typeof === l);\n  }, t.isAsyncMode = function (e) {\n    return b(e) || v(e) === f;\n  }, t.isConcurrentMode = b, t.isContextConsumer = function (e) {\n    return v(e) === s;\n  }, t.isContextProvider = function (e) {\n    return v(e) === u;\n  }, t.isElement = function (e) {\n    return \"object\" == typeof e && null !== e && e.$$typeof === n;\n  }, t.isForwardRef = function (e) {\n    return v(e) === l;\n  }, t.isFragment = function (e) {\n    return v(e) === a;\n  }, t.isLazy = function (e) {\n    return v(e) === m;\n  }, t.isMemo = function (e) {\n    return v(e) === d;\n  }, t.isPortal = function (e) {\n    return v(e) === o;\n  }, t.isProfiler = function (e) {\n    return v(e) === c;\n  }, t.isStrictMode = function (e) {\n    return v(e) === i;\n  }, t.isSuspense = function (e) {\n    return v(e) === y;\n  };\n});\nr(o);\nvar a = n(function (e, t) {\n  (function () {\n    Object.defineProperty(t, \"__esModule\", {\n      value: !0\n    });\n    var e = \"function\" == typeof Symbol && Symbol.for,\n        r = e ? Symbol.for(\"react.element\") : 60103,\n        n = e ? Symbol.for(\"react.portal\") : 60106,\n        o = e ? Symbol.for(\"react.fragment\") : 60107,\n        a = e ? Symbol.for(\"react.strict_mode\") : 60108,\n        i = e ? Symbol.for(\"react.profiler\") : 60114,\n        c = e ? Symbol.for(\"react.provider\") : 60109,\n        u = e ? Symbol.for(\"react.context\") : 60110,\n        s = e ? Symbol.for(\"react.async_mode\") : 60111,\n        f = e ? Symbol.for(\"react.concurrent_mode\") : 60111,\n        p = e ? Symbol.for(\"react.forward_ref\") : 60112,\n        l = e ? Symbol.for(\"react.suspense\") : 60113,\n        y = e ? Symbol.for(\"react.memo\") : 60115,\n        d = e ? Symbol.for(\"react.lazy\") : 60116;\n\n    function m(e) {\n      if (\"object\" == typeof e && null !== e) {\n        var t = e.$$typeof;\n\n        switch (t) {\n          case r:\n            var m = e.type;\n\n            switch (m) {\n              case s:\n              case f:\n              case o:\n              case i:\n              case a:\n              case l:\n                return m;\n\n              default:\n                var v = m && m.$$typeof;\n\n                switch (v) {\n                  case u:\n                  case p:\n                  case c:\n                    return v;\n\n                  default:\n                    return t;\n                }\n\n            }\n\n          case d:\n          case y:\n          case n:\n            return t;\n        }\n      }\n    }\n\n    var v = s,\n        b = f,\n        h = u,\n        g = c,\n        w = r,\n        O = p,\n        E = o,\n        S = d,\n        j = y,\n        P = n,\n        x = i,\n        T = a,\n        _ = l,\n        N = !1;\n\n    function $(e) {\n      return m(e) === f;\n    }\n\n    t.typeOf = m, t.AsyncMode = v, t.ConcurrentMode = b, t.ContextConsumer = h, t.ContextProvider = g, t.Element = w, t.ForwardRef = O, t.Fragment = E, t.Lazy = S, t.Memo = j, t.Portal = P, t.Profiler = x, t.StrictMode = T, t.Suspense = _, t.isValidElementType = function (e) {\n      return \"string\" == typeof e || \"function\" == typeof e || e === o || e === f || e === i || e === a || e === l || \"object\" == typeof e && null !== e && (e.$$typeof === d || e.$$typeof === y || e.$$typeof === c || e.$$typeof === u || e.$$typeof === p);\n    }, t.isAsyncMode = function (e) {\n      return N || (N = !0, function (e, t) {\n        if (void 0 === t) throw new Error(\"`lowPriorityWarning(condition, format, ...args)` requires a warning message argument\");\n\n        if (!e) {\n          for (var r = arguments.length, n = Array(r > 2 ? r - 2 : 0), o = 2; o < r; o++) n[o - 2] = arguments[o];\n\n          (function (e) {\n            for (var t = arguments.length, r = Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) r[n - 1] = arguments[n];\n\n            var o = 0,\n                a = \"Warning: \" + e.replace(/%s/g, function () {\n              return r[o++];\n            });\n            \"undefined\" != typeof console && console.warn(a);\n\n            try {\n              throw new Error(a);\n            } catch (e) {}\n          }).apply(void 0, [t].concat(n));\n        }\n      }(!1, \"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.\")), $(e) || m(e) === s;\n    }, t.isConcurrentMode = $, t.isContextConsumer = function (e) {\n      return m(e) === u;\n    }, t.isContextProvider = function (e) {\n      return m(e) === c;\n    }, t.isElement = function (e) {\n      return \"object\" == typeof e && null !== e && e.$$typeof === r;\n    }, t.isForwardRef = function (e) {\n      return m(e) === p;\n    }, t.isFragment = function (e) {\n      return m(e) === o;\n    }, t.isLazy = function (e) {\n      return m(e) === d;\n    }, t.isMemo = function (e) {\n      return m(e) === y;\n    }, t.isPortal = function (e) {\n      return m(e) === n;\n    }, t.isProfiler = function (e) {\n      return m(e) === i;\n    }, t.isStrictMode = function (e) {\n      return m(e) === a;\n    }, t.isSuspense = function (e) {\n      return m(e) === l;\n    };\n  })();\n});\nr(a);\n\nvar i = n(function (e) {\n  e.exports = a;\n}),\n    c = Object.getOwnPropertySymbols,\n    u = Object.prototype.hasOwnProperty,\n    s = Object.prototype.propertyIsEnumerable,\n    f = function () {\n  try {\n    if (!Object.assign) return !1;\n    var e = new String(\"abc\");\n    if (e[5] = \"de\", \"5\" === Object.getOwnPropertyNames(e)[0]) return !1;\n\n    for (var t = {}, r = 0; r < 10; r++) t[\"_\" + String.fromCharCode(r)] = r;\n\n    if (\"0123456789\" !== Object.getOwnPropertyNames(t).map(function (e) {\n      return t[e];\n    }).join(\"\")) return !1;\n    var n = {};\n    return \"abcdefghijklmnopqrst\".split(\"\").forEach(function (e) {\n      n[e] = e;\n    }), \"abcdefghijklmnopqrst\" === Object.keys(Object.assign({}, n)).join(\"\");\n  } catch (e) {\n    return !1;\n  }\n}() ? Object.assign : function (e, t) {\n  for (var r, n, o = function (e) {\n    if (null == e) throw new TypeError(\"Object.assign cannot be called with null or undefined\");\n    return Object(e);\n  }(e), a = 1; a < arguments.length; a++) {\n    for (var i in r = Object(arguments[a])) u.call(r, i) && (o[i] = r[i]);\n\n    if (c) {\n      n = c(r);\n\n      for (var f = 0; f < n.length; f++) s.call(r, n[f]) && (o[n[f]] = r[n[f]]);\n    }\n  }\n\n  return o;\n},\n    p = \"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\",\n    l = function () {};\n\n{\n  var y = p,\n      d = {},\n      m = Function.call.bind(Object.prototype.hasOwnProperty);\n\n  l = function (e) {\n    var t = \"Warning: \" + e;\n    \"undefined\" != typeof console && console.error(t);\n\n    try {\n      throw new Error(t);\n    } catch (e) {}\n  };\n}\n\nfunction v(e, t, r, n, o) {\n  for (var a in e) if (m(e, a)) {\n    var i;\n\n    try {\n      if (\"function\" != typeof e[a]) {\n        var c = Error((n || \"React class\") + \": \" + r + \" type `\" + a + \"` is invalid; it must be a function, usually from the `prop-types` package, but received `\" + typeof e[a] + \"`.\");\n        throw c.name = \"Invariant Violation\", c;\n      }\n\n      i = e[a](t, a, n, r, null, y);\n    } catch (e) {\n      i = e;\n    }\n\n    if (!i || i instanceof Error || l((n || \"React class\") + \": type specification of \" + r + \" `\" + a + \"` is invalid; the type checker function must return `null` or an `Error` but returned a \" + typeof i + \". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).\"), i instanceof Error && !(i.message in d)) {\n      d[i.message] = !0;\n      var u = o ? o() : \"\";\n      l(\"Failed \" + r + \" type: \" + i.message + (null != u ? u : \"\"));\n    }\n  }\n}\n\nv.resetWarningCache = function () {\n  d = {};\n};\n\nvar b = v,\n    h = Function.call.bind(Object.prototype.hasOwnProperty),\n    g = function () {};\n\nfunction w() {\n  return null;\n}\n\nfunction O() {}\n\nfunction E() {}\n\ng = function (e) {\n  var t = \"Warning: \" + e;\n  \"undefined\" != typeof console && console.error(t);\n\n  try {\n    throw new Error(t);\n  } catch (e) {}\n}, E.resetWarningCache = O;\n\nvar S = n(function (e) {\n  e.exports = function (e, t) {\n    var r = \"function\" == typeof Symbol && Symbol.iterator,\n        n = \"@@iterator\",\n        o = \"<<anonymous>>\",\n        a = {\n      array: s(\"array\"),\n      bool: s(\"boolean\"),\n      func: s(\"function\"),\n      number: s(\"number\"),\n      object: s(\"object\"),\n      string: s(\"string\"),\n      symbol: s(\"symbol\"),\n      any: u(w),\n      arrayOf: function (e) {\n        return u(function (t, r, n, o, a) {\n          if (\"function\" != typeof e) return new c(\"Property `\" + a + \"` of component `\" + n + \"` has invalid PropType notation inside arrayOf.\");\n          var i = t[r];\n          if (!Array.isArray(i)) return new c(\"Invalid \" + o + \" `\" + a + \"` of type `\" + y(i) + \"` supplied to `\" + n + \"`, expected an array.\");\n\n          for (var u = 0; u < i.length; u++) {\n            var s = e(i, u, n, o, a + \"[\" + u + \"]\", p);\n            if (s instanceof Error) return s;\n          }\n\n          return null;\n        });\n      },\n      element: u(function (t, r, n, o, a) {\n        var i = t[r];\n        return e(i) ? null : new c(\"Invalid \" + o + \" `\" + a + \"` of type `\" + y(i) + \"` supplied to `\" + n + \"`, expected a single ReactElement.\");\n      }),\n      elementType: u(function (e, t, r, n, o) {\n        var a = e[t];\n        return i.isValidElementType(a) ? null : new c(\"Invalid \" + n + \" `\" + o + \"` of type `\" + y(a) + \"` supplied to `\" + r + \"`, expected a single ReactElement type.\");\n      }),\n      instanceOf: function (e) {\n        return u(function (t, r, n, a, i) {\n          var u;\n          return t[r] instanceof e ? null : new c(\"Invalid \" + a + \" `\" + i + \"` of type `\" + ((u = t[r]).constructor && u.constructor.name ? u.constructor.name : o) + \"` supplied to `\" + n + \"`, expected instance of `\" + (e.name || o) + \"`.\");\n        });\n      },\n      node: u(function (e, t, r, n, o) {\n        return l(e[t]) ? null : new c(\"Invalid \" + n + \" `\" + o + \"` supplied to `\" + r + \"`, expected a ReactNode.\");\n      }),\n      objectOf: function (e) {\n        return u(function (t, r, n, o, a) {\n          if (\"function\" != typeof e) return new c(\"Property `\" + a + \"` of component `\" + n + \"` has invalid PropType notation inside objectOf.\");\n          var i = t[r],\n              u = y(i);\n          if (\"object\" !== u) return new c(\"Invalid \" + o + \" `\" + a + \"` of type `\" + u + \"` supplied to `\" + n + \"`, expected an object.\");\n\n          for (var s in i) if (h(i, s)) {\n            var f = e(i, s, n, o, a + \".\" + s, p);\n            if (f instanceof Error) return f;\n          }\n\n          return null;\n        });\n      },\n      oneOf: function (e) {\n        return Array.isArray(e) ? u(function (t, r, n, o, a) {\n          for (var i = t[r], u = 0; u < e.length; u++) if ((s = i) === (f = e[u]) ? 0 !== s || 1 / s == 1 / f : s != s && f != f) return null;\n\n          var s,\n              f,\n              p = JSON.stringify(e, function (e, t) {\n            return \"symbol\" === d(t) ? String(t) : t;\n          });\n          return new c(\"Invalid \" + o + \" `\" + a + \"` of value `\" + String(i) + \"` supplied to `\" + n + \"`, expected one of \" + p + \".\");\n        }) : (g(arguments.length > 1 ? \"Invalid arguments supplied to oneOf, expected an array, got \" + arguments.length + \" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).\" : \"Invalid argument supplied to oneOf, expected an array.\"), w);\n      },\n      oneOfType: function (e) {\n        if (!Array.isArray(e)) return g(\"Invalid argument supplied to oneOfType, expected an instance of array.\"), w;\n\n        for (var t = 0; t < e.length; t++) {\n          var r = e[t];\n          if (\"function\" != typeof r) return g(\"Invalid argument supplied to oneOfType. Expected an array of check functions, but received \" + m(r) + \" at index \" + t + \".\"), w;\n        }\n\n        return u(function (t, r, n, o, a) {\n          for (var i = 0; i < e.length; i++) if (null == (0, e[i])(t, r, n, o, a, p)) return null;\n\n          return new c(\"Invalid \" + o + \" `\" + a + \"` supplied to `\" + n + \"`.\");\n        });\n      },\n      shape: function (e) {\n        return u(function (t, r, n, o, a) {\n          var i = t[r],\n              u = y(i);\n          if (\"object\" !== u) return new c(\"Invalid \" + o + \" `\" + a + \"` of type `\" + u + \"` supplied to `\" + n + \"`, expected `object`.\");\n\n          for (var s in e) {\n            var f = e[s];\n\n            if (f) {\n              var l = f(i, s, n, o, a + \".\" + s, p);\n              if (l) return l;\n            }\n          }\n\n          return null;\n        });\n      },\n      exact: function (e) {\n        return u(function (t, r, n, o, a) {\n          var i = t[r],\n              u = y(i);\n          if (\"object\" !== u) return new c(\"Invalid \" + o + \" `\" + a + \"` of type `\" + u + \"` supplied to `\" + n + \"`, expected `object`.\");\n          var s = f({}, t[r], e);\n\n          for (var l in s) {\n            var d = e[l];\n            if (!d) return new c(\"Invalid \" + o + \" `\" + a + \"` key `\" + l + \"` supplied to `\" + n + \"`.\\nBad object: \" + JSON.stringify(t[r], null, \"  \") + \"\\nValid keys: \" + JSON.stringify(Object.keys(e), null, \"  \"));\n            var m = d(i, l, n, o, a + \".\" + l, p);\n            if (m) return m;\n          }\n\n          return null;\n        });\n      }\n    };\n\n    function c(e) {\n      (this || _global).message = e, (this || _global).stack = \"\";\n    }\n\n    function u(e) {\n      var r = {},\n          n = 0;\n\n      function a(a, i, u, s, f, l, y) {\n        if (s = s || o, l = l || u, y !== p) {\n          if (t) {\n            var d = new Error(\"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types\");\n            throw d.name = \"Invariant Violation\", d;\n          }\n\n          if (\"undefined\" != typeof console) {\n            var m = s + \":\" + u;\n            !r[m] && n < 3 && (g(\"You are manually calling a React.PropTypes validation function for the `\" + l + \"` prop on `\" + s + \"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.\"), r[m] = !0, n++);\n          }\n        }\n\n        return null == i[u] ? a ? new c(null === i[u] ? \"The \" + f + \" `\" + l + \"` is marked as required in `\" + s + \"`, but its value is `null`.\" : \"The \" + f + \" `\" + l + \"` is marked as required in `\" + s + \"`, but its value is `undefined`.\") : null : e(i, u, s, f, l);\n      }\n\n      var i = a.bind(null, !1);\n      return i.isRequired = a.bind(null, !0), i;\n    }\n\n    function s(e) {\n      return u(function (t, r, n, o, a, i) {\n        var u = t[r];\n        return y(u) !== e ? new c(\"Invalid \" + o + \" `\" + a + \"` of type `\" + d(u) + \"` supplied to `\" + n + \"`, expected `\" + e + \"`.\") : null;\n      });\n    }\n\n    function l(t) {\n      switch (typeof t) {\n        case \"number\":\n        case \"string\":\n        case \"undefined\":\n          return !0;\n\n        case \"boolean\":\n          return !t;\n\n        case \"object\":\n          if (Array.isArray(t)) return t.every(l);\n          if (null === t || e(t)) return !0;\n\n          var o = function (e) {\n            var o = t && (r && t[r] || t[n]);\n            if (\"function\" == typeof o) return o;\n          }();\n\n          if (!o) return !1;\n          var a,\n              i = o.call(t);\n\n          if (o !== t.entries) {\n            for (; !(a = i.next()).done;) if (!l(a.value)) return !1;\n          } else for (; !(a = i.next()).done;) {\n            var c = a.value;\n            if (c && !l(c[1])) return !1;\n          }\n\n          return !0;\n\n        default:\n          return !1;\n      }\n    }\n\n    function y(e) {\n      var t = typeof e;\n      return Array.isArray(e) ? \"array\" : e instanceof RegExp ? \"object\" : function (e, t) {\n        return \"symbol\" === e || !!t && (\"Symbol\" === t[\"@@toStringTag\"] || \"function\" == typeof Symbol && t instanceof Symbol);\n      }(t, e) ? \"symbol\" : t;\n    }\n\n    function d(e) {\n      if (null == e) return \"\" + e;\n      var t = y(e);\n\n      if (\"object\" === t) {\n        if (e instanceof Date) return \"date\";\n        if (e instanceof RegExp) return \"regexp\";\n      }\n\n      return t;\n    }\n\n    function m(e) {\n      var t = d(e);\n\n      switch (t) {\n        case \"array\":\n        case \"object\":\n          return \"an \" + t;\n\n        case \"boolean\":\n        case \"date\":\n        case \"regexp\":\n          return \"a \" + t;\n\n        default:\n          return t;\n      }\n    }\n\n    return c.prototype = Error.prototype, a.checkPropTypes = b, a.resetWarningCache = b.resetWarningCache, a.PropTypes = a, a;\n  }(i.isElement, !0);\n}),\n    j = [],\n    P = function (e) {\n  function r() {\n    e.apply(this || _global, arguments), (this || _global).state = {\n      isLoading: !0\n    };\n  }\n\n  return e && (r.__proto__ = e), (r.prototype = Object.create(e && e.prototype)).constructor = r, r.prototype.loadTweetForProps = function (e) {\n    var t = this || _global,\n        r = function () {\n      window.twttr.ready().then(function (r) {\n        var n = r.widgets;\n        t._div && (t._div.innerHTML = \"\");\n        var o = e.onTweetLoadSuccess,\n            a = e.onTweetLoadError;\n        n.createTweetEmbed(t.props.id, t._div, e.options).then(function (e) {\n          t.setState({\n            isLoading: !1\n          }), o && o(e);\n        }).catch(a);\n      });\n    },\n        n = window.twttr;\n\n    n && n.ready ? r() : function (e, t) {\n      if (0 === j.length) {\n        j.push(t);\n        var r = document.createElement(\"script\");\n        r.setAttribute(\"src\", e), r.onload = function () {\n          return j.forEach(function (e) {\n            return e();\n          });\n        }, document.body.appendChild(r);\n      } else j.push(t);\n    }((window.location.protocol.indexOf(\"file\") >= 0 ? (this || _global).props.protocol : \"\") + \"//platform.twitter.com/widgets.js\", r);\n  }, r.prototype.componentDidMount = function () {\n    this.loadTweetForProps((this || _global).props);\n  }, r.prototype.shouldComponentUpdate = function (e, t) {\n    return (this || _global).props.id !== e.id || (this || _global).props.className !== e.className;\n  }, r.prototype.componentWillUpdate = function (e, t) {\n    (this || _global).props.id !== e.id && this.loadTweetForProps(e);\n  }, r.prototype.render = function () {\n    var e = this || _global;\n    return t.createElement(\"div\", {\n      className: (this || _global).props.className,\n      ref: function (t) {\n        e._div = t;\n      }\n    }, (this || _global).state.isLoading && (this || _global).props.placeholder);\n  }, r;\n}(t.Component);\n\nP.propTypes = {\n  id: S.string,\n  options: S.object,\n  protocol: S.string,\n  onTweetLoadSuccess: S.func,\n  onTweetLoadError: S.func,\n  className: S.string\n}, P.defaultProps = {\n  protocol: \"https:\",\n  options: {},\n  className: null\n}, exports = P; \n\nvar exports$1 = exports;\n\nexport default exports$1;\n\n//# sourceMappingURL=npm:react-tweet-embed@1.2.2!cjs.map", "import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useMemo}from\"react\";import{addPropertyControls,ControlType,withCSS}from\"framer\";import{motion}from\"framer-motion\";import{containerStyles}from\"https://framer.com/m/framer/default-utils.js@^0.45.0\";import{emptyStateStyle,stateParagraphStyle,stateTitleStyle}from\"https://framer.com/m/framer/integrations-styles.js@0.2.0\";import TweetEmbed from\"https://jspm.dev/react-tweet-embed@1.2.2\";const twitterRegex=/^https?:\\/\\/twitter\\.com\\/[^\\/]+\\/status\\/(\\d+)/;/**\n * TWITTER\n *\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 225\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */ const Twitter=withCSS(function Twitter({url,style,theme,...props}){const id1=useMemo(()=>{var ref;const[,id]=(ref=url.match(twitterRegex))!==null&&ref!==void 0?ref:[null,null];return id;},[url]);return url&&id1?/*#__PURE__*/ _jsx(motion.div,{style:{...containerStyles,...style},children:/*#__PURE__*/ _jsx(TweetEmbed,{className:\"framer-twitter\",id:id1,options:{theme}},`${id1}.${theme}`)}):/*#__PURE__*/ _jsxs(motion.div,{style:{...emptyStateStyle,...style},...props,children:[/*#__PURE__*/ _jsx(\"h1\",{style:stateTitleStyle,children:\"Twitter\"}),url?/*#__PURE__*/ _jsx(\"p\",{style:stateParagraphStyle,children:\"This tweet URL doesn\u2019t seem correct.\"}):/*#__PURE__*/ _jsx(\"p\",{style:stateParagraphStyle,children:\"Set a tweet URL in the Properties.\"})]});},[\".framer-twitter { width: 100% !important; height: 100% !important; }\",\".framer-twitter > div { width: 100% !important; max-width: 100% !important; height: 100% !important; margin: 0 !important; }\",\".framer-twitter iframe { width: 100% !important; height: 100% !important; }\",]);Twitter.defaultProps={theme:\"light\"};addPropertyControls(Twitter,{url:{title:\"URL\",type:ControlType.String,placeholder:\"https://twitter.com/***/status/1234\",defaultValue:\"https://twitter.com/jack/status/20\"},theme:{title:\"Theme\",type:ControlType.Enum,options:[\"light\",\"dark\"],optionTitles:[\"Light\",\"Dark\"]}});export default Twitter;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Twitter\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"225\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"400\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Twitter.map", "function addUniqueItem(t,e){-1===t.indexOf(e)&&t.push(e)}function removeItem(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const clamp=(t,e,n)=>Math.min(Math.max(n,t),e);const t={duration:.3,delay:0,endDelay:0,repeat:0,easing:\"ease\"};const isNumber=t=>\"number\"===typeof t;const isEasingList=t=>Array.isArray(t)&&!isNumber(t[0]);const wrap=(t,e,n)=>{const o=e-t;return((n-t)%o+o)%o+t};function getEasingForSegment(t,e){return isEasingList(t)?t[wrap(0,t.length,e)]:t}const mix=(t,e,n)=>-n*t+n*e+t;const noop=()=>{};const noopReturn=t=>t;const progress=(t,e,n)=>e-t===0?1:(n-t)/(e-t);function fillOffset(t,e){const n=t[t.length-1];for(let o=1;o<=e;o++){const s=progress(0,e,o);t.push(mix(n,1,s))}}function defaultOffset(t){const e=[0];fillOffset(e,t-1);return e}function interpolate(t,e=defaultOffset(t.length),n=noopReturn){const o=t.length;const s=o-e.length;s>0&&fillOffset(e,s);return s=>{let f=0;for(;f<o-2;f++)if(s<e[f+1])break;let r=clamp(0,1,progress(e[f],e[f+1],s));const c=getEasingForSegment(n,f);r=c(r);return mix(t[f],t[f+1],r)}}const isCubicBezier=t=>Array.isArray(t)&&isNumber(t[0]);const isEasingGenerator=t=>\"object\"===typeof t&&Boolean(t.createAnimation);const isFunction=t=>\"function\"===typeof t;const isString=t=>\"string\"===typeof t;const e={ms:t=>1e3*t,s:t=>t/1e3};\n/*\n  Convert velocity into velocity per second\n\n  @param [number]: Unit per frame\n  @param [number]: Frame duration in ms\n*/function velocityPerSecond(t,e){return e?t*(1e3/e):0}export{addUniqueItem,clamp,defaultOffset,t as defaults,fillOffset,getEasingForSegment,interpolate,isCubicBezier,isEasingGenerator,isEasingList,isFunction,isNumber,isString,mix,noop,noopReturn,progress,removeItem,e as time,velocityPerSecond,wrap};\n\n//# sourceMappingURL=index.es.js.map", "import{noopReturn as t,clamp as n}from\"@motionone/utils\";const calcBezier=(t,n,e)=>(((1-3*e+3*n)*t+(3*e-6*n))*t+3*n)*t;const e=1e-7;const i=12;function binarySubdivide(t,n,o,r,c){let u;let a;let s=0;do{a=n+(o-n)/2;u=calcBezier(a,r,c)-t;u>0?o=a:n=a}while(Math.abs(u)>e&&++s<i);return a}function cubicBezier(n,e,i,o){if(n===e&&i===o)return t;const getTForX=t=>binarySubdivide(t,0,1,n,i);return t=>0===t||1===t?t:calcBezier(getTForX(t),e,o)}const steps=(t,e=\"end\")=>i=>{i=\"end\"===e?Math.min(i,.999):Math.max(i,.001);const o=i*t;const r=\"end\"===e?Math.floor(o):Math.ceil(o);return n(0,1,r/t)};export{cubicBezier,steps};\n\n//# sourceMappingURL=index.es.js.map", "import{noopReturn as t,defaults as i,isEasingGenerator as e,isEasingList as s,interpolate as a}from\"@motionone/utils\";import{cubicBezier as n,steps as r}from\"@motionone/easing\";const o={ease:n(.25,.1,.25,1),\"ease-in\":n(.42,0,1,1),\"ease-in-out\":n(.42,0,.58,1),\"ease-out\":n(0,0,.58,1)};const h=/\\((.*?)\\)/;function getEasingFunction(i){if(\"function\"===typeof i)return i;if(Array.isArray(i))return n(...i);if(o[i])return o[i];if(i.startsWith(\"steps\")){const t=h.exec(i);if(t){const i=t[1].split(\",\");return r(parseFloat(i[0]),i[1].trim())}}return t}class Animation{constructor(n,r=[0,1],{easing:o,duration:h=i.duration,delay:u=i.delay,endDelay:l=i.endDelay,repeat:m=i.repeat,offset:c,direction:p=\"normal\"}={}){this.startTime=null;this.rate=1;this.t=0;this.cancelTimestamp=null;this.easing=t;this.duration=0;this.totalDuration=0;this.repeat=0;this.playState=\"idle\";this.finished=new Promise(((t,i)=>{this.resolve=t;this.reject=i}));o=o||i.easing;if(e(o)){const t=o.createAnimation(r,(()=>\"0\"),true);o=t.easing;void 0!==t.keyframes&&(r=t.keyframes);void 0!==t.duration&&(h=t.duration)}this.repeat=m;this.easing=s(o)?t:getEasingFunction(o);this.updateDuration(h);const d=a(r,c,s(o)?o.map(getEasingFunction):t);this.tick=t=>{var i;u=u;let e=0;e=void 0!==this.pauseTime?this.pauseTime:(t-this.startTime)*this.rate;this.t=e;e/=1e3;e=Math.max(e-u,0);\"finished\"===this.playState&&void 0===this.pauseTime&&(e=this.totalDuration);const s=e/this.duration;let a=Math.floor(s);let r=s%1;!r&&s>=1&&(r=1);1===r&&a--;const o=a%2;(\"reverse\"===p||\"alternate\"===p&&o||\"alternate-reverse\"===p&&!o)&&(r=1-r);const h=e>=this.totalDuration?1:Math.min(r,1);const m=d(this.easing(h));n(m);const c=void 0===this.pauseTime&&(\"finished\"===this.playState||e>=this.totalDuration+l);if(c){this.playState=\"finished\";null===(i=this.resolve)||void 0===i?void 0:i.call(this,m)}else\"idle\"!==this.playState&&(this.frameRequestId=requestAnimationFrame(this.tick))};this.play()}play(){const t=performance.now();this.playState=\"running\";void 0!==this.pauseTime?this.startTime=t-this.pauseTime:this.startTime||(this.startTime=t);this.cancelTimestamp=this.startTime;this.pauseTime=void 0;this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState=\"paused\";this.pauseTime=this.t}finish(){this.playState=\"finished\";this.tick(0)}stop(){var t;this.playState=\"idle\";void 0!==this.frameRequestId&&cancelAnimationFrame(this.frameRequestId);null===(t=this.reject)||void 0===t?void 0:t.call(this,false)}cancel(){this.stop();this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(t){this.duration=t;this.totalDuration=t*(this.repeat+1)}get currentTime(){return this.t}set currentTime(t){void 0!==this.pauseTime||0===this.rate?this.pauseTime=t:this.startTime=performance.now()-t/this.rate}get playbackRate(){return this.rate}set playbackRate(t){this.rate=t}}export{Animation,getEasingFunction};\n\n//# sourceMappingURL=index.es.js.map", "var extendStatics=function(e,t){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])};return extendStatics(e,t)};function __extends(e,t){if(\"function\"!==typeof t&&null!==t)throw new TypeError(\"Class extends value \"+String(t)+\" is not a constructor or null\");extendStatics(e,t);function __(){this.constructor=e}e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}var __assign=function(){__assign=Object.assign||function __assign(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e};return __assign.apply(this,arguments)};function __rest(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function __decorate(e,t,r,n){var o,a=arguments.length,i=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if(\"object\"===typeof Reflect&&\"function\"===typeof Reflect.decorate)i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(i=(a<3?o(i):a>3?o(t,r,i):o(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i}function __param(e,t){return function(r,n){t(r,n,e)}}function __metadata(e,t){if(\"object\"===typeof Reflect&&\"function\"===typeof Reflect.metadata)return Reflect.metadata(e,t)}function __awaiter(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(n.next(e))}catch(e){o(e)}}function rejected(e){try{step(n.throw(e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))}function __generator(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:verb(0),throw:verb(1),return:verb(2)},\"function\"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function verb(e){return function(t){return step([e,t])}}function step(a){if(r)throw new TypeError(\"Generator is already executing.\");while(i)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;(n=0,o)&&(a=[2&a[0],o.value]);switch(a[0]){case 0:case 1:o=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;n=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1];o=a;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(a);break}o[2]&&i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:true}}}var e=Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!(\"get\"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:true,get:function(){return t[r]}});Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r);e[n]=t[r]};function __exportStar(t,r){for(var n in t)\"default\"===n||Object.prototype.hasOwnProperty.call(r,n)||e(r,t,n)}function __values(e){var t=\"function\"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&\"number\"===typeof e.length)return{next:function(){e&&n>=e.length&&(e=void 0);return{value:e&&e[n++],done:!e}}};throw new TypeError(t?\"Object is not iterable.\":\"Symbol.iterator is not defined.\")}function __read(e,t){var r=\"function\"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{while((void 0===t||t-- >0)&&!(n=a.next()).done)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}\n/** @deprecated */function __spread(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(__read(arguments[t]));return e}\n/** @deprecated */function __spreadArrays(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,c=a.length;i<c;i++,o++)n[o]=a[i];return n}function __spreadArray(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)if(n||!(o in t)){n||(n=Array.prototype.slice.call(t,0,o));n[o]=t[o]}return e.concat(n||Array.prototype.slice.call(t))}function __await(e){return this instanceof __await?(this.v=e,this):new __await(e)}function __asyncGenerator(e,t,r){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var n,o=r.apply(e,t||[]),a=[];return n={},verb(\"next\"),verb(\"throw\"),verb(\"return\"),n[Symbol.asyncIterator]=function(){return this},n;function verb(e){o[e]&&(n[e]=function(t){return new Promise((function(r,n){a.push([e,t,r,n])>1||resume(e,t)}))})}function resume(e,t){try{step(o[e](t))}catch(e){settle(a[0][3],e)}}function step(e){e.value instanceof __await?Promise.resolve(e.value.v).then(fulfill,reject):settle(a[0][2],e)}function fulfill(e){resume(\"next\",e)}function reject(e){resume(\"throw\",e)}function settle(e,t){(e(t),a.shift(),a.length)&&resume(a[0][0],a[0][1])}}function __asyncDelegator(e){var t,r;return t={},verb(\"next\"),verb(\"throw\",(function(e){throw e})),verb(\"return\"),t[Symbol.iterator]=function(){return this},t;function verb(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:__await(e[n](t)),done:\"return\"===n}:o?o(t):t}:o}}function __asyncValues(e){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=\"function\"===typeof __values?__values(e):e[Symbol.iterator](),t={},verb(\"next\"),verb(\"throw\"),verb(\"return\"),t[Symbol.asyncIterator]=function(){return this},t);function verb(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){t=e[r](t),settle(n,o,t.done,t.value)}))}}function settle(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}}function __makeTemplateObject(e,t){Object.defineProperty?Object.defineProperty(e,\"raw\",{value:t}):e.raw=t;return e}var t=Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:true,value:t})}:function(e,t){e.default=t};function __importStar(r){if(r&&r.__esModule)return r;var n={};if(null!=r)for(var o in r)\"default\"!==o&&Object.prototype.hasOwnProperty.call(r,o)&&e(n,r,o);t(n,r);return n}function __importDefault(e){return e&&e.__esModule?e:{default:e}}function __classPrivateFieldGet(e,t,r,n){if(\"a\"===r&&!n)throw new TypeError(\"Private accessor was defined without a getter\");if(\"function\"===typeof t?e!==t||!n:!t.has(e))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return\"m\"===r?n:\"a\"===r?n.call(e):n?n.value:t.get(e)}function __classPrivateFieldSet(e,t,r,n,o){if(\"m\"===n)throw new TypeError(\"Private method is not writable\");if(\"a\"===n&&!o)throw new TypeError(\"Private accessor was defined without a setter\");if(\"function\"===typeof t?e!==t||!o:!t.has(e))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return\"a\"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}function __classPrivateFieldIn(e,t){if(null===t||\"object\"!==typeof t&&\"function\"!==typeof t)throw new TypeError(\"Cannot use 'in' operator on non-object\");return\"function\"===typeof e?t===e:e.has(t)}export{__assign,__asyncDelegator,__asyncGenerator,__asyncValues,__await,__awaiter,__classPrivateFieldGet,__classPrivateFieldIn,__classPrivateFieldSet,e as __createBinding,__decorate,__exportStar,__extends,__generator,__importDefault,__importStar,__makeTemplateObject,__metadata,__param,__read,__rest,__spread,__spreadArray,__spreadArrays,__values};\n\n//# sourceMappingURL=tslib.es6.js.map", "var n={};Object.defineProperty(n,\"__esModule\",{value:true});n.warning=function(){};n.invariant=function(){};const e=n.__esModule,t=n.warning,r=n.invariant;export default n;export{e as __esModule,r as invariant,t as warning};\n\n//# sourceMappingURL=index.js.map", "import{velocityPerSecond as e,time as t}from\"@motionone/utils\";const s=5;function calcGeneratorVelocity(t,n,r){const a=Math.max(n-s,0);return e(r-t(a),n-a)}const n={stiffness:100,damping:10,mass:1};const calcDampingRatio=(e=n.stiffness,t=n.damping,s=n.mass)=>t/(2*Math.sqrt(e*s));function hasReachedTarget(e,t,s){return e<t&&s>=t||e>t&&s<=t}const spring=({stiffness:e=n.stiffness,damping:s=n.damping,mass:r=n.mass,from:a=0,to:o=1,velocity:c=0,restSpeed:i=2,restDistance:h=.5}={})=>{c=c?t.s(c):0;const u={done:false,hasReachedTarget:false,current:a,target:o};const d=o-a;const f=Math.sqrt(e/r)/1e3;const l=calcDampingRatio(e,s,r);let g;if(l<1){const e=f*Math.sqrt(1-l*l);g=t=>o-Math.exp(-l*f*t)*((l*f*d-c)/e*Math.sin(e*t)+d*Math.cos(e*t))}else g=e=>o-Math.exp(-f*e)*(d+(f*d-c)*e);return e=>{u.current=g(e);const t=0===e?c:calcGeneratorVelocity(g,e,u.current);const s=Math.abs(t)<=i;const n=Math.abs(o-u.current)<=h;u.done=s&&n;u.hasReachedTarget=hasReachedTarget(a,o,u.current);return u}};const glide=({from:e=0,velocity:s=0,power:n=.8,decay:r=.325,bounceDamping:a,bounceStiffness:o,changeTarget:c,min:i,max:h,restDistance:u=.5,restSpeed:d})=>{r=t.ms(r);const f={hasReachedTarget:false,done:false,current:e,target:e};const isOutOfBounds=e=>void 0!==i&&e<i||void 0!==h&&e>h;const nearestBoundary=e=>void 0===i?h:void 0===h||Math.abs(i-e)<Math.abs(h-e)?i:h;let l=n*s;const g=e+l;const m=void 0===c?g:c(g);f.target=m;m!==g&&(l=m-e);const calcDelta=e=>-l*Math.exp(-e/r);const calcLatest=e=>m+calcDelta(e);const applyFriction=e=>{const t=calcDelta(e);const s=calcLatest(e);f.done=Math.abs(t)<=u;f.current=f.done?m:s};let p;let M;const checkCatchBoundary=e=>{if(isOutOfBounds(f.current)){p=e;M=spring({from:f.current,to:nearestBoundary(f.current),velocity:calcGeneratorVelocity(calcLatest,e,f.current),damping:a,stiffness:o,restDistance:u,restSpeed:d})}};checkCatchBoundary(0);return e=>{let t=false;if(!M&&void 0===p){t=true;applyFriction(e);checkCatchBoundary(e)}if(void 0!==p&&e>p){f.hasReachedTarget=true;return M(e-p)}f.hasReachedTarget=false;!t&&applyFriction(e);return f}};const r=10;const a=1e4;function pregenerateKeyframes(e){let t;let s=r;let n=e(0);const o=[n.current];while(!n.done&&s<a){n=e(s);o.push(n.done?n.target:n.current);void 0===t&&n.hasReachedTarget&&(t=s);s+=r}const c=s-r;1===o.length&&o.push(n.current);return{keyframes:o,duration:c/1e3,overshootDuration:(null!==t&&void 0!==t?t:c)/1e3}}export{calcGeneratorVelocity,glide,pregenerateKeyframes,spring};\n\n//# sourceMappingURL=index.es.js.map", "import{MotionValue as e}from\"@motionone/types\";import{noopReturn as t,addUniqueItem as n,progress as o,isFunction as i,defaults as s,isCubicBezier as r,isEasingGenerator as a,isEasingList as c,isNumber as l,time as f,noop as u,removeItem as d,mix as g,getEasingForSegment as m,isString as h,defaultOffset as p,fillOffset as v,velocityPerSecond as y,interpolate as w}from\"@motionone/utils\";import{Animation as E,getEasingFunction as b}from\"@motionone/animation\";import{__rest as S}from\"tslib\";import{invariant as A}from\"hey-listen\";import{pregenerateKeyframes as O,calcGeneratorVelocity as x,spring as V,glide as z}from\"@motionone/generators\";const W=new WeakMap;function getAnimationData(e){W.has(e)||W.set(e,{transforms:[],values:new Map});return W.get(e)}function getMotionValue(t,n){t.has(n)||t.set(n,new e);return t.get(n)}const L=[\"\",\"X\",\"Y\",\"Z\"];const T=[\"translate\",\"scale\",\"rotate\",\"skew\"];const D={x:\"translateX\",y:\"translateY\",z:\"translateZ\"};const M={syntax:\"<angle>\",initialValue:\"0deg\",toDefaultUnit:e=>e+\"deg\"};const k={translate:{syntax:\"<length-percentage>\",initialValue:\"0px\",toDefaultUnit:e=>e+\"px\"},rotate:M,scale:{syntax:\"<number>\",initialValue:1,toDefaultUnit:t},skew:M};const B=new Map;const asTransformCssVar=e=>`--motion-${e}`;const j=[\"x\",\"y\",\"z\"];T.forEach((e=>{L.forEach((t=>{j.push(e+t);B.set(asTransformCssVar(e+t),k[e])}))}));const compareTransformOrder=(e,t)=>j.indexOf(e)-j.indexOf(t);const P=new Set(j);const isTransform=e=>P.has(e);const addTransformToElement=(e,t)=>{D[t]&&(t=D[t]);const{transforms:o}=getAnimationData(e);n(o,t);e.style.transform=buildTransformTemplate(o)};const buildTransformTemplate=e=>e.sort(compareTransformOrder).reduce(transformListToString,\"\").trim();const transformListToString=(e,t)=>`${e} ${t}(var(${asTransformCssVar(t)}))`;const isCssVar=e=>e.startsWith(\"--\");const $=new Set;function registerCssVariable(e){if(!$.has(e)){$.add(e);try{const{syntax:t,initialValue:n}=B.has(e)?B.get(e):{};CSS.registerProperty({name:e,inherits:false,syntax:t,initialValue:n})}catch(e){}}}const testAnimation=(e,t)=>document.createElement(\"div\").animate(e,t);const C={cssRegisterProperty:()=>\"undefined\"!==typeof CSS&&Object.hasOwnProperty.call(CSS,\"registerProperty\"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,\"animate\"),partialKeyframes:()=>{try{testAnimation({opacity:[1]})}catch(e){return false}return true},finished:()=>Boolean(testAnimation({opacity:[0,1]},{duration:.001}).finished),linearEasing:()=>{try{testAnimation({opacity:0},{easing:\"linear(0, 1)\"})}catch(e){return false}return true}};const R={};const H={};for(const e in C)H[e]=()=>{void 0===R[e]&&(R[e]=C[e]());return R[e]};const I=.015;const generateLinearEasingPoints=(e,t)=>{let n=\"\";const i=Math.round(t/I);for(let t=0;t<i;t++)n+=e(o(0,i-1,t))+\", \";return n.substring(0,n.length-2)};const convertEasing=(e,t)=>i(e)?H.linearEasing()?`linear(${generateLinearEasingPoints(e,t)})`:s.easing:r(e)?cubicBezierAsString(e):e;const cubicBezierAsString=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`;function hydrateKeyframes(e,t){for(let n=0;n<e.length;n++)null===e[n]&&(e[n]=n?e[n-1]:t());return e}const keyframesList=e=>Array.isArray(e)?e:[e];function getStyleName(e){D[e]&&(e=D[e]);return isTransform(e)?asTransformCssVar(e):e}const N={get:(e,t)=>{t=getStyleName(t);let n=isCssVar(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!n&&0!==n){const e=B.get(t);e&&(n=e.initialValue)}return n},set:(e,t,n)=>{t=getStyleName(t);isCssVar(t)?e.style.setProperty(t,n):e.style[t]=n}};function stopAnimation(e,t=true){if(e&&\"finished\"!==e.playState)try{if(e.stop)e.stop();else{t&&e.commitStyles();e.cancel()}}catch(e){}}function getDevToolsRecord(){return window.__MOTION_DEV_TOOLS_RECORD}function animateStyle(e,t,n,o={}){const r=getDevToolsRecord();const d=false!==o.record&&r;let g;let{duration:m=s.duration,delay:h=s.delay,endDelay:p=s.endDelay,repeat:v=s.repeat,easing:y=s.easing,direction:w,offset:b,allowWebkitAcceleration:S=false}=o;const A=getAnimationData(e);const O=isTransform(t);let x=H.waapi();O&&addTransformToElement(e,t);const V=getStyleName(t);const z=getMotionValue(A.values,V);const W=B.get(V);stopAnimation(z.animation,!(a(y)&&z.generator)&&false!==o.record);return()=>{const readInitialValue=()=>{var t,n;return null!==(n=null!==(t=N.get(e,V))&&void 0!==t?t:null===W||void 0===W?void 0:W.initialValue)&&void 0!==n?n:0};let s=hydrateKeyframes(keyframesList(n),readInitialValue);if(a(y)){const e=y.createAnimation(s,readInitialValue,O,V,z);y=e.easing;void 0!==e.keyframes&&(s=e.keyframes);void 0!==e.duration&&(m=e.duration)}isCssVar(V)&&(H.cssRegisterProperty()?registerCssVariable(V):x=false);O&&!H.linearEasing()&&(i(y)||c(y)&&y.some(i))&&(x=false);if(x){W&&(s=s.map((e=>l(e)?W.toDefaultUnit(e):e)));1!==s.length||H.partialKeyframes()&&!d||s.unshift(readInitialValue());const t={delay:f.ms(h),duration:f.ms(m),endDelay:f.ms(p),easing:c(y)?void 0:convertEasing(y,m),direction:w,iterations:v+1,fill:\"both\"};g=e.animate({[V]:s,offset:b,easing:c(y)?y.map((e=>convertEasing(e,m))):void 0},t);g.finished||(g.finished=new Promise(((e,t)=>{g.onfinish=e;g.oncancel=t})));const n=s[s.length-1];g.finished.then((()=>{N.set(e,V,n);g.cancel()})).catch(u);S||(g.playbackRate=1.000001)}else if(O){s=s.map((e=>\"string\"===typeof e?parseFloat(e):e));1===s.length&&s.unshift(parseFloat(readInitialValue()));const render=t=>{W&&(t=W.toDefaultUnit(t));N.set(e,V,t)};g=new E(render,s,Object.assign(Object.assign({},o),{duration:m,easing:y}))}else{const t=s[s.length-1];N.set(e,V,W&&l(t)?W.toDefaultUnit(t):t)}d&&r(e,t,s,{duration:m,delay:h,easing:y,repeat:v,offset:b},\"motion-one\");z.setAnimation(g);return g}}const getOptions=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function resolveElements(e,t){var n;if(\"string\"===typeof e)if(t){null!==(n=t[e])&&void 0!==n?n:t[e]=document.querySelectorAll(e);e=t[e]}else e=document.querySelectorAll(e);else e instanceof Element&&(e=[e]);return Array.from(e||[])}const createAnimation=e=>e();const withControls=(e,t,n=s.duration)=>new Proxy({animations:e.map(createAnimation).filter(Boolean),duration:n,options:t},F);const getActiveAnimation=e=>e.animations[0];const F={get:(e,t)=>{const n=getActiveAnimation(e);switch(t){case\"duration\":return e.duration;case\"currentTime\":return f.s((null===n||void 0===n?void 0:n[t])||0);case\"playbackRate\":case\"playState\":return null===n||void 0===n?void 0:n[t];case\"finished\":e.finished||(e.finished=Promise.all(e.animations.map(selectFinished)).catch(u));return e.finished;case\"stop\":return()=>{e.animations.forEach((e=>stopAnimation(e)))};case\"forEachNative\":return t=>{e.animations.forEach((n=>t(n,e)))};default:return\"undefined\"===typeof(null===n||void 0===n?void 0:n[t])?void 0:()=>e.animations.forEach((e=>e[t]()))}},set:(e,t,n)=>{switch(t){case\"currentTime\":n=f.ms(n);case\"currentTime\":case\"playbackRate\":for(let o=0;o<e.animations.length;o++)e.animations[o][t]=n;return true}return false}};const selectFinished=e=>e.finished;function stagger(e=.1,{start:t=0,from:n=0,easing:o}={}){return(i,s)=>{const r=l(n)?n:getFromIndex(n,s);const a=Math.abs(r-i);let c=e*a;if(o){const t=s*e;const n=b(o);c=n(c/t)*t}return t+c}}function getFromIndex(e,t){if(\"first\"===e)return 0;{const n=t-1;return\"last\"===e?n:n/2}}function resolveOption(e,t,n){return i(e)?e(t,n):e}function animate(e,t,n={}){e=resolveElements(e);const o=e.length;const i=[];for(let s=0;s<o;s++){const r=e[s];for(const e in t){const a=getOptions(n,e);a.delay=resolveOption(a.delay,s,o);const c=animateStyle(r,e,t[e],a);i.push(c)}}return withControls(i,n,n.duration)}function calcNextTime(e,t,n,o){var i;return l(t)?t:t.startsWith(\"-\")||t.startsWith(\"+\")?Math.max(0,e+parseFloat(t)):\"<\"===t?n:null!==(i=o.get(t))&&void 0!==i?i:e}function eraseKeyframes(e,t,n){for(let o=0;o<e.length;o++){const i=e[o];if(i.at>t&&i.at<n){d(e,i);o--}}}function addKeyframes(e,t,n,o,i,s){eraseKeyframes(e,i,s);for(let r=0;r<t.length;r++)e.push({value:t[r],at:g(i,s,o[r]),easing:m(n,r)})}function compareByTime(e,t){return e.at===t.at?null===e.value?1:-1:e.at-t.at}function timeline(e,t={}){var n;const o=createAnimationsFromTimeline(e,t);const i=o.map((e=>animateStyle(...e))).filter(Boolean);return withControls(i,t,null===(n=o[0])||void 0===n?void 0:n[3].duration)}function createAnimationsFromTimeline(e,t={}){var{defaultOptions:n={}}=t,i=S(t,[\"defaultOptions\"]);const r=[];const c=new Map;const l={};const f=new Map;let u=0;let d=0;let g=0;for(let t=0;t<e.length;t++){const o=e[t];if(h(o)){f.set(o,d);continue}if(!Array.isArray(o)){f.set(o.name,calcNextTime(d,o.at,u,f));continue}const[i,r,m={}]=o;void 0!==m.at&&(d=calcNextTime(d,m.at,u,f));let y=0;const w=resolveElements(i,l);const E=w.length;for(let e=0;e<E;e++){const t=w[e];const o=getElementSequence(t,c);for(const t in r){const i=getValueSequence(t,o);let c=keyframesList(r[t]);const l=getOptions(m,t);let{duration:f=n.duration||s.duration,easing:u=n.easing||s.easing}=l;if(a(u)){const e=isTransform(t);A(2===c.length||!e,\"spring must be provided 2 keyframes within timeline\");const n=u.createAnimation(c,(()=>\"0\"),e);u=n.easing;void 0!==n.keyframes&&(c=n.keyframes);void 0!==n.duration&&(f=n.duration)}const h=resolveOption(m.delay,e,E)||0;const w=d+h;const b=w+f;let{offset:S=p(c.length)}=l;1===S.length&&0===S[0]&&(S[1]=1);const O=length-c.length;O>0&&v(S,O);1===c.length&&c.unshift(null);addKeyframes(i,c,u,S,w,b);y=Math.max(h+f,y);g=Math.max(b,g)}}u=d;d+=y}c.forEach(((e,t)=>{for(const a in e){const c=e[a];c.sort(compareByTime);const l=[];const f=[];const u=[];for(let e=0;e<c.length;e++){const{at:t,value:n,easing:i}=c[e];l.push(n);f.push(o(0,g,t));u.push(i||s.easing)}if(0!==f[0]){f.unshift(0);l.unshift(l[0]);u.unshift(\"linear\")}if(1!==f[f.length-1]){f.push(1);l.push(null)}r.push([t,a,l,Object.assign(Object.assign(Object.assign({},n),{duration:g,easing:u,offset:f}),i)])}}));return r}function getElementSequence(e,t){!t.has(e)&&t.set(e,{});return t.get(e)}function getValueSequence(e,t){t[e]||(t[e]=[]);return t[e]}function createGeneratorEasing(e){const t=new WeakMap;return(n={})=>{const o=new Map;const getGenerator=(t=0,i=100,s=0,r=false)=>{const a=`${t}-${i}-${s}-${r}`;o.has(a)||o.set(a,e(Object.assign({from:t,to:i,velocity:s,restSpeed:r?.05:2,restDistance:r?.01:.5},n)));return o.get(a)};const getKeyframes=e=>{t.has(e)||t.set(e,O(e));return t.get(e)};return{createAnimation:(e,t,n,o,i)=>{var s,r;let a;const c=e.length;let l=n&&c<=2&&e.every(isNumberOrNull);if(l){const n=e[c-1];const l=1===c?null:e[0];let f=0;let u=0;const d=null===i||void 0===i?void 0:i.generator;if(d){const{animation:t,generatorStartTime:n}=i;const o=(null===t||void 0===t?void 0:t.startTime)||n||0;const r=(null===t||void 0===t?void 0:t.currentTime)||performance.now()-o;const a=d(r).current;u=null!==(s=l)&&void 0!==s?s:a;(1===c||2===c&&null===e[0])&&(f=x((e=>d(e).current),r,a))}else u=null!==(r=l)&&void 0!==r?r:parseFloat(t());const g=getGenerator(u,n,f,null===o||void 0===o?void 0:o.includes(\"scale\"));const m=getKeyframes(g);a=Object.assign(Object.assign({},m),{easing:\"linear\"});if(i){i.generator=g;i.generatorStartTime=performance.now()}}else{const e=getKeyframes(getGenerator(0,100));a={easing:\"ease\",duration:e.overshootDuration}}return a}}}}const isNumberOrNull=e=>\"string\"!==typeof e;const U=createGeneratorEasing(V);const q=createGeneratorEasing(z);const K={any:0,all:1};function inView$1(e,t,{root:n,margin:o,amount:s=\"any\"}={}){if(\"undefined\"===typeof IntersectionObserver)return()=>{};const r=resolveElements(e);const a=new WeakMap;const onIntersectionChange=e=>{e.forEach((e=>{const n=a.get(e.target);if(e.isIntersecting!==Boolean(n))if(e.isIntersecting){const n=t(e);i(n)?a.set(e.target,n):c.unobserve(e.target)}else if(n){n(e);a.delete(e.target)}}))};const c=new IntersectionObserver(onIntersectionChange,{root:n,rootMargin:o,threshold:\"number\"===typeof s?s:K[s]});r.forEach((e=>c.observe(e)));return()=>c.disconnect()}const G=new WeakMap;let _;function getElementSize(e,t){if(t){const{inlineSize:e,blockSize:n}=t[0];return{width:e,height:n}}return e instanceof SVGElement&&\"getBBox\"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function notifyTarget({target:e,contentRect:t,borderBoxSize:n}){var o;null===(o=G.get(e))||void 0===o?void 0:o.forEach((o=>{o({target:e,contentSize:t,get size(){return getElementSize(e,n)}})}))}function notifyAll(e){e.forEach(notifyTarget)}function createResizeObserver(){\"undefined\"!==typeof ResizeObserver&&(_=new ResizeObserver(notifyAll))}function resizeElement(e,t){_||createResizeObserver();const n=resolveElements(e);n.forEach((e=>{let n=G.get(e);if(!n){n=new Set;G.set(e,n)}n.add(t);null===_||void 0===_?void 0:_.observe(e)}));return()=>{n.forEach((e=>{const n=G.get(e);null===n||void 0===n?void 0:n.delete(t);(null===n||void 0===n?void 0:n.size)||(null===_||void 0===_?void 0:_.unobserve(e))}))}}const Z=new Set;let X;function createWindowResizeHandler(){X=()=>{const e={width:window.innerWidth,height:window.innerHeight};const t={target:window,size:e,contentSize:e};Z.forEach((e=>e(t)))};window.addEventListener(\"resize\",X)}function resizeWindow(e){Z.add(e);X||createWindowResizeHandler();return()=>{Z.delete(e);!Z.size&&X&&(X=void 0)}}function resize(e,t){return i(e)?resizeWindow(e):resizeElement(e,t)}const Y=50;const createAxisInfo=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0});const createScrollInfo=()=>({time:0,x:createAxisInfo(),y:createAxisInfo()});const J={x:{length:\"Width\",position:\"Left\"},y:{length:\"Height\",position:\"Top\"}};function updateAxisInfo(e,t,n,i){const s=n[t];const{length:r,position:a}=J[t];const c=s.current;const l=n.time;s.current=e[\"scroll\"+a];s.scrollLength=e[\"scroll\"+r]-e[\"client\"+r];s.offset.length=0;s.offset[0]=0;s.offset[1]=s.scrollLength;s.progress=o(0,s.scrollLength,s.current);const f=i-l;s.velocity=f>Y?0:y(s.current-c,f)}function updateScrollInfo(e,t,n){updateAxisInfo(e,\"x\",t,n);updateAxisInfo(e,\"y\",t,n);t.time=n}function calcInset(e,t){let n={x:0,y:0};let o=e;while(o&&o!==t)if(o instanceof HTMLElement){n.x+=o.offsetLeft;n.y+=o.offsetTop;o=o.offsetParent}else if(o instanceof SVGGraphicsElement&&\"getBBox\"in o){const{top:e,left:t}=o.getBBox();n.x+=t;n.y+=e;while(o&&\"svg\"!==o.tagName)o=o.parentNode}return n}const Q={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]};const ee={start:0,center:.5,end:1};function resolveEdge(e,t,n=0){let o=0;void 0!==ee[e]&&(e=ee[e]);if(h(e)){const t=parseFloat(e);e.endsWith(\"px\")?o=t:e.endsWith(\"%\")?e=t/100:e.endsWith(\"vw\")?o=t/100*document.documentElement.clientWidth:e.endsWith(\"vh\")?o=t/100*document.documentElement.clientHeight:e=t}l(e)&&(o=t*e);return n+o}const te=[0,0];function resolveOffset(e,t,n,o){let i=Array.isArray(e)?e:te;let s=0;let r=0;if(l(e))i=[e,e];else if(h(e)){e=e.trim();i=e.includes(\" \")?e.split(\" \"):[e,ee[e]?e:\"0\"]}s=resolveEdge(i[0],n,o);r=resolveEdge(i[1],t);return s-r}const ne={x:0,y:0};function resolveOffsets(e,t,n){let{offset:o=Q.All}=n;const{target:i=e,axis:s=\"y\"}=n;const r=\"y\"===s?\"height\":\"width\";const a=i!==e?calcInset(i,e):ne;const c=i===e?{width:e.scrollWidth,height:e.scrollHeight}:{width:i.clientWidth,height:i.clientHeight};const l={width:e.clientWidth,height:e.clientHeight};t[s].offset.length=0;let f=!t[s].interpolate;const u=o.length;for(let e=0;e<u;e++){const n=resolveOffset(o[e],l[r],c[r],a[s]);f||n===t[s].interpolatorOffsets[e]||(f=true);t[s].offset[e]=n}if(f){t[s].interpolate=w(p(u),t[s].offset);t[s].interpolatorOffsets=[...t[s].offset]}t[s].progress=t[s].interpolate(t[s].current)}function measure(e,t=e,n){n.x.targetOffset=0;n.y.targetOffset=0;if(t!==e){let o=t;while(o&&o!=e){n.x.targetOffset+=o.offsetLeft;n.y.targetOffset+=o.offsetTop;o=o.offsetParent}}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth;n.y.targetLength=t===e?t.scrollHeight:t.clientHeight;n.x.containerLength=e.clientWidth;n.y.containerLength=e.clientHeight}function createOnScrollHandler(e,t,n,o={}){const s=o.axis||\"y\";return{measure:()=>measure(e,o.target,n),update:t=>{updateScrollInfo(e,n,t);(o.offset||o.target)&&resolveOffsets(e,n,o)},notify:i(t)?()=>t(n):scrubAnimation(t,n[s])}}function scrubAnimation(e,n){e.pause();e.forEachNative(((e,{easing:n})=>{var o,i;if(e.updateDuration){n||(e.easing=t);e.updateDuration(1)}else{const t={duration:1e3};n||(t.easing=\"linear\");null===(i=null===(o=e.effect)||void 0===o?void 0:o.updateTiming)||void 0===i?void 0:i.call(o,t)}}));return()=>{e.currentTime=n.progress}}const oe=new WeakMap;const ie=new WeakMap;const se=new WeakMap;const getEventTarget=e=>e===document.documentElement?window:e;function scroll(e,t={}){var{container:n=document.documentElement}=t,o=S(t,[\"container\"]);let i=se.get(n);if(!i){i=new Set;se.set(n,i)}const s=createScrollInfo();const r=createOnScrollHandler(n,e,s,o);i.add(r);if(!oe.has(n)){const listener=()=>{const e=performance.now();for(const e of i)e.measure();for(const t of i)t.update(e);for(const e of i)e.notify()};oe.set(n,listener);const e=getEventTarget(n);window.addEventListener(\"resize\",listener,{passive:true});n!==document.documentElement&&ie.set(n,resize(n,listener));e.addEventListener(\"scroll\",listener,{passive:true})}const a=oe.get(n);const c=requestAnimationFrame(a);return()=>{var t;\"function\"!==typeof e&&e.stop();cancelAnimationFrame(c);const o=se.get(n);if(!o)return;o.delete(r);if(o.size)return;const i=oe.get(n);oe.delete(n);if(i){getEventTarget(n).removeEventListener(\"scroll\",i);null===(t=ie.get(n))||void 0===t?void 0:t();window.removeEventListener(\"resize\",i)}}}function hasChanged(e,t){return typeof e!==typeof t||(Array.isArray(e)&&Array.isArray(t)?!shallowCompare(e,t):e!==t)}function shallowCompare(e,t){const n=t.length;if(n!==e.length)return false;for(let o=0;o<n;o++)if(t[o]!==e[o])return false;return true}function isVariant(e){return\"object\"===typeof e}function resolveVariant(e,t){return isVariant(e)?e:e&&t?t[e]:void 0}let re;function processScheduledAnimations(){if(!re)return;const e=re.sort(compareByDepth).map(fireAnimateUpdates);e.forEach(fireNext);e.forEach(fireNext);re=void 0}function scheduleAnimation(e){if(re)n(re,e);else{re=[e];requestAnimationFrame(processScheduledAnimations)}}function unscheduleAnimation(e){re&&d(re,e)}const compareByDepth=(e,t)=>e.getDepth()-t.getDepth();const fireAnimateUpdates=e=>e.animateUpdates();const fireNext=e=>e.next();const motionEvent=(e,t)=>new CustomEvent(e,{detail:{target:t}});function dispatchPointerEvent(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEvent:n}}))}function dispatchViewEvent(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEntry:n}}))}const ae={isActive:e=>Boolean(e.inView),subscribe:(e,{enable:t,disable:n},{inViewOptions:o={}})=>{const{once:i}=o,s=S(o,[\"once\"]);return inView$1(e,(o=>{t();dispatchViewEvent(e,\"viewenter\",o);if(!i)return t=>{n();dispatchViewEvent(e,\"viewleave\",t)}}),s)}};const mouseEvent=(e,t,n)=>o=>{if(!o.pointerType||\"mouse\"===o.pointerType){n();dispatchPointerEvent(e,t,o)}};const ce={isActive:e=>Boolean(e.hover),subscribe:(e,{enable:t,disable:n})=>{const o=mouseEvent(e,\"hoverstart\",t);const i=mouseEvent(e,\"hoverend\",n);e.addEventListener(\"pointerenter\",o);e.addEventListener(\"pointerleave\",i);return()=>{e.removeEventListener(\"pointerenter\",o);e.removeEventListener(\"pointerleave\",i)}}};const le={isActive:e=>Boolean(e.press),subscribe:(e,{enable:t,disable:n})=>{const onPointerUp=t=>{n();dispatchPointerEvent(e,\"pressend\",t);window.removeEventListener(\"pointerup\",onPointerUp)};const onPointerDown=n=>{t();dispatchPointerEvent(e,\"pressstart\",n);window.addEventListener(\"pointerup\",onPointerUp)};e.addEventListener(\"pointerdown\",onPointerDown);return()=>{e.removeEventListener(\"pointerdown\",onPointerDown);window.removeEventListener(\"pointerup\",onPointerUp)}}};const fe={inView:ae,hover:ce,press:le};const ue=[\"initial\",\"animate\",...Object.keys(fe),\"exit\"];const de=new WeakMap;function createMotionState(e={},t){let n;let o=t?t.getDepth()+1:0;const i={initial:true,animate:true};const s={};const r={};for(const n of ue)r[n]=\"string\"===typeof e[n]?e[n]:null===t||void 0===t?void 0:t.getContext()[n];const a=false===e.initial?\"animate\":\"initial\";let c=resolveVariant(e[a]||r[a],e.variants)||{},l=S(c,[\"transition\"]);const f=Object.assign({},l);function*animateUpdates(){var t,o;const s=l;l={};const r={};for(const n of ue){if(!i[n])continue;const s=resolveVariant(e[n]);if(s)for(const n in s)if(\"transition\"!==n){l[n]=s[n];r[n]=getOptions(null!==(o=null!==(t=s.transition)&&void 0!==t?t:e.transition)&&void 0!==o?o:{},n)}}const a=new Set([...Object.keys(l),...Object.keys(s)]);const c=[];a.forEach((e=>{var t;void 0===l[e]&&(l[e]=f[e]);if(hasChanged(s[e],l[e])){null!==(t=f[e])&&void 0!==t?t:f[e]=N.get(n,e);c.push(animateStyle(n,e,l[e],r[e]))}}));yield;const d=c.map((e=>e())).filter(Boolean);if(!d.length)return;const g=l;n.dispatchEvent(motionEvent(\"motionstart\",g));Promise.all(d.map((e=>e.finished))).then((()=>{n.dispatchEvent(motionEvent(\"motioncomplete\",g))})).catch(u)}const setGesture=(e,t)=>()=>{i[e]=t;scheduleAnimation(d)};const updateGestureSubscriptions=()=>{for(const t in fe){const o=fe[t].isActive(e);const i=s[t];if(o&&!i)s[t]=fe[t].subscribe(n,{enable:setGesture(t,true),disable:setGesture(t,false)},e);else if(!o&&i){i();delete s[t]}}};const d={update:t=>{if(n){e=t;updateGestureSubscriptions();scheduleAnimation(d)}},setActive:(e,t)=>{if(n){i[e]=t;scheduleAnimation(d)}},animateUpdates:animateUpdates,getDepth:()=>o,getTarget:()=>l,getOptions:()=>e,getContext:()=>r,mount:e=>{A(Boolean(e),\"Animation state must be mounted with valid Element\");n=e;de.set(n,d);updateGestureSubscriptions();return()=>{de.delete(n);unscheduleAnimation(d);for(const e in s)s[e]()}},isMounted:()=>Boolean(n)};return d}function createStyles(e){const t={};const n=[];for(let o in e){const i=e[o];if(isTransform(o)){D[o]&&(o=D[o]);n.push(o);o=asTransformCssVar(o)}let s=Array.isArray(i)?i[0]:i;const r=B.get(o);r&&(s=l(i)?r.toDefaultUnit(i):i);t[o]=s}n.length&&(t.transform=buildTransformTemplate(n));return t}const camelLetterToPipeLetter=e=>`-${e.toLowerCase()}`;const camelToPipeCase=e=>e.replace(/[A-Z]/g,camelLetterToPipeLetter);function createStyleString(e={}){const t=createStyles(e);let n=\"\";for(const e in t){n+=e.startsWith(\"--\")?e:camelToPipeCase(e);n+=`: ${t[e]}; `}return n}export{Q as ScrollOffset,animate,animateStyle,createMotionState,createStyleString,createStyles,getAnimationData,getStyleName,q as glide,inView$1 as inView,de as mountedStates,resize,scroll,U as spring,stagger,N as style,timeline,withControls};\n\n//# sourceMappingURL=index.es.js.map", "const clamp=(t,s)=>e=>Math.max(Math.min(e,s),t);const sanitize=t=>t%1?Number(t.toFixed(5)):t;const t=/(-)?([\\d]*\\.?[\\d])+/g;const s=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\\((-?[\\d\\.]+%?[,\\s]+){2,3}\\s*\\/*\\s*[\\d\\.]+%?\\))/gi;const e=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\\((-?[\\d\\.]+%?[,\\s]+){2,3}\\s*\\/*\\s*[\\d\\.]+%?\\))$/i;function isString(t){return\"string\"===typeof t}const r={test:t=>\"number\"===typeof t,parse:parseFloat,transform:t=>t};const n=Object.assign(Object.assign({},r),{transform:clamp(0,1)});const a=Object.assign(Object.assign({},r),{default:1});const createUnitType=t=>({test:s=>isString(s)&&s.endsWith(t)&&1===s.split(\" \").length,parse:parseFloat,transform:s=>`${s}${t}`});const o=createUnitType(\"deg\");const c=createUnitType(\"%\");const l=createUnitType(\"px\");const i=createUnitType(\"vh\");const p=createUnitType(\"vw\");const u=Object.assign(Object.assign({},c),{parse:t=>c.parse(t)/100,transform:t=>c.transform(100*t)});const isColorString=(t,s)=>r=>Boolean(isString(r)&&e.test(r)&&r.startsWith(t)||s&&Object.prototype.hasOwnProperty.call(r,s));const splitColor=(s,e,r)=>n=>{if(!isString(n))return n;const[a,o,c,l]=n.match(t);return{[s]:parseFloat(a),[e]:parseFloat(o),[r]:parseFloat(c),alpha:void 0!==l?parseFloat(l):1}};const f={test:isColorString(\"hsl\",\"hue\"),parse:splitColor(\"hue\",\"saturation\",\"lightness\"),transform:({hue:t,saturation:s,lightness:e,alpha:r=1})=>\"hsla(\"+Math.round(t)+\", \"+c.transform(sanitize(s))+\", \"+c.transform(sanitize(e))+\", \"+sanitize(n.transform(r))+\")\"};const m=clamp(0,255);const g=Object.assign(Object.assign({},r),{transform:t=>Math.round(m(t))});const h={test:isColorString(\"rgb\",\"red\"),parse:splitColor(\"red\",\"green\",\"blue\"),transform:({red:t,green:s,blue:e,alpha:r=1})=>\"rgba(\"+g.transform(t)+\", \"+g.transform(s)+\", \"+g.transform(e)+\", \"+sanitize(n.transform(r))+\")\"};function parseHex(t){let s=\"\";let e=\"\";let r=\"\";let n=\"\";if(t.length>5){s=t.substr(1,2);e=t.substr(3,2);r=t.substr(5,2);n=t.substr(7,2)}else{s=t.substr(1,1);e=t.substr(2,1);r=t.substr(3,1);n=t.substr(4,1);s+=s;e+=e;r+=r;n+=n}return{red:parseInt(s,16),green:parseInt(e,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}}const b={test:isColorString(\"#\"),parse:parseHex,transform:h.transform};const d={test:t=>h.test(t)||b.test(t)||f.test(t),parse:t=>h.test(t)?h.parse(t):f.test(t)?f.parse(t):b.parse(t),transform:t=>isString(t)?t:t.hasOwnProperty(\"red\")?h.transform(t):f.transform(t)};const v=\"${c}\";const y=\"${n}\";function test(e){var r,n,a,o;return isNaN(e)&&isString(e)&&(null!==(n=null===(r=e.match(t))||void 0===r?void 0:r.length)&&void 0!==n?n:0)+(null!==(o=null===(a=e.match(s))||void 0===a?void 0:a.length)&&void 0!==o?o:0)>0}function analyse(e){\"number\"===typeof e&&(e=`${e}`);const n=[];let a=0;const o=e.match(s);if(o){a=o.length;e=e.replace(s,v);n.push(...o.map(d.parse))}const c=e.match(t);if(c){e=e.replace(t,y);n.push(...c.map(r.parse))}return{values:n,numColors:a,tokenised:e}}function parse(t){return analyse(t).values}function createTransformer(t){const{values:s,numColors:e,tokenised:r}=analyse(t);const n=s.length;return t=>{let s=r;for(let r=0;r<n;r++)s=s.replace(r<e?v:y,r<e?d.transform(t[r]):sanitize(t[r]));return s}}const convertNumbersToZero=t=>\"number\"===typeof t?0:t;function getAnimatableNone(t){const s=parse(t);const e=createTransformer(t);return e(s.map(convertNumbersToZero))}const O={test:test,parse:parse,createTransformer:createTransformer,getAnimatableNone:getAnimatableNone};const j=new Set([\"brightness\",\"contrast\",\"saturate\",\"opacity\"]);function applyDefaultFilter(s){let[e,r]=s.slice(0,-1).split(\"(\");if(\"drop-shadow\"===e)return s;const[n]=r.match(t)||[];if(!n)return s;const a=r.replace(n,\"\");let o=j.has(e)?1:0;n!==r&&(o*=100);return e+\"(\"+o+a+\")\"}const F=/([a-z-]*)\\(.*?\\)/g;const N=Object.assign(Object.assign({},O),{getAnimatableNone:t=>{const s=t.match(F);return s?s.map(applyDefaultFilter).join(\" \"):t}});export{n as alpha,d as color,O as complex,o as degrees,N as filter,b as hex,f as hsla,r as number,c as percent,u as progressPercentage,l as px,g as rgbUnit,h as rgba,a as scale,i as vh,p as vw};\n\n//# sourceMappingURL=index.mjs.map", "const e=1/60*1e3;const t=\"undefined\"!==typeof performance?()=>performance.now():()=>Date.now();const n=\"undefined\"!==typeof window?e=>window.requestAnimationFrame(e):n=>setTimeout((()=>n(t())),e);function createRenderStep(e){let t=[];let n=[];let s=0;let r=false;let c=false;const o=new WeakSet;const a={schedule:(e,c=false,a=false)=>{const l=a&&r;const f=l?t:n;c&&o.add(e);if(-1===f.indexOf(e)){f.push(e);l&&r&&(s=t.length)}return e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1);o.delete(e)},process:l=>{if(r)c=true;else{r=true;[t,n]=[n,t];n.length=0;s=t.length;if(s)for(let n=0;n<s;n++){const s=t[n];s(l);if(o.has(s)){a.schedule(s);e()}}r=false;if(c){c=false;a.process(l)}}}};return a}const s=40;let r=true;let c=false;let o=false;const a={delta:0,timestamp:0};const l=[\"read\",\"update\",\"preRender\",\"render\",\"postRender\"];const f=l.reduce(((e,t)=>{e[t]=createRenderStep((()=>c=true));return e}),{});const u=l.reduce(((e,t)=>{const n=f[t];e[t]=(e,t=false,s=false)=>{c||startLoop();return n.schedule(e,t,s)};return e}),{});const d=l.reduce(((e,t)=>{e[t]=f[t].cancel;return e}),{});const i=l.reduce(((e,t)=>{e[t]=()=>f[t].process(a);return e}),{});const processStep=e=>f[e].process(a);const processFrame=t=>{c=false;a.delta=r?e:Math.max(Math.min(t-a.timestamp,s),1);a.timestamp=t;o=true;l.forEach(processStep);o=false;if(c){r=false;n(processFrame)}};const startLoop=()=>{c=true;r=true;o||n(processFrame)};const getFrameData=()=>a;export{d as cancelSync,u as default,i as flushSync,getFrameData};\n\n//# sourceMappingURL=index.mjs.map", "import{__rest as t}from\"tslib\";import{warning as e,invariant as n}from\"hey-listen\";import{hex as o,rgba as s,hsla as r,color as i,complex as u}from\"style-value-types\";import l,{cancelSync as p,getFrameData as f}from\"framesync\";const clamp=(t,e,n)=>Math.min(Math.max(n,t),e);const d=.001;const h=.01;const m=10;const y=.05;const g=1;function findSpring({duration:t=800,bounce:n=.25,velocity:o=0,mass:s=1}){let r;let i;e(t<=1e3*m,\"Spring duration must be 10 seconds or less\");let u=1-n;u=clamp(y,g,u);t=clamp(h,m,t/1e3);if(u<1){r=e=>{const n=e*u;const s=n*t;const r=n-o;const i=calcAngularFreq(e,u);const l=Math.exp(-s);return d-r/i*l};i=e=>{const n=e*u;const s=n*t;const i=s*o+o;const l=Math.pow(u,2)*Math.pow(e,2)*t;const p=Math.exp(-s);const f=calcAngularFreq(Math.pow(e,2),u);const h=-r(e)+d>0?-1:1;return h*((i-l)*p)/f}}else{r=e=>{const n=Math.exp(-e*t);const s=(e-o)*t+1;return n*s-d};i=e=>{const n=Math.exp(-e*t);const s=t*t*(o-e);return n*s}}const l=5/t;const p=approximateRoot(r,i,l);t*=1e3;if(isNaN(p))return{stiffness:100,damping:10,duration:t};{const e=Math.pow(p,2)*s;return{stiffness:e,damping:2*u*Math.sqrt(s*e),duration:t}}}const v=12;function approximateRoot(t,e,n){let o=n;for(let n=1;n<v;n++)o-=t(o)/e(o);return o}function calcAngularFreq(t,e){return t*Math.sqrt(1-e*e)}const M=[\"duration\",\"bounce\"];const x=[\"stiffness\",\"damping\",\"mass\"];function isSpringType(t,e){return e.some((e=>void 0!==t[e]))}function getSpringOptions(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:false},t);if(!isSpringType(t,x)&&isSpringType(t,M)){const n=findSpring(t);e=Object.assign(Object.assign(Object.assign({},e),n),{velocity:0,mass:1});e.isResolvedFromDuration=true}return e}function spring(e){var{from:n=0,to:o=1,restSpeed:s=2,restDelta:r}=e,i=t(e,[\"from\",\"to\",\"restSpeed\",\"restDelta\"]);const u={done:false,value:n};let{stiffness:l,damping:p,mass:f,velocity:d,duration:h,isResolvedFromDuration:m}=getSpringOptions(i);let y=zero;let g=zero;function createSpring(){const t=d?-d/1e3:0;const e=o-n;const s=p/(2*Math.sqrt(l*f));const i=Math.sqrt(l/f)/1e3;void 0===r&&(r=Math.min(Math.abs(o-n)/100,.4));if(s<1){const n=calcAngularFreq(i,s);y=r=>{const u=Math.exp(-s*i*r);return o-u*((t+s*i*e)/n*Math.sin(n*r)+e*Math.cos(n*r))};g=o=>{const r=Math.exp(-s*i*o);return s*i*r*(Math.sin(n*o)*(t+s*i*e)/n+e*Math.cos(n*o))-r*(Math.cos(n*o)*(t+s*i*e)-n*e*Math.sin(n*o))}}else if(1===s)y=n=>o-Math.exp(-i*n)*(e+(t+i*e)*n);else{const n=i*Math.sqrt(s*s-1);y=r=>{const u=Math.exp(-s*i*r);const l=Math.min(n*r,300);return o-u*((t+s*i*e)*Math.sinh(l)+n*e*Math.cosh(l))/n}}}createSpring();return{next:t=>{const e=y(t);if(m)u.done=t>=h;else{const n=1e3*g(t);const i=Math.abs(n)<=s;const l=Math.abs(o-e)<=r;u.done=i&&l}u.value=u.done?o:e;return u},flipTarget:()=>{d=-d;[n,o]=[o,n];createSpring()}}}spring.needsInterpolation=(t,e)=>\"string\"===typeof t||\"string\"===typeof e;const zero=t=>0;const progress=(t,e,n)=>{const o=e-t;return 0===o?1:(n-t)/o};const mix=(t,e,n)=>-n*t+n*e+t;function hueToRgb(t,e,n){n<0&&(n+=1);n>1&&(n-=1);return n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function hslaToRgba({hue:t,saturation:e,lightness:n,alpha:o}){t/=360;e/=100;n/=100;let s=0;let r=0;let i=0;if(e){const o=n<.5?n*(1+e):n+e-n*e;const u=2*n-o;s=hueToRgb(u,o,t+1/3);r=hueToRgb(u,o,t);i=hueToRgb(u,o,t-1/3)}else s=r=i=n;return{red:Math.round(255*s),green:Math.round(255*r),blue:Math.round(255*i),alpha:o}}const mixLinearColor=(t,e,n)=>{const o=t*t;const s=e*e;return Math.sqrt(Math.max(0,n*(s-o)+o))};const S=[o,s,r];const getColorType=t=>S.find((e=>e.test(t)));const notAnimatable=t=>`'${t}' is not an animatable color. Use the equivalent color code instead.`;const mixColor=(t,e)=>{let o=getColorType(t);let i=getColorType(e);n(!!o,notAnimatable(t));n(!!i,notAnimatable(e));let u=o.parse(t);let l=i.parse(e);if(o===r){u=hslaToRgba(u);o=s}if(i===r){l=hslaToRgba(l);i=s}const p=Object.assign({},u);return t=>{for(const e in p)\"alpha\"!==e&&(p[e]=mixLinearColor(u[e],l[e],t));p.alpha=mix(u.alpha,l.alpha,t);return o.transform(p)}};const O={x:0,y:0,z:0};const isNum=t=>\"number\"===typeof t;const combineFunctions=(t,e)=>n=>e(t(n));const pipe=(...t)=>t.reduce(combineFunctions);function getMixer(t,e){return isNum(t)?n=>mix(t,e,n):i.test(t)?mixColor(t,e):mixComplex(t,e)}const mixArray=(t,e)=>{const n=[...t];const o=n.length;const s=t.map(((t,n)=>getMixer(t,e[n])));return t=>{for(let e=0;e<o;e++)n[e]=s[e](t);return n}};const mixObject=(t,e)=>{const n=Object.assign(Object.assign({},t),e);const o={};for(const s in n)void 0!==t[s]&&void 0!==e[s]&&(o[s]=getMixer(t[s],e[s]));return t=>{for(const e in o)n[e]=o[e](t);return n}};function analyse(t){const e=u.parse(t);const n=e.length;let o=0;let s=0;let r=0;for(let t=0;t<n;t++)o||\"number\"===typeof e[t]?o++:void 0!==e[t].hue?r++:s++;return{parsed:e,numNumbers:o,numRGB:s,numHSL:r}}const mixComplex=(t,n)=>{const o=u.createTransformer(n);const s=analyse(t);const r=analyse(n);const i=s.numHSL===r.numHSL&&s.numRGB===r.numRGB&&s.numNumbers>=r.numNumbers;if(i)return pipe(mixArray(s.parsed,r.parsed),o);e(true,`Complex values '${t}' and '${n}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`);return e=>`${e>0?n:t}`};const mixNumber=(t,e)=>n=>mix(t,e,n);function detectMixerFactory(t){return\"number\"===typeof t?mixNumber:\"string\"===typeof t?i.test(t)?mixColor:mixComplex:Array.isArray(t)?mixArray:\"object\"===typeof t?mixObject:void 0}function createMixers(t,e,n){const o=[];const s=n||detectMixerFactory(t[0]);const r=t.length-1;for(let n=0;n<r;n++){let r=s(t[n],t[n+1]);if(e){const t=Array.isArray(e)?e[n]:e;r=pipe(t,r)}o.push(r)}return o}function fastInterpolate([t,e],[n]){return o=>n(progress(t,e,o))}function slowInterpolate(t,e){const n=t.length;const o=n-1;return s=>{let r=0;let i=false;if(s<=t[0])i=true;else if(s>=t[o]){r=o-1;i=true}if(!i){let e=1;for(;e<n;e++)if(t[e]>s||e===o)break;r=e-1}const u=progress(t[r],t[r+1],s);return e[r](u)}}function interpolate(t,e,{clamp:o=true,ease:s,mixer:r}={}){const i=t.length;n(i===e.length,\"Both input and output ranges must be the same length\");n(!s||!Array.isArray(s)||s.length===i-1,\"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values.\");if(t[0]>t[i-1]){t=[].concat(t);e=[].concat(e);t.reverse();e.reverse()}const u=createMixers(e,s,r);const l=2===i?fastInterpolate(t,u):slowInterpolate(t,u);return o?e=>l(clamp(t[0],t[i-1],e)):l}const reverseEasing=t=>e=>1-t(1-e);const mirrorEasing=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2;const createExpoIn=t=>e=>Math.pow(e,t);const createBackIn=t=>e=>e*e*((t+1)*e-t);const createAnticipate=t=>{const e=createBackIn(t);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))};const T=1.525;const w=4/11;const A=8/11;const R=.9;const linear=t=>t;const F=createExpoIn(2);const D=reverseEasing(F);const j=mirrorEasing(F);const circIn=t=>1-Math.sin(Math.acos(t));const q=reverseEasing(circIn);const I=mirrorEasing(q);const P=createBackIn(T);const k=reverseEasing(P);const E=mirrorEasing(P);const B=createAnticipate(T);const C=4356/361;const N=35442/1805;const U=16061/1805;const bounceOut=t=>{if(1===t||0===t)return t;const e=t*t;return t<w?7.5625*e:t<A?9.075*e-9.9*t+3.4:t<R?C*e-N*t+U:10.8*t*t-20.52*t+10.72};const z=reverseEasing(bounceOut);const bounceInOut=t=>t<.5?.5*(1-bounceOut(1-2*t)):.5*bounceOut(2*t-1)+.5;function defaultEasing(t,e){return t.map((()=>e||j)).splice(0,t.length-1)}function defaultOffset(t){const e=t.length;return t.map(((t,n)=>0!==n?n/(e-1):0))}function convertOffsetToTimes(t,e){return t.map((t=>t*e))}function keyframes({from:t=0,to:e=1,ease:n,offset:o,duration:s=300}){const r={done:false,value:t};const i=Array.isArray(e)?e:[t,e];const u=convertOffsetToTimes(o&&o.length===i.length?o:defaultOffset(i),s);function createInterpolator(){return interpolate(u,i,{ease:Array.isArray(n)?n:defaultEasing(i,n)})}let l=createInterpolator();return{next:t=>{r.value=l(t);r.done=t>=s;return r},flipTarget:()=>{i.reverse();l=createInterpolator()}}}function decay({velocity:t=0,from:e=0,power:n=.8,timeConstant:o=350,restDelta:s=.5,modifyTarget:r}){const i={done:false,value:e};let u=n*t;const l=e+u;const p=void 0===r?l:r(l);p!==l&&(u=p-e);return{next:t=>{const e=-u*Math.exp(-t/o);i.done=!(e>s||e<-s);i.value=i.done?p:p+e;return i},flipTarget:()=>{}}}const $={keyframes:keyframes,spring:spring,decay:decay};function detectAnimationFromOptions(t){if(Array.isArray(t.to))return keyframes;if($[t.type])return $[t.type];const e=new Set(Object.keys(t));return e.has(\"ease\")||e.has(\"duration\")&&!e.has(\"dampingRatio\")?keyframes:e.has(\"dampingRatio\")||e.has(\"stiffness\")||e.has(\"mass\")||e.has(\"damping\")||e.has(\"restSpeed\")||e.has(\"restDelta\")?spring:keyframes}function loopElapsed(t,e,n=0){return t-e-n}function reverseElapsed(t,e,n=0,o=true){return o?loopElapsed(e+-t,e,n):e-(t-e)+n}function hasRepeatDelayElapsed(t,e,n,o){return o?t>=e+n:t<=-n}const framesync=t=>{const passTimestamp=({delta:e})=>t(e);return{start:()=>l.update(passTimestamp,true),stop:()=>p.update(passTimestamp)}};function animate(e){var n,o;var{from:s,autoplay:r=true,driver:i=framesync,elapsed:u=0,repeat:l=0,repeatType:p=\"loop\",repeatDelay:f=0,onPlay:d,onStop:h,onComplete:m,onRepeat:y,onUpdate:g}=e,v=t(e,[\"from\",\"autoplay\",\"driver\",\"elapsed\",\"repeat\",\"repeatType\",\"repeatDelay\",\"onPlay\",\"onStop\",\"onComplete\",\"onRepeat\",\"onUpdate\"]);let{to:M}=v;let x;let S=0;let O=v.duration;let T;let w=false;let A=true;let R;const F=detectAnimationFromOptions(v);if(null===(o=(n=F).needsInterpolation)||void 0===o?void 0:o.call(n,s,M)){R=interpolate([0,100],[s,M],{clamp:false});s=0;M=100}const D=F(Object.assign(Object.assign({},v),{from:s,to:M}));function repeat(){S++;if(\"reverse\"===p){A=S%2===0;u=reverseElapsed(u,O,f,A)}else{u=loopElapsed(u,O,f);\"mirror\"===p&&D.flipTarget()}w=false;y&&y()}function complete(){x.stop();m&&m()}function update(t){A||(t=-t);u+=t;if(!w){const t=D.next(Math.max(0,u));T=t.value;R&&(T=R(T));w=A?t.done:u<=0}null===g||void 0===g?void 0:g(T);if(w){0===S&&(null!==O&&void 0!==O?O:O=u);S<l?hasRepeatDelayElapsed(u,O,f,A)&&repeat():complete()}}function play(){null===d||void 0===d?void 0:d();x=i(update);x.start()}r&&play();return{stop:()=>{null===h||void 0===h?void 0:h();x.stop()}}}function velocityPerSecond(t,e){return e?t*(1e3/e):0}function inertia({from:t=0,velocity:e=0,min:n,max:o,power:s=.8,timeConstant:r=750,bounceStiffness:i=500,bounceDamping:u=10,restDelta:l=1,modifyTarget:p,driver:d,onUpdate:h,onComplete:m,onStop:y}){let g;function isOutOfBounds(t){return void 0!==n&&t<n||void 0!==o&&t>o}function boundaryNearest(t){return void 0===n?o:void 0===o||Math.abs(n-t)<Math.abs(o-t)?n:o}function startAnimation(t){null===g||void 0===g?void 0:g.stop();g=animate(Object.assign(Object.assign({},t),{driver:d,onUpdate:e=>{var n;null===h||void 0===h?void 0:h(e);null===(n=t.onUpdate)||void 0===n?void 0:n.call(t,e)},onComplete:m,onStop:y}))}function startSpring(t){startAnimation(Object.assign({type:\"spring\",stiffness:i,damping:u,restDelta:l},t))}if(isOutOfBounds(t))startSpring({from:t,velocity:e,to:boundaryNearest(t)});else{let o=s*e+t;\"undefined\"!==typeof p&&(o=p(o));const i=boundaryNearest(o);const u=i===n?-1:1;let d;let h;const checkBoundary=t=>{d=h;h=t;e=velocityPerSecond(t-d,f().delta);(1===u&&t>i||-1===u&&t<i)&&startSpring({from:t,to:i,velocity:e})};startAnimation({type:\"decay\",from:t,velocity:e,timeConstant:r,power:s,restDelta:l,modifyTarget:p,onUpdate:isOutOfBounds(o)?checkBoundary:void 0})}return{stop:()=>null===g||void 0===g?void 0:g.stop()}}const radiansToDegrees=t=>180*t/Math.PI;const angle=(t,e=O)=>radiansToDegrees(Math.atan2(e.y-t.y,e.x-t.x));const applyOffset=(t,e)=>{let n=true;if(void 0===e){e=t;n=false}return o=>{if(n)return o-t+e;t=o;n=true;return e}};const identity=t=>t;const createAttractor=(t=identity)=>(e,n,o)=>{const s=n-o;const r=-(0-e+1)*(0-t(Math.abs(s)));return s<=0?n+r:n-r};const G=createAttractor();const H=createAttractor(Math.sqrt);const degreesToRadians=t=>t*Math.PI/180;const isPoint=t=>t.hasOwnProperty(\"x\")&&t.hasOwnProperty(\"y\");const isPoint3D=t=>isPoint(t)&&t.hasOwnProperty(\"z\");const distance1D=(t,e)=>Math.abs(t-e);function distance(t,e){if(isNum(t)&&isNum(e))return distance1D(t,e);if(isPoint(t)&&isPoint(e)){const n=distance1D(t.x,e.x);const o=distance1D(t.y,e.y);const s=isPoint3D(t)&&isPoint3D(e)?distance1D(t.z,e.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(o,2)+Math.pow(s,2))}}const pointFromVector=(t,e,n)=>{e=degreesToRadians(e);return{x:n*Math.cos(e)+t.x,y:n*Math.sin(e)+t.y}};const toDecimal=(t,e=2)=>{e=Math.pow(10,e);return Math.round(t*e)/e};const smoothFrame=(t,e,n,o=0)=>toDecimal(t+n*(e-t)/Math.max(o,n));const smooth=(t=50)=>{let e=0;let n=0;return o=>{const s=f().timestamp;const r=s!==n?s-n:0;const i=r?smoothFrame(e,o,r,t):e;n=s;e=i;return i}};const snap=t=>{if(\"number\"===typeof t)return e=>Math.round(e/t)*t;{let e=0;const n=t.length;return o=>{let s=Math.abs(t[0]-o);for(e=1;e<n;e++){const r=t[e];const i=Math.abs(r-o);if(0===i)return r;if(i>s)return t[e-1];if(e===n-1)return r;s=i}}}};function velocityPerFrame(t,e){return t/(1e3/e)}const wrap=(t,e,n)=>{const o=e-t;return((n-t)%o+o)%o+t};const a=(t,e)=>1-3*e+3*t;const b=(t,e)=>3*e-6*t;const c=t=>3*t;const calcBezier=(t,e,n)=>((a(e,n)*t+b(e,n))*t+c(e))*t;const getSlope=(t,e,n)=>3*a(e,n)*t*t+2*b(e,n)*t+c(e);const L=1e-7;const X=10;function binarySubdivide(t,e,n,o,s){let r;let i;let u=0;do{i=e+(n-e)/2;r=calcBezier(i,o,s)-t;r>0?n=i:e=i}while(Math.abs(r)>L&&++u<X);return i}const J=8;const K=.001;function newtonRaphsonIterate(t,e,n,o){for(let s=0;s<J;++s){const s=getSlope(e,n,o);if(0===s)return e;const r=calcBezier(e,n,o)-t;e-=r/s}return e}const Q=11;const V=1/(Q-1);function cubicBezier(t,e,n,o){if(t===e&&n===o)return linear;const s=new Float32Array(Q);for(let e=0;e<Q;++e)s[e]=calcBezier(e*V,t,n);function getTForX(e){let o=0;let r=1;const i=Q-1;for(;r!==i&&s[r]<=e;++r)o+=V;--r;const u=(e-s[r])/(s[r+1]-s[r]);const l=o+u*V;const p=getSlope(l,t,n);return p>=K?newtonRaphsonIterate(e,l,t,n):0===p?l:binarySubdivide(e,o,o+V,t,n)}return t=>0===t||1===t?t:calcBezier(getTForX(t),e,o)}const steps=(t,e=\"end\")=>n=>{n=\"end\"===e?Math.min(n,.999):Math.max(n,.001);const o=n*t;const s=\"end\"===e?Math.floor(o):Math.ceil(o);return clamp(0,1,s/t)};export{angle,animate,B as anticipate,applyOffset,G as attract,H as attractExpo,P as backIn,E as backInOut,k as backOut,z as bounceIn,bounceInOut,bounceOut,circIn,I as circInOut,q as circOut,clamp,createAnticipate,createAttractor,createBackIn,createExpoIn,cubicBezier,decay,degreesToRadians,distance,F as easeIn,j as easeInOut,D as easeOut,inertia,interpolate,isPoint,isPoint3D,keyframes,linear,mirrorEasing,mix,mixColor,mixComplex,pipe,pointFromVector,progress,radiansToDegrees,reverseEasing,smooth,smoothFrame,snap,spring,steps,toDecimal,velocityPerFrame,velocityPerSecond,wrap};\n\n//# sourceMappingURL=index.mjs.map", "import{useState,useEffect}from\"react\";export const isBrowser=()=>typeof document===\"object\";export function getBrowserVisibilityProp(){if(!isBrowser())return;if(typeof document.hidden!==\"undefined\"){// Opera 12.10 and Firefox 18 and later support\nreturn\"visibilitychange\";}else if(typeof document.msHidden!==\"undefined\"){return\"msvisibilitychange\";}else if(typeof document.webkitHidden!==\"undefined\"){return\"webkitvisibilitychange\";}}export function getBrowserDocumentHiddenProp(){if(!isBrowser())return;if(typeof document.hidden!==\"undefined\"){return\"hidden\";}else if(typeof document.msHidden!==\"undefined\"){return\"msHidden\";}else if(typeof document.webkitHidden!==\"undefined\"){return\"webkitHidden\";}}export function getIsDocumentHidden(){if(!isBrowser())return;return!document[getBrowserDocumentHiddenProp()];}export function usePageVisibility(){if(!isBrowser())return;const[isVisible,setIsVisible]=useState(getIsDocumentHidden());const onVisibilityChange=()=>setIsVisible(getIsDocumentHidden());useEffect(()=>{const visibilityChange=getBrowserVisibilityProp();document.addEventListener(visibilityChange,onVisibilityChange,false);return()=>{document.removeEventListener(visibilityChange,onVisibilityChange);};});return isVisible;}\nexport const __FramerMetadata__ = {\"exports\":{\"getBrowserVisibilityProp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getIsDocumentHidden\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"usePageVisibility\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isBrowser\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getBrowserDocumentHiddenProp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./UsePageVisibility.map", "import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{Children,useLayoutEffect,useEffect,useState,useRef,useMemo,createRef,useCallback,cloneElement,forwardRef}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion,animate,useMotionValue,useTransform,LayoutGroup}from\"framer-motion\";import{resize}from\"@motionone/dom\";import{wrap}from\"popmotion\";import{usePageVisibility}from\"https://framerusercontent.com/modules/V9ryrjN5Am9WM1dJeyyJ/9mrJHeWj7rhvLTLu7Yzt/UsePageVisibility.js\";/**\n *\n * SLIDESHOW\n * V2 with Drag\n * By Benjamin and Matt\n *\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 200\n *\n * @framerDisableUnlink\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */ export default function Slideshow(props){/**\n     * Properties\n     */ const{slots,startFrom,direction,effectsOptions,autoPlayControl,dragControl,alignment,gap,padding,paddingPerSide,paddingTop,paddingRight,paddingBottom,paddingLeft,itemAmount,fadeOptions,intervalControl,transitionControl,arrowOptions,borderRadius,progressOptions,style}=props;const{effectsOpacity,effectsScale,effectsRotate,effectsPerspective,effectsHover}=effectsOptions;const{fadeContent,overflow,fadeWidth,fadeInset,fadeAlpha}=fadeOptions;const{showMouseControls,arrowSize,arrowRadius,arrowFill,leftArrow,rightArrow,arrowShouldSpace=true,arrowShouldFadeIn=false,arrowPosition,arrowPadding,arrowGap,arrowPaddingTop,arrowPaddingRight,arrowPaddingBottom,arrowPaddingLeft}=arrowOptions;const{showProgressDots,dotSize,dotsInset,dotsRadius,dotsPadding,dotsGap,dotsFill,dotsBackground,dotsActiveOpacity,dotsOpacity,dotsBlur}=progressOptions;const paddingValue=paddingPerSide?`${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px`:`${padding}px`;/**\n     * Checks\n     */ const isCanvas=RenderTarget.current()===RenderTarget.canvas;const hasChildren=Children.count(slots)>0;const isHorizontal=direction===\"left\"||direction===\"right\";const isInverted=direction===\"right\"||direction===\"bottom\";/**\n     * Empty state for Canvas\n     */ if(!hasChildren){return /*#__PURE__*/ _jsxs(\"section\",{style:placeholderStyles,children:[/*#__PURE__*/ _jsx(\"div\",{style:emojiStyles,children:\"\u2B50\uFE0F\"}),/*#__PURE__*/ _jsx(\"p\",{style:titleStyles,children:\"Connect to Content\"}),/*#__PURE__*/ _jsx(\"p\",{style:subtitleStyles,children:\"Add layers or components to make infinite auto-playing slideshows.\"})]});}/**\n     * Refs, State\n     */ const parentRef=useRef(null);const childrenRef=useMemo(()=>{return slots.map(index=>/*#__PURE__*/ createRef());},[slots]);const timeoutRef=useRef(undefined);const[size,setSize]=useState({parent:null,children:null,item:null,itemWidth:null,itemHeight:null});/* For pausing on hover */ const[isHovering,setIsHovering]=useState(false);const[shouldPlayOnHover,setShouldPlayOnHover]=useState(autoPlayControl);/* For cursor updates */ const[isMouseDown,setIsMouseDown]=useState(false);/* Check if resizing */ const[isResizing,setIsResizing]=useState(false);/**\n     * Array for children\n     */ const dupedChildren=[];let duplicateBy=4;if(isCanvas){duplicateBy=1;}/**\n     * Measure parent, child, items\n     */ const measure=useCallback(()=>{if(hasChildren&&parentRef.current){const total=slots.length-1;const parentLength=isHorizontal?parentRef.current.offsetWidth:parentRef.current.offsetHeight;const start=childrenRef[0].current?isHorizontal?childrenRef[0].current.offsetLeft:childrenRef[0].current.offsetTop:0;const end=childrenRef[total].current?isHorizontal?childrenRef[total].current.offsetLeft+childrenRef[total].current.offsetWidth:childrenRef[total].current.offsetTop+childrenRef[total].current.offsetHeight:0;const childrenLength=end-start+gap;const itemSize=childrenRef[0].current?isHorizontal?childrenRef[0].current.offsetWidth:childrenRef[0].current.offsetHeight:0;const itemWidth=childrenRef[0].current?childrenRef[0].current.offsetWidth:0;const itemHeight=childrenRef[0].current?childrenRef[0].current.offsetHeight:0;setSize({parent:parentLength,children:childrenLength,item:itemSize,itemWidth,itemHeight});}},[hasChildren]);/**\n     * Add refs to all children\n     * Added itemAmount for resizing\n     */ useLayoutEffect(()=>{if(!hasChildren)return;measure();},[hasChildren,itemAmount]);/**\n     * Track whether this is the initial resize event. By default this will fire on mount,\n     * which we do in the useEffect. We should only fire it on subsequent resizes.\n     */ let initialResize=useRef(true);useEffect(()=>{return resize(parentRef.current,({contentSize})=>{if(!initialResize.current&&(contentSize.width||contentSize.height)){measure();setIsResizing(true);}initialResize.current=false;});},[]);useEffect(()=>{if(isResizing){const timer=setTimeout(()=>setIsResizing(false),500);return()=>clearTimeout(timer);}},[isResizing]);/**\n     * Animation, pagination\n     */ const totalItems=slots===null||slots===void 0?void 0:slots.length;const childrenSize=isCanvas?0:size===null||size===void 0?void 0:size.children;const itemWithGap=(size===null||size===void 0?void 0:size.item)+gap;const itemOffset=startFrom*itemWithGap;const[currentItem,setCurrentItem]=useState(startFrom+totalItems);const[isDragging,setIsDragging]=useState(false);/* Check for browser window visibility */ /* Otherwise, it will re-play all the item increments */ const isVisible=usePageVisibility();const factor=isInverted?1:-1;/* The x and y values to start from */ const xOrY=useMotionValue(childrenSize);/* For canvas only. Using xOrY is slower upon page switching */ const canvasPosition=isHorizontal?-startFrom*((size===null||size===void 0?void 0:size.itemWidth)+gap):-startFrom*((size===null||size===void 0?void 0:size.itemHeight)+gap);/* Calculate the new value to animate to */ const newPosition=()=>factor*currentItem*itemWithGap;/* Wrapped values for infinite looping */ /* Instead of 0 to a negative full duplicated row, we start with an offset */ const wrappedValue=!isCanvas?useTransform(xOrY,value=>wrap(-childrenSize,-childrenSize*2,value)):0;/* Convert the current item to a wrapping index for dots */ const wrappedIndex=wrap(0,totalItems,currentItem);const wrappedIndexInverted=wrap(0,-totalItems,currentItem);/* Update x or y with the provided starting point */ /* The subtraction of a full row of children is for overflow */ useLayoutEffect(()=>{if((size===null||size===void 0?void 0:size.children)===null)return;/* Initial measure */ // if (initialResize.current) {\n//     xOrY.set((childrenSize + itemOffset) * factor)\n// }\n/* Subsequent resizes */ if(!initialResize.current&&isResizing){xOrY.set(newPosition());}},[size,childrenSize,factor,itemOffset,currentItem,itemWithGap,isResizing,]);/**\n     * Page item methods\n     * Switching, deltas, autoplaying\n     */ /* Next and previous function, animates the X */ const switchPages=()=>{if(isCanvas||!hasChildren||!size.parent||isDragging)return;if(xOrY.get()!==newPosition()){animate(xOrY,newPosition(),transitionControl);}if(autoPlayControl&&shouldPlayOnHover){timeoutRef.current=setTimeout(()=>{setCurrentItem(currentItem+1);switchPages();},intervalControl*1e3);}};/* Page navigation functions */ const setDelta=delta=>{if(!isInverted){setCurrentItem(currentItem+delta);}else{setCurrentItem(currentItem-delta);}};const setPage=index=>{const currentItemWrapped=wrap(0,totalItems,currentItem);const currentItemWrappedInvert=wrap(0,-totalItems,currentItem);const goto=index-currentItemWrapped;const gotoInverted=index-Math.abs(currentItemWrappedInvert);if(!isInverted){setCurrentItem(currentItem+goto);}else{setCurrentItem(currentItem-gotoInverted);}};/**\n     * Drag\n     */ const handleDragStart=()=>{setIsDragging(true);};const handleDragEnd=(event,{offset,velocity})=>{setIsDragging(false);const offsetXorY=isHorizontal?offset.x:offset.y;const velocityThreshold=200 // Based on testing, can be tweaked or could be 0\n;const velocityXorY=isHorizontal?velocity.x:velocity.y;const isHalfOfNext=offsetXorY<-size.item/2;const isHalfOfPrev=offsetXorY>size.item/2;/* In case you drag more than 1 item left or right */ const normalizedOffset=Math.abs(offsetXorY);const itemDelta=Math.round(normalizedOffset/size.item);/* Minimum delta is 1 to initiate a page switch */ /* For velocity use only */ const itemDeltaFromOne=itemDelta===0?1:itemDelta;/* For quick flicks, even with low offsets */ if(velocityXorY>velocityThreshold){setDelta(-itemDeltaFromOne);}else if(velocityXorY<-velocityThreshold){setDelta(itemDeltaFromOne);}else{/* For dragging over half of the current item with 0 velocity */ if(isHalfOfNext){setDelta(itemDelta);}if(isHalfOfPrev){setDelta(-itemDelta);}}};/* Kickstart the auto-playing once we have all the children */ useEffect(()=>{if(!isVisible||isResizing)return;switchPages();return()=>timeoutRef.current&&clearTimeout(timeoutRef.current);},[dupedChildren,isVisible,isResizing]);/* Create copies of our children to create a perfect loop */ let childCounter=0;/**\n     * Sizing\n     * */ let columnOrRowValue=`calc(${100/itemAmount}% - ${gap}px + ${gap/itemAmount}px)`;/**\n     * Nested array to create duplicates of the children for infinite looping\n     * These are wrapped around, and start at a full \"page\" worth of offset\n     * as defined above.\n     */ for(let index=0;index<duplicateBy;index++){dupedChildren.push(...Children.map(slots,(child,childIndex)=>{let ref;if(childIndex===0){ref=childrenRef[0];}if(childIndex===slots.length-1){ref=childrenRef[1];}return /*#__PURE__*/ _jsx(Slide,{ref:childrenRef[childIndex],index:index,width:isHorizontal?itemAmount>1?columnOrRowValue:\"100%\":\"100%\",height:!isHorizontal?itemAmount>1?columnOrRowValue:\"100%\":\"100%\",size:size,child:child,numChildren:slots===null||slots===void 0?void 0:slots.length,wrappedValue:wrappedValue,childCounter:childCounter++,gap:gap,isCanvas:isCanvas,isHorizontal:isHorizontal,effectsOpacity:effectsOpacity,effectsScale:effectsScale,effectsRotate:effectsRotate,children:index+childIndex},index+childIndex+\"lg\");}));}/**\n     * Fades with masks\n     */ const fadeDirection=isHorizontal?\"to right\":\"to bottom\";const fadeWidthStart=fadeWidth/2;const fadeWidthEnd=100-fadeWidth/2;const fadeInsetStart=clamp(fadeInset,0,fadeWidthStart);const fadeInsetEnd=100-fadeInset;const fadeMask=`linear-gradient(${fadeDirection}, rgba(0, 0, 0, ${fadeAlpha}) ${fadeInsetStart}%, rgba(0, 0, 0, 1) ${fadeWidthStart}%, rgba(0, 0, 0, 1) ${fadeWidthEnd}%, rgba(0, 0, 0, ${fadeAlpha}) ${fadeInsetEnd}%)`;/**\n     * Dots\n     */ const dots=[];const dotsBlurStyle={};if(showProgressDots){for(let i=0;i<(slots===null||slots===void 0?void 0:slots.length);i++){dots.push(/*#__PURE__*/ _jsx(Dot,{dotStyle:{...dotStyle,width:dotSize,height:dotSize,backgroundColor:dotsFill},buttonStyle:baseButtonStyles,selectedOpacity:dotsActiveOpacity,opacity:dotsOpacity,onClick:()=>setPage(i),wrappedIndex:wrappedIndex,wrappedIndexInverted:wrappedIndexInverted,total:totalItems,index:i,gap:dotsGap,padding:dotsPadding,isHorizontal:isHorizontal,isInverted:isInverted}));}if(dotsBlur>0){dotsBlurStyle.backdropFilter=dotsBlurStyle.WebkitBackdropFilter=dotsBlurStyle.MozBackdropFilter=`blur(${dotsBlur}px)`;}}const dragProps=dragControl?{drag:isHorizontal?\"x\":\"y\",onDragStart:handleDragStart,onDragEnd:handleDragEnd,dragDirectionLock:true,values:{x:xOrY,y:xOrY},dragMomentum:false}:{};const arrowHasTop=arrowPosition===\"top-left\"||arrowPosition===\"top-mid\"||arrowPosition===\"top-right\";const arrowHasBottom=arrowPosition===\"bottom-left\"||arrowPosition===\"bottom-mid\"||arrowPosition===\"bottom-right\";const arrowHasLeft=arrowPosition===\"top-left\"||arrowPosition===\"bottom-left\";const arrowHasRight=arrowPosition===\"top-right\"||arrowPosition===\"bottom-right\";const arrowHasMid=arrowPosition===\"top-mid\"||arrowPosition===\"bottom-mid\"||arrowPosition===\"auto\";return /*#__PURE__*/ _jsxs(\"section\",{style:{...containerStyle,padding:paddingValue,WebkitMaskImage:fadeContent?fadeMask:undefined,MozMaskImage:fadeContent?fadeMask:undefined,maskImage:fadeContent?fadeMask:undefined,opacity:(size===null||size===void 0?void 0:size.item)!==null?1:0,userSelect:\"none\"},onMouseEnter:()=>{setIsHovering(true);if(!effectsHover)setShouldPlayOnHover(false);},onMouseLeave:()=>{setIsHovering(false);if(!effectsHover)setShouldPlayOnHover(true);},onMouseDown:event=>{// Preventdefault fixes the cursor switching to text on drag on safari\nevent.preventDefault();setIsMouseDown(true);},onMouseUp:()=>setIsMouseDown(false),children:[/*#__PURE__*/ _jsx(\"div\",{style:{width:\"100%\",height:\"100%\",margin:0,padding:\"inherit\",position:\"absolute\",inset:0,overflow:overflow?\"visible\":\"hidden\",borderRadius:borderRadius,userSelect:\"none\",perspective:effectsPerspective},children:/*#__PURE__*/ _jsx(motion.ul,{ref:parentRef,...dragProps,style:{...containerStyle,gap:gap,placeItems:alignment,x:isHorizontal?isCanvas?canvasPosition:wrappedValue:0,y:!isHorizontal?isCanvas?canvasPosition:wrappedValue:0,flexDirection:isHorizontal?\"row\":\"column\",transformStyle:effectsRotate!==0&&\"preserve-3d\",cursor:dragControl?isMouseDown?\"grabbing\":\"grab\":\"auto\",userSelect:\"none\",...style},children:dupedChildren})}),/*#__PURE__*/ _jsxs(\"fieldset\",{style:{...controlsStyles},\"aria-label\":\"Slideshow pagination controls\",className:\"framer--slideshow-controls\",children:[/*#__PURE__*/ _jsxs(motion.div,{style:{position:\"absolute\",display:\"flex\",flexDirection:isHorizontal?\"row\":\"column\",justifyContent:arrowShouldSpace?\"space-between\":\"center\",gap:arrowShouldSpace?\"unset\":arrowGap,opacity:arrowShouldFadeIn?0:1,alignItems:\"center\",inset:arrowPadding,top:arrowShouldSpace?arrowPadding:arrowHasTop?arrowPaddingTop:\"unset\",left:arrowShouldSpace?arrowPadding:arrowHasLeft?arrowPaddingLeft:arrowHasMid?0:\"unset\",right:arrowShouldSpace?arrowPadding:arrowHasRight?arrowPaddingRight:arrowHasMid?0:\"unset\",bottom:arrowShouldSpace?arrowPadding:arrowHasBottom?arrowPaddingBottom:\"unset\"},animate:arrowShouldFadeIn&&{opacity:isHovering?1:0},transition:transitionControl,children:[/*#__PURE__*/ _jsx(motion.button,{type:\"button\",style:{...baseButtonStyles,backgroundColor:arrowFill,width:arrowSize,height:arrowSize,borderRadius:arrowRadius,rotate:!isHorizontal?90:0,display:showMouseControls?\"block\":\"none\",pointerEvents:\"auto\"},onClick:()=>setDelta(-1),\"aria-label\":\"Previous\",whileTap:{scale:.9},transition:{duration:.15},children:/*#__PURE__*/ _jsx(\"img\",{width:arrowSize,height:arrowSize,src:leftArrow||\"https://framerusercontent.com/images/6tTbkXggWgQCAJ4DO2QEdXXmgM.svg\",alt:\"Back Arrow\"})}),/*#__PURE__*/ _jsx(motion.button,{type:\"button\",style:{...baseButtonStyles,backgroundColor:arrowFill,width:arrowSize,height:arrowSize,borderRadius:arrowRadius,rotate:!isHorizontal?90:0,display:showMouseControls?\"block\":\"none\",pointerEvents:\"auto\"},onClick:()=>setDelta(1),\"aria-label\":\"Next\",whileTap:{scale:.9},transition:{duration:.15},children:/*#__PURE__*/ _jsx(\"img\",{width:arrowSize,height:arrowSize,src:rightArrow||\"https://framerusercontent.com/images/11KSGbIZoRSg4pjdnUoif6MKHI.svg\",alt:\"Next Arrow\"})})]}),dots.length>1?/*#__PURE__*/ _jsx(\"div\",{style:{...dotsContainerStyle,left:isHorizontal?\"50%\":dotsInset,top:!isHorizontal?\"50%\":\"unset\",transform:isHorizontal?\"translateX(-50%)\":\"translateY(-50%)\",flexDirection:isHorizontal?\"row\":\"column\",bottom:isHorizontal?dotsInset:\"unset\",borderRadius:dotsRadius,backgroundColor:dotsBackground,userSelect:\"none\",...dotsBlurStyle},children:dots}):null]})]});};/* Default Properties */ Slideshow.defaultProps={direction:\"left\",dragControl:false,startFrom:0,itemAmount:1,infinity:true,gap:10,padding:10,autoPlayControl:true,effectsOptions:{effectsOpacity:1,effectsScale:1,effectsRotate:0,effectsPerspective:1200,effectsHover:true},transitionControl:{type:\"spring\",stiffness:200,damping:40},fadeOptions:{fadeContent:false,overflow:false,fadeWidth:25,fadeAlpha:0,fadeInset:0},arrowOptions:{showMouseControls:true,arrowShouldFadeIn:false,arrowShouldSpace:true,arrowFill:\"rgba(0,0,0,0.2)\",arrowSize:40},progressOptions:{showProgressDots:true}};/* Property Controls */ addPropertyControls(Slideshow,{slots:{type:ControlType.Array,title:\"Content\",control:{type:ControlType.ComponentInstance}},direction:{type:ControlType.Enum,title:\"Direction\",options:[\"left\",\"right\",\"top\",\"bottom\"],optionIcons:[\"direction-left\",\"direction-right\",\"direction-up\",\"direction-down\",],optionTitles:[\"Left\",\"Right\",\"Top\",\"Bottom\"],displaySegmentedControl:true,defaultValue:Slideshow.defaultProps.direction},autoPlayControl:{type:ControlType.Boolean,title:\"Auto Play\",defaultValue:true},intervalControl:{type:ControlType.Number,title:\"Interval\",defaultValue:1.5,min:.5,max:10,step:.1,displayStepper:true,unit:\"s\",hidden:props=>!props.autoPlayControl},dragControl:{type:ControlType.Boolean,title:\"Draggable\",defaultValue:false},startFrom:{type:ControlType.Number,title:\"Current\",min:0,max:10,displayStepper:true,defaultValue:Slideshow.defaultProps.startFrom},effectsOptions:{type:ControlType.Object,title:\"Effects\",controls:{effectsOpacity:{type:ControlType.Number,title:\"Opacity\",defaultValue:Slideshow.defaultProps.effectsOptions.effectsOpacity,min:0,max:1,step:.01,displayStepper:true},effectsScale:{type:ControlType.Number,title:\"Scale\",defaultValue:Slideshow.defaultProps.effectsOptions.effectsScale,min:0,max:1,step:.01,displayStepper:true},effectsPerspective:{type:ControlType.Number,title:\"Perspective\",defaultValue:Slideshow.defaultProps.effectsOptions.effectsPerspective,min:200,max:2e3,step:1},effectsRotate:{type:ControlType.Number,title:\"Rotate\",defaultValue:Slideshow.defaultProps.effectsOptions.effectsRotate,min:-180,max:180,step:1},effectsHover:{type:ControlType.Boolean,title:\"On Hover\",enabledTitle:\"Play\",disabledTitle:\"Pause\",defaultValue:Slideshow.defaultProps.effectsOptions.effectsHover}}},alignment:{type:ControlType.Enum,title:\"Align\",options:[\"flex-start\",\"center\",\"flex-end\"],optionIcons:{direction:{right:[\"align-top\",\"align-middle\",\"align-bottom\"],left:[\"align-top\",\"align-middle\",\"align-bottom\"],top:[\"align-left\",\"align-center\",\"align-right\"],bottom:[\"align-left\",\"align-center\",\"align-right\"]}},defaultValue:\"center\",displaySegmentedControl:true},itemAmount:{type:ControlType.Number,title:\"Items\",min:1,max:10,displayStepper:true,defaultValue:Slideshow.defaultProps.itemAmount},gap:{type:ControlType.Number,title:\"Gap\",min:0},padding:{title:\"Padding\",type:ControlType.FusedNumber,toggleKey:\"paddingPerSide\",toggleTitles:[\"Padding\",\"Padding per side\"],defaultValue:0,valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\",],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},borderRadius:{type:ControlType.Number,title:\"Radius\",min:0,max:500,displayStepper:true,defaultValue:0},transitionControl:{type:ControlType.Transition,defaultValue:Slideshow.defaultProps.transitionControl,title:\"Transition\"},fadeOptions:{type:ControlType.Object,title:\"Clipping\",controls:{fadeContent:{type:ControlType.Boolean,title:\"Fade\",defaultValue:false},overflow:{type:ControlType.Boolean,title:\"Overflow\",enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:false,hidden(props){return props.fadeContent===true;}},fadeWidth:{type:ControlType.Number,title:\"Width\",defaultValue:25,min:0,max:100,unit:\"%\",hidden(props){return props.fadeContent===false;}},fadeInset:{type:ControlType.Number,title:\"Inset\",defaultValue:0,min:0,max:100,unit:\"%\",hidden(props){return props.fadeContent===false;}},fadeAlpha:{type:ControlType.Number,title:\"Opacity\",defaultValue:0,min:0,max:1,step:.05,hidden(props){return props.fadeContent===false;}}}},arrowOptions:{type:ControlType.Object,title:\"Arrows\",controls:{showMouseControls:{type:ControlType.Boolean,title:\"Show\",defaultValue:Slideshow.defaultProps.arrowOptions.showMouseControls},arrowFill:{type:ControlType.Color,title:\"Fill\",hidden:props=>!props.showMouseControls,defaultValue:Slideshow.defaultProps.arrowOptions.arrowFill},leftArrow:{type:ControlType.Image,title:\"Previous\",hidden:props=>!props.showMouseControls},rightArrow:{type:ControlType.Image,title:\"Next\",hidden:props=>!props.showMouseControls},arrowSize:{type:ControlType.Number,title:\"Size\",min:0,max:200,displayStepper:true,defaultValue:Slideshow.defaultProps.arrowOptions.arrowSize,hidden:props=>!props.showMouseControls},arrowRadius:{type:ControlType.Number,title:\"Radius\",min:0,max:500,defaultValue:40,hidden:props=>!props.showMouseControls},arrowShouldFadeIn:{type:ControlType.Boolean,title:\"Fade In\",defaultValue:false,hidden:props=>!props.showMouseControls},arrowShouldSpace:{type:ControlType.Boolean,title:\"Distance\",enabledTitle:\"Space\",disabledTitle:\"Group\",defaultValue:Slideshow.defaultProps.arrowOptions.arrowShouldSpace,hidden:props=>!props.showMouseControls},arrowPosition:{type:ControlType.Enum,title:\"Position\",options:[\"auto\",\"top-left\",\"top-mid\",\"top-right\",\"bottom-left\",\"bottom-mid\",\"bottom-right\",],optionTitles:[\"Center\",\"Top Left\",\"Top Middle\",\"Top Right\",\"Bottom Left\",\"Bottom Middle\",\"Bottom Right\",],hidden:props=>!props.showMouseControls||props.arrowShouldSpace},arrowPadding:{type:ControlType.Number,title:\"Inset\",min:-100,max:100,defaultValue:20,displayStepper:true,hidden:props=>!props.showMouseControls||!props.arrowShouldSpace},arrowPaddingTop:{type:ControlType.Number,title:\"Top\",min:-500,max:500,defaultValue:0,displayStepper:true,hidden:props=>!props.showMouseControls||props.arrowShouldSpace||props.arrowPosition===\"auto\"||props.arrowPosition===\"bottom-mid\"||props.arrowPosition===\"bottom-left\"||props.arrowPosition===\"bottom-right\"},arrowPaddingBottom:{type:ControlType.Number,title:\"Bottom\",min:-500,max:500,defaultValue:0,displayStepper:true,hidden:props=>!props.showMouseControls||props.arrowShouldSpace||props.arrowPosition===\"auto\"||props.arrowPosition===\"top-mid\"||props.arrowPosition===\"top-left\"||props.arrowPosition===\"top-right\"},arrowPaddingRight:{type:ControlType.Number,title:\"Right\",min:-500,max:500,defaultValue:0,displayStepper:true,hidden:props=>!props.showMouseControls||props.arrowShouldSpace||props.arrowPosition===\"auto\"||props.arrowPosition===\"top-left\"||props.arrowPosition===\"top-mid\"||props.arrowPosition===\"bottom-left\"||props.arrowPosition===\"bottom-mid\"},arrowPaddingLeft:{type:ControlType.Number,title:\"Left\",min:-500,max:500,defaultValue:0,displayStepper:true,hidden:props=>!props.showMouseControls||props.arrowShouldSpace||props.arrowPosition===\"auto\"||props.arrowPosition===\"top-right\"||props.arrowPosition===\"top-mid\"||props.arrowPosition===\"bottom-right\"||props.arrowPosition===\"bottom-mid\"},arrowGap:{type:ControlType.Number,title:\"Gap\",min:0,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showMouseControls||props.arrowShouldSpace}}},progressOptions:{type:ControlType.Object,title:\"Dots\",controls:{showProgressDots:{type:ControlType.Boolean,title:\"Show\",defaultValue:false},dotSize:{type:ControlType.Number,title:\"Size\",min:1,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsInset:{type:ControlType.Number,title:\"Inset\",min:-100,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsGap:{type:ControlType.Number,title:\"Gap\",min:0,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsPadding:{type:ControlType.Number,title:\"Padding\",min:0,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsFill:{type:ControlType.Color,title:\"Fill\",defaultValue:\"#fff\",hidden:props=>!props.showProgressDots||props.showScrollbar},dotsBackground:{type:ControlType.Color,title:\"Backdrop\",defaultValue:\"rgba(0,0,0,0.2)\",hidden:props=>!props.showProgressDots||props.showScrollbar},dotsRadius:{type:ControlType.Number,title:\"Radius\",min:0,max:200,defaultValue:50,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsOpacity:{type:ControlType.Number,title:\"Opacity\",min:0,max:1,defaultValue:.5,step:.1,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsActiveOpacity:{type:ControlType.Number,title:\"Current\",min:0,max:1,defaultValue:1,step:.1,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsBlur:{type:ControlType.Number,title:\"Blur\",min:0,max:50,defaultValue:0,step:1,hidden:props=>!props.showProgressDots||props.showScrollbar}}}});/* Placeholder Styles */ const containerStyle={display:\"flex\",flexDirection:\"row\",width:\"100%\",height:\"100%\",maxWidth:\"100%\",maxHeight:\"100%\",placeItems:\"center\",margin:0,padding:0,listStyleType:\"none\",textIndent:\"none\"};/* Component Styles */ const placeholderStyles={display:\"flex\",width:\"100%\",height:\"100%\",placeContent:\"center\",placeItems:\"center\",flexDirection:\"column\",color:\"#96F\",background:\"rgba(136, 85, 255, 0.1)\",fontSize:11,overflow:\"hidden\",padding:\"20px 20px 30px 20px\"};const emojiStyles={fontSize:32,marginBottom:10};const titleStyles={margin:0,marginBottom:10,fontWeight:600,textAlign:\"center\"};const subtitleStyles={margin:0,opacity:.7,maxWidth:180,lineHeight:1.5,textAlign:\"center\"};/* Control Styles */ const baseButtonStyles={border:\"none\",display:\"flex\",placeContent:\"center\",placeItems:\"center\",overflow:\"hidden\",background:\"transparent\",cursor:\"pointer\",margin:0,padding:0};const controlsStyles={display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",position:\"absolute\",pointerEvents:\"none\",userSelect:\"none\",top:0,left:0,right:0,bottom:0,border:0,padding:0,margin:0};/* Clamp function, used for fadeInset */ const clamp=(num,min,max)=>Math.min(Math.max(num,min),max);/* Slide Component */ const Slide=/*#__PURE__*/ forwardRef(function Component(props,ref){var ref1,ref2;const{key,width,height,child,size,gap,wrappedValue,numChildren,childCounter,isCanvas,effects,effectsOpacity,effectsScale,effectsRotate,isHorizontal,isLast,index}=props;/**\n     * Unique offsets + scroll range [0, 1, 1, 0]\n     */ const childOffset=((size===null||size===void 0?void 0:size.item)+gap)*childCounter;const scrollRange=[-(size===null||size===void 0?void 0:size.item),0,(size===null||size===void 0?void 0:size.parent)-(size===null||size===void 0?void 0:size.item)+gap,size===null||size===void 0?void 0:size.parent,].map(val=>val-childOffset);/**\n     * Effects\n     */ const rotateY=!isCanvas&&useTransform(wrappedValue,scrollRange,[-effectsRotate,0,0,effectsRotate,]);const rotateX=!isCanvas&&useTransform(wrappedValue,scrollRange,[effectsRotate,0,0,-effectsRotate,]);const opacity=!isCanvas&&useTransform(wrappedValue,scrollRange,[effectsOpacity,1,1,effectsOpacity,]);const scale=!isCanvas&&useTransform(wrappedValue,scrollRange,[effectsScale,1,1,effectsScale,]);const originXorY=!isCanvas&&useTransform(wrappedValue,scrollRange,[1,1,0,0]);const isVisible=!isCanvas&&useTransform(wrappedValue,latest=>latest>=scrollRange[1]&&latest<=scrollRange[2]);useEffect(()=>{if(!isVisible)return;return isVisible.onChange(newValue=>{ref.current.setAttribute(\"aria-hidden\",!newValue);});},[]);return /*#__PURE__*/ _jsx(LayoutGroup,{inherit:\"id\",children:/*#__PURE__*/ _jsx(\"li\",{style:{display:\"contents\"},\"aria-hidden\":index===0?false:true,children:/*#__PURE__*/ cloneElement(child,{ref:ref,key:key+\"child\",style:{...(ref1=child.props)===null||ref1===void 0?void 0:ref1.style,flexShrink:0,userSelect:\"none\",width,height,opacity:opacity,scale:scale,originX:isHorizontal?originXorY:.5,originY:!isHorizontal?originXorY:.5,rotateY:isHorizontal?rotateY:0,rotateX:!isHorizontal?rotateX:0}},(ref2=child.props)===null||ref2===void 0?void 0:ref2.children)})});});function Dot({selectedOpacity,opacity,total,index,wrappedIndex,wrappedIndexInverted,dotStyle,buttonStyle,gap,padding,isHorizontal,isInverted,...props}){/* Check active item */ /* Go 0\u20141\u20142\u20143\u20144\u20145\u20140 */ let isSelected=wrappedIndex===index;/* Go 0\u20145\u20144\u20143\u20142\u20141\u20140\u20145 instead when inverted */ if(isInverted){isSelected=Math.abs(wrappedIndexInverted)===index;}const inlinePadding=gap/2;let top=!isHorizontal&&index>0?inlinePadding:padding;let bottom=!isHorizontal&&index!==total-1?inlinePadding:padding;let right=isHorizontal&&index!==total-1?inlinePadding:padding;let left=isHorizontal&&index>0?inlinePadding:padding;return /*#__PURE__*/ _jsx(\"button\",{\"aria-label\":`Scroll to page ${index+1}`,type:\"button\",...props,style:{...buttonStyle,padding:`${top}px ${right}px ${bottom}px ${left}px`},children:/*#__PURE__*/ _jsx(motion.div,{style:{...dotStyle},initial:false,animate:{opacity:isSelected?selectedOpacity:opacity},transition:{duration:.3}})});}/* Dot Styles */ const dotsContainerStyle={display:\"flex\",placeContent:\"center\",placeItems:\"center\",overflow:\"hidden\",position:\"absolute\",pointerEvents:\"auto\"};const dotStyle={borderRadius:\"50%\",background:\"white\",cursor:\"pointer\",border:\"none\",placeContent:\"center\",placeItems:\"center\",padding:0};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Slideshow\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"*\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicHeight\":\"200\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicWidth\":\"400\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SlideShow.map"],
  "mappings": "+XAAA,IAAIA,EAAU,CAAC,EACXC,GAAS,CACX,QAASD,CACX,GACC,UAAY,CACX,aAGI,OAAO,+BAAmC,KAAe,OAAO,+BAA+B,6BAAgC,YACjI,+BAA+B,4BAA4B,IAAI,KAAO,EAExE,IAAIE,EAAe,SAMfC,EAAqB,OAAO,IAAI,eAAe,EAC/CC,EAAoB,OAAO,IAAI,cAAc,EAC7CC,EAAsB,OAAO,IAAI,gBAAgB,EACjDC,EAAyB,OAAO,IAAI,mBAAmB,EACvDC,EAAsB,OAAO,IAAI,gBAAgB,EACjDC,EAAsB,OAAO,IAAI,gBAAg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,QAAQ,GAAM,QAAQ,CAAC,QAAQwC,EAAWF,EAAgBP,CAAO,EAAE,WAAW,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,CAAE,CAAkB,IAAMpB,GAAmB,CAAC,QAAQ,OAAO,aAAa,SAAS,WAAW,SAAS,SAAS,SAAS,SAAS,WAAW,cAAc,MAAM,EAAQX,GAAS,CAAC,aAAa,MAAM,WAAW,QAAQ,OAAO,UAAU,OAAO,OAAO,aAAa,SAAS,WAAW,SAAS,QAAQ,CAAC",
  "names": ["exports", "module", "ReactVersion", "REACT_ELEMENT_TYPE", "REACT_PORTAL_TYPE", "REACT_FRAGMENT_TYPE", "REACT_STRICT_MODE_TYPE", "REACT_PROFILER_TYPE", "REACT_PROVIDER_TYPE", "REACT_CONTEXT_TYPE", "REACT_FORWARD_REF_TYPE", "REACT_SUSPENSE_TYPE", "REACT_SUSPENSE_LIST_TYPE", "REACT_MEMO_TYPE", "REACT_LAZY_TYPE", "REACT_OFFSCREEN_TYPE", "MAYBE_ITERATOR_SYMBOL", "FAUX_ITERATOR_SYMBOL", "getIteratorFn", "maybeIterable", "maybeIterator", "ReactCurrentDispatcher", "ReactCurrentBatchConfig", "ReactCurrentActQueue", "ReactCurrentOwner", "ReactDebugCurrentFrame", "currentExtraStackFrame", "setExtraStackFrame", "stack", "impl", "enableScopeAPI", "enableCacheElement", "enableTransitionTracing", "enableLegacyHidden", "enableDebugTracing", "ReactSharedInternals", "warn", "format", "_len", "args", "_key", "printWarning", "error", "_len2", "_key2", "level", "argsWithFormat", "item", "didWarnStateUpdateForUnmountedComponent", "warnNoop", "publicInstance", "callerName", "_constructor", "componentName", "warningKey", "ReactNoopUpdateQueue", "callback", "completeState", "partialState", "assign", "emptyObject", "Component", "props", "context", "updater", "deprecatedAPIs", "defineDeprecationWarning", "methodName", "info", "fnName", "ComponentDummy", "PureComponent", "pureComponentPrototype", "createRef", "refObject", "isArrayImpl", "isArray", "a", "typeName", "value", "hasToStringTag", "type", "willCoercionThrow", "testStringCoercion", "checkKeyStringCoercion", "getWrappedName", "outerType", "innerType", "wrapperName", "displayName", "functionName", "getContextName", "getComponentNameFromType", "provider", "outerName", "lazyComponent", "payload", "init", "hasOwnProperty", "RESERVED_PROPS", "specialPropKeyWarningShown", "specialPropRefWarningShown", "didWarnAboutStringRefs", "hasValidRef", "config", "getter", "hasValidKey", "defineKeyPropWarningGetter", "warnAboutAccessingKey", "defineRefPropWarningGetter", "warnAboutAccessingRef", "warnIfStringRefCannotBeAutoConverted", "ReactElement", "key", "ref", "self", "source", "owner", "element", "createElement", "children", "propName", "childrenLength", "childArray", "i", "defaultProps", "cloneAndReplaceKey", "oldElement", "newKey", "newElement", "cloneElement", "isValidElement", "object", "SEPARATOR", "SUBSEPARATOR", "escape", "escapeRegex", "escaperLookup", "escapedString", "match", "didWarnAboutMaps", "userProvidedKeyEscapeRegex", "escapeUserProvidedKey", "text", "getElementKey", "index", "mapIntoArray", "array", "escapedPrefix", "nameSoFar", "invokeCallback", "_child", "mappedChild", "childKey", "escapedChildKey", "c", "child", "nextName", "subtreeCount", "nextNamePrefix", "iteratorFn", "iterableChildren", "iterator", "step", "ii", "childrenString", "mapChildren", "func", "result", "count", "countChildren", "n", "forEachChildren", "forEachFunc", "forEachContext", "toArray", "onlyChild", "createContext", "defaultValue", "hasWarnedAboutUsingNestedContextConsumers", "hasWarnedAboutUsingConsumerProvider", "hasWarnedAboutDisplayNameOnConsumer", "Consumer", "_Provider", "_currentValue", "_currentValue2", "_threadCount", "Uninitialized", "Pending", "Resolved", "Rejected", "lazyInitializer", "ctor", "thenable", "moduleObject", "resolved", "rejected", "pending", "lazy", "lazyType", "propTypes", "newDefaultProps", "newPropTypes", "forwardRef", "render", "elementType", "ownName", "name", "REACT_MODULE_REFERENCE", "isValidElementType", "memo", "compare", "resolveDispatcher", "dispatcher", "useContext", "Context", "realContext", "useState", "initialState", "useReducer", "reducer", "initialArg", "useRef", "initialValue", "useEffect", "create", "deps", "useInsertionEffect", "useLayoutEffect", "useCallback", "useMemo", "useImperativeHandle", "useDebugValue", "formatterFn", "useTransition", "useDeferredValue", "useId", "useSyncExternalStore", "subscribe", "getSnapshot", "getServerSnapshot", "disabledDepth", "prevLog", "prevInfo", "prevWarn", "prevError", "prevGroup", "prevGroupCollapsed", "prevGroupEnd", "disabledLog", "disableLogs", "reenableLogs", "ReactCurrentDispatcher$1", "prefix", "describeBuiltInComponentFrame", "ownerFn", "x", "reentry", "componentFrameCache", "PossiblyWeakMap", "describeNativeComponentFrame", "fn", "construct", "frame", "control", "previousPrepareStackTrace", "previousDispatcher", "Fake", "sample", "sampleLines", "controlLines", "s", "_frame", "syntheticFrame", "describeFunctionComponentFrame", "shouldConstruct", "prototype", "describeUnknownElementTypeFrameInDEV", "loggedTypeFailures", "ReactDebugCurrentFrame$1", "setCurrentlyValidatingElement", "checkPropTypes", "typeSpecs", "values", "location", "has", "typeSpecName", "error$1", "err", "ex", "setCurrentlyValidatingElement$1", "propTypesMisspellWarningShown", "getDeclarationErrorAddendum", "getSourceInfoErrorAddendum", "fileName", "lineNumber", "getSourceInfoErrorAddendumForProps", "elementProps", "ownerHasKeyUseWarning", "getCurrentComponentErrorInfo", "parentType", "parentName", "validateExplicitKey", "currentComponentErrorInfo", "childOwner", "validateChildKeys", "node", "validatePropTypes", "_name", "validateFragmentProps", "fragment", "keys", "createElementWithValidation", "validType", "sourceInfo", "typeString", "didWarnAboutDeprecatedCreateFactory", "createFactoryWithValidation", "validatedFactory", "cloneElementWithValidation", "startTransition", "scope", "options", "prevTransition", "currentTransition", "updatedFibersCount", "didWarnAboutMessageChannel", "enqueueTaskImpl", "enqueueTask", "task", "requireString", "nodeRequire", "channel", "actScopeDepth", "didWarnNoAwaitAct", "act", "prevActScopeDepth", "prevIsBatchingLegacy", "queue", "flushActQueue", "popActScope", "thenableResult", "wasAwaited", "resolve", "reject", "returnValue", "recursivelyFlushAsyncActWork", "_queue", "_thenable", "_thenable2", "isFlushing", "createElement$1", "cloneElement$1", "createFactory", "Children", "_react", "Fragment", "Profiler", "StrictMode", "Suspense", "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED", "unstable_act", "version", "_global", "global", "exports", "e", "t", "_react", "r", "n", "o", "a", "i", "c", "u", "s", "f", "p", "l", "y", "d", "m", "v", "b", "h", "g", "w", "O", "S", "j", "P", "x", "T", "_", "N", "$", "E", "window", "exports$1", "npm_react_tweet_embed_1_2_default", "twitterRegex", "Twitter", "withCSS", "url", "style", "theme", "props", "id1", "se", "ref", "id", "p", "motion", "containerStyles", "npm_react_tweet_embed_1_2_default", "u", "emptyStateStyle", "stateTitleStyle", "stateParagraphStyle", "addPropertyControls", "ControlType", "Twitter_default", "noopReturn", "t", "isFunction", "t", "e", "t", "velocityPerSecond", "calcBezier", "t", "e", "i", "binarySubdivide", "r", "c", "u", "a", "s", "cubicBezier", "n", "o", "noopReturn", "getTForX", "o", "cubicBezier", "__rest", "t", "r", "n", "o", "n", "e", "t", "r", "s", "calcGeneratorVelocity", "t", "r", "velocityPerSecond", "n", "calcDampingRatio", "hasReachedTarget", "spring", "o", "c", "i", "h", "e", "u", "d", "f", "l", "g", "glide", "a", "isOutOfBounds", "nearestBoundary", "m", "calcDelta", "calcLatest", "applyFriction", "p", "M", "checkCatchBoundary", "pregenerateKeyframes", "L", "T", "M", "k", "noopReturn", "B", "asTransformCssVar", "j", "T", "L", "t", "P", "j", "testAnimation", "t", "C", "R", "H", "resolveElements", "t", "n", "createGeneratorEasing", "t", "n", "o", "getGenerator", "i", "s", "r", "a", "getKeyframes", "e", "pregenerateKeyframes", "c", "isNumberOrNull", "l", "f", "u", "d", "calcGeneratorVelocity", "g", "m", "U", "spring", "q", "glide", "K", "inView$1", "resolveElements", "onIntersectionChange", "isFunction", "G", "_", "getElementSize", "notifyTarget", "notifyAll", "createResizeObserver", "resizeElement", "Z", "X", "createWindowResizeHandler", "window", "resizeWindow", "resize", "dispatchPointerEvent", "t", "n", "dispatchViewEvent", "ae", "o", "i", "s", "__rest", "inView$1", "mouseEvent", "ce", "le", "onPointerUp", "window", "onPointerDown", "fe", "ue", "clamp", "t", "s", "e", "sanitize", "isString", "r", "n", "a", "createUnitType", "o", "c", "l", "i", "p", "u", "isColorString", "splitColor", "f", "m", "g", "h", "parseHex", "b", "d", "v", "y", "test", "analyse", "parse", "createTransformer", "convertNumbersToZero", "getAnimatableNone", "O", "j", "applyDefaultFilter", "F", "N", "e", "t", "n", "window", "createRenderStep", "s", "r", "c", "o", "a", "l", "f", "u", "startLoop", "d", "i", "processStep", "processFrame", "clamp", "t", "e", "n", "d", "h", "m", "y", "g", "findSpring", "s", "r", "i", "u", "calcAngularFreq", "l", "p", "f", "approximateRoot", "v", "o", "M", "x", "isSpringType", "getSpringOptions", "spring", "__rest", "zero", "createSpring", "reverseEasing", "t", "e", "mirrorEasing", "createExpoIn", "createBackIn", "createAnticipate", "T", "w", "A", "R", "F", "createExpoIn", "D", "reverseEasing", "j", "mirrorEasing", "circIn", "t", "q", "I", "P", "createBackIn", "T", "k", "E", "B", "createAnticipate", "C", "N", "U", "bounceOut", "e", "w", "A", "R", "z", "identity", "t", "createAttractor", "e", "n", "o", "r", "G", "H", "wrap", "t", "e", "n", "o", "Q", "V", "isBrowser", "getBrowserVisibilityProp", "getBrowserDocumentHiddenProp", "getIsDocumentHidden", "usePageVisibility", "isVisible", "setIsVisible", "ye", "onVisibilityChange", "ue", "visibilityChange", "Slideshow", "props", "slots", "startFrom", "direction", "effectsOptions", "autoPlayControl", "dragControl", "alignment", "gap", "padding", "paddingPerSide", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "itemAmount", "fadeOptions", "intervalControl", "transitionControl", "arrowOptions", "borderRadius", "progressOptions", "style", "effectsOpacity", "effectsScale", "effectsRotate", "effectsPerspective", "effectsHover", "fadeContent", "overflow", "fadeWidth", "fadeInset", "fadeAlpha", "showMouseControls", "arrowSize", "arrowRadius", "arrowFill", "leftArrow", "rightArrow", "arrowShouldSpace", "arrowShouldFadeIn", "arrowPosition", "arrowPadding", "arrowGap", "arrowPaddingTop", "arrowPaddingRight", "arrowPaddingBottom", "arrowPaddingLeft", "showProgressDots", "dotSize", "dotsInset", "dotsRadius", "dotsPadding", "dotsGap", "dotsFill", "dotsBackground", "dotsActiveOpacity", "dotsOpacity", "dotsBlur", "paddingValue", "isCanvas", "RenderTarget", "hasChildren", "j", "isHorizontal", "isInverted", "u", "placeholderStyles", "p", "emojiStyles", "titleStyles", "subtitleStyles", "parentRef", "pe", "childrenRef", "se", "index", "W", "timeoutRef", "size", "setSize", "ye", "isHovering", "setIsHovering", "shouldPlayOnHover", "setShouldPlayOnHover", "isMouseDown", "setIsMouseDown", "isResizing", "setIsResizing", "dupedChildren", "duplicateBy", "measure", "te", "total", "parentLength", "start", "childrenLength", "itemSize", "itemWidth", "itemHeight", "fe", "initialResize", "ue", "resize", "contentSize", "timer", "totalItems", "childrenSize", "itemWithGap", "itemOffset", "currentItem", "setCurrentItem", "isDragging", "setIsDragging", "isVisible", "usePageVisibility", "factor", "xOrY", "useMotionValue", "canvasPosition", "newPosition", "wrappedValue", "useTransform", "value", "wrap", "wrappedIndex", "wrappedIndexInverted", "switchPages", "animate", "setDelta", "delta", "setPage", "currentItemWrapped", "currentItemWrappedInvert", "goto", "gotoInverted", "handleDragStart", "handleDragEnd", "event", "offset", "velocity", "offsetXorY", "velocityThreshold", "velocityXorY", "isHalfOfNext", "isHalfOfPrev", "normalizedOffset", "itemDelta", "itemDeltaFromOne", "childCounter", "columnOrRowValue", "child", "childIndex", "ref", "Slide", "fadeDirection", "fadeWidthStart", "fadeWidthEnd", "fadeInsetStart", "clamp", "fadeInsetEnd", "fadeMask", "dots", "dotsBlurStyle", "i", "Dot", "dotStyle", "baseButtonStyles", "dragProps", "arrowHasTop", "arrowHasBottom", "arrowHasLeft", "arrowHasRight", "arrowHasMid", "containerStyle", "motion", "controlsStyles", "dotsContainerStyle", "addPropertyControls", "ControlType", "num", "min", "max", "Y", "ref1", "ref2", "key", "width", "height", "numChildren", "effects", "isLast", "childOffset", "scrollRange", "val", "rotateY", "rotateX", "opacity", "scale", "originXorY", "latest", "newValue", "LayoutGroup", "q", "selectedOpacity", "buttonStyle", "isSelected", "inlinePadding", "top", "bottom", "right", "left"]
}
