gesso-core 0.6.21 → 0.6.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1188,6 +1188,21 @@ interface TextMemo {
1188
1188
  /** The paragraph is the same at any width it fits in; see `layoutFitsAnyWidth`. */
1189
1189
  readonly fitsAnyWidth: boolean;
1190
1190
  }
1191
+ /**
1192
+ * The key a container's kept arrangement is checked against before its
1193
+ * placement reuses it; see `LayoutRecord.arrangement`. The engine
1194
+ * extends it with the items or tracks themselves, which are its own
1195
+ * types.
1196
+ */
1197
+ interface ArrangementMemo {
1198
+ readonly kind: 'flex' | 'grid';
1199
+ /** The layout pass that measured it: the tree cannot change inside one. */
1200
+ readonly pass: number;
1201
+ /** The content box it was worked out in. */
1202
+ readonly content: Constraints;
1203
+ /** The container's `contentMatters` then, which its items' flags were decided from. */
1204
+ readonly contentMatters: boolean;
1205
+ }
1191
1206
  /**
1192
1207
  * Mutable per-node layout projection owned by LayoutEngine.
1193
1208
  *
@@ -1422,6 +1437,24 @@ declare class LayoutRecord {
1422
1437
  contentHeight: number;
1423
1438
  /** Constraints this record was last measured under. */
1424
1439
  lastConstraints: Constraints;
1440
+ /**
1441
+ * What a flex or grid container's last measurement worked out about
1442
+ * its children — the flexed items and their lines, or the sized
1443
+ * tracks — kept for its placement to take over. Placement used to
1444
+ * work it all out again, a FlexItem and a set of constraints per
1445
+ * child, even when the box it was placing in was the very one the
1446
+ * measurement had been given; a container's last measurement is
1447
+ * usually its final one, so that was most of them.
1448
+ *
1449
+ * Only the last measurement that actually ran is kept, because it is
1450
+ * the one its children's records still describe: a measurement
1451
+ * recalled from an alternate leaves the children as the last run
1452
+ * left them. Null when that run's content box was not definite on
1453
+ * both axes, since placement's always is. Placement takes it and
1454
+ * clears it whatever it decides, so nothing uses one twice; see
1455
+ * `LayoutEngine.takeArrangement`.
1456
+ */
1457
+ arrangement: ArrangementMemo | null;
1425
1458
  /**
1426
1459
  * The paragraphs a text leaf was last measured as, one asked with a
1427
1460
  * width and one without; see `LayoutEngine.measureLeaf`. Flex asks
@@ -5648,10 +5681,10 @@ declare const VIRTUAL_WINDOW_PROP = "virtualWindow";
5648
5681
  * rest is two spacer boxes whose extents come from an estimate per item,
5649
5682
  * corrected by the real extent of every item that has been measured, so
5650
5683
  * the total extent (and the scrollbar) settle toward the truth as the
5651
- * user scrolls. Corrections are sparse — one entry per measured item
5652
- * whose extent differs from the estimate — so a 100k-row list costs
5653
- * memory proportional to what was seen, and offsets are estimate ×
5654
- * index plus the corrections before that index.
5684
+ * user scrolls. Offsets are estimate × index plus the corrections
5685
+ * before that index, which a Fenwick tree sums in log time — so a frame
5686
+ * costs the same after scrolling through 100k measured rows as before
5687
+ * the first one was seen.
5655
5688
  *
5656
5689
  * Children are emitted through a BehaviorSubject and reconciled by the
5657
5690
  * graph builder like any observable child: item identity is the key,
@@ -5680,8 +5713,8 @@ declare class UiVirtualWindow {
5680
5713
  private leadExtent;
5681
5714
  private trailExtent;
5682
5715
  private readonly measured;
5683
- /** Sorted by index: measured extent minus the estimate. */
5684
- private corrections;
5716
+ /** Measured extent minus the estimate, per index; zero for one not measured. */
5717
+ private readonly corrections;
5685
5718
  /** Wrappers of the items currently mounted, so a row that stays is not re-rendered. */
5686
5719
  private readonly mountedItems;
5687
5720
  /**
@@ -12990,6 +13023,12 @@ declare class LayoutEngine {
12990
13023
  private boundsVersion;
12991
13024
  constructor(textMeasurer?: TextMeasurer);
12992
13025
  recordFor(node: UiNode): LayoutRecord | undefined;
13026
+ /**
13027
+ * Every `position: 'sticky'` node in the tree. A sticky node moves
13028
+ * with a scroll without its box moving, so a renderer keeping a
13029
+ * scroll container's pixels has to be told where they are.
13030
+ */
13031
+ allStickyNodes(): ReadonlySet<UiNode>;
12993
13032
  /**
12994
13033
  * A box around everything in a node's subtree that could take a
12995
13034
  * point, so a hit test can pass the subtree over instead of
@@ -13261,6 +13300,29 @@ declare class LayoutEngine {
13261
13300
  private lineProp;
13262
13301
  /** Constraints for a container's content box: the border box less padding. */
13263
13302
  private contentConstraints;
13303
+ /**
13304
+ * The arrangement a container's measurement kept, when placing it in
13305
+ * `content` would work out the same one again; null otherwise.
13306
+ * Cleared from the record either way, so it is used at most once:
13307
+ * placement shares auto margins out and stretches items in the lines
13308
+ * it is handed, and a second placement in the same pass (a relayout
13309
+ * root inside one already laid out) must start from fresh ones.
13310
+ *
13311
+ * What it is checked against is everything the work reads that is
13312
+ * not fixed for the length of a pass. The pass number stands for the
13313
+ * tree and every property in it, which a pass never changes, and so
13314
+ * for the children, their order and the container's own settings.
13315
+ * The content box is the constraints the children were measured
13316
+ * under and the base their percentages resolved against. The
13317
+ * container's `contentMatters` decided its items' flags, and a parent
13318
+ * can change it between the two (`clearBoundaries`). The children's
13319
+ * records need no check: only this container measures them, so they
13320
+ * are still as its last run left them, which is the run kept. (A
13321
+ * subgrid's cells are the exception, measured unbounded by the grid
13322
+ * around it as well, but `placeGrid` measures each item again before
13323
+ * it reads anything off its record.)
13324
+ */
13325
+ private takeArrangement;
13264
13326
  private measureFlex;
13265
13327
  /**
13266
13328
  * The properties that shape a flex container, read once per pass.
@@ -16163,6 +16225,12 @@ declare function drawOverlayShapes(ctx: Canvas2DContext, shapes: readonly Overla
16163
16225
  */
16164
16226
  interface LayoutReader {
16165
16227
  recordFor(node: UiNode): LayoutRecord | undefined;
16228
+ /**
16229
+ * Every `position: 'sticky'` node. A scroll layer reads it to repaint
16230
+ * where a sticky node was and is, since a scroll moves one without
16231
+ * moving its box. A reader without it gets no scroll layers.
16232
+ */
16233
+ allStickyNodes?(): ReadonlySet<UiNode>;
16166
16234
  }
