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MAAMC,EAAM1M,uBAAsB,IAAIwM,EAA6BllB,SAAU,IAE7E,MAAO,IAAIqlB,qBAAqBD,KAEjC,KACH,QAAuB,KACnB,MAAME,EAAOjf,EAAIrG,QACjB,GAAIslB,EAAM,CACNH,EAAkBnlB,QAAUmlB,EAAkBnlB,SAAW,CACrDulB,mBAAoBD,EAAK1S,MAAM2S,mBAC/BC,cAAeF,EAAK1S,MAAM4S,eAE9BF,EAAK1S,MAAM2S,mBAAqB,KAChCD,EAAK1S,MAAM4S,cAAgB,OAC3B,MAAMC,EAAOH,EAAK7Y,wBAClBsY,EAAU/kB,QAAUylB,EAAKtL,OACzB6K,EAAShlB,QAAUylB,EAAKvL,MACnBgL,EAA6BllB,UAC9BslB,EAAK1S,MAAM2S,mBAAqBJ,EAAkBnlB,QAAQulB,mBAC1DD,EAAK1S,MAAM4S,cAAgBL,EAAkBnlB,QAAQwlB,eAEzDX,EAAaH,MAOd,CACH/J,EAAQyI,KACRsB,KAEiB,mBAAqB,UAAsB,OAAqC,CACjG,aAAcT,EAA+BtJ,EAAQyI,MACrD,gBAAiBzI,EAAQ4I,SAAW,QAAKziB,EACzC0B,GAAImY,EAAQmJ,UACZ4B,QAAST,GACVR,EAAc,CACbpe,IAAKye,EACLlS,MAAO,CACH,qCAAwCuH,EAAS,GAAGA,WAAarZ,EACjE,oCAAuCoZ,EAAQ,GAAGA,WAAYpZ,KAC3DsE,EAAMwN,SAEbqS,GAAU3e,MAEmF,SAAS2d,EAA+Bb,GACzI,OAAOA,EAAO,OAAS,SAE3B,MAAMuC,EAA4C1C,EAC5C2C,EAA4CzB","sources":["webpack://_N_E/./node_modules/@virtuoso.dev/urx/dist/urx.esm.js","webpack://_N_E/./node_modules/@virtuoso.dev/react-urx/dist/react-urx.esm.js","webpack://_N_E/./node_modules/react-virtuoso/dist/index.m.js","webpack://_N_E/./node_modules/@radix-ui/react-collapsible/dist/index.mjs"],"sourcesContent":["var PUBLISH = 0;\nvar SUBSCRIBE = 1;\nvar RESET = 2;\nvar VALUE = 4;\n\n/**\r\n * Utils includes\r\n * - a handful of functional utilities inspired by or taken from the [Ramda library](https://ramdajs.com/);\r\n * - TypeScript crutches - the [[tup]] function.\r\n *\r\n * Use these for your convenience - they are here so that urx is zero-dependency package.\r\n *\r\n * @packageDocumentation\r\n */\n\n/**\r\n * Performs left to right composition of two functions.\r\n */\nfunction compose(a, b) {\n return function (arg) {\n return a(b(arg));\n };\n}\n/**\r\n * Takes a value and applies a function to it.\r\n */\n\nfunction thrush(arg, proc) {\n return proc(arg);\n}\n/**\r\n * Takes a 2 argument function and partially applies the first argument.\r\n */\n\nfunction curry2to1(proc, arg1) {\n return function (arg2) {\n return proc(arg1, arg2);\n };\n}\n/**\r\n * Takes a 1 argument function and returns a function which when called, executes it with the provided argument.\r\n */\n\nfunction curry1to0(proc, arg) {\n return function () {\n return proc(arg);\n };\n}\n/**\r\n * Returns a function which extracts the property from from the passed object.\r\n */\n\nfunction prop(property) {\n return function (object) {\n return object[property];\n };\n}\n/**\r\n * Calls callback with the first argument, and returns it.\r\n */\n\nfunction tap(arg, proc) {\n proc(arg);\n return arg;\n}\n/**\r\n * Utility function to help typescript figure out that what we pass is a tuple and not a generic array.\r\n * Taken from (this StackOverflow tread)[https://stackoverflow.com/questions/49729550/implicitly-create-a-tuple-in-typescript/52445008#52445008]\r\n */\n\nfunction tup() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return args;\n}\n/**\r\n * Calls the passed function.\r\n */\n\nfunction call(proc) {\n proc();\n}\n/**\r\n * returns a function which when called always returns the passed value\r\n */\n\nfunction always(value) {\n return function () {\n return value;\n };\n}\n/**\r\n * returns a function which calls all passed functions in the passed order.\r\n * joinProc does not pass arguments or collect return values.\r\n */\n\nfunction joinProc() {\n for (var _len2 = arguments.length, procs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n procs[_key2] = arguments[_key2];\n }\n\n return function () {\n procs.map(call);\n };\n}\nfunction noop() {}\n\n/**\r\n * urx Actions operate on streams - `publish` publishes data in a stream, and `subscribe` attaches a subscription to a stream.\r\n * @packageDocumentation\r\n */\n/**\r\n * Subscribes the specified [[Subscription]] to the updates from the Emitter.\r\n * The emitter calls the subscription with the new data each time new data is published into it.\r\n *\r\n * ```ts\r\n * const foo = stream<number>();\r\n * subscribe(foo, (value) => console.log(value));\r\n * ```\r\n *\r\n * @returns an [[Unsubscribe]] handle - calling it will unbind the subscription from the emitter.\r\n *```ts\r\n * const foo = stream<number>();\r\n * const unsub = subscribe(foo, (value) => console.log(value));\r\n * unsub();\r\n *```\r\n */\n\nfunction subscribe(emitter, subscription) {\n return emitter(SUBSCRIBE, subscription);\n}\n/**\r\n * Publishes the value into the passed [[Publisher]].\r\n *\r\n * ```ts\r\n * const foo = stream<number>();\r\n * publish(foo, 42);\r\n * ```\r\n */\n\nfunction publish(publisher, value) {\n publisher(PUBLISH, value);\n}\n/**\r\n * Clears all subscriptions from the [[Emitter]].\r\n * ```ts\r\n * const foo = stream<number>();\r\n * subscribe(foo, (value) => console.log(value));\r\n * reset(foo);\r\n * publish(foo, 42);\r\n * ```\r\n */\n\nfunction reset(emitter) {\n emitter(RESET);\n}\n/**\r\n * Extracts the current value from a stateful stream. Use it only as an escape hatch, as it violates the concept of reactive programming.\r\n * ```ts\r\n * const foo = statefulStream(42);\r\n * console.log(getValue(foo));\r\n * ```\r\n */\n\nfunction getValue(depot) {\n return depot(VALUE);\n}\n/**\r\n * Connects two streams - any value emitted from the emitter will be published in the publisher.\r\n * ```ts\r\n * const foo = stream<number>();\r\n * const bar = stream<number>();\r\n * subscribe(bar, (value) => console.log(`Bar emitted ${value}`));\r\n *\r\n * connect(foo, bar);\r\n * publish(foo);\r\n * ```\r\n * @returns an [[Unsubscribe]] handle which will disconnect the two streams.\r\n */\n\nfunction connect(emitter, publisher) {\n return subscribe(emitter, curry2to1(publisher, PUBLISH));\n}\n/**\r\n * Executes the passed subscription at most once, for the next emit from the emitter.\r\n * ```ts\r\n * const foo = stream<number>()\r\n * handleNext(foo, value => console.log(value)) // called once, with 42\r\n * publish(foo, 42)\r\n * publish(foo, 43)\r\n * ```\r\n * @returns an [[Unsubscribe]] handle to unbind the subscription if necessary.\r\n */\n\nfunction handleNext(emitter, subscription) {\n var unsub = emitter(SUBSCRIBE, function (value) {\n unsub();\n subscription(value);\n });\n return unsub;\n}\n\n/**\r\n * Streams are the basic building blocks of a reactive system. Think of them as the system permanent \"data tubes\".\r\n *\r\n * A stream acts as both an [[Emitter]] and [[Publisher]]. Each stream can have multiple {@link Subscription | Subscriptions}.\r\n *\r\n * urx streams are either **stateless** or **stateful**.\r\n * Stateless streams emit data to existing subscriptions when published, without keeping track of it.\r\n * Stateful streams remember the last published value and immediately publish it to new subscriptions.\r\n *\r\n * ```ts\r\n * import { stream, statefulStream, publish, subscribe } from \"@virtuoso.dev/urx\";\r\n *\r\n * // foo is a stateless stream\r\n * const foo = stream<number>();\r\n *\r\n * publish(foo, 42);\r\n * // this subsription will not be called...\r\n * subscribe(foo, (value) => console.log(value));\r\n * // it will only catch published values after it\r\n * publish(foo, 43);\r\n *\r\n * // stateful streams always start with an initial value\r\n * const bar = statefulStream(42);\r\n *\r\n * // subscribing to a stateful stream\r\n * // immediately calls the subscription with the current value\r\n * subscribe(bar, (value) => console.log(value));\r\n *\r\n * // subsequent publishing works just like stateless streams\r\n * publish(bar, 43);\r\n * ```\r\n * @packageDocumentation\r\n */\n/**\r\n * Constructs a new stateless stream.\r\n * ```ts\r\n * const foo = stream<number>();\r\n * ```\r\n * @typeParam T the type of values to publish in the stream.\r\n * @returns a [[Stream]]\r\n */\n\nfunction stream() {\n var subscriptions = [];\n return function (action, arg) {\n switch (action) {\n case RESET:\n subscriptions.splice(0, subscriptions.length);\n return;\n\n case SUBSCRIBE:\n subscriptions.push(arg);\n return function () {\n var indexOf = subscriptions.indexOf(arg);\n\n if (indexOf > -1) {\n subscriptions.splice(indexOf, 1);\n }\n };\n\n case PUBLISH:\n subscriptions.slice().forEach(function (subscription) {\n subscription(arg);\n });\n return;\n\n default:\n throw new Error(\"unrecognized action \" + action);\n }\n };\n}\n/**\r\n * Constructs a new stateful stream.\r\n * ```ts\r\n * const foo = statefulStream(42);\r\n * ```\r\n * @param initial the initial value in the stream.\r\n * @typeParam T the type of values to publish in the stream. If omitted, the function infers it from the initial value.\r\n * @returns a [[StatefulStream]]\r\n */\n\nfunction statefulStream(initial) {\n var value = initial;\n var innerSubject = stream();\n return function (action, arg) {\n switch (action) {\n case SUBSCRIBE:\n var subscription = arg;\n subscription(value);\n break;\n\n case PUBLISH:\n value = arg;\n break;\n\n case VALUE:\n return value;\n }\n\n return innerSubject(action, arg);\n };\n}\n/**\r\n * Event handlers are special emitters which can have **at most one active subscription**.\r\n * Subscribing to an event handler unsubscribes the previous subscription, if present.\r\n * ```ts\r\n * const foo = stream<number>();\r\n * const fooEvent = eventHandler(foo);\r\n *\r\n * // will be called once with 42\r\n * subscribe(fooEvent, (value) => console.log(`Sub 1 ${value}`));\r\n * publish(foo, 42);\r\n *\r\n * // unsubscribes sub 1\r\n * subscribe(fooEvent, (value) => console.log(`Sub 2 ${value}`));\r\n * publish(foo, 43);\r\n * ```\r\n * @param emitter the source emitter.\r\n * @returns the single-subscription emitter.\r\n */\n\nfunction eventHandler(emitter) {\n var unsub;\n var currentSubscription;\n\n var cleanup = function cleanup() {\n return unsub && unsub();\n };\n\n return function (action, subscription) {\n switch (action) {\n case SUBSCRIBE:\n if (subscription) {\n if (currentSubscription === subscription) {\n return;\n }\n\n cleanup();\n currentSubscription = subscription;\n unsub = subscribe(emitter, subscription);\n return unsub;\n } else {\n cleanup();\n return noop;\n }\n\n case RESET:\n cleanup();\n currentSubscription = null;\n return;\n\n default:\n throw new Error(\"unrecognized action \" + action);\n }\n };\n}\n/**\r\n * Creates and connects a \"junction\" stream to the specified emitter. Often used with [[pipe]], to avoid the multiple evaluation of operator sets.\r\n *\r\n * ```ts\r\n * const foo = stream<number>();\r\n *\r\n * const fooX2 = pipe(\r\n * foo,\r\n * map((value) => {\r\n * console.log(`multiplying ${value}`);\r\n * return value * 2;\r\n * })\r\n * );\r\n *\r\n * subscribe(fooX2, (value) => console.log(value));\r\n * subscribe(fooX2, (value) => console.log(value));\r\n *\r\n * publish(foo, 42); // executes the map operator twice for each subscription.\r\n *\r\n * const sharedFooX2 = streamFromEmitter(pipe(\r\n * foo,\r\n * map((value) => {\r\n * console.log(`shared multiplying ${value}`);\r\n * return value * 2;\r\n * })\r\n * ));\r\n *\r\n * subscribe(sharedFooX2, (value) => console.log(value));\r\n * subscribe(sharedFooX2, (value) => console.log(value));\r\n *\r\n * publish(foo, 42);\r\n *```\r\n * @returns the resulting stream.\r\n */\n\nfunction streamFromEmitter(emitter) {\n return tap(stream(), function (stream) {\n return connect(emitter, stream);\n });\n}\n/**\r\n * Creates and connects a \"junction\" stateful stream to the specified emitter. Often used with [[pipe]], to avoid the multiple evaluation of operator sets.\r\n *\r\n * ```ts\r\n * const foo = stream<number>();\r\n *\r\n * const fooX2 = pipe(\r\n * foo,\r\n * map((value) => {\r\n * console.log(`multiplying ${value}`);\r\n * return value * 2;\r\n * })\r\n * );\r\n *\r\n * subscribe(fooX2, (value) => console.log(value));\r\n * subscribe(fooX2, (value) => console.log(value));\r\n *\r\n * publish(foo, 42); // executes the map operator twice for each subscription.\r\n *\r\n * const sharedFooX2 = statefulStreamFromEmitter(pipe(\r\n * foo,\r\n * map((value) => {\r\n * console.log(`shared multiplying ${value}`);\r\n * return value * 2;\r\n * })\r\n * ), 42);\r\n *\r\n * subscribe(sharedFooX2, (value) => console.log(value));\r\n * subscribe(sharedFooX2, (value) => console.log(value));\r\n *\r\n * publish(foo, 42);\r\n *```\r\n * @param initial the initial value in the stream.\r\n * @returns the resulting stateful stream.\r\n */\n\nfunction statefulStreamFromEmitter(emitter, initial) {\n return tap(statefulStream(initial), function (stream) {\n return connect(emitter, stream);\n });\n}\n\n/**\r\n *\r\n * Stream values can be transformed and controlled by {@link pipe | **piping**} through **operators**.\r\n * urx includes several operators like [[map]], [[filter]], [[scan]], and [[throttleTime]].\r\n * The [[withLatestFrom]] operator allows the combination of values from other streams.\r\n *\r\n * ```ts\r\n * const foo = stream<number>()\r\n *\r\n * // create an emitter that first adds 2 to the passed value, then multiplies it by * 2\r\n * const bar = pipe(foo, map(value => value + 2), map(value => value * 2))\r\n * subscribe(bar, value => console.log(value))\r\n * publish(foo, 2) // outputs 8\r\n * ```\r\n *\r\n * ### Implementing Custom Operators\r\n * To implement your own operators, implement the [[Operator]] interface.\r\n * @packageDocumentation\r\n */\n/** @internal */\n\nfunction combineOperators() {\n for (var _len = arguments.length, operators = new Array(_len), _key = 0; _key < _len; _key++) {\n operators[_key] = arguments[_key];\n }\n\n return function (subscriber) {\n return operators.reduceRight(thrush, subscriber);\n };\n}\n\nfunction pipe(source) {\n for (var _len2 = arguments.length, operators = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n operators[_key2 - 1] = arguments[_key2];\n }\n\n // prettier-ignore\n var project = combineOperators.apply(void 0, operators);\n return function (action, subscription) {\n switch (action) {\n case SUBSCRIBE:\n return subscribe(source, project(subscription));\n\n case RESET:\n reset(source);\n return;\n\n default:\n throw new Error(\"unrecognized action \" + action);\n }\n };\n}\n/**\r\n * The default [[Comparator]] for [[distinctUntilChanged]] and [[duc]].\r\n */\n\nfunction defaultComparator(previous, next) {\n return previous === next;\n}\n/**\r\n * Filters out identical values. Pass an optional [[Comparator]] if you need to filter non-primitive values.\r\n * ```ts\r\n * const foo = stream<number>()\r\n *\r\n * subscribe(\r\n * pipe(foo, distinctUntilChanged()),\r\n * console.log\r\n * ) // will be called only once\r\n *\r\n * publish(foo, 42)\r\n * publish(foo, 42)\r\n * ```\r\n */\n\nfunction distinctUntilChanged(comparator) {\n if (comparator === void 0) {\n comparator = defaultComparator;\n }\n\n var current;\n return function (done) {\n return function (next) {\n if (!comparator(current, next)) {\n current = next;\n done(next);\n }\n };\n };\n}\n/**\r\n * Filters out values for which the predicator does not return `true`-ish.\r\n * ```ts\r\n * const foo = stream<number>()\r\n *\r\n * subscribe(\r\n * pipe(foo, filter(value => value % 2 === 0)),\r\n * console.log\r\n * ) // will be called only with even values\r\n *\r\n * publish(foo, 2)\r\n * publish(foo, 3)\r\n * publish(foo, 4)\r\n * publish(foo, 5)\r\n * ```\r\n */\n\nfunction filter(predicate) {\n return function (done) {\n return function (value) {\n predicate(value) && done(value);\n };\n };\n}\n/**\r\n * Maps values using the provided project function.\r\n * ```ts\r\n * const foo = stream<number>()\r\n *\r\n * subscribe(\r\n * pipe(foo, map(value => value * 2)),\r\n * console.log\r\n * ) // 4, 6\r\n *\r\n * publish(foo, 2)\r\n * publish(foo, 3)\r\n * ```\r\n */\n\nfunction map(project) {\n return function (done) {\n return compose(done, project);\n };\n}\n/**\r\n * Maps values to the hard-coded value.\r\n * ```ts\r\n * const foo = stream<number>()\r\n *\r\n * subscribe(\r\n * pipe(foo, mapTo(3)),\r\n * console.log\r\n * ) // 3, 3\r\n *\r\n * publish(foo, 1)\r\n * publish(foo, 2)\r\n * ```\r\n */\n\nfunction mapTo(value) {\n return function (done) {\n return function () {\n return done(value);\n };\n };\n}\n/**\r\n * Works like Array#reduce.\r\n * Applies an accumulator function on the emitter, and outputs intermediate result. Starts with the initial value.\r\n * ```ts\r\n * const foo = stream<number>()\r\n *\r\n * subscribe(\r\n * pipe(foo, scan((acc, value) => acc + value, 2),\r\n * console.log\r\n * ) // 3, 5\r\n *\r\n * publish(foo, 1)\r\n * publish(foo, 2)\r\n * ```\r\n */\n\nfunction scan(scanner, initial) {\n return function (done) {\n return function (value) {\n return done(initial = scanner(initial, value));\n };\n };\n}\n/**\r\n * Skips the specified amount of values from the emitter.\r\n * ```ts\r\n * const foo = stream<number>()\r\n *\r\n * subscribe(\r\n * pipe(foo, skip(2)),\r\n * console.log\r\n * ) // 3, 4\r\n *\r\n * publish(foo, 1) // skipped\r\n * publish(foo, 2) // skipped\r\n * publish(foo, 3)\r\n * publish(foo, 4)\r\n * ```\r\n */\n\nfunction skip(times) {\n return function (done) {\n return function (value) {\n times > 0 ? times-- : done(value);\n };\n };\n}\n/**\r\n * Throttles flowing values at the provided interval in milliseconds.\r\n * [Throttle VS Debounce in SO](https://stackoverflow.com/questions/25991367/difference-between-throttling-and-debouncing-a-function).\r\n *\r\n * ```ts\r\n * const foo = stream<number>()\r\n * publish(foo, 1)\r\n *\r\n * setTimeout(() => publish(foo, 2), 20)\r\n * setTimeout(() => publish(foo, 3), 20)\r\n *\r\n * subscribe(pipe(foo, throttleTime(50)), val => {\r\n * console.log(value); // 3\r\n * })\r\n * ```\r\n */\n\nfunction throttleTime(interval) {\n var currentValue;\n var timeout;\n return function (done) {\n return function (value) {\n currentValue = value;\n\n if (timeout) {\n return;\n }\n\n timeout = setTimeout(function () {\n timeout = undefined;\n done(currentValue);\n }, interval);\n };\n };\n}\n/**\r\n * Debounces flowing values at the provided interval in milliseconds.\r\n * [Throttle VS Debounce in SO](https://stackoverflow.com/questions/25991367/difference-between-throttling-and-debouncing-a-function).\r\n *\r\n * ```ts\r\n * const foo = stream<number>()\r\n * publish(foo, 1)\r\n *\r\n * setTimeout(() => publish(foo, 2), 20)\r\n * setTimeout(() => publish(foo, 3), 20)\r\n *\r\n * subscribe(pipe(foo, debounceTime(50)), val => {\r\n * console.log(value); // 3\r\n * })\r\n * ```\r\n */\n\nfunction debounceTime(interval) {\n var currentValue;\n var timeout;\n return function (done) {\n return function (value) {\n currentValue = value;\n\n if (timeout) {\n clearTimeout(timeout);\n }\n\n timeout = setTimeout(function () {\n done(currentValue);\n }, interval);\n };\n };\n}\nfunction withLatestFrom() {\n for (var _len3 = arguments.length, sources = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n sources[_key3] = arguments[_key3];\n }\n\n var values = new Array(sources.length);\n var called = 0;\n var pendingCall = null;\n var allCalled = Math.pow(2, sources.length) - 1;\n sources.forEach(function (source, index) {\n var bit = Math.pow(2, index);\n subscribe(source, function (value) {\n var prevCalled = called;\n called = called | bit;\n values[index] = value;\n\n if (prevCalled !== allCalled && called === allCalled && pendingCall) {\n pendingCall();\n pendingCall = null;\n }\n });\n });\n return function (done) {\n return function (value) {\n var call = function call() {\n return done([value].concat(values));\n };\n\n if (called === allCalled) {\n call();\n } else {\n pendingCall = call;\n }\n };\n };\n}\n\n/**\r\n * Transformers change and combine streams, similar to operators.\r\n * urx comes with two combinators - [[combineLatest]] and [[merge]], and one convenience filter - [[duc]].\r\n *\r\n * @packageDocumentation\r\n */\n/**\r\n * Merges one or more emitters from the same type into a new Emitter which emits values from any of the source emitters.\r\n * ```ts\r\n * const foo = stream<number>()\r\n * const bar = stream<number>()\r\n *\r\n * subscribe(merge(foo, bar), (value) => console.log(value)) // 42, 43\r\n *\r\n * publish(foo, 42)\r\n * publish(bar, 43)\r\n * ```\r\n */\n\nfunction merge() {\n for (var _len = arguments.length, sources = new Array(_len), _key = 0; _key < _len; _key++) {\n sources[_key] = arguments[_key];\n }\n\n return function (action, subscription) {\n switch (action) {\n case SUBSCRIBE:\n return joinProc.apply(void 0, sources.map(function (source) {\n return subscribe(source, subscription);\n }));\n\n case RESET:\n // do nothing, we are stateless\n return;\n\n default:\n throw new Error(\"unrecognized action \" + action);\n }\n };\n}\n/**\r\n * A convenience wrapper that emits only the distinct values from the passed Emitter. Wraps [[pipe]] and [[distinctUntilChanged]].\r\n *\r\n * ```ts\r\n * const foo = stream<number>()\r\n *\r\n * // this line...\r\n * const a = duc(foo)\r\n *\r\n * // is equivalent to this\r\n * const b = pipe(distinctUntilChanged(foo))\r\n * ```\r\n *\r\n * @param source The source emitter.\r\n * @param comparator optional custom comparison function for the two values.\r\n *\r\n * @typeParam T the type of the value emitted by the source.\r\n *\r\n * @returns the resulting emitter.\r\n */\n\nfunction duc(source, comparator) {\n if (comparator === void 0) {\n comparator = defaultComparator;\n }\n\n return pipe(source, distinctUntilChanged(comparator));\n}\nfunction combineLatest() {\n var innerSubject = stream();\n\n for (var _len2 = arguments.length, emitters = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n emitters[_key2] = arguments[_key2];\n }\n\n var values = new Array(emitters.length);\n var called = 0;\n var allCalled = Math.pow(2, emitters.length) - 1;\n emitters.forEach(function (source, index) {\n var bit = Math.pow(2, index);\n subscribe(source, function (value) {\n values[index] = value;\n called = called | bit;\n\n if (called === allCalled) {\n publish(innerSubject, values);\n }\n });\n });\n return function (action, subscription) {\n switch (action) {\n case SUBSCRIBE:\n if (called === allCalled) {\n subscription(values);\n }\n\n return subscribe(innerSubject, subscription);\n\n case RESET:\n return reset(innerSubject);\n\n default:\n throw new Error(\"unrecognized action \" + action);\n }\n };\n}\n\n/**\r\n * `system` defines a specification of a system - its constructor, dependencies and if it should act as a singleton in a system dependency tree.\r\n * When called, system returns a [[SystemSpec]], which is then initialized along with its dependencies by passing it to [[init]].\r\n *\r\n * ```ts\r\n * @import { subscribe, publish, system, init, tup, connect, map, pipe } from 'urx'\r\n *\r\n * // a simple system with two streams\r\n * const sys1 = system(() => {\r\n * const a = stream<number>()\r\n * const b = stream<number>()\r\n *\r\n * connect(pipe(a, map(value => value * 2)), b)\r\n * return { a, b }\r\n * })\r\n *\r\n * // a second system which depends on the streams from the first one\r\n * const sys2 = system(([ {a, b} ]) => {\r\n * const c = stream<number>()\r\n * connect(pipe(b, map(value => value * 2)), c)\r\n * // re-export the `a` stream, keep `b` internal\r\n * return { a, c }\r\n * }, tup(sys1))\r\n *\r\n * // init will recursively initialize sys2 dependencies, in this case sys1\r\n * const { a, c } = init(sys2)\r\n * subscribe(c, c => console.log(`Value multiplied by 4`, c))\r\n * publish(a, 2)\r\n * ```\r\n *\r\n * #### Singletons in Dependency Tree\r\n *\r\n * By default, systems will be initialized only once if encountered multiple times in the dependency tree.\r\n * In the below dependency system tree, systems `b` and `c` will receive the same stream instances from system `a` when system `d` is initialized.\r\n * ```txt\r\n * a\r\n * / \\\r\n * b c\r\n * \\ /\r\n * d\r\n * ```\r\n * If `a` gets `{singleton: false}` as a last argument, `init` creates two separate instances - one for `b` and one for `c`.\r\n *\r\n * @param constructor the system constructor function. Initialize and connect the streams in its body.\r\n *\r\n * @param dependencies the system dependencies, which the constructor will receive as arguments.\r\n * Use the [[tup]] utility **For TypeScript type inference to work correctly**.\r\n * ```ts\r\n * const sys3 = system(() => { ... }, tup(sys2, sys1))\r\n * ```\r\n * @param __namedParameters Options\r\n * @param singleton determines if the system will act as a singleton in a system dependency tree. `true` by default.\r\n */\nfunction system(constructor, dependencies, _temp) {\n if (dependencies === void 0) {\n dependencies = [];\n }\n\n var _ref = _temp === void 0 ? {\n singleton: true\n } : _temp,\n singleton = _ref.singleton;\n\n return {\n id: id(),\n constructor: constructor,\n dependencies: dependencies,\n singleton: singleton\n };\n}\n/** @internal */\n\nvar id = function id() {\n return Symbol();\n};\n/**\r\n * Initializes a [[SystemSpec]] by recursively initializing its dependencies.\r\n *\r\n * ```ts\r\n * // a simple system with two streams\r\n * const sys1 = system(() => {\r\n * const a = stream<number>()\r\n * const b = stream<number>()\r\n *\r\n * connect(pipe(a, map(value => value * 2)), b)\r\n * return { a, b }\r\n * })\r\n *\r\n * const { a, b } = init(sys1)\r\n * subscribe(b, b => console.log(b))\r\n * publish(a, 2)\r\n * ```\r\n *\r\n * @returns the [[System]] constructed by the spec constructor.\r\n * @param systemSpec the system spec to initialize.\r\n */\n\n\nfunction init(systemSpec) {\n var singletons = new Map();\n\n var _init = function _init(_ref2) {\n var id = _ref2.id,\n constructor = _ref2.constructor,\n dependencies = _ref2.dependencies,\n singleton = _ref2.singleton;\n\n if (singleton && singletons.has(id)) {\n return singletons.get(id);\n }\n\n var system = constructor(dependencies.map(function (e) {\n return _init(e);\n }));\n\n if (singleton) {\n singletons.set(id, system);\n }\n\n return system;\n };\n\n return _init(systemSpec);\n}\n\nexport { always, call, combineLatest, compose, connect, curry1to0, curry2to1, debounceTime, defaultComparator, distinctUntilChanged, duc, eventHandler, filter, getValue, handleNext, init, joinProc, map, mapTo, merge, noop, pipe, prop, publish, reset, scan, skip, statefulStream, statefulStreamFromEmitter, stream, streamFromEmitter, subscribe, system, tap, throttleTime, thrush, tup, withLatestFrom };\n//# sourceMappingURL=urx.esm.js.map\n","import { createContext, forwardRef, useState, useImperativeHandle, createElement, useLayoutEffect, useEffect, useCallback, useContext } from 'react';\nimport { tap, init, curry1to0, subscribe, reset, always, publish, eventHandler, curry2to1, getValue } from '@virtuoso.dev/urx';\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n\n return arr2;\n}\n\nfunction _createForOfIteratorHelperLoose(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (it) return (it = it.call(o)).next.bind(it);\n\n if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n return function () {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nvar _excluded = [\"children\"];\n/** @internal */\n\nfunction omit(keys, obj) {\n var result = {};\n var index = {};\n var idx = 0;\n var len = keys.length;\n\n while (idx < len) {\n index[keys[idx]] = 1;\n idx += 1;\n }\n\n for (var prop in obj) {\n if (!index.hasOwnProperty(prop)) {\n result[prop] = obj[prop];\n }\n }\n\n return result;\n}\n\nvar useIsomorphicLayoutEffect = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\n/**\r\n * Converts a system spec to React component by mapping the system streams to component properties, events and methods. Returns hooks for querying and modifying\r\n * the system streams from the component's child components.\r\n * @param systemSpec The return value from a [[system]] call.\r\n * @param map The streams to props / events / methods mapping Check [[SystemPropsMap]] for more details.\r\n * @param Root The optional React component to render. By default, the resulting component renders nothing, acting as a logical wrapper for its children.\r\n * @returns an object containing the following:\r\n * - `Component`: the React component.\r\n * - `useEmitterValue`: a hook that lets child components use values emitted from the specified output stream.\r\n * - `useEmitter`: a hook that calls the provided callback whenever the specified stream emits a value.\r\n * - `usePublisher`: a hook which lets child components publish values to the specified stream.\r\n * <hr />\r\n */\n\nfunction systemToComponent(systemSpec, map, Root) {\n var requiredPropNames = Object.keys(map.required || {});\n var optionalPropNames = Object.keys(map.optional || {});\n var methodNames = Object.keys(map.methods || {});\n var eventNames = Object.keys(map.events || {});\n var Context = createContext({});\n\n function applyPropsToSystem(system, props) {\n if (system['propsReady']) {\n publish(system['propsReady'], false);\n }\n\n for (var _iterator = _createForOfIteratorHelperLoose(requiredPropNames), _step; !(_step = _iterator()).done;) {\n var requiredPropName = _step.value;\n var stream = system[map.required[requiredPropName]];\n publish(stream, props[requiredPropName]);\n }\n\n for (var _iterator2 = _createForOfIteratorHelperLoose(optionalPropNames), _step2; !(_step2 = _iterator2()).done;) {\n var optionalPropName = _step2.value;\n\n if (optionalPropName in props) {\n var _stream = system[map.optional[optionalPropName]];\n publish(_stream, props[optionalPropName]);\n }\n }\n\n if (system['propsReady']) {\n publish(system['propsReady'], true);\n }\n }\n\n function buildMethods(system) {\n return methodNames.reduce(function (acc, methodName) {\n\n acc[methodName] = function (value) {\n var stream = system[map.methods[methodName]];\n publish(stream, value);\n };\n\n return acc;\n }, {});\n }\n\n function buildEventHandlers(system) {\n return eventNames.reduce(function (handlers, eventName) {\n handlers[eventName] = eventHandler(system[map.events[eventName]]);\n return handlers;\n }, {});\n }\n /**\r\n * A React component generated from an urx system\r\n */\n\n\n var Component = forwardRef(function (propsWithChildren, ref) {\n var children = propsWithChildren.children,\n props = _objectWithoutPropertiesLoose(propsWithChildren, _excluded);\n\n var _useState = useState(function () {\n return tap(init(systemSpec), function (system) {\n return applyPropsToSystem(system, props);\n });\n }),\n system = _useState[0];\n\n var _useState2 = useState(curry1to0(buildEventHandlers, system)),\n handlers = _useState2[0];\n\n useIsomorphicLayoutEffect(function () {\n for (var _iterator3 = _createForOfIteratorHelperLoose(eventNames), _step3; !(_step3 = _iterator3()).done;) {\n var eventName = _step3.value;\n\n if (eventName in props) {\n subscribe(handlers[eventName], props[eventName]);\n }\n }\n\n return function () {\n Object.values(handlers).map(reset);\n };\n }, [props, handlers, system]);\n useIsomorphicLayoutEffect(function () {\n applyPropsToSystem(system, props);\n });\n useImperativeHandle(ref, always(buildMethods(system)));\n return createElement(Context.Provider, {\n value: system\n }, Root ? createElement(Root, omit([].concat(requiredPropNames, optionalPropNames, eventNames), props), children) : children);\n });\n\n var usePublisher = function usePublisher(key) {\n return useCallback(curry2to1(publish, useContext(Context)[key]), [key]);\n };\n /**\r\n * Returns the value emitted from the stream.\r\n */\n\n\n var useEmitterValue = function useEmitterValue(key) {\n var context = useContext(Context);\n var source = context[key];\n\n var _useState3 = useState(curry1to0(getValue, source)),\n value = _useState3[0],\n setValue = _useState3[1];\n\n useIsomorphicLayoutEffect(function () {\n return subscribe(source, function (next) {\n if (next !== value) {\n setValue(always(next));\n }\n });\n }, [source, value]);\n return value;\n };\n\n var useEmitter = function useEmitter(key, callback) {\n var context = useContext(Context);\n var source = context[key];\n useIsomorphicLayoutEffect(function () {\n return subscribe(source, callback);\n }, [callback, source]);\n };\n\n return {\n Component: Component,\n usePublisher: usePublisher,\n useEmitterValue: useEmitterValue,\n useEmitter: useEmitter\n };\n}\n\nexport { systemToComponent };\n//# sourceMappingURL=react-urx.esm.js.map\n","import{systemToComponent as t}from\"@virtuoso.dev/react-urx\";import*as e from\"@virtuoso.dev/urx\";import*as n from\"react\";import{useLayoutEffect as o,useEffect as r,useRef as i,useCallback as a,createElement as l,useContext as s}from\"react\";import{flushSync as u}from\"react-dom\";function c(){return c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},c.apply(this,arguments)}function m(t,e){if(null==t)return{};var n,o,r={},i=Object.keys(t);for(o=0;o<i.length;o++)e.indexOf(n=i[o])>=0||(r[n]=t[n]);return r}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function f(t,e){var n=\"undefined\"!=typeof Symbol&&t[Symbol.iterator]||t[\"@@iterator\"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if(\"string\"==typeof t)return d(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return\"Object\"===n&&t.constructor&&(n=t.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(t):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(t,e):void 0}}(t))||e&&t&&\"number\"==typeof t.length){n&&(t=n);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}var p,h,g=\"undefined\"!=typeof document?o:r;!function(t){t[t.DEBUG=0]=\"DEBUG\",t[t.INFO=1]=\"INFO\",t[t.WARN=2]=\"WARN\",t[t.ERROR=3]=\"ERROR\"}(h||(h={}));var v=((p={})[h.DEBUG]=\"debug\",p[h.INFO]=\"log\",p[h.WARN]=\"warn\",p[h.ERROR]=\"error\",p),S=e.system(function(){var t=e.statefulStream(h.ERROR);return{log:e.statefulStream(function(n,o,r){var i;void 0===r&&(r=h.INFO),r>=(null!=(i=(\"undefined\"==typeof globalThis?window:globalThis).VIRTUOSO_LOG_LEVEL)?i:e.getValue(t))&&console[v[r]](\"%creact-virtuoso: %c%s %o\",\"color: #0253b3; font-weight: bold\",\"color: initial\",n,o)}),logLevel:t}},[],{singleton:!0});function I(t,e){void 0===e&&(e=!0);var n=i(null),o=function(t){};if(\"undefined\"!=typeof ResizeObserver){var r=new ResizeObserver(function(e){var n=e[0].target;null!==n.offsetParent&&t(n)});o=function(t){t&&e?(r.observe(t),n.current=t):(n.current&&r.unobserve(n.current),n.current=null)}}return{ref:n,callbackRef:o}}function C(t,e){return void 0===e&&(e=!0),I(t,e).callbackRef}function T(t,e,n,o,r,i,a){return I(function(n){for(var l=function(t,e,n,o){var r=t.length;if(0===r)return null;for(var i=[],a=0;a<r;a++){var l=t.item(a);if(l&&void 0!==l.dataset.index){var s=parseInt(l.dataset.index),u=parseFloat(l.dataset.knownSize),c=e(l,\"offsetHeight\");if(0===c&&o(\"Zero-sized element, this should not happen\",{child:l},h.ERROR),c!==u){var m=i[i.length-1];0===i.length||m.size!==c||m.endIndex!==s-1?i.push({startIndex:s,endIndex:s,size:c}):i[i.length-1].endIndex++}}}return i}(n.children,e,0,r),s=n.parentElement;!s.dataset.virtuosoScroller;)s=s.parentElement;var u=\"window\"===s.firstElementChild.dataset.viewportType,c=a?a.scrollTop:u?window.pageYOffset||document.documentElement.scrollTop:s.scrollTop,m=a?a.scrollHeight:u?document.documentElement.scrollHeight:s.scrollHeight,d=a?a.offsetHeight:u?window.innerHeight:s.offsetHeight;o({scrollTop:Math.max(c,0),scrollHeight:m,viewportHeight:d}),null==i||i(function(t,e,n){return\"normal\"===e||null!=e&&e.endsWith(\"px\")||n(\"row-gap was not resolved to pixel value correctly\",e,h.WARN),\"normal\"===e?0:parseInt(null!=e?e:\"0\",10)}(0,getComputedStyle(n).rowGap,r)),null!==l&&t(l)},n)}function w(t,e){return Math.round(t.getBoundingClientRect()[e])}function x(t,e){return Math.abs(t-e)<1.01}function b(t,n,o,l,s){void 0===l&&(l=e.noop);var c=i(null),m=i(null),d=i(null),f=i(!1),p=a(function(e){var o=e.target,r=o===window||o===document,i=r?window.pageYOffset||document.documentElement.scrollTop:o.scrollTop,a=r?document.documentElement.scrollHeight:o.scrollHeight,l=r?window.innerHeight:o.offsetHeight,s=function(){t({scrollTop:Math.max(i,0),scrollHeight:a,viewportHeight:l})};f.current?u(s):s(),f.current=!1,null!==m.current&&(i===m.current||i<=0||i===a-l)&&(m.current=null,n(!0),d.current&&(clearTimeout(d.current),d.current=null))},[t,n]);return r(function(){var t=s||c.current;return l(s||c.current),p({target:t}),t.addEventListener(\"scroll\",p,{passive:!0}),function(){l(null),t.removeEventListener(\"scroll\",p)}},[c,p,o,l,s]),{scrollerRef:c,scrollByCallback:function(t){f.current=!0,c.current.scrollBy(t)},scrollToCallback:function(e){var o=c.current;if(o&&(!(\"offsetHeight\"in o)||0!==o.offsetHeight)){var r,i,a,l=\"smooth\"===e.behavior;if(o===window?(i=Math.max(w(document.documentElement,\"height\"),document.documentElement.scrollHeight),r=window.innerHeight,a=document.documentElement.scrollTop):(i=o.scrollHeight,r=w(o,\"height\"),a=o.scrollTop),e.top=Math.ceil(Math.max(Math.min(i-r,e.top),0)),x(r,i)||e.top===a)return t({scrollTop:a,scrollHeight:i,viewportHeight:r}),void(l&&n(!0));l?(m.current=e.top,d.current&&clearTimeout(d.current),d.current=setTimeout(function(){d.current=null,m.current=null,n(!0)},1e3)):m.current=null,o.scrollTo(e)}}}}var y=e.system(function(){var t=e.stream(),n=e.stream(),o=e.statefulStream(0),r=e.stream(),i=e.statefulStream(0),a=e.stream(),l=e.stream(),s=e.statefulStream(0),u=e.statefulStream(0),c=e.statefulStream(0),m=e.statefulStream(0),d=e.stream(),f=e.stream(),p=e.statefulStream(!1),h=e.statefulStream(!1);return e.connect(e.pipe(t,e.map(function(t){return t.scrollTop})),n),e.connect(e.pipe(t,e.map(function(t){return t.scrollHeight})),l),e.connect(n,i),{scrollContainerState:t,scrollTop:n,viewportHeight:a,headerHeight:s,fixedHeaderHeight:u,fixedFooterHeight:c,footerHeight:m,scrollHeight:l,smoothScrollTargetReached:r,react18ConcurrentRendering:h,scrollTo:d,scrollBy:f,statefulScrollTop:i,deviation:o,scrollingInProgress:p}},[],{singleton:!0}),H={lvl:0};function E(t,e,n,o,r){return void 0===o&&(o=H),void 0===r&&(r=H),{k:t,v:e,lvl:n,l:o,r:r}}function R(t){return t===H}function L(){return H}function k(t,e){if(R(t))return H;var n=t.k,o=t.l,r=t.r;if(e===n){if(R(o))return r;if(R(r))return o;var i=O(o);return A(V(t,{k:i[0],v:i[1],l:M(o)}))}return A(V(t,e<n?{l:k(o,e)}:{r:k(r,e)}))}function F(t,e,n){if(void 0===n&&(n=\"k\"),R(t))return[-Infinity,void 0];if(t[n]===e)return[t.k,t.v];if(t[n]<e){var o=F(t.r,e,n);return-Infinity===o[0]?[t.k,t.v]:o}return F(t.l,e,n)}function z(t,e,n){return R(t)?E(e,n,1):e===t.k?V(t,{k:e,v:n}):function(t){return D(G(t))}(V(t,e<t.k?{l:z(t.l,e,n)}:{r:z(t.r,e,n)}))}function B(t,e,n){if(R(t))return[];var o=t.k,r=t.v,i=t.r,a=[];return o>e&&(a=a.concat(B(t.l,e,n))),o>=e&&o<=n&&a.push({k:o,v:r}),o<=n&&(a=a.concat(B(i,e,n))),a}function P(t){return R(t)?[]:[].concat(P(t.l),[{k:t.k,v:t.v}],P(t.r))}function O(t){return R(t.r)?[t.k,t.v]:O(t.r)}function M(t){return R(t.r)?t.l:A(V(t,{r:M(t.r)}))}function V(t,e){return E(void 0!==e.k?e.k:t.k,void 0!==e.v?e.v:t.v,void 0!==e.lvl?e.lvl:t.lvl,void 0!==e.l?e.l:t.l,void 0!==e.r?e.r:t.r)}function U(t){return R(t)||t.lvl>t.r.lvl}function A(t){var e=t.l,n=t.r,o=t.lvl;if(n.lvl>=o-1&&e.lvl>=o-1)return t;if(o>n.lvl+1){if(U(e))return G(V(t,{lvl:o-1}));if(R(e)||R(e.r))throw new Error(\"Unexpected empty nodes\");return V(e.r,{l:V(e,{r:e.r.l}),r:V(t,{l:e.r.r,lvl:o-1}),lvl:o})}if(U(t))return D(V(t,{lvl:o-1}));if(R(n)||R(n.l))throw new Error(\"Unexpected empty nodes\");var r=n.l,i=U(r)?n.lvl-1:n.lvl;return V(r,{l:V(t,{r:r.l,lvl:o-1}),r:D(V(n,{l:r.r,lvl:i})),lvl:r.lvl+1})}function W(t,e,n){return R(t)?[]:N(B(t,F(t,e)[0],n),function(t){return{index:t.k,value:t.v}})}function N(t,e){var n=t.length;if(0===n)return[];for(var o=e(t[0]),r=o.index,i=o.value,a=[],l=1;l<n;l++){var s=e(t[l]),u=s.index,c=s.value;a.push({start:r,end:u-1,value:i}),r=u,i=c}return a.push({start:r,end:Infinity,value:i}),a}function D(t){var e=t.r,n=t.lvl;return R(e)||R(e.r)||e.lvl!==n||e.r.lvl!==n?t:V(e,{l:V(t,{r:e.l}),lvl:n+1})}function G(t){var e=t.l;return R(e)||e.lvl!==t.lvl?t:V(e,{r:V(t,{l:e.r})})}function _(t,e,n,o){void 0===o&&(o=0);for(var r=t.length-1;o<=r;){var i=Math.floor((o+r)/2),a=n(t[i],e);if(0===a)return i;if(-1===a){if(r-o<2)return i-1;r=i-1}else{if(r===o)return i;o=i+1}}throw new Error(\"Failed binary finding record in array - \"+t.join(\",\")+\", searched for \"+e)}function j(t,e,n){return t[_(t,e,n)]}var K=e.system(function(){return{recalcInProgress:e.statefulStream(!1)}},[],{singleton:!0});function Y(t){var e=t.size,n=t.startIndex,o=t.endIndex;return function(t){return t.start===n&&(t.end===o||Infinity===t.end)&&t.value===e}}function q(t,e){var n=t.index;return e===n?0:e<n?-1:1}function Z(t,e){var n=t.offset;return e===n?0:e<n?-1:1}function J(t){return{index:t.index,value:t}}function $(t,e,n,o){var r=t,i=0,a=0,l=0,s=0;if(0!==e){l=r[s=_(r,e-1,q)].offset;var u=F(n,e-1);i=u[0],a=u[1],r.length&&r[s].size===F(n,e)[1]&&(s-=1),r=r.slice(0,s+1)}else r=[];for(var c,m=f(W(n,e,Infinity));!(c=m()).done;){var d=c.value,p=d.start,h=d.value,g=p-i,v=g*a+l+g*o;r.push({offset:v,size:h,index:p}),i=p,l=v,a=h}return{offsetTree:r,lastIndex:i,lastOffset:l,lastSize:a}}function Q(t,e){var n=e[0],o=e[1],r=e[3];n.length>0&&(0,e[2])(\"received item sizes\",n,h.DEBUG);var i=t.sizeTree,a=i,l=0;if(o.length>0&&R(i)&&2===n.length){var s=n[0].size,u=n[1].size;a=o.reduce(function(t,e){return z(z(t,e,s),e+1,u)},a)}else{var c=function(t,e){for(var n,o=R(t)?0:Infinity,r=f(e);!(n=r()).done;){var i=n.value,a=i.size,l=i.startIndex,s=i.endIndex;if(o=Math.min(o,l),R(t))t=z(t,0,a);else{var u=W(t,l-1,s+1);if(!u.some(Y(i))){for(var c,m=!1,d=!1,p=f(u);!(c=p()).done;){var h=c.value,g=h.start,v=h.end,S=h.value;m?(s>=g||a===S)&&(t=k(t,g)):(d=S!==a,m=!0),v>s&&s>=g&&S!==a&&(t=z(t,s+1,S))}d&&(t=z(t,l,a))}}}return[t,o]}(a,n);a=c[0],l=c[1]}if(a===i)return t;var m=$(t.offsetTree,l,a,r),d=m.offsetTree;return{sizeTree:a,offsetTree:d,lastIndex:m.lastIndex,lastOffset:m.lastOffset,lastSize:m.lastSize,groupOffsetTree:o.reduce(function(t,e){return z(t,e,X(e,d,r))},L()),groupIndices:o}}function X(t,e,n){if(0===e.length)return 0;var o=j(e,t,q),r=t-o.index,i=o.size*r+(r-1)*n+o.offset;return i>0?i+n:i}function tt(t,e,n){if(function(t){return void 0!==t.groupIndex}(t))return e.groupIndices[t.groupIndex]+1;var o=et(\"LAST\"===t.index?n:t.index,e);return Math.max(0,o,Math.min(n,o))}function et(t,e){if(!nt(e))return t;for(var n=0;e.groupIndices[n]<=t+n;)n++;return t+n}function nt(t){return!R(t.groupOffsetTree)}var ot={offsetHeight:\"height\",offsetWidth:\"width\"},rt=e.system(function(t){var n=t[0].log,o=t[1].recalcInProgress,r=e.stream(),i=e.stream(),a=e.statefulStreamFromEmitter(i,0),l=e.stream(),s=e.stream(),u=e.statefulStream(0),m=e.statefulStream([]),d=e.statefulStream(void 0),f=e.statefulStream(void 0),p=e.statefulStream(function(t,e){return w(t,ot[e])}),g=e.statefulStream(void 0),v=e.statefulStream(0),S={offsetTree:[],sizeTree:L(),groupOffsetTree:L(),lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]},I=e.statefulStreamFromEmitter(e.pipe(r,e.withLatestFrom(m,n,v),e.scan(Q,S),e.distinctUntilChanged()),S);e.connect(e.pipe(m,e.filter(function(t){return t.length>0}),e.withLatestFrom(I,v),e.map(function(t){var e=t[0],n=t[1],o=t[2],r=e.reduce(function(t,e,r){return z(t,e,X(e,n.offsetTree,o)||r)},L());return c({},n,{groupIndices:e,groupOffsetTree:r})})),I),e.connect(e.pipe(i,e.withLatestFrom(I),e.filter(function(t){return t[0]<t[1].lastIndex}),e.map(function(t){var e=t[1];return[{startIndex:t[0],endIndex:e.lastIndex,size:e.lastSize}]})),r),e.connect(d,f);var C=e.statefulStreamFromEmitter(e.pipe(d,e.map(function(t){return void 0===t})),!0);e.connect(e.pipe(f,e.filter(function(t){return void 0!==t&&R(e.getValue(I).sizeTree)}),e.map(function(t){return[{startIndex:0,endIndex:0,size:t}]})),r);var T=e.streamFromEmitter(e.pipe(r,e.withLatestFrom(I),e.scan(function(t,e){var n=e[1];return{changed:n!==t.sizes,sizes:n}},{changed:!1,sizes:S}),e.map(function(t){return t.changed})));e.subscribe(e.pipe(u,e.scan(function(t,e){return{diff:t.prev-e,prev:e}},{diff:0,prev:0}),e.map(function(t){return t.diff})),function(t){t>0?(e.publish(o,!0),e.publish(l,t)):t<0&&e.publish(s,t)}),e.subscribe(e.pipe(u,e.withLatestFrom(n)),function(t){t[0]<0&&(0,t[1])(\"`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value\",{firstItemIndex:u},h.ERROR)});var x=e.streamFromEmitter(l);e.connect(e.pipe(l,e.withLatestFrom(I),e.map(function(t){var e=t[0],n=t[1];if(n.groupIndices.length>0)throw new Error(\"Virtuoso: prepending items does not work with groups\");return P(n.sizeTree).reduce(function(t,n){var o=n.k,r=n.v;return{ranges:[].concat(t.ranges,[{startIndex:t.prevIndex,endIndex:o+e-1,size:t.prevSize}]),prevIndex:o+e,prevSize:r}},{ranges:[],prevIndex:0,prevSize:n.lastSize}).ranges})),r);var b=e.streamFromEmitter(e.pipe(s,e.withLatestFrom(I,v),e.map(function(t){return X(-t[0],t[1].offsetTree,t[2])})));return e.connect(e.pipe(s,e.withLatestFrom(I,v),e.map(function(t){var e=t[0],n=t[1],o=t[2];if(n.groupIndices.length>0)throw new Error(\"Virtuoso: shifting items does not work with groups\");var r=P(n.sizeTree).reduce(function(t,n){var o=n.v;return z(t,Math.max(0,n.k+e),o)},L());return c({},n,{sizeTree:r},$(n.offsetTree,0,r,o))})),I),{data:g,totalCount:i,sizeRanges:r,groupIndices:m,defaultItemSize:f,fixedItemSize:d,unshiftWith:l,shiftWith:s,shiftWithOffset:b,beforeUnshiftWith:x,firstItemIndex:u,gap:v,sizes:I,listRefresh:T,statefulTotalCount:a,trackItemSizes:C,itemSize:p}},e.tup(S,K),{singleton:!0}),it=\"undefined\"!=typeof document&&\"scrollBehavior\"in document.documentElement.style;function at(t){var e=\"number\"==typeof t?{index:t}:t;return e.align||(e.align=\"start\"),e.behavior&&it||(e.behavior=\"auto\"),e.offset||(e.offset=0),e}var lt=e.system(function(t){var n=t[0],o=n.sizes,r=n.totalCount,i=n.listRefresh,a=n.gap,l=t[1],s=l.scrollingInProgress,u=l.viewportHeight,c=l.scrollTo,m=l.smoothScrollTargetReached,d=l.headerHeight,f=l.footerHeight,p=l.fixedHeaderHeight,g=l.fixedFooterHeight,v=t[2].log,S=e.stream(),I=e.statefulStream(0),C=null,T=null,w=null;function x(){C&&(C(),C=null),w&&(w(),w=null),T&&(clearTimeout(T),T=null),e.publish(s,!1)}return e.connect(e.pipe(S,e.withLatestFrom(o,u,r,I,d,f,v),e.withLatestFrom(a,p,g),e.map(function(t){var n=t[0],o=n[0],r=n[1],a=n[2],l=n[3],u=n[4],c=n[5],d=n[6],f=n[7],p=t[1],g=t[2],v=t[3],I=at(o),b=I.align,y=I.behavior,H=I.offset,E=l-1,R=tt(I,r,E),L=X(R,r.offsetTree,p)+c;\"end\"===b?(L+=g+F(r.sizeTree,R)[1]-a+v,R===E&&(L+=d)):\"center\"===b?L+=(g+F(r.sizeTree,R)[1]-a+v)/2:L-=u,H&&(L+=H);var k=function(t){x(),t?(f(\"retrying to scroll to\",{location:o},h.DEBUG),e.publish(S,o)):f(\"list did not change, scroll successful\",{},h.DEBUG)};if(x(),\"smooth\"===y){var z=!1;w=e.subscribe(i,function(t){z=z||t}),C=e.handleNext(m,function(){k(z)})}else C=e.handleNext(e.pipe(i,function(t){var e=setTimeout(function(){t(!1)},150);return function(n){n&&(t(!0),clearTimeout(e))}}),k);return T=setTimeout(function(){x()},1200),e.publish(s,!0),f(\"scrolling from index to\",{index:R,top:L,behavior:y},h.DEBUG),{top:L,behavior:y}})),c),{scrollToIndex:S,topListHeight:I}},e.tup(rt,y,S),{singleton:!0}),st=\"up\",ut={atBottom:!1,notAtBottomBecause:\"NOT_SHOWING_LAST_ITEM\",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},ct=e.system(function(t){var n=t[0],o=n.scrollContainerState,r=n.scrollTop,i=n.viewportHeight,a=n.headerHeight,l=n.footerHeight,s=n.scrollBy,u=e.statefulStream(!1),c=e.statefulStream(!0),m=e.stream(),d=e.stream(),f=e.statefulStream(4),p=e.statefulStream(0),h=e.statefulStreamFromEmitter(e.pipe(e.merge(e.pipe(e.duc(r),e.skip(1),e.mapTo(!0)),e.pipe(e.duc(r),e.skip(1),e.mapTo(!1),e.debounceTime(100))),e.distinctUntilChanged()),!1),g=e.statefulStreamFromEmitter(e.pipe(e.merge(e.pipe(s,e.mapTo(!0)),e.pipe(s,e.mapTo(!1),e.debounceTime(200))),e.distinctUntilChanged()),!1);e.connect(e.pipe(e.combineLatest(e.duc(r),e.duc(p)),e.map(function(t){return t[0]<=t[1]}),e.distinctUntilChanged()),c),e.connect(e.pipe(c,e.throttleTime(50)),d);var v=e.streamFromEmitter(e.pipe(e.combineLatest(o,e.duc(i),e.duc(a),e.duc(l),e.duc(f)),e.scan(function(t,e){var n,o,r=e[0],i=r.scrollTop,a=r.scrollHeight,l=e[1],s={viewportHeight:l,scrollTop:i,scrollHeight:a};return i+l-a>-e[4]?(i>t.state.scrollTop?(n=\"SCROLLED_DOWN\",o=t.state.scrollTop-i):(n=\"SIZE_DECREASED\",o=t.state.scrollTop-i||t.scrollTopDelta),{atBottom:!0,state:s,atBottomBecause:n,scrollTopDelta:o}):{atBottom:!1,notAtBottomBecause:s.scrollHeight>t.state.scrollHeight?\"SIZE_INCREASED\":l<t.state.viewportHeight?\"VIEWPORT_HEIGHT_DECREASING\":i<t.state.scrollTop?\"SCROLLING_UPWARDS\":\"NOT_FULLY_SCROLLED_TO_LAST_ITEM_BOTTOM\",state:s}},ut),e.distinctUntilChanged(function(t,e){return t&&t.atBottom===e.atBottom}))),S=e.statefulStreamFromEmitter(e.pipe(o,e.scan(function(t,e){var n=e.scrollTop,o=e.scrollHeight,r=e.viewportHeight;return x(t.scrollHeight,o)?{scrollTop:n,scrollHeight:o,jump:0,changed:!1}:t.scrollTop!==n&&o-(n+r)<1?{scrollHeight:o,scrollTop:n,jump:t.scrollTop-n,changed:!0}:{scrollHeight:o,scrollTop:n,jump:0,changed:!0}},{scrollHeight:0,jump:0,scrollTop:0,changed:!1}),e.filter(function(t){return t.changed}),e.map(function(t){return t.jump})),0);e.connect(e.pipe(v,e.map(function(t){return t.atBottom})),u),e.connect(e.pipe(u,e.throttleTime(50)),m);var I=e.statefulStream(\"down\");e.connect(e.pipe(o,e.map(function(t){return t.scrollTop}),e.distinctUntilChanged(),e.scan(function(t,n){return e.getValue(g)?{direction:t.direction,prevScrollTop:n}:{direction:n<t.prevScrollTop?st:\"down\",prevScrollTop:n}},{direction:\"down\",prevScrollTop:0}),e.map(function(t){return t.direction})),I),e.connect(e.pipe(o,e.throttleTime(50),e.mapTo(\"none\")),I);var C=e.statefulStream(0);return e.connect(e.pipe(h,e.filter(function(t){return!t}),e.mapTo(0)),C),e.connect(e.pipe(r,e.throttleTime(100),e.withLatestFrom(h),e.filter(function(t){return!!t[1]}),e.scan(function(t,e){return[t[1],e[0]]},[0,0]),e.map(function(t){return t[1]-t[0]})),C),{isScrolling:h,isAtTop:c,isAtBottom:u,atBottomState:v,atTopStateChange:d,atBottomStateChange:m,scrollDirection:I,atBottomThreshold:f,atTopThreshold:p,scrollVelocity:C,lastJumpDueToItemResize:S}},e.tup(y)),mt=e.system(function(t){var n=t[0].log,o=e.statefulStream(!1),r=e.streamFromEmitter(e.pipe(o,e.filter(function(t){return t}),e.distinctUntilChanged()));return e.subscribe(o,function(t){t&&e.getValue(n)(\"props updated\",{},h.DEBUG)}),{propsReady:o,didMount:r}},e.tup(S),{singleton:!0}),dt=e.system(function(t){var n=t[0],o=n.sizes,r=n.listRefresh,i=n.defaultItemSize,a=t[1].scrollTop,l=t[2].scrollToIndex,s=t[3].didMount,u=e.statefulStream(!0),c=e.statefulStream(0);return e.connect(e.pipe(s,e.withLatestFrom(c),e.filter(function(t){return!!t[1]}),e.mapTo(!1)),u),e.subscribe(e.pipe(e.combineLatest(r,s),e.withLatestFrom(u,o,i),e.filter(function(t){var e=t[1],n=t[3];return t[0][1]&&(!R(t[2].sizeTree)||void 0!==n)&&!e}),e.withLatestFrom(c)),function(t){var n=t[1];setTimeout(function(){e.handleNext(a,function(){e.publish(u,!0)}),e.publish(l,n)})}),{scrolledToInitialItem:u,initialTopMostItemIndex:c}},e.tup(rt,y,lt,mt),{singleton:!0});function ft(t){return!!t&&(\"smooth\"===t?\"smooth\":\"auto\")}var pt=e.system(function(t){var n=t[0],o=n.totalCount,r=n.listRefresh,i=t[1],a=i.isAtBottom,l=i.atBottomState,s=t[2].scrollToIndex,u=t[3].scrolledToInitialItem,c=t[4],m=c.propsReady,d=c.didMount,f=t[5].log,p=t[6].scrollingInProgress,g=e.statefulStream(!1),v=e.stream(),S=null;function I(t){e.publish(s,{index:\"LAST\",align:\"end\",behavior:t})}function C(t){var n=e.handleNext(l,function(n){!t||n.atBottom||\"SIZE_INCREASED\"!==n.notAtBottomBecause||S||(e.getValue(f)(\"scrolling to bottom due to increased size\",{},h.DEBUG),I(\"auto\"))});setTimeout(n,100)}return e.subscribe(e.pipe(e.combineLatest(e.pipe(e.duc(o),e.skip(1)),d),e.withLatestFrom(e.duc(g),a,u,p),e.map(function(t){var e=t[0],n=e[0],o=e[1]&&t[3],r=\"auto\";return o&&(r=function(t,e){return\"function\"==typeof t?ft(t(e)):e&&ft(t)}(t[1],t[2]||t[4]),o=o&&!!r),{totalCount:n,shouldFollow:o,followOutputBehavior:r}}),e.filter(function(t){return t.shouldFollow})),function(t){var n=t.totalCount,o=t.followOutputBehavior;S&&(S(),S=null),S=e.handleNext(r,function(){e.getValue(f)(\"following output to \",{totalCount:n},h.DEBUG),I(o),S=null})}),e.subscribe(e.pipe(e.combineLatest(e.duc(g),o,m),e.filter(function(t){return t[0]&&t[2]}),e.scan(function(t,e){var n=e[1];return{refreshed:t.value===n,value:n}},{refreshed:!1,value:0}),e.filter(function(t){return t.refreshed}),e.withLatestFrom(g,o)),function(t){C(!1!==t[1])}),e.subscribe(v,function(){C(!1!==e.getValue(g))}),e.subscribe(e.combineLatest(e.duc(g),l),function(t){var e=t[1];t[0]&&!e.atBottom&&\"VIEWPORT_HEIGHT_DECREASING\"===e.notAtBottomBecause&&I(\"auto\")}),{followOutput:g,autoscrollToBottom:v}},e.tup(rt,ct,lt,dt,mt,S,y));function ht(t){return t.reduce(function(t,e){return t.groupIndices.push(t.totalCount),t.totalCount+=e+1,t},{totalCount:0,groupIndices:[]})}var gt=e.system(function(t){var n=t[0],o=n.totalCount,r=n.groupIndices,i=n.sizes,a=t[1],l=a.scrollTop,s=a.headerHeight,u=e.stream(),c=e.stream(),m=e.streamFromEmitter(e.pipe(u,e.map(ht)));return e.connect(e.pipe(m,e.map(function(t){return t.totalCount})),o),e.connect(e.pipe(m,e.map(function(t){return t.groupIndices})),r),e.connect(e.pipe(e.combineLatest(l,i,s),e.filter(function(t){return nt(t[1])}),e.map(function(t){return F(t[1].groupOffsetTree,Math.max(t[0]-t[2],0),\"v\")[0]}),e.distinctUntilChanged(),e.map(function(t){return[t]})),c),{groupCounts:u,topItemsIndexes:c}},e.tup(rt,y));function vt(t,e){return!(!t||t[0]!==e[0]||t[1]!==e[1])}function St(t,e){return!(!t||t.startIndex!==e.startIndex||t.endIndex!==e.endIndex)}function It(t,e,n){return\"number\"==typeof t?n===st&&\"top\"===e||\"down\"===n&&\"bottom\"===e?t:0:n===st?\"top\"===e?t.main:t.reverse:\"bottom\"===e?t.main:t.reverse}function Ct(t,e){return\"number\"==typeof t?t:t[e]||0}var Tt=e.system(function(t){var n=t[0],o=n.scrollTop,r=n.viewportHeight,i=n.deviation,a=n.headerHeight,l=n.fixedHeaderHeight,s=e.stream(),u=e.statefulStream(0),c=e.statefulStream(0),m=e.statefulStream(0),d=e.statefulStreamFromEmitter(e.pipe(e.combineLatest(e.duc(o),e.duc(r),e.duc(a),e.duc(s,vt),e.duc(m),e.duc(u),e.duc(l),e.duc(i),e.duc(c)),e.map(function(t){var e=t[0],n=t[1],o=t[2],r=t[3],i=r[0],a=r[1],l=t[4],s=t[6],u=t[7],c=t[8],m=e-u,d=t[5]+s,f=Math.max(o-m,0),p=\"none\",h=Ct(c,\"top\"),g=Ct(c,\"bottom\");return i-=u,a+=o+s,(i+=o+s)>e+d-h&&(p=st),(a-=u)<e-f+n+g&&(p=\"down\"),\"none\"!==p?[Math.max(m-o-It(l,\"top\",p)-h,0),m-f-s+n+It(l,\"bottom\",p)+g]:null}),e.filter(function(t){return null!=t}),e.distinctUntilChanged(vt)),[0,0]);return{listBoundary:s,overscan:m,topListHeight:u,increaseViewportBy:c,visibleRange:d}},e.tup(y),{singleton:!0}),wt={items:[],topItems:[],offsetTop:0,offsetBottom:0,top:0,bottom:0,topListHeight:0,totalCount:0,firstItemIndex:0};function xt(t,e,n){if(0===t.length)return[];if(!nt(e))return t.map(function(t){return c({},t,{index:t.index+n,originalIndex:t.index})});for(var o,r=[],i=W(e.groupOffsetTree,t[0].index,t[t.length-1].index),a=void 0,l=0,s=f(t);!(o=s()).done;){var u=o.value;(!a||a.end<u.index)&&(a=i.shift(),l=e.groupIndices.indexOf(a.start)),r.push(c({},u.index===a.start?{type:\"group\",index:l}:{index:u.index-(l+1)+n,groupIndex:l},{size:u.size,offset:u.offset,originalIndex:u.index,data:u.data}))}return r}function bt(t,e,n,o,r,i){var a=0,l=0;if(t.length>0){a=t[0].offset;var s=t[t.length-1];l=s.offset+s.size}var u=n-r.lastIndex,c=a,m=r.lastOffset+u*r.lastSize+(u-1)*o-l;return{items:xt(t,r,i),topItems:xt(e,r,i),topListHeight:e.reduce(function(t,e){return e.size+t},0),offsetTop:a,offsetBottom:m,top:c,bottom:l,totalCount:n,firstItemIndex:i}}var yt=e.system(function(t){var n=t[0],o=n.sizes,r=n.totalCount,i=n.data,a=n.firstItemIndex,l=n.gap,s=t[1],u=t[2],m=u.visibleRange,d=u.listBoundary,p=u.topListHeight,h=t[3],g=h.scrolledToInitialItem,v=h.initialTopMostItemIndex,S=t[4].topListHeight,I=t[5],C=t[6].didMount,T=t[7].recalcInProgress,w=e.statefulStream([]),x=e.stream();e.connect(s.topItemsIndexes,w);var b=e.statefulStreamFromEmitter(e.pipe(e.combineLatest(C,T,e.duc(m,vt),e.duc(r),e.duc(o),e.duc(v),g,e.duc(w),e.duc(a),e.duc(l),i),e.filter(function(t){return t[0]&&!t[1]}),e.map(function(t){var n=t[2],o=n[0],r=n[1],i=t[3],a=t[5],l=t[6],s=t[7],u=t[8],m=t[9],d=t[10],p=t[4],h=p.sizeTree,g=p.offsetTree;if(0===i||0===o&&0===r)return c({},wt,{totalCount:i});if(R(h))return bt(function(t,e,n){if(nt(e)){var o=et(t,e);return[{index:F(e.groupOffsetTree,o)[0],size:0,offset:0},{index:o,size:0,offset:0,data:n&&n[0]}]}return[{index:t,size:0,offset:0,data:n&&n[0]}]}(function(t,e){return\"number\"==typeof t?t:\"LAST\"===t.index?e-1:t.index}(a,i),p,d),[],i,m,p,u);var v=[];if(s.length>0)for(var S,I=s[0],C=s[s.length-1],T=0,w=f(W(h,I,C));!(S=w()).done;)for(var x=S.value,b=x.value,y=Math.max(x.start,I),H=Math.min(x.end,C),E=y;E<=H;E++)v.push({index:E,size:b,offset:T,data:d&&d[E]}),T+=b;if(!l)return bt([],v,i,m,p,u);var L=s.length>0?s[s.length-1]+1:0,k=function(t,e,n,o){return void 0===o&&(o=0),o>0&&(e=Math.max(e,j(t,o,q).offset)),N((i=n,l=_(r=t,e,a=Z),s=_(r,i,a,l),r.slice(l,s+1)),J);var r,i,a,l,s}(g,o,r,L);if(0===k.length)return null;var z=i-1;return bt(e.tap([],function(t){for(var e,n=f(k);!(e=n()).done;){var i=e.value,a=i.value,l=a.offset,s=i.start,u=a.size;if(a.offset<o){var c=(s+=Math.floor((o-a.offset+m)/(u+m)))-i.start;l+=c*u+c*m}s<L&&(l+=(L-s)*u,s=L);for(var p=Math.min(i.end,z),h=s;h<=p&&!(l>=r);h++)t.push({index:h,size:u,offset:l,data:d&&d[h]}),l+=u+m}}),v,i,m,p,u)}),e.filter(function(t){return null!==t}),e.distinctUntilChanged()),wt);return e.connect(e.pipe(i,e.filter(function(t){return void 0!==t}),e.map(function(t){return t.length})),r),e.connect(e.pipe(b,e.map(function(t){return t.topListHeight})),S),e.connect(S,p),e.connect(e.pipe(b,e.map(function(t){return[t.top,t.bottom]})),d),e.connect(e.pipe(b,e.map(function(t){return t.items})),x),c({listState:b,topItemsIndexes:w,endReached:e.streamFromEmitter(e.pipe(b,e.filter(function(t){return t.items.length>0}),e.withLatestFrom(r,i),e.filter(function(t){var e=t[0].items;return e[e.length-1].originalIndex===t[1]-1}),e.map(function(t){return[t[1]-1,t[2]]}),e.distinctUntilChanged(vt),e.map(function(t){return t[0]}))),startReached:e.streamFromEmitter(e.pipe(b,e.throttleTime(200),e.filter(function(t){var e=t.items;return e.length>0&&e[0].originalIndex===t.topItems.length}),e.map(function(t){return t.items[0].index}),e.distinctUntilChanged())),rangeChanged:e.streamFromEmitter(e.pipe(b,e.filter(function(t){return t.items.length>0}),e.map(function(t){for(var e=t.items,n=0,o=e.length-1;\"group\"===e[n].type&&n<o;)n++;for(;\"group\"===e[o].type&&o>n;)o--;return{startIndex:e[n].index,endIndex:e[o].index}}),e.distinctUntilChanged(St))),itemsRendered:x},I)},e.tup(rt,gt,Tt,dt,lt,ct,mt,K),{singleton:!0}),Ht=e.system(function(t){var n=t[0],o=n.sizes,r=n.firstItemIndex,i=n.data,a=n.gap,l=t[1].listState,s=t[2].didMount,u=e.statefulStream(0);return e.connect(e.pipe(s,e.withLatestFrom(u),e.filter(function(t){return 0!==t[1]}),e.withLatestFrom(o,r,a,i),e.map(function(t){var e=t[0][1],n=t[1],o=t[2],r=t[3],i=t[4],a=void 0===i?[]:i,l=0;if(n.groupIndices.length>0)for(var s,u=f(n.groupIndices);!((s=u()).done||s.value-l>=e);)l++;var c=e+l;return bt(Array.from({length:c}).map(function(t,e){return{index:e,size:0,offset:0,data:a[e]}}),[],c,r,n,o)})),l),{initialItemCount:u}},e.tup(rt,yt,mt),{singleton:!0}),Et=e.system(function(t){var n=t[0].scrollVelocity,o=e.statefulStream(!1),r=e.stream(),i=e.statefulStream(!1);return e.connect(e.pipe(n,e.withLatestFrom(i,o,r),e.filter(function(t){return!!t[1]}),e.map(function(t){var e=t[0],n=t[1],o=t[2],r=t[3],i=n.enter;if(o){if((0,n.exit)(e,r))return!1}else if(i(e,r))return!0;return o}),e.distinctUntilChanged()),o),e.subscribe(e.pipe(e.combineLatest(o,n,r),e.withLatestFrom(i)),function(t){var e=t[0],n=t[1];return e[0]&&n&&n.change&&n.change(e[1],e[2])}),{isSeeking:o,scrollSeekConfiguration:i,scrollVelocity:n,scrollSeekRangeChanged:r}},e.tup(ct),{singleton:!0}),Rt=e.system(function(t){var n=t[0].topItemsIndexes,o=e.statefulStream(0);return e.connect(e.pipe(o,e.filter(function(t){return t>0}),e.map(function(t){return Array.from({length:t}).map(function(t,e){return e})})),n),{topItemCount:o}},e.tup(yt)),Lt=e.system(function(t){var n=t[0],o=n.footerHeight,r=n.headerHeight,i=n.fixedHeaderHeight,a=n.fixedFooterHeight,l=t[1].listState,s=e.stream(),u=e.statefulStreamFromEmitter(e.pipe(e.combineLatest(o,a,r,i,l),e.map(function(t){var e=t[4];return t[0]+t[1]+t[2]+t[3]+e.offsetBottom+e.bottom})),0);return e.connect(e.duc(u),s),{totalListHeight:u,totalListHeightChanged:s}},e.tup(y,yt),{singleton:!0});function kt(t){var e,n=!1;return function(){return n||(n=!0,e=t()),e}}var Ft=kt(function(){return/iP(ad|hone|od).+Version\\/[\\d.]+.*Safari/i.test(navigator.userAgent)}),zt=e.system(function(t){var n=t[0],o=n.scrollBy,r=n.scrollTop,i=n.deviation,a=n.scrollingInProgress,l=t[1],s=l.isScrolling,u=l.isAtBottom,c=l.scrollDirection,m=t[3],d=m.beforeUnshiftWith,f=m.shiftWithOffset,p=m.sizes,g=m.gap,v=t[4].log,S=t[5].recalcInProgress,I=e.streamFromEmitter(e.pipe(t[2].listState,e.withLatestFrom(l.lastJumpDueToItemResize),e.scan(function(t,e){var n=t[1],o=e[0],r=o.items,i=o.totalCount,a=o.bottom+o.offsetBottom,l=0;return t[2]===i&&n.length>0&&r.length>0&&(0===r[0].originalIndex&&0===n[0].originalIndex||0!=(l=a-t[3])&&(l+=e[1])),[l,r,i,a]},[0,[],0,0]),e.filter(function(t){return 0!==t[0]}),e.withLatestFrom(r,c,a,u,v),e.filter(function(t){return!t[3]&&0!==t[1]&&t[2]===st}),e.map(function(t){var e=t[0][0];return(0,t[5])(\"Upward scrolling compensation\",{amount:e},h.DEBUG),e})));function C(t){t>0?(e.publish(o,{top:-t,behavior:\"auto\"}),e.publish(i,0)):(e.publish(i,0),e.publish(o,{top:-t,behavior:\"auto\"}))}return e.subscribe(e.pipe(I,e.withLatestFrom(i,s)),function(t){var n=t[0],o=t[1];t[2]&&Ft()?e.publish(i,o-n):C(-n)}),e.subscribe(e.pipe(e.combineLatest(e.statefulStreamFromEmitter(s,!1),i,S),e.filter(function(t){return!t[0]&&!t[2]&&0!==t[1]}),e.map(function(t){return t[1]}),e.throttleTime(1)),C),e.connect(e.pipe(f,e.map(function(t){return{top:-t}})),o),e.subscribe(e.pipe(d,e.withLatestFrom(p,g),e.map(function(t){var e=t[0];return e*t[1].lastSize+e*t[2]})),function(t){e.publish(i,t),requestAnimationFrame(function(){e.publish(o,{top:t}),requestAnimationFrame(function(){e.publish(i,0),e.publish(S,!1)})})}),{deviation:i}},e.tup(y,ct,yt,rt,S,K)),Bt=e.system(function(t){var n=t[0].totalListHeight,o=t[1].didMount,r=t[2].scrollTo,i=e.statefulStream(0);return e.subscribe(e.pipe(o,e.withLatestFrom(i),e.filter(function(t){return 0!==t[1]}),e.map(function(t){return{top:t[1]}})),function(t){e.handleNext(e.pipe(n,e.filter(function(t){return 0!==t})),function(){setTimeout(function(){e.publish(r,t)})})}),{initialScrollTop:i}},e.tup(Lt,mt,y),{singleton:!0}),Pt=e.system(function(t){var n=t[0].viewportHeight,o=t[1].totalListHeight,r=e.statefulStream(!1);return{alignToBottom:r,paddingTopAddition:e.statefulStreamFromEmitter(e.pipe(e.combineLatest(r,n,o),e.filter(function(t){return t[0]}),e.map(function(t){return Math.max(0,t[1]-t[2])}),e.distinctUntilChanged()),0)}},e.tup(y,Lt),{singleton:!0}),Ot=e.system(function(t){var n=t[0],o=n.scrollTo,r=n.scrollContainerState,i=e.stream(),a=e.stream(),l=e.stream(),s=e.statefulStream(!1),u=e.statefulStream(void 0);return e.connect(e.pipe(e.combineLatest(i,a),e.map(function(t){var e=t[0],n=e.viewportHeight,o=e.scrollHeight;return{scrollTop:Math.max(0,e.scrollTop-t[1].offsetTop),scrollHeight:o,viewportHeight:n}})),r),e.connect(e.pipe(o,e.withLatestFrom(a),e.map(function(t){var e=t[0];return c({},e,{top:e.top+t[1].offsetTop})})),l),{useWindowScroll:s,customScrollParent:u,windowScrollContainerState:i,windowViewportRect:a,windowScrollTo:l}},e.tup(y)),Mt=[\"done\",\"behavior\",\"align\"],Vt=e.system(function(t){var n=t[0],o=n.sizes,r=n.totalCount,i=n.gap,a=t[1],l=a.scrollTop,s=a.viewportHeight,u=a.headerHeight,d=a.fixedHeaderHeight,f=a.fixedFooterHeight,p=a.scrollingInProgress,h=t[2].scrollToIndex,g=e.stream();return e.connect(e.pipe(g,e.withLatestFrom(o,s,r,u,d,f,l),e.withLatestFrom(i),e.map(function(t){var n=t[0],o=n[0],r=n[1],i=n[2],a=n[3],l=n[4],s=n[5],u=n[6],d=n[7],f=t[1],h=o.done,g=o.behavior,v=o.align,S=m(o,Mt),I=null,C=tt(o,r,a-1),T=X(C,r.offsetTree,f)+l+s;return T<d+s?I=c({},S,{behavior:g,align:null!=v?v:\"start\"}):T+F(r.sizeTree,C)[1]>d+i-u&&(I=c({},S,{behavior:g,align:null!=v?v:\"end\"})),I?h&&e.handleNext(e.pipe(p,e.skip(1),e.filter(function(t){return!1===t})),h):h&&h(),I}),e.filter(function(t){return null!==t})),h),{scrollIntoView:g}},e.tup(rt,y,lt,yt,S),{singleton:!0}),Ut=[\"listState\",\"topItemsIndexes\"],At=e.system(function(t){return c({},t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8])},e.tup(Tt,Ht,mt,Et,Lt,Bt,Pt,Ot,Vt)),Wt=e.system(function(t){var n=t[0],o=n.totalCount,r=n.sizeRanges,i=n.fixedItemSize,a=n.defaultItemSize,l=n.trackItemSizes,s=n.itemSize,u=n.data,d=n.firstItemIndex,f=n.groupIndices,p=n.statefulTotalCount,h=n.gap,g=t[1],v=g.initialTopMostItemIndex,S=g.scrolledToInitialItem,I=t[2],C=t[3],T=t[4],w=T.listState,x=T.topItemsIndexes,b=m(T,Ut),y=t[5].scrollToIndex,H=t[7].topItemCount,E=t[8].groupCounts,R=t[9],L=t[10];return e.connect(b.rangeChanged,R.scrollSeekRangeChanged),e.connect(e.pipe(R.windowViewportRect,e.map(function(t){return t.visibleHeight})),I.viewportHeight),c({totalCount:o,data:u,firstItemIndex:d,sizeRanges:r,initialTopMostItemIndex:v,scrolledToInitialItem:S,topItemsIndexes:x,topItemCount:H,groupCounts:E,fixedItemHeight:i,defaultItemHeight:a,gap:h},C,{statefulTotalCount:p,listState:w,scrollToIndex:y,trackItemSizes:l,itemSize:s,groupIndices:f},b,R,I,L)},e.tup(rt,dt,y,pt,yt,lt,zt,Rt,gt,At,S)),Nt=kt(function(){if(\"undefined\"==typeof document)return\"sticky\";var t=document.createElement(\"div\");return t.style.position=\"-webkit-sticky\",\"-webkit-sticky\"===t.style.position?\"-webkit-sticky\":\"sticky\"});function Dt(t,e){var n=i(null),o=a(function(o){if(null!==o&&o.offsetParent){var r,i,a=o.getBoundingClientRect(),l=a.width;if(e){var s=e.getBoundingClientRect(),u=a.top-s.top;r=s.height-Math.max(0,u),i=u+e.scrollTop}else r=window.innerHeight-Math.max(0,a.top),i=a.top+window.pageYOffset;n.current={offsetTop:i,visibleHeight:r,visibleWidth:l},t(n.current)}},[t,e]),l=I(o),s=l.callbackRef,u=l.ref,c=a(function(){o(u.current)},[o,u]);return r(function(){if(e){e.addEventListener(\"scroll\",c);var t=new ResizeObserver(c);return t.observe(e),function(){e.removeEventListener(\"scroll\",c),t.unobserve(e)}}return window.addEventListener(\"scroll\",c),window.addEventListener(\"resize\",c),function(){window.removeEventListener(\"scroll\",c),window.removeEventListener(\"resize\",c)}},[c,e]),s}var Gt=n.createContext(void 0),_t=[\"placeholder\"],jt=[\"style\",\"children\"],Kt=[\"style\",\"children\"];function Yt(t){return t}var qt=e.system(function(){var t=e.statefulStream(function(t){return\"Item \"+t}),n=e.statefulStream(null),o=e.statefulStream(function(t){return\"Group \"+t}),r=e.statefulStream({}),i=e.statefulStream(Yt),a=e.statefulStream(\"div\"),l=e.statefulStream(e.noop),s=function(t,n){return void 0===n&&(n=null),e.statefulStreamFromEmitter(e.pipe(r,e.map(function(e){return e[t]}),e.distinctUntilChanged()),n)};return{context:n,itemContent:t,groupContent:o,components:r,computeItemKey:i,headerFooterTag:a,scrollerRef:l,FooterComponent:s(\"Footer\"),HeaderComponent:s(\"Header\"),TopItemListComponent:s(\"TopItemList\"),ListComponent:s(\"List\",\"div\"),ItemComponent:s(\"Item\",\"div\"),GroupComponent:s(\"Group\",\"div\"),ScrollerComponent:s(\"Scroller\",\"div\"),EmptyPlaceholder:s(\"EmptyPlaceholder\"),ScrollSeekPlaceholder:s(\"ScrollSeekPlaceholder\")}});function Zt(t,n){var o=e.stream();return e.subscribe(o,function(){return console.warn(\"react-virtuoso: You are using a deprecated property. \"+n,\"color: red;\",\"color: inherit;\",\"color: blue;\")}),e.connect(o,t),o}var Jt=e.system(function(t){var n=t[0],o=t[1],r={item:Zt(o.itemContent,\"Rename the %citem%c prop to %citemContent.\"),group:Zt(o.groupContent,\"Rename the %cgroup%c prop to %cgroupContent.\"),topItems:Zt(n.topItemCount,\"Rename the %ctopItems%c prop to %ctopItemCount.\"),itemHeight:Zt(n.fixedItemHeight,\"Rename the %citemHeight%c prop to %cfixedItemHeight.\"),scrollingStateChange:Zt(n.isScrolling,\"Rename the %cscrollingStateChange%c prop to %cisScrolling.\"),adjustForPrependedItems:e.stream(),maxHeightCacheSize:e.stream(),footer:e.stream(),header:e.stream(),HeaderContainer:e.stream(),FooterContainer:e.stream(),ItemContainer:e.stream(),ScrollContainer:e.stream(),GroupContainer:e.stream(),ListContainer:e.stream(),emptyComponent:e.stream(),scrollSeek:e.stream()};function i(t,n,r){e.connect(e.pipe(t,e.withLatestFrom(o.components),e.map(function(t){var e,o=t[0],i=t[1];return console.warn(\"react-virtuoso: \"+r+\" property is deprecated. Pass components.\"+n+\" instead.\"),c({},i,((e={})[n]=o,e))})),o.components)}return e.subscribe(r.adjustForPrependedItems,function(){console.warn(\"react-virtuoso: adjustForPrependedItems is no longer supported. Use the firstItemIndex property instead - https://virtuoso.dev/prepend-items.\",\"color: red;\",\"color: inherit;\",\"color: blue;\")}),e.subscribe(r.maxHeightCacheSize,function(){console.warn(\"react-virtuoso: maxHeightCacheSize is no longer necessary. Setting it has no effect - remove it from your code.\")}),e.subscribe(r.HeaderContainer,function(){console.warn(\"react-virtuoso: HeaderContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the header component and pass components.Header to change its contents.\")}),e.subscribe(r.FooterContainer,function(){console.warn(\"react-virtuoso: FooterContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the footer component and pass components.Footer to change its contents.\")}),e.subscribe(r.scrollSeek,function(t){var r=t.placeholder,i=m(t,_t);console.warn(\"react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead.\"),e.publish(o.components,c({},e.getValue(o.components),{ScrollSeekPlaceholder:r})),e.publish(n.scrollSeekConfiguration,i)}),i(r.footer,\"Footer\",\"footer\"),i(r.header,\"Header\",\"header\"),i(r.ItemContainer,\"Item\",\"ItemContainer\"),i(r.ListContainer,\"List\",\"ListContainer\"),i(r.ScrollContainer,\"Scroller\",\"ScrollContainer\"),i(r.emptyComponent,\"EmptyPlaceholder\",\"emptyComponent\"),i(r.GroupContainer,\"Group\",\"GroupContainer\"),c({},n,o,r)},e.tup(Wt,qt)),$t=function(t){return n.createElement(\"div\",{style:{height:t.height}})},Qt={position:Nt(),zIndex:1,overflowAnchor:\"none\"},Xt={overflowAnchor:\"none\"},te=n.memo(function(t){var o=t.showTopList,r=void 0!==o&&o,i=he(\"listState\"),a=pe(\"sizeRanges\"),s=he(\"useWindowScroll\"),u=he(\"customScrollParent\"),m=pe(\"windowScrollContainerState\"),d=pe(\"scrollContainerState\"),f=u||s?m:d,p=he(\"itemContent\"),h=he(\"context\"),g=he(\"groupContent\"),v=he(\"trackItemSizes\"),S=he(\"itemSize\"),I=he(\"log\"),C=pe(\"gap\"),w=T(a,S,v,r?e.noop:f,I,C,u).callbackRef,x=n.useState(0),b=x[0],y=x[1];ge(\"deviation\",function(t){b!==t&&y(t)});var H=he(\"EmptyPlaceholder\"),E=he(\"ScrollSeekPlaceholder\")||$t,R=he(\"ListComponent\"),L=he(\"ItemComponent\"),k=he(\"GroupComponent\"),F=he(\"computeItemKey\"),z=he(\"isSeeking\"),B=he(\"groupIndices\").length>0,P=he(\"paddingTopAddition\"),O=r?{}:{boxSizing:\"border-box\",paddingTop:i.offsetTop+P,paddingBottom:i.offsetBottom,marginTop:b};return!r&&0===i.totalCount&&H?l(H,re(H,h)):l(R,c({},re(R,h),{ref:w,style:O,\"data-test-id\":r?\"virtuoso-top-item-list\":\"virtuoso-item-list\"}),(r?i.topItems:i.items).map(function(t){var e=t.originalIndex,n=F(e+i.firstItemIndex,t.data,h);return z?l(E,c({},re(E,h),{key:n,index:t.index,height:t.size,type:t.type||\"item\"},\"group\"===t.type?{}:{groupIndex:t.groupIndex})):\"group\"===t.type?l(k,c({},re(k,h),{key:n,\"data-index\":e,\"data-known-size\":t.size,\"data-item-index\":t.index,style:Qt}),g(t.index)):l(L,c({},re(L,h),{key:n,\"data-index\":e,\"data-known-size\":t.size,\"data-item-index\":t.index,\"data-item-group-index\":t.groupIndex,style:Xt}),B?p(t.index,t.groupIndex,t.data,h):p(t.index,t.data,h))}))}),ee={height:\"100%\",outline:\"none\",overflowY:\"auto\",position:\"relative\",WebkitOverflowScrolling:\"touch\"},ne={width:\"100%\",height:\"100%\",position:\"absolute\",top:0},oe={width:\"100%\",position:Nt(),top:0};function re(t,e){if(\"string\"!=typeof t)return{context:e}}var ie=n.memo(function(){var t=he(\"HeaderComponent\"),e=pe(\"headerHeight\"),n=he(\"headerFooterTag\"),o=C(function(t){return e(w(t,\"height\"))}),r=he(\"context\");return t?l(n,{ref:o},l(t,re(t,r))):null}),ae=n.memo(function(){var t=he(\"FooterComponent\"),e=pe(\"footerHeight\"),n=he(\"headerFooterTag\"),o=C(function(t){return e(w(t,\"height\"))}),r=he(\"context\");return t?l(n,{ref:o},l(t,re(t,r))):null});function le(t){var e=t.usePublisher,o=t.useEmitter,r=t.useEmitterValue;return n.memo(function(t){var n=t.style,i=t.children,a=m(t,jt),s=e(\"scrollContainerState\"),u=r(\"ScrollerComponent\"),d=e(\"smoothScrollTargetReached\"),f=r(\"scrollerRef\"),p=r(\"context\"),h=b(s,d,u,f),g=h.scrollerRef,v=h.scrollByCallback;return o(\"scrollTo\",h.scrollToCallback),o(\"scrollBy\",v),l(u,c({ref:g,style:c({},ee,n),\"data-test-id\":\"virtuoso-scroller\",\"data-virtuoso-scroller\":!0,tabIndex:0},a,re(u,p)),i)})}function se(t){var o=t.usePublisher,r=t.useEmitter,i=t.useEmitterValue;return n.memo(function(t){var n=t.style,a=t.children,s=m(t,Kt),u=o(\"windowScrollContainerState\"),d=i(\"ScrollerComponent\"),f=o(\"smoothScrollTargetReached\"),p=i(\"totalListHeight\"),h=i(\"deviation\"),v=i(\"customScrollParent\"),S=i(\"context\"),I=b(u,f,d,e.noop,v),C=I.scrollerRef,T=I.scrollByCallback,w=I.scrollToCallback;return g(function(){return C.current=v||window,function(){C.current=null}},[C,v]),r(\"windowScrollTo\",w),r(\"scrollBy\",T),l(d,c({style:c({position:\"relative\"},n,0!==p?{height:p+h}:{}),\"data-virtuoso-scroller\":!0},s,re(d,S)),a)})}var ue=function(t){var o=t.children,r=s(Gt),i=pe(\"viewportHeight\"),a=pe(\"fixedItemHeight\"),l=C(e.compose(i,function(t){return w(t,\"height\")}));return n.useEffect(function(){r&&(i(r.viewportHeight),a(r.itemHeight))},[r,i,a]),n.createElement(\"div\",{style:ne,ref:l,\"data-viewport-type\":\"element\"},o)},ce=function(t){var e=t.children,o=s(Gt),r=pe(\"windowViewportRect\"),i=pe(\"fixedItemHeight\"),a=he(\"customScrollParent\"),l=Dt(r,a);return n.useEffect(function(){o&&(i(o.itemHeight),r({offsetTop:0,visibleHeight:o.viewportHeight,visibleWidth:100}))},[o,r,i]),n.createElement(\"div\",{ref:l,style:ne,\"data-viewport-type\":\"window\"},e)},me=function(t){var e=t.children,n=he(\"TopItemListComponent\"),o=he(\"headerHeight\"),r=c({},oe,{marginTop:o+\"px\"}),i=he(\"context\");return l(n||\"div\",{style:r,context:i},e)},de=t(Jt,{required:{},optional:{context:\"context\",followOutput:\"followOutput\",firstItemIndex:\"firstItemIndex\",itemContent:\"itemContent\",groupContent:\"groupContent\",overscan:\"overscan\",increaseViewportBy:\"increaseViewportBy\",totalCount:\"totalCount\",topItemCount:\"topItemCount\",initialTopMostItemIndex:\"initialTopMostItemIndex\",components:\"components\",groupCounts:\"groupCounts\",atBottomThreshold:\"atBottomThreshold\",atTopThreshold:\"atTopThreshold\",computeItemKey:\"computeItemKey\",defaultItemHeight:\"defaultItemHeight\",fixedItemHeight:\"fixedItemHeight\",itemSize:\"itemSize\",scrollSeekConfiguration:\"scrollSeekConfiguration\",headerFooterTag:\"headerFooterTag\",data:\"data\",initialItemCount:\"initialItemCount\",initialScrollTop:\"initialScrollTop\",alignToBottom:\"alignToBottom\",useWindowScroll:\"useWindowScroll\",customScrollParent:\"customScrollParent\",scrollerRef:\"scrollerRef\",logLevel:\"logLevel\",react18ConcurrentRendering:\"react18ConcurrentRendering\",item:\"item\",group:\"group\",topItems:\"topItems\",itemHeight:\"itemHeight\",scrollingStateChange:\"scrollingStateChange\",maxHeightCacheSize:\"maxHeightCacheSize\",footer:\"footer\",header:\"header\",ItemContainer:\"ItemContainer\",ScrollContainer:\"ScrollContainer\",ListContainer:\"ListContainer\",GroupContainer:\"GroupContainer\",emptyComponent:\"emptyComponent\",HeaderContainer:\"HeaderContainer\",FooterContainer:\"FooterContainer\",scrollSeek:\"scrollSeek\"},methods:{scrollToIndex:\"scrollToIndex\",scrollIntoView:\"scrollIntoView\",scrollTo:\"scrollTo\",scrollBy:\"scrollBy\",adjustForPrependedItems:\"adjustForPrependedItems\",autoscrollToBottom:\"autoscrollToBottom\"},events:{isScrolling:\"isScrolling\",endReached:\"endReached\",startReached:\"startReached\",rangeChanged:\"rangeChanged\",atBottomStateChange:\"atBottomStateChange\",atTopStateChange:\"atTopStateChange\",totalListHeightChanged:\"totalListHeightChanged\",itemsRendered:\"itemsRendered\",groupIndices:\"groupIndices\"}},n.memo(function(t){var e=he(\"useWindowScroll\"),o=he(\"topItemsIndexes\").length>0,r=he(\"customScrollParent\"),i=r||e?ce:ue;return n.createElement(r||e?Se:ve,c({},t),n.createElement(i,null,n.createElement(ie,null),n.createElement(te,null),n.createElement(ae,null)),o&&n.createElement(me,null,n.createElement(te,{showTopList:!0})))})),fe=de.Component,pe=de.usePublisher,he=de.useEmitterValue,ge=de.useEmitter,ve=le({usePublisher:pe,useEmitterValue:he,useEmitter:ge}),Se=se({usePublisher:pe,useEmitterValue:he,useEmitter:ge}),Ie={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},Ce={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},Te=Math.round,we=Math.ceil,xe=Math.floor,be=Math.min,ye=Math.max;function He(t,e){return Array.from({length:e-t+1}).map(function(e,n){return{index:n+t}})}function Ee(t,e){return t&&t.column===e.column&&t.row===e.row}var Re=e.system(function(t){var n=t[0],o=n.overscan,r=n.visibleRange,i=n.listBoundary,a=t[1],l=a.scrollTop,s=a.viewportHeight,u=a.scrollBy,m=a.scrollTo,d=a.smoothScrollTargetReached,f=a.scrollContainerState,p=t[2],h=t[3],g=t[4],v=g.propsReady,S=g.didMount,I=t[5],C=I.windowViewportRect,T=I.windowScrollTo,w=I.useWindowScroll,x=I.customScrollParent,b=I.windowScrollContainerState,y=t[6],H=e.statefulStream(0),E=e.statefulStream(0),R=e.statefulStream(Ie),L=e.statefulStream({height:0,width:0}),k=e.statefulStream({height:0,width:0}),F=e.stream(),z=e.stream(),B=e.statefulStream(0),P=e.statefulStream({row:0,column:0});e.connect(e.pipe(S,e.withLatestFrom(E),e.filter(function(t){return 0!==t[1]}),e.map(function(t){return{items:He(0,t[1]-1),top:0,bottom:0,offsetBottom:0,offsetTop:0,itemHeight:0,itemWidth:0}})),R),e.connect(e.pipe(e.combineLatest(e.duc(H),r,e.duc(P,Ee),e.duc(k,function(t,e){return t&&t.width===e.width&&t.height===e.height})),e.withLatestFrom(L),e.map(function(t){var e=t[0],n=e[0],o=e[1],r=o[0],i=o[1],a=e[2],l=e[3],s=t[1],u=a.row,c=l.height,m=l.width,d=s.width;if(0===n||0===d)return Ie;if(0===m)return Ce;var f=Fe(d,m,a.column),p=f*xe((r+u)/(c+u)),h=f*we((i+u)/(c+u))-1;h=ye(0,be(n-1,h));var g=He(p=be(h,ye(0,p)),h),v=Le(s,a,l,g),S=v.top,I=v.bottom,C=we(n/f);return{items:g,offsetTop:S,offsetBottom:C*c+(C-1)*u-I,top:S,bottom:I,itemHeight:c,itemWidth:m}})),R),e.connect(e.pipe(L,e.map(function(t){return t.height})),s),e.connect(e.pipe(e.combineLatest(L,k,R,P),e.map(function(t){var e=Le(t[0],t[3],t[1],t[2].items);return[e.top,e.bottom]}),e.distinctUntilChanged(vt)),i);var O=e.streamFromEmitter(e.pipe(e.duc(R),e.filter(function(t){return t.items.length>0}),e.withLatestFrom(H),e.filter(function(t){var e=t[0].items;return e[e.length-1].index===t[1]-1}),e.map(function(t){return t[1]-1}),e.distinctUntilChanged())),M=e.streamFromEmitter(e.pipe(e.duc(R),e.filter(function(t){var e=t.items;return e.length>0&&0===e[0].index}),e.mapTo(0),e.distinctUntilChanged())),V=e.streamFromEmitter(e.pipe(e.duc(R),e.filter(function(t){return t.items.length>0}),e.map(function(t){var e=t.items;return{startIndex:e[0].index,endIndex:e[e.length-1].index}}),e.distinctUntilChanged(St)));e.connect(V,h.scrollSeekRangeChanged),e.connect(e.pipe(F,e.withLatestFrom(L,k,H,P),e.map(function(t){var e=t[1],n=t[2],o=t[3],r=t[4],i=at(t[0]),a=i.align,l=i.behavior,s=i.offset,u=i.index;\"LAST\"===u&&(u=o-1);var c=ke(e,r,n,u=ye(0,u,be(o-1,u)));return\"end\"===a?c=Te(c-e.height+n.height):\"center\"===a&&(c=Te(c-e.height/2+n.height/2)),s&&(c+=s),{top:c,behavior:l}})),m);var U=e.statefulStreamFromEmitter(e.pipe(R,e.map(function(t){return t.offsetBottom+t.bottom})),0);return e.connect(e.pipe(C,e.map(function(t){return{width:t.visibleWidth,height:t.visibleHeight}})),L),c({totalCount:H,viewportDimensions:L,itemDimensions:k,scrollTop:l,scrollHeight:z,overscan:o,scrollBy:u,scrollTo:m,scrollToIndex:F,smoothScrollTargetReached:d,windowViewportRect:C,windowScrollTo:T,useWindowScroll:w,customScrollParent:x,windowScrollContainerState:b,deviation:B,scrollContainerState:f,initialItemCount:E,gap:P},h,{gridState:R,totalListHeight:U},p,{startReached:M,endReached:O,rangeChanged:V,propsReady:v},y)},e.tup(Tt,y,ct,Et,mt,Ot,S));function Le(t,e,n,o){var r=n.height;return void 0===r||0===o.length?{top:0,bottom:0}:{top:ke(t,e,n,o[0].index),bottom:ke(t,e,n,o[o.length-1].index)+r}}function ke(t,e,n,o){var r=Fe(t.width,n.width,e.column),i=xe(o/r),a=i*n.height+ye(0,i-1)*e.row;return a>0?a+e.row:a}function Fe(t,e,n){return ye(1,xe((t+n)/(e+n)))}var ze=[\"placeholder\"],Be=e.system(function(){var t=e.statefulStream(function(t){return\"Item \"+t}),n=e.statefulStream({}),o=e.statefulStream(null),r=e.statefulStream(\"virtuoso-grid-item\"),i=e.statefulStream(\"virtuoso-grid-list\"),a=e.statefulStream(Yt),l=e.statefulStream(e.noop),s=function(t,o){return void 0===o&&(o=null),e.statefulStreamFromEmitter(e.pipe(n,e.map(function(e){return e[t]}),e.distinctUntilChanged()),o)};return{context:o,itemContent:t,components:n,computeItemKey:a,itemClassName:r,listClassName:i,scrollerRef:l,ListComponent:s(\"List\",\"div\"),ItemComponent:s(\"Item\",\"div\"),ScrollerComponent:s(\"Scroller\",\"div\"),ScrollSeekPlaceholder:s(\"ScrollSeekPlaceholder\",\"div\")}}),Pe=e.system(function(t){var n=t[0],o=t[1],r={item:Zt(o.itemContent,\"Rename the %citem%c prop to %citemContent.\"),ItemContainer:e.stream(),ScrollContainer:e.stream(),ListContainer:e.stream(),emptyComponent:e.stream(),scrollSeek:e.stream()};function i(t,n,r){e.connect(e.pipe(t,e.withLatestFrom(o.components),e.map(function(t){var e,o=t[0],i=t[1];return console.warn(\"react-virtuoso: \"+r+\" property is deprecated. Pass components.\"+n+\" instead.\"),c({},i,((e={})[n]=o,e))})),o.components)}return e.subscribe(r.scrollSeek,function(t){var r=t.placeholder,i=m(t,ze);console.warn(\"react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead.\"),e.publish(o.components,c({},e.getValue(o.components),{ScrollSeekPlaceholder:r})),e.publish(n.scrollSeekConfiguration,i)}),i(r.ItemContainer,\"Item\",\"ItemContainer\"),i(r.ListContainer,\"List\",\"ListContainer\"),i(r.ScrollContainer,\"Scroller\",\"ScrollContainer\"),c({},n,o,r)},e.tup(Re,Be)),Oe=n.memo(function(){var t=Ne(\"gridState\"),e=Ne(\"listClassName\"),n=Ne(\"itemClassName\"),o=Ne(\"itemContent\"),r=Ne(\"computeItemKey\"),i=Ne(\"isSeeking\"),a=We(\"scrollHeight\"),s=Ne(\"ItemComponent\"),u=Ne(\"ListComponent\"),m=Ne(\"ScrollSeekPlaceholder\"),d=Ne(\"context\"),f=We(\"itemDimensions\"),p=We(\"gap\"),h=Ne(\"log\"),g=C(function(t){a(t.parentElement.parentElement.scrollHeight);var e=t.firstChild;e&&f(e.getBoundingClientRect()),p({row:je(\"row-gap\",getComputedStyle(t).rowGap,h),column:je(\"column-gap\",getComputedStyle(t).columnGap,h)})});return l(u,c({ref:g,className:e},re(u,d),{style:{paddingTop:t.offsetTop,paddingBottom:t.offsetBottom}}),t.items.map(function(e){var a=r(e.index);return i?l(m,c({key:a},re(m,d),{index:e.index,height:t.itemHeight,width:t.itemWidth})):l(s,c({},re(s,d),{className:n,\"data-index\":e.index,key:a}),o(e.index,d))}))}),Me=function(t){var e=t.children,o=We(\"viewportDimensions\"),r=C(function(t){o(t.getBoundingClientRect())});return n.createElement(\"div\",{style:ne,ref:r},e)},Ve=function(t){var e=t.children,o=Dt(We(\"windowViewportRect\"),Ne(\"customScrollParent\"));return n.createElement(\"div\",{ref:o,style:ne},e)},Ue=t(Pe,{optional:{context:\"context\",totalCount:\"totalCount\",overscan:\"overscan\",itemContent:\"itemContent\",components:\"components\",computeItemKey:\"computeItemKey\",initialItemCount:\"initialItemCount\",scrollSeekConfiguration:\"scrollSeekConfiguration\",listClassName:\"listClassName\",itemClassName:\"itemClassName\",useWindowScroll:\"useWindowScroll\",customScrollParent:\"customScrollParent\",scrollerRef:\"scrollerRef\",item:\"item\",ItemContainer:\"ItemContainer\",ScrollContainer:\"ScrollContainer\",ListContainer:\"ListContainer\",scrollSeek:\"scrollSeek\"},methods:{scrollTo:\"scrollTo\",scrollBy:\"scrollBy\",scrollToIndex:\"scrollToIndex\"},events:{isScrolling:\"isScrolling\",endReached:\"endReached\",startReached:\"startReached\",rangeChanged:\"rangeChanged\",atBottomStateChange:\"atBottomStateChange\",atTopStateChange:\"atTopStateChange\"}},n.memo(function(t){var e=c({},t),o=Ne(\"useWindowScroll\"),r=Ne(\"customScrollParent\"),i=r||o?Ve:Me;return n.createElement(r||o?_e:Ge,c({},e),n.createElement(i,null,n.createElement(Oe,null)))})),Ae=Ue.Component,We=Ue.usePublisher,Ne=Ue.useEmitterValue,De=Ue.useEmitter,Ge=le({usePublisher:We,useEmitterValue:Ne,useEmitter:De}),_e=se({usePublisher:We,useEmitterValue:Ne,useEmitter:De});function je(t,e,n){return\"normal\"===e||null!=e&&e.endsWith(\"px\")||n(t+\" was not resolved to pixel value correctly\",e,h.WARN),\"normal\"===e?0:parseInt(null!=e?e:\"0\",10)}var Ke=e.system(function(){var t=e.statefulStream(function(t){return n.createElement(\"td\",null,\"Item $\",t)}),o=e.statefulStream(null),r=e.statefulStream(null),i=e.statefulStream(null),a=e.statefulStream({}),l=e.statefulStream(Yt),s=e.statefulStream(e.noop),u=function(t,n){return void 0===n&&(n=null),e.statefulStreamFromEmitter(e.pipe(a,e.map(function(e){return e[t]}),e.distinctUntilChanged()),n)};return{context:o,itemContent:t,fixedHeaderContent:r,fixedFooterContent:i,components:a,computeItemKey:l,scrollerRef:s,TableComponent:u(\"Table\",\"table\"),TableHeadComponent:u(\"TableHead\",\"thead\"),TableFooterComponent:u(\"TableFoot\",\"tfoot\"),TableBodyComponent:u(\"TableBody\",\"tbody\"),TableRowComponent:u(\"TableRow\",\"tr\"),ScrollerComponent:u(\"Scroller\",\"div\"),EmptyPlaceholder:u(\"EmptyPlaceholder\"),ScrollSeekPlaceholder:u(\"ScrollSeekPlaceholder\"),FillerRow:u(\"FillerRow\")}}),Ye=e.system(function(t){return c({},t[0],t[1])},e.tup(Wt,Ke)),qe=function(t){return n.createElement(\"tr\",null,n.createElement(\"td\",{style:{height:t.height}}))},Ze=function(t){return n.createElement(\"tr\",null,n.createElement(\"td\",{style:{height:t.height,padding:0,border:0}}))},Je=n.memo(function(){var t=nn(\"listState\"),e=en(\"sizeRanges\"),o=nn(\"useWindowScroll\"),r=nn(\"customScrollParent\"),i=en(\"windowScrollContainerState\"),a=en(\"scrollContainerState\"),s=r||o?i:a,u=nn(\"itemContent\"),m=nn(\"trackItemSizes\"),d=T(e,nn(\"itemSize\"),m,s,nn(\"log\"),void 0,r),f=d.callbackRef,p=d.ref,h=n.useState(0),g=h[0],v=h[1];on(\"deviation\",function(t){g!==t&&(p.current.style.marginTop=t+\"px\",v(t))});var S=nn(\"EmptyPlaceholder\"),I=nn(\"ScrollSeekPlaceholder\")||qe,C=nn(\"FillerRow\")||Ze,w=nn(\"TableBodyComponent\"),x=nn(\"TableRowComponent\"),b=nn(\"computeItemKey\"),y=nn(\"isSeeking\"),H=nn(\"paddingTopAddition\"),E=nn(\"firstItemIndex\"),R=nn(\"statefulTotalCount\"),L=nn(\"context\");if(0===R&&S)return l(S,re(S,L));var k=t.offsetTop+H+g,F=t.offsetBottom,z=k>0?n.createElement(C,{height:k,key:\"padding-top\"}):null,B=F>0?n.createElement(C,{height:F,key:\"padding-bottom\"}):null,P=t.items.map(function(t){var e=t.originalIndex,n=b(e+E,t.data,L);return y?l(I,c({},re(I,L),{key:n,index:t.index,height:t.size,type:t.type||\"item\"})):l(x,c({},re(x,L),{key:n,\"data-index\":e,\"data-known-size\":t.size,\"data-item-index\":t.index,style:{overflowAnchor:\"none\"}}),u(t.index,t.data,L))});return l(w,c({ref:f,\"data-test-id\":\"virtuoso-item-list\"},re(w,L)),[z].concat(P,[B]))}),$e=function(t){var o=t.children,r=s(Gt),i=en(\"viewportHeight\"),a=en(\"fixedItemHeight\"),l=C(e.compose(i,function(t){return w(t,\"height\")}));return n.useEffect(function(){r&&(i(r.viewportHeight),a(r.itemHeight))},[r,i,a]),n.createElement(\"div\",{style:ne,ref:l,\"data-viewport-type\":\"element\"},o)},Qe=function(t){var e=t.children,o=s(Gt),r=en(\"windowViewportRect\"),i=en(\"fixedItemHeight\"),a=nn(\"customScrollParent\"),l=Dt(r,a);return n.useEffect(function(){o&&(i(o.itemHeight),r({offsetTop:0,visibleHeight:o.viewportHeight,visibleWidth:100}))},[o,r,i]),n.createElement(\"div\",{ref:l,style:ne,\"data-viewport-type\":\"window\"},e)},Xe=t(Ye,{required:{},optional:{context:\"context\",followOutput:\"followOutput\",firstItemIndex:\"firstItemIndex\",itemContent:\"itemContent\",fixedHeaderContent:\"fixedHeaderContent\",fixedFooterContent:\"fixedFooterContent\",overscan:\"overscan\",increaseViewportBy:\"increaseViewportBy\",totalCount:\"totalCount\",topItemCount:\"topItemCount\",initialTopMostItemIndex:\"initialTopMostItemIndex\",components:\"components\",groupCounts:\"groupCounts\",atBottomThreshold:\"atBottomThreshold\",atTopThreshold:\"atTopThreshold\",computeItemKey:\"computeItemKey\",defaultItemHeight:\"defaultItemHeight\",fixedItemHeight:\"fixedItemHeight\",itemSize:\"itemSize\",scrollSeekConfiguration:\"scrollSeekConfiguration\",data:\"data\",initialItemCount:\"initialItemCount\",initialScrollTop:\"initialScrollTop\",alignToBottom:\"alignToBottom\",useWindowScroll:\"useWindowScroll\",customScrollParent:\"customScrollParent\",scrollerRef:\"scrollerRef\",logLevel:\"logLevel\",react18ConcurrentRendering:\"react18ConcurrentRendering\"},methods:{scrollToIndex:\"scrollToIndex\",scrollIntoView:\"scrollIntoView\",scrollTo:\"scrollTo\",scrollBy:\"scrollBy\"},events:{isScrolling:\"isScrolling\",endReached:\"endReached\",startReached:\"startReached\",rangeChanged:\"rangeChanged\",atBottomStateChange:\"atBottomStateChange\",atTopStateChange:\"atTopStateChange\",totalListHeightChanged:\"totalListHeightChanged\",itemsRendered:\"itemsRendered\",groupIndices:\"groupIndices\"}},n.memo(function(t){var o=nn(\"useWindowScroll\"),r=nn(\"customScrollParent\"),i=en(\"fixedHeaderHeight\"),a=en(\"fixedFooterHeight\"),l=nn(\"fixedHeaderContent\"),s=nn(\"fixedFooterContent\"),u=nn(\"context\"),m=C(e.compose(i,function(t){return w(t,\"height\")})),d=C(e.compose(a,function(t){return w(t,\"height\")})),f=r||o?an:rn,p=r||o?Qe:$e,h=nn(\"TableComponent\"),g=nn(\"TableHeadComponent\"),v=nn(\"TableFooterComponent\"),S=l?n.createElement(g,c({key:\"TableHead\",style:{zIndex:1,position:\"sticky\",top:0},ref:m},re(g,u)),l()):null,I=s?n.createElement(v,c({key:\"TableFoot\",style:{zIndex:1,position:\"sticky\",bottom:0},ref:d},re(v,u)),s()):null;return n.createElement(f,c({},t),n.createElement(p,null,n.createElement(h,c({style:{borderSpacing:0}},re(h,u)),[S,n.createElement(Je,{key:\"TableBody\"}),I])))})),tn=Xe.Component,en=Xe.usePublisher,nn=Xe.useEmitterValue,on=Xe.useEmitter,rn=le({usePublisher:en,useEmitterValue:nn,useEmitter:on}),an=se({usePublisher:en,useEmitterValue:nn,useEmitter:on}),ln=fe,sn=fe,un=tn,cn=Ae;export{sn as GroupedVirtuoso,h as LogLevel,un as TableVirtuoso,ln as Virtuoso,cn as VirtuosoGrid,Gt as VirtuosoMockContext};\n//# sourceMappingURL=index.m.js.map\n","import $73KQ4$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {forwardRef as $73KQ4$forwardRef, createElement as $73KQ4$createElement, useCallback as $73KQ4$useCallback, useState as $73KQ4$useState, useRef as $73KQ4$useRef, useEffect as $73KQ4$useEffect} from \"react\";\nimport {composeEventHandlers as $73KQ4$composeEventHandlers} from \"@radix-ui/primitive\";\nimport {createContextScope as $73KQ4$createContextScope} from \"@radix-ui/react-context\";\nimport {useControllableState as $73KQ4$useControllableState} from \"@radix-ui/react-use-controllable-state\";\nimport {useLayoutEffect as $73KQ4$useLayoutEffect} from \"@radix-ui/react-use-layout-effect\";\nimport {useComposedRefs as $73KQ4$useComposedRefs} from \"@radix-ui/react-compose-refs\";\nimport {Primitive as $73KQ4$Primitive} from \"@radix-ui/react-primitive\";\nimport {Presence as $73KQ4$Presence} from \"@radix-ui/react-presence\";\nimport {useId as $73KQ4$useId} from \"@radix-ui/react-id\";\n\n\n\n\n\n\n\n\n\n\n\n/* -------------------------------------------------------------------------------------------------\n * Collapsible\n * -----------------------------------------------------------------------------------------------*/ const $409067139f391064$var$COLLAPSIBLE_NAME = 'Collapsible';\nconst [$409067139f391064$var$createCollapsibleContext, $409067139f391064$export$952b32dcbe73087a] = $73KQ4$createContextScope($409067139f391064$var$COLLAPSIBLE_NAME);\nconst [$409067139f391064$var$CollapsibleProvider, $409067139f391064$var$useCollapsibleContext] = $409067139f391064$var$createCollapsibleContext($409067139f391064$var$COLLAPSIBLE_NAME);\nconst $409067139f391064$export$6eb0f7ddcda6131f = /*#__PURE__*/ $73KQ4$forwardRef((props, forwardedRef)=>{\n const { __scopeCollapsible: __scopeCollapsible , open: openProp , defaultOpen: defaultOpen , disabled: disabled , onOpenChange: onOpenChange , ...collapsibleProps } = props;\n const [open = false, setOpen] = $73KQ4$useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /*#__PURE__*/ $73KQ4$createElement($409067139f391064$var$CollapsibleProvider, {\n scope: __scopeCollapsible,\n disabled: disabled,\n contentId: $73KQ4$useId(),\n open: open,\n onOpenToggle: $73KQ4$useCallback(()=>setOpen((prevOpen)=>!prevOpen\n )\n , [\n setOpen\n ])\n }, /*#__PURE__*/ $73KQ4$createElement($73KQ4$Primitive.div, $73KQ4$babelruntimehelpersesmextends({\n \"data-state\": $409067139f391064$var$getState(open),\n \"data-disabled\": disabled ? '' : undefined\n }, collapsibleProps, {\n ref: forwardedRef\n })));\n});\n/*#__PURE__*/ Object.assign($409067139f391064$export$6eb0f7ddcda6131f, {\n displayName: $409067139f391064$var$COLLAPSIBLE_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * CollapsibleTrigger\n * -----------------------------------------------------------------------------------------------*/ const $409067139f391064$var$TRIGGER_NAME = 'CollapsibleTrigger';\nconst $409067139f391064$export$c135dce7b15bbbdc = /*#__PURE__*/ $73KQ4$forwardRef((props, forwardedRef)=>{\n const { __scopeCollapsible: __scopeCollapsible , ...triggerProps } = props;\n const context = $409067139f391064$var$useCollapsibleContext($409067139f391064$var$TRIGGER_NAME, __scopeCollapsible);\n return /*#__PURE__*/ $73KQ4$createElement($73KQ4$Primitive.button, $73KQ4$babelruntimehelpersesmextends({\n type: \"button\",\n \"aria-controls\": context.contentId,\n \"aria-expanded\": context.open || false,\n \"data-state\": $409067139f391064$var$getState(context.open),\n \"data-disabled\": context.disabled ? '' : undefined,\n disabled: context.disabled\n }, triggerProps, {\n ref: forwardedRef,\n onClick: $73KQ4$composeEventHandlers(props.onClick, context.onOpenToggle)\n }));\n});\n/*#__PURE__*/ Object.assign($409067139f391064$export$c135dce7b15bbbdc, {\n displayName: $409067139f391064$var$TRIGGER_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * CollapsibleContent\n * -----------------------------------------------------------------------------------------------*/ const $409067139f391064$var$CONTENT_NAME = 'CollapsibleContent';\nconst $409067139f391064$export$aadde00976f34151 = /*#__PURE__*/ $73KQ4$forwardRef((props, forwardedRef)=>{\n const { forceMount: forceMount , ...contentProps } = props;\n const context = $409067139f391064$var$useCollapsibleContext($409067139f391064$var$CONTENT_NAME, props.__scopeCollapsible);\n return /*#__PURE__*/ $73KQ4$createElement($73KQ4$Presence, {\n present: forceMount || context.open\n }, ({ present: present })=>/*#__PURE__*/ $73KQ4$createElement($409067139f391064$var$CollapsibleContentImpl, $73KQ4$babelruntimehelpersesmextends({}, contentProps, {\n ref: forwardedRef,\n present: present\n }))\n );\n});\n/*#__PURE__*/ Object.assign($409067139f391064$export$aadde00976f34151, {\n displayName: $409067139f391064$var$CONTENT_NAME\n});\n/* -----------------------------------------------------------------------------------------------*/ const $409067139f391064$var$CollapsibleContentImpl = /*#__PURE__*/ $73KQ4$forwardRef((props, forwardedRef)=>{\n const { __scopeCollapsible: __scopeCollapsible , present: present , children: children , ...contentProps } = props;\n const context = $409067139f391064$var$useCollapsibleContext($409067139f391064$var$CONTENT_NAME, __scopeCollapsible);\n const [isPresent, setIsPresent] = $73KQ4$useState(present);\n const ref = $73KQ4$useRef(null);\n const composedRefs = $73KQ4$useComposedRefs(forwardedRef, ref);\n const heightRef = $73KQ4$useRef(0);\n const height = heightRef.current;\n const widthRef = $73KQ4$useRef(0);\n const width = widthRef.current; // when opening we want it to immediately open to retrieve dimensions\n // when closing we delay `present` to retrieve dimensions before closing\n const isOpen = context.open || isPresent;\n const isMountAnimationPreventedRef = $73KQ4$useRef(isOpen);\n const originalStylesRef = $73KQ4$useRef();\n $73KQ4$useEffect(()=>{\n const rAF = requestAnimationFrame(()=>isMountAnimationPreventedRef.current = false\n );\n return ()=>cancelAnimationFrame(rAF)\n ;\n }, []);\n $73KQ4$useLayoutEffect(()=>{\n const node = ref.current;\n if (node) {\n originalStylesRef.current = originalStylesRef.current || {\n transitionDuration: node.style.transitionDuration,\n animationName: node.style.animationName\n }; // block any animations/transitions so the element renders at its full dimensions\n node.style.transitionDuration = '0s';\n node.style.animationName = 'none'; // get width and height from full dimensions\n const rect = node.getBoundingClientRect();\n heightRef.current = rect.height;\n widthRef.current = rect.width; // kick off any animations/transitions that were originally set up if it isn't the initial mount\n if (!isMountAnimationPreventedRef.current) {\n node.style.transitionDuration = originalStylesRef.current.transitionDuration;\n node.style.animationName = originalStylesRef.current.animationName;\n }\n setIsPresent(present);\n }\n /**\n * depends on `context.open` because it will change to `false`\n * when a close is triggered but `present` will be `false` on\n * animation end (so when close finishes). This allows us to\n * retrieve the dimensions *before* closing.\n */ }, [\n context.open,\n present\n ]);\n return /*#__PURE__*/ $73KQ4$createElement($73KQ4$Primitive.div, $73KQ4$babelruntimehelpersesmextends({\n \"data-state\": $409067139f391064$var$getState(context.open),\n \"data-disabled\": context.disabled ? '' : undefined,\n id: context.contentId,\n hidden: !isOpen\n }, contentProps, {\n ref: composedRefs,\n style: {\n [`--radix-collapsible-content-height`]: height ? `${height}px` : undefined,\n [`--radix-collapsible-content-width`]: width ? `${width}px` : undefined,\n ...props.style\n }\n }), isOpen && children);\n});\n/* -----------------------------------------------------------------------------------------------*/ function $409067139f391064$var$getState(open) {\n return open ? 'open' : 'closed';\n}\nconst $409067139f391064$export$be92b6f5f03c0fe9 = $409067139f391064$export$6eb0f7ddcda6131f;\nconst $409067139f391064$export$41fb9f06171c75f4 = $409067139f391064$export$c135dce7b15bbbdc;\nconst $409067139f391064$export$7c6e2c02157bb7d2 = $409067139f391064$export$aadde00976f34151;\n\n\n\n\nexport {$409067139f391064$export$952b32dcbe73087a as createCollapsibleScope, $409067139f391064$export$6eb0f7ddcda6131f as Collapsible, $409067139f391064$export$c135dce7b15bbbdc as CollapsibleTrigger, $409067139f391064$export$aadde00976f34151 as CollapsibleContent, $409067139f391064$export$be92b6f5f03c0fe9 as Root, $409067139f391064$export$41fb9f06171c75f4 as Trigger, $409067139f391064$export$7c6e2c02157bb7d2 as Content};\n//# sourceMappingURL=index.mjs.map\n"],"names":["compose","a","b","arg","thrush","proc","curry2to1","arg1","arg2","curry1to0","tap","tup","_len","arguments","length","args","Array","_key","call","always","value","joinProc","_len2","procs","_key2","map","noop","subscribe","emitter","subscription","publish","publisher","getValue","depot","connect","handleNext","unsub","stream","subscriptions","action","splice","push","indexOf","slice","forEach","Error","statefulStream","initial","innerSubject","streamFromEmitter","statefulStreamFromEmitter","combineOperators","operators","subscriber","reduceRight","pipe","source","project","apply","defaultComparator","previous","next","distinctUntilChanged","comparator","current","done","filter","predicate","mapTo","scan","scanner","skip","times","throttleTime","interval","currentValue","timeout","setTimeout","undefined","debounceTime","clearTimeout","withLatestFrom","_len3","sources","_key3","values","called","pendingCall","allCalled","Math","pow","index","bit","prevCalled","concat","merge","duc","combineLatest","emitters","system","constructor","dependencies","_temp","singleton","id","Symbol","_arrayLikeToArray","arr","len","i","arr2","_createForOfIteratorHelperLoose","o","allowArrayLike","it","iterator","bind","isArray","minLen","n","Object","prototype","toString","name","from","test","_unsupportedIterableToArray","TypeError","_excluded","useIsomorphicLayoutEffect","document","useLayoutEffect","useEffect","systemToComponent","systemSpec","Root","requiredPropNames","keys","required","optionalPropNames","optional","methodNames","methods","eventNames","events","Context","createContext","applyPropsToSystem","props","_step","_iterator","requiredPropName","_step2","_iterator2","optionalPropName","buildEventHandlers","reduce","handlers","eventName","currentSubscription","cleanup","eventHandler","Component","forwardRef","propsWithChildren","ref","children","excluded","key","target","sourceKeys","_objectWithoutPropertiesLoose","_useState","useState","singletons","Map","_init","_ref2","has","get","e","set","init","_step3","_iterator3","useImperativeHandle","acc","methodName","buildMethods","createElement","Provider","obj","result","idx","prop","hasOwnProperty","omit","usePublisher","useCallback","useContext","useEmitterValue","_useState3","setValue","useEmitter","callback","c","assign","t","this","m","r","d","f","p","h","g","DEBUG","INFO","WARN","ERROR","v","S","log","globalThis","window","VIRTUOSO_LOG_LEVEL","console","logLevel","I","ResizeObserver","offsetParent","observe","unobserve","callbackRef","C","T","l","item","dataset","s","parseInt","u","parseFloat","knownSize","child","size","endIndex","startIndex","parentElement","virtuosoScroller","firstElementChild","viewportType","scrollTop","pageYOffset","documentElement","scrollHeight","offsetHeight","innerHeight","max","viewportHeight","endsWith","getComputedStyle","rowGap","w","round","getBoundingClientRect","x","abs","addEventListener","passive","removeEventListener","scrollerRef","scrollByCallback","scrollBy","scrollToCallback","behavior","top","ceil","min","scrollTo","y","scrollContainerState","headerHeight","fixedHeaderHeight","fixedFooterHeight","footerHeight","smoothScrollTargetReached","react18ConcurrentRendering","statefulScrollTop","deviation","scrollingInProgress","H","lvl","E","k","R","L","O","A","V","M","F","Infinity","z","D","G","B","P","U","W","N","start","end","_","floor","join","j","K","recalcInProgress","Y","q","Z","offset","J","$","offsetTree","lastIndex","lastOffset","lastSize","Q","sizeTree","some","groupOffsetTree","X","groupIndices","tt","groupIndex","et","nt","ot","offsetWidth","rt","changed","sizes","diff","prev","firstItemIndex","ranges","prevIndex","prevSize","data","totalCount","sizeRanges","defaultItemSize","fixedItemSize","unshiftWith","shiftWith","shiftWithOffset","beforeUnshiftWith","gap","listRefresh","statefulTotalCount","trackItemSizes","itemSize","style","at","align","lt","location","scrollToIndex","topListHeight","st","ut","atBottom","notAtBottomBecause","state","offsetBottom","ct","scrollTopDelta","atBottomBecause","jump","direction","prevScrollTop","isScrolling","isAtTop","isAtBottom","atBottomState","atTopStateChange","atBottomStateChange","scrollDirection","atBottomThreshold","atTopThreshold","scrollVelocity","lastJumpDueToItemResize","mt","propsReady","didMount","dt","scrolledToInitialItem","initialTopMostItemIndex","ft","pt","shouldFollow","followOutputBehavior","refreshed","followOutput","autoscrollToBottom","ht","gt","groupCounts","topItemsIndexes","vt","St","It","main","reverse","Ct","Tt","listBoundary","overscan","increaseViewportBy","visibleRange","wt","items","topItems","offsetTop","bottom","xt","originalIndex","shift","type","bt","yt","listState","endReached","startReached","rangeChanged","itemsRendered","Ht","initialItemCount","Et","enter","exit","change","isSeeking","scrollSeekConfiguration","scrollSeekRangeChanged","Rt","topItemCount","Lt","totalListHeight","totalListHeightChanged","kt","Ft","navigator","userAgent","zt","amount","requestAnimationFrame","Bt","initialScrollTop","Pt","alignToBottom","paddingTopAddition","Ot","useWindowScroll","customScrollParent","windowScrollContainerState","windowViewportRect","windowScrollTo","Mt","Vt","scrollIntoView","Ut","At","Wt","visibleHeight","fixedItemHeight","defaultItemHeight","Nt","position","Dt","width","height","visibleWidth","Gt","_t","jt","Kt","Yt","qt","context","itemContent","groupContent","components","computeItemKey","headerFooterTag","FooterComponent","HeaderComponent","TopItemListComponent","ListComponent","ItemComponent","GroupComponent","ScrollerComponent","EmptyPlaceholder","ScrollSeekPlaceholder","Zt","warn","Jt","group","itemHeight","scrollingStateChange","adjustForPrependedItems","maxHeightCacheSize","footer","header","HeaderContainer","FooterContainer","ItemContainer","ScrollContainer","GroupContainer","ListContainer","emptyComponent","scrollSeek","placeholder","$t","Qt","zIndex","overflowAnchor","Xt","te","showTopList","he","pe","ge","boxSizing","paddingTop","paddingBottom","marginTop","re","ee","outline","overflowY","WebkitOverflowScrolling","ne","oe","ie","ae","le","tabIndex","se","ue","ce","me","de","Se","ve","fe","Ie","itemWidth","Ce","Te","we","xe","be","ye","He","Ee","column","row","Re","Fe","Le","ke","viewportDimensions","itemDimensions","gridState","ze","Be","itemClassName","listClassName","Pe","Oe","Ne","We","firstChild","je","columnGap","className","Me","Ve","Ue","_e","Ge","De","Ke","fixedHeaderContent","fixedFooterContent","TableComponent","TableHeadComponent","TableFooterComponent","TableBodyComponent","TableRowComponent","FillerRow","Ye","qe","Ze","padding","border","Je","nn","en","on","$e","Qe","Xe","an","rn","borderSpacing","ln","$409067139f391064$var$COLLAPSIBLE_NAME","$409067139f391064$var$createCollapsibleContext","$409067139f391064$export$952b32dcbe73087a","$409067139f391064$var$CollapsibleProvider","$409067139f391064$var$useCollapsibleContext","$409067139f391064$export$6eb0f7ddcda6131f","forwardedRef","__scopeCollapsible","open","openProp","defaultOpen","disabled","onOpenChange","collapsibleProps","setOpen","defaultProp","onChange","scope","contentId","onOpenToggle","prevOpen","$409067139f391064$var$getState","$409067139f391064$var$TRIGGER_NAME","$409067139f391064$export$c135dce7b15bbbdc","triggerProps","onClick","$409067139f391064$var$CONTENT_NAME","$409067139f391064$export$aadde00976f34151","forceMount","contentProps","present","$409067139f391064$var$CollapsibleContentImpl","isPresent","setIsPresent","composedRefs","heightRef","widthRef","isOpen","isMountAnimationPreventedRef","originalStylesRef","rAF","cancelAnimationFrame","node","transitionDuration","animationName","rect","hidden","$409067139f391064$export$be92b6f5f03c0fe9","$409067139f391064$export$41fb9f06171c75f4"],"sourceRoot":""}
|