@oliasoft-open-source/react-ui-library 3.9.10-beta-2 → 3.9.11-beta-1

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/dist/index.js CHANGED
@@ -9273,20 +9273,6 @@ var lodash = { exports: {} };
9273
9273
  }).call(commonjsGlobal);
9274
9274
  })(lodash, lodash.exports);
9275
9275
  const _$1 = lodash.exports;
9276
- function _extends$8() {
9277
- _extends$8 = Object.assign ? Object.assign.bind() : function(target) {
9278
- for (var i = 1; i < arguments.length; i++) {
9279
- var source = arguments[i];
9280
- for (var key2 in source) {
9281
- if (Object.prototype.hasOwnProperty.call(source, key2)) {
9282
- target[key2] = source[key2];
9283
- }
9284
- }
9285
- }
9286
- return target;
9287
- };
9288
- return _extends$8.apply(this, arguments);
9289
- }
9290
9276
  function _objectWithoutPropertiesLoose$6(source, excluded) {
9291
9277
  if (source == null)
9292
9278
  return {};
@@ -9301,6 +9287,20 @@ function _objectWithoutPropertiesLoose$6(source, excluded) {
9301
9287
  }
9302
9288
  return target;
9303
9289
  }
9290
+ function _extends$8() {
9291
+ _extends$8 = Object.assign ? Object.assign.bind() : function(target) {
9292
+ for (var i = 1; i < arguments.length; i++) {
9293
+ var source = arguments[i];
9294
+ for (var key2 in source) {
9295
+ if (Object.prototype.hasOwnProperty.call(source, key2)) {
9296
+ target[key2] = source[key2];
9297
+ }
9298
+ }
9299
+ }
9300
+ return target;
9301
+ };
9302
+ return _extends$8.apply(this, arguments);
9303
+ }
9304
9304
  function _setPrototypeOf$5(o, p) {
9305
9305
  _setPrototypeOf$5 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o2, p2) {
9306
9306
  o2.__proto__ = p2;
@@ -9313,71 +9313,7 @@ function _inheritsLoose$4(subClass, superClass) {
9313
9313
  subClass.prototype.constructor = subClass;
9314
9314
  _setPrototypeOf$5(subClass, superClass);
9315
9315
  }
9316
- var extendStatics$1 = function(d2, b2) {
9317
- extendStatics$1 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d3, b3) {
9318
- d3.__proto__ = b3;
9319
- } || function(d3, b3) {
9320
- for (var p in b3)
9321
- if (Object.prototype.hasOwnProperty.call(b3, p))
9322
- d3[p] = b3[p];
9323
- };
9324
- return extendStatics$1(d2, b2);
9325
- };
9326
- function __extends$1(d2, b2) {
9327
- if (typeof b2 !== "function" && b2 !== null)
9328
- throw new TypeError("Class extends value " + String(b2) + " is not a constructor or null");
9329
- extendStatics$1(d2, b2);
9330
- function __() {
9331
- this.constructor = d2;
9332
- }
9333
- d2.prototype = b2 === null ? Object.create(b2) : (__.prototype = b2.prototype, new __());
9334
- }
9335
- var __assign$2 = function() {
9336
- __assign$2 = Object.assign || function __assign2(t) {
9337
- for (var s, i = 1, n2 = arguments.length; i < n2; i++) {
9338
- s = arguments[i];
9339
- for (var p in s)
9340
- if (Object.prototype.hasOwnProperty.call(s, p))
9341
- t[p] = s[p];
9342
- }
9343
- return t;
9344
- };
9345
- return __assign$2.apply(this, arguments);
9346
- };
9347
- function __rest(s, e2) {
9348
- var t = {};
9349
- for (var p in s)
9350
- if (Object.prototype.hasOwnProperty.call(s, p) && e2.indexOf(p) < 0)
9351
- t[p] = s[p];
9352
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
9353
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
9354
- if (e2.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9355
- t[p[i]] = s[p[i]];
9356
- }
9357
- return t;
9358
- }
9359
- function __read(o, n2) {
9360
- var m = typeof Symbol === "function" && o[Symbol.iterator];
9361
- if (!m)
9362
- return o;
9363
- var i = m.call(o), r2, ar2 = [], e2;
9364
- try {
9365
- while ((n2 === void 0 || n2-- > 0) && !(r2 = i.next()).done)
9366
- ar2.push(r2.value);
9367
- } catch (error2) {
9368
- e2 = { error: error2 };
9369
- } finally {
9370
- try {
9371
- if (r2 && !r2.done && (m = i["return"]))
9372
- m.call(i);
9373
- } finally {
9374
- if (e2)
9375
- throw e2.error;
9376
- }
9377
- }
9378
- return ar2;
9379
- }
9380
- function __spreadArray$1(to2, from2, pack) {
9316
+ function __spreadArray$2(to2, from2, pack) {
9381
9317
  if (pack || arguments.length === 2)
9382
9318
  for (var i = 0, l = from2.length, ar2; i < l; i++) {
9383
9319
  if (ar2 || !(i in from2)) {
@@ -9388,6 +9324,10 @@ function __spreadArray$1(to2, from2, pack) {
9388
9324
  }
9389
9325
  return to2.concat(ar2 || Array.prototype.slice.call(from2));
9390
9326
  }
9327
+ typeof SuppressedError === "function" ? SuppressedError : function(error2, suppressed, message2) {
9328
+ var e2 = new Error(message2);
9329
+ return e2.name = "SuppressedError", e2.error = error2, e2.suppressed = suppressed, e2;
9330
+ };
9391
9331
  /*!
9392
9332
  * content-type
9393
9333
  * Copyright(c) 2015 Douglas Christopher Wilson
@@ -9406,7 +9346,7 @@ function parse$3(string) {
9406
9346
  throw new TypeError("argument string is required to be a string");
9407
9347
  }
9408
9348
  var index2 = header2.indexOf(";");
9409
- var type = index2 !== -1 ? header2.substr(0, index2).trim() : header2.trim();
9349
+ var type = index2 !== -1 ? header2.slice(0, index2).trim() : header2.trim();
9410
9350
  if (!TYPE_REGEXP.test(type)) {
9411
9351
  throw new TypeError("invalid media type");
9412
9352
  }
@@ -9423,8 +9363,11 @@ function parse$3(string) {
9423
9363
  index2 += match2[0].length;
9424
9364
  key2 = match2[1].toLowerCase();
9425
9365
  value = match2[2];
9426
- if (value[0] === '"') {
9427
- value = value.substr(1, value.length - 2).replace(QESC_REGEXP, "$1");
9366
+ if (value.charCodeAt(0) === 34) {
9367
+ value = value.slice(1, -1);
9368
+ if (value.indexOf("\\") !== -1) {
9369
+ value = value.replace(QESC_REGEXP, "$1");
9370
+ }
9428
9371
  }
9429
9372
  obj.parameters[key2] = value;
9430
9373
  }
@@ -9539,9 +9482,10 @@ var loadSvgCached = function loadSvgCached2(url, httpRequestWithCredentials, cal
9539
9482
  cache$1.set(url, void 0);
9540
9483
  queueRequest(url, callback);
9541
9484
  makeAjaxRequest(url, httpRequestWithCredentials, function(error2, httpRequest) {
9485
+ var _a;
9542
9486
  if (error2) {
9543
9487
  cache$1.set(url, error2);
9544
- } else if (httpRequest.responseXML instanceof Document && httpRequest.responseXML.documentElement && httpRequest.responseXML.documentElement instanceof SVGSVGElement) {
9488
+ } else if (((_a = httpRequest.responseXML) === null || _a === void 0 ? void 0 : _a.documentElement) instanceof SVGSVGElement) {
9545
9489
  cache$1.set(url, httpRequest.responseXML.documentElement);
9546
9490
  }
9547
9491
  processRequestQueue(url);
@@ -9549,9 +9493,10 @@ var loadSvgCached = function loadSvgCached2(url, httpRequestWithCredentials, cal
9549
9493
  };
9550
9494
  var loadSvgUncached = function loadSvgUncached2(url, httpRequestWithCredentials, callback) {
9551
9495
  makeAjaxRequest(url, httpRequestWithCredentials, function(error2, httpRequest) {
9496
+ var _a;
9552
9497
  if (error2) {
9553
9498
  callback(error2);
9554
- } else if (httpRequest.responseXML instanceof Document && httpRequest.responseXML.documentElement && httpRequest.responseXML.documentElement instanceof SVGSVGElement) {
9499
+ } else if (((_a = httpRequest.responseXML) === null || _a === void 0 ? void 0 : _a.documentElement) instanceof SVGSVGElement) {
9555
9500
  callback(null, httpRequest.responseXML.documentElement);
9556
9501
  }
9557
9502
  });
@@ -9601,7 +9546,7 @@ var injectElement = function injectElement2(el2, evalScripts, renumerateIRIEleme
9601
9546
  if (elHeight) {
9602
9547
  svg.setAttribute("height", elHeight);
9603
9548
  }
9604
- var mergedClasses = Array.from(new Set(__spreadArray$1(__spreadArray$1(__spreadArray$1([], (svg.getAttribute("class") || "").split(" "), true), ["injected-svg"], false), (el2.getAttribute("class") || "").split(" "), true))).join(" ").trim();
9549
+ var mergedClasses = Array.from(new Set(__spreadArray$2(__spreadArray$2(__spreadArray$2([], (svg.getAttribute("class") || "").split(" "), true), ["injected-svg"], false), (el2.getAttribute("class") || "").split(" "), true))).join(" ").trim();
9605
9550
  svg.setAttribute("class", mergedClasses);
9606
9551
  var elStyle = el2.getAttribute("style");
9607
9552
  if (elStyle) {
@@ -9738,6 +9683,10 @@ var SVGInjector = function SVGInjector2(elements, _a) {
9738
9683
  afterAll(0);
9739
9684
  }
9740
9685
  };
9686
+ var ownerWindow = function ownerWindow2(node) {
9687
+ var doc2 = (node == null ? void 0 : node.ownerDocument) || document;
9688
+ return doc2.defaultView || window;
9689
+ };
9741
9690
  var shallowDiffers = function shallowDiffers2(a2, b2) {
9742
9691
  for (var i in a2) {
9743
9692
  if (!(i in b2)) {
@@ -9778,7 +9727,7 @@ var ReactSVG = /* @__PURE__ */ function(_React$Component) {
9778
9727
  var _proto = ReactSVG2.prototype;
9779
9728
  _proto.renderSVG = function renderSVG2() {
9780
9729
  var _this2 = this;
9781
- if (this.reactWrapper instanceof Node) {
9730
+ if (this.reactWrapper instanceof ownerWindow(this.reactWrapper).Node) {
9782
9731
  var _this$props = this.props, beforeInjection2 = _this$props.beforeInjection, evalScripts = _this$props.evalScripts, httpRequestWithCredentials = _this$props.httpRequestWithCredentials, renumerateIRIElements = _this$props.renumerateIRIElements, src = _this$props.src, useRequestCache = _this$props.useRequestCache;
9783
9732
  var afterInjection2 = this.props.afterInjection;
9784
9733
  var wrapper2 = this.props.wrapper;
@@ -9838,7 +9787,7 @@ var ReactSVG = /* @__PURE__ */ function(_React$Component) {
9838
9787
  };
9839
9788
  _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
9840
9789
  var _this3 = this;
9841
- if (shallowDiffers(prevProps, this.props)) {
9790
+ if (shallowDiffers(_extends$8({}, prevProps), this.props)) {
9842
9791
  this.setState(function() {
9843
9792
  return _this3.initialState;
9844
9793
  }, function() {
@@ -13722,19 +13671,19 @@ function getBoundPosition(draggable2, x2, y) {
13722
13671
  var node = findDOMNode(draggable2);
13723
13672
  if (typeof bounds === "string") {
13724
13673
  var ownerDocument = node.ownerDocument;
13725
- var ownerWindow = ownerDocument.defaultView;
13674
+ var ownerWindow3 = ownerDocument.defaultView;
13726
13675
  var boundNode;
13727
13676
  if (bounds === "parent") {
13728
13677
  boundNode = node.parentNode;
13729
13678
  } else {
13730
13679
  boundNode = ownerDocument.querySelector(bounds);
13731
13680
  }
13732
- if (!(boundNode instanceof ownerWindow.HTMLElement)) {
13681
+ if (!(boundNode instanceof ownerWindow3.HTMLElement)) {
13733
13682
  throw new Error('Bounds selector "' + bounds + '" could not find an element.');
13734
13683
  }
13735
13684
  var boundNodeEl = boundNode;
13736
- var nodeStyle = ownerWindow.getComputedStyle(node);
13737
- var boundNodeStyle = ownerWindow.getComputedStyle(boundNodeEl);
13685
+ var nodeStyle = ownerWindow3.getComputedStyle(node);
13686
+ var boundNodeStyle = ownerWindow3.getComputedStyle(boundNodeEl);
13738
13687
  bounds = {
13739
13688
  left: -node.offsetLeft + (0, _shims$1.int)(boundNodeStyle.paddingLeft) + (0, _shims$1.int)(nodeStyle.marginLeft),
13740
13689
  top: -node.offsetTop + (0, _shims$1.int)(boundNodeStyle.paddingTop) + (0, _shims$1.int)(nodeStyle.marginTop),
@@ -24899,25 +24848,25 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
24899
24848
  See the Apache Version 2.0 License for specific language governing permissions
24900
24849
  and limitations under the License.
24901
24850
  ***************************************************************************** */
24902
- var extendStatics = function(d2, b2) {
24903
- extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d3, b3) {
24851
+ var extendStatics$1 = function(d2, b2) {
24852
+ extendStatics$1 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d3, b3) {
24904
24853
  d3.__proto__ = b3;
24905
24854
  } || function(d3, b3) {
24906
24855
  for (var p in b3)
24907
24856
  if (b3.hasOwnProperty(p))
24908
24857
  d3[p] = b3[p];
24909
24858
  };
24910
- return extendStatics(d2, b2);
24859
+ return extendStatics$1(d2, b2);
24911
24860
  };
24912
- function __extends(d2, b2) {
24913
- extendStatics(d2, b2);
24861
+ function __extends$1(d2, b2) {
24862
+ extendStatics$1(d2, b2);
24914
24863
  function __() {
24915
24864
  this.constructor = d2;
24916
24865
  }
24917
24866
  d2.prototype = b2 === null ? Object.create(b2) : (__.prototype = b2.prototype, new __());
24918
24867
  }
24919
- var __assign$1 = function() {
24920
- __assign$1 = Object.assign || function __assign2(t) {
24868
+ var __assign$2 = function() {
24869
+ __assign$2 = Object.assign || function __assign2(t) {
24921
24870
  for (var s, i = 1, n2 = arguments.length; i < n2; i++) {
24922
24871
  s = arguments[i];
24923
24872
  for (var p in s)
@@ -24926,7 +24875,7 @@ var __assign$1 = function() {
24926
24875
  }
24927
24876
  return t;
24928
24877
  };
24929
- return __assign$1.apply(this, arguments);
24878
+ return __assign$2.apply(this, arguments);
24930
24879
  };
24931
24880
  function throttle$1(delay, noTrailing, callback, debounceMode) {
24932
24881
  var timeoutID;
@@ -25008,7 +24957,7 @@ function parseThreshold(scrollThreshold) {
25008
24957
  return defaultThreshold;
25009
24958
  }
25010
24959
  var InfiniteScroll = function(_super) {
25011
- __extends(InfiniteScroll2, _super);
24960
+ __extends$1(InfiniteScroll2, _super);
25012
24961
  function InfiniteScroll2(props) {
25013
24962
  var _this = _super.call(this, props) || this;
25014
24963
  _this.lastScrollTop = 0;
@@ -25163,7 +25112,7 @@ var InfiniteScroll = function(_super) {
25163
25112
  InfiniteScroll2.getDerivedStateFromProps = function(nextProps, prevState) {
25164
25113
  var dataLengthChanged = nextProps.dataLength !== prevState.prevDataLength;
25165
25114
  if (dataLengthChanged) {
25166
- return __assign$1(__assign$1({}, prevState), { prevDataLength: nextProps.dataLength });
25115
+ return __assign$2(__assign$2({}, prevState), { prevDataLength: nextProps.dataLength });
25167
25116
  }
25168
25117
  return null;
25169
25118
  };
@@ -25191,7 +25140,7 @@ var InfiniteScroll = function(_super) {
25191
25140
  };
25192
25141
  InfiniteScroll2.prototype.render = function() {
25193
25142
  var _this = this;
25194
- var style2 = __assign$1({ height: this.props.height || "auto", overflow: "auto", WebkitOverflowScrolling: "touch" }, this.props.style);
25143
+ var style2 = __assign$2({ height: this.props.height || "auto", overflow: "auto", WebkitOverflowScrolling: "touch" }, this.props.style);
25195
25144
  var hasChildren2 = this.props.hasChildren || !!(this.props.children && this.props.children instanceof Array && this.props.children.length);
25196
25145
  var outerDivStyle = this.props.pullDownToRefresh && this.props.height ? { overflow: "auto" } : {};
25197
25146
  return React__default.createElement(
@@ -30990,7 +30939,7 @@ class NodeRange {
30990
30939
  }
30991
30940
  }
30992
30941
  const emptyAttrs = /* @__PURE__ */ Object.create(null);
30993
- class Node$3 {
30942
+ class Node$2 {
30994
30943
  constructor(type, attrs, content2, marks = Mark$1.none) {
30995
30944
  this.type = type;
30996
30945
  this.attrs = attrs;
@@ -31042,10 +30991,10 @@ class Node$3 {
31042
30991
  copy(content2 = null) {
31043
30992
  if (content2 == this.content)
31044
30993
  return this;
31045
- return new Node$3(this.type, this.attrs, content2, this.marks);
30994
+ return new Node$2(this.type, this.attrs, content2, this.marks);
31046
30995
  }
31047
30996
  mark(marks) {
31048
- return marks == this.marks ? this : new Node$3(this.type, this.attrs, this.content, marks);
30997
+ return marks == this.marks ? this : new Node$2(this.type, this.attrs, this.content, marks);
31049
30998
  }
31050
30999
  cut(from2, to2 = this.content.size) {
31051
31000
  if (from2 == 0 && to2 == this.content.size)
@@ -31201,8 +31150,8 @@ class Node$3 {
31201
31150
  return schema.nodeType(json.type).create(json.attrs, content2, marks);
31202
31151
  }
31203
31152
  }
31204
- Node$3.prototype.text = void 0;
31205
- class TextNode extends Node$3 {
31153
+ Node$2.prototype.text = void 0;
31154
+ class TextNode extends Node$2 {
31206
31155
  constructor(type, attrs, content2, marks) {
31207
31156
  super(type, attrs, null, marks);
31208
31157
  if (!content2)
@@ -31679,12 +31628,12 @@ class NodeType$1 {
31679
31628
  create(attrs = null, content2, marks) {
31680
31629
  if (this.isText)
31681
31630
  throw new Error("NodeType.create can't construct text nodes");
31682
- return new Node$3(this, this.computeAttrs(attrs), Fragment.from(content2), Mark$1.setFrom(marks));
31631
+ return new Node$2(this, this.computeAttrs(attrs), Fragment.from(content2), Mark$1.setFrom(marks));
31683
31632
  }
31684
31633
  createChecked(attrs = null, content2, marks) {
31685
31634
  content2 = Fragment.from(content2);
31686
31635
  this.checkContent(content2);
31687
- return new Node$3(this, this.computeAttrs(attrs), content2, Mark$1.setFrom(marks));
31636
+ return new Node$2(this, this.computeAttrs(attrs), content2, Mark$1.setFrom(marks));
31688
31637
  }
31689
31638
  createAndFill(attrs = null, content2, marks) {
31690
31639
  attrs = this.computeAttrs(attrs);
@@ -31699,7 +31648,7 @@ class NodeType$1 {
31699
31648
  let after = matched && matched.fillBefore(Fragment.empty, true);
31700
31649
  if (!after)
31701
31650
  return null;
31702
- return new Node$3(this, attrs, content2.append(after), Mark$1.setFrom(marks));
31651
+ return new Node$2(this, attrs, content2.append(after), Mark$1.setFrom(marks));
31703
31652
  }
31704
31653
  validContent(content2) {
31705
31654
  let result = this.contentMatch.matchFragment(content2);
@@ -31844,7 +31793,7 @@ class Schema {
31844
31793
  return type.create(attrs);
31845
31794
  }
31846
31795
  nodeFromJSON(json) {
31847
- return Node$3.fromJSON(this, json);
31796
+ return Node$2.fromJSON(this, json);
31848
31797
  }
31849
31798
  markFromJSON(json) {
31850
31799
  return Mark$1.fromJSON(this, json);
@@ -34589,7 +34538,7 @@ class EditorState {
34589
34538
  let instance = new EditorState($config);
34590
34539
  $config.fields.forEach((field2) => {
34591
34540
  if (field2.name == "doc") {
34592
- instance.doc = Node$3.fromJSON(config2.schema, json.doc);
34541
+ instance.doc = Node$2.fromJSON(config2.schema, json.doc);
34593
34542
  } else if (field2.name == "selection") {
34594
34543
  instance.selection = Selection.fromJSON(instance.doc, json.selection);
34595
34544
  } else if (field2.name == "storedMarks") {
@@ -40458,7 +40407,7 @@ function getMarkType(type, schema) {
40458
40407
  return isString$2(type) ? assertGet(schema.marks, type) : type;
40459
40408
  }
40460
40409
  function isProsemirrorNode(value) {
40461
- return isObject$1(value) && value instanceof Node$3;
40410
+ return isObject$1(value) && value instanceof Node$2;
40462
40411
  }
40463
40412
  function isProsemirrorFragment(value) {
40464
40413
  return isObject$1(value) && value instanceof Fragment;
@@ -49986,7 +49935,7 @@ function htmlParser() {
49986
49935
  function isPreOrCode(node) {
49987
49936
  return node.nodeName === "PRE" || node.nodeName === "CODE";
49988
49937
  }
49989
- function Node$2(node, options) {
49938
+ function Node$1(node, options) {
49990
49939
  node.isBlock = isBlock(node);
49991
49940
  node.isCode = node.nodeName === "CODE" || node.parentNode.isCode;
49992
49941
  node.isBlank = isBlank(node);
@@ -50131,7 +50080,7 @@ TurndownService$1.prototype = {
50131
50080
  function process$2(parentNode2) {
50132
50081
  var self2 = this;
50133
50082
  return reduce$6.call(parentNode2.childNodes, function(output, node) {
50134
- node = new Node$2(node, self2.options);
50083
+ node = new Node$1(node, self2.options);
50135
50084
  var replacement = "";
50136
50085
  if (node.nodeType === 3) {
50137
50086
  replacement = node.isCode ? node.nodeValue : self2.escape(node.nodeValue);
@@ -61350,16 +61299,38 @@ const toast = ({ id: id2, message: message2, autoClose = 6e3, onClose }) => {
61350
61299
  withDismiss: false
61351
61300
  }
61352
61301
  });
61302
+ const toastType = (() => {
61303
+ switch (message2 == null ? void 0 : message2.type) {
61304
+ case "Success":
61305
+ return toast$1.TYPE.SUCCESS;
61306
+ case "Warning":
61307
+ return toast$1.TYPE.WARNING;
61308
+ case "Error":
61309
+ return toast$1.TYPE.ERROR;
61310
+ default:
61311
+ return toast$1.TYPE.INFO;
61312
+ }
61313
+ })();
61314
+ if (toast$1.isActive(id2)) {
61315
+ return toast$1.update(id2, {
61316
+ render: content2,
61317
+ autoClose,
61318
+ onClose,
61319
+ type: toastType
61320
+ });
61321
+ }
61353
61322
  return toast$1(content2, {
61354
61323
  toastId: id2,
61355
61324
  autoClose,
61356
61325
  onClose,
61357
- hideProgressBar: true,
61326
+ hideProgressBar: false,
61327
+ icon: false,
61358
61328
  closeOnClick: false,
61359
61329
  pauseOnHover: true,
61360
61330
  draggable: false,
61361
61331
  closeButton: CloseButton2,
61362
- transition: Slide
61332
+ transition: Slide,
61333
+ type: toastType
61363
61334
  });
61364
61335
  };
61365
61336
  const toggle$1 = "_toggle_1s3iw_341";
@@ -65362,6 +65333,81 @@ var ResizeObserver = function() {
65362
65333
  };
65363
65334
  return ResizeObserver2;
65364
65335
  }();
65336
+ var extendStatics = function(d2, b2) {
65337
+ extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d3, b3) {
65338
+ d3.__proto__ = b3;
65339
+ } || function(d3, b3) {
65340
+ for (var p in b3)
65341
+ if (Object.prototype.hasOwnProperty.call(b3, p))
65342
+ d3[p] = b3[p];
65343
+ };
65344
+ return extendStatics(d2, b2);
65345
+ };
65346
+ function __extends(d2, b2) {
65347
+ if (typeof b2 !== "function" && b2 !== null)
65348
+ throw new TypeError("Class extends value " + String(b2) + " is not a constructor or null");
65349
+ extendStatics(d2, b2);
65350
+ function __() {
65351
+ this.constructor = d2;
65352
+ }
65353
+ d2.prototype = b2 === null ? Object.create(b2) : (__.prototype = b2.prototype, new __());
65354
+ }
65355
+ var __assign$1 = function() {
65356
+ __assign$1 = Object.assign || function __assign2(t) {
65357
+ for (var s, i = 1, n2 = arguments.length; i < n2; i++) {
65358
+ s = arguments[i];
65359
+ for (var p in s)
65360
+ if (Object.prototype.hasOwnProperty.call(s, p))
65361
+ t[p] = s[p];
65362
+ }
65363
+ return t;
65364
+ };
65365
+ return __assign$1.apply(this, arguments);
65366
+ };
65367
+ function __rest(s, e2) {
65368
+ var t = {};
65369
+ for (var p in s)
65370
+ if (Object.prototype.hasOwnProperty.call(s, p) && e2.indexOf(p) < 0)
65371
+ t[p] = s[p];
65372
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
65373
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
65374
+ if (e2.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
65375
+ t[p[i]] = s[p[i]];
65376
+ }
65377
+ return t;
65378
+ }
65379
+ function __read(o, n2) {
65380
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
65381
+ if (!m)
65382
+ return o;
65383
+ var i = m.call(o), r2, ar2 = [], e2;
65384
+ try {
65385
+ while ((n2 === void 0 || n2-- > 0) && !(r2 = i.next()).done)
65386
+ ar2.push(r2.value);
65387
+ } catch (error2) {
65388
+ e2 = { error: error2 };
65389
+ } finally {
65390
+ try {
65391
+ if (r2 && !r2.done && (m = i["return"]))
65392
+ m.call(i);
65393
+ } finally {
65394
+ if (e2)
65395
+ throw e2.error;
65396
+ }
65397
+ }
65398
+ return ar2;
65399
+ }
65400
+ function __spreadArray$1(to2, from2, pack) {
65401
+ if (pack || arguments.length === 2)
65402
+ for (var i = 0, l = from2.length, ar2; i < l; i++) {
65403
+ if (ar2 || !(i in from2)) {
65404
+ if (!ar2)
65405
+ ar2 = Array.prototype.slice.call(from2, 0, i);
65406
+ ar2[i] = from2[i];
65407
+ }
65408
+ }
65409
+ return to2.concat(ar2 || Array.prototype.slice.call(from2));
65410
+ }
65365
65411
  var defaultEnvironment = "production";
65366
65412
  var env = typeof process === "undefined" || process.env === void 0 ? defaultEnvironment : process.env.NODE_ENV || defaultEnvironment;
65367
65413
  var createDefinition = function(propNames) {
@@ -65444,7 +65490,7 @@ function useFeatures(props, visualElement2, preloadedFeatures) {
65444
65490
  var name_1 = featureNames[i];
65445
65491
  var _a = featureDefinitions[name_1], isEnabled = _a.isEnabled, Component2 = _a.Component;
65446
65492
  if (isEnabled(props) && Component2) {
65447
- features.push(React$4.createElement(Component2, __assign$2({ key: name_1 }, props, { visualElement: visualElement2 })));
65493
+ features.push(React$4.createElement(Component2, __assign$1({ key: name_1 }, props, { visualElement: visualElement2 })));
65448
65494
  }
65449
65495
  }
65450
65496
  return features;
@@ -65663,7 +65709,7 @@ function useProjection(projectionId, _a, visualElement2, ProjectionNodeConstruct
65663
65709
  });
65664
65710
  }
65665
65711
  var VisualElementHandler = function(_super) {
65666
- __extends$1(VisualElementHandler2, _super);
65712
+ __extends(VisualElementHandler2, _super);
65667
65713
  function VisualElementHandler2() {
65668
65714
  return _super !== null && _super.apply(this, arguments) || this;
65669
65715
  }
@@ -65688,20 +65734,20 @@ function createMotionComponent(_a) {
65688
65734
  preloadedFeatures && loadFeatures(preloadedFeatures);
65689
65735
  function MotionComponent(props, externalRef) {
65690
65736
  var layoutId = useLayoutId(props);
65691
- props = __assign$2(__assign$2({}, props), { layoutId });
65737
+ props = __assign$1(__assign$1({}, props), { layoutId });
65692
65738
  var config2 = useContext(MotionConfigContext);
65693
65739
  var features = null;
65694
65740
  var context2 = useCreateMotionContext(props);
65695
65741
  var projectionId = config2.isStatic ? void 0 : useProjectionId();
65696
65742
  var visualState = useVisualState(props, config2.isStatic);
65697
65743
  if (!config2.isStatic && isBrowser) {
65698
- context2.visualElement = useVisualElement(Component2, visualState, __assign$2(__assign$2({}, config2), props), createVisualElement);
65744
+ context2.visualElement = useVisualElement(Component2, visualState, __assign$1(__assign$1({}, config2), props), createVisualElement);
65699
65745
  useProjection(projectionId, props, context2.visualElement, projectionNodeConstructor || featureDefinitions.projectionNodeConstructor);
65700
65746
  features = useFeatures(props, context2.visualElement, preloadedFeatures);
65701
65747
  }
65702
65748
  return React$4.createElement(
65703
65749
  VisualElementHandler,
65704
- { visualElement: context2.visualElement, props: __assign$2(__assign$2({}, config2), props) },
65750
+ { visualElement: context2.visualElement, props: __assign$1(__assign$1({}, config2), props) },
65705
65751
  features,
65706
65752
  React$4.createElement(MotionContext.Provider, { value: context2 }, useRender(Component2, props, projectionId, useMotionRef(visualState, context2.visualElement, externalRef), visualState, config2.isStatic, context2.visualElement))
65707
65753
  );
@@ -66005,7 +66051,7 @@ const filter = Object.assign(Object.assign({}, complex), { getAnimatableNone: (v
66005
66051
  const functions = v2.match(functionRegex);
66006
66052
  return functions ? functions.map(applyDefaultFilter).join(" ") : v2;
66007
66053
  } });
66008
- var int = __assign$2(__assign$2({}, number), { transform: Math.round });
66054
+ var int = __assign$1(__assign$1({}, number), { transform: Math.round });
66009
66055
  var numberValueTypes = {
66010
66056
  borderWidth: px,
66011
66057
  borderTopWidth: px,
@@ -66129,7 +66175,7 @@ function useInitialMotionValues(_a, visualState, isStatic) {
66129
66175
  var state = createHtmlRenderState();
66130
66176
  buildHTMLStyles(state, visualState, { enableHardwareAcceleration: !isStatic }, transformTemplate);
66131
66177
  var vars = state.vars, style2 = state.style;
66132
- return __assign$2(__assign$2({}, vars), style2);
66178
+ return __assign$1(__assign$1({}, vars), style2);
66133
66179
  }, [visualState]);
66134
66180
  }
66135
66181
  function useStyle(props, visualState, isStatic) {
@@ -66293,18 +66339,18 @@ function buildSVGAttrs(state, _a, options, transformTemplate) {
66293
66339
  }
66294
66340
  }
66295
66341
  var createSvgRenderState = function() {
66296
- return __assign$2(__assign$2({}, createHtmlRenderState()), { attrs: {} });
66342
+ return __assign$1(__assign$1({}, createHtmlRenderState()), { attrs: {} });
66297
66343
  };
66298
66344
  function useSVGProps(props, visualState) {
66299
66345
  var visualProps = useMemo$1(function() {
66300
66346
  var state = createSvgRenderState();
66301
66347
  buildSVGAttrs(state, visualState, { enableHardwareAcceleration: false }, props.transformTemplate);
66302
- return __assign$2(__assign$2({}, state.attrs), { style: __assign$2({}, state.style) });
66348
+ return __assign$1(__assign$1({}, state.attrs), { style: __assign$1({}, state.style) });
66303
66349
  }, [visualState]);
66304
66350
  if (props.style) {
66305
66351
  var rawStyles = {};
66306
66352
  copyRawValuesOnly(rawStyles, props.style, props);
66307
- visualProps.style = __assign$2(__assign$2({}, rawStyles), visualProps.style);
66353
+ visualProps.style = __assign$1(__assign$1({}, rawStyles), visualProps.style);
66308
66354
  }
66309
66355
  return visualProps;
66310
66356
  }
@@ -66317,7 +66363,7 @@ function createUseRender(forwardMotionProps) {
66317
66363
  var useVisualProps = isSVGComponent(Component2) ? useSVGProps : useHTMLProps;
66318
66364
  var visualProps = useVisualProps(props, latestValues, isStatic);
66319
66365
  var filteredProps = filterProps(props, typeof Component2 === "string", forwardMotionProps);
66320
- var elementProps = __assign$2(__assign$2(__assign$2({}, filteredProps), visualProps), { ref: ref2 });
66366
+ var elementProps = __assign$1(__assign$1(__assign$1({}, filteredProps), visualProps), { ref: ref2 });
66321
66367
  if (projectionId) {
66322
66368
  elementProps["data-projection-id"] = projectionId;
66323
66369
  }
@@ -66494,7 +66540,7 @@ var htmlMotionConfig = {
66494
66540
  function createDomMotionConfig(Component2, _a, preloadedFeatures, createVisualElement, projectionNodeConstructor) {
66495
66541
  var _b = _a.forwardMotionProps, forwardMotionProps = _b === void 0 ? false : _b;
66496
66542
  var baseConfig = isSVGComponent(Component2) ? svgMotionConfig : htmlMotionConfig;
66497
- return __assign$2(__assign$2({}, baseConfig), { preloadedFeatures, useRender: createUseRender(forwardMotionProps), createVisualElement, projectionNodeConstructor, Component: Component2 });
66543
+ return __assign$1(__assign$1({}, baseConfig), { preloadedFeatures, useRender: createUseRender(forwardMotionProps), createVisualElement, projectionNodeConstructor, Component: Component2 });
66498
66544
  }
66499
66545
  var AnimationType;
66500
66546
  (function(AnimationType2) {
@@ -67583,7 +67629,7 @@ function initIntersectionObserver(_a) {
67583
67629
  var rootObservers = observers.get(lookupRoot);
67584
67630
  var key2 = JSON.stringify(options);
67585
67631
  if (!rootObservers[key2]) {
67586
- rootObservers[key2] = new IntersectionObserver(fireAllObserverCallbacks, __assign$2({ root: root2 }, options));
67632
+ rootObservers[key2] = new IntersectionObserver(fireAllObserverCallbacks, __assign$1({ root: root2 }, options));
67587
67633
  }
67588
67634
  return rootObservers[key2];
67589
67635
  }
@@ -67799,9 +67845,9 @@ var getDefaultTransition = function(valueKey, to2) {
67799
67845
  } else {
67800
67846
  transitionFactory = defaultTransitions[valueKey] || defaultTransitions.default;
67801
67847
  }
67802
- return __assign$2({ to: to2 }, transitionFactory(to2));
67848
+ return __assign$1({ to: to2 }, transitionFactory(to2));
67803
67849
  };
67804
- var defaultValueTypes = __assign$2(__assign$2({}, numberValueTypes), {
67850
+ var defaultValueTypes = __assign$1(__assign$1({}, numberValueTypes), {
67805
67851
  color,
67806
67852
  backgroundColor: color,
67807
67853
  outlineColor: color,
@@ -67844,7 +67890,7 @@ function isTransitionDefined(_a) {
67844
67890
  var legacyRepeatWarning = false;
67845
67891
  function convertTransitionToAnimationOptions(_a) {
67846
67892
  var ease2 = _a.ease, times = _a.times, yoyo = _a.yoyo, flip = _a.flip, loop = _a.loop, transition = __rest(_a, ["ease", "times", "yoyo", "flip", "loop"]);
67847
- var options = __assign$2({}, transition);
67893
+ var options = __assign$1({}, transition);
67848
67894
  if (times)
67849
67895
  options["offset"] = times;
67850
67896
  if (transition.duration)
@@ -67891,9 +67937,9 @@ function getPopmotionAnimationOptions(transition, options, key2) {
67891
67937
  }
67892
67938
  hydrateKeyframes(options);
67893
67939
  if (!isTransitionDefined(transition)) {
67894
- transition = __assign$2(__assign$2({}, transition), getDefaultTransition(key2, options.to));
67940
+ transition = __assign$1(__assign$1({}, transition), getDefaultTransition(key2, options.to));
67895
67941
  }
67896
- return __assign$2(__assign$2({}, options), convertTransitionToAnimationOptions(transition));
67942
+ return __assign$1(__assign$1({}, options), convertTransitionToAnimationOptions(transition));
67897
67943
  }
67898
67944
  function getAnimation(key2, value, target, transition, onComplete) {
67899
67945
  var _a;
@@ -67919,7 +67965,7 @@ function getAnimation(key2, value, target, transition, onComplete) {
67919
67965
  return value.set(v2);
67920
67966
  }
67921
67967
  };
67922
- return valueTransition.type === "inertia" || valueTransition.type === "decay" ? inertia(__assign$2(__assign$2({}, options), valueTransition)) : animate$1(__assign$2(__assign$2({}, getPopmotionAnimationOptions(valueTransition, options, key2)), { onUpdate: function(v2) {
67968
+ return valueTransition.type === "inertia" || valueTransition.type === "decay" ? inertia(__assign$1(__assign$1({}, options), valueTransition)) : animate$1(__assign$1(__assign$1({}, getPopmotionAnimationOptions(valueTransition, options, key2)), { onUpdate: function(v2) {
67923
67969
  var _a2;
67924
67970
  options.onUpdate(v2);
67925
67971
  (_a2 = valueTransition.onUpdate) === null || _a2 === void 0 ? void 0 : _a2.call(valueTransition, v2);
@@ -68166,7 +68212,7 @@ function setTarget(visualElement2, definition) {
68166
68212
  var _a = resolved ? visualElement2.makeTargetAnimatable(resolved, false) : {}, _b = _a.transitionEnd, transitionEnd = _b === void 0 ? {} : _b;
68167
68213
  _a.transition;
68168
68214
  var target = __rest(_a, ["transitionEnd", "transition"]);
68169
- target = __assign$2(__assign$2({}, target), transitionEnd);
68215
+ target = __assign$1(__assign$1({}, target), transitionEnd);
68170
68216
  for (var key2 in target) {
68171
68217
  var value = resolveFinalValueInKeyframes(target[key2]);
68172
68218
  setMotionValue(visualElement2, key2, value);
@@ -68284,9 +68330,9 @@ function animateTarget(visualElement2, definition, _a) {
68284
68330
  if (!value || valueTarget === void 0 || animationTypeState && shouldBlockAnimation(animationTypeState, key2)) {
68285
68331
  continue;
68286
68332
  }
68287
- var valueTransition = __assign$2({ delay }, transition);
68333
+ var valueTransition = __assign$1({ delay }, transition);
68288
68334
  if (visualElement2.shouldReduceMotion && isTransformProp(key2)) {
68289
- valueTransition = __assign$2(__assign$2({}, valueTransition), { type: false, delay: 0 });
68335
+ valueTransition = __assign$1(__assign$1({}, valueTransition), { type: false, delay: 0 });
68290
68336
  }
68291
68337
  var animation = startAnimation(key2, value, valueTarget, valueTransition);
68292
68338
  animations2.push(animation);
@@ -68319,7 +68365,7 @@ function animateChildren(visualElement2, variant, delayChildren, staggerChildren
68319
68365
  return maxStaggerDuration - i * staggerChildren;
68320
68366
  };
68321
68367
  Array.from(visualElement2.variantChildren).sort(sortByTreeOrder).forEach(function(child, i) {
68322
- animations2.push(animateVariant(child, variant, __assign$2(__assign$2({}, options), { delay: delayChildren + generateStaggerDuration(i) })).then(function() {
68368
+ animations2.push(animateVariant(child, variant, __assign$1(__assign$1({}, options), { delay: delayChildren + generateStaggerDuration(i) })).then(function() {
68323
68369
  return child.notifyAnimationComplete(variant);
68324
68370
  }));
68325
68371
  });
@@ -68363,7 +68409,7 @@ function createAnimationState(visualElement2) {
68363
68409
  if (resolved) {
68364
68410
  resolved.transition;
68365
68411
  var transitionEnd = resolved.transitionEnd, target = __rest(resolved, ["transition", "transitionEnd"]);
68366
- acc = __assign$2(__assign$2(__assign$2({}, acc), target), transitionEnd);
68412
+ acc = __assign$1(__assign$1(__assign$1({}, acc), target), transitionEnd);
68367
68413
  }
68368
68414
  return acc;
68369
68415
  };
@@ -68393,7 +68439,7 @@ function createAnimationState(visualElement2) {
68393
68439
  if (isInherited && isInitialRender && visualElement2.manuallyAnimateOnMount) {
68394
68440
  isInherited = false;
68395
68441
  }
68396
- typeState.protectedKeys = __assign$2({}, encounteredKeys);
68442
+ typeState.protectedKeys = __assign$1({}, encounteredKeys);
68397
68443
  if (!typeState.isActive && activeDelta === null || !prop && !typeState.prevProp || isAnimationControls(prop) || typeof prop === "boolean") {
68398
68444
  return "continue";
68399
68445
  }
@@ -68404,7 +68450,7 @@ function createAnimationState(visualElement2) {
68404
68450
  if (activeDelta === false)
68405
68451
  resolvedValues = {};
68406
68452
  var _b = typeState.prevResolvedValues, prevResolvedValues = _b === void 0 ? {} : _b;
68407
- var allKeys = __assign$2(__assign$2({}, prevResolvedValues), resolvedValues);
68453
+ var allKeys = __assign$1(__assign$1({}, prevResolvedValues), resolvedValues);
68408
68454
  var markToAnimate = function(key3) {
68409
68455
  shouldAnimateType = true;
68410
68456
  removedKeys.delete(key3);
@@ -68436,7 +68482,7 @@ function createAnimationState(visualElement2) {
68436
68482
  typeState.prevProp = prop;
68437
68483
  typeState.prevResolvedValues = resolvedValues;
68438
68484
  if (typeState.isActive) {
68439
- encounteredKeys = __assign$2(__assign$2({}, encounteredKeys), resolvedValues);
68485
+ encounteredKeys = __assign$1(__assign$1({}, encounteredKeys), resolvedValues);
68440
68486
  }
68441
68487
  if (isInitialRender && visualElement2.blockInitialAnimation) {
68442
68488
  shouldAnimateType = false;
@@ -68445,7 +68491,7 @@ function createAnimationState(visualElement2) {
68445
68491
  animations2.push.apply(animations2, __spreadArray$1([], __read(definitionList.map(function(animation) {
68446
68492
  return {
68447
68493
  animation,
68448
- options: __assign$2({ type }, options)
68494
+ options: __assign$1({ type }, options)
68449
68495
  };
68450
68496
  })), false));
68451
68497
  }
@@ -68453,7 +68499,7 @@ function createAnimationState(visualElement2) {
68453
68499
  for (var i = 0; i < numAnimationTypes; i++) {
68454
68500
  _loop_1(i);
68455
68501
  }
68456
- allAnimatedKeys = __assign$2({}, encounteredKeys);
68502
+ allAnimatedKeys = __assign$1({}, encounteredKeys);
68457
68503
  if (removedKeys.size) {
68458
68504
  var fallbackAnimation_1 = {};
68459
68505
  removedKeys.forEach(function(key2) {
@@ -68559,7 +68605,7 @@ var PanSession = function() {
68559
68605
  return;
68560
68606
  var point2 = info3.point;
68561
68607
  var timestamp2 = getFrameData().timestamp;
68562
- _this.history.push(__assign$2(__assign$2({}, point2), { timestamp: timestamp2 }));
68608
+ _this.history.push(__assign$1(__assign$1({}, point2), { timestamp: timestamp2 }));
68563
68609
  var _a2 = _this.handlers, onStart2 = _a2.onStart, onMove = _a2.onMove;
68564
68610
  if (!isPanStarted) {
68565
68611
  onStart2 && onStart2(_this.lastMoveEvent, info3);
@@ -68593,7 +68639,7 @@ var PanSession = function() {
68593
68639
  var initialInfo = transformPoint(info2, this.transformPagePoint);
68594
68640
  var point = initialInfo.point;
68595
68641
  var timestamp = getFrameData().timestamp;
68596
- this.history = [__assign$2(__assign$2({}, point), { timestamp })];
68642
+ this.history = [__assign$1(__assign$1({}, point), { timestamp })];
68597
68643
  var onSessionStart = handlers2.onSessionStart;
68598
68644
  onSessionStart && onSessionStart(event, getPanInfo(initialInfo, this.history));
68599
68645
  this.removeListeners = pipe(addPointerEvent(window, "pointermove", this.handlePointerMove), addPointerEvent(window, "pointerup", this.handlePointerUp), addPointerEvent(window, "pointercancel", this.handlePointerUp));
@@ -69111,7 +69157,7 @@ var VisualElementDragControls = function() {
69111
69157
  transition = { min: 0, max: 0 };
69112
69158
  var bounceStiffness = dragElastic ? 200 : 1e6;
69113
69159
  var bounceDamping = dragElastic ? 40 : 1e7;
69114
- var inertia2 = __assign$2(__assign$2({ type: "inertia", velocity: dragMomentum ? velocity[axis] : 0, bounceStiffness, bounceDamping, timeConstant: 750, restDelta: 1, restSpeed: 10 }, dragTransition), transition);
69160
+ var inertia2 = __assign$1(__assign$1({ type: "inertia", velocity: dragMomentum ? velocity[axis] : 0, bounceStiffness, bounceDamping, timeConstant: 750, restDelta: 1, restSpeed: 10 }, dragTransition), transition);
69115
69161
  return _this.startAxisValueAnimation(axis, inertia2);
69116
69162
  });
69117
69163
  return Promise.all(momentumAnimations).then(onDragTransitionEnd);
@@ -69222,7 +69268,7 @@ var VisualElementDragControls = function() {
69222
69268
  VisualElementDragControls2.prototype.getProps = function() {
69223
69269
  var props = this.visualElement.getProps();
69224
69270
  var _a = props.drag, drag2 = _a === void 0 ? false : _a, _b = props.dragDirectionLock, dragDirectionLock = _b === void 0 ? false : _b, _c = props.dragPropagation, dragPropagation = _c === void 0 ? false : _c, _d = props.dragConstraints, dragConstraints = _d === void 0 ? false : _d, _e2 = props.dragElastic, dragElastic = _e2 === void 0 ? defaultElastic : _e2, _f = props.dragMomentum, dragMomentum = _f === void 0 ? true : _f;
69225
- return __assign$2(__assign$2({}, props), { drag: drag2, dragDirectionLock, dragPropagation, dragConstraints, dragElastic, dragMomentum });
69271
+ return __assign$1(__assign$1({}, props), { drag: drag2, dragDirectionLock, dragPropagation, dragConstraints, dragElastic, dragMomentum });
69226
69272
  };
69227
69273
  return VisualElementDragControls2;
69228
69274
  }();
@@ -69378,7 +69424,7 @@ var visualElement = function(_a) {
69378
69424
  var values2 = /* @__PURE__ */ new Map();
69379
69425
  var valueSubscriptions = /* @__PURE__ */ new Map();
69380
69426
  var prevMotionValues = {};
69381
- var baseTarget = __assign$2({}, latestValues);
69427
+ var baseTarget = __assign$1({}, latestValues);
69382
69428
  var removeFromVariantTree;
69383
69429
  function render2() {
69384
69430
  if (!instance || !isMounted)
@@ -69412,7 +69458,7 @@ var visualElement = function(_a) {
69412
69458
  }
69413
69459
  var isControllingVariants = checkIfControllingVariants(props);
69414
69460
  var isVariantNode = checkIfVariantNode(props);
69415
- var element = __assign$2(__assign$2({
69461
+ var element = __assign$1(__assign$1({
69416
69462
  treeType,
69417
69463
  current: null,
69418
69464
  depth: parent ? parent.depth + 1 : 0,
@@ -69643,7 +69689,7 @@ function resolveCSSVariables(visualElement2, _a, transitionEnd) {
69643
69689
  if (!(element instanceof Element))
69644
69690
  return { target, transitionEnd };
69645
69691
  if (transitionEnd) {
69646
- transitionEnd = __assign$2({}, transitionEnd);
69692
+ transitionEnd = __assign$1({}, transitionEnd);
69647
69693
  }
69648
69694
  visualElement2.forEachValue(function(value) {
69649
69695
  var current2 = value.get();
@@ -69796,8 +69842,8 @@ var checkAndConvertChangedValueTypes = function(visualElement2, target, origin2,
69796
69842
  if (transitionEnd === void 0) {
69797
69843
  transitionEnd = {};
69798
69844
  }
69799
- target = __assign$2({}, target);
69800
- transitionEnd = __assign$2({}, transitionEnd);
69845
+ target = __assign$1({}, target);
69846
+ transitionEnd = __assign$1({}, transitionEnd);
69801
69847
  var targetPositionalKeys = Object.keys(target).filter(isPositionalKey);
69802
69848
  var removedTransformValues = [];
69803
69849
  var hasAttemptedToRemoveTransformValues = false;
@@ -69939,7 +69985,7 @@ var htmlConfig = {
69939
69985
  transitionEnd = parsed.transitionEnd;
69940
69986
  target = parsed.target;
69941
69987
  }
69942
- return __assign$2({ transition, transitionEnd }, target);
69988
+ return __assign$1({ transition, transitionEnd }, target);
69943
69989
  },
69944
69990
  scrapeMotionValuesFromProps: scrapeMotionValuesFromProps$1,
69945
69991
  build: function(element, renderState, latestValues, options, props) {
@@ -69951,7 +69997,7 @@ var htmlConfig = {
69951
69997
  render: renderHTML
69952
69998
  };
69953
69999
  var htmlVisualElement = visualElement(htmlConfig);
69954
- var svgVisualElement = visualElement(__assign$2(__assign$2({}, htmlConfig), { getBaseTarget: function(props, key2) {
70000
+ var svgVisualElement = visualElement(__assign$1(__assign$1({}, htmlConfig), { getBaseTarget: function(props, key2) {
69955
70001
  return props[key2];
69956
70002
  }, readValueFromInstance: function(domElement, key2) {
69957
70003
  var _a;
@@ -70027,7 +70073,7 @@ var correctBoxShadow = {
70027
70073
  }
70028
70074
  };
70029
70075
  var MeasureLayoutWithContext = function(_super) {
70030
- __extends$1(MeasureLayoutWithContext2, _super);
70076
+ __extends(MeasureLayoutWithContext2, _super);
70031
70077
  function MeasureLayoutWithContext2() {
70032
70078
  return _super !== null && _super.apply(this, arguments) || this;
70033
70079
  }
@@ -70046,7 +70092,7 @@ var MeasureLayoutWithContext = function(_super) {
70046
70092
  projection.addEventListener("animationComplete", function() {
70047
70093
  _this.safeToRemove();
70048
70094
  });
70049
- projection.setOptions(__assign$2(__assign$2({}, projection.options), { onExitComplete: function() {
70095
+ projection.setOptions(__assign$1(__assign$1({}, projection.options), { onExitComplete: function() {
70050
70096
  return _this.safeToRemove();
70051
70097
  } }));
70052
70098
  }
@@ -70110,10 +70156,10 @@ var MeasureLayoutWithContext = function(_super) {
70110
70156
  function MeasureLayout(props) {
70111
70157
  var _a = __read(usePresence(), 2), isPresent = _a[0], safeToRemove = _a[1];
70112
70158
  var layoutGroup = useContext(LayoutGroupContext);
70113
- return React__default.createElement(MeasureLayoutWithContext, __assign$2({}, props, { layoutGroup, switchLayoutGroup: useContext(SwitchLayoutGroupContext), isPresent, safeToRemove }));
70159
+ return React__default.createElement(MeasureLayoutWithContext, __assign$1({}, props, { layoutGroup, switchLayoutGroup: useContext(SwitchLayoutGroupContext), isPresent, safeToRemove }));
70114
70160
  }
70115
70161
  var defaultScaleCorrectors = {
70116
- borderRadius: __assign$2(__assign$2({}, correctBorderRadius), { applyTo: [
70162
+ borderRadius: __assign$1(__assign$1({}, correctBorderRadius), { applyTo: [
70117
70163
  "borderTopLeftRadius",
70118
70164
  "borderTopRightRadius",
70119
70165
  "borderBottomLeftRadius",
@@ -70526,7 +70572,7 @@ function createProjectionNode(_a) {
70526
70572
  _this.resumingFrom.resumingFrom = void 0;
70527
70573
  }
70528
70574
  _this.setAnimationOrigin(delta, hasOnlyRelativeTargetChanged);
70529
- var animationOptions = __assign$2(__assign$2({}, getValueTransition(layoutTransition, "layout")), { onPlay: onLayoutAnimationStart, onComplete: onLayoutAnimationComplete });
70575
+ var animationOptions = __assign$1(__assign$1({}, getValueTransition(layoutTransition, "layout")), { onPlay: onLayoutAnimationStart, onComplete: onLayoutAnimationComplete });
70530
70576
  if (visualElement2.shouldReduceMotion) {
70531
70577
  animationOptions.delay = 0;
70532
70578
  animationOptions.type = false;
@@ -70780,7 +70826,7 @@ function createProjectionNode(_a) {
70780
70826
  };
70781
70827
  ProjectionNode.prototype.setOptions = function(options) {
70782
70828
  var _a2;
70783
- this.options = __assign$2(__assign$2(__assign$2({}, this.options), options), { crossfade: (_a2 = options.crossfade) !== null && _a2 !== void 0 ? _a2 : true });
70829
+ this.options = __assign$1(__assign$1(__assign$1({}, this.options), options), { crossfade: (_a2 = options.crossfade) !== null && _a2 !== void 0 ? _a2 : true });
70784
70830
  };
70785
70831
  ProjectionNode.prototype.clearMeasurements = function() {
70786
70832
  this.scroll = void 0;
@@ -70898,7 +70944,7 @@ function createProjectionNode(_a) {
70898
70944
  }
70899
70945
  var snapshot = this.snapshot;
70900
70946
  var snapshotLatestValues = (snapshot === null || snapshot === void 0 ? void 0 : snapshot.latestValues) || {};
70901
- var mixedValues = __assign$2({}, this.latestValues);
70947
+ var mixedValues = __assign$1({}, this.latestValues);
70902
70948
  var targetDelta = createDelta();
70903
70949
  this.relativeTarget = this.relativeTargetOrigin = void 0;
70904
70950
  this.attemptToResolveRelativeTarget = !hasOnlyRelativeTargetChanged;
@@ -70941,7 +70987,7 @@ function createProjectionNode(_a) {
70941
70987
  }
70942
70988
  this.pendingAnimation = sync.update(function() {
70943
70989
  globalProjectionState.hasAnimatedSinceResize = true;
70944
- _this.currentAnimation = animate(0, animationTarget, __assign$2(__assign$2({}, options), { onUpdate: function(latest) {
70990
+ _this.currentAnimation = animate(0, animationTarget, __assign$1(__assign$1({}, options), { onUpdate: function(latest) {
70945
70991
  var _a3;
70946
70992
  _this.mixTargetDelta(latest);
70947
70993
  (_a3 = options.onUpdate) === null || _a3 === void 0 ? void 0 : _a3.call(options, latest);
@@ -71308,7 +71354,7 @@ var HTMLProjectionNode = createProjectionNode({
71308
71354
  return Boolean(window.getComputedStyle(instance).position === "fixed");
71309
71355
  }
71310
71356
  });
71311
- var featureBundle = __assign$2(__assign$2(__assign$2(__assign$2({}, animations), gestureAnimations), drag), layoutFeatures);
71357
+ var featureBundle = __assign$1(__assign$1(__assign$1(__assign$1({}, animations), gestureAnimations), drag), layoutFeatures);
71312
71358
  var motion = /* @__PURE__ */ createMotionProxy(function(Component2, config2) {
71313
71359
  return createDomMotionConfig(Component2, config2, featureBundle, createDomVisualElement, HTMLProjectionNode);
71314
71360
  });
@@ -73148,7 +73194,7 @@ var useDragHandle = function(containerRef, handleRef, drag2) {
73148
73194
  }
73149
73195
  }, [handleRef.current]);
73150
73196
  };
73151
- var Node$1 = function(props) {
73197
+ var Node = function(props) {
73152
73198
  var treeContext = useTreeContext();
73153
73199
  var placeholderContext = useContext(PlaceholderContext);
73154
73200
  var containerRef = useRef(null);
@@ -73265,7 +73311,7 @@ var Container = function(props) {
73265
73311
  React__default.Fragment,
73266
73312
  { key: node.id },
73267
73313
  React__default.createElement(Placeholder, { depth: props.depth, listCount: view.length, dropTargetId: props.parentId, index: index2 }),
73268
- React__default.createElement(Node$1, { id: node.id, depth: props.depth })
73314
+ React__default.createElement(Node, { id: node.id, depth: props.depth })
73269
73315
  );
73270
73316
  }),
73271
73317
  React__default.createElement(Placeholder, { depth: props.depth, listCount: view.length, dropTargetId: props.parentId })