16167
16235
  /**
16168
16236
  * Frame-level inputs handed to every renderer.
@@ -19395,4 +19463,4 @@ interface UiSemanticsAction {
19395
19463
  }
19396
19464
  //#endregion
19397
19465
  export { Mp4AudioTrack as $, UiDroppedFile as $a, Text as $c, PaintTextStyle as $d, UiContainerSize as $f, cubicBezier as $g, TextRunSpan as $h, AxisExplanation as $i, validateStates as $l, UiBorderRadiusValue as $m, ScrollOffset as $n, scrollbarThumbs as $o, UiPinchEvent as $p, clickOutside as $r, PaintState as $s, registerFontStack as $t, UiSpacing as $u, offsetAtPointIn as A, resolveCursor as Aa, lineEndAt as Ac, UiTextDecoration as Ad, isMinMaxTrack as Af, defaultMotion as Ag, UiShapeExtensions as Ah, propertyValuesEqualByName as Ai, StackProps as Al, LayoutResult as Am, LABEL_PADDING_X as An, overrideSources as Ao, ComponentLikeElement as Ap, ImageResolver as Ar, CanvasTextStyle as As, createTextCache as At, UiTheme as Au, markNow as B, touchActionFor as Ba, LazyGrid as Bc, resolvedSpansOf as Bd, boxShadowRadius as Bf, transformIsIdentity as Bg, LayoutRecord as Bh, parseAlignContent as Bi, UI_ROLES as Bl, UiNodeTransitions as Bm, resolvePropertyByName as Bn, HitTestResult as Bo, UiEventListenerOptions as Bp, ZoomState as Br, layoutTextLines as Bs, isWebGPUAvailable as Bt, hasThemeExtension as Bu, hasTextLinks as C, isNodeFocusable as Ca, lineIndexForOffset as Cc, visualStatesEqual as Cd, PercentLength as Cf, UiTweenOptions as Cg, borderRadius as Ch, findPropertyDefinition as Ci, PaintElementProps as Cl, slideDown as Cm, LayerCanvasFactory as Cn, UiGestureRecognizer as Co, isUiModifier as Cp, IconContext as Cr, syncEditorValue as Cs, RenderList as Ct, VirtualItemMeasure as Cu, setLinkHover as D, isNodeTabStop as Da, offsetForVerticalMove as Dc, UiFontVariant as Dd, fr as Df, UiMotion as Dg, borderRadiusValuesEqual as Dh, propertyEffects as Di, Reactive as Dl, UiSharedElements as Dm, LayoutReader as Dn, NodeTransitions as Do, FocusSource as Dp, iconKey as Dr, detectEditingPlatform as Ds, TEXTURED_STRIDE_FLOATS as Dt, UiVideoSurface as Du, linkRunAtPointIn as E, isNodeSelectable as Ea, offsetAtX as Ec, UiFontStyle as Ed, auto as Ef, UiEasingToken as Eg, borderRadiusIsZero as Eh, inheritedPropertyNames as Ei, PropsOf as El, SharedClaim as Em, UiRenderer as En, FocusNotifier as Eo, FocusOptions as Ep, IconSpec as Er, commandForKey as Es, TEXTURED_STRIDE_BYTES as Et, lazySource as Eu, UiFrameCallback as F, UiPlatformAdapter as Fa, previousWordStart as Fc, UiTextStyle as Fd, resolveLength as Ff, interpolatorFor as Fg, shapesEqual as Fh, placeGridItems as Fi, UiNodeRef as Fl, constraintsEqual as Fm, CanvasSurface as Fn, UiFindController as Fo, isUiChild as Fp, ShortcutsOptions as Fr, applyCanvasTextStyle as Fs, GlyphSlot as Ft, withDensity as Fu, VttTrack as G, TouchScrollerOptions as Ga, Button as Gc, textSpansEqual as Gd, propertyValuesEqual as Gf, colorToRgba as Gg, ParagraphTextMeasurer as Gh, ELLIPSIS as Gi, UiRole as Gl, DecorationShape as Gm, InsetPaddingArgs as Gn, SCROLLBAR_INSET as Go, UiCompositionEvent as Gp, ReorderableOptions as Gr, Canvas2DContext as Gs, WebGPURenderer as Gt, HighContrastOptions as Gu, performanceMarksEnabled as H, EditingHost as Ha, LazyListProps as Hc, spannedTextOf as Hd, boxShadowsEqual as Hf, UiBasicColors as Hg, FixedMetricsOptions as Hh, parseMainAxisAlignment as Hi, UiAutocomplete as Hl, UiPropertyOverrides as Hm, ThemeTokenTarget as Hn, UiHitTester as Ho, UiListenerErrorReporter as Hp, AutoScrollOptions as Hr, runFontString as Hs, CapturedFrame as Ht, themeExtension as Hu, UiScheduler as I, capturePointer as Ia, wordRangeAt as Ic, defaultTextStyle as Id, BOX_SHADOW_BLUR_REACH as If, UiTransform as Ig, UiColors as Ih, sizeGridTracks as Ii, UiProperties as Il, tightenConstraints as Im, createCanvasSurface as In, SelectionControllerOptions as Io, isUiElement as Ip, contextMenu as Ir, buildFontString as Is, GlyphUpload as It, UiThemeExtension as Iu, ByteSource as J, UiDragPayload as Ja, Grid as Jc, PaintFillRule as Jd, UiInsetSource as Jf, normalizeColor as Jg, TextLineRun as Jh, LayoutNotifier as Ji, isUiRole as Jl, decorationRect as Jm, publishInset as Jn, ScrollbarAxis as Jo, UiGestureEvent as Jp, reorderable as Jr, DEFAULT_FONT_SIZE as Js, WebGPUSurface as Jt, highContrastColors as Ju, cueAt as K, UiTouchScroller as Ka, Column as Kc, textStylesEqual as Kd, UiInsetEdge as Kf, colorValuesEqual as Kg, SpannedRuns as Kh, layoutParagraph as Ki, UiSemanticState as Kl, DecorationStroke as Km, PublishInsetArgs as Kn, SCROLLBAR_MIN_THUMB as Ko, UiEventType as Kp, dragSource as Kr, Canvas2DGradient as Ks, WebGPURendererOptions as Kt, UiContrast as Ku, UiSchedulerOptions as L, isImeKey as La, Responsive as Lc, editableSpansOf as Ld, UiBoxShadow as Lf, UiTransforms as Lg, colorsEqualPalette as Lh, AlignContent as Li, UiPropertyName as Ll, NodeId as Lm, resolveBoolean as Ln, SelectionHost as Lo, UiPropValue as Lp, shortcut as Lr, createCanvasTextStyle as Ls, WebGPUGlyphAtlas as Lt, UiThemeExtensionOptions as Lu, paragraphGeometryFrom as M, PlatformAdapterOptions as Ma, nextGraphemeEnd as Mc, UiTextMetrics as Md, minmax as Mf, interpolateColor as Mg, UiShapes as Mh, GridItemRequest as Mi, TextProps as Ml, Size as Mm, drawOverlayShapes as Mn, writeDeclaredProperty as Mo, UiElement as Mp, animateLayout as Mr, SpanPaint as Ms, textRuns as Mt, lightTheme as Mu, selectionRectsIn as N, PlatformEventTarget as Na, nextWordEnd as Nc, UiTextRange as Nd, percent as Nf, interpolateNumber as Ng, defaultShapes as Nh, GridPlacement as Ni, TypographyProps as Nl, TightenOptions as Nm, labelOrigin as Nn, writeOverrideProperty as No, isComponentLikeElement as Np, ContextMenuOptions as Nr, TextLinePlacement as Ns, GlyphShaper as Nt, themesEqual as Nu, ParagraphGeometry as O, isSubtreeInert as Oa, selectionRects as Oc, UiResolvedTextSpan as Od, isAutoLength as Of, UiSpringSpec as Og, normalizeBorderRadius as Oh, propertyIsInherited as Oi, RowProps as Ol, Constraints as Om, RenderChanges as On, resetTransitionWarnings as Oo, UiFocusManager as Op, DefaultImageResolver as Or, isPrintable as Os, TextRunDraw as Ot, isVideoSurface as Ou, wordRangeIn as P, PlatformSurface as Pa, previousGraphemeStart as Pc, UiTextSpan as Pd, repeat as Pf, interpolateTransform as Pg, isShapeName as Ph, GridTrack as Pi, UiEventProps as Pl, clampSize as Pm, CanvasHost as Pn, FindHost as Po, isObservable$1 as Pp, ShortcutOptions as Pr, TextRunRect as Ps, GLYPH_SUBPIXEL_PHASES as Pt, withContrast as Pu, rangeSource as Q, UiDropZone as Qa, Stack as Qc, PaintTextAlign as Qd, observeViewportInsets as Qf, UiEasing as Qg, TextRunMeasurer as Qh, ScrollAdjustment as Qi, validateRole as Ql, UiAlignment as Qm, sizeContainer as Qn, scrollbarThumb as Qo, UiPasteEvent as Qp, ClickOutsideOptions as Qr, PaintBoxShadow as Qs, fontStackFor as Qt, densityFactors as Qu, MARK_PREFIX as R, pointerDeviceOf as Ra, ResponsiveProps as Rc, flattenTextSpans as Rd, boxShadow as Rf, parseTransform as Rg, darkColors as Rh, CrossAxisAlignment as Ri, UiPropertyValueOf as Rl, NodeProperty as Rm, resolveNumber as Rn, UiSelectionController as Ro, UiProps as Rp, shortcuts as Rr, drawText as Rs, WebGPUTextureCache as Rt, UiThemeExtensions as Ru, clearLinkHover as S, UiTimerFrameClockOptions as Sa, lineIndexAtY as Sc, visualState as Sd, MinMaxTrack as Sf, UiTween as Sg, UiBorderRadiuses as Sh, closestPropertyName as Si, InteractionProps as Sl, scaleFrom as Sm, traceRoundedRect as Sn, GestureRecognizerOptions as So, defineModifier as Sp, IconCanvas as Sr, nextCaretToggle as Ss, RenderCommand as St, VIRTUAL_WINDOW_PROP as Su, linkOf as T, isNodeInert as Ta, offsetAtPoint as Tc, UiFontStretch as Td, UiTrackSize as Tf, UiDurationToken as Tg, borderRadiusEqual as Th, inheritedPropertyFlags as Ti, PositionProps as Tl, slideUp as Tm, RendererBackend as Tn, UiPinchRecognizer as To, UiModifierTeardown as Tp, IconRasterizerOptions as Tr, EditingPlatform as Ts, ScissorRect as Tt, VirtualViewport as Tu, setPerformanceMarks as U, EditingState as Ua, LazyRow as Uc, spansDifferOnlyInPaint as Ud, UiPropertyDefinition as Uf, UiColor as Ug, FontMetrics as Uh, FlexDirection as Ui, UiLiveRegion as Ul, DecorationFill as Um, themeTokens as Un, UiPoint as Uo, MOUSE_POINTER as Up, DragSourceOptions as Ur, textRunBackgrounds as Us, DrawStats as Ut, themeExtensionsEqual as Uu, measureSpan as V, EditingControllerOptions as Va, LazyGridProps as Vc, spanAtOffset as Vd, boxShadowReach as Vf, transformsEqual as Vg, CharacterCountTextMeasurer as Vh, parseCrossAxisAlignment as Vi, UI_SEMANTIC_STATES as Vl, UiPropertyOverride as Vm, resolveString as Vn, HitTester as Vo, UiInputDispatcher as Vp, pinchable as Vr, runCanvasStyleInto as Vs, WebGPUError as Vt, noThemeExtensions as Vu, VttCue as W, UiEditingController as Wa, Box as Wc, textContentOf as Wd, defineProperty as Wf, colorToHex as Wg, ParagraphLayout as Wh, parseFlexDirection as Wi, UiOrientation as Wl, DecorationRect as Wm, sameArgs as Wn, SCROLLBAR_HOVER_ZONE as Wo, UiBeforeInputEvent as Wp, DropTargetOptions as Wr, textRunDecorations as Ws, RenderHooks as Wt, withThemeExtension as Wu, RangeSourceOptions as X, UiDragState as Xa, Row as Xc, PaintLineJoin as Xd, insetsEqual as Xf, rgb8 as Xg, TextMeasurer as Xh, SCROLLBAR_FADE_MS as Xi, normalizeStates as Xl, paintsAfterChildren as Xm, SizeContainerArgs as Xn, scrollLeaderOf as Xo, UiKeyModifiers as Xp, DraggableOptions as Xr, DEFAULT_TEXT_COLOR as Xs, bumpFontStack as Xt, relativeLuminance as Xu, DEFAULT_BLOCK_SIZE as Y, UiDragSession as Ya, Paint as Yc, PaintLineCap as Yd, UiInsets as Yf, parseColor as Yg, TextMeasureRequest as Yh, LayoutEngine as Yi, isUiSemanticState as Yl, hasDecorationPhase as Ym, BreakpointArgs as Yn, ScrollbarThumb as Yo, UiInputEvent as Yp, DragOffset as Yr, DEFAULT_FONT_WEIGHT as Ys, createWebGPUSurface as Yt, raiseContrast as Yu, bufferSource as Z, UiDropEffect as Za, ScrollView as Zc, PaintSurface as Zd, noInsets as Zf, rgba as Zg, TextOverflow as Zh, SCROLLBAR_LINGER_MS as Zi, statesEqual as Zl, UI_SUBGRID_AXES as Zm, breakpoint as Zn, scrollRange as Zo, UiKeyboardEvent as Zp, draggable as Zr, ObjectFit as Zs, clearFontStacks as Zt, UiDensity as Zu, buildSemanticsTree as _, UiFrameTime as _a, setSelectionRange as _c, isLayoutProtocol as _d, linearGradient as _f, UiAnimation as _g, UiTextWrapValue as _h, bundle as _i, FlexContainerProps as _l, fade as _m, LayoutInspector as _n, UiScrollBehavior as _o, UiModifierSet as _p, IconSourceArgs as _r, editorFor as _s, INSTANCE_STRIDE_FLOATS as _t, LazyListOptions as _u, diffSemantics as a, RelayoutExplanation as aa, createPaintState as ac, defaultShadows as ad, UiImage as af, createEnvironmentKey as ag, UiFontWeight as ah, borderShapes as ai, UiEventBinding as al, UiWheelDeltaMode as am, PaintContext2D as an, UiShortcutRegistry as ao, UiTextInputState as ap, VideoTransport as ar, setMatchRanges as as, Mp3Frame as at, SheetHeaderRenderer as au, semanticsMemory as b, UiManualFrameClock as ba, RunMeasure as bc, defaultVisualState as bd, AutoLength as bf, UiSpring as bg, validateSubgrid as bh, accumulatedOffsetTo as bi, GridProps as bl, resolveMotionState as bm, Canvas2DRenderer as bn, isScrollContainer as bo, UiModifier as bp, iconSource as br, isMultiline as bs, PrimitiveCommand as bt, VIRTUAL_INDEX_PROP as bu, SemanticsMemory as c, describeOverrides as ca, normalizeVerticalAlign as cc, UiTypographyExtensions as cd, ResolvedGradient as cf, DirtyFlags as cg, UiOverflow as ch, focusRing as ci, UiGraphBuilder as cl, wheelDeltaYOf as cm, PaintTarget as cn, formatShortcut as co, UiGroupEdit as cp, DefaultVideoResolverOptions as cr, findMatchesIn as cs, readMp3Header as ct, SheetSourceArgs as cu, SemanticsRewalk as d, labelNode as da, TEXT_SELECTION_PROP as dc, isTypographyRole as dd, UiGradientOffset as df, UiTransitionValue as dg, UiPosition as dh, hoverable as di, ButtonProps as dl, MOTION_REST as dm, PaintOp as dn, KeyboardControllerOptions as do, comparePositions as dp, VideoResolver as dr, UiEnvironmentKeys as ds, Affine as dt, UiVirtualSheetOptions as du, easings as e_, CustomLayoutExplanation as ea, PaintTextSpan as ec, defaultSpacing as ed, UiPaint as ef, TextRunStyle as eg, UiColorValue as eh, autoFocus as ei, createElement as el, UiPointerDevice as em, PaintCanvas as en, UiFileDropMessage as eo, UiContainerSizeSource as ep, ScrollPositionArgs as er, scrollbarZoneAt as es, Mp4Sample as et, CompositionRange as eu, SemanticsSpan as f, withOverrideSource as fa, TextRange as fc, typographyEqual as fd, UiGradientStop as ff, assertTransitionMap as fg, UiSelfAlignment as fh, interactive as fi, ColumnProps as fl, MotionChannel as fm, PaintRecorder as fn, UiKeyboardController as fo, edgeField as fp, canDecodeVideo as fr, EnvironmentNotifier as fs, CLIP_STRIDE_BYTES as ft, VIRTUAL_SHEET_PROP as fu, buildSemanticsSubtree as g, UiFrameClockFactory as ga, selectionRangeOf as gc, UiLayoutProtocol as gd, gradientsEqual as gf, AnimatedCell as gg, UiTextOverflowValue as gh, UiModifierBundle as gi, EnvironmentProps as gl, ResolvedMotionState as gm, InspectorOverlay as gn, ScrollSink as go, UiModifierLayout as gp, sharedElement as gr, caretVisibleAt as gs, INSTANCE_STRIDE_BYTES as gt, LazyItemRenderer as gu, UiSemanticsRecord as h, UiFrameClock as ha, selectableTextOf as hc, UiLayoutContext as hd, gradientPaint as hf, tween as hg, UiTextDirection as hh, pressable as hi, EditableTextProps as hl, MotionTiming as hm, INSPECTOR_HEAT_MS as hn, ScrollContainerState as ho, UiModifierFocus as hp, motion as hr, EDITOR_PROP as hs, GlyphCommand as ht, LazyGridOptions as hu, UiSemanticsPatch as i, OverrideSources as ia, computeObjectFitRect as ic, UiShadows as id, pathValuesEqual as if, UiEnvironmentKey as ig, UiFlexWrap as ih, FocusRingOptions as ii, UiGraph as il, UiTextChangeEvent as im, paintPictures as in, UiShortcutBinding as io, UiTextInput as ip, VideoState as ir, matchRangesOf as is, Mp3Format as it, LazySheetProps as iu, paragraphGeometry as j, CanvasPlatformSurface as ja, lineStartAt as jc, UiTextLink as jd, isPercentLength as jf, UiInterpolator as jg, UiShapeName as jh, GridContribution as ji, TextContentProps as jl, LayoutStats as jm, OverlayShape as jn, resetOverrideWarnings as jo, UiChild as jp, AnimateLayoutOptions as jr, PlacedTextRun as js, glyphCount as jt, darkTheme as ju, hasDrawnText as k, pointerEventsOf as ka, graphemeBoundaries as kc, UiSpannedText as kd, isFrLength as kf, UiSpringToken as kg, uniformBorderRadius as kh, propertyNarrowers as ki, ScrollViewProps as kl, LayoutBox as km, RenderContext as kn, clearOverrideProperty as ko, ComponentResolver as kp, DefaultImageResolverOptions as kr, EditableLayout as ks, buildRenderList as kt, videoFrameSize as ku, SemanticsPlacement as l, formatConstraints as la, resolvePaintState as lc, UiTypographyRole as ld, ResolvedGradientStop as lf, AnimationDriver as lg, UiPlacement as lh, BUTTON_INTERACTION as li, BoxModelProps as ll, DirtyNodeSet as lm, tracePathData as ln, parseShortcut as lo, UiTextPosition as lp, RangeResponse as lr, UiEnvironmentProvider as ls, splitMp3Frames as lt, SheetViewport as lu, UiSemanticsMap as m, UiAnimationFrameClock as ma, selectableTextNodes as mc, UiLayoutChild as md, UiRadialGradient as mf, spring as mg, UiTextAlign as mh, measureFlow as mi, ContainerProps as ml, MotionStateInput as mm, replayPaint as mn, UiPointerController as mo, UiModifierEnvironment as mp, SharedElementArgs as mr, CARET_WIDTH as ms, CommandKind as mt, LazyAxis as mu, UiSemanticsBox as n, steps as n_, LayoutExplanation as na, VerticalAlign as nc, spacingEqual as nd, inputsEqual as nf, spannedRunsFor as ng, UiCursor as nh, BordersOptions as ni, BindingId as nl, UiPointerKind as nm, PaintPictureCache as nn, ShortcutRegistryOptions as no, containerBands as np, VideoClock as nr, TEXT_MATCHES_PROP as ns, demuxMp4Audio as nt, EditableTextModel as nu, dropIndexShifts as o, SizeDecision as oa, isPaintVisible as oc, shadowsEqual as od, GradientPaint as of, findEnvironmentKey as og, UiGridAutoFlow as oh, borders as oi, ChildrenBindingId as ol, UiWheelEvent as om, PaintGradient as on, UiShortcutStep as oo, textInputOf as op, videoSource as or, FindMatch as os, Mp3Frames as ot, SheetRange as ou, TEXT_RUN_ID_SEPARATOR as p, UiFrame as pa, clearSelectionRange as pc, MAX_MEASURES_PER_CHILD as pd, UiLinearGradient as pf, normalizeTransition as pg, UiSubgridAxis as ph, measure as pi, CommonProps as pl, MotionState as pm, PaintRecording as pn, PointerControllerOptions as po, editingGroupOf as pp, MotionArgs as pr, CARET_BLINK_MS as ps, CLIP_STRIDE_FLOATS as pt, sheetSource as pu, parseWebVtt as q, EXTERNAL_FILES as qa, EditableText as qc, PaintBox as qd, UiInsetRegistry as qf, colorsEqual as qg, TextLine as qh, proportionalFontMetrics as qi, UiSemanticStates as ql, decorationColor as qm, insetPadding as qn, SCROLLBAR_THICKNESS as qo, UiFocusEvent as qp, dropTarget as qr, DEFAULT_FONT_FAMILY as qs, WebGPUCanvasHost as qt, contrastRatio as qu, UiSemanticsUpdate as r, LayoutStateExplanation as ra, colorToCss as rc, spacingSteps as rd, paintValuesEqual as rf, UiEnvironment as rg, UiDirection as rh, Decorations as ri, UiBinding as rl, UiSelectionChangeEvent as rm, PaintStats as rn, UiShortcut as ro, unknownContainerSize as rp, VideoSourceArgs as rr, clearMatchRanges as rs, demuxMp4Video as rt, LazySheet as ru, recordsEqual as s, describeLength as sa, normalizeTextAlign as sc, UiTypography as sd, MAX_GRADIENT_STOPS as sf, UiNodeType as sg, UiObjectFit as sh, decorated as si, UiChildrenBinding as sl, noKeyModifiers as sm, PaintResolver as sn, describeShortcut as so, UiEditingGroup as sp, DefaultVideoResolver as sr, FindOptions as ss, Mp3Header as st, SheetRowRenderer as su, UiSemanticsAction as t, linear as t_, Edges as ta, TextAlign as tc, scaleSpacing as td, UiPath as tf, TextWrap as tg, UiContentDistribution as th, BorderEdge as ti, UiDefinition as tl, UiPointerEvent as tm, PaintCanvasFactory as tn, dragSessionFor as to, bandOf as tp, scrollPosition as tr, SubtreeBounds as ts, Mp4VideoTrack as tt, EditUnit as tu, SemanticsReuse as u, formatExplanation as ua, DEFAULT_LINE_HEIGHT_FACTOR as uc, defaultTypography as ud, UiGradient as uf, UiTransitionSpec as ug, UiPointerEvents as uh, InteractiveOptions as ui, BoxProps as ul, MOTION_CHANNELS as um, EMPTY_RECORDING as un, shortcutKeyCaps as uo, adjacentField as up, VideoPlayback as ur, provideEnvironment as us, WebGPUGlyphPages as ut, UiVirtualSheet as uu, rewalkSemantics as v, UiHostFrameClock as va, CaretRect as vc, UiVisualState as vd, radialGradient as vf, UiAnimationOptions as vg, UiThemeColorName as vh, noModifiers as vi, FlexItemProps as vl, isMotionRest as vm, LayoutInspectorOptions as vn, UiScrollability as vo, UiUnknownModifierPropertyError as vp, ImageSourceArgs as vr, editorOf as vs, ImageCommand as vt, LazySourceArgs as vu, linkHoverOf as w, isNodeHitTestable as wa, lineLimit as wc, UiFontKerning as wd, UiLength as wf, createTween as wg, borderRadiusCorners as wh, getPropertyNames as wi, PaintProps as wl, slideFrom as wm, ScrollLayerStats as wn, PinchRecognizerOptions as wo, UiModifierHost as wp, IconRasterizer as wr, EditCommand as ws, RenderTextCache as wt, VirtualUpdate as wu, textRunOfRecordId as x, UiTimerFrameClock as xa, caretRectFor as xc, hasVisualState as xd, FrLength as xf, UiSpringOptions as xg, UiBorderRadius as xh, contentOffset as xi, IdentityProps as xl, rotateFrom as xm, Canvas2DRendererOptions as xn, GestureInput as xo, UiModifierKind as xp, imageSource as xr, isReadOnly as xs, PrimitiveKind as xt, VIRTUAL_LEAD_PROP as xu, semanticsInertAbove as y, UiHostFrameClockOptions as ya, PlacedLine as yc, UiVisualStateSet as yd, validateGradient as yf, UiReducedMotionPolicy as yg, UiVerticalAlign as yh, Transform as yi, GridItemProps as yl, pop as ym, CanvasTextMeasurer as yn, UiWheelController as yo, assertModifierList as yp, ImageSources as yr, isEditableNode as ys, NO_CLIP_INDEX as yt, UiVirtualWindow as yu, markInstant as z, prepareInputSurface as za, LazyColumn as zc, hiddenRangesOf as zd, boxShadowArraysEqual as zf, transform as zg, lightColors as zh, MainAxisAlignment as zi, UiPropertyValues as zl, UiNode as zm, resolveProperty as zn, HitTestLayoutReader as zo, UiEventListener as zp, PinchableOptions as zr, fillTextRects as zs, initializeWebGPU as zt, defineThemeExtension as zu };
19398
- //# sourceMappingURL=index-DR8HAfh3.d.ts.map
19466
+ //# sourceMappingURL=index-Cgzq72eC.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as Mp4AudioTrack, $a as UiDroppedFile, $c as Text, $d as PaintTextStyle, $f as UiContainerSize, $g as cubicBezier, $h as TextRunSpan, $i as AxisExplanation, $l as validateStates, $m as UiBorderRadiusValue, $n as ScrollOffset, $o as scrollbarThumbs, $p as UiPinchEvent, $r as clickOutside, $s as PaintState, $t as registerFontStack, $u as UiSpacing, A as offsetAtPointIn, Aa as resolveCursor, Ac as lineEndAt, Ad as UiTextDecoration, Af as isMinMaxTrack, Ag as defaultMotion, Ah as UiShapeExtensions, Ai as propertyValuesEqualByName, Al as StackProps, Am as LayoutResult, An as LABEL_PADDING_X, Ao as overrideSources, Ap as ComponentLikeElement, Ar as ImageResolver, As as CanvasTextStyle, At as createTextCache, Au as UiTheme, B as markNow, Ba as touchActionFor, Bc as LazyGrid, Bd as resolvedSpansOf, Bf as boxShadowRadius, Bg as transformIsIdentity, Bh as LayoutRecord, Bi as parseAlignContent, Bl as UI_ROLES, Bm as UiNodeTransitions, Bn as resolvePropertyByName, Bo as HitTestResult, Bp as UiEventListenerOptions, Br as ZoomState, Bs as layoutTextLines, Bt as isWebGPUAvailable, Bu as hasThemeExtension, C as hasTextLinks, Ca as isNodeFocusable, Cc as lineIndexForOffset, Cd as visualStatesEqual, Cf as PercentLength, Cg as UiTweenOptions, Ch as borderRadius, Ci as findPropertyDefinition, Cl as PaintElementProps, Cm as slideDown, Cn as LayerCanvasFactory, Co as UiGestureRecognizer, Cp as isUiModifier, Cr as IconContext, Cs as syncEditorValue, Ct as RenderList, Cu as VirtualItemMeasure, D as setLinkHover, Da as isNodeTabStop, Dc as offsetForVerticalMove, Dd as UiFontVariant, Df as fr, Dg as UiMotion, Dh as borderRadiusValuesEqual, Di as propertyEffects, Dl as Reactive, Dm as UiSharedElements, Dn as LayoutReader, Do as NodeTransitions, Dp as FocusSource, Dr as iconKey, Ds as detectEditingPlatform, Dt as TEXTURED_STRIDE_FLOATS, Du as UiVideoSurface, E as linkRunAtPointIn, Ea as isNodeSelectable, Ec as offsetAtX, Ed as UiFontStyle, Ef as auto, Eg as UiEasingToken, Eh as borderRadiusIsZero, Ei as inheritedPropertyNames, El as PropsOf, Em as SharedClaim, En as UiRenderer, Eo as FocusNotifier, Ep as FocusOptions, Er as IconSpec, Es as commandForKey, Et as TEXTURED_STRIDE_BYTES, Eu as lazySource, F as UiFrameCallback, Fa as UiPlatformAdapter, Fc as previousWordStart, Fd as UiTextStyle, Ff as resolveLength, Fg as interpolatorFor, Fh as shapesEqual, Fi as placeGridItems, Fl as UiNodeRef, Fm as constraintsEqual, Fn as CanvasSurface, Fo as UiFindController, Fp as isUiChild, Fr as ShortcutsOptions, Fs as applyCanvasTextStyle, Ft as GlyphSlot, Fu as withDensity, G as VttTrack, Ga as TouchScrollerOptions, Gc as Button, Gd as textSpansEqual, Gf as propertyValuesEqual, Gg as colorToRgba, Gh as ParagraphTextMeasurer, Gi as ELLIPSIS, Gl as UiRole, Gm as DecorationShape, Gn as InsetPaddingArgs, Go as SCROLLBAR_INSET, Gp as UiCompositionEvent, Gr as ReorderableOptions, Gs as Canvas2DContext, Gt as WebGPURenderer, Gu as HighContrastOptions, H as performanceMarksEnabled, Ha as EditingHost, Hc as LazyListProps, Hd as spannedTextOf, Hf as boxShadowsEqual, Hg as UiBasicColors, Hh as FixedMetricsOptions, Hi as parseMainAxisAlignment, Hl as UiAutocomplete, Hm as UiPropertyOverrides, Hn as ThemeTokenTarget, Ho as UiHitTester, Hp as UiListenerErrorReporter, Hr as AutoScrollOptions, Hs as runFontString, Ht as CapturedFrame, Hu as themeExtension, I as UiScheduler, Ia as capturePointer, Ic as wordRangeAt, Id as defaultTextStyle, If as BOX_SHADOW_BLUR_REACH, Ig as UiTransform, Ih as UiColors, Ii as sizeGridTracks, Il as UiProperties, Im as tightenConstraints, In as createCanvasSurface, Io as SelectionControllerOptions, Ip as isUiElement, Ir as contextMenu, Is as buildFontString, It as GlyphUpload, Iu as UiThemeExtension, J as ByteSource, Ja as UiDragPayload, Jc as Grid, Jd as PaintFillRule, Jf as UiInsetSource, Jg as normalizeColor, Jh as TextLineRun, Ji as LayoutNotifier, Jl as isUiRole, Jm as decorationRect, Jn as publishInset, Jo as ScrollbarAxis, Jp as UiGestureEvent, Jr as reorderable, Js as DEFAULT_FONT_SIZE, Jt as WebGPUSurface, Ju as highContrastColors, K as cueAt, Ka as UiTouchScroller, Kc as Column, Kd as textStylesEqual, Kf as UiInsetEdge, Kg as colorValuesEqual, Kh as SpannedRuns, Ki as layoutParagraph, Kl as UiSemanticState, Km as DecorationStroke, Kn as PublishInsetArgs, Ko as SCROLLBAR_MIN_THUMB, Kp as UiEventType, Kr as dragSource, Kt as WebGPURendererOptions, Ku as UiContrast, L as UiSchedulerOptions, La as isImeKey, Lc as Responsive, Ld as editableSpansOf, Lf as UiBoxShadow, Lg as UiTransforms, Lh as colorsEqualPalette, Li as AlignContent, Ll as UiPropertyName, Lm as NodeId, Ln as resolveBoolean, Lo as SelectionHost, Lp as UiPropValue, Lr as shortcut, Ls as createCanvasTextStyle, Lt as WebGPUGlyphAtlas, Lu as UiThemeExtensionOptions, M as paragraphGeometryFrom, Ma as PlatformAdapterOptions, Mc as nextGraphemeEnd, Md as UiTextMetrics, Mf as minmax, Mg as interpolateColor, Mh as UiShapes, Mi as GridItemRequest, Ml as TextProps, Mm as Size, Mn as drawOverlayShapes, Mo as writeDeclaredProperty, Mp as UiElement, Mr as animateLayout, Ms as SpanPaint, Mt as textRuns, Mu as lightTheme, N as selectionRectsIn, Na as PlatformEventTarget, Nc as nextWordEnd, Nd as UiTextRange, Nf as percent, Ng as interpolateNumber, Nh as defaultShapes, Ni as GridPlacement, Nl as TypographyProps, Nm as TightenOptions, Nn as labelOrigin, No as writeOverrideProperty, Np as isComponentLikeElement, Nr as ContextMenuOptions, Ns as TextLinePlacement, Nt as GlyphShaper, Nu as themesEqual, O as ParagraphGeometry, Oa as isSubtreeInert, Oc as selectionRects, Od as UiResolvedTextSpan, Of as isAutoLength, Og as UiSpringSpec, Oh as normalizeBorderRadius, Oi as propertyIsInherited, Ol as RowProps, Om as Constraints, On as RenderChanges, Oo as resetTransitionWarnings, Op as UiFocusManager, Or as DefaultImageResolver, Os as isPrintable, Ot as TextRunDraw, Ou as isVideoSurface, P as wordRangeIn, Pa as PlatformSurface, Pc as previousGraphemeStart, Pd as UiTextSpan, Pf as repeat, Pg as interpolateTransform, Ph as isShapeName, Pi as GridTrack, Pl as UiEventProps, Pm as clampSize, Pn as CanvasHost, Po as FindHost, Pp as isObservable, Pr as ShortcutOptions, Ps as TextRunRect, Pt as GLYPH_SUBPIXEL_PHASES, Pu as withContrast, Q as rangeSource, Qa as UiDropZone, Qc as Stack, Qd as PaintTextAlign, Qf as observeViewportInsets, Qg as UiEasing, Qh as TextRunMeasurer, Qi as ScrollAdjustment, Ql as validateRole, Qm as UiAlignment, Qn as sizeContainer, Qo as scrollbarThumb, Qp as UiPasteEvent, Qr as ClickOutsideOptions, Qs as PaintBoxShadow, Qt as fontStackFor, Qu as densityFactors, R as MARK_PREFIX, Ra as pointerDeviceOf, Rc as ResponsiveProps, Rd as flattenTextSpans, Rf as boxShadow, Rg as parseTransform, Rh as darkColors, Ri as CrossAxisAlignment, Rl as UiPropertyValueOf, Rm as NodeProperty, Rn as resolveNumber, Ro as UiSelectionController, Rp as UiProps, Rr as shortcuts, Rs as drawText, Rt as WebGPUTextureCache, Ru as UiThemeExtensions, S as clearLinkHover, Sa as UiTimerFrameClockOptions, Sc as lineIndexAtY, Sd as visualState, Sf as MinMaxTrack, Sg as UiTween, Sh as UiBorderRadiuses, Si as closestPropertyName, Sl as InteractionProps, Sm as scaleFrom, Sn as traceRoundedRect, So as GestureRecognizerOptions, Sp as defineModifier, Sr as IconCanvas, Ss as nextCaretToggle, St as RenderCommand, Su as VIRTUAL_WINDOW_PROP, T as linkOf, Ta as isNodeInert, Tc as offsetAtPoint, Td as UiFontStretch, Tf as UiTrackSize, Tg as UiDurationToken, Th as borderRadiusEqual, Ti as inheritedPropertyFlags, Tl as PositionProps, Tm as slideUp, Tn as RendererBackend, To as UiPinchRecognizer, Tp as UiModifierTeardown, Tr as IconRasterizerOptions, Ts as EditingPlatform, Tt as ScissorRect, Tu as VirtualViewport, U as setPerformanceMarks, Ua as EditingState, Uc as LazyRow, Ud as spansDifferOnlyInPaint, Uf as UiPropertyDefinition, Ug as UiColor, Uh as FontMetrics, Ui as FlexDirection, Ul as UiLiveRegion, Um as DecorationFill, Un as themeTokens, Uo as UiPoint, Up as MOUSE_POINTER, Ur as DragSourceOptions, Us as textRunBackgrounds, Ut as DrawStats, Uu as themeExtensionsEqual, V as measureSpan, Va as EditingControllerOptions, Vc as LazyGridProps, Vd as spanAtOffset, Vf as boxShadowReach, Vg as transformsEqual, Vh as CharacterCountTextMeasurer, Vi as parseCrossAxisAlignment, Vl as UI_SEMANTIC_STATES, Vm as UiPropertyOverride, Vn as resolveString, Vo as HitTester, Vp as UiInputDispatcher, Vr as pinchable, Vs as runCanvasStyleInto, Vt as WebGPUError, Vu as noThemeExtensions, W as VttCue, Wa as UiEditingController, Wc as Box, Wd as textContentOf, Wf as defineProperty, Wg as colorToHex, Wh as ParagraphLayout, Wi as parseFlexDirection, Wl as UiOrientation, Wm as DecorationRect, Wn as sameArgs, Wo as SCROLLBAR_HOVER_ZONE, Wp as UiBeforeInputEvent, Wr as DropTargetOptions, Ws as textRunDecorations, Wt as RenderHooks, Wu as withThemeExtension, X as RangeSourceOptions, Xa as UiDragState, Xc as Row, Xd as PaintLineJoin, Xf as insetsEqual, Xg as rgb8, Xh as TextMeasurer, Xi as SCROLLBAR_FADE_MS, Xl as normalizeStates, Xm as paintsAfterChildren, Xn as SizeContainerArgs, Xo as scrollLeaderOf, Xp as UiKeyModifiers, Xr as DraggableOptions, Xs as DEFAULT_TEXT_COLOR, Xt as bumpFontStack, Xu as relativeLuminance, Y as DEFAULT_BLOCK_SIZE, Ya as UiDragSession, Yc as Paint, Yd as PaintLineCap, Yf as UiInsets, Yg as parseColor, Yh as TextMeasureRequest, Yi as LayoutEngine, Yl as isUiSemanticState, Ym as hasDecorationPhase, Yn as BreakpointArgs, Yo as ScrollbarThumb, Yp as UiInputEvent, Yr as DragOffset, Ys as DEFAULT_FONT_WEIGHT, Yt as createWebGPUSurface, Yu as raiseContrast, Z as bufferSource, Za as UiDropEffect, Zc as ScrollView, Zd as PaintSurface, Zf as noInsets, Zg as rgba, Zh as TextOverflow, Zi as SCROLLBAR_LINGER_MS, Zl as statesEqual, Zm as UI_SUBGRID_AXES, Zn as breakpoint, Zo as scrollRange, Zp as UiKeyboardEvent, Zr as draggable, Zs as ObjectFit, Zt as clearFontStacks, Zu as UiDensity, _ as buildSemanticsTree, _a as UiFrameTime, _c as setSelectionRange, _d as isLayoutProtocol, _f as linearGradient, _g as UiAnimation, _h as UiTextWrapValue, _i as bundle, _l as FlexContainerProps, _m as fade, _n as LayoutInspector, _o as UiScrollBehavior, _p as UiModifierSet, _r as IconSourceArgs, _s as editorFor, _t as INSTANCE_STRIDE_FLOATS, _u as LazyListOptions, a as diffSemantics, aa as RelayoutExplanation, ac as createPaintState, ad as defaultShadows, af as UiImage, ag as createEnvironmentKey, ah as UiFontWeight, ai as borderShapes, al as UiEventBinding, am as UiWheelDeltaMode, an as PaintContext2D, ao as UiShortcutRegistry, ap as UiTextInputState, ar as VideoTransport, as as setMatchRanges, at as Mp3Frame, au as SheetHeaderRenderer, b as semanticsMemory, ba as UiManualFrameClock, bc as RunMeasure, bd as defaultVisualState, bf as AutoLength, bg as UiSpring, bh as validateSubgrid, bi as accumulatedOffsetTo, bl as GridProps, bm as resolveMotionState, bn as Canvas2DRenderer, bo as isScrollContainer, bp as UiModifier, br as iconSource, bs as isMultiline, bt as PrimitiveCommand, bu as VIRTUAL_INDEX_PROP, c as SemanticsMemory, ca as describeOverrides, cc as normalizeVerticalAlign, cd as UiTypographyExtensions, cf as ResolvedGradient, cg as DirtyFlags, ch as UiOverflow, ci as focusRing, cl as UiGraphBuilder, cm as wheelDeltaYOf, cn as PaintTarget, co as formatShortcut, cp as UiGroupEdit, cr as DefaultVideoResolverOptions, cs as findMatchesIn, ct as readMp3Header, cu as SheetSourceArgs, d as SemanticsRewalk, da as labelNode, dc as TEXT_SELECTION_PROP, dd as isTypographyRole, df as UiGradientOffset, dg as UiTransitionValue, dh as UiPosition, di as hoverable, dl as ButtonProps, dm as MOTION_REST, dn as PaintOp, do as KeyboardControllerOptions, dp as comparePositions, dr as VideoResolver, ds as UiEnvironmentKeys, dt as Affine, du as UiVirtualSheetOptions, e_ as easings, ea as CustomLayoutExplanation, ec as PaintTextSpan, ed as defaultSpacing, ef as UiPaint, eg as TextRunStyle, eh as UiColorValue, ei as autoFocus, el as createElement, em as UiPointerDevice, en as PaintCanvas, eo as UiFileDropMessage, ep as UiContainerSizeSource, er as ScrollPositionArgs, es as scrollbarZoneAt, et as Mp4Sample, eu as CompositionRange, f as SemanticsSpan, fa as withOverrideSource, fc as TextRange, fd as typographyEqual, ff as UiGradientStop, fg as assertTransitionMap, fh as UiSelfAlignment, fi as interactive, fl as ColumnProps, fm as MotionChannel, fn as PaintRecorder, fo as UiKeyboardController, fp as edgeField, fr as canDecodeVideo, fs as EnvironmentNotifier, ft as CLIP_STRIDE_BYTES, fu as VIRTUAL_SHEET_PROP, g as buildSemanticsSubtree, ga as UiFrameClockFactory, gc as selectionRangeOf, gd as UiLayoutProtocol, gf as gradientsEqual, gg as AnimatedCell, gh as UiTextOverflowValue, gi as UiModifierBundle, gl as EnvironmentProps, gm as ResolvedMotionState, gn as InspectorOverlay, go as ScrollSink, gp as UiModifierLayout, gr as sharedElement, gs as caretVisibleAt, gt as INSTANCE_STRIDE_BYTES, gu as LazyItemRenderer, h as UiSemanticsRecord, ha as UiFrameClock, hc as selectableTextOf, hd as UiLayoutContext, hf as gradientPaint, hg as tween, hh as UiTextDirection, hi as pressable, hl as EditableTextProps, hm as MotionTiming, hn as INSPECTOR_HEAT_MS, ho as ScrollContainerState, hp as UiModifierFocus, hr as motion, hs as EDITOR_PROP, ht as GlyphCommand, hu as LazyGridOptions, i as UiSemanticsPatch, ia as OverrideSources, ic as computeObjectFitRect, id as UiShadows, if as pathValuesEqual, ig as UiEnvironmentKey, ih as UiFlexWrap, ii as FocusRingOptions, il as UiGraph, im as UiTextChangeEvent, in as paintPictures, io as UiShortcutBinding, ip as UiTextInput, ir as VideoState, is as matchRangesOf, it as Mp3Format, iu as LazySheetProps, j as paragraphGeometry, ja as CanvasPlatformSurface, jc as lineStartAt, jd as UiTextLink, jf as isPercentLength, jg as UiInterpolator, jh as UiShapeName, ji as GridContribution, jl as TextContentProps, jm as LayoutStats, jn as OverlayShape, jo as resetOverrideWarnings, jp as UiChild, jr as AnimateLayoutOptions, js as PlacedTextRun, jt as glyphCount, ju as darkTheme, k as hasDrawnText, ka as pointerEventsOf, kc as graphemeBoundaries, kd as UiSpannedText, kf as isFrLength, kg as UiSpringToken, kh as uniformBorderRadius, ki as propertyNarrowers, kl as ScrollViewProps, km as LayoutBox, kn as RenderContext, ko as clearOverrideProperty, kp as ComponentResolver, kr as DefaultImageResolverOptions, ks as EditableLayout, kt as buildRenderList, ku as videoFrameSize, l as SemanticsPlacement, la as formatConstraints, lc as resolvePaintState, ld as UiTypographyRole, lf as ResolvedGradientStop, lg as AnimationDriver, lh as UiPlacement, li as BUTTON_INTERACTION, ll as BoxModelProps, lm as DirtyNodeSet, ln as tracePathData, lo as parseShortcut, lp as UiTextPosition, lr as RangeResponse, ls as UiEnvironmentProvider, lt as splitMp3Frames, lu as SheetViewport, m as UiSemanticsMap, ma as UiAnimationFrameClock, mc as selectableTextNodes, md as UiLayoutChild, mf as UiRadialGradient, mg as spring, mh as UiTextAlign, mi as measureFlow, ml as ContainerProps, mm as MotionStateInput, mn as replayPaint, mo as UiPointerController, mp as UiModifierEnvironment, mr as SharedElementArgs, ms as CARET_WIDTH, mt as CommandKind, mu as LazyAxis, n as UiSemanticsBox, n_ as steps, na as LayoutExplanation, nc as VerticalAlign, nd as spacingEqual, nf as inputsEqual, ng as spannedRunsFor, nh as UiCursor, ni as BordersOptions, nl as BindingId, nm as UiPointerKind, nn as PaintPictureCache, no as ShortcutRegistryOptions, np as containerBands, nr as VideoClock, ns as TEXT_MATCHES_PROP, nt as demuxMp4Audio, nu as EditableTextModel, o as dropIndexShifts, oa as SizeDecision, oc as isPaintVisible, od as shadowsEqual, of as GradientPaint, og as findEnvironmentKey, oh as UiGridAutoFlow, oi as borders, ol as ChildrenBindingId, om as UiWheelEvent, on as PaintGradient, oo as UiShortcutStep, op as textInputOf, or as videoSource, os as FindMatch, ot as Mp3Frames, ou as SheetRange, p as TEXT_RUN_ID_SEPARATOR, pa as UiFrame, pc as clearSelectionRange, pd as MAX_MEASURES_PER_CHILD, pf as UiLinearGradient, pg as normalizeTransition, ph as UiSubgridAxis, pi as measure, pl as CommonProps, pm as MotionState, pn as PaintRecording, po as PointerControllerOptions, pp as editingGroupOf, pr as MotionArgs, ps as CARET_BLINK_MS, pt as CLIP_STRIDE_FLOATS, pu as sheetSource, q as parseWebVtt, qa as EXTERNAL_FILES, qc as EditableText, qd as PaintBox, qf as UiInsetRegistry, qg as colorsEqual, qh as TextLine, qi as proportionalFontMetrics, ql as UiSemanticStates, qm as decorationColor, qn as insetPadding, qo as SCROLLBAR_THICKNESS, qp as UiFocusEvent, qr as dropTarget, qs as DEFAULT_FONT_FAMILY, qt as WebGPUCanvasHost, qu as contrastRatio, r as UiSemanticsUpdate, ra as LayoutStateExplanation, rc as colorToCss, rd as spacingSteps, rf as paintValuesEqual, rg as UiEnvironment, rh as UiDirection, ri as Decorations, rl as UiBinding, rm as UiSelectionChangeEvent, rn as PaintStats, ro as UiShortcut, rp as unknownContainerSize, rr as VideoSourceArgs, rs as clearMatchRanges, rt as demuxMp4Video, ru as LazySheet, s as recordsEqual, sa as describeLength, sc as normalizeTextAlign, sd as UiTypography, sf as MAX_GRADIENT_STOPS, sg as UiNodeType, sh as UiObjectFit, si as decorated, sl as UiChildrenBinding, sm as noKeyModifiers, sn as PaintResolver, so as describeShortcut, sp as UiEditingGroup, sr as DefaultVideoResolver, ss as FindOptions, st as Mp3Header, su as SheetRowRenderer, t as UiSemanticsAction, t_ as linear, ta as Edges, tc as TextAlign, td as scaleSpacing, tf as UiPath, tg as TextWrap, th as UiContentDistribution, ti as BorderEdge, tl as UiDefinition, tm as UiPointerEvent, tn as PaintCanvasFactory, to as dragSessionFor, tp as bandOf, tr as scrollPosition, ts as SubtreeBounds, tt as Mp4VideoTrack, tu as EditUnit, u as SemanticsReuse, ua as formatExplanation, uc as DEFAULT_LINE_HEIGHT_FACTOR, ud as defaultTypography, uf as UiGradient, ug as UiTransitionSpec, uh as UiPointerEvents, ui as InteractiveOptions, ul as BoxProps, um as MOTION_CHANNELS, un as EMPTY_RECORDING, uo as shortcutKeyCaps, up as adjacentField, ur as VideoPlayback, us as provideEnvironment, ut as WebGPUGlyphPages, uu as UiVirtualSheet, v as rewalkSemantics, va as UiHostFrameClock, vc as CaretRect, vd as UiVisualState, vf as radialGradient, vg as UiAnimationOptions, vh as UiThemeColorName, vi as noModifiers, vl as FlexItemProps, vm as isMotionRest, vn as LayoutInspectorOptions, vo as UiScrollability, vp as UiUnknownModifierPropertyError, vr as ImageSourceArgs, vs as editorOf, vt as ImageCommand, vu as LazySourceArgs, w as linkHoverOf, wa as isNodeHitTestable, wc as lineLimit, wd as UiFontKerning, wf as UiLength, wg as createTween, wh as borderRadiusCorners, wi as getPropertyNames, wl as PaintProps, wm as slideFrom, wn as ScrollLayerStats, wo as PinchRecognizerOptions, wp as UiModifierHost, wr as IconRasterizer, ws as EditCommand, wt as RenderTextCache, wu as VirtualUpdate, x as textRunOfRecordId, xa as UiTimerFrameClock, xc as caretRectFor, xd as hasVisualState, xf as FrLength, xg as UiSpringOptions, xh as UiBorderRadius, xi as contentOffset, xl as IdentityProps, xm as rotateFrom, xn as Canvas2DRendererOptions, xo as GestureInput, xp as UiModifierKind, xr as imageSource, xs as isReadOnly, xt as PrimitiveKind, xu as VIRTUAL_LEAD_PROP, y as semanticsInertAbove, ya as UiHostFrameClockOptions, yc as PlacedLine, yd as UiVisualStateSet, yf as validateGradient, yg as UiReducedMotionPolicy, yh as UiVerticalAlign, yi as Transform, yl as GridItemProps, ym as pop, yn as CanvasTextMeasurer, yo as UiWheelController, yp as assertModifierList, yr as ImageSources, ys as isEditableNode, yt as NO_CLIP_INDEX, yu as UiVirtualWindow, z as markInstant, za as prepareInputSurface, zc as LazyColumn, zd as hiddenRangesOf, zf as boxShadowArraysEqual, zg as transform, zh as lightColors, zi as MainAxisAlignment, zl as UiPropertyValues, zm as UiNode, zn as resolveProperty, zo as HitTestLayoutReader, zp as UiEventListener, zr as PinchableOptions, zs as fillTextRects, zt as initializeWebGPU, zu as defineThemeExtension } from "./index-DR8HAfh3.js";
1
+ import { $ as Mp4AudioTrack, $a as UiDroppedFile, $c as Text, $d as PaintTextStyle, $f as UiContainerSize, $g as cubicBezier, $h as TextRunSpan, $i as AxisExplanation, $l as validateStates, $m as UiBorderRadiusValue, $n as ScrollOffset, $o as scrollbarThumbs, $p as UiPinchEvent, $r as clickOutside, $s as PaintState, $t as registerFontStack, $u as UiSpacing, A as offsetAtPointIn, Aa as resolveCursor, Ac as lineEndAt, Ad as UiTextDecoration, Af as isMinMaxTrack, Ag as defaultMotion, Ah as UiShapeExtensions, Ai as propertyValuesEqualByName, Al as StackProps, Am as LayoutResult, An as LABEL_PADDING_X, Ao as overrideSources, Ap as ComponentLikeElement, Ar as ImageResolver, As as CanvasTextStyle, At as createTextCache, Au as UiTheme, B as markNow, Ba as touchActionFor, Bc as LazyGrid, Bd as resolvedSpansOf, Bf as boxShadowRadius, Bg as transformIsIdentity, Bh as LayoutRecord, Bi as parseAlignContent, Bl as UI_ROLES, Bm as UiNodeTransitions, Bn as resolvePropertyByName, Bo as HitTestResult, Bp as UiEventListenerOptions, Br as ZoomState, Bs as layoutTextLines, Bt as isWebGPUAvailable, Bu as hasThemeExtension, C as hasTextLinks, Ca as isNodeFocusable, Cc as lineIndexForOffset, Cd as visualStatesEqual, Cf as PercentLength, Cg as UiTweenOptions, Ch as borderRadius, Ci as findPropertyDefinition, Cl as PaintElementProps, Cm as slideDown, Cn as LayerCanvasFactory, Co as UiGestureRecognizer, Cp as isUiModifier, Cr as IconContext, Cs as syncEditorValue, Ct as RenderList, Cu as VirtualItemMeasure, D as setLinkHover, Da as isNodeTabStop, Dc as offsetForVerticalMove, Dd as UiFontVariant, Df as fr, Dg as UiMotion, Dh as borderRadiusValuesEqual, Di as propertyEffects, Dl as Reactive, Dm as UiSharedElements, Dn as LayoutReader, Do as NodeTransitions, Dp as FocusSource, Dr as iconKey, Ds as detectEditingPlatform, Dt as TEXTURED_STRIDE_FLOATS, Du as UiVideoSurface, E as linkRunAtPointIn, Ea as isNodeSelectable, Ec as offsetAtX, Ed as UiFontStyle, Ef as auto, Eg as UiEasingToken, Eh as borderRadiusIsZero, Ei as inheritedPropertyNames, El as PropsOf, Em as SharedClaim, En as UiRenderer, Eo as FocusNotifier, Ep as FocusOptions, Er as IconSpec, Es as commandForKey, Et as TEXTURED_STRIDE_BYTES, Eu as lazySource, F as UiFrameCallback, Fa as UiPlatformAdapter, Fc as previousWordStart, Fd as UiTextStyle, Ff as resolveLength, Fg as interpolatorFor, Fh as shapesEqual, Fi as placeGridItems, Fl as UiNodeRef, Fm as constraintsEqual, Fn as CanvasSurface, Fo as UiFindController, Fp as isUiChild, Fr as ShortcutsOptions, Fs as applyCanvasTextStyle, Ft as GlyphSlot, Fu as withDensity, G as VttTrack, Ga as TouchScrollerOptions, Gc as Button, Gd as textSpansEqual, Gf as propertyValuesEqual, Gg as colorToRgba, Gh as ParagraphTextMeasurer, Gi as ELLIPSIS, Gl as UiRole, Gm as DecorationShape, Gn as InsetPaddingArgs, Go as SCROLLBAR_INSET, Gp as UiCompositionEvent, Gr as ReorderableOptions, Gs as Canvas2DContext, Gt as WebGPURenderer, Gu as HighContrastOptions, H as performanceMarksEnabled, Ha as EditingHost, Hc as LazyListProps, Hd as spannedTextOf, Hf as boxShadowsEqual, Hg as UiBasicColors, Hh as FixedMetricsOptions, Hi as parseMainAxisAlignment, Hl as UiAutocomplete, Hm as UiPropertyOverrides, Hn as ThemeTokenTarget, Ho as UiHitTester, Hp as UiListenerErrorReporter, Hr as AutoScrollOptions, Hs as runFontString, Ht as CapturedFrame, Hu as themeExtension, I as UiScheduler, Ia as capturePointer, Ic as wordRangeAt, Id as defaultTextStyle, If as BOX_SHADOW_BLUR_REACH, Ig as UiTransform, Ih as UiColors, Ii as sizeGridTracks, Il as UiProperties, Im as tightenConstraints, In as createCanvasSurface, Io as SelectionControllerOptions, Ip as isUiElement, Ir as contextMenu, Is as buildFontString, It as GlyphUpload, Iu as UiThemeExtension, J as ByteSource, Ja as UiDragPayload, Jc as Grid, Jd as PaintFillRule, Jf as UiInsetSource, Jg as normalizeColor, Jh as TextLineRun, Ji as LayoutNotifier, Jl as isUiRole, Jm as decorationRect, Jn as publishInset, Jo as ScrollbarAxis, Jp as UiGestureEvent, Jr as reorderable, Js as DEFAULT_FONT_SIZE, Jt as WebGPUSurface, Ju as highContrastColors, K as cueAt, Ka as UiTouchScroller, Kc as Column, Kd as textStylesEqual, Kf as UiInsetEdge, Kg as colorValuesEqual, Kh as SpannedRuns, Ki as layoutParagraph, Kl as UiSemanticState, Km as DecorationStroke, Kn as PublishInsetArgs, Ko as SCROLLBAR_MIN_THUMB, Kp as UiEventType, Kr as dragSource, Kt as WebGPURendererOptions, Ku as UiContrast, L as UiSchedulerOptions, La as isImeKey, Lc as Responsive, Ld as editableSpansOf, Lf as UiBoxShadow, Lg as UiTransforms, Lh as colorsEqualPalette, Li as AlignContent, Ll as UiPropertyName, Lm as NodeId, Ln as resolveBoolean, Lo as SelectionHost, Lp as UiPropValue, Lr as shortcut, Ls as createCanvasTextStyle, Lt as WebGPUGlyphAtlas, Lu as UiThemeExtensionOptions, M as paragraphGeometryFrom, Ma as PlatformAdapterOptions, Mc as nextGraphemeEnd, Md as UiTextMetrics, Mf as minmax, Mg as interpolateColor, Mh as UiShapes, Mi as GridItemRequest, Ml as TextProps, Mm as Size, Mn as drawOverlayShapes, Mo as writeDeclaredProperty, Mp as UiElement, Mr as animateLayout, Ms as SpanPaint, Mt as textRuns, Mu as lightTheme, N as selectionRectsIn, Na as PlatformEventTarget, Nc as nextWordEnd, Nd as UiTextRange, Nf as percent, Ng as interpolateNumber, Nh as defaultShapes, Ni as GridPlacement, Nl as TypographyProps, Nm as TightenOptions, Nn as labelOrigin, No as writeOverrideProperty, Np as isComponentLikeElement, Nr as ContextMenuOptions, Ns as TextLinePlacement, Nt as GlyphShaper, Nu as themesEqual, O as ParagraphGeometry, Oa as isSubtreeInert, Oc as selectionRects, Od as UiResolvedTextSpan, Of as isAutoLength, Og as UiSpringSpec, Oh as normalizeBorderRadius, Oi as propertyIsInherited, Ol as RowProps, Om as Constraints, On as RenderChanges, Oo as resetTransitionWarnings, Op as UiFocusManager, Or as DefaultImageResolver, Os as isPrintable, Ot as TextRunDraw, Ou as isVideoSurface, P as wordRangeIn, Pa as PlatformSurface, Pc as previousGraphemeStart, Pd as UiTextSpan, Pf as repeat, Pg as interpolateTransform, Ph as isShapeName, Pi as GridTrack, Pl as UiEventProps, Pm as clampSize, Pn as CanvasHost, Po as FindHost, Pp as isObservable, Pr as ShortcutOptions, Ps as TextRunRect, Pt as GLYPH_SUBPIXEL_PHASES, Pu as withContrast, Q as rangeSource, Qa as UiDropZone, Qc as Stack, Qd as PaintTextAlign, Qf as observeViewportInsets, Qg as UiEasing, Qh as TextRunMeasurer, Qi as ScrollAdjustment, Ql as validateRole, Qm as UiAlignment, Qn as sizeContainer, Qo as scrollbarThumb, Qp as UiPasteEvent, Qr as ClickOutsideOptions, Qs as PaintBoxShadow, Qt as fontStackFor, Qu as densityFactors, R as MARK_PREFIX, Ra as pointerDeviceOf, Rc as ResponsiveProps, Rd as flattenTextSpans, Rf as boxShadow, Rg as parseTransform, Rh as darkColors, Ri as CrossAxisAlignment, Rl as UiPropertyValueOf, Rm as NodeProperty, Rn as resolveNumber, Ro as UiSelectionController, Rp as UiProps, Rr as shortcuts, Rs as drawText, Rt as WebGPUTextureCache, Ru as UiThemeExtensions, S as clearLinkHover, Sa as UiTimerFrameClockOptions, Sc as lineIndexAtY, Sd as visualState, Sf as MinMaxTrack, Sg as UiTween, Sh as UiBorderRadiuses, Si as closestPropertyName, Sl as InteractionProps, Sm as scaleFrom, Sn as traceRoundedRect, So as GestureRecognizerOptions, Sp as defineModifier, Sr as IconCanvas, Ss as nextCaretToggle, St as RenderCommand, Su as VIRTUAL_WINDOW_PROP, T as linkOf, Ta as isNodeInert, Tc as offsetAtPoint, Td as UiFontStretch, Tf as UiTrackSize, Tg as UiDurationToken, Th as borderRadiusEqual, Ti as inheritedPropertyFlags, Tl as PositionProps, Tm as slideUp, Tn as RendererBackend, To as UiPinchRecognizer, Tp as UiModifierTeardown, Tr as IconRasterizerOptions, Ts as EditingPlatform, Tt as ScissorRect, Tu as VirtualViewport, U as setPerformanceMarks, Ua as EditingState, Uc as LazyRow, Ud as spansDifferOnlyInPaint, Uf as UiPropertyDefinition, Ug as UiColor, Uh as FontMetrics, Ui as FlexDirection, Ul as UiLiveRegion, Um as DecorationFill, Un as themeTokens, Uo as UiPoint, Up as MOUSE_POINTER, Ur as DragSourceOptions, Us as textRunBackgrounds, Ut as DrawStats, Uu as themeExtensionsEqual, V as measureSpan, Va as EditingControllerOptions, Vc as LazyGridProps, Vd as spanAtOffset, Vf as boxShadowReach, Vg as transformsEqual, Vh as CharacterCountTextMeasurer, Vi as parseCrossAxisAlignment, Vl as UI_SEMANTIC_STATES, Vm as UiPropertyOverride, Vn as resolveString, Vo as HitTester, Vp as UiInputDispatcher, Vr as pinchable, Vs as runCanvasStyleInto, Vt as WebGPUError, Vu as noThemeExtensions, W as VttCue, Wa as UiEditingController, Wc as Box, Wd as textContentOf, Wf as defineProperty, Wg as colorToHex, Wh as ParagraphLayout, Wi as parseFlexDirection, Wl as UiOrientation, Wm as DecorationRect, Wn as sameArgs, Wo as SCROLLBAR_HOVER_ZONE, Wp as UiBeforeInputEvent, Wr as DropTargetOptions, Ws as textRunDecorations, Wt as RenderHooks, Wu as withThemeExtension, X as RangeSourceOptions, Xa as UiDragState, Xc as Row, Xd as PaintLineJoin, Xf as insetsEqual, Xg as rgb8, Xh as TextMeasurer, Xi as SCROLLBAR_FADE_MS, Xl as normalizeStates, Xm as paintsAfterChildren, Xn as SizeContainerArgs, Xo as scrollLeaderOf, Xp as UiKeyModifiers, Xr as DraggableOptions, Xs as DEFAULT_TEXT_COLOR, Xt as bumpFontStack, Xu as relativeLuminance, Y as DEFAULT_BLOCK_SIZE, Ya as UiDragSession, Yc as Paint, Yd as PaintLineCap, Yf as UiInsets, Yg as parseColor, Yh as TextMeasureRequest, Yi as LayoutEngine, Yl as isUiSemanticState, Ym as hasDecorationPhase, Yn as BreakpointArgs, Yo as ScrollbarThumb, Yp as UiInputEvent, Yr as DragOffset, Ys as DEFAULT_FONT_WEIGHT, Yt as createWebGPUSurface, Yu as raiseContrast, Z as bufferSource, Za as UiDropEffect, Zc as ScrollView, Zd as PaintSurface, Zf as noInsets, Zg as rgba, Zh as TextOverflow, Zi as SCROLLBAR_LINGER_MS, Zl as statesEqual, Zm as UI_SUBGRID_AXES, Zn as breakpoint, Zo as scrollRange, Zp as UiKeyboardEvent, Zr as draggable, Zs as ObjectFit, Zt as clearFontStacks, Zu as UiDensity, _ as buildSemanticsTree, _a as UiFrameTime, _c as setSelectionRange, _d as isLayoutProtocol, _f as linearGradient, _g as UiAnimation, _h as UiTextWrapValue, _i as bundle, _l as FlexContainerProps, _m as fade, _n as LayoutInspector, _o as UiScrollBehavior, _p as UiModifierSet, _r as IconSourceArgs, _s as editorFor, _t as INSTANCE_STRIDE_FLOATS, _u as LazyListOptions, a as diffSemantics, aa as RelayoutExplanation, ac as createPaintState, ad as defaultShadows, af as UiImage, ag as createEnvironmentKey, ah as UiFontWeight, ai as borderShapes, al as UiEventBinding, am as UiWheelDeltaMode, an as PaintContext2D, ao as UiShortcutRegistry, ap as UiTextInputState, ar as VideoTransport, as as setMatchRanges, at as Mp3Frame, au as SheetHeaderRenderer, b as semanticsMemory, ba as UiManualFrameClock, bc as RunMeasure, bd as defaultVisualState, bf as AutoLength, bg as UiSpring, bh as validateSubgrid, bi as accumulatedOffsetTo, bl as GridProps, bm as resolveMotionState, bn as Canvas2DRenderer, bo as isScrollContainer, bp as UiModifier, br as iconSource, bs as isMultiline, bt as PrimitiveCommand, bu as VIRTUAL_INDEX_PROP, c as SemanticsMemory, ca as describeOverrides, cc as normalizeVerticalAlign, cd as UiTypographyExtensions, cf as ResolvedGradient, cg as DirtyFlags, ch as UiOverflow, ci as focusRing, cl as UiGraphBuilder, cm as wheelDeltaYOf, cn as PaintTarget, co as formatShortcut, cp as UiGroupEdit, cr as DefaultVideoResolverOptions, cs as findMatchesIn, ct as readMp3Header, cu as SheetSourceArgs, d as SemanticsRewalk, da as labelNode, dc as TEXT_SELECTION_PROP, dd as isTypographyRole, df as UiGradientOffset, dg as UiTransitionValue, dh as UiPosition, di as hoverable, dl as ButtonProps, dm as MOTION_REST, dn as PaintOp, do as KeyboardControllerOptions, dp as comparePositions, dr as VideoResolver, ds as UiEnvironmentKeys, dt as Affine, du as UiVirtualSheetOptions, e_ as easings, ea as CustomLayoutExplanation, ec as PaintTextSpan, ed as defaultSpacing, ef as UiPaint, eg as TextRunStyle, eh as UiColorValue, ei as autoFocus, el as createElement, em as UiPointerDevice, en as PaintCanvas, eo as UiFileDropMessage, ep as UiContainerSizeSource, er as ScrollPositionArgs, es as scrollbarZoneAt, et as Mp4Sample, eu as CompositionRange, f as SemanticsSpan, fa as withOverrideSource, fc as TextRange, fd as typographyEqual, ff as UiGradientStop, fg as assertTransitionMap, fh as UiSelfAlignment, fi as interactive, fl as ColumnProps, fm as MotionChannel, fn as PaintRecorder, fo as UiKeyboardController, fp as edgeField, fr as canDecodeVideo, fs as EnvironmentNotifier, ft as CLIP_STRIDE_BYTES, fu as VIRTUAL_SHEET_PROP, g as buildSemanticsSubtree, ga as UiFrameClockFactory, gc as selectionRangeOf, gd as UiLayoutProtocol, gf as gradientsEqual, gg as AnimatedCell, gh as UiTextOverflowValue, gi as UiModifierBundle, gl as EnvironmentProps, gm as ResolvedMotionState, gn as InspectorOverlay, go as ScrollSink, gp as UiModifierLayout, gr as sharedElement, gs as caretVisibleAt, gt as INSTANCE_STRIDE_BYTES, gu as LazyItemRenderer, h as UiSemanticsRecord, ha as UiFrameClock, hc as selectableTextOf, hd as UiLayoutContext, hf as gradientPaint, hg as tween, hh as UiTextDirection, hi as pressable, hl as EditableTextProps, hm as MotionTiming, hn as INSPECTOR_HEAT_MS, ho as ScrollContainerState, hp as UiModifierFocus, hr as motion, hs as EDITOR_PROP, ht as GlyphCommand, hu as LazyGridOptions, i as UiSemanticsPatch, ia as OverrideSources, ic as computeObjectFitRect, id as UiShadows, if as pathValuesEqual, ig as UiEnvironmentKey, ih as UiFlexWrap, ii as FocusRingOptions, il as UiGraph, im as UiTextChangeEvent, in as paintPictures, io as UiShortcutBinding, ip as UiTextInput, ir as VideoState, is as matchRangesOf, it as Mp3Format, iu as LazySheetProps, j as paragraphGeometry, ja as CanvasPlatformSurface, jc as lineStartAt, jd as UiTextLink, jf as isPercentLength, jg as UiInterpolator, jh as UiShapeName, ji as GridContribution, jl as TextContentProps, jm as LayoutStats, jn as OverlayShape, jo as resetOverrideWarnings, jp as UiChild, jr as AnimateLayoutOptions, js as PlacedTextRun, jt as glyphCount, ju as darkTheme, k as hasDrawnText, ka as pointerEventsOf, kc as graphemeBoundaries, kd as UiSpannedText, kf as isFrLength, kg as UiSpringToken, kh as uniformBorderRadius, ki as propertyNarrowers, kl as ScrollViewProps, km as LayoutBox, kn as RenderContext, ko as clearOverrideProperty, kp as ComponentResolver, kr as DefaultImageResolverOptions, ks as EditableLayout, kt as buildRenderList, ku as videoFrameSize, l as SemanticsPlacement, la as formatConstraints, lc as resolvePaintState, ld as UiTypographyRole, lf as ResolvedGradientStop, lg as AnimationDriver, lh as UiPlacement, li as BUTTON_INTERACTION, ll as BoxModelProps, lm as DirtyNodeSet, ln as tracePathData, lo as parseShortcut, lp as UiTextPosition, lr as RangeResponse, ls as UiEnvironmentProvider, lt as splitMp3Frames, lu as SheetViewport, m as UiSemanticsMap, ma as UiAnimationFrameClock, mc as selectableTextNodes, md as UiLayoutChild, mf as UiRadialGradient, mg as spring, mh as UiTextAlign, mi as measureFlow, ml as ContainerProps, mm as MotionStateInput, mn as replayPaint, mo as UiPointerController, mp as UiModifierEnvironment, mr as SharedElementArgs, ms as CARET_WIDTH, mt as CommandKind, mu as LazyAxis, n as UiSemanticsBox, n_ as steps, na as LayoutExplanation, nc as VerticalAlign, nd as spacingEqual, nf as inputsEqual, ng as spannedRunsFor, nh as UiCursor, ni as BordersOptions, nl as BindingId, nm as UiPointerKind, nn as PaintPictureCache, no as ShortcutRegistryOptions, np as containerBands, nr as VideoClock, ns as TEXT_MATCHES_PROP, nt as demuxMp4Audio, nu as EditableTextModel, o as dropIndexShifts, oa as SizeDecision, oc as isPaintVisible, od as shadowsEqual, of as GradientPaint, og as findEnvironmentKey, oh as UiGridAutoFlow, oi as borders, ol as ChildrenBindingId, om as UiWheelEvent, on as PaintGradient, oo as UiShortcutStep, op as textInputOf, or as videoSource, os as FindMatch, ot as Mp3Frames, ou as SheetRange, p as TEXT_RUN_ID_SEPARATOR, pa as UiFrame, pc as clearSelectionRange, pd as MAX_MEASURES_PER_CHILD, pf as UiLinearGradient, pg as normalizeTransition, ph as UiSubgridAxis, pi as measure, pl as CommonProps, pm as MotionState, pn as PaintRecording, po as PointerControllerOptions, pp as editingGroupOf, pr as MotionArgs, ps as CARET_BLINK_MS, pt as CLIP_STRIDE_FLOATS, pu as sheetSource, q as parseWebVtt, qa as EXTERNAL_FILES, qc as EditableText, qd as PaintBox, qf as UiInsetRegistry, qg as colorsEqual, qh as TextLine, qi as proportionalFontMetrics, ql as UiSemanticStates, qm as decorationColor, qn as insetPadding, qo as SCROLLBAR_THICKNESS, qp as UiFocusEvent, qr as dropTarget, qs as DEFAULT_FONT_FAMILY, qt as WebGPUCanvasHost, qu as contrastRatio, r as UiSemanticsUpdate, ra as LayoutStateExplanation, rc as colorToCss, rd as spacingSteps, rf as paintValuesEqual, rg as UiEnvironment, rh as UiDirection, ri as Decorations, rl as UiBinding, rm as UiSelectionChangeEvent, rn as PaintStats, ro as UiShortcut, rp as unknownContainerSize, rr as VideoSourceArgs, rs as clearMatchRanges, rt as demuxMp4Video, ru as LazySheet, s as recordsEqual, sa as describeLength, sc as normalizeTextAlign, sd as UiTypography, sf as MAX_GRADIENT_STOPS, sg as UiNodeType, sh as UiObjectFit, si as decorated, sl as UiChildrenBinding, sm as noKeyModifiers, sn as PaintResolver, so as describeShortcut, sp as UiEditingGroup, sr as DefaultVideoResolver, ss as FindOptions, st as Mp3Header, su as SheetRowRenderer, t as UiSemanticsAction, t_ as linear, ta as Edges, tc as TextAlign, td as scaleSpacing, tf as UiPath, tg as TextWrap, th as UiContentDistribution, ti as BorderEdge, tl as UiDefinition, tm as UiPointerEvent, tn as PaintCanvasFactory, to as dragSessionFor, tp as bandOf, tr as scrollPosition, ts as SubtreeBounds, tt as Mp4VideoTrack, tu as EditUnit, u as SemanticsReuse, ua as formatExplanation, uc as DEFAULT_LINE_HEIGHT_FACTOR, ud as defaultTypography, uf as UiGradient, ug as UiTransitionSpec, uh as UiPointerEvents, ui as InteractiveOptions, ul as BoxProps, um as MOTION_CHANNELS, un as EMPTY_RECORDING, uo as shortcutKeyCaps, up as adjacentField, ur as VideoPlayback, us as provideEnvironment, ut as WebGPUGlyphPages, uu as UiVirtualSheet, v as rewalkSemantics, va as UiHostFrameClock, vc as CaretRect, vd as UiVisualState, vf as radialGradient, vg as UiAnimationOptions, vh as UiThemeColorName, vi as noModifiers, vl as FlexItemProps, vm as isMotionRest, vn as LayoutInspectorOptions, vo as UiScrollability, vp as UiUnknownModifierPropertyError, vr as ImageSourceArgs, vs as editorOf, vt as ImageCommand, vu as LazySourceArgs, w as linkHoverOf, wa as isNodeHitTestable, wc as lineLimit, wd as UiFontKerning, wf as UiLength, wg as createTween, wh as borderRadiusCorners, wi as getPropertyNames, wl as PaintProps, wm as slideFrom, wn as ScrollLayerStats, wo as PinchRecognizerOptions, wp as UiModifierHost, wr as IconRasterizer, ws as EditCommand, wt as RenderTextCache, wu as VirtualUpdate, x as textRunOfRecordId, xa as UiTimerFrameClock, xc as caretRectFor, xd as hasVisualState, xf as FrLength, xg as UiSpringOptions, xh as UiBorderRadius, xi as contentOffset, xl as IdentityProps, xm as rotateFrom, xn as Canvas2DRendererOptions, xo as GestureInput, xp as UiModifierKind, xr as imageSource, xs as isReadOnly, xt as PrimitiveKind, xu as VIRTUAL_LEAD_PROP, y as semanticsInertAbove, ya as UiHostFrameClockOptions, yc as PlacedLine, yd as UiVisualStateSet, yf as validateGradient, yg as UiReducedMotionPolicy, yh as UiVerticalAlign, yi as Transform, yl as GridItemProps, ym as pop, yn as CanvasTextMeasurer, yo as UiWheelController, yp as assertModifierList, yr as ImageSources, ys as isEditableNode, yt as NO_CLIP_INDEX, yu as UiVirtualWindow, z as markInstant, za as prepareInputSurface, zc as LazyColumn, zd as hiddenRangesOf, zf as boxShadowArraysEqual, zg as transform, zh as lightColors, zi as MainAxisAlignment, zl as UiPropertyValues, zm as UiNode, zn as resolveProperty, zo as HitTestLayoutReader, zp as UiEventListener, zr as PinchableOptions, zs as fillTextRects, zt as initializeWebGPU, zu as defineThemeExtension } from "./index-Cgzq72eC.js";
2
2
  export { type Affine, AlignContent, type AnimateLayoutOptions, type AnimatedCell, AnimationDriver, type AutoLength, type AutoScrollOptions, type AxisExplanation, BOX_SHADOW_BLUR_REACH, BUTTON_INTERACTION, type BindingId, type BorderEdge, type BordersOptions, Box, type BoxModelProps, type BoxProps, type BreakpointArgs, Button, type ButtonProps, type ByteSource, CARET_BLINK_MS, CARET_WIDTH, CLIP_STRIDE_BYTES, CLIP_STRIDE_FLOATS, type Canvas2DContext, Canvas2DRenderer, type Canvas2DRendererOptions, type CanvasHost, CanvasPlatformSurface, CanvasSurface, CanvasTextMeasurer, type CanvasTextStyle, type CapturedFrame, type CaretRect, CharacterCountTextMeasurer, type ChildrenBindingId, type ClickOutsideOptions, Column, type ColumnProps, CommandKind, type CommonProps, type ComponentLikeElement, type ComponentResolver, type CompositionRange, Constraints, type ContainerProps, type ContextMenuOptions, CrossAxisAlignment, type CustomLayoutExplanation, DEFAULT_BLOCK_SIZE, DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE, DEFAULT_FONT_WEIGHT, DEFAULT_LINE_HEIGHT_FACTOR, DEFAULT_TEXT_COLOR, type DecorationFill, type DecorationRect, type DecorationShape, type DecorationStroke, type Decorations, DefaultImageResolver, type DefaultImageResolverOptions, DefaultVideoResolver, type DefaultVideoResolverOptions, DirtyFlags, DirtyNodeSet, type DragOffset, type DragSourceOptions, type DraggableOptions, type DrawStats, type DropTargetOptions, EDITOR_PROP, ELLIPSIS, EMPTY_RECORDING, EXTERNAL_FILES, type Edges, type EditCommand, type EditUnit, EditableLayout, EditableText, EditableTextModel, type EditableTextProps, type EditingControllerOptions, type EditingHost, type EditingPlatform, type EditingState, EnvironmentNotifier, type EnvironmentProps, type FindHost, type FindMatch, type FindOptions, type FixedMetricsOptions, type FlexContainerProps, FlexDirection, type FlexItemProps, FocusNotifier, type FocusOptions, type FocusRingOptions, type FocusSource, type FontMetrics, type FrLength, GLYPH_SUBPIXEL_PHASES, type GestureInput, type GestureRecognizerOptions, type GlyphCommand, GlyphShaper, type GlyphSlot, type GlyphUpload, GradientPaint, Grid, type GridContribution, type GridItemProps, type GridItemRequest, type GridPlacement, type GridProps, type GridTrack, HighContrastOptions, type HitTestLayoutReader, type HitTestResult, type HitTester, INSPECTOR_HEAT_MS, INSTANCE_STRIDE_BYTES, INSTANCE_STRIDE_FLOATS, type IconCanvas, type IconContext, IconRasterizer, type IconRasterizerOptions, type IconSourceArgs, type IconSpec, type IdentityProps, type ImageCommand, type ImageResolver, type ImageSourceArgs, type ImageSources, type InsetPaddingArgs, type InspectorOverlay, type InteractionProps, type InteractiveOptions, type KeyboardControllerOptions, LABEL_PADDING_X, type LayerCanvasFactory, type LayoutBox, LayoutEngine, type LayoutExplanation, LayoutInspector, type LayoutInspectorOptions, LayoutNotifier, type LayoutReader, LayoutRecord, type LayoutResult, type LayoutStateExplanation, type LayoutStats, type LazyAxis, LazyColumn, LazyGrid, type LazyGridOptions, type LazyGridProps, type LazyItemRenderer, type LazyListOptions, type LazyListProps, LazyRow, LazySheet, type LazySheetProps, type LazySourceArgs, MARK_PREFIX, MAX_GRADIENT_STOPS, MAX_MEASURES_PER_CHILD, MOTION_CHANNELS, MOTION_REST, MOUSE_POINTER, MainAxisAlignment, type MinMaxTrack, type MotionArgs, type MotionChannel, type MotionState, type MotionStateInput, type MotionTiming, type Mp3Format, type Mp3Frame, Mp3Frames, type Mp3Header, type Mp4AudioTrack, type Mp4Sample, type Mp4VideoTrack, NO_CLIP_INDEX, type NodeId, type NodeProperty, NodeTransitions, type ObjectFit, type OverlayShape, type OverrideSources, Paint, type PaintBox, type PaintBoxShadow, type PaintCanvas, type PaintCanvasFactory, type PaintContext2D, type PaintElementProps, type PaintFillRule, type PaintGradient, type PaintLineCap, type PaintLineJoin, type PaintOp, PaintPictureCache, type PaintProps, PaintRecorder, type PaintRecording, type PaintResolver, type PaintState, type PaintStats, type PaintSurface, PaintTarget, type PaintTextAlign, type PaintTextSpan, type PaintTextStyle, type ParagraphGeometry, type ParagraphLayout, ParagraphTextMeasurer, type PercentLength, type PinchRecognizerOptions, type PinchableOptions, type PlacedLine, type PlacedTextRun, type PlatformAdapterOptions, type PlatformEventTarget, type PlatformSurface, type PointerControllerOptions, type PositionProps, type PrimitiveCommand, PrimitiveKind, type PropsOf, type PublishInsetArgs, type RangeResponse, type RangeSourceOptions, type Reactive, type RelayoutExplanation, type RenderChanges, type RenderCommand, type RenderContext, type RenderHooks, type RenderList, type RenderTextCache, type RendererBackend, type ReorderableOptions, ResolvedGradient, ResolvedGradientStop, type ResolvedMotionState, Responsive, type ResponsiveProps, Row, type RowProps, type RunMeasure, SCROLLBAR_FADE_MS, SCROLLBAR_HOVER_ZONE, SCROLLBAR_INSET, SCROLLBAR_LINGER_MS, SCROLLBAR_MIN_THUMB, SCROLLBAR_THICKNESS, type ScissorRect, type ScrollAdjustment, type ScrollContainerState, type ScrollLayerStats, type ScrollOffset, type ScrollPositionArgs, type ScrollSink, ScrollView, type ScrollViewProps, type ScrollbarAxis, type ScrollbarThumb, type SelectionControllerOptions, type SelectionHost, type SemanticsMemory, type SemanticsPlacement, type SemanticsReuse, type SemanticsRewalk, type SemanticsSpan, type SharedClaim, type SharedElementArgs, type SheetHeaderRenderer, type SheetRange, type SheetRowRenderer, type SheetSourceArgs, type SheetViewport, type ShortcutOptions, type ShortcutRegistryOptions, type ShortcutsOptions, type Size, type SizeContainerArgs, type SizeDecision, type SpanPaint, type SpannedRuns, Stack, type StackProps, type SubtreeBounds, TEXTURED_STRIDE_BYTES, TEXTURED_STRIDE_FLOATS, TEXT_MATCHES_PROP, TEXT_RUN_ID_SEPARATOR, TEXT_SELECTION_PROP, Text, type TextAlign, type TextContentProps, type TextLine, type TextLinePlacement, type TextLineRun, type TextMeasureRequest, type TextMeasurer, type TextOverflow, type TextProps, type TextRange, type TextRunDraw, type TextRunMeasurer, type TextRunRect, type TextRunSpan, type TextRunStyle, type TextWrap, type ThemeTokenTarget, type TightenOptions, type TouchScrollerOptions, type Transform, type TypographyProps, UI_ROLES, UI_SEMANTIC_STATES, UI_SUBGRID_AXES, UiAlignment, UiAnimation, UiAnimationFrameClock, type UiAnimationOptions, UiAutocomplete, UiBasicColors, UiBeforeInputEvent, UiBinding, UiBorderRadius, UiBorderRadiusValue, UiBorderRadiuses, UiBoxShadow, type UiChild, UiChildrenBinding, UiColor, UiColorValue, UiColors, UiCompositionEvent, UiContainerSize, UiContainerSizeSource, UiContentDistribution, UiContrast, UiCursor, type UiDefinition, UiDensity, UiDirection, type UiDragPayload, UiDragSession, type UiDragState, type UiDropEffect, type UiDropZone, type UiDroppedFile, UiDurationToken, type UiEasing, UiEasingToken, UiEditingController, type UiEditingGroup, type UiElement, UiEnvironment, UiEnvironmentKey, UiEnvironmentKeys, UiEnvironmentProvider, UiEventBinding, type UiEventListener, type UiEventListenerOptions, type UiEventProps, UiEventType, type UiFileDropMessage, UiFindController, UiFlexWrap, UiFocusEvent, UiFocusManager, UiFontKerning, UiFontStretch, UiFontStyle, UiFontVariant, UiFontWeight, UiFrame, type UiFrameCallback, type UiFrameClock, type UiFrameClockFactory, type UiFrameTime, UiGestureEvent, UiGestureRecognizer, UiGradient, UiGradientOffset, UiGradientStop, UiGraph, UiGraphBuilder, UiGridAutoFlow, type UiGroupEdit, UiHitTester, UiHostFrameClock, type UiHostFrameClockOptions, type UiImage, UiInputDispatcher, UiInputEvent, UiInsetEdge, UiInsetRegistry, UiInsetSource, UiInsets, type UiInterpolator, type UiKeyModifiers, UiKeyboardController, UiKeyboardEvent, type UiLayoutChild, type UiLayoutContext, type UiLayoutProtocol, type UiLength, UiLinearGradient, type UiListenerErrorReporter, UiLiveRegion, UiManualFrameClock, type UiModifier, type UiModifierBundle, type UiModifierEnvironment, type UiModifierFocus, type UiModifierHost, type UiModifierKind, type UiModifierLayout, UiModifierSet, type UiModifierTeardown, UiMotion, UiNode, type UiNodeRef, type UiNodeTransitions, UiNodeType, UiObjectFit, UiOrientation, UiOverflow, type UiPaint, UiPasteEvent, type UiPath, UiPinchEvent, UiPinchRecognizer, UiPlacement, UiPlatformAdapter, type UiPoint, UiPointerController, type UiPointerDevice, UiPointerEvent, UiPointerEvents, type UiPointerKind, UiPosition, type UiPropValue, UiProperties, UiPropertyDefinition, UiPropertyName, type UiPropertyOverride, type UiPropertyOverrides, UiPropertyValueOf, UiPropertyValues, type UiProps, UiRadialGradient, type UiReducedMotionPolicy, type UiRenderer, UiResolvedTextSpan, UiRole, UiScheduler, type UiSchedulerOptions, type UiScrollBehavior, type UiScrollability, UiSelectionChangeEvent, UiSelectionController, UiSelfAlignment, UiSemanticState, UiSemanticStates, type UiSemanticsAction, type UiSemanticsBox, type UiSemanticsMap, type UiSemanticsPatch, type UiSemanticsRecord, type UiSemanticsUpdate, UiShadows, UiShapeExtensions, UiShapeName, UiShapes, UiSharedElements, type UiShortcut, type UiShortcutBinding, UiShortcutRegistry, type UiShortcutStep, UiSpacing, UiSpannedText, UiSpring, type UiSpringOptions, UiSpringSpec, UiSpringToken, UiSubgridAxis, UiTextAlign, UiTextChangeEvent, UiTextDecoration, UiTextDirection, type UiTextInput, type UiTextInputState, UiTextLink, UiTextMetrics, UiTextOverflowValue, type UiTextPosition, UiTextRange, UiTextSpan, UiTextStyle, UiTextWrapValue, UiTheme, UiThemeColorName, UiThemeExtension, UiThemeExtensionOptions, UiThemeExtensions, UiTimerFrameClock, type UiTimerFrameClockOptions, UiTouchScroller, type UiTrackSize, UiTransform, UiTransforms, type UiTransitionSpec, type UiTransitionValue, UiTween, type UiTweenOptions, UiTypography, UiTypographyExtensions, UiTypographyRole, UiUnknownModifierPropertyError, UiVerticalAlign, type UiVideoSurface, UiVirtualSheet, type UiVirtualSheetOptions, UiVirtualWindow, UiVisualState, UiVisualStateSet, UiWheelController, UiWheelDeltaMode, UiWheelEvent, VIRTUAL_INDEX_PROP, VIRTUAL_LEAD_PROP, VIRTUAL_SHEET_PROP, VIRTUAL_WINDOW_PROP, type VerticalAlign, type VideoClock, type VideoPlayback, type VideoResolver, type VideoSourceArgs, type VideoState, type VideoTransport, type VirtualItemMeasure, type VirtualUpdate, type VirtualViewport, type VttCue, type VttTrack, type WebGPUCanvasHost, WebGPUError, WebGPUGlyphAtlas, WebGPUGlyphPages, WebGPURenderer, type WebGPURendererOptions, WebGPUSurface, WebGPUTextureCache, type ZoomState, accumulatedOffsetTo, adjacentField, animateLayout, applyCanvasTextStyle, assertModifierList, assertTransitionMap, auto, autoFocus, bandOf, borderRadius, borderRadiusCorners, borderRadiusEqual, borderRadiusIsZero, borderRadiusValuesEqual, borderShapes, borders, boxShadow, boxShadowArraysEqual, boxShadowRadius, boxShadowReach, boxShadowsEqual, breakpoint, bufferSource, buildFontString, buildRenderList, buildSemanticsSubtree, buildSemanticsTree, bumpFontStack, bundle, canDecodeVideo, capturePointer, caretRectFor, caretVisibleAt, clampSize, clearFontStacks, clearLinkHover, clearMatchRanges, clearOverrideProperty, clearSelectionRange, clickOutside, closestPropertyName, colorToCss, colorToHex, colorToRgba, colorValuesEqual, colorsEqual, colorsEqualPalette, commandForKey, comparePositions, computeObjectFitRect, constraintsEqual, containerBands, contentOffset, contextMenu, contrastRatio, createCanvasSurface, createCanvasTextStyle, createElement, createEnvironmentKey, createPaintState, createTextCache, createTween, createWebGPUSurface, cubicBezier, cueAt, darkColors, darkTheme, decorated, decorationColor, decorationRect, defaultMotion, defaultShadows, defaultShapes, defaultSpacing, defaultTextStyle, defaultTypography, defaultVisualState, defineModifier, defineProperty, defineThemeExtension, demuxMp4Audio, demuxMp4Video, densityFactors, describeLength, describeOverrides, describeShortcut, detectEditingPlatform, diffSemantics, dragSessionFor, dragSource, draggable, drawOverlayShapes, drawText, dropIndexShifts, dropTarget, easings, edgeField, editableSpansOf, editingGroupOf, editorFor, editorOf, fade, fillTextRects, findEnvironmentKey, findMatchesIn, findPropertyDefinition, flattenTextSpans, focusRing, fontStackFor, formatConstraints, formatExplanation, formatShortcut, fr, getPropertyNames, glyphCount, gradientPaint, gradientsEqual, graphemeBoundaries, hasDecorationPhase, hasDrawnText, hasTextLinks, hasThemeExtension, hasVisualState, hiddenRangesOf, highContrastColors, hoverable, iconKey, iconSource, imageSource, inheritedPropertyFlags, inheritedPropertyNames, initializeWebGPU, inputsEqual, insetPadding, insetsEqual, interactive, interpolateColor, interpolateNumber, interpolateTransform, interpolatorFor, isAutoLength, isComponentLikeElement, isEditableNode, isFrLength, isImeKey, isLayoutProtocol, isMinMaxTrack, isMotionRest, isMultiline, isNodeFocusable, isNodeHitTestable, isNodeInert, isNodeSelectable, isNodeTabStop, isObservable, isPaintVisible, isPercentLength, isPrintable, isReadOnly, isScrollContainer, isShapeName, isSubtreeInert, isTypographyRole, isUiChild, isUiElement, isUiModifier, isUiRole, isUiSemanticState, isVideoSurface, isWebGPUAvailable, labelNode, labelOrigin, layoutParagraph, layoutTextLines, lazySource, lightColors, lightTheme, lineEndAt, lineIndexAtY, lineIndexForOffset, lineLimit, lineStartAt, linear, linearGradient, linkHoverOf, linkOf, linkRunAtPointIn, markInstant, markNow, matchRangesOf, measure, measureFlow, measureSpan, minmax, motion, nextCaretToggle, nextGraphemeEnd, nextWordEnd, noInsets, noKeyModifiers, noModifiers, noThemeExtensions, normalizeBorderRadius, normalizeColor, normalizeStates, normalizeTextAlign, normalizeTransition, normalizeVerticalAlign, observeViewportInsets, offsetAtPoint, offsetAtPointIn, offsetAtX, offsetForVerticalMove, overrideSources, paintPictures, paintValuesEqual, paintsAfterChildren, paragraphGeometry, paragraphGeometryFrom, parseAlignContent, parseColor, parseCrossAxisAlignment, parseFlexDirection, parseMainAxisAlignment, parseShortcut, parseTransform, parseWebVtt, pathValuesEqual, percent, performanceMarksEnabled, pinchable, placeGridItems, pointerDeviceOf, pointerEventsOf, pop, prepareInputSurface, pressable, previousGraphemeStart, previousWordStart, propertyEffects, propertyIsInherited, propertyNarrowers, propertyValuesEqual, propertyValuesEqualByName, proportionalFontMetrics, provideEnvironment, publishInset, radialGradient, raiseContrast, rangeSource, readMp3Header, recordsEqual, registerFontStack, relativeLuminance, reorderable, repeat, replayPaint, resetOverrideWarnings, resetTransitionWarnings, resolveBoolean, resolveCursor, resolveLength, resolveMotionState, resolveNumber, resolvePaintState, resolveProperty, resolvePropertyByName, resolveString, resolvedSpansOf, rewalkSemantics, rgb8, rgba, rotateFrom, runCanvasStyleInto, runFontString, sameArgs, scaleFrom, scaleSpacing, scrollLeaderOf, scrollPosition, scrollRange, scrollbarThumb, scrollbarThumbs, scrollbarZoneAt, selectableTextNodes, selectableTextOf, selectionRangeOf, selectionRects, selectionRectsIn, semanticsInertAbove, semanticsMemory, setLinkHover, setMatchRanges, setPerformanceMarks, setSelectionRange, shadowsEqual, shapesEqual, sharedElement, sheetSource, shortcut, shortcutKeyCaps, shortcuts, sizeContainer, sizeGridTracks, slideDown, slideFrom, slideUp, spacingEqual, spacingSteps, spanAtOffset, spannedRunsFor, spannedTextOf, spansDifferOnlyInPaint, splitMp3Frames, spring, statesEqual, steps, syncEditorValue, textContentOf, textInputOf, textRunBackgrounds, textRunDecorations, textRunOfRecordId, textRuns, textSpansEqual, textStylesEqual, themeExtension, themeExtensionsEqual, themeTokens, themesEqual, tightenConstraints, touchActionFor, tracePathData, traceRoundedRect, transform, transformIsIdentity, transformsEqual, tween, typographyEqual, uniformBorderRadius, unknownContainerSize, validateGradient, validateRole, validateStates, validateSubgrid, videoFrameSize, videoSource, visualState, visualStatesEqual, wheelDeltaYOf, withContrast, withDensity, withOverrideSource, withThemeExtension, wordRangeAt, wordRangeIn, writeDeclaredProperty, writeOverrideProperty };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as isImeKey, $a as visualStatesEqual, $i as scaleSpacing, $n as spannedRunsFor, $r as transformIsIdentity, $t as registerFontStack, A as withOverrideSource, Aa as UiBasicColors, Ai as noInsets, An as clearLinkHover, Ar as inheritedPropertyFlags, At as adjacentField, B as FlexDirection, Ba as findEnvironmentKey, Bi as withDensity, Bn as editorFor, Br as isUiSemanticState, Bt as createCanvasTextStyle, C as SCROLLBAR_LINGER_MS, Ca as spansDifferOnlyInPaint, Ci as normalizeBorderRadius, Cn as isNodeInert, Cr as resolveNumber, Ct as hasDrawnText, D as formatExplanation, Da as colorsEqualPalette, Di as UiEnvironmentKeys, Dn as isSubtreeInert, Dr as closestPropertyName, Dt as selectionRectsIn, E as formatConstraints, Ea as textStylesEqual, Ei as propertyValuesEqual, En as isPressable, Er as resolveString, Et as paragraphGeometryFrom, F as clampSize, Fa as normalizeColor, Fi as unknownContainerSize, Fn as setLinkHover, Fr as propertyValuesEqualByName, Ft as detectEditingPlatform, G as CrossAxisAlignment, Ga as overrideSources, Gi as themeExtensionsEqual, Gn as maskText, Gr as UI_SUBGRID_AXES, Gt as runFontString, H as placeGridItems, Ha as UiNode, Hi as hasThemeExtension, Hn as isEditableNode, Hr as statesEqual, Ht as fillTextRects, I as constraintsEqual, Ia as parseColor, Ii as darkTheme, In as CARET_BLINK_MS, Ir as UiProperties, It as isPrintable, J as parseCrossAxisAlignment, Ja as writeOverrideProperty, Ji as highContrastColors, Jn as resolveColorValue, Jr as paintValuesEqual, Jt as textRunBackgrounds, K as MainAxisAlignment, Ka as resetOverrideWarnings, Ki as withThemeExtension, Kn as nextCaretToggle, Kr as validateSubgrid, Kt as spanOf, L as tightenConstraints, La as rgb8, Li as lightTheme, Ln as CARET_WIDTH, Lr as UI_ROLES, Lt as EditableLayout, M as contentOffset, Ma as colorToRgba, Mi as UiContainerSizeSource, Mn as linkHoverOf, Mr as propertyEffects, Mt as edgeField, N as LayoutRecord, Na as colorValuesEqual, Ni as bandOf, Nn as linkOf, Nr as propertyIsInherited, Nt as editingGroupOf, O as formatNumber, Oa as darkColors, Oi as UiInsetRegistry, On as pointerEventsOf, Or as findPropertyDefinition, Ot as wordRangeIn, P as Constraints, Pa as colorsEqual, Pi as containerBands, Pn as linkRunAtPointIn, Pr as propertyNarrowers, Pt as commandForKey, Q as capturePointer, Qa as visualState, Qi as defaultSpacing, Qn as ParagraphTextMeasurer, Qr as transform, Qt as fontStackFor, R as MAX_MEASURES_PER_CHILD, Ra as rgba, Ri as themesEqual, Rn as EDITOR_PROP, Rr as UI_SEMANTIC_STATES, Rt as applyCanvasTextStyle, S as SCROLLBAR_FADE_MS, Sa as spannedTextOf, Si as borderRadiusValuesEqual, Sn as isNodeHitTestable, Sr as resolveBoolean, St as UiInputDispatcher, T as describeOverrides, Ta as textSpansEqual, Ti as defineProperty, Tn as isNodeTabStop, Tr as resolvePropertyByName, Tt as paragraphGeometry, U as sizeGridTracks, Ua as DirtyNodeSet, Ui as noThemeExtensions, Un as isMultiline, Ur as validateRole, Ut as layoutTextLines, V as parseFlexDirection, Va as UiEnvironment, Vi as defineThemeExtension, Vn as editorOf, Vr as normalizeStates, Vt as drawText, W as AlignContent, Wa as clearOverrideProperty, Wi as themeExtension, Wn as isReadOnly, Wr as validateStates, Wt as runCanvasStyleInto, X as CanvasPlatformSurface, Xa as defaultVisualState, Xi as relativeLuminance, Xn as videoFrameSize, Xr as UiTransforms, Xt as bumpFontStack, Y as parseMainAxisAlignment, Ya as UiVisualState, Yi as raiseContrast, Yn as isVideoSurface, Yr as pathValuesEqual, Yt as textRunDecorations, Z as UiPlatformAdapter, Za as hasVisualState, Zi as densityFactors, Zn as CharacterCountTextMeasurer, Zr as parseTransform, Zt as clearFontStacks, _ as LABEL_PADDING_X, _a as editableSpansOf, _i as UiBorderRadiuses, _n as selectableTextNodes, _o as UiNodeType, _r as previousGraphemeStart, _t as scrollLeaderOf, a as PaintPictureCache, aa as boxShadow, ai as radialGradient, an as computeObjectFitRect, ao as UiGestureEvent, ar as lineIndexForOffset, at as UiGestureRecognizer, b as snapScroll, ba as resolvedSpansOf, bi as borderRadiusEqual, bn as setSelectionRange, br as UiGraph, bt as scrollbarThumbs, c as EMPTY_RECORDING, ca as boxShadowReach, ci as fr, cn as normalizeTextAlign, co as UiPasteEvent, cr as offsetAtX, ct as isScrollContainer, d as tracePathData, da as isShapeName, di as isMinMaxTrack, dn as TEXT_MATCHES_PROP, do as UiSelectionChangeEvent, dr as EditableTextModel, dt as UiFocusManager, ea as spacingEqual, ei as transformsEqual, en as DEFAULT_FONT_FAMILY, eo as MOUSE_POINTER, er as ELLIPSIS, et as pointerDeviceOf, f as ScaledImageCache, fa as shapesEqual, fi as isPercentLength, fn as clearMatchRanges, fo as UiTextChangeEvent, fr as graphemeBoundaries, ft as UiHitTester, g as paintsAfterChildren, ga as defaultTextStyle, gi as resolveLength, gn as clearSelectionRange, go as wheelDeltaYOf, gr as nextWordEnd, gt as SCROLLBAR_THICKNESS, h as hasDecorationPhase, ha as typographyEqual, hi as repeat, hn as TEXT_SELECTION_PROP, ho as noKeyModifiers, hr as nextGraphemeEnd, ht as SCROLLBAR_MIN_THUMB, i as traceRoundedRect, ia as BOX_SHADOW_BLUR_REACH, ii as linearGradient, in as colorToCss, io as UiFocusEvent, ir as lineIndexAtY, it as UiTouchScroller, j as accumulatedOffsetTo, ja as colorToHex, ji as observeViewportInsets, jn as hasTextLinks, jr as inheritedPropertyNames, jt as comparePositions, k as labelNode, ka as lightColors, ki as insetsEqual, kn as resolveCursor, kr as getPropertyNames, kt as textInputOf, l as PaintRecorder, la as boxShadowsEqual, li as isAutoLength, ln as normalizeVerticalAlign, lo as UiPinchEvent, lr as offsetForVerticalMove, lt as UiKeyboardController, m as decorationRect, ma as isTypographyRole, mi as percent, mn as setMatchRanges, mo as UiWheelEvent, mr as lineStartAt, mt as SCROLLBAR_INSET, n as createCanvasSurface, na as defaultShadows, ni as gradientPaint, nn as DEFAULT_FONT_WEIGHT, no as UiCompositionEvent, nr as proportionalFontMetrics, nt as touchActionFor, o as paintPictures, oa as boxShadowArraysEqual, oi as validateGradient, on as createPaintState, oo as UiInputEvent, or as lineLimit, ot as UiPinchRecognizer, p as decorationColor, pa as defaultTypography, pi as minmax, pn as matchRangesOf, po as UiWheelDeltaMode, pr as lineEndAt, pt as SCROLLBAR_HOVER_ZONE, q as parseAlignContent, qa as writeDeclaredProperty, qi as contrastRatio, qn as syncEditorValue, qr as inputsEqual, qt as textMeasureRequest, r as Canvas2DRenderer, ra as shadowsEqual, ri as gradientsEqual, rn as DEFAULT_TEXT_COLOR, ro as UiEventType, rr as caretRectFor, rt as UiEditingController, s as PaintTarget, sa as boxShadowRadius, si as auto, sn as isPaintVisible, so as UiKeyboardEvent, sr as offsetAtPoint, st as UiWheelController, t as CanvasSurface, ta as spacingSteps, ti as MAX_GRADIENT_STOPS, tn as DEFAULT_FONT_SIZE, to as UiBeforeInputEvent, tr as layoutParagraph, tt as prepareInputSurface, u as replayPaint, ua as defaultShapes, ui as isFrLength, un as resolvePaintState, uo as UiPointerEvent, ur as selectionRects, ut as UiPointerController, v as drawOverlayShapes, va as flattenTextSpans, vi as borderRadius, vn as selectableTextOf, vo as DirtyFlags, vr as previousWordStart, vt as scrollRange, w as describeLength, wa as textContentOf, wi as uniformBorderRadius, wn as isNodeSelectable, wr as resolveProperty, wt as offsetAtPointIn, x as LayoutEngine, xa as spanAtOffset, xi as borderRadiusIsZero, xn as isNodeFocusable, xr as DEFAULT_LINE_HEIGHT_FACTOR, xt as scrollbarZoneAt, y as labelOrigin, ya as hiddenRangesOf, yi as borderRadiusCorners, yn as selectionRangeOf, yo as UiBinding, yr as wordRangeAt, yt as scrollbarThumb, z as isLayoutProtocol, za as createEnvironmentKey, zi as withContrast, zn as caretVisibleAt, zr as isUiRole, zt as buildFontString } from "./CanvasSurface-BAhcLj2K.js";
1
+ import { $ as isImeKey, $a as visualStatesEqual, $i as scaleSpacing, $n as spannedRunsFor, $r as transformIsIdentity, $t as registerFontStack, A as withOverrideSource, Aa as UiBasicColors, Ai as noInsets, An as clearLinkHover, Ar as inheritedPropertyFlags, At as adjacentField, B as FlexDirection, Ba as findEnvironmentKey, Bi as withDensity, Bn as editorFor, Br as isUiSemanticState, Bt as createCanvasTextStyle, C as SCROLLBAR_LINGER_MS, Ca as spansDifferOnlyInPaint, Ci as normalizeBorderRadius, Cn as isNodeInert, Cr as resolveNumber, Ct as hasDrawnText, D as formatExplanation, Da as colorsEqualPalette, Di as UiEnvironmentKeys, Dn as isSubtreeInert, Dr as closestPropertyName, Dt as selectionRectsIn, E as formatConstraints, Ea as textStylesEqual, Ei as propertyValuesEqual, En as isPressable, Er as resolveString, Et as paragraphGeometryFrom, F as clampSize, Fa as normalizeColor, Fi as unknownContainerSize, Fn as setLinkHover, Fr as propertyValuesEqualByName, Ft as detectEditingPlatform, G as CrossAxisAlignment, Ga as overrideSources, Gi as themeExtensionsEqual, Gn as maskText, Gr as UI_SUBGRID_AXES, Gt as runFontString, H as placeGridItems, Ha as UiNode, Hi as hasThemeExtension, Hn as isEditableNode, Hr as statesEqual, Ht as fillTextRects, I as constraintsEqual, Ia as parseColor, Ii as darkTheme, In as CARET_BLINK_MS, Ir as UiProperties, It as isPrintable, J as parseCrossAxisAlignment, Ja as writeOverrideProperty, Ji as highContrastColors, Jn as resolveColorValue, Jr as paintValuesEqual, Jt as textRunBackgrounds, K as MainAxisAlignment, Ka as resetOverrideWarnings, Ki as withThemeExtension, Kn as nextCaretToggle, Kr as validateSubgrid, Kt as spanOf, L as tightenConstraints, La as rgb8, Li as lightTheme, Ln as CARET_WIDTH, Lr as UI_ROLES, Lt as EditableLayout, M as contentOffset, Ma as colorToRgba, Mi as UiContainerSizeSource, Mn as linkHoverOf, Mr as propertyEffects, Mt as edgeField, N as LayoutRecord, Na as colorValuesEqual, Ni as bandOf, Nn as linkOf, Nr as propertyIsInherited, Nt as editingGroupOf, O as formatNumber, Oa as darkColors, Oi as UiInsetRegistry, On as pointerEventsOf, Or as findPropertyDefinition, Ot as wordRangeIn, P as Constraints, Pa as colorsEqual, Pi as containerBands, Pn as linkRunAtPointIn, Pr as propertyNarrowers, Pt as commandForKey, Q as capturePointer, Qa as visualState, Qi as defaultSpacing, Qn as ParagraphTextMeasurer, Qr as transform, Qt as fontStackFor, R as MAX_MEASURES_PER_CHILD, Ra as rgba, Ri as themesEqual, Rn as EDITOR_PROP, Rr as UI_SEMANTIC_STATES, Rt as applyCanvasTextStyle, S as SCROLLBAR_FADE_MS, Sa as spannedTextOf, Si as borderRadiusValuesEqual, Sn as isNodeHitTestable, Sr as resolveBoolean, St as UiInputDispatcher, T as describeOverrides, Ta as textSpansEqual, Ti as defineProperty, Tn as isNodeTabStop, Tr as resolvePropertyByName, Tt as paragraphGeometry, U as sizeGridTracks, Ua as DirtyNodeSet, Ui as noThemeExtensions, Un as isMultiline, Ur as validateRole, Ut as layoutTextLines, V as parseFlexDirection, Va as UiEnvironment, Vi as defineThemeExtension, Vn as editorOf, Vr as normalizeStates, Vt as drawText, W as AlignContent, Wa as clearOverrideProperty, Wi as themeExtension, Wn as isReadOnly, Wr as validateStates, Wt as runCanvasStyleInto, X as CanvasPlatformSurface, Xa as defaultVisualState, Xi as relativeLuminance, Xn as videoFrameSize, Xr as UiTransforms, Xt as bumpFontStack, Y as parseMainAxisAlignment, Ya as UiVisualState, Yi as raiseContrast, Yn as isVideoSurface, Yr as pathValuesEqual, Yt as textRunDecorations, Z as UiPlatformAdapter, Za as hasVisualState, Zi as densityFactors, Zn as CharacterCountTextMeasurer, Zr as parseTransform, Zt as clearFontStacks, _ as LABEL_PADDING_X, _a as editableSpansOf, _i as UiBorderRadiuses, _n as selectableTextNodes, _o as UiNodeType, _r as previousGraphemeStart, _t as scrollLeaderOf, a as PaintPictureCache, aa as boxShadow, ai as radialGradient, an as computeObjectFitRect, ao as UiGestureEvent, ar as lineIndexForOffset, at as UiGestureRecognizer, b as snapScroll, ba as resolvedSpansOf, bi as borderRadiusEqual, bn as setSelectionRange, br as UiGraph, bt as scrollbarThumbs, c as EMPTY_RECORDING, ca as boxShadowReach, ci as fr, cn as normalizeTextAlign, co as UiPasteEvent, cr as offsetAtX, ct as isScrollContainer, d as tracePathData, da as isShapeName, di as isMinMaxTrack, dn as TEXT_MATCHES_PROP, do as UiSelectionChangeEvent, dr as EditableTextModel, dt as UiFocusManager, ea as spacingEqual, ei as transformsEqual, en as DEFAULT_FONT_FAMILY, eo as MOUSE_POINTER, er as ELLIPSIS, et as pointerDeviceOf, f as ScaledImageCache, fa as shapesEqual, fi as isPercentLength, fn as clearMatchRanges, fo as UiTextChangeEvent, fr as graphemeBoundaries, ft as UiHitTester, g as paintsAfterChildren, ga as defaultTextStyle, gi as resolveLength, gn as clearSelectionRange, go as wheelDeltaYOf, gr as nextWordEnd, gt as SCROLLBAR_THICKNESS, h as hasDecorationPhase, ha as typographyEqual, hi as repeat, hn as TEXT_SELECTION_PROP, ho as noKeyModifiers, hr as nextGraphemeEnd, ht as SCROLLBAR_MIN_THUMB, i as traceRoundedRect, ia as BOX_SHADOW_BLUR_REACH, ii as linearGradient, in as colorToCss, io as UiFocusEvent, ir as lineIndexAtY, it as UiTouchScroller, j as accumulatedOffsetTo, ja as colorToHex, ji as observeViewportInsets, jn as hasTextLinks, jr as inheritedPropertyNames, jt as comparePositions, k as labelNode, ka as lightColors, ki as insetsEqual, kn as resolveCursor, kr as getPropertyNames, kt as textInputOf, l as PaintRecorder, la as boxShadowsEqual, li as isAutoLength, ln as normalizeVerticalAlign, lo as UiPinchEvent, lr as offsetForVerticalMove, lt as UiKeyboardController, m as decorationRect, ma as isTypographyRole, mi as percent, mn as setMatchRanges, mo as UiWheelEvent, mr as lineStartAt, mt as SCROLLBAR_INSET, n as createCanvasSurface, na as defaultShadows, ni as gradientPaint, nn as DEFAULT_FONT_WEIGHT, no as UiCompositionEvent, nr as proportionalFontMetrics, nt as touchActionFor, o as paintPictures, oa as boxShadowArraysEqual, oi as validateGradient, on as createPaintState, oo as UiInputEvent, or as lineLimit, ot as UiPinchRecognizer, p as decorationColor, pa as defaultTypography, pi as minmax, pn as matchRangesOf, po as UiWheelDeltaMode, pr as lineEndAt, pt as SCROLLBAR_HOVER_ZONE, q as parseAlignContent, qa as writeDeclaredProperty, qi as contrastRatio, qn as syncEditorValue, qr as inputsEqual, qt as textMeasureRequest, r as Canvas2DRenderer, ra as shadowsEqual, ri as gradientsEqual, rn as DEFAULT_TEXT_COLOR, ro as UiEventType, rr as caretRectFor, rt as UiEditingController, s as PaintTarget, sa as boxShadowRadius, si as auto, sn as isPaintVisible, so as UiKeyboardEvent, sr as offsetAtPoint, st as UiWheelController, t as CanvasSurface, ta as spacingSteps, ti as MAX_GRADIENT_STOPS, tn as DEFAULT_FONT_SIZE, to as UiBeforeInputEvent, tr as layoutParagraph, tt as prepareInputSurface, u as replayPaint, ua as defaultShapes, ui as isFrLength, un as resolvePaintState, uo as UiPointerEvent, ur as selectionRects, ut as UiPointerController, v as drawOverlayShapes, va as flattenTextSpans, vi as borderRadius, vn as selectableTextOf, vo as DirtyFlags, vr as previousWordStart, vt as scrollRange, w as describeLength, wa as textContentOf, wi as uniformBorderRadius, wn as isNodeSelectable, wr as resolveProperty, wt as offsetAtPointIn, x as LayoutEngine, xa as spanAtOffset, xi as borderRadiusIsZero, xn as isNodeFocusable, xr as DEFAULT_LINE_HEIGHT_FACTOR, xt as scrollbarZoneAt, y as labelOrigin, ya as hiddenRangesOf, yi as borderRadiusCorners, yn as selectionRangeOf, yo as UiBinding, yr as wordRangeAt, yt as scrollbarThumb, z as isLayoutProtocol, za as createEnvironmentKey, zi as withContrast, zn as caretVisibleAt, zr as isUiRole, zt as buildFontString } from "./CanvasSurface-D5QaKaWH.js";
2
2
  import { BehaviorSubject, EMPTY, Subject, combineLatest, distinctUntilChanged, isObservable as isObservable$1, map, of } from "rxjs";
3
3
  //#region src/animation/UiEasing.ts
4
4
  /** Progress equals time. What a spinner and a sweep want. */
