@meursyphus/flitter 2.0.1 → 2.0.3

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.
package/index.cjs CHANGED
@@ -4,6 +4,9 @@ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
4
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
6
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
7
+ var __typeError = (msg) => {
8
+ throw TypeError(msg);
9
+ };
7
10
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
11
  var __spreadValues = (a, b) => {
9
12
  for (var prop in b || (b = {}))
@@ -33,32 +36,12 @@ var __export = (target, all) => {
33
36
  for (var name in all)
34
37
  __defProp(target, name, { get: all[name], enumerable: true });
35
38
  };
36
- var __publicField = (obj, key, value) => {
37
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
38
- return value;
39
- };
40
- var __accessCheck = (obj, member, msg) => {
41
- if (!member.has(obj))
42
- throw TypeError("Cannot " + msg);
43
- };
44
- var __privateGet = (obj, member, getter) => {
45
- __accessCheck(obj, member, "read from private field");
46
- return getter ? getter.call(obj) : member.get(obj);
47
- };
48
- var __privateAdd = (obj, member, value) => {
49
- if (member.has(obj))
50
- throw TypeError("Cannot add the same private member more than once");
51
- member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
52
- };
53
- var __privateSet = (obj, member, value, setter) => {
54
- __accessCheck(obj, member, "write to private field");
55
- setter ? setter.call(obj, value) : member.set(obj, value);
56
- return value;
57
- };
58
- var __privateMethod = (obj, member, method) => {
59
- __accessCheck(obj, member, "access private method");
60
- return method;
61
- };
39
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
40
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
41
+ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
42
+ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
43
+ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
44
+ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
62
45
 
63
46
  // src/framework/renderer/canvas/layer.ts
64
47
  var Layer = class {
@@ -75,7 +58,7 @@ var _paintBounds;
75
58
  var PictureLayer = class extends Layer {
76
59
  constructor(paintBounds) {
77
60
  super();
78
- __privateAdd(this, _paintBounds, void 0);
61
+ __privateAdd(this, _paintBounds);
79
62
  __publicField(this, "picture");
80
63
  __privateSet(this, _paintBounds, paintBounds);
81
64
  }
@@ -144,7 +127,7 @@ _pictures = new WeakMap();
144
127
  var _source;
145
128
  var Picture = class {
146
129
  constructor(source) {
147
- __privateAdd(this, _source, void 0);
130
+ __privateAdd(this, _source);
148
131
  __privateSet(this, _source, source);
149
132
  }
150
133
  toImage() {
@@ -165,7 +148,7 @@ var PictureRecorder = class {
165
148
  * @implements: This recorder is currently under implementation and does not actually record but directly reflects on the canvas context. Temporarily, it requires the paintSize immediately. The recorder is intended to manage the drawing order for implementing z-index. Once implemented, it will function as a recorder by not directly drawing on the canvas context but recording the operations.
166
149
  */
167
150
  constructor(paintBounds) {
168
- __privateAdd(this, _source2, void 0);
151
+ __privateAdd(this, _source2);
169
152
  __privateSet(this, _source2, document.createElement("canvas"));
170
153
  const dpr = window.devicePixelRatio;
171
154
  __privateGet(this, _source2).width = paintBounds.width * dpr;
@@ -208,8 +191,7 @@ var BuildOwner = class {
208
191
  const dirtyElements = this.dirtyElements;
209
192
  this.dirtyElements = [];
210
193
  dirtyElements.sort((a, b) => a.depth - b.depth).forEach((elememt) => {
211
- if (!elememt.dirty)
212
- return;
194
+ if (!elememt.dirty) return;
213
195
  elememt.rebuild();
214
196
  });
215
197
  }
@@ -401,8 +383,7 @@ var _Alignment = class _Alignment extends calculable_default {
401
383
  return new _Alignment({ x: this.x * value, y: this.y * value });
402
384
  }
403
385
  equals(other) {
404
- if (other === this)
405
- return true;
386
+ if (other === this) return true;
406
387
  return this.x === other.x && this.y === other.y;
407
388
  }
408
389
  /**
@@ -608,8 +589,7 @@ var _Utils = class _Utils {
608
589
  return Math.min(max, Math.max(min, value));
609
590
  }
610
591
  static arrayEqual(a, b) {
611
- if (a.length !== b.length)
612
- return false;
592
+ if (a.length !== b.length) return false;
613
593
  return a.every((value, i) => value === b[i]);
614
594
  }
615
595
  static lerp(a, b, t) {
@@ -635,8 +615,7 @@ var _Size = class _Size {
635
615
  this.height = height;
636
616
  }
637
617
  equal(other) {
638
- if (this === other)
639
- return true;
618
+ if (this === other) return true;
640
619
  return this.width === other.width && this.height === other.height;
641
620
  }
642
621
  static maximum() {
@@ -880,8 +859,7 @@ var Constraints = class _Constraints extends data_default {
880
859
  return this.equals(other);
881
860
  }
882
861
  equals(other) {
883
- if (this === other)
884
- return true;
862
+ if (this === other) return true;
885
863
  return this.maxWidth === other.maxWidth && this.minWidth === other.minWidth && this.maxHeight === other.maxHeight && this.minHeight === other.minHeight;
886
864
  }
887
865
  clampDouble(value, min, max) {
@@ -920,8 +898,7 @@ var EdgeInsetsGeometry = class _EdgeInsetsGeometry extends calculable_default {
920
898
  });
921
899
  }
922
900
  equals(other) {
923
- if (this === other)
924
- return;
901
+ if (this === other) return;
925
902
  return this.top === other.top && this.bottom === other.bottom && this.left === other.left && this.right === other.right;
926
903
  }
927
904
  /**
@@ -1043,8 +1020,7 @@ var BorderRadiusGeometry = class extends calculable_default {
1043
1020
  return result;
1044
1021
  }
1045
1022
  equals(other) {
1046
- if (this === other)
1047
- return true;
1023
+ if (this === other) return true;
1048
1024
  return this.topLeft.equals(other.topLeft) && this.topRight.equals(other.topRight) && this.bottomLeft.equals(other.bottomLeft) && this.bottomRight.equals(other.bottomRight);
1049
1025
  }
1050
1026
  /**
@@ -1176,8 +1152,7 @@ var Path = class _Path {
1176
1152
  })).close();
1177
1153
  }
1178
1154
  addPolygons(points) {
1179
- if (points.length < 3)
1180
- throw Error("polygons need at least 3 points");
1155
+ if (points.length < 3) throw Error("polygons need at least 3 points");
1181
1156
  this.moveTo(points[0]);
1182
1157
  points.slice(1).forEach((point) => this.lineTo(point));
1183
1158
  return this.close();
@@ -1247,8 +1222,7 @@ var _Radius = class _Radius extends calculable_default {
1247
1222
  return new _Radius(this.x * value, this.y * value);
1248
1223
  }
1249
1224
  equals(other) {
1250
- if (this === other)
1251
- return true;
1225
+ if (this === other) return true;
1252
1226
  return this.x === other.x && this.y === other.y;
1253
1227
  }
1254
1228
  /**
@@ -9543,8 +9517,7 @@ var _Matrix4 = class _Matrix4 extends calculable_default {
9543
9517
  return cloned;
9544
9518
  }
9545
9519
  equals(other) {
9546
- if (this === other)
9547
- return true;
9520
+ if (this === other) return true;
9548
9521
  return this.storage.every((value, i) => {
9549
9522
  return other._m4storage[i] === value;
9550
9523
  });
@@ -11176,8 +11149,7 @@ var Color = class _Color extends calculable_default {
11176
11149
  });
11177
11150
  }
11178
11151
  equals(other) {
11179
- if (this === other)
11180
- return true;
11152
+ if (this === other) return true;
11181
11153
  return this.r === other.r && this.g === other.g && this.b === other.b && this.a === other.a;
11182
11154
  }
11183
11155
  };
@@ -11220,8 +11192,7 @@ var _BorderSide = class _BorderSide extends data_default {
11220
11192
  return this.equals(other);
11221
11193
  }
11222
11194
  equals(other) {
11223
- if (this === other)
11224
- return true;
11195
+ if (this === other) return true;
11225
11196
  return this.color === other.color && this.width === other.width && this.style === other.style && this.strokeAlign === other.strokeAlign;
11226
11197
  }
11227
11198
  static get none() {
@@ -11299,8 +11270,7 @@ var Border = class _Border extends _BoxBorder {
11299
11270
  });
11300
11271
  }
11301
11272
  equals(other) {
11302
- if (this === other)
11303
- return true;
11273
+ if (this === other) return true;
11304
11274
  return this.top.equals(other.top) && this.right.equals(other.right) && this.bottom.equals(other.bottom) && this.left.equals(other.left);
11305
11275
  }
11306
11276
  /**
@@ -11920,8 +11890,7 @@ var BoxShadow = class _BoxShadow extends calculable_default {
11920
11890
  });
11921
11891
  }
11922
11892
  equals(other) {
11923
- if (this === other)
11924
- return true;
11893
+ if (this === other) return true;
11925
11894
  return this.color === other.color && this.offset.equals(other.offset) && this.blurRadius === other.blurRadius;
11926
11895
  }
11927
11896
  };
@@ -11974,8 +11943,7 @@ var BoxDecoration = class _BoxDecoration extends data_default {
11974
11943
  });
11975
11944
  }
11976
11945
  equals(other) {
11977
- if (this === other)
11978
- return true;
11946
+ if (this === other) return true;
11979
11947
  if (!(this.color == null && other.color == null) && (!(this.color != null && other.color != null) || !this.color.equals(other.color))) {
11980
11948
  return false;
11981
11949
  }
@@ -11988,8 +11956,7 @@ var BoxDecoration = class _BoxDecoration extends data_default {
11988
11956
  if (!(this.boxShadow == null && other.boxShadow == null) && (!(this.boxShadow != null && other.boxShadow != null) || !box_shadow_default.equals(this.boxShadow, other.boxShadow))) {
11989
11957
  return false;
11990
11958
  }
11991
- if (this.shape !== other.shape)
11992
- return false;
11959
+ if (this.shape !== other.shape) return false;
11993
11960
  return true;
11994
11961
  }
11995
11962
  get padding() {
@@ -12221,8 +12188,7 @@ var TextStyle = class _TextStyle {
12221
12188
  this.height = height;
12222
12189
  }
12223
12190
  equals(other) {
12224
- if (this === other)
12225
- return true;
12191
+ if (this === other) return true;
12226
12192
  return this.inherit === other.inherit && this.color === other.color && this.fontSize === other.fontSize && this.fontWeight === other.fontWeight && this.fontFamily === other.fontFamily && this.textBaseline === other.textBaseline && this.fontStyle === other.fontStyle;
12227
12193
  }
12228
12194
  copyWidth({
@@ -12247,10 +12213,8 @@ var TextStyle = class _TextStyle {
12247
12213
  });
12248
12214
  }
12249
12215
  merge(other) {
12250
- if (other == null)
12251
- return this;
12252
- if (!other.inherit)
12253
- return other;
12216
+ if (other == null) return this;
12217
+ if (!other.inherit) return other;
12254
12218
  return this.copyWidth(__spreadValues({}, other));
12255
12219
  }
12256
12220
  getParagraphStyle({
@@ -12319,16 +12283,14 @@ var InlineSpan = class {
12319
12283
  this.style = style;
12320
12284
  }
12321
12285
  static equals(targets, values) {
12322
- if (targets.length !== values.length)
12323
- return false;
12286
+ if (targets.length !== values.length) return false;
12324
12287
  return targets.every((value, i) => values[i].equals(value));
12325
12288
  }
12326
12289
  equals(other) {
12327
12290
  if (this.style != null || other.style != null) {
12328
12291
  return this.style.equals(other.style);
12329
12292
  }
12330
- if (this.style == null && other.style == null)
12331
- return true;
12293
+ if (this.style == null && other.style == null) return true;
12332
12294
  return false;
12333
12295
  }
12334
12296
  computeToPlainText() {
@@ -12360,8 +12322,7 @@ var TextSpan = class extends Inline_span_default {
12360
12322
  this.text = text;
12361
12323
  }
12362
12324
  equals(other) {
12363
- if (other === this)
12364
- return true;
12325
+ if (other === this) return true;
12365
12326
  return this.text === other.text && this.style.equals(other.style) && Inline_span_default.equals(this.children, other.children);
12366
12327
  }
12367
12328
  visitChildren(visitor) {
@@ -12445,28 +12406,23 @@ var TextPainter = class {
12445
12406
  return ((_a = this.text) == null ? void 0 : _a.toPlainText()) || "";
12446
12407
  }
12447
12408
  get width() {
12448
- if (this.paragraph == null)
12449
- return 0;
12409
+ if (this.paragraph == null) return 0;
12450
12410
  return this.paragraph.width;
12451
12411
  }
12452
12412
  get height() {
12453
- if (this.paragraph == null)
12454
- return 0;
12413
+ if (this.paragraph == null) return 0;
12455
12414
  return this.paragraph.height;
12456
12415
  }
12457
12416
  get intrinsicWidth() {
12458
- if (this.paragraph == null)
12459
- return 0;
12417
+ if (this.paragraph == null) return 0;
12460
12418
  return this.paragraph.intrinsicWidth;
12461
12419
  }
12462
12420
  get intrinsicHeight() {
12463
- if (this.paragraph == null)
12464
- return 0;
12421
+ if (this.paragraph == null) return 0;
12465
12422
  return this.paragraph.intrinsicHeight;
12466
12423
  }
12467
12424
  get longestLine() {
12468
- if (this.paragraph == null)
12469
- return 0;
12425
+ if (this.paragraph == null) return 0;
12470
12426
  return this.paragraph.longestLine;
12471
12427
  }
12472
12428
  paintOnCanvas(ctx, offset) {
@@ -13082,6 +13038,30 @@ var rose = {
13082
13038
  950: "#4c0519"
13083
13039
  };
13084
13040
 
13041
+ // src/type/_types/object-fit.ts
13042
+ var ObjectFit = /* @__PURE__ */ ((ObjectFit2) => {
13043
+ ObjectFit2["fill"] = "fill";
13044
+ ObjectFit2["contain"] = "contain";
13045
+ ObjectFit2["cover"] = "cover";
13046
+ ObjectFit2["none"] = "none";
13047
+ ObjectFit2["scaleDown"] = "scale-down";
13048
+ return ObjectFit2;
13049
+ })(ObjectFit || {});
13050
+
13051
+ // src/type/_types/object-position.ts
13052
+ var ObjectPosition = /* @__PURE__ */ ((ObjectPosition2) => {
13053
+ ObjectPosition2["center"] = "center";
13054
+ ObjectPosition2["top"] = "top";
13055
+ ObjectPosition2["right"] = "right";
13056
+ ObjectPosition2["bottom"] = "bottom";
13057
+ ObjectPosition2["left"] = "left";
13058
+ ObjectPosition2["topLeft"] = "top left";
13059
+ ObjectPosition2["topRight"] = "top right";
13060
+ ObjectPosition2["bottomLeft"] = "bottom left";
13061
+ ObjectPosition2["bottomRight"] = "bottom right";
13062
+ return ObjectPosition2;
13063
+ })(ObjectPosition || {});
13064
+
13085
13065
  // src/framework/renderer/renderer.ts
13086
13066
  var _resizeHandlers;
13087
13067
  var RenderContext = class {
@@ -13180,8 +13160,7 @@ var RenderPipeline = class {
13180
13160
  const dirties = this.needsLayoutRenderObjects;
13181
13161
  this.needsLayoutRenderObjects = [];
13182
13162
  dirties.sort((a, b) => a.depth - b.depth).forEach((renderObject) => {
13183
- if (!renderObject.needsLayout)
13184
- return;
13163
+ if (!renderObject.needsLayout) return;
13185
13164
  renderObject.layoutWithoutResize();
13186
13165
  });
13187
13166
  }
@@ -13190,8 +13169,7 @@ var RenderPipeline = class {
13190
13169
  this.requestVisualUpdate();
13191
13170
  }
13192
13171
  recalculateZOrder() {
13193
- if (!__privateGet(this, _zOrderChanged))
13194
- return [];
13172
+ if (!__privateGet(this, _zOrderChanged)) return [];
13195
13173
  __privateSet(this, _zOrderChanged, false);
13196
13174
  const visitor = new ZOrderCalculatorVisitor();
13197
13175
  this.renderView.accept(visitor);
@@ -13206,8 +13184,7 @@ var RenderPipeline = class {
13206
13184
  const dirties = this.needsPaintTransformUpdateRenderObjects;
13207
13185
  this.needsPaintTransformUpdateRenderObjects = [];
13208
13186
  dirties.sort((a, b) => a.depth - b.depth).forEach((renderObject) => {
13209
- if (!renderObject.needsPaintTransformUpdate)
13210
- return;
13187
+ if (!renderObject.needsPaintTransformUpdate) return;
13211
13188
  renderObject.updatePaintTransform();
13212
13189
  });
13213
13190
  }
@@ -13249,21 +13226,21 @@ var Painter = class {
13249
13226
  this.renderObject.paintTransform = newValue;
13250
13227
  }
13251
13228
  };
13252
- var _visit, visit_fn;
13229
+ var _ZOrderCalculatorVisitor_instances, visit_fn;
13253
13230
  var ZOrderCalculatorVisitor = class {
13254
13231
  constructor() {
13255
- __privateAdd(this, _visit);
13232
+ __privateAdd(this, _ZOrderCalculatorVisitor_instances);
13256
13233
  __publicField(this, "collectedRenderObjects", []);
13257
13234
  __publicField(this, "currentVisitedOrder", 0);
13258
13235
  __publicField(this, "currentStackingContext", []);
13259
13236
  }
13260
13237
  visit(renderObject) {
13261
- __privateMethod(this, _visit, visit_fn).call(this, renderObject, {
13238
+ __privateMethod(this, _ZOrderCalculatorVisitor_instances, visit_fn).call(this, renderObject, {
13262
13239
  willCollect: renderObject.isPainter
13263
13240
  });
13264
13241
  }
13265
13242
  visitGestureDetector(gestureDetector) {
13266
- __privateMethod(this, _visit, visit_fn).call(this, gestureDetector, { willCollect: true });
13243
+ __privateMethod(this, _ZOrderCalculatorVisitor_instances, visit_fn).call(this, gestureDetector, { willCollect: true });
13267
13244
  }
13268
13245
  visitZIndex(renderObject) {
13269
13246
  this.currentStackingContext = [...this.currentStackingContext];
@@ -13271,7 +13248,7 @@ var ZOrderCalculatorVisitor = class {
13271
13248
  visitedOrder: this.currentVisitedOrder,
13272
13249
  zIndex: renderObject.zIndex
13273
13250
  });
13274
- __privateMethod(this, _visit, visit_fn).call(this, renderObject, { willCollect: false });
13251
+ __privateMethod(this, _ZOrderCalculatorVisitor_instances, visit_fn).call(this, renderObject, { willCollect: false });
13275
13252
  this.currentStackingContext = [...this.currentStackingContext];
13276
13253
  this.currentStackingContext.pop();
13277
13254
  }
@@ -13314,7 +13291,7 @@ var ZOrderCalculatorVisitor = class {
13314
13291
  return sorted.map(({ renderObject }) => renderObject);
13315
13292
  }
13316
13293
  };
13317
- _visit = new WeakSet();
13294
+ _ZOrderCalculatorVisitor_instances = new WeakSet();
13318
13295
  visit_fn = function(renderObject, { willCollect }) {
13319
13296
  if (willCollect) {
13320
13297
  this.collectedRenderObjects.push({
@@ -13329,11 +13306,11 @@ visit_fn = function(renderObject, { willCollect }) {
13329
13306
  };
13330
13307
 
13331
13308
  // src/framework/renderer/svg/svg-renderer.ts
13332
- var _rearrangeDomOrder, rearrangeDomOrder_fn;
13309
+ var _SvgRenderPipeline_instances, rearrangeDomOrder_fn;
13333
13310
  var SvgRenderPipeline = class extends RenderPipeline {
13334
13311
  constructor() {
13335
13312
  super(...arguments);
13336
- __privateAdd(this, _rearrangeDomOrder);
13313
+ __privateAdd(this, _SvgRenderPipeline_instances);
13337
13314
  __publicField(this, "paintContext", {
13338
13315
  isOnBrowser: () => typeof this.renderContext.window !== "undefined",
13339
13316
  createSvgEl: (tagName) => {
@@ -13361,21 +13338,20 @@ var SvgRenderPipeline = class extends RenderPipeline {
13361
13338
  this.flushPaintTransformUpdate();
13362
13339
  this.flushPaint();
13363
13340
  const painterRenderObjects = this.recalculateZOrder();
13364
- __privateMethod(this, _rearrangeDomOrder, rearrangeDomOrder_fn).call(this, painterRenderObjects);
13341
+ __privateMethod(this, _SvgRenderPipeline_instances, rearrangeDomOrder_fn).call(this, painterRenderObjects);
13365
13342
  }
13366
13343
  reinitializeFrame() {
13367
13344
  this.renderView.layout(constraints_default.tight(this.renderContext.viewSize));
13368
13345
  this.renderView.updatePaintTransform();
13369
13346
  this.renderView.svgPainter.paint(this.paintContext);
13370
13347
  const painterRenderObjects = this.recalculateZOrder();
13371
- __privateMethod(this, _rearrangeDomOrder, rearrangeDomOrder_fn).call(this, painterRenderObjects);
13348
+ __privateMethod(this, _SvgRenderPipeline_instances, rearrangeDomOrder_fn).call(this, painterRenderObjects);
13372
13349
  }
13373
13350
  flushPaint() {
13374
13351
  const dirties = this.needsPaintRenderObjects;
13375
13352
  this.needsPaintRenderObjects = [];
13376
13353
  dirties.sort((a, b) => a.depth - b.depth).forEach((renderObject) => {
13377
- if (!renderObject.needsPaint)
13378
- return;
13354
+ if (!renderObject.needsPaint) return;
13379
13355
  renderObject.svgPainter.paintWithoutLayout(this.paintContext);
13380
13356
  });
13381
13357
  }
@@ -13398,7 +13374,7 @@ var SvgRenderPipeline = class extends RenderPipeline {
13398
13374
  renderObject.svgPainter.didChangePaintTransform();
13399
13375
  }
13400
13376
  };
13401
- _rearrangeDomOrder = new WeakSet();
13377
+ _SvgRenderPipeline_instances = new WeakSet();
13402
13378
  rearrangeDomOrder_fn = function(painterRenderObjects) {
13403
13379
  painterRenderObjects.reverse();
13404
13380
  painterRenderObjects.forEach((child) => {
@@ -13418,16 +13394,15 @@ function canNotReach(type) {
13418
13394
  }
13419
13395
 
13420
13396
  // src/framework/renderer/canvas/canvas-painting-context.ts
13421
- var _estimateBound, _containerLayer, _currentLayer, _recorder, _ctx2, _startRecording, startRecording_fn, _appendLayer, appendLayer_fn;
13397
+ var _estimateBound, _containerLayer, _currentLayer, _recorder, _ctx2, _CanvasPaintingContext_instances, startRecording_fn, appendLayer_fn;
13422
13398
  var _CanvasPaintingContext = class _CanvasPaintingContext {
13423
13399
  constructor(containerLayer, estimateBound) {
13424
- __privateAdd(this, _startRecording);
13425
- __privateAdd(this, _appendLayer);
13426
- __privateAdd(this, _estimateBound, void 0);
13427
- __privateAdd(this, _containerLayer, void 0);
13428
- __privateAdd(this, _currentLayer, void 0);
13429
- __privateAdd(this, _recorder, void 0);
13430
- __privateAdd(this, _ctx2, void 0);
13400
+ __privateAdd(this, _CanvasPaintingContext_instances);
13401
+ __privateAdd(this, _estimateBound);
13402
+ __privateAdd(this, _containerLayer);
13403
+ __privateAdd(this, _currentLayer);
13404
+ __privateAdd(this, _recorder);
13405
+ __privateAdd(this, _ctx2);
13431
13406
  __privateSet(this, _containerLayer, containerLayer);
13432
13407
  __privateSet(this, _estimateBound, estimateBound);
13433
13408
  }
@@ -13460,7 +13435,7 @@ var _CanvasPaintingContext = class _CanvasPaintingContext {
13460
13435
  }
13461
13436
  get canvas() {
13462
13437
  if (__privateGet(this, _ctx2) == null) {
13463
- __privateMethod(this, _startRecording, startRecording_fn).call(this);
13438
+ __privateMethod(this, _CanvasPaintingContext_instances, startRecording_fn).call(this);
13464
13439
  }
13465
13440
  return __privateGet(this, _ctx2);
13466
13441
  }
@@ -13472,7 +13447,7 @@ var _CanvasPaintingContext = class _CanvasPaintingContext {
13472
13447
  }
13473
13448
  addLayer(layer) {
13474
13449
  this.stopRecording();
13475
- __privateMethod(this, _appendLayer, appendLayer_fn).call(this, layer);
13450
+ __privateMethod(this, _CanvasPaintingContext_instances, appendLayer_fn).call(this, layer);
13476
13451
  }
13477
13452
  /**
13478
13453
  *
@@ -13492,39 +13467,37 @@ _containerLayer = new WeakMap();
13492
13467
  _currentLayer = new WeakMap();
13493
13468
  _recorder = new WeakMap();
13494
13469
  _ctx2 = new WeakMap();
13495
- _startRecording = new WeakSet();
13470
+ _CanvasPaintingContext_instances = new WeakSet();
13496
13471
  startRecording_fn = function() {
13497
13472
  __privateSet(this, _currentLayer, new PictureLayer(__privateGet(this, _estimateBound)));
13498
13473
  __privateSet(this, _recorder, new PictureRecorder(__privateGet(this, _estimateBound)));
13499
13474
  __privateSet(this, _ctx2, __privateGet(this, _recorder).createCanvasContext());
13500
13475
  __privateGet(this, _containerLayer).append(__privateGet(this, _currentLayer));
13501
13476
  };
13502
- _appendLayer = new WeakSet();
13503
13477
  appendLayer_fn = function(layer) {
13504
13478
  __privateGet(this, _containerLayer).append(layer);
13505
13479
  };
13506
13480
  var CanvasPaintingContext = _CanvasPaintingContext;
13507
13481
 
13508
13482
  // src/framework/renderer/canvas/canvas-renderer.ts
13509
- var _compositeFrame, compositeFrame_fn, _prepareCanvas, prepareCanvas_fn;
13483
+ var _CanvasRenderPipeline_instances, compositeFrame_fn, prepareCanvas_fn;
13510
13484
  var CanvasRenderPipeline = class extends RenderPipeline {
13511
13485
  constructor() {
13512
13486
  super(...arguments);
13513
- __privateAdd(this, _compositeFrame);
13514
- __privateAdd(this, _prepareCanvas);
13487
+ __privateAdd(this, _CanvasRenderPipeline_instances);
13515
13488
  }
13516
13489
  drawFrame() {
13517
13490
  this.flushLayout();
13518
13491
  this.flushPaintTransformUpdate();
13519
13492
  this.flushPaint();
13520
13493
  this.recalculateZOrder();
13521
- __privateMethod(this, _compositeFrame, compositeFrame_fn).call(this);
13494
+ __privateMethod(this, _CanvasRenderPipeline_instances, compositeFrame_fn).call(this);
13522
13495
  }
13523
13496
  reinitializeFrame() {
13524
13497
  this.renderView.layout(constraints_default.tight(this.renderContext.viewSize));
13525
13498
  this.renderView.updatePaintTransform();
13526
13499
  CanvasPaintingContext.repaintCompositedChild(this.renderView);
13527
- __privateMethod(this, _compositeFrame, compositeFrame_fn).call(this);
13500
+ __privateMethod(this, _CanvasRenderPipeline_instances, compositeFrame_fn).call(this);
13528
13501
  }
13529
13502
  flushPaint() {
13530
13503
  const dirties = this.needsPaintRenderObjects;
@@ -13569,14 +13542,13 @@ var CanvasRenderPipeline = class extends RenderPipeline {
13569
13542
  renderObjet.markNeedsPaint();
13570
13543
  }
13571
13544
  };
13572
- _compositeFrame = new WeakSet();
13545
+ _CanvasRenderPipeline_instances = new WeakSet();
13573
13546
  compositeFrame_fn = function() {
13574
13547
  const builder = new SceneBuilder();
13575
- const ctx = __privateMethod(this, _prepareCanvas, prepareCanvas_fn).call(this, this.renderContext.view);
13548
+ const ctx = __privateMethod(this, _CanvasRenderPipeline_instances, prepareCanvas_fn).call(this, this.renderContext.view);
13576
13549
  this.renderView.canvasPainter.layer.buildScene(builder);
13577
13550
  builder.render(ctx);
13578
13551
  };
13579
- _prepareCanvas = new WeakSet();
13580
13552
  prepareCanvas_fn = function(canvas) {
13581
13553
  const size = this.renderContext.viewSize;
13582
13554
  const dpr = window.devicePixelRatio;
@@ -13609,9 +13581,9 @@ var _clipId, _opacity, _domNode, _domOrderChanged, _didChangePaintTransform;
13609
13581
  var SvgPainter = class extends Painter {
13610
13582
  constructor() {
13611
13583
  super(...arguments);
13612
- __privateAdd(this, _clipId, void 0);
13584
+ __privateAdd(this, _clipId);
13613
13585
  __privateAdd(this, _opacity, 1);
13614
- __privateAdd(this, _domNode, void 0);
13586
+ __privateAdd(this, _domNode);
13615
13587
  /**
13616
13588
  * domOrder is used to rearrange dom order
13617
13589
  */
@@ -13721,8 +13693,7 @@ var SvgPainter = class extends Painter {
13721
13693
  * It is currently only used on ZIndexRenderObject
13722
13694
  */
13723
13695
  rearrangeDomOrder() {
13724
- if (!__privateGet(this, _domOrderChanged))
13725
- return;
13696
+ if (!__privateGet(this, _domOrderChanged)) return;
13726
13697
  if (this.isPainter && this.domNode) {
13727
13698
  this.renderOwner.paintContext.insertSvgEl(
13728
13699
  this.domNode,
@@ -13750,7 +13721,7 @@ var _layer;
13750
13721
  var CanvasPainter = class extends Painter {
13751
13722
  constructor() {
13752
13723
  super(...arguments);
13753
- __privateAdd(this, _layer, void 0);
13724
+ __privateAdd(this, _layer);
13754
13725
  }
13755
13726
  get renderOwner() {
13756
13727
  return this.renderObject.renderOwner;
@@ -13830,8 +13801,7 @@ var Scheduler = class {
13830
13801
  }
13831
13802
  }
13832
13803
  schedule() {
13833
- if (this.hasScheduledFrame)
13834
- return;
13804
+ if (this.hasScheduledFrame) return;
13835
13805
  this.renderFrameDispatcher.dispatch();
13836
13806
  this.hasScheduledFrame = true;
13837
13807
  }
@@ -13871,8 +13841,7 @@ var RenderFrameDispatcher = class {
13871
13841
  this.onFrame = () => callback();
13872
13842
  }
13873
13843
  dispatch() {
13874
- if (typeof window === "undefined")
13875
- return;
13844
+ if (typeof window === "undefined") return;
13876
13845
  window.requestAnimationFrame(() => {
13877
13846
  var _a;
13878
13847
  (_a = this.onFrame) == null ? void 0 : _a.call(this);
@@ -13898,10 +13867,10 @@ var GlobalKey = class {
13898
13867
  var Globalkey_default = GlobalKey;
13899
13868
 
13900
13869
  // src/renderobject/RenderObject.ts
13901
- var _zOrder, _svgPainter, _canvasPainter, _didChangePaintTransform2, didChangePaintTransform_fn;
13870
+ var _zOrder, _svgPainter, _canvasPainter, _RenderObject_instances, didChangePaintTransform_fn;
13902
13871
  var RenderObject = class {
13903
13872
  constructor({ isPainter }) {
13904
- __privateAdd(this, _didChangePaintTransform2);
13873
+ __privateAdd(this, _RenderObject_instances);
13905
13874
  __publicField(this, "runtimeType", this.constructor.name);
13906
13875
  __publicField(this, "isPainter");
13907
13876
  __publicField(this, "ownerElement");
@@ -13916,9 +13885,9 @@ var RenderObject = class {
13916
13885
  * zOrder is used to order the render objects in the z axis
13917
13886
  * Also related to event bubbling on HitTestDispatcher
13918
13887
  */
13919
- __privateAdd(this, _zOrder, void 0);
13920
- __privateAdd(this, _svgPainter, void 0);
13921
- __privateAdd(this, _canvasPainter, void 0);
13888
+ __privateAdd(this, _zOrder);
13889
+ __privateAdd(this, _svgPainter);
13890
+ __privateAdd(this, _canvasPainter);
13922
13891
  __publicField(this, "type", this.constructor.name);
13923
13892
  __publicField(this, "constraints", constraints_default.loose(size_default.maximum()));
13924
13893
  __publicField(this, "_offset", offset_default.zero());
@@ -13930,8 +13899,7 @@ var RenderObject = class {
13930
13899
  return __privateGet(this, _zOrder);
13931
13900
  }
13932
13901
  updateZOrder(value) {
13933
- if (__privateGet(this, _zOrder) === value)
13934
- return;
13902
+ if (__privateGet(this, _zOrder) === value) return;
13935
13903
  __privateSet(this, _zOrder, value);
13936
13904
  if (__privateGet(this, _svgPainter) != null) {
13937
13905
  __privateGet(this, _svgPainter).didDomOrderChange();
@@ -13968,8 +13936,7 @@ var RenderObject = class {
13968
13936
  return this._offset;
13969
13937
  }
13970
13938
  set offset(value) {
13971
- if (this.offset.x === value.x && this.offset.y === value.y)
13972
- return;
13939
+ if (this.offset.x === value.x && this.offset.y === value.y) return;
13973
13940
  this._offset = value;
13974
13941
  this.markNeedsPaintTransformUpdate();
13975
13942
  }
@@ -14002,10 +13969,10 @@ var RenderObject = class {
14002
13969
  dispose() {
14003
13970
  this.renderOwner.disposeRenderObject(this);
14004
13971
  }
14005
- getIntrinsicWidth(_height) {
13972
+ getIntrinsicWidth(_height2) {
14006
13973
  return 0;
14007
13974
  }
14008
- getIntrinsicHeight(_width) {
13975
+ getIntrinsicHeight(_width2) {
14009
13976
  return 0;
14010
13977
  }
14011
13978
  /*
@@ -14065,7 +14032,7 @@ var RenderObject = class {
14065
14032
  }
14066
14033
  this.needsPaintTransformUpdate = false;
14067
14034
  this.paintTransform = newTransform;
14068
- __privateMethod(this, _didChangePaintTransform2, didChangePaintTransform_fn).call(this);
14035
+ __privateMethod(this, _RenderObject_instances, didChangePaintTransform_fn).call(this);
14069
14036
  const childPaintTransform = this.applyPaintTransform(newTransform);
14070
14037
  this.visitChildren((child) => {
14071
14038
  child.updatePaintTransform(childPaintTransform);
@@ -14075,7 +14042,7 @@ var RenderObject = class {
14075
14042
  _zOrder = new WeakMap();
14076
14043
  _svgPainter = new WeakMap();
14077
14044
  _canvasPainter = new WeakMap();
14078
- _didChangePaintTransform2 = new WeakSet();
14045
+ _RenderObject_instances = new WeakSet();
14079
14046
  didChangePaintTransform_fn = function() {
14080
14047
  this.renderOwner.didChangePaintTransform(this);
14081
14048
  };
@@ -14093,8 +14060,7 @@ var RenderView = class extends RenderObject_default {
14093
14060
  const constraint = this.constraints;
14094
14061
  if (!constraint.isTight)
14095
14062
  throw new Error("constraint must be tight on render view");
14096
- if (constraint.maxWidth === 0 || constraint.maxHeight === 0)
14097
- return;
14063
+ if (constraint.maxWidth === 0 || constraint.maxHeight === 0) return;
14098
14064
  this.size = new size_default({
14099
14065
  width: constraint.maxWidth,
14100
14066
  height: constraint.maxHeight
@@ -14162,8 +14128,7 @@ var Element = class {
14162
14128
  result = child.renderObject;
14163
14129
  }
14164
14130
  });
14165
- if (result == null)
14166
- throw new Error("can not find render object");
14131
+ if (result == null) throw new Error("can not find render object");
14167
14132
  return result;
14168
14133
  }
14169
14134
  //There are 5 case
@@ -14216,8 +14181,7 @@ var Element = class {
14216
14181
  return newChild;
14217
14182
  }
14218
14183
  rebuild({ force = false } = {}) {
14219
- if (!this.dirty && !force)
14220
- return;
14184
+ if (!this.dirty && !force) return;
14221
14185
  this.dirty = false;
14222
14186
  this.performRebuild();
14223
14187
  }
@@ -14292,8 +14256,7 @@ var RenderObjectElement = class extends Element_default {
14292
14256
  return this.updateChild(matchedChild, newWidget);
14293
14257
  });
14294
14258
  oldChildren.forEach((oldChild, i) => {
14295
- if (updatedChildIndexes.includes(i))
14296
- return;
14259
+ if (updatedChildIndexes.includes(i)) return;
14297
14260
  this.updateChild(oldChild, null);
14298
14261
  });
14299
14262
  this.children = newChildren;
@@ -14375,7 +14338,7 @@ var HitTestDispatcher = class {
14375
14338
  __privateAdd(this, _activated, typeof window !== "undefined");
14376
14339
  __privateAdd(this, _detectors, []);
14377
14340
  __privateAdd(this, _rootPosition, null);
14378
- __privateAdd(this, _renderContext, void 0);
14341
+ __privateAdd(this, _renderContext);
14379
14342
  __privateAdd(this, _hitPosition, new offset_default({ x: 0, y: 0 }));
14380
14343
  __privateAdd(this, _handleMouseDown, (e) => {
14381
14344
  this.hitTest(e, "onMouseDown");
@@ -14392,8 +14355,7 @@ var HitTestDispatcher = class {
14392
14355
  e.isPropagationStopped = false;
14393
14356
  for (const i in __privateGet(this, _detectors)) {
14394
14357
  const detector = __privateGet(this, _detectors)[i];
14395
- if (e.isPropagationStopped)
14396
- return;
14358
+ if (e.isPropagationStopped) return;
14397
14359
  if (!__privateGet(this, _hitHistory)[i] && detector.hitTest({ globalPoint: __privateGet(this, _hitPosition) })) {
14398
14360
  detector.onMouseEnter(e);
14399
14361
  }
@@ -14401,8 +14363,7 @@ var HitTestDispatcher = class {
14401
14363
  e.isPropagationStopped = false;
14402
14364
  for (const i in __privateGet(this, _detectors)) {
14403
14365
  const detector = __privateGet(this, _detectors)[i];
14404
- if (e.isPropagationStopped)
14405
- return;
14366
+ if (e.isPropagationStopped) return;
14406
14367
  if (__privateGet(this, _hitHistory)[i] && !detector.hitTest({ globalPoint: __privateGet(this, _hitPosition) })) {
14407
14368
  detector.onMouseLeave(e);
14408
14369
  }
@@ -14426,10 +14387,8 @@ var HitTestDispatcher = class {
14426
14387
  this.hitTest(e, "onWheel");
14427
14388
  e.isPropagationStopped = false;
14428
14389
  for (const detector of __privateGet(this, _detectors)) {
14429
- if (e.isPropagationStopped)
14430
- return;
14431
- if (!detector.hitTest({ globalPoint: __privateGet(this, _hitPosition) }))
14432
- continue;
14390
+ if (e.isPropagationStopped) return;
14391
+ if (!detector.hitTest({ globalPoint: __privateGet(this, _hitPosition) })) continue;
14433
14392
  detector.onMouseEnter(e);
14434
14393
  }
14435
14394
  e.isPropagationStopped = false;
@@ -14446,10 +14405,8 @@ var HitTestDispatcher = class {
14446
14405
  });
14447
14406
  __publicField(this, "hitTest", (e, type) => {
14448
14407
  for (const detector of __privateGet(this, _detectors)) {
14449
- if (e.isPropagationStopped)
14450
- return;
14451
- if (!detector.hitTest({ globalPoint: __privateGet(this, _hitPosition) }))
14452
- continue;
14408
+ if (e.isPropagationStopped) return;
14409
+ if (!detector.hitTest({ globalPoint: __privateGet(this, _hitPosition) })) continue;
14453
14410
  detector.invokeCallback(type, e);
14454
14411
  }
14455
14412
  });
@@ -14470,8 +14427,7 @@ var HitTestDispatcher = class {
14470
14427
  __privateAdd(this, _didDomOrderChangeState, "idle");
14471
14428
  }
14472
14429
  init({ renderContext }) {
14473
- if (!__privateGet(this, _activated))
14474
- return;
14430
+ if (!__privateGet(this, _activated)) return;
14475
14431
  __privateSet(this, _renderContext, renderContext);
14476
14432
  const { view } = __privateGet(this, _renderContext);
14477
14433
  view.addEventListener("mousedown", __privateGet(this, _wrapEvent).call(this, __privateGet(this, _handleMouseDown)));
@@ -14483,14 +14439,12 @@ var HitTestDispatcher = class {
14483
14439
  view.addEventListener("mouseleave", __privateGet(this, _handleMouseLeave));
14484
14440
  }
14485
14441
  traceHitPosition(e) {
14486
- if (__privateGet(this, _rootPosition) == null)
14487
- return;
14442
+ if (__privateGet(this, _rootPosition) == null) return;
14488
14443
  __privateGet(this, _hitPosition).x = e.clientX - __privateGet(this, _rootPosition).x;
14489
14444
  __privateGet(this, _hitPosition).y = e.clientY - __privateGet(this, _rootPosition).y;
14490
14445
  }
14491
14446
  didZOrderChange() {
14492
- if (__privateGet(this, _didDomOrderChangeState) === "processing")
14493
- return;
14447
+ if (__privateGet(this, _didDomOrderChangeState) === "processing") return;
14494
14448
  __privateSet(this, _didDomOrderChangeState, "processing");
14495
14449
  setTimeout(() => {
14496
14450
  __privateSet(this, _detectors, __privateGet(this, _detectors).sort((a, b) => b.zOrder - a.zOrder));
@@ -14498,13 +14452,11 @@ var HitTestDispatcher = class {
14498
14452
  }, 0);
14499
14453
  }
14500
14454
  addDetector(detector) {
14501
- if (!__privateGet(this, _activated))
14502
- return;
14455
+ if (!__privateGet(this, _activated)) return;
14503
14456
  __privateGet(this, _detectors).push(detector);
14504
14457
  }
14505
14458
  removeDetector(detector) {
14506
- if (!__privateGet(this, _activated))
14507
- return;
14459
+ if (!__privateGet(this, _activated)) return;
14508
14460
  __privateSet(this, _detectors, __privateGet(this, _detectors).filter((d) => d !== detector));
14509
14461
  }
14510
14462
  };
@@ -14729,10 +14681,8 @@ var Provider = class extends Widget_default {
14729
14681
  while (parent != null) {
14730
14682
  const current = parent;
14731
14683
  parent = current.parent;
14732
- if (!(current.type === 1 /* provider */))
14733
- continue;
14734
- if (current.providerKey !== key)
14735
- continue;
14684
+ if (!(current.type === 1 /* provider */)) continue;
14685
+ if (current.providerKey !== key) continue;
14736
14686
  return current.value;
14737
14687
  }
14738
14688
  throw { message: "can not find requested provider value" };
@@ -14938,8 +14888,7 @@ var AnimationController = class extends Animation_default {
14938
14888
  return this.status === "completed";
14939
14889
  }
14940
14890
  get value() {
14941
- if (this._value == null)
14942
- return 0;
14891
+ if (this._value == null) return 0;
14943
14892
  return this._value;
14944
14893
  }
14945
14894
  set value(value) {
@@ -15010,8 +14959,7 @@ var AnimationController = class extends Animation_default {
15010
14959
  }
15011
14960
  animate(target, overrideOptions = {}) {
15012
14961
  var _a;
15013
- if (typeof window === "undefined")
15014
- return;
14962
+ if (typeof window === "undefined") return;
15015
14963
  (_a = this.animation) == null ? void 0 : _a.stop();
15016
14964
  this.animation = _popmotion.animate.call(void 0, __spreadValues({
15017
14965
  from: this.value,
@@ -15157,10 +15105,8 @@ var Tween = class extends Animatable_default {
15157
15105
  this.end = end != null ? end : begin;
15158
15106
  }
15159
15107
  transform(value) {
15160
- if (value === 0)
15161
- return this.begin;
15162
- if (value === 1)
15163
- return this.end;
15108
+ if (value === 0) return this.begin;
15109
+ if (value === 1) return this.end;
15164
15110
  return this.lerp(value);
15165
15111
  }
15166
15112
  lerp(t) {
@@ -15357,8 +15303,7 @@ function ReactiveChangeNotifier(value) {
15357
15303
  function reactivate(obj) {
15358
15304
  return new Proxy(obj, {
15359
15305
  set(target, key, value2) {
15360
- if (target[key] === value2)
15361
- return false;
15306
+ if (target[key] === value2) return false;
15362
15307
  target[key] = value2;
15363
15308
  notifier.notifyListeners();
15364
15309
  return true;
@@ -15406,8 +15351,7 @@ var RenderAligningShiftedBox = class extends SingleChildRenderObject_default {
15406
15351
  return this._alignment;
15407
15352
  }
15408
15353
  set alignment(value) {
15409
- if (this._alignment.equals(value))
15410
- return;
15354
+ if (this._alignment.equals(value)) return;
15411
15355
  this._alignment = value;
15412
15356
  this.markNeedsLayout();
15413
15357
  }
@@ -15415,8 +15359,7 @@ var RenderAligningShiftedBox = class extends SingleChildRenderObject_default {
15415
15359
  return this._textDirection;
15416
15360
  }
15417
15361
  set textDirection(value) {
15418
- if (this._textDirection == value)
15419
- return;
15362
+ if (this._textDirection == value) return;
15420
15363
  this._textDirection = value;
15421
15364
  this.markNeedsLayout();
15422
15365
  }
@@ -15424,8 +15367,7 @@ var RenderAligningShiftedBox = class extends SingleChildRenderObject_default {
15424
15367
  return this.alignment.resolve(this.textDirection);
15425
15368
  }
15426
15369
  alignChild() {
15427
- if (this.child == null)
15428
- throw Error("child must not be null");
15370
+ if (this.child == null) throw Error("child must not be null");
15429
15371
  if (this.resolvedAlignment == null)
15430
15372
  throw Error("resolved alignment must not be null");
15431
15373
  this.child.offset = this.resolvedAlignment.alongOffset(
@@ -15466,8 +15408,7 @@ var RenderClipPath = class extends SingleChildRenderObject_default {
15466
15408
  return this._clipper;
15467
15409
  }
15468
15410
  set clipper(value) {
15469
- if (this._clipper === value)
15470
- return;
15411
+ if (this._clipper === value) return;
15471
15412
  this._clipper = value;
15472
15413
  this.markNeedsPaint();
15473
15414
  }
@@ -15562,8 +15503,7 @@ var ClipPath = class extends StatelessWidget_default {
15562
15503
  this.clipped = clipped;
15563
15504
  }
15564
15505
  build(_) {
15565
- if (!this.clipped)
15566
- return this.child;
15506
+ if (!this.clipped) return this.child;
15567
15507
  return new BaseClipPath_default({ child: this.child, clipper: this.clipper });
15568
15508
  }
15569
15509
  };
@@ -15648,8 +15588,7 @@ var RenderFlex = class extends MultiChildRenderObject_default {
15648
15588
  return this._direction;
15649
15589
  }
15650
15590
  set direction(newDirection) {
15651
- if (this._direction === newDirection)
15652
- return;
15591
+ if (this._direction === newDirection) return;
15653
15592
  this._direction = newDirection;
15654
15593
  this.markNeedsLayout();
15655
15594
  }
@@ -15657,8 +15596,7 @@ var RenderFlex = class extends MultiChildRenderObject_default {
15657
15596
  return this._mainAxisAlignment;
15658
15597
  }
15659
15598
  set mainAxisAlignment(newMainAxisAlignment) {
15660
- if (this._mainAxisAlignment === newMainAxisAlignment)
15661
- return;
15599
+ if (this._mainAxisAlignment === newMainAxisAlignment) return;
15662
15600
  this._mainAxisAlignment = newMainAxisAlignment;
15663
15601
  this.markNeedsLayout();
15664
15602
  }
@@ -15666,8 +15604,7 @@ var RenderFlex = class extends MultiChildRenderObject_default {
15666
15604
  return this._crossAxisAlignment;
15667
15605
  }
15668
15606
  set crossAxisAlignment(newCrossAxisAlignment) {
15669
- if (this._crossAxisAlignment === newCrossAxisAlignment)
15670
- return;
15607
+ if (this._crossAxisAlignment === newCrossAxisAlignment) return;
15671
15608
  this._crossAxisAlignment = newCrossAxisAlignment;
15672
15609
  this.markNeedsLayout();
15673
15610
  }
@@ -15675,8 +15612,7 @@ var RenderFlex = class extends MultiChildRenderObject_default {
15675
15612
  return this._verticalDirection;
15676
15613
  }
15677
15614
  set verticalDirection(newVerticalDirection) {
15678
- if (this._verticalDirection === newVerticalDirection)
15679
- return;
15615
+ if (this._verticalDirection === newVerticalDirection) return;
15680
15616
  this._verticalDirection = newVerticalDirection;
15681
15617
  this.markNeedsLayout();
15682
15618
  }
@@ -15684,8 +15620,7 @@ var RenderFlex = class extends MultiChildRenderObject_default {
15684
15620
  return this._mainAxisSize;
15685
15621
  }
15686
15622
  set mainAxisSize(newMainAxisSize) {
15687
- if (this._mainAxisSize === newMainAxisSize)
15688
- return;
15623
+ if (this._mainAxisSize === newMainAxisSize) return;
15689
15624
  this._mainAxisSize = newMainAxisSize;
15690
15625
  this.markNeedsLayout();
15691
15626
  }
@@ -15998,24 +15933,15 @@ var RichText = class extends RenderObjectWidget_default {
15998
15933
  });
15999
15934
  }
16000
15935
  updateRenderObject(renderObject) {
16001
- if (this.softWrap != null)
16002
- renderObject.softWrap = this.softWrap;
16003
- if (this.overflow != null)
16004
- renderObject.overflow = this.overflow;
16005
- if (this.textScaleFactor != null)
16006
- renderObject.textScaleFactor = this.textScaleFactor;
16007
- if (this.maxLines != null)
16008
- renderObject.maxLines = this.maxLines;
16009
- if (this.textWidthBasis != null)
16010
- renderObject.textWidthBasis = this.textWidthBasis;
16011
- if (this.text != null)
16012
- renderObject.text = this.text;
16013
- if (this.textAlign != null)
16014
- renderObject.textAlign = this.textAlign;
16015
- if (this.textDirection != null)
16016
- renderObject.textDirection = this.textDirection;
16017
- if (this.textPainter != null)
16018
- renderObject.textPainter = this.textPainter;
15936
+ if (this.softWrap != null) renderObject.softWrap = this.softWrap;
15937
+ if (this.overflow != null) renderObject.overflow = this.overflow;
15938
+ if (this.textScaleFactor != null) renderObject.textScaleFactor = this.textScaleFactor;
15939
+ if (this.maxLines != null) renderObject.maxLines = this.maxLines;
15940
+ if (this.textWidthBasis != null) renderObject.textWidthBasis = this.textWidthBasis;
15941
+ if (this.text != null) renderObject.text = this.text;
15942
+ if (this.textAlign != null) renderObject.textAlign = this.textAlign;
15943
+ if (this.textDirection != null) renderObject.textDirection = this.textDirection;
15944
+ if (this.textPainter != null) renderObject.textPainter = this.textPainter;
16019
15945
  }
16020
15946
  };
16021
15947
  var _softWrap, _overflow, _textPainter;
@@ -16032,9 +15958,9 @@ var RenderParagraph = class extends RenderObject_default {
16032
15958
  textPainter
16033
15959
  }) {
16034
15960
  super({ isPainter: true });
16035
- __privateAdd(this, _softWrap, void 0);
16036
- __privateAdd(this, _overflow, void 0);
16037
- __privateAdd(this, _textPainter, void 0);
15961
+ __privateAdd(this, _softWrap);
15962
+ __privateAdd(this, _overflow);
15963
+ __privateAdd(this, _textPainter);
16038
15964
  __publicField(this, "previousWidth");
16039
15965
  __publicField(this, "previousHeight");
16040
15966
  __publicField(this, "changedLayout");
@@ -16062,8 +15988,7 @@ var RenderParagraph = class extends RenderObject_default {
16062
15988
  return __privateGet(this, _softWrap);
16063
15989
  }
16064
15990
  set softWrap(newSoftWrap) {
16065
- if (__privateGet(this, _softWrap) === newSoftWrap)
16066
- return;
15991
+ if (__privateGet(this, _softWrap) === newSoftWrap) return;
16067
15992
  __privateSet(this, _softWrap, newSoftWrap);
16068
15993
  this.markNeedsLayout();
16069
15994
  }
@@ -16071,8 +15996,7 @@ var RenderParagraph = class extends RenderObject_default {
16071
15996
  return __privateGet(this, _overflow);
16072
15997
  }
16073
15998
  set overflow(newOverflow) {
16074
- if (__privateGet(this, _overflow) === newOverflow)
16075
- return;
15999
+ if (__privateGet(this, _overflow) === newOverflow) return;
16076
16000
  __privateSet(this, _overflow, newOverflow);
16077
16001
  this.markNeedsLayout();
16078
16002
  }
@@ -16080,8 +16004,7 @@ var RenderParagraph = class extends RenderObject_default {
16080
16004
  return __privateGet(this, _textPainter);
16081
16005
  }
16082
16006
  set textPainter(value) {
16083
- if (__privateGet(this, _textPainter) === value)
16084
- return;
16007
+ if (__privateGet(this, _textPainter) === value) return;
16085
16008
  __privateSet(this, _textPainter, value);
16086
16009
  this.markNeedsLayout();
16087
16010
  }
@@ -16089,8 +16012,7 @@ var RenderParagraph = class extends RenderObject_default {
16089
16012
  return this.textPainter.text;
16090
16013
  }
16091
16014
  set text(value) {
16092
- if (this.textPainter.text.equals(value))
16093
- return;
16015
+ if (this.textPainter.text.equals(value)) return;
16094
16016
  this.textPainter.text = value;
16095
16017
  this.markNeedsLayout();
16096
16018
  }
@@ -16098,8 +16020,7 @@ var RenderParagraph = class extends RenderObject_default {
16098
16020
  return this.textPainter.textWidthBasis;
16099
16021
  }
16100
16022
  set textWidthBasis(value) {
16101
- if (this.textPainter.textWidthBasis === value)
16102
- return;
16023
+ if (this.textPainter.textWidthBasis === value) return;
16103
16024
  this.textPainter.textWidthBasis = value;
16104
16025
  this.markNeedsLayout();
16105
16026
  }
@@ -16107,8 +16028,7 @@ var RenderParagraph = class extends RenderObject_default {
16107
16028
  return this.textPainter.textAlign;
16108
16029
  }
16109
16030
  set textAlign(textAlign) {
16110
- if (this.textPainter.textAlign === textAlign)
16111
- return;
16031
+ if (this.textPainter.textAlign === textAlign) return;
16112
16032
  this.textPainter.textAlign = textAlign;
16113
16033
  this.markNeedsLayout();
16114
16034
  }
@@ -16116,8 +16036,7 @@ var RenderParagraph = class extends RenderObject_default {
16116
16036
  return this.textPainter.textDirection;
16117
16037
  }
16118
16038
  set textDirection(direction) {
16119
- if (this.textPainter.textDirection === direction)
16120
- return;
16039
+ if (this.textPainter.textDirection === direction) return;
16121
16040
  this.textPainter.textDirection = direction;
16122
16041
  this.markNeedsLayout();
16123
16042
  }
@@ -16125,8 +16044,7 @@ var RenderParagraph = class extends RenderObject_default {
16125
16044
  return this.textPainter.textScaleFactor;
16126
16045
  }
16127
16046
  set textScaleFactor(scaleFactor) {
16128
- if (this.textPainter.textScaleFactor === scaleFactor)
16129
- return;
16047
+ if (this.textPainter.textScaleFactor === scaleFactor) return;
16130
16048
  this.textPainter.textScaleFactor = scaleFactor;
16131
16049
  this.markNeedsLayout();
16132
16050
  }
@@ -16134,8 +16052,7 @@ var RenderParagraph = class extends RenderObject_default {
16134
16052
  return this.textPainter.maxLines;
16135
16053
  }
16136
16054
  set maxLines(value) {
16137
- if (this.textPainter.maxLines === value)
16138
- return;
16055
+ if (this.textPainter.maxLines === value) return;
16139
16056
  this.textPainter.maxLines = value;
16140
16057
  this.markNeedsLayout();
16141
16058
  }
@@ -16206,8 +16123,7 @@ var ParagraphSvgPainter = class extends SvgPainter {
16206
16123
  this.textPainter.paintOnSvg(newTextEl, context);
16207
16124
  return;
16208
16125
  }
16209
- if (!this.needsPaint && !this.changedLayout)
16210
- return;
16126
+ if (!this.needsPaint && !this.changedLayout) return;
16211
16127
  this.textPainter.paintOnSvg(textEl, context);
16212
16128
  }
16213
16129
  };
@@ -16320,8 +16236,7 @@ var Flexible = class extends SingleChildRenderObjectWidget_default {
16320
16236
  __publicField(this, "isFlexible", true);
16321
16237
  __publicField(this, "flex");
16322
16238
  __publicField(this, "fit");
16323
- if (flex < 0)
16324
- throw new Error("flex must not be under zero");
16239
+ if (flex < 0) throw new Error("flex must not be under zero");
16325
16240
  this.flex = flex;
16326
16241
  this.fit = fit;
16327
16242
  }
@@ -16346,8 +16261,7 @@ var RenderFlexible = class extends SingleChildRenderObject_default {
16346
16261
  return this._flex;
16347
16262
  }
16348
16263
  set flex(newFlex) {
16349
- if (this._flex === newFlex)
16350
- return;
16264
+ if (this._flex === newFlex) return;
16351
16265
  this._flex = newFlex;
16352
16266
  this.markNeedsLayout();
16353
16267
  }
@@ -16355,8 +16269,7 @@ var RenderFlexible = class extends SingleChildRenderObject_default {
16355
16269
  return this._fit;
16356
16270
  }
16357
16271
  set fit(newFit) {
16358
- if (this._fit === newFit)
16359
- return;
16272
+ if (this._fit === newFit) return;
16360
16273
  this._fit = newFit;
16361
16274
  this.markNeedsLayout();
16362
16275
  }
@@ -16409,8 +16322,7 @@ var RenderConstrainedBox = class extends SingleChildRenderObject_default {
16409
16322
  return this._additionalConstraint;
16410
16323
  }
16411
16324
  set additionalConstraint(constraint) {
16412
- if (constraint.equals(this._additionalConstraint))
16413
- return;
16325
+ if (constraint.equals(this._additionalConstraint)) return;
16414
16326
  this._additionalConstraint = constraint;
16415
16327
  this.markNeedsLayout();
16416
16328
  }
@@ -16529,8 +16441,7 @@ var RenderAlign = class extends RenderAligningShiftedBox_default {
16529
16441
  return this._widthFactor;
16530
16442
  }
16531
16443
  set widthFactor(value) {
16532
- if (this._widthFactor === value)
16533
- return;
16444
+ if (this._widthFactor === value) return;
16534
16445
  this._widthFactor = value;
16535
16446
  this.markNeedsLayout();
16536
16447
  }
@@ -16538,8 +16449,7 @@ var RenderAlign = class extends RenderAligningShiftedBox_default {
16538
16449
  return this._heightFactor;
16539
16450
  }
16540
16451
  set heightFactor(value) {
16541
- if (this._heightFactor === value)
16542
- return;
16452
+ if (this._heightFactor === value) return;
16543
16453
  this._heightFactor = value;
16544
16454
  this.markNeedsLayout();
16545
16455
  }
@@ -16596,8 +16506,7 @@ var RenderColoredBox = class extends SingleChildRenderObject_default {
16596
16506
  return this._color;
16597
16507
  }
16598
16508
  set color(value) {
16599
- if (value === this._color)
16600
- return;
16509
+ if (value === this._color) return;
16601
16510
  this._color = value;
16602
16511
  this.markNeedsPaint();
16603
16512
  }
@@ -16670,8 +16579,7 @@ var RenderDecoratedBox = class extends SingleChildRenderObject_default {
16670
16579
  return this._decoration;
16671
16580
  }
16672
16581
  set decoration(value) {
16673
- if (this.decoration.equals(value))
16674
- return;
16582
+ if (this.decoration.equals(value)) return;
16675
16583
  this._decoration = value;
16676
16584
  this.markNeedsPaint();
16677
16585
  }
@@ -16763,8 +16671,7 @@ var RenderLimitedBox = class extends SingleChildRenderObject_default {
16763
16671
  return this._maxWidth;
16764
16672
  }
16765
16673
  set maxWidth(newMaxWidth) {
16766
- if (this._maxWidth === newMaxWidth)
16767
- return;
16674
+ if (this._maxWidth === newMaxWidth) return;
16768
16675
  this._maxWidth = newMaxWidth;
16769
16676
  this.markNeedsLayout();
16770
16677
  }
@@ -16772,8 +16679,7 @@ var RenderLimitedBox = class extends SingleChildRenderObject_default {
16772
16679
  return this._maxHeight;
16773
16680
  }
16774
16681
  set maxHeight(newMaxHeight) {
16775
- if (this._maxHeight === newMaxHeight)
16776
- return;
16682
+ if (this._maxHeight === newMaxHeight) return;
16777
16683
  this._maxHeight = newMaxHeight;
16778
16684
  this.markNeedsLayout();
16779
16685
  }
@@ -16831,14 +16737,12 @@ var RenderPadding = class extends SingleChildRenderObject_default {
16831
16737
  return this._padding;
16832
16738
  }
16833
16739
  set padding(value) {
16834
- if (value.eqaul(this._padding))
16835
- return;
16740
+ if (value.eqaul(this._padding)) return;
16836
16741
  this._padding = value;
16837
16742
  this.markNeedsLayout();
16838
16743
  }
16839
16744
  preformLayout() {
16840
- if (this.child == null)
16841
- return;
16745
+ if (this.child == null) return;
16842
16746
  const { top, left, right, bottom } = this.padding;
16843
16747
  const childConstraints = this.constraints.deflate(this.padding);
16844
16748
  this.child.layout(childConstraints);
@@ -17004,8 +16908,7 @@ var RenderTransform = class extends SingleChildRenderObject_default {
17004
16908
  return this._origin;
17005
16909
  }
17006
16910
  set origin(value) {
17007
- if (value == null && this._origin == null)
17008
- return;
16911
+ if (value == null && this._origin == null) return;
17009
16912
  if (value != null && this._origin != null && this._origin.x === value.x && this._origin.y === value.y)
17010
16913
  return;
17011
16914
  this._origin = value;
@@ -17015,8 +16918,7 @@ var RenderTransform = class extends SingleChildRenderObject_default {
17015
16918
  return this._alignment;
17016
16919
  }
17017
16920
  set alignment(value) {
17018
- if (this._alignment.equal(value))
17019
- return;
16921
+ if (this._alignment.equal(value)) return;
17020
16922
  this._alignment = value;
17021
16923
  this.markNeedsLayout();
17022
16924
  }
@@ -17024,8 +16926,7 @@ var RenderTransform = class extends SingleChildRenderObject_default {
17024
16926
  return this._transform;
17025
16927
  }
17026
16928
  set transform(value) {
17027
- if (this.transform.equals(value))
17028
- return;
16929
+ if (this.transform.equals(value)) return;
17029
16930
  this._transform = value;
17030
16931
  this.markNeedsLayout();
17031
16932
  this.markNeedsPaintTransformUpdate();
@@ -17034,8 +16935,7 @@ var RenderTransform = class extends SingleChildRenderObject_default {
17034
16935
  return this._textDirection;
17035
16936
  }
17036
16937
  set textDirection(value) {
17037
- if (this._textDirection == value)
17038
- return;
16938
+ if (this._textDirection == value) return;
17039
16939
  this._textDirection = value;
17040
16940
  this.markNeedsLayout();
17041
16941
  }
@@ -17337,8 +17237,7 @@ var RenderBaseGrid = class extends MultiChildRenderObject_default {
17337
17237
  return this._templateRows;
17338
17238
  }
17339
17239
  set templateRows(value) {
17340
- if (GridTemplate.equals(value, this._templateRows))
17341
- return;
17240
+ if (GridTemplate.equals(value, this._templateRows)) return;
17342
17241
  this._templateRows = value;
17343
17242
  this.markNeedsLayout();
17344
17243
  }
@@ -17346,8 +17245,7 @@ var RenderBaseGrid = class extends MultiChildRenderObject_default {
17346
17245
  return this._templateColumns;
17347
17246
  }
17348
17247
  set templateColumns(value) {
17349
- if (GridTemplate.equals(value, this._templateColumns))
17350
- return;
17248
+ if (GridTemplate.equals(value, this._templateColumns)) return;
17351
17249
  this._templateColumns = value;
17352
17250
  this.markNeedsLayout();
17353
17251
  }
@@ -17355,8 +17253,7 @@ var RenderBaseGrid = class extends MultiChildRenderObject_default {
17355
17253
  return this._autoColumn;
17356
17254
  }
17357
17255
  set autoColumn(value) {
17358
- if (value.equals(this._autoColumn))
17359
- return;
17256
+ if (value.equals(this._autoColumn)) return;
17360
17257
  this._autoColumn = value;
17361
17258
  this.markNeedsLayout();
17362
17259
  }
@@ -17364,8 +17261,7 @@ var RenderBaseGrid = class extends MultiChildRenderObject_default {
17364
17261
  return this._autoRow;
17365
17262
  }
17366
17263
  set autoRow(value) {
17367
- if (value.equals(this._autoRow))
17368
- return;
17264
+ if (value.equals(this._autoRow)) return;
17369
17265
  this._autoRow = value;
17370
17266
  this.markNeedsLayout();
17371
17267
  }
@@ -17373,8 +17269,7 @@ var RenderBaseGrid = class extends MultiChildRenderObject_default {
17373
17269
  return this._columnCounts;
17374
17270
  }
17375
17271
  set columnCounts(value) {
17376
- if (Utils.arrayEqual(value, this._columnCounts))
17377
- return;
17272
+ if (Utils.arrayEqual(value, this._columnCounts)) return;
17378
17273
  this._columnCounts = value;
17379
17274
  this.markNeedsLayout();
17380
17275
  }
@@ -17524,13 +17419,11 @@ var GridTemplate = class _GridTemplate {
17524
17419
  this.value = value;
17525
17420
  }
17526
17421
  static equals(target, other) {
17527
- if (target.length !== other.length)
17528
- return false;
17422
+ if (target.length !== other.length) return false;
17529
17423
  return target.every((value, i) => value.equals(other[i]));
17530
17424
  }
17531
17425
  equals(other) {
17532
- if (this === other)
17533
- return true;
17426
+ if (this === other) return true;
17534
17427
  return this.type === other.type && this.value === other.value;
17535
17428
  }
17536
17429
  static Fr(value) {
@@ -17612,8 +17505,7 @@ var RenderStack = class _RenderStack extends MultiChildRenderObject_default {
17612
17505
  return this._alignment;
17613
17506
  }
17614
17507
  set alignment(value) {
17615
- if (value.equal(this._alignment))
17616
- return;
17508
+ if (value.equal(this._alignment)) return;
17617
17509
  this._alignment = value;
17618
17510
  this.markNeedsLayout();
17619
17511
  }
@@ -17621,8 +17513,7 @@ var RenderStack = class _RenderStack extends MultiChildRenderObject_default {
17621
17513
  return this._fit;
17622
17514
  }
17623
17515
  set fit(value) {
17624
- if (this._fit !== value)
17625
- return;
17516
+ if (this._fit !== value) return;
17626
17517
  this._fit = value;
17627
17518
  this.markNeedsLayout();
17628
17519
  }
@@ -17630,8 +17521,7 @@ var RenderStack = class _RenderStack extends MultiChildRenderObject_default {
17630
17521
  return this._textDirection;
17631
17522
  }
17632
17523
  set textDirection(value) {
17633
- if (this._textDirection !== value)
17634
- return;
17524
+ if (this._textDirection !== value) return;
17635
17525
  this._textDirection = value;
17636
17526
  this.markNeedsPaint();
17637
17527
  }
@@ -17844,8 +17734,7 @@ var RenderPositioned = class extends SingleChildRenderObject_default {
17844
17734
  return this._top;
17845
17735
  }
17846
17736
  set top(newTop) {
17847
- if (this._top === newTop)
17848
- return;
17737
+ if (this._top === newTop) return;
17849
17738
  this._top = newTop;
17850
17739
  this.markNeedsLayout();
17851
17740
  }
@@ -17853,8 +17742,7 @@ var RenderPositioned = class extends SingleChildRenderObject_default {
17853
17742
  return this._bottom;
17854
17743
  }
17855
17744
  set bottom(newBottom) {
17856
- if (this._bottom === newBottom)
17857
- return;
17745
+ if (this._bottom === newBottom) return;
17858
17746
  this._bottom = newBottom;
17859
17747
  this.markNeedsLayout();
17860
17748
  }
@@ -17862,8 +17750,7 @@ var RenderPositioned = class extends SingleChildRenderObject_default {
17862
17750
  return this._right;
17863
17751
  }
17864
17752
  set right(newRight) {
17865
- if (this._right === newRight)
17866
- return;
17753
+ if (this._right === newRight) return;
17867
17754
  this._right = newRight;
17868
17755
  this.markNeedsLayout();
17869
17756
  }
@@ -17871,8 +17758,7 @@ var RenderPositioned = class extends SingleChildRenderObject_default {
17871
17758
  return this._left;
17872
17759
  }
17873
17760
  set left(newLeft) {
17874
- if (this._left === newLeft)
17875
- return;
17761
+ if (this._left === newLeft) return;
17876
17762
  this._left = newLeft;
17877
17763
  this.markNeedsLayout();
17878
17764
  }
@@ -17880,8 +17766,7 @@ var RenderPositioned = class extends SingleChildRenderObject_default {
17880
17766
  return this._width;
17881
17767
  }
17882
17768
  set width(newWidth) {
17883
- if (this._width === newWidth)
17884
- return;
17769
+ if (this._width === newWidth) return;
17885
17770
  this._width = newWidth;
17886
17771
  this.markNeedsLayout();
17887
17772
  }
@@ -17889,8 +17774,7 @@ var RenderPositioned = class extends SingleChildRenderObject_default {
17889
17774
  return this._height;
17890
17775
  }
17891
17776
  set height(newHeight) {
17892
- if (this._height === newHeight)
17893
- return;
17777
+ if (this._height === newHeight) return;
17894
17778
  this._height = newHeight;
17895
17779
  this.markNeedsLayout();
17896
17780
  }
@@ -17987,8 +17871,7 @@ var RenderConstraintsTransformBox = class extends RenderAligningShiftedBox_defau
17987
17871
  return this._constraintsTransform;
17988
17872
  }
17989
17873
  set constraintsTransform(value) {
17990
- if (value === this._constraintsTransform)
17991
- return;
17874
+ if (value === this._constraintsTransform) return;
17992
17875
  this._constraintsTransform = value;
17993
17876
  this.markNeedsLayout();
17994
17877
  }
@@ -18142,8 +18025,7 @@ var RenderOverflowBox = class extends RenderAligningShiftedBox_default {
18142
18025
  return this._minWidth;
18143
18026
  }
18144
18027
  set minWidth(newMinWidth) {
18145
- if (this._minWidth === newMinWidth)
18146
- return;
18028
+ if (this._minWidth === newMinWidth) return;
18147
18029
  this._minWidth = newMinWidth;
18148
18030
  this.markNeedsLayout();
18149
18031
  }
@@ -18151,8 +18033,7 @@ var RenderOverflowBox = class extends RenderAligningShiftedBox_default {
18151
18033
  return this._maxWidth;
18152
18034
  }
18153
18035
  set maxWidth(newMaxWidth) {
18154
- if (this._maxWidth === newMaxWidth)
18155
- return;
18036
+ if (this._maxWidth === newMaxWidth) return;
18156
18037
  this._maxWidth = newMaxWidth;
18157
18038
  this.markNeedsLayout();
18158
18039
  }
@@ -18160,8 +18041,7 @@ var RenderOverflowBox = class extends RenderAligningShiftedBox_default {
18160
18041
  return this._minHeight;
18161
18042
  }
18162
18043
  set minHeight(newMinHeight) {
18163
- if (this._minHeight === newMinHeight)
18164
- return;
18044
+ if (this._minHeight === newMinHeight) return;
18165
18045
  this._minHeight = newMinHeight;
18166
18046
  this.markNeedsLayout();
18167
18047
  }
@@ -18169,8 +18049,7 @@ var RenderOverflowBox = class extends RenderAligningShiftedBox_default {
18169
18049
  return this._maxHeight;
18170
18050
  }
18171
18051
  set maxHeight(newMaxHeight) {
18172
- if (this._maxHeight === newMaxHeight)
18173
- return;
18052
+ if (this._maxHeight === newMaxHeight) return;
18174
18053
  this._maxHeight = newMaxHeight;
18175
18054
  this.markNeedsLayout();
18176
18055
  }
@@ -18256,8 +18135,7 @@ var RenderFractionallySizedBox = class extends RenderAligningShiftedBox_default
18256
18135
  return this._widthFactor;
18257
18136
  }
18258
18137
  set widthFactor(newWidthFactor) {
18259
- if (this._widthFactor === newWidthFactor)
18260
- return;
18138
+ if (this._widthFactor === newWidthFactor) return;
18261
18139
  this._widthFactor = newWidthFactor;
18262
18140
  this.markNeedsLayout();
18263
18141
  }
@@ -18265,8 +18143,7 @@ var RenderFractionallySizedBox = class extends RenderAligningShiftedBox_default
18265
18143
  return this._heightFactor;
18266
18144
  }
18267
18145
  set heightFactor(newHeightFactor) {
18268
- if (this._heightFactor === newHeightFactor)
18269
- return;
18146
+ if (this._heightFactor === newHeightFactor) return;
18270
18147
  this._heightFactor = newHeightFactor;
18271
18148
  this.markNeedsLayout();
18272
18149
  }
@@ -18336,8 +18213,7 @@ var BaseIntrinsicHeight = class extends SingleChildRenderObjectWidget_default {
18336
18213
  };
18337
18214
  var RenderIntrinsicHeight = class extends SingleChildRenderObject_default {
18338
18215
  preformLayout() {
18339
- if (this.child == null)
18340
- return;
18216
+ if (this.child == null) return;
18341
18217
  const height = this.child.getIntrinsicHeight(this.constraints.maxWidth) || 0;
18342
18218
  const constraint = constraints_default.tightFor({ height }).enforce(
18343
18219
  this.constraints
@@ -18360,8 +18236,7 @@ var BaseIntrinsicWidth = class extends SingleChildRenderObjectWidget_default {
18360
18236
  };
18361
18237
  var RenderIntrinsicWidth = class extends SingleChildRenderObject_default {
18362
18238
  preformLayout() {
18363
- if (this.child == null)
18364
- return;
18239
+ if (this.child == null) return;
18365
18240
  const width = this.child.getIntrinsicWidth(this.constraints.maxHeight) || 0;
18366
18241
  const constraint = constraints_default.tightFor({ width }).enforce(
18367
18242
  this.constraints
@@ -18705,26 +18580,22 @@ var RenderCustomPaint = class extends SingleChildRenderObject_default {
18705
18580
  return this._painter;
18706
18581
  }
18707
18582
  set painter(value) {
18708
- if (this._painter === value)
18709
- return;
18583
+ if (this._painter === value) return;
18710
18584
  const oldPainter = this._painter;
18711
18585
  this._painter = value;
18712
18586
  this.didUpdatePainter(this._painter, oldPainter);
18713
18587
  }
18714
18588
  didUpdatePainter(newPainter, oldPainter) {
18715
18589
  const { shouldRepaint } = newPainter;
18716
- if (shouldRepaint == null)
18717
- return;
18718
- if (!shouldRepaint(oldPainter))
18719
- return;
18590
+ if (shouldRepaint == null) return;
18591
+ if (!shouldRepaint(oldPainter)) return;
18720
18592
  this.markNeedsPaint();
18721
18593
  }
18722
18594
  get preferredSize() {
18723
18595
  return this._preferredSize;
18724
18596
  }
18725
18597
  set preferredSize(value) {
18726
- if (value.equal(this.preferredSize))
18727
- return;
18598
+ if (value.equal(this.preferredSize)) return;
18728
18599
  this.preferredSize = value;
18729
18600
  this.markNeedsLayout();
18730
18601
  }
@@ -18755,13 +18626,11 @@ var SvgPainterCustomPaint = class extends SvgPainter {
18755
18626
  return this.renderObject.painter;
18756
18627
  }
18757
18628
  performPaint(svgEls, _) {
18758
- if (this.painter.svg == null)
18759
- throw new Error("svg painter is not defined");
18629
+ if (this.painter.svg == null) throw new Error("svg painter is not defined");
18760
18630
  this.painter.svg.paint(svgEls, this.size);
18761
18631
  }
18762
18632
  createDefaultSvgEl(paintContext) {
18763
- if (this.painter.svg == null)
18764
- throw new Error("svg painter is not defined");
18633
+ if (this.painter.svg == null) throw new Error("svg painter is not defined");
18765
18634
  return this.painter.svg.createDefaultSvgEl(paintContext);
18766
18635
  }
18767
18636
  };
@@ -18911,8 +18780,7 @@ var RenderGestureDetector = class extends SingleChildRenderObject_default {
18911
18780
  return this._cursor;
18912
18781
  }
18913
18782
  set cursor(prop) {
18914
- if (this._cursor === prop)
18915
- return;
18783
+ if (this._cursor === prop) return;
18916
18784
  this._cursor = prop;
18917
18785
  this.markNeedsPaint();
18918
18786
  }
@@ -18920,88 +18788,77 @@ var RenderGestureDetector = class extends SingleChildRenderObject_default {
18920
18788
  return this._onClick;
18921
18789
  }
18922
18790
  set onClick(prop) {
18923
- if (this.onClick === prop)
18924
- return;
18791
+ if (this.onClick === prop) return;
18925
18792
  this._onClick = prop;
18926
18793
  }
18927
18794
  get onMouseDown() {
18928
18795
  return this._onMouseDown;
18929
18796
  }
18930
18797
  set onMouseDown(prop) {
18931
- if (this._onMouseDown === prop)
18932
- return;
18798
+ if (this._onMouseDown === prop) return;
18933
18799
  this._onMouseDown = prop;
18934
18800
  }
18935
18801
  get onMouseMove() {
18936
18802
  return this._onMouseMove;
18937
18803
  }
18938
18804
  set onMouseMove(prop) {
18939
- if (this._onMouseMove === prop)
18940
- return;
18805
+ if (this._onMouseMove === prop) return;
18941
18806
  this._onMouseMove = prop;
18942
18807
  }
18943
18808
  get onMouseUp() {
18944
18809
  return this._onMouseUp;
18945
18810
  }
18946
18811
  set onMouseUp(prop) {
18947
- if (this._onMouseUp === prop)
18948
- return;
18812
+ if (this._onMouseUp === prop) return;
18949
18813
  this._onMouseUp = prop;
18950
18814
  }
18951
18815
  get onMouseOver() {
18952
18816
  return this._onMouseOver;
18953
18817
  }
18954
18818
  set onMouseOver(prop) {
18955
- if (this._onMouseOver === prop)
18956
- return;
18819
+ if (this._onMouseOver === prop) return;
18957
18820
  this._onMouseOver = prop;
18958
18821
  }
18959
18822
  get onMouseEnter() {
18960
18823
  return this._onMouseEnter;
18961
18824
  }
18962
18825
  set onMouseEnter(prop) {
18963
- if (this._onMouseEnter === prop)
18964
- return;
18826
+ if (this._onMouseEnter === prop) return;
18965
18827
  this._onMouseEnter = prop;
18966
18828
  }
18967
18829
  get onMouseLeave() {
18968
18830
  return this._onMouseLeave;
18969
18831
  }
18970
18832
  set onMouseLeave(prop) {
18971
- if (this._onMouseLeave === prop)
18972
- return;
18833
+ if (this._onMouseLeave === prop) return;
18973
18834
  this._onMouseLeave = prop;
18974
18835
  }
18975
18836
  get onDragStart() {
18976
18837
  return this._onDragStart;
18977
18838
  }
18978
18839
  set onDragStart(prop) {
18979
- if (this._onDragStart === prop)
18980
- return;
18840
+ if (this._onDragStart === prop) return;
18981
18841
  this._onDragStart = prop;
18982
18842
  }
18983
18843
  get onDragMove() {
18984
18844
  return this._onDragMove;
18985
18845
  }
18986
18846
  set onDragMove(prop) {
18987
- if (this._onDragMove === prop)
18988
- return;
18847
+ if (this._onDragMove === prop) return;
18989
18848
  this._onDragMove = prop;
18990
18849
  }
18991
18850
  get onDragEnd() {
18992
18851
  return this._onDragEnd;
18993
18852
  }
18994
18853
  set onDragEnd(prop) {
18995
- if (this._onDragEnd === prop)
18996
- return;
18854
+ if (this._onDragEnd === prop) return;
18997
18855
  this._onDragEnd = prop;
18998
18856
  }
18999
18857
  get onWheel() {
19000
18858
  return this._onWheel;
19001
18859
  }
19002
18860
  set onWheel(prop) {
19003
- if (this._onWheel === prop)
19004
- return;
18861
+ if (this._onWheel === prop) return;
19005
18862
  this._onWheel = prop;
19006
18863
  }
19007
18864
  attach(ownerElement) {
@@ -19024,8 +18881,7 @@ var RenderGestureDetector = class extends SingleChildRenderObject_default {
19024
18881
  }
19025
18882
  addEventListeners() {
19026
18883
  const isBrowser = typeof window !== "undefined";
19027
- if (!isBrowser)
19028
- return;
18884
+ if (!isBrowser) return;
19029
18885
  const dragBackend = getSingletonDragBackend();
19030
18886
  dragBackend.isSetup || dragBackend.setup();
19031
18887
  backendRefCount++;
@@ -19067,14 +18923,12 @@ var DragBackend = class {
19067
18923
  __publicField(this, "dragEndListener", {});
19068
18924
  __publicField(this, "handleMouseMoveTop", (e) => {
19069
18925
  var _a, _b;
19070
- if (this.activeDragSourceId == null)
19071
- return;
18926
+ if (this.activeDragSourceId == null) return;
19072
18927
  (_b = (_a = this.dragMoveListener)[this.activeDragSourceId]) == null ? void 0 : _b.call(_a, e);
19073
18928
  });
19074
18929
  __publicField(this, "handleMouseUpTop", (e) => {
19075
18930
  var _a, _b;
19076
- if (this.activeDragSourceId == null)
19077
- return;
18931
+ if (this.activeDragSourceId == null) return;
19078
18932
  (_b = (_a = this.dragEndListener)[this.activeDragSourceId]) == null ? void 0 : _b.call(_a, e);
19079
18933
  this.activeDragSourceId = null;
19080
18934
  });
@@ -19087,17 +18941,14 @@ var DragBackend = class {
19087
18941
  return document;
19088
18942
  }
19089
18943
  setup() {
19090
- if (typeof window === "undefined")
19091
- return;
19092
- if (this.isSetup)
19093
- return;
18944
+ if (typeof window === "undefined") return;
18945
+ if (this.isSetup) return;
19094
18946
  this.root.addEventListener("mousemove", this.handleMouseMoveTop);
19095
18947
  this.root.addEventListener("mouseup", this.handleMouseUpTop);
19096
18948
  this.isSetup = true;
19097
18949
  }
19098
18950
  teardown() {
19099
- if (typeof window === "undefined")
19100
- return;
18951
+ if (typeof window === "undefined") return;
19101
18952
  this.root.removeEventListener("mousemove", this.handleMouseMoveTop);
19102
18953
  this.root.removeEventListener("mouseup", this.handleMouseUpTop);
19103
18954
  this.isSetup = false;
@@ -19769,8 +19620,7 @@ var DraggableState = class extends State {
19769
19620
  });
19770
19621
  });
19771
19622
  __publicField(this, "handleMouseMove", ({ x, y }) => {
19772
- if (this.origin == null)
19773
- return;
19623
+ if (this.origin == null) return;
19774
19624
  this.setState(() => {
19775
19625
  var _a, _b;
19776
19626
  this.delta = this.lastDelta.plus(
@@ -19904,15 +19754,14 @@ var _zIndex;
19904
19754
  var RenderZIndex = class extends SingleChildRenderObject_default {
19905
19755
  constructor({ zIndex }) {
19906
19756
  super({ isPainter: false });
19907
- __privateAdd(this, _zIndex, void 0);
19757
+ __privateAdd(this, _zIndex);
19908
19758
  __privateSet(this, _zIndex, zIndex);
19909
19759
  }
19910
19760
  get zIndex() {
19911
19761
  return __privateGet(this, _zIndex);
19912
19762
  }
19913
19763
  set zIndex(value) {
19914
- if (__privateGet(this, _zIndex) === value)
19915
- return;
19764
+ if (__privateGet(this, _zIndex) === value) return;
19916
19765
  __privateSet(this, _zIndex, value);
19917
19766
  this.markNeedsUpdateZOrder();
19918
19767
  }
@@ -19980,52 +19829,39 @@ var TextField = class extends StatefulWidget_default {
19980
19829
  }
19981
19830
  };
19982
19831
  var ZERO_WIDTH_SPACE = "\u200B";
19983
- var _nativeInput, _selection, _textPainter2, _selectionUI, _textKey, _selectionStart, _textFieldPosition, _focused, _isTyping, _typingTimer, _isComposing, _lineInfo, _currentCharUI, _hasSelection, hasSelection_get, _resetTypingTimer, resetTypingTimer_fn, _setText, setText_fn, _toTextSpan, toTextSpan_fn, _syncThis, syncThis_fn, _syncBlur, _render, render_fn, _calculateLineInfo, calculateLineInfo_fn, _findLineIndexForPosition, findLineIndexForPosition_fn, _calculateCurrentCharRect, calculateCurrentCharRect_fn, _calculateSelectionUI, calculateSelectionUI_fn, _setSelection, setSelection_fn, _getCharIndexFromMouseEvent;
19832
+ var _nativeInput, _selection, _textPainter2, _selectionUI, _textKey, _selectionStart, _textFieldPosition, _focused, _isTyping, _typingTimer, _isComposing, _lineInfo, _currentCharUI, _TextFieldState_instances, hasSelection_get, resetTypingTimer_fn, setText_fn, toTextSpan_fn, syncThis_fn, _syncBlur, render_fn, calculateLineInfo_fn, findLineIndexForPosition_fn, calculateCurrentCharRect_fn, calculateSelectionUI_fn, setSelection_fn, _getCharIndexFromMouseEvent;
19984
19833
  var TextFieldState = class extends State {
19985
19834
  constructor() {
19986
19835
  super();
19987
- __privateAdd(this, _hasSelection);
19988
- __privateAdd(this, _resetTypingTimer);
19989
- __privateAdd(this, _setText);
19990
- __privateAdd(this, _toTextSpan);
19991
- /**
19992
- * Sync the text field with the native input.
19993
- */
19994
- __privateAdd(this, _syncThis);
19995
- __privateAdd(this, _render);
19996
- __privateAdd(this, _calculateLineInfo);
19997
- __privateAdd(this, _findLineIndexForPosition);
19998
- __privateAdd(this, _calculateCurrentCharRect);
19999
- __privateAdd(this, _calculateSelectionUI);
20000
- __privateAdd(this, _setSelection);
19836
+ __privateAdd(this, _TextFieldState_instances);
20001
19837
  __privateAdd(this, _nativeInput, new NativeInput());
20002
19838
  __publicField(this, "value", "");
20003
19839
  __privateAdd(this, _selection, [0, 0]);
20004
- __privateAdd(this, _textPainter2, void 0);
19840
+ __privateAdd(this, _textPainter2);
20005
19841
  __privateAdd(this, _selectionUI, []);
20006
19842
  __privateAdd(this, _textKey, new Globalkey_default());
20007
19843
  __privateAdd(this, _selectionStart, 0);
20008
19844
  __privateAdd(this, _textFieldPosition, null);
20009
19845
  __privateAdd(this, _focused, false);
20010
19846
  __privateAdd(this, _isTyping, false);
20011
- __privateAdd(this, _typingTimer, void 0);
19847
+ __privateAdd(this, _typingTimer);
20012
19848
  __privateAdd(this, _isComposing, false);
20013
19849
  __privateAdd(this, _lineInfo, []);
20014
- __privateAdd(this, _currentCharUI, void 0);
19850
+ __privateAdd(this, _currentCharUI);
20015
19851
  __privateAdd(this, _syncBlur, () => {
20016
19852
  __privateSet(this, _selection, [0, 0]);
20017
19853
  __privateSet(this, _currentCharUI, null);
20018
19854
  __privateSet(this, _selectionUI, null);
20019
19855
  __privateSet(this, _focused, false);
20020
- __privateMethod(this, _render, render_fn).call(this);
19856
+ __privateMethod(this, _TextFieldState_instances, render_fn).call(this);
20021
19857
  });
20022
19858
  __publicField(this, "focus", (location = this.value.length) => {
20023
19859
  __privateGet(this, _nativeInput).value = this.value;
20024
19860
  __privateGet(this, _nativeInput).focus();
20025
- __privateMethod(this, _setSelection, setSelection_fn).call(this, location);
19861
+ __privateMethod(this, _TextFieldState_instances, setSelection_fn).call(this, location);
20026
19862
  __privateGet(this, _nativeInput).setCaret(location);
20027
19863
  __privateSet(this, _focused, true);
20028
- __privateMethod(this, _render, render_fn).call(this);
19864
+ __privateMethod(this, _TextFieldState_instances, render_fn).call(this);
20029
19865
  });
20030
19866
  __publicField(this, "blur", () => {
20031
19867
  __privateGet(this, _syncBlur).call(this);
@@ -20114,12 +19950,11 @@ var TextFieldState = class extends State {
20114
19950
  this.focus(globalCharIndex);
20115
19951
  });
20116
19952
  __publicField(this, "handleMouseMove", (e) => {
20117
- if (!__privateGet(this, _textFieldPosition))
20118
- return;
19953
+ if (!__privateGet(this, _textFieldPosition)) return;
20119
19954
  const currentIndex = __privateGet(this, _getCharIndexFromMouseEvent).call(this, e);
20120
19955
  const start = Math.min(__privateGet(this, _selectionStart), currentIndex);
20121
19956
  const end = Math.max(__privateGet(this, _selectionStart), currentIndex);
20122
- __privateMethod(this, _setSelection, setSelection_fn).call(this, start, end);
19957
+ __privateMethod(this, _TextFieldState_instances, setSelection_fn).call(this, start, end);
20123
19958
  __privateGet(this, _nativeInput).setSelection(start, end);
20124
19959
  });
20125
19960
  __publicField(this, "handleMouseUp", () => {
@@ -20128,7 +19963,7 @@ var TextFieldState = class extends State {
20128
19963
  }
20129
19964
  didUpdateWidget(oldWidget) {
20130
19965
  if (oldWidget.text !== this.widget.text || !oldWidget.style.equals(this.widget.style)) {
20131
- __privateMethod(this, _setText, setText_fn).call(this, this.widget.text);
19966
+ __privateMethod(this, _TextFieldState_instances, setText_fn).call(this, this.widget.text);
20132
19967
  return;
20133
19968
  }
20134
19969
  }
@@ -20137,7 +19972,7 @@ var TextFieldState = class extends State {
20137
19972
  return (_a = __privateGet(this, _textPainter2).paragraph) == null ? void 0 : _a.lines;
20138
19973
  }
20139
19974
  initState() {
20140
- __privateMethod(this, _setText, setText_fn).call(this, this.widget.text);
19975
+ __privateMethod(this, _TextFieldState_instances, setText_fn).call(this, this.widget.text);
20141
19976
  __privateGet(this, _nativeInput).addEventListener("compositionstart", () => {
20142
19977
  this.setState(() => {
20143
19978
  __privateSet(this, _isComposing, true);
@@ -20159,7 +19994,7 @@ var TextFieldState = class extends State {
20159
19994
  return;
20160
19995
  }
20161
19996
  setTimeout(() => {
20162
- __privateMethod(this, _syncThis, syncThis_fn).call(this);
19997
+ __privateMethod(this, _TextFieldState_instances, syncThis_fn).call(this);
20163
19998
  }, 0);
20164
19999
  });
20165
20000
  __privateGet(this, _nativeInput).addEventListener("blur", () => {
@@ -20270,25 +20105,23 @@ _typingTimer = new WeakMap();
20270
20105
  _isComposing = new WeakMap();
20271
20106
  _lineInfo = new WeakMap();
20272
20107
  _currentCharUI = new WeakMap();
20273
- _hasSelection = new WeakSet();
20108
+ _TextFieldState_instances = new WeakSet();
20274
20109
  hasSelection_get = function() {
20275
20110
  return __privateGet(this, _selection)[0] !== __privateGet(this, _selection)[1];
20276
20111
  };
20277
- _resetTypingTimer = new WeakSet();
20278
20112
  resetTypingTimer_fn = function() {
20279
20113
  if (__privateGet(this, _typingTimer)) {
20280
20114
  clearTimeout(__privateGet(this, _typingTimer));
20281
20115
  }
20282
20116
  __privateSet(this, _typingTimer, setTimeout(() => {
20283
20117
  __privateSet(this, _isTyping, false);
20284
- __privateMethod(this, _render, render_fn).call(this);
20118
+ __privateMethod(this, _TextFieldState_instances, render_fn).call(this);
20285
20119
  }, 10));
20286
20120
  };
20287
- _setText = new WeakSet();
20288
20121
  setText_fn = function(text) {
20289
20122
  this.value = text;
20290
20123
  __privateSet(this, _textPainter2, new TextPainter({
20291
- text: __privateMethod(this, _toTextSpan, toTextSpan_fn).call(this),
20124
+ text: __privateMethod(this, _TextFieldState_instances, toTextSpan_fn).call(this),
20292
20125
  textDirection: this.widget.textDirection,
20293
20126
  textScaleFactor: 1,
20294
20127
  textWidthBasis: text_width_basis_default.parent,
@@ -20296,12 +20129,11 @@ setText_fn = function(text) {
20296
20129
  maxLines: this.widget.maxLines,
20297
20130
  ellipsis: void 0
20298
20131
  }));
20299
- __privateMethod(this, _render, render_fn).call(this);
20132
+ __privateMethod(this, _TextFieldState_instances, render_fn).call(this);
20300
20133
  this.element.scheduler.addPostFrameCallbacks(() => {
20301
- __privateSet(this, _lineInfo, __privateMethod(this, _calculateLineInfo, calculateLineInfo_fn).call(this));
20134
+ __privateSet(this, _lineInfo, __privateMethod(this, _TextFieldState_instances, calculateLineInfo_fn).call(this));
20302
20135
  });
20303
20136
  };
20304
- _toTextSpan = new WeakSet();
20305
20137
  toTextSpan_fn = function() {
20306
20138
  return new text_span_default({
20307
20139
  /**
@@ -20318,22 +20150,22 @@ toTextSpan_fn = function() {
20318
20150
  )
20319
20151
  });
20320
20152
  };
20321
- _syncThis = new WeakSet();
20153
+ /**
20154
+ * Sync the text field with the native input.
20155
+ */
20322
20156
  syncThis_fn = function() {
20323
- __privateMethod(this, _setText, setText_fn).call(this, __privateGet(this, _nativeInput).value);
20157
+ __privateMethod(this, _TextFieldState_instances, setText_fn).call(this, __privateGet(this, _nativeInput).value);
20324
20158
  __privateSet(this, _isTyping, true);
20325
- __privateMethod(this, _resetTypingTimer, resetTypingTimer_fn).call(this);
20159
+ __privateMethod(this, _TextFieldState_instances, resetTypingTimer_fn).call(this);
20326
20160
  this.element.scheduler.addPostFrameCallbacks(() => {
20327
- __privateMethod(this, _setSelection, setSelection_fn).call(this, ...__privateGet(this, _nativeInput).getSelection());
20328
- __privateMethod(this, _render, render_fn).call(this);
20161
+ __privateMethod(this, _TextFieldState_instances, setSelection_fn).call(this, ...__privateGet(this, _nativeInput).getSelection());
20162
+ __privateMethod(this, _TextFieldState_instances, render_fn).call(this);
20329
20163
  });
20330
20164
  };
20331
20165
  _syncBlur = new WeakMap();
20332
- _render = new WeakSet();
20333
20166
  render_fn = function() {
20334
20167
  this.setState();
20335
20168
  };
20336
- _calculateLineInfo = new WeakSet();
20337
20169
  calculateLineInfo_fn = function() {
20338
20170
  const lines = __privateGet(this, _textPainter2).paragraph.lines;
20339
20171
  let accumulatedChars = 0;
@@ -20350,7 +20182,6 @@ calculateLineInfo_fn = function() {
20350
20182
  return lineInfo;
20351
20183
  });
20352
20184
  };
20353
- _findLineIndexForPosition = new WeakSet();
20354
20185
  findLineIndexForPosition_fn = function(position) {
20355
20186
  let low = 0;
20356
20187
  let high = __privateGet(this, _lineInfo).length - 1;
@@ -20368,10 +20199,9 @@ findLineIndexForPosition_fn = function(position) {
20368
20199
  }
20369
20200
  return __privateGet(this, _lineInfo).length - 1;
20370
20201
  };
20371
- _calculateCurrentCharRect = new WeakSet();
20372
20202
  calculateCurrentCharRect_fn = function(caretLocation) {
20373
20203
  var _a, _b, _c, _d, _e;
20374
- const lineIndex = __privateMethod(this, _findLineIndexForPosition, findLineIndexForPosition_fn).call(this, caretLocation);
20204
+ const lineIndex = __privateMethod(this, _TextFieldState_instances, findLineIndexForPosition_fn).call(this, caretLocation);
20375
20205
  const line = __privateGet(this, _lineInfo)[lineIndex];
20376
20206
  const localCaretPosition = caretLocation - line.accumulatedChars;
20377
20207
  const lines = (_c = (_b = (_a = __privateGet(this, _textPainter2)) == null ? void 0 : _a.paragraph) == null ? void 0 : _b.lines) != null ? _c : [];
@@ -20409,11 +20239,10 @@ calculateCurrentCharRect_fn = function(caretLocation) {
20409
20239
  }
20410
20240
  return charUI;
20411
20241
  };
20412
- _calculateSelectionUI = new WeakSet();
20413
20242
  calculateSelectionUI_fn = function(start, end) {
20414
20243
  var _a, _b, _c, _d, _e, _f, _g, _h;
20415
- const startLineIndex = __privateMethod(this, _findLineIndexForPosition, findLineIndexForPosition_fn).call(this, start);
20416
- const endLineIndex = __privateMethod(this, _findLineIndexForPosition, findLineIndexForPosition_fn).call(this, end);
20244
+ const startLineIndex = __privateMethod(this, _TextFieldState_instances, findLineIndexForPosition_fn).call(this, start);
20245
+ const endLineIndex = __privateMethod(this, _TextFieldState_instances, findLineIndexForPosition_fn).call(this, end);
20417
20246
  const segments = [];
20418
20247
  const lines = (_c = (_b = (_a = __privateGet(this, _textPainter2)) == null ? void 0 : _a.paragraph) == null ? void 0 : _b.lines) != null ? _c : [];
20419
20248
  for (let i = startLineIndex; i <= endLineIndex; i++) {
@@ -20432,18 +20261,17 @@ calculateSelectionUI_fn = function(start, end) {
20432
20261
  }
20433
20262
  return segments;
20434
20263
  };
20435
- _setSelection = new WeakSet();
20436
20264
  setSelection_fn = function(start, end = start) {
20437
20265
  __privateSet(this, _selection, [start, end]);
20438
20266
  const caretLocation = start;
20439
- if (__privateGet(this, _hasSelection, hasSelection_get)) {
20440
- __privateSet(this, _selectionUI, __privateMethod(this, _calculateSelectionUI, calculateSelectionUI_fn).call(this, start, end));
20267
+ if (__privateGet(this, _TextFieldState_instances, hasSelection_get)) {
20268
+ __privateSet(this, _selectionUI, __privateMethod(this, _TextFieldState_instances, calculateSelectionUI_fn).call(this, start, end));
20441
20269
  __privateSet(this, _currentCharUI, null);
20442
20270
  } else {
20443
20271
  __privateSet(this, _selectionUI, null);
20444
- __privateSet(this, _currentCharUI, __privateMethod(this, _calculateCurrentCharRect, calculateCurrentCharRect_fn).call(this, caretLocation));
20272
+ __privateSet(this, _currentCharUI, __privateMethod(this, _TextFieldState_instances, calculateCurrentCharRect_fn).call(this, caretLocation));
20445
20273
  }
20446
- __privateMethod(this, _render, render_fn).call(this);
20274
+ __privateMethod(this, _TextFieldState_instances, render_fn).call(this);
20447
20275
  };
20448
20276
  _getCharIndexFromMouseEvent = new WeakMap();
20449
20277
  var Caret = class extends StatefulWidget_default {
@@ -20516,12 +20344,10 @@ var CaretState = class extends State {
20516
20344
  });
20517
20345
  }
20518
20346
  };
20519
- var _isComposing2, _element, _listeners, _createElement, createElement_fn, _setComposing, setComposing_fn, _disposed, _dispatch, dispatch_fn;
20347
+ var _isComposing2, _element, _listeners, _NativeInput_instances, createElement_fn, setComposing_fn, _disposed, dispatch_fn;
20520
20348
  var NativeInput = class {
20521
20349
  constructor() {
20522
- __privateAdd(this, _createElement);
20523
- __privateAdd(this, _setComposing);
20524
- __privateAdd(this, _dispatch);
20350
+ __privateAdd(this, _NativeInput_instances);
20525
20351
  __privateAdd(this, _isComposing2, false);
20526
20352
  __privateAdd(this, _element, null);
20527
20353
  __privateAdd(this, _listeners, {});
@@ -20556,7 +20382,7 @@ var NativeInput = class {
20556
20382
  assert(!__privateGet(this, _disposed), "invalid access. because native input is disposed");
20557
20383
  if (__privateGet(this, _element) == null) {
20558
20384
  if (browser) {
20559
- __privateSet(this, _element, __privateMethod(this, _createElement, createElement_fn).call(this));
20385
+ __privateSet(this, _element, __privateMethod(this, _NativeInput_instances, createElement_fn).call(this));
20560
20386
  document.body.appendChild(__privateGet(this, _element));
20561
20387
  } else {
20562
20388
  __privateSet(this, _element, {
@@ -20589,7 +20415,7 @@ var NativeInput = class {
20589
20415
  _isComposing2 = new WeakMap();
20590
20416
  _element = new WeakMap();
20591
20417
  _listeners = new WeakMap();
20592
- _createElement = new WeakSet();
20418
+ _NativeInput_instances = new WeakSet();
20593
20419
  createElement_fn = function() {
20594
20420
  const el = document.createElement("textarea");
20595
20421
  el.setAttribute(
@@ -20597,52 +20423,396 @@ createElement_fn = function() {
20597
20423
  "position: absolute; opacity: 0; height: 0; width: 0;"
20598
20424
  );
20599
20425
  el.addEventListener("input", (e) => {
20600
- __privateMethod(this, _dispatch, dispatch_fn).call(this, "input", { value: this.value });
20426
+ __privateMethod(this, _NativeInput_instances, dispatch_fn).call(this, "input", { value: this.value });
20601
20427
  if (e.isComposing && this.value[this.value.length - 1] === " ") {
20602
- __privateMethod(this, _setComposing, setComposing_fn).call(this, false);
20428
+ __privateMethod(this, _NativeInput_instances, setComposing_fn).call(this, false);
20603
20429
  return;
20604
20430
  }
20605
- __privateMethod(this, _setComposing, setComposing_fn).call(this, e.isComposing);
20431
+ __privateMethod(this, _NativeInput_instances, setComposing_fn).call(this, e.isComposing);
20606
20432
  });
20607
20433
  el.addEventListener("keydown", (e) => {
20608
20434
  if (e.key === "Enter" && !e.shiftKey) {
20609
20435
  e.preventDefault();
20610
- __privateMethod(this, _setComposing, setComposing_fn).call(this, false);
20436
+ __privateMethod(this, _NativeInput_instances, setComposing_fn).call(this, false);
20611
20437
  }
20612
- __privateMethod(this, _setComposing, setComposing_fn).call(this, e.isComposing);
20613
- __privateMethod(this, _dispatch, dispatch_fn).call(this, "keydown", {
20438
+ __privateMethod(this, _NativeInput_instances, setComposing_fn).call(this, e.isComposing);
20439
+ __privateMethod(this, _NativeInput_instances, dispatch_fn).call(this, "keydown", {
20614
20440
  key: e.key,
20615
20441
  ctrlKey: e.ctrlKey,
20616
20442
  shiftKey: e.shiftKey
20617
20443
  });
20618
20444
  });
20619
20445
  el.addEventListener("focus", () => {
20620
- __privateMethod(this, _dispatch, dispatch_fn).call(this, "focus", void 0);
20446
+ __privateMethod(this, _NativeInput_instances, dispatch_fn).call(this, "focus", void 0);
20621
20447
  });
20622
20448
  el.addEventListener("blur", () => {
20623
- __privateMethod(this, _dispatch, dispatch_fn).call(this, "blur", void 0);
20449
+ __privateMethod(this, _NativeInput_instances, dispatch_fn).call(this, "blur", void 0);
20624
20450
  });
20625
20451
  return el;
20626
20452
  };
20627
- _setComposing = new WeakSet();
20628
20453
  setComposing_fn = function(isComposing) {
20629
- if (__privateGet(this, _isComposing2) === isComposing)
20630
- return;
20454
+ if (__privateGet(this, _isComposing2) === isComposing) return;
20631
20455
  __privateSet(this, _isComposing2, isComposing);
20632
20456
  if (isComposing) {
20633
- __privateMethod(this, _dispatch, dispatch_fn).call(this, "compositionstart", void 0);
20457
+ __privateMethod(this, _NativeInput_instances, dispatch_fn).call(this, "compositionstart", void 0);
20634
20458
  } else {
20635
- __privateMethod(this, _dispatch, dispatch_fn).call(this, "compositionend", void 0);
20459
+ __privateMethod(this, _NativeInput_instances, dispatch_fn).call(this, "compositionend", void 0);
20636
20460
  }
20637
20461
  };
20638
20462
  _disposed = new WeakMap();
20639
- _dispatch = new WeakSet();
20640
20463
  dispatch_fn = function(type, event) {
20641
20464
  var _a;
20642
20465
  (_a = __privateGet(this, _listeners)[type]) == null ? void 0 : _a.forEach((listener) => listener(event));
20643
20466
  };
20644
20467
  var TextField_default = classToFunction_default(TextField);
20645
20468
 
20469
+ // src/component/base/base-image/calculatePosition.ts
20470
+ var objectPositionMap = {
20471
+ center: { x: 0.5, y: 0.5 },
20472
+ top: { x: 0.5, y: 0 },
20473
+ right: { x: 1, y: 0.5 },
20474
+ bottom: { x: 0.5, y: 1 },
20475
+ left: { x: 0, y: 0.5 },
20476
+ "top left": { x: 0, y: 0 },
20477
+ "top right": { x: 1, y: 0 },
20478
+ "bottom left": { x: 0, y: 1 },
20479
+ "bottom right": { x: 1, y: 1 }
20480
+ };
20481
+ function calcSize(sourceSize, containerSize, imageSize, positionPercent) {
20482
+ if (imageSize > containerSize) {
20483
+ const ratio = sourceSize / imageSize;
20484
+ const sSize = Math.min(sourceSize, containerSize * ratio);
20485
+ const s = (sourceSize - sSize) * positionPercent;
20486
+ return {
20487
+ s: Math.max(0, Math.min(s, sourceSize - sSize)),
20488
+ sSize,
20489
+ d: 0,
20490
+ dSize: containerSize
20491
+ };
20492
+ } else {
20493
+ const d = (containerSize - imageSize) * positionPercent;
20494
+ return {
20495
+ s: 0,
20496
+ sSize: sourceSize,
20497
+ d,
20498
+ dSize: imageSize
20499
+ };
20500
+ }
20501
+ }
20502
+ function calculateImageRendering(sourceImageSize, calcImageSizeResult, objectPosition = "center") {
20503
+ const {
20504
+ container: { width: containerWidth, height: containerHeight },
20505
+ image: { width: imageWidth, height: imageHeight }
20506
+ } = calcImageSizeResult;
20507
+ const { x: xPercent, y: yPercent } = objectPositionMap[objectPosition];
20508
+ const horizontalResult = calcSize(
20509
+ sourceImageSize.width,
20510
+ containerWidth,
20511
+ imageWidth,
20512
+ xPercent
20513
+ );
20514
+ const verticalResult = calcSize(
20515
+ sourceImageSize.height,
20516
+ containerHeight,
20517
+ imageHeight,
20518
+ yPercent
20519
+ );
20520
+ return {
20521
+ sx: Math.round(horizontalResult.s),
20522
+ sy: Math.round(verticalResult.s),
20523
+ sWidth: Math.round(horizontalResult.sSize),
20524
+ sHeight: Math.round(verticalResult.sSize),
20525
+ dx: Math.round(horizontalResult.d),
20526
+ dy: Math.round(verticalResult.d),
20527
+ dWidth: Math.round(horizontalResult.dSize),
20528
+ dHeight: Math.round(verticalResult.dSize)
20529
+ };
20530
+ }
20531
+
20532
+ // src/component/base/base-image/calculateSize.ts
20533
+ function calculateSize(source, container, objectFit = "none") {
20534
+ var _a, _b;
20535
+ const aspectRatio = source.width / source.height;
20536
+ let containerWidth = (_a = container.width) != null ? _a : source.width;
20537
+ let containerHeight = (_b = container.height) != null ? _b : source.height;
20538
+ if (container.width != null && container.height == null) {
20539
+ containerHeight = Math.round(container.width / aspectRatio);
20540
+ } else if (container.width == null && container.height != null) {
20541
+ containerWidth = Math.round(container.height * aspectRatio);
20542
+ }
20543
+ const imageSize = fitFunctions[objectFit](source, {
20544
+ width: containerWidth,
20545
+ height: containerHeight
20546
+ });
20547
+ return {
20548
+ width: Math.round(containerWidth),
20549
+ height: Math.round(containerHeight),
20550
+ image: {
20551
+ width: Math.round(imageSize.width),
20552
+ height: Math.round(imageSize.height)
20553
+ }
20554
+ };
20555
+ }
20556
+ var fitFunctions = {
20557
+ fill: fillFit,
20558
+ contain: containFit,
20559
+ cover: coverFit,
20560
+ none: noneFit,
20561
+ "scale-down": scaleDownFit
20562
+ };
20563
+ function fillFit(source, container) {
20564
+ return { width: container.width, height: container.height };
20565
+ }
20566
+ function containFit(source, result) {
20567
+ const aspectRatio = source.width / source.height;
20568
+ if (result.width / result.height > aspectRatio) {
20569
+ return { width: result.height * aspectRatio, height: result.height };
20570
+ } else {
20571
+ return { width: result.width, height: result.width / aspectRatio };
20572
+ }
20573
+ }
20574
+ function coverFit(source, container) {
20575
+ const aspectRatio = source.width / source.height;
20576
+ if (container.width / container.height > aspectRatio) {
20577
+ return { width: container.width, height: container.width / aspectRatio };
20578
+ } else {
20579
+ return { width: container.height * aspectRatio, height: container.height };
20580
+ }
20581
+ }
20582
+ function noneFit(source, _) {
20583
+ return { width: source.width, height: source.height };
20584
+ }
20585
+ function scaleDownFit(source, container) {
20586
+ const containSize = containFit(source, container);
20587
+ if (containSize.width > source.width || containSize.height > source.height) {
20588
+ return { width: source.width, height: source.height };
20589
+ }
20590
+ return containSize;
20591
+ }
20592
+
20593
+ // src/component/base/base-image/BaseImage.ts
20594
+ var _Image = class extends SingleChildRenderObjectWidget_default {
20595
+ constructor({
20596
+ key,
20597
+ src,
20598
+ objectFit: fit,
20599
+ width,
20600
+ height,
20601
+ objectPosition: position
20602
+ }) {
20603
+ super(key);
20604
+ __publicField(this, "_src");
20605
+ __publicField(this, "_fit");
20606
+ __publicField(this, "_width");
20607
+ __publicField(this, "_height");
20608
+ __publicField(this, "_position");
20609
+ this._src = src;
20610
+ this._fit = fit;
20611
+ this._width = width;
20612
+ this._height = height;
20613
+ this._position = position;
20614
+ }
20615
+ createRenderObject() {
20616
+ return new RenderImage({
20617
+ src: this._src,
20618
+ objectFit: this._fit,
20619
+ width: this._width,
20620
+ height: this._height,
20621
+ objectPosition: this._position
20622
+ });
20623
+ }
20624
+ updateRenderObject(renderObject) {
20625
+ renderObject.src = this._src;
20626
+ renderObject.fit = this._fit;
20627
+ renderObject.width = this._width;
20628
+ renderObject.height = this._height;
20629
+ renderObject.position = this._position;
20630
+ }
20631
+ };
20632
+ var _src, _fit, _width, _height, _position, _mounted;
20633
+ var RenderImage = class extends SingleChildRenderObject_default {
20634
+ constructor({
20635
+ src,
20636
+ objectFit,
20637
+ width,
20638
+ height,
20639
+ objectPosition
20640
+ }) {
20641
+ super({ isPainter: true });
20642
+ __privateAdd(this, _src);
20643
+ __privateAdd(this, _fit);
20644
+ __privateAdd(this, _width);
20645
+ __privateAdd(this, _height);
20646
+ __privateAdd(this, _position);
20647
+ __publicField(this, "image");
20648
+ __publicField(this, "imageLoaded", false);
20649
+ __publicField(this, "calculatedImageSize");
20650
+ __privateAdd(this, _mounted, false);
20651
+ __privateSet(this, _src, src);
20652
+ __privateSet(this, _fit, objectFit);
20653
+ __privateSet(this, _width, width);
20654
+ __privateSet(this, _height, height);
20655
+ __privateSet(this, _position, objectPosition);
20656
+ if (browser) {
20657
+ this.image = new Image();
20658
+ this.image.onload = () => {
20659
+ this.imageLoaded = true;
20660
+ if (!__privateGet(this, _mounted)) return;
20661
+ this.markNeedsLayout();
20662
+ };
20663
+ this.image.src = src;
20664
+ }
20665
+ }
20666
+ get src() {
20667
+ return __privateGet(this, _src);
20668
+ }
20669
+ set src(value) {
20670
+ if (__privateGet(this, _src) === value) return;
20671
+ __privateSet(this, _src, value);
20672
+ if (this.image != null) {
20673
+ this.image.src = value;
20674
+ }
20675
+ this.markNeedsLayout();
20676
+ }
20677
+ get fit() {
20678
+ return __privateGet(this, _fit);
20679
+ }
20680
+ set fit(value) {
20681
+ if (__privateGet(this, _fit) === value) return;
20682
+ __privateSet(this, _fit, value);
20683
+ this.markNeedsLayout();
20684
+ }
20685
+ get width() {
20686
+ return __privateGet(this, _width);
20687
+ }
20688
+ set width(value) {
20689
+ if (__privateGet(this, _width) === value) return;
20690
+ __privateSet(this, _width, value);
20691
+ this.markNeedsLayout();
20692
+ }
20693
+ get height() {
20694
+ return __privateGet(this, _height);
20695
+ }
20696
+ set height(value) {
20697
+ if (__privateGet(this, _height) === value) return;
20698
+ __privateSet(this, _height, value);
20699
+ this.markNeedsLayout();
20700
+ }
20701
+ get position() {
20702
+ return __privateGet(this, _position);
20703
+ }
20704
+ set position(value) {
20705
+ if (__privateGet(this, _position) === value) return;
20706
+ __privateSet(this, _position, value);
20707
+ this.markNeedsLayout();
20708
+ }
20709
+ getIntrinsicWidth() {
20710
+ if (this.width != null) return this.width;
20711
+ return 0;
20712
+ }
20713
+ getIntrinsicHeight() {
20714
+ if (this.height != null) return this.height;
20715
+ return 0;
20716
+ }
20717
+ preformLayout() {
20718
+ var _a, _b;
20719
+ __privateSet(this, _mounted, true);
20720
+ if (!this.imageLoaded) {
20721
+ this.size = this.constraints.constrain(
20722
+ new size_default({
20723
+ width: (_a = this.width) != null ? _a : 0,
20724
+ height: (_b = this.height) != null ? _b : 0
20725
+ })
20726
+ );
20727
+ return;
20728
+ }
20729
+ assert(this.image != null);
20730
+ const sourceSize = { width: this.image.width, height: this.image.height };
20731
+ const { width, height } = calculateSize(
20732
+ sourceSize,
20733
+ {
20734
+ width: this.width && this.constraints.constrainWidth(this.width),
20735
+ height: this.height && this.constraints.constrainHeight(this.height)
20736
+ },
20737
+ this.fit
20738
+ );
20739
+ const size = new size_default({ width, height });
20740
+ this.size = this.constraints.constrain(size);
20741
+ this.calculatedImageSize = calculateSize(
20742
+ sourceSize,
20743
+ {
20744
+ width: this.size.width,
20745
+ height: this.size.height
20746
+ },
20747
+ this.fit
20748
+ ).image;
20749
+ }
20750
+ createCanvasPainter() {
20751
+ return new ImageCanvasPatiner(this);
20752
+ }
20753
+ createSvgPainter() {
20754
+ return new ImageSvgPainter(this);
20755
+ }
20756
+ };
20757
+ _src = new WeakMap();
20758
+ _fit = new WeakMap();
20759
+ _width = new WeakMap();
20760
+ _height = new WeakMap();
20761
+ _position = new WeakMap();
20762
+ _mounted = new WeakMap();
20763
+ var ImageCanvasPatiner = class extends CanvasPainter {
20764
+ performPaint(context, offset) {
20765
+ const {
20766
+ size,
20767
+ image,
20768
+ imageLoaded,
20769
+ calculatedImageSize: imageSize,
20770
+ position = "center"
20771
+ } = this.renderObject;
20772
+ if (!image) return;
20773
+ if (!imageLoaded) return;
20774
+ assert(imageSize != null);
20775
+ const { sx, sy, sWidth, sHeight, dx, dy, dWidth, dHeight } = calculateImageRendering(
20776
+ { width: image.width, height: image.height },
20777
+ {
20778
+ container: size,
20779
+ image: { width: imageSize.width, height: imageSize.height }
20780
+ },
20781
+ position
20782
+ );
20783
+ context.canvas.drawImage(
20784
+ image,
20785
+ sx,
20786
+ sy,
20787
+ sWidth,
20788
+ sHeight,
20789
+ offset.x + dx,
20790
+ offset.y + dy,
20791
+ dWidth,
20792
+ dHeight
20793
+ );
20794
+ }
20795
+ };
20796
+ var ImageSvgPainter = class extends SvgPainter {
20797
+ createDefaultSvgEl(context) {
20798
+ return {
20799
+ img: context.createSvgEl("image")
20800
+ };
20801
+ }
20802
+ performPaint({ img }) {
20803
+ const { src } = this.renderObject;
20804
+ img.setAttribute("href", src);
20805
+ console.warn("not implemented svg painter on image widget");
20806
+ }
20807
+ };
20808
+ var BaseImage_default = _Image;
20809
+
20810
+ // src/component/Image.ts
20811
+ var Image_default = classToFunction_default(BaseImage_default);
20812
+
20813
+
20814
+
20815
+
20646
20816
 
20647
20817
 
20648
20818
 
@@ -20783,4 +20953,4 @@ var TextField_default = classToFunction_default(TextField);
20783
20953
 
20784
20954
 
20785
20955
 
20786
- exports.Align = Align_default; exports.Alignment = alignment_default; exports.AnimatedAlign = AnimatedAlign_default; exports.AnimatedBaseWidgetState = AnimatedBaseWidgetState; exports.AnimatedContainer = AnimatedContainer_default; exports.AnimatedFractionallySizedBox = AnimatedFractionallySizedBox_default; exports.AnimatedOpacity = AnimatedOpacity_default; exports.AnimatedPadding = AnimatedPadding_default; exports.AnimatedPositioned = AnimatedPositioned_default; exports.AnimatedRotation = AnimatedRotation_default; exports.AnimatedScale = AnimatedScale_default; exports.AnimatedSlide = AnimatedSlide_default; exports.Animation = Animation_default; exports.AnimationController = AnimationController_default; exports.AppRunner = AppRunner; exports.AspectRatio = AspectRatio_default; exports.Axis = Axis; exports.Border = border_default; exports.BorderRadius = BorderRadius; exports.BorderRadiusGeometry = border_radius_geometry_default; exports.BorderSide = BorderSide; exports.BorderStyle = border_style_default; exports.BoxDecoration = BoxDecoration; exports.BoxShadow = box_shadow_default; exports.BuildContext = BuildContext; exports.BuildOwner = BuildOwner_default; exports.Builder = Builder_default; exports.Calculable = calculable_default; exports.CalculableTween = CalculableTween_default; exports.CanvasPainter = CanvasPainter; exports.Center = Center; exports.ChangeNotifier = ChangeNotifier_default; exports.ChangeNotifierProvider = ChangeNotifierProvider_default; exports.ClipOval = ClipOval; exports.ClipPath = ClipPath_default; exports.ClipRRect = ClipOval2; exports.ClipRect = ClipRect; exports.Color = color_default; exports.ColoredBox = ColoredBox_default; exports.Colors = colors_exports; exports.Column = Column; exports.ComponentElement = ComponentElement_default; exports.ComponentWidget = StatelessWidget_default; exports.ConstrainedBox = ConstrainedBox_default; exports.Constraints = constraints_default; exports.ConstraintsTransformBox = ConstraintsTransformBox_default; exports.Container = Container_default; exports.CrossAxisAlignment = CrossAxisAlignment; exports.Curve = Curve_default; exports.CurvedAnimation = CurvedAnimation_default; exports.Curves = Curves_default; exports.CustomPaint = CustomPaint_default; exports.Data = data_default; exports.DecoratedBox = DecoratedBox_default; exports.Draggable = Draggable_default; exports.EdgeInsets = edge_insets_default; exports.Element = Element_default; exports.Expanded = Expanded_default; exports.Flex = Flex2; exports.Flexible = Flexible_default; exports.FractionalTranslation = FractionalTranslation_default; exports.FractionallySizedBox = FractionallySizedBox_default; exports.Gap = gap_default; exports.GestureDetector = GestureDetector_default; exports.GlobalKey = Globalkey_default; exports.Grid = Grid_default; exports.ImplicitlyAnimatedWidget = ImplicitlyAnimatedWidget; exports.ImplicitlyAnimatedWidgetState = ImplicitlyAnimatedWidgetState; exports.IndexedStack = IndexedStack2; exports.IntrinsicHeight = IntrinsicHeight_default; exports.IntrinsicWidth = IntrinsicWidth_default; exports.LimitedBox = LimitedBox_default; exports.Listenable = Listenable; exports.MainAxisAlignment = MainAxisAlignment; exports.MainAxisSize = MainAxisSize; exports.Matrix3 = matrix3_default; exports.Matrix4 = matrix4_default; exports.MultiChildRenderObject = MultiChildRenderObject_default; exports.MultiChildRenderObjectWidget = MultiChildRenderObjectWidget_default; exports.Offset = offset_default; exports.Opacity = Opacity_default; exports.OverflowBox = OverflowBox_default; exports.Padding = Padding2; exports.Painter = BaseCustomPaint_default; exports.Paragraph = Paragraph; exports.Path = path_default; exports.Positioned = Positioned_default; exports.Provider = Provider_default; exports.RRect = r_rect_default; exports.Radius = radius_default; exports.ReactiveChangeNotifier = ReactiveChangeNotifier_default; exports.Rect = rect_default; exports.RenderAligningShiftedBox = RenderAligningShiftedBox_default; exports.RenderBox = RenderBox_default; exports.RenderFrameDispatcher = RenderFrameDispatcher_default; exports.RenderObject = RenderObject_default; exports.RenderObjectElement = RenderObjectElement_default; exports.RenderObjectToWidgetAdapter = RenderObjectToWidgetAdapter_default; exports.RenderObjectWidget = RenderObjectWidget_default; exports.RenderPipeline = RenderPipeline; exports.RenderPipelineProvider = RenderPipelineProvider; exports.RenderView = RenderView_default; exports.RichText = RichText_default; exports.Row = Row; exports.Scheduler = Scheduler_default; exports.SingleChildRenderObject = SingleChildRenderObject_default; exports.SingleChildRenderObjectWidget = SingleChildRenderObjectWidget_default; exports.Size = size_default; exports.SizedBox = SizedBox_default; exports.Spacer = Spacer_default; exports.Stack = Stack; exports.StackFit = stack_fit_default; exports.State = State; exports.StatefulElement = StatefulElement; exports.StatefulWidget = StatefulWidget_default; exports.StatelessElement = StatelessElement_default; exports.StatelessWidget = StatelessWidget_default; exports.SvgPainter = SvgPainter; exports.Text = Text_default; exports.TextAlign = text_align_default; exports.TextBaseline = text_baseline_default; exports.TextDirection = text_direction_default; exports.TextField = TextField_default; exports.TextOverflow = text_overflow_default; exports.TextPainter = TextPainter; exports.TextSpan = text_span_default; exports.TextStyle = text_style_default; exports.TextWidthBasis = text_width_basis_default; exports.ToolTipPosition = ToolTipPosition; exports.Tooltip = Tooltip_default; exports.Transform = Transform_default; exports.Tween = Tween_default; exports.UnconstrainedBox = UnconstrainedBox_default; exports.Utils = Utils; exports.Vector2 = vector2_default; exports.Vector3 = vector3_default; exports.Vector4 = vector4_default; exports.VerticalDirection = VerticalDirection; exports.Widget = Widget_default; exports.ZIndex = ZIndex_default;
20956
+ exports.Align = Align_default; exports.Alignment = alignment_default; exports.AnimatedAlign = AnimatedAlign_default; exports.AnimatedBaseWidgetState = AnimatedBaseWidgetState; exports.AnimatedContainer = AnimatedContainer_default; exports.AnimatedFractionallySizedBox = AnimatedFractionallySizedBox_default; exports.AnimatedOpacity = AnimatedOpacity_default; exports.AnimatedPadding = AnimatedPadding_default; exports.AnimatedPositioned = AnimatedPositioned_default; exports.AnimatedRotation = AnimatedRotation_default; exports.AnimatedScale = AnimatedScale_default; exports.AnimatedSlide = AnimatedSlide_default; exports.Animation = Animation_default; exports.AnimationController = AnimationController_default; exports.AppRunner = AppRunner; exports.AspectRatio = AspectRatio_default; exports.Axis = Axis; exports.Border = border_default; exports.BorderRadius = BorderRadius; exports.BorderRadiusGeometry = border_radius_geometry_default; exports.BorderSide = BorderSide; exports.BorderStyle = border_style_default; exports.BoxDecoration = BoxDecoration; exports.BoxShadow = box_shadow_default; exports.BuildContext = BuildContext; exports.BuildOwner = BuildOwner_default; exports.Builder = Builder_default; exports.Calculable = calculable_default; exports.CalculableTween = CalculableTween_default; exports.CanvasPainter = CanvasPainter; exports.Center = Center; exports.ChangeNotifier = ChangeNotifier_default; exports.ChangeNotifierProvider = ChangeNotifierProvider_default; exports.ClipOval = ClipOval; exports.ClipPath = ClipPath_default; exports.ClipRRect = ClipOval2; exports.ClipRect = ClipRect; exports.Color = color_default; exports.ColoredBox = ColoredBox_default; exports.Colors = colors_exports; exports.Column = Column; exports.ComponentElement = ComponentElement_default; exports.ComponentWidget = StatelessWidget_default; exports.ConstrainedBox = ConstrainedBox_default; exports.Constraints = constraints_default; exports.ConstraintsTransformBox = ConstraintsTransformBox_default; exports.Container = Container_default; exports.CrossAxisAlignment = CrossAxisAlignment; exports.Curve = Curve_default; exports.CurvedAnimation = CurvedAnimation_default; exports.Curves = Curves_default; exports.CustomPaint = CustomPaint_default; exports.Data = data_default; exports.DecoratedBox = DecoratedBox_default; exports.Draggable = Draggable_default; exports.EdgeInsets = edge_insets_default; exports.Element = Element_default; exports.Expanded = Expanded_default; exports.Flex = Flex2; exports.Flexible = Flexible_default; exports.FractionalTranslation = FractionalTranslation_default; exports.FractionallySizedBox = FractionallySizedBox_default; exports.Gap = gap_default; exports.GestureDetector = GestureDetector_default; exports.GlobalKey = Globalkey_default; exports.Grid = Grid_default; exports.Image = Image_default; exports.ImplicitlyAnimatedWidget = ImplicitlyAnimatedWidget; exports.ImplicitlyAnimatedWidgetState = ImplicitlyAnimatedWidgetState; exports.IndexedStack = IndexedStack2; exports.IntrinsicHeight = IntrinsicHeight_default; exports.IntrinsicWidth = IntrinsicWidth_default; exports.LimitedBox = LimitedBox_default; exports.Listenable = Listenable; exports.MainAxisAlignment = MainAxisAlignment; exports.MainAxisSize = MainAxisSize; exports.Matrix3 = matrix3_default; exports.Matrix4 = matrix4_default; exports.MultiChildRenderObject = MultiChildRenderObject_default; exports.MultiChildRenderObjectWidget = MultiChildRenderObjectWidget_default; exports.ObjectFit = ObjectFit; exports.ObjectPosition = ObjectPosition; exports.Offset = offset_default; exports.Opacity = Opacity_default; exports.OverflowBox = OverflowBox_default; exports.Padding = Padding2; exports.Painter = BaseCustomPaint_default; exports.Paragraph = Paragraph; exports.Path = path_default; exports.Positioned = Positioned_default; exports.Provider = Provider_default; exports.RRect = r_rect_default; exports.Radius = radius_default; exports.ReactiveChangeNotifier = ReactiveChangeNotifier_default; exports.Rect = rect_default; exports.RenderAligningShiftedBox = RenderAligningShiftedBox_default; exports.RenderBox = RenderBox_default; exports.RenderFrameDispatcher = RenderFrameDispatcher_default; exports.RenderObject = RenderObject_default; exports.RenderObjectElement = RenderObjectElement_default; exports.RenderObjectToWidgetAdapter = RenderObjectToWidgetAdapter_default; exports.RenderObjectWidget = RenderObjectWidget_default; exports.RenderPipeline = RenderPipeline; exports.RenderPipelineProvider = RenderPipelineProvider; exports.RenderView = RenderView_default; exports.RichText = RichText_default; exports.Row = Row; exports.Scheduler = Scheduler_default; exports.SingleChildRenderObject = SingleChildRenderObject_default; exports.SingleChildRenderObjectWidget = SingleChildRenderObjectWidget_default; exports.Size = size_default; exports.SizedBox = SizedBox_default; exports.Spacer = Spacer_default; exports.Stack = Stack; exports.StackFit = stack_fit_default; exports.State = State; exports.StatefulElement = StatefulElement; exports.StatefulWidget = StatefulWidget_default; exports.StatelessElement = StatelessElement_default; exports.StatelessWidget = StatelessWidget_default; exports.SvgPainter = SvgPainter; exports.Text = Text_default; exports.TextAlign = text_align_default; exports.TextBaseline = text_baseline_default; exports.TextDirection = text_direction_default; exports.TextField = TextField_default; exports.TextOverflow = text_overflow_default; exports.TextPainter = TextPainter; exports.TextSpan = text_span_default; exports.TextStyle = text_style_default; exports.TextWidthBasis = text_width_basis_default; exports.ToolTipPosition = ToolTipPosition; exports.Tooltip = Tooltip_default; exports.Transform = Transform_default; exports.Tween = Tween_default; exports.UnconstrainedBox = UnconstrainedBox_default; exports.Utils = Utils; exports.Vector2 = vector2_default; exports.Vector3 = vector3_default; exports.Vector4 = vector4_default; exports.VerticalDirection = VerticalDirection; exports.Widget = Widget_default; exports.ZIndex = ZIndex_default;