@@ -1714,6 +1714,8 @@ var Host = class {
1714
1714
  written = /* @__PURE__ */ new Set();
1715
1715
  subscriptions = /* @__PURE__ */ new Map();
1716
1716
  order = 0;
1717
+ /** The record `write` hands the cascade, allocated on the first write. */
1718
+ override = null;
1717
1719
  decorated = false;
1718
1720
  /** Cells this modifier is driving, stopped when it detaches. */
1719
1721
  animated = /* @__PURE__ */ new Set();
@@ -1877,12 +1879,16 @@ var Host = class {
1877
1879
  }
1878
1880
  write(property, value) {
1879
1881
  this.written.add(property);
1880
- writeOverrideProperty(this.graph, this.node, property, {
1882
+ const override = this.override ??= {
1881
1883
  source: this.source,
1882
1884
  name: this.name,
1883
- order: this.order,
1884
- value
1885
- }, propertyEffects(property));
1885
+ order: 0,
1886
+ value: void 0
1887
+ };
1888
+ override.order = this.order;
1889
+ override.value = value;
1890
+ writeOverrideProperty(this.graph, this.node, property, override, propertyEffects(property));
1891
+ override.value = void 0;
1886
1892
  }
1887
1893
  /**
1888
1894
  * Restores everything this modifier wrote, then runs its teardowns
@@ -2810,10 +2816,10 @@ const VIRTUAL_WINDOW_PROP = "virtualWindow";
2810
2816
  * rest is two spacer boxes whose extents come from an estimate per item,
2811
2817
  * corrected by the real extent of every item that has been measured, so
2812
2818
  * the total extent (and the scrollbar) settle toward the truth as the
2813
- * user scrolls. Corrections are sparse — one entry per measured item
2814
- * whose extent differs from the estimate — so a 100k-row list costs
2815
- * memory proportional to what was seen, and offsets are estimate ×
2816
- * index plus the corrections before that index.
2819
+ * user scrolls. Offsets are estimate × index plus the corrections
2820
+ * before that index, which a Fenwick tree sums in log time — so a frame
2821
+ * costs the same after scrolling through 100k measured rows as before
2822
+ * the first one was seen.
2817
2823
  *
2818
2824
  * Children are emitted through a BehaviorSubject and reconciled by the
2819
2825
  * graph builder like any observable child: item identity is the key,
@@ -2842,8 +2848,8 @@ var UiVirtualWindow = class {
2842
2848
  leadExtent = -1;
2843
2849
  trailExtent = -1;
2844
2850
  measured = /* @__PURE__ */ new Map();
2845
- /** Sorted by index: measured extent minus the estimate. */
2846
- corrections = [];
2851
+ /** Measured extent minus the estimate, per index; zero for one not measured. */
2852
+ corrections;
2847
2853
  /** Wrappers of the items currently mounted, so a row that stays is not re-rendered. */
2848
2854
  mountedItems = /* @__PURE__ */ new Map();
2849
2855
  /**
@@ -2864,6 +2870,7 @@ var UiVirtualWindow = class {
2864
2870
  this.axis = axis;
2865
2871
  this.count = count;
2866
2872
  this.estimate = options.estimatedExtent;
2873
+ this.corrections = new CorrectionTree(count);
2867
2874
  this.overscan = options.overscan ?? 3;
2868
2875
  this.recycle = options.recycle === true;
2869
2876
  this.keyOf = options.key ?? ((index) => index);
@@ -2899,8 +2906,11 @@ var UiVirtualWindow = class {
2899
2906
  assertCount(count);
2900
2907
  if (count === this.count) return;
2901
2908
  this.count = count;
2902
- for (const index of this.measured.keys()) if (index >= count) this.measured.delete(index);
2903
- this.corrections = this.corrections.filter((correction) => correction.index < count);
2909
+ for (const [index, extent] of this.measured) if (index >= count) {
2910
+ this.measured.delete(index);
2911
+ this.corrections.add(index, this.estimate - extent);
2912
+ }
2913
+ this.corrections.resize(count, this.measured, this.estimate);
2904
2914
  this.mountedItems.clear();
2905
2915
  this.refresh();
2906
2916
  }
@@ -2914,7 +2924,7 @@ var UiVirtualWindow = class {
2914
2924
  */
2915
2925
  invalidate() {
2916
2926
  this.measured.clear();
2917
- this.corrections = [];
2927
+ this.corrections.clear();
2918
2928
  this.mountedItems.clear();
2919
2929
  this.refresh();
2920
2930
  }
@@ -2927,12 +2937,7 @@ var UiVirtualWindow = class {
2927
2937
  }
2928
2938
  /** Offset of an item's leading edge from the start of the content. */
2929
2939
  offsetOf(index) {
2930
- let offset = index * this.estimate;
2931
- for (const correction of this.corrections) {
2932
- if (correction.index >= index) break;
2933
- offset += correction.delta;
2934
- }
2935
- return offset;
2940
+ return index * this.estimate + this.corrections.before(clamp$2(Math.ceil(index), 0, this.count));
2936
2941
  }
2937
2942
  totalExtent() {
2938
2943
  return this.offsetOf(this.count);
@@ -2943,14 +2948,7 @@ var UiVirtualWindow = class {
2943
2948
  /** The item whose span contains `offset`; clamped to the list. */
2944
2949
  indexAt(offset) {
2945
2950
  if (this.count === 0) return 0;
2946
- let low = 0;
2947
- let high = this.count - 1;
2948
- while (low < high) {
2949
- const mid = low + high + 1 >> 1;
2950
- if (this.offsetOf(mid) <= offset) low = mid;
2951
- else high = mid - 1;
2952
- }
2953
- return low;
2951
+ return Math.min(this.count - 1, this.corrections.lastAtOrBefore(offset, this.estimate));
2954
2952
  }
2955
2953
  /**
2956
2954
  * One step, run by the host each frame before layout: take the
@@ -3037,19 +3035,10 @@ var UiVirtualWindow = class {
3037
3035
  }
3038
3036
  record(index, extent) {
3039
3037
  if (index < 0 || index >= this.count || !(extent >= 0)) return;
3040
- if (this.measured.get(index) === extent) return;
3038
+ const previous = this.measured.get(index);
3039
+ if (previous === extent) return;
3041
3040
  this.measured.set(index, extent);
3042
- const delta = extent - this.estimate;
3043
- let position = 0;
3044
- while (position < this.corrections.length && this.corrections[position].index < index) position++;
3045
- const existing = this.corrections[position];
3046
- if (existing !== void 0 && existing.index === index) {
3047
- if (delta === 0) this.corrections.splice(position, 1);
3048
- else existing.delta = delta;
3049
- } else if (delta !== 0) this.corrections.splice(position, 0, {
3050
- index,
3051
- delta
3052
- });
3041
+ this.corrections.add(index, extent - (previous ?? this.estimate));
3053
3042
  }
3054
3043
  buildChildren() {
3055
3044
  if (this.recycle) {
@@ -3144,6 +3133,96 @@ function markRow(row, props, subject) {
3144
3133
  }
3145
3134
  };
3146
3135
  }
3136
+ /**
3137
+ * The corrections behind a window's offsets, as a Fenwick tree.
3138
+ *
3139
+ * They were a sorted array once, walked from the start for every
3140
+ * offset. That was cheap while few rows were measured, but every row
3141
+ * scrolled past is measured, and the binary search for the row at the
3142
+ * top of the viewport asks for an offset at every step — so a frame
3143
+ * after scrolling through 10k rows of text walked tens of thousands of
3144
+ * corrections a few times over. The tree answers "the corrections
3145
+ * before this index" and "the last index at or before this offset" in
3146
+ * log time whatever has been measured.
3147
+ *
3148
+ * It is sized to a power of two at least the count and holds zero past
3149
+ * the count, so a list that grows within it moves nothing; one that
3150
+ * outgrows it, or shrinks to a quarter of it, is rebuilt from what was
3151
+ * measured. Both queries add the same nodes in the same order, so an
3152
+ * index `lastAtOrBefore` returns has exactly the offset `before` gives
3153
+ * it, not one an ulp away.
3154
+ */
3155
+ var CorrectionTree = class {
3156
+ /** One-based: node `i` sums the corrections of indices `i - (i & -i)` up to `i - 1`. */
3157
+ tree;
3158
+ /** The largest power of two that fits, where a descent starts. */
3159
+ top;
3160
+ constructor(count) {
3161
+ this.tree = new Float64Array(capacityFor(count) + 1);
3162
+ this.top = this.tree.length - 1;
3163
+ }
3164
+ /** Adds `delta` to the correction at `index`. */
3165
+ add(index, delta) {
3166
+ const size = this.tree.length - 1;
3167
+ for (let node = index + 1; node <= size; node += node & -node) this.tree[node] += delta;
3168
+ }
3169
+ /** Sum of the corrections of every index below `index`. */
3170
+ before(index) {
3171
+ let sum = 0;
3172
+ let node = 0;
3173
+ for (let step = this.top; step > 0; step >>= 1) if ((index & step) !== 0) {
3174
+ node += step;
3175
+ sum += this.tree[node];
3176
+ }
3177
+ return sum;
3178
+ }
3179
+ /**
3180
+ * The last index whose offset — `index × estimate` plus the
3181
+ * corrections before it — is at or before `offset`; zero when none
3182
+ * is. Offsets never decrease along the list, since no extent is
3183
+ * negative, so one descent from the top of the tree finds it. The
3184
+ * answer may be past the count; the caller clamps it.
3185
+ */
3186
+ lastAtOrBefore(offset, estimate) {
3187
+ let sum = 0;
3188
+ let node = 0;
3189
+ for (let step = this.top; step > 0; step >>= 1) {
3190
+ const next = node + step;
3191
+ const candidate = sum + this.tree[next];
3192
+ if (next * estimate + candidate <= offset) {
3193
+ node = next;
3194
+ sum = candidate;
3195
+ }
3196
+ }
3197
+ return node;
3198
+ }
3199
+ /**
3200
+ * Fits the tree to a new count, once the measurements past it are
3201
+ * gone. Within the capacity nothing moves; outside it the tree is
3202
+ * rebuilt from the measurements left.
3203
+ */
3204
+ resize(count, measured, estimate) {
3205
+ const capacity = capacityFor(count);
3206
+ const size = this.tree.length - 1;
3207
+ if (capacity <= size && capacity * 4 > size) return;
3208
+ this.tree = new Float64Array(capacity + 1);
3209
+ this.top = capacity;
3210
+ for (const [index, extent] of measured) this.tree[index + 1] = extent - estimate;
3211
+ for (let node = 1; node <= capacity; node++) {
3212
+ const parent = node + (node & -node);
3213
+ if (parent <= capacity) this.tree[parent] += this.tree[node];
3214
+ }
3215
+ }
3216
+ clear() {
3217
+ this.tree.fill(0);
3218
+ }
3219
+ };
3220
+ /** A power of two at least `count`, and at least one. */
3221
+ function capacityFor(count) {
3222
+ let capacity = 1;
3223
+ while (capacity < count) capacity *= 2;
3224
+ return capacity;
3225
+ }
3147
3226
  function clamp$2(value, min, max) {
3148
3227
  return Math.min(Math.max(value, min), max);
3149
3228
  }