lyb-pixi-js 1.11.23 → 1.11.25

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.
@@ -0,0 +1,5 @@
1
+ import { Graphics } from "pixi.js";
2
+ /** @description 胶囊形 */
3
+ export declare class LibPixiCapsule extends Graphics {
4
+ constructor(width: number, height: number, color: string);
5
+ }
@@ -0,0 +1,10 @@
1
+ import { Graphics } from "pixi.js";
2
+ /** @description 胶囊形 */
3
+ export class LibPixiCapsule extends Graphics {
4
+ constructor(width, height, color) {
5
+ super();
6
+ this.beginFill(color);
7
+ this.drawRoundedRect(0, 0, width, height, width / 2);
8
+ this.endFill();
9
+ }
10
+ }
@@ -44,5 +44,4 @@ export declare class LibPixiPerforMon extends Container {
44
44
  getFpsColor(v: number): string;
45
45
  /** @description 获取Draw Call颜色 */
46
46
  getDrawCallColor(v: number): string;
47
- private _resize;
48
47
  }
@@ -26,10 +26,6 @@ export class LibPixiPerforMon extends Container {
26
26
  /** 整体高度 */
27
27
  this._containerHeight = 50;
28
28
  this.pivot.x = this._containerWidth / 2;
29
- this._resize(window.innerWidth, window.innerHeight);
30
- window.addEventListener("resize", () => {
31
- this._resize(window.innerWidth, window.innerHeight);
32
- });
33
29
  //创建背景
34
30
  this._bg = new LibPixiRectBgColor({
35
31
  width: this._containerWidth,
@@ -124,22 +120,6 @@ export class LibPixiPerforMon extends Container {
124
120
  }
125
121
  return color;
126
122
  }
127
- _resize(w, h) {
128
- if (LibPixiPerforMon.ADAPT_MODE === "h") {
129
- this.x = 1920 / 2;
130
- }
131
- else if (LibPixiPerforMon.ADAPT_MODE === "v") {
132
- this.x = 1080 / 2;
133
- }
134
- else {
135
- if (w > h) {
136
- this.x = 1920 / 2;
137
- }
138
- else {
139
- this.x = 1080 / 2;
140
- }
141
- }
142
- }
143
123
  }
144
124
  /** 当前适配模式 */
145
125
  LibPixiPerforMon.ADAPT_MODE = "hv";
@@ -0,0 +1,5 @@
1
+ import { Graphics } from "pixi.js";
2
+ /** @description 三角形 */
3
+ export declare class LibPixiTriangle extends Graphics {
4
+ constructor(dots: [[number, number], [number, number]], color: string);
5
+ }
@@ -0,0 +1,12 @@
1
+ import { Graphics } from "pixi.js";
2
+ /** @description 三角形 */
3
+ export class LibPixiTriangle extends Graphics {
4
+ constructor(dots, color) {
5
+ super();
6
+ this.beginFill(color);
7
+ this.moveTo(0, 0);
8
+ this.lineTo(dots[0][0], dots[0][1]);
9
+ this.lineTo(dots[1][0], dots[1][1]);
10
+ this.endFill();
11
+ }
12
+ }
@@ -11,8 +11,8 @@ export const libPixiIntervalTrigger = (callback, interval, immediately = true) =
11
11
  // 创建一个新的 Ticker 实例
12
12
  const ticker = new Ticker();
13
13
  // 创建回调函数
14
- const tickerCallback = (deltaTime) => {
15
- elapsedTime += deltaTime * ticker.deltaMS;
14
+ const tickerCallback = () => {
15
+ elapsedTime += ticker.elapsedMS;
16
16
  let intervalNum = 0;
17
17
  if (Array.isArray(interval)) {
18
18
  intervalNum = libJsRandom(interval[0], interval[1], 2);
package/libPixiJs.d.ts CHANGED
@@ -26,6 +26,8 @@ import { LibPixiCircular } from "./Components/Base/LibPixiCircular";
26
26
  import { LibPixiSlide } from "./Components/Custom/LibPixiSlide";
27
27
  import { LibPixiLabelValue } from "./Components/Custom/LibPixiLabelValue";
28
28
  import { LibPixiPuzzleBg } from "./Components/Custom/LibPixiPuzzleBg";
29
+ import { LibPixiTriangle } from "./Components/Custom/LibPixiTriangle";
30
+ import { LibPixiCapsule } from "./Components/Custom/LibPixiCapsule";
29
31
  import { LibDestroyContainer } from "./Components/Base/LibDestroyContainer";
30
32
  import { LibPixiDragLocate } from "./Components/Custom/LibPixiDragLocate";
31
33
  /** @description 组件 */
@@ -129,6 +131,10 @@ export declare const Components: {
129
131
  LibPixiLabelValue: typeof LibPixiLabelValue;
130
132
  /** @description 设计图背景拼接 */
131
133
  LibPixiPuzzleBg: typeof LibPixiPuzzleBg;
134
+ /** @description 胶囊体 */
135
+ LibPixiCapsule: typeof LibPixiCapsule;
136
+ /** @description 三角形 */
137
+ LibPixiTriangle: typeof LibPixiTriangle;
132
138
  /** @description 元素拖拽定位 */
133
139
  LibPixiDragLocate: typeof LibPixiDragLocate;
134
140
  };
package/libPixiJs.js CHANGED
@@ -44,6 +44,8 @@ import { LibPixiPuzzleBg } from "./Components/Custom/LibPixiPuzzleBg";
44
44
  import { libContainerCenter } from "./Utils/LibContainerCenter";
45
45
  import { libPixiHVCenter } from "./Utils/LibPixiHVCenter";
46
46
  import { libPixiHVGap } from "./Utils/LibPixiHVGap";
47
+ import { LibPixiTriangle } from "./Components/Custom/LibPixiTriangle";
48
+ import { LibPixiCapsule } from "./Components/Custom/LibPixiCapsule";
47
49
  import { LibDestroyContainer } from "./Components/Base/LibDestroyContainer";
48
50
  import { LibPixiDragLocate } from "./Components/Custom/LibPixiDragLocate";
49
51
  /** @description 组件 */
@@ -147,6 +149,10 @@ export const Components = {
147
149
  LibPixiLabelValue,
148
150
  /** @description 设计图背景拼接 */
149
151
  LibPixiPuzzleBg,
152
+ /** @description 胶囊体 */
153
+ LibPixiCapsule,
154
+ /** @description 三角形 */
155
+ LibPixiTriangle,
150
156
  /** @description 元素拖拽定位 */
151
157
  LibPixiDragLocate,
152
158
  },
package/lyb-pixi.js CHANGED
@@ -1336,26 +1336,29 @@
1336
1336
  function quote(s2) {
1337
1337
  return $replace$1.call(String(s2), /"/g, """);
1338
1338
  }
1339
+ function canTrustToString(obj) {
1340
+ return !toStringTag || !(typeof obj === "object" && (toStringTag in obj || typeof obj[toStringTag] !== "undefined"));
1341
+ }
1339
1342
  function isArray$3(obj) {
1340
- return toStr$1(obj) === "[object Array]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
1343
+ return toStr$1(obj) === "[object Array]" && canTrustToString(obj);
1341
1344
  }
1342
1345
  function isDate(obj) {
1343
- return toStr$1(obj) === "[object Date]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
1346
+ return toStr$1(obj) === "[object Date]" && canTrustToString(obj);
1344
1347
  }
1345
1348
  function isRegExp$1(obj) {
1346
- return toStr$1(obj) === "[object RegExp]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
1349
+ return toStr$1(obj) === "[object RegExp]" && canTrustToString(obj);
1347
1350
  }
1348
1351
  function isError(obj) {
1349
- return toStr$1(obj) === "[object Error]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
1352
+ return toStr$1(obj) === "[object Error]" && canTrustToString(obj);
1350
1353
  }
1351
1354
  function isString(obj) {
1352
- return toStr$1(obj) === "[object String]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
1355
+ return toStr$1(obj) === "[object String]" && canTrustToString(obj);
1353
1356
  }
1354
1357
  function isNumber(obj) {
1355
- return toStr$1(obj) === "[object Number]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
1358
+ return toStr$1(obj) === "[object Number]" && canTrustToString(obj);
1356
1359
  }
1357
1360
  function isBoolean(obj) {
1358
- return toStr$1(obj) === "[object Boolean]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
1361
+ return toStr$1(obj) === "[object Boolean]" && canTrustToString(obj);
1359
1362
  }
1360
1363
  function isSymbol(obj) {
1361
1364
  if (hasShammedSymbols) {
@@ -1905,18 +1908,10 @@
1905
1908
  var implementation = implementation$1;
1906
1909
  var functionBind = Function.prototype.bind || implementation;
1907
1910
  var functionCall = Function.prototype.call;
1908
- var functionApply;
1909
- var hasRequiredFunctionApply;
1910
- function requireFunctionApply() {
1911
- if (hasRequiredFunctionApply)
1912
- return functionApply;
1913
- hasRequiredFunctionApply = 1;
1914
- functionApply = Function.prototype.apply;
1915
- return functionApply;
1916
- }
1911
+ var functionApply = Function.prototype.apply;
1917
1912
  var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
1918
1913
  var bind$2 = functionBind;
1919
- var $apply$1 = requireFunctionApply();
1914
+ var $apply$1 = functionApply;
1920
1915
  var $call$2 = functionCall;
1921
1916
  var $reflectApply = reflectApply;
1922
1917
  var actualApply = $reflectApply || bind$2.call($call$2, $apply$1);
@@ -2039,7 +2034,7 @@
2039
2034
  var getProto = requireGetProto();
2040
2035
  var $ObjectGPO = requireObject_getPrototypeOf();
2041
2036
  var $ReflectGPO = requireReflect_getPrototypeOf();
2042
- var $apply = requireFunctionApply();
2037
+ var $apply = functionApply;
2043
2038
  var $call = functionCall;
2044
2039
  var needsEval = {};
2045
2040
  var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
@@ -2069,6 +2064,7 @@
2069
2064
  "%eval%": eval,
2070
2065
  // eslint-disable-line no-eval
2071
2066
  "%EvalError%": $EvalError,
2067
+ "%Float16Array%": typeof Float16Array === "undefined" ? undefined$1 : Float16Array,
2072
2068
  "%Float32Array%": typeof Float32Array === "undefined" ? undefined$1 : Float32Array,
2073
2069
  "%Float64Array%": typeof Float64Array === "undefined" ? undefined$1 : Float64Array,
2074
2070
  "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$1 : FinalizationRegistry,
@@ -2322,11 +2318,14 @@
2322
2318
  var $indexOf = callBindBasic([GetIntrinsic$2("%String.prototype.indexOf%")]);
2323
2319
  var callBound$2 = function callBoundIntrinsic(name, allowMissing) {
2324
2320
  var intrinsic = (
2325
- /** @type {Parameters<typeof callBindBasic>[0][0]} */
2321
+ /** @type {(this: unknown, ...args: unknown[]) => unknown} */
2326
2322
  GetIntrinsic$2(name, !!allowMissing)
2327
2323
  );
2328
2324
  if (typeof intrinsic === "function" && $indexOf(name, ".prototype.") > -1) {
2329
- return callBindBasic([intrinsic]);
2325
+ return callBindBasic(
2326
+ /** @type {const} */
2327
+ [intrinsic]
2328
+ );
2330
2329
  }
2331
2330
  return intrinsic;
2332
2331
  };
@@ -10947,7 +10946,7 @@ void main(void)
10947
10946
  */
10948
10947
  run(options) {
10949
10948
  const { renderer } = this;
10950
- renderer.runners.init.emit(renderer.options), options.hello && console.log(`PixiJS 7.4.2 - ${renderer.rendererLogId} - https://pixijs.com`), renderer.resize(renderer.screen.width, renderer.screen.height);
10949
+ renderer.runners.init.emit(renderer.options), options.hello && console.log(`PixiJS 7.4.3 - ${renderer.rendererLogId} - https://pixijs.com`), renderer.resize(renderer.screen.width, renderer.screen.height);
10951
10950
  }
10952
10951
  destroy() {
10953
10952
  }
@@ -18198,7 +18197,8 @@ void main()
18198
18197
  if (keys.forEach((key2) => {
18199
18198
  this._cacheMap.set(key2, cachedAssets);
18200
18199
  }), cacheKeys.forEach((key2) => {
18201
- this._cache.has(key2) && this._cache.get(key2) !== value && console.warn("[Cache] already has key:", key2), this._cache.set(key2, cacheableAssets[key2]);
18200
+ const val = cacheableAssets ? cacheableAssets[key2] : value;
18201
+ this._cache.has(key2) && this._cache.get(key2) !== val && console.warn("[Cache] already has key:", key2), this._cache.set(key2, cacheableAssets[key2]);
18202
18202
  }), value instanceof Texture) {
18203
18203
  const texture = value;
18204
18204
  keys.forEach((key2) => {
@@ -25714,12 +25714,11 @@ void main(void)\r
25714
25714
  subClass.__proto__ = superClass;
25715
25715
  }
25716
25716
  /*!
25717
- * GSAP 3.12.5
25717
+ * GSAP 3.13.0
25718
25718
  * https://gsap.com
25719
25719
  *
25720
- * @license Copyright 2008-2024, GreenSock. All rights reserved.
25721
- * Subject to the terms at https://gsap.com/standard-license or for
25722
- * Club GSAP members, the agreement issued with that membership.
25720
+ * @license Copyright 2008-2025, GreenSock. All rights reserved.
25721
+ * Subject to the terms at https://gsap.com/standard-license
25723
25722
  * @author: Jack Doyle, jack@greensock.com
25724
25723
  */
25725
25724
  var _config = {
@@ -25810,9 +25809,11 @@ void main(void)\r
25810
25809
  tween = a2[i2];
25811
25810
  tween && tween._lazy && (tween.render(tween._lazy[0], tween._lazy[1], true)._lazy = 0);
25812
25811
  }
25812
+ }, _isRevertWorthy = function _isRevertWorthy2(animation) {
25813
+ return !!(animation._initted || animation._startAt || animation.add);
25813
25814
  }, _lazySafeRender = function _lazySafeRender2(animation, time, suppressEvents, force) {
25814
25815
  _lazyTweens.length && !_reverting$1 && _lazyRender();
25815
- animation.render(time, suppressEvents, force || _reverting$1 && time < 0 && (animation._initted || animation._startAt));
25816
+ animation.render(time, suppressEvents, force || !!(_reverting$1 && time < 0 && _isRevertWorthy(animation)));
25816
25817
  _lazyTweens.length && !_reverting$1 && _lazyRender();
25817
25818
  }, _numericIfPossible = function _numericIfPossible2(value) {
25818
25819
  var n2 = parseFloat(value);
@@ -25935,7 +25936,7 @@ void main(void)\r
25935
25936
  }, _elapsedCycleDuration = function _elapsedCycleDuration2(animation) {
25936
25937
  return animation._repeat ? _animationCycle(animation._tTime, animation = animation.duration() + animation._rDelay) * animation : 0;
25937
25938
  }, _animationCycle = function _animationCycle2(tTime, cycleDuration) {
25938
- var whole = Math.floor(tTime /= cycleDuration);
25939
+ var whole = Math.floor(tTime = _roundPrecise(tTime / cycleDuration));
25939
25940
  return tTime && whole === tTime ? whole - 1 : whole;
25940
25941
  }, _parentToChildTotalTime = function _parentToChildTotalTime2(parentTime, child) {
25941
25942
  return (parentTime - child._start) * child._ts + (child._ts >= 0 ? 0 : child._dirty ? child.totalDuration() : child._tDur);
@@ -26716,7 +26717,7 @@ void main(void)\r
26716
26717
  }, easeOut);
26717
26718
  })(7.5625, 2.75);
26718
26719
  _insertEase("Expo", function(p2) {
26719
- return p2 ? Math.pow(2, 10 * (p2 - 1)) : 0;
26720
+ return Math.pow(2, 10 * (p2 - 1)) * p2 + p2 * p2 * p2 * p2 * p2 * p2 * (1 - p2);
26720
26721
  });
26721
26722
  _insertEase("Circ", function(p2) {
26722
26723
  return -(_sqrt(1 - p2 * p2) - 1);
@@ -26813,7 +26814,7 @@ void main(void)\r
26813
26814
  return arguments.length ? this.totalTime(Math.min(this.totalDuration(), value + _elapsedCycleDuration(this)) % (this._dur + this._rDelay) || (value ? this._dur : 0), suppressEvents) : this._time;
26814
26815
  };
26815
26816
  _proto.totalProgress = function totalProgress(value, suppressEvents) {
26816
- return arguments.length ? this.totalTime(this.totalDuration() * value, suppressEvents) : this.totalDuration() ? Math.min(1, this._tTime / this._tDur) : this.rawTime() > 0 ? 1 : 0;
26817
+ return arguments.length ? this.totalTime(this.totalDuration() * value, suppressEvents) : this.totalDuration() ? Math.min(1, this._tTime / this._tDur) : this.rawTime() >= 0 && this._initted ? 1 : 0;
26817
26818
  };
26818
26819
  _proto.progress = function progress(value, suppressEvents) {
26819
26820
  return arguments.length ? this.totalTime(this.duration() * (this._yoyo && !(this.iteration() & 1) ? 1 - value : value) + _elapsedCycleDuration(this), suppressEvents) : this.duration() ? Math.min(1, this._time / this._dur) : this.rawTime() > 0 ? 1 : 0;
@@ -26832,7 +26833,7 @@ void main(void)\r
26832
26833
  var tTime = this.parent && this._ts ? _parentToChildTotalTime(this.parent._time, this) : this._tTime;
26833
26834
  this._rts = +value || 0;
26834
26835
  this._ts = this._ps || value === -_tinyNum ? 0 : this._rts;
26835
- this.totalTime(_clamp(-Math.abs(this._delay), this._tDur, tTime), suppressEvents !== false);
26836
+ this.totalTime(_clamp(-Math.abs(this._delay), this.totalDuration(), tTime), suppressEvents !== false);
26836
26837
  _setEnd(this);
26837
26838
  return _recacheAncestors(this);
26838
26839
  };
@@ -26875,7 +26876,7 @@ void main(void)\r
26875
26876
  }
26876
26877
  var prevIsReverting = _reverting$1;
26877
26878
  _reverting$1 = config2;
26878
- if (this._initted || this._startAt) {
26879
+ if (_isRevertWorthy(this)) {
26879
26880
  this.timeline && this.timeline.revert(config2);
26880
26881
  this.totalTime(-0.01, config2.suppressEvents);
26881
26882
  }
@@ -26918,7 +26919,9 @@ void main(void)\r
26918
26919
  return this.totalTime(_parsePosition(this, position), _isNotFalse(suppressEvents));
26919
26920
  };
26920
26921
  _proto.restart = function restart(includeDelay, suppressEvents) {
26921
- return this.play().totalTime(includeDelay ? -this._delay : 0, _isNotFalse(suppressEvents));
26922
+ this.play().totalTime(includeDelay ? -this._delay : 0, _isNotFalse(suppressEvents));
26923
+ this._dur || (this._zTime = -_tinyNum);
26924
+ return this;
26922
26925
  };
26923
26926
  _proto.play = function play(from, suppressEvents) {
26924
26927
  from != null && this.seek(from, suppressEvents);
@@ -27095,8 +27098,9 @@ void main(void)\r
27095
27098
  iteration = this._repeat;
27096
27099
  time = dur;
27097
27100
  } else {
27098
- iteration = ~~(tTime / cycleDuration);
27099
- if (iteration && iteration === tTime / cycleDuration) {
27101
+ prevIteration = _roundPrecise(tTime / cycleDuration);
27102
+ iteration = ~~prevIteration;
27103
+ if (iteration && iteration === prevIteration) {
27100
27104
  time = dur;
27101
27105
  iteration--;
27102
27106
  }
@@ -27150,7 +27154,7 @@ void main(void)\r
27150
27154
  this._zTime = totalTime;
27151
27155
  prevTime = 0;
27152
27156
  }
27153
- if (!prevTime && time && !suppressEvents && !iteration) {
27157
+ if (!prevTime && tTime && !suppressEvents && !prevIteration) {
27154
27158
  _callback(this, "onStart");
27155
27159
  if (this._tTime !== tTime) {
27156
27160
  return this;
@@ -27182,7 +27186,7 @@ void main(void)\r
27182
27186
  if (child.parent !== this) {
27183
27187
  return this.render(totalTime, suppressEvents, force);
27184
27188
  }
27185
- child.render(child._ts > 0 ? (adjustedTime - child._start) * child._ts : (child._dirty ? child.totalDuration() : child._tDur) + (adjustedTime - child._start) * child._ts, suppressEvents, force || _reverting$1 && (child._initted || child._startAt));
27189
+ child.render(child._ts > 0 ? (adjustedTime - child._start) * child._ts : (child._dirty ? child.totalDuration() : child._tDur) + (adjustedTime - child._start) * child._ts, suppressEvents, force || _reverting$1 && _isRevertWorthy(child));
27186
27190
  if (time !== this._time || !this._ts && !prevPaused) {
27187
27191
  pauseTween = 0;
27188
27192
  next && (tTime += this._zTime = adjustedTime ? -_tinyNum : _tinyNum);
@@ -27279,7 +27283,7 @@ void main(void)\r
27279
27283
  if (_isFunction(child)) {
27280
27284
  return this.killTweensOf(child);
27281
27285
  }
27282
- _removeLinkedListItem(this, child);
27286
+ child.parent === this && _removeLinkedListItem(this, child);
27283
27287
  if (child === this._recent) {
27284
27288
  this._recent = this._last;
27285
27289
  }
@@ -27881,7 +27885,7 @@ void main(void)\r
27881
27885
  var prevTime = this._time, tDur = this._tDur, dur = this._dur, isNegative = totalTime < 0, tTime = totalTime > tDur - _tinyNum && !isNegative ? tDur : totalTime < _tinyNum ? 0 : totalTime, time, pt, iteration, cycleDuration, prevIteration, isYoyo, ratio, timeline, yoyoEase;
27882
27886
  if (!dur) {
27883
27887
  _renderZeroDurationTween(this, totalTime, suppressEvents, force);
27884
- } else if (tTime !== this._tTime || !totalTime || force || !this._initted && this._tTime || this._startAt && this._zTime < 0 !== isNegative) {
27888
+ } else if (tTime !== this._tTime || !totalTime || force || !this._initted && this._tTime || this._startAt && this._zTime < 0 !== isNegative || this._lazy) {
27885
27889
  time = tTime;
27886
27890
  timeline = this.timeline;
27887
27891
  if (this._repeat) {
@@ -27894,12 +27898,14 @@ void main(void)\r
27894
27898
  iteration = this._repeat;
27895
27899
  time = dur;
27896
27900
  } else {
27897
- iteration = ~~(tTime / cycleDuration);
27898
- if (iteration && iteration === _roundPrecise(tTime / cycleDuration)) {
27901
+ prevIteration = _roundPrecise(tTime / cycleDuration);
27902
+ iteration = ~~prevIteration;
27903
+ if (iteration && iteration === prevIteration) {
27899
27904
  time = dur;
27900
27905
  iteration--;
27906
+ } else if (time > dur) {
27907
+ time = dur;
27901
27908
  }
27902
- time > dur && (time = dur);
27903
27909
  }
27904
27910
  isYoyo = this._yoyo && iteration & 1;
27905
27911
  if (isYoyo) {
@@ -27913,7 +27919,7 @@ void main(void)\r
27913
27919
  }
27914
27920
  if (iteration !== prevIteration) {
27915
27921
  timeline && this._yEase && _propagateYoyoEase(timeline, isYoyo);
27916
- if (this.vars.repeatRefresh && !isYoyo && !this._lock && this._time !== cycleDuration && this._initted) {
27922
+ if (this.vars.repeatRefresh && !isYoyo && !this._lock && time !== cycleDuration && this._initted) {
27917
27923
  this._lock = force = 1;
27918
27924
  this.render(_roundPrecise(cycleDuration * iteration), true).invalidate()._lock = 0;
27919
27925
  }
@@ -27941,7 +27947,7 @@ void main(void)\r
27941
27947
  if (this._from) {
27942
27948
  this.ratio = ratio = 1 - ratio;
27943
27949
  }
27944
- if (time && !prevTime && !suppressEvents && !iteration) {
27950
+ if (!prevTime && tTime && !suppressEvents && !prevIteration) {
27945
27951
  _callback(this, "onStart");
27946
27952
  if (this._tTime !== tTime) {
27947
27953
  return this;
@@ -27998,7 +28004,8 @@ void main(void)\r
27998
28004
  }
27999
28005
  if (!targets && (!vars || vars === "all")) {
28000
28006
  this._lazy = this._pt = 0;
28001
- return this.parent ? _interrupt(this) : this;
28007
+ this.parent ? _interrupt(this) : this.scrollTrigger && this.scrollTrigger.kill(!!_reverting$1);
28008
+ return this;
28002
28009
  }
28003
28010
  if (this.timeline) {
28004
28011
  var tDur = this.timeline.totalDuration();
@@ -28445,8 +28452,8 @@ void main(void)\r
28445
28452
  };
28446
28453
  },
28447
28454
  quickTo: function quickTo(target, property, vars) {
28448
- var _merge2;
28449
- var tween = gsap.to(target, _merge((_merge2 = {}, _merge2[property] = "+=0.1", _merge2.paused = true, _merge2), vars || {})), func = function func2(value, start, startIsRelative) {
28455
+ var _setDefaults2;
28456
+ var tween = gsap.to(target, _setDefaults((_setDefaults2 = {}, _setDefaults2[property] = "+=0.1", _setDefaults2.paused = true, _setDefaults2.stagger = 0, _setDefaults2), vars || {})), func = function func2(value, start, startIsRelative) {
28450
28457
  return tween.resetTo(property, value, start, startIsRelative);
28451
28458
  };
28452
28459
  func.tween = tween;
@@ -28608,6 +28615,7 @@ void main(void)\r
28608
28615
  }, _buildModifierPlugin = function _buildModifierPlugin2(name, modifier) {
28609
28616
  return {
28610
28617
  name,
28618
+ headless: 1,
28611
28619
  rawVars: 1,
28612
28620
  //don't pre-process function-based values or "random()" strings.
28613
28621
  init: function init2(target, vars, tween) {
@@ -28654,6 +28662,7 @@ void main(void)\r
28654
28662
  }
28655
28663
  }, {
28656
28664
  name: "endArray",
28665
+ headless: 1,
28657
28666
  init: function init2(target, value) {
28658
28667
  var i2 = value.length;
28659
28668
  while (i2--) {
@@ -28661,7 +28670,7 @@ void main(void)\r
28661
28670
  }
28662
28671
  }
28663
28672
  }, _buildModifierPlugin("roundProps", _roundModifier), _buildModifierPlugin("modifiers"), _buildModifierPlugin("snap", snap)) || _gsap;
28664
- Tween.version = Timeline$1.version = gsap.version = "3.12.5";
28673
+ Tween.version = Timeline$1.version = gsap.version = "3.13.0";
28665
28674
  _coreReady = 1;
28666
28675
  _windowExists$1() && _wake();
28667
28676
  _easeMap.Power0;
@@ -28683,12 +28692,11 @@ void main(void)\r
28683
28692
  _easeMap.Expo;
28684
28693
  _easeMap.Circ;
28685
28694
  /*!
28686
- * CSSPlugin 3.12.5
28695
+ * CSSPlugin 3.13.0
28687
28696
  * https://gsap.com
28688
28697
  *
28689
- * Copyright 2008-2024, GreenSock. All rights reserved.
28690
- * Subject to the terms at https://gsap.com/standard-license or for
28691
- * Club GSAP members, the agreement issued with that membership.
28698
+ * Copyright 2008-2025, GreenSock. All rights reserved.
28699
+ * Subject to the terms at https://gsap.com/standard-license
28692
28700
  * @author: Jack Doyle, jack@greensock.com
28693
28701
  */
28694
28702
  var _win, _doc, _docElement, _pluginInitted, _tempDiv, _recentSetterPlugin, _reverting, _windowExists = function _windowExists2() {
@@ -28761,7 +28769,13 @@ void main(void)\r
28761
28769
  }, _revertStyle = function _revertStyle2() {
28762
28770
  var props = this.props, target = this.target, style = target.style, cache = target._gsap, i2, p2;
28763
28771
  for (i2 = 0; i2 < props.length; i2 += 3) {
28764
- props[i2 + 1] ? target[props[i2]] = props[i2 + 2] : props[i2 + 2] ? style[props[i2]] = props[i2 + 2] : style.removeProperty(props[i2].substr(0, 2) === "--" ? props[i2] : props[i2].replace(_capsExp, "-$1").toLowerCase());
28772
+ if (!props[i2 + 1]) {
28773
+ props[i2 + 2] ? style[props[i2]] = props[i2 + 2] : style.removeProperty(props[i2].substr(0, 2) === "--" ? props[i2] : props[i2].replace(_capsExp, "-$1").toLowerCase());
28774
+ } else if (props[i2 + 1] === 2) {
28775
+ target[props[i2]](props[i2 + 2]);
28776
+ } else {
28777
+ target[props[i2]] = props[i2 + 2];
28778
+ }
28765
28779
  }
28766
28780
  if (this.tfm) {
28767
28781
  for (p2 in this.tfm) {
@@ -28790,7 +28804,7 @@ void main(void)\r
28790
28804
  save: _saveStyle
28791
28805
  };
28792
28806
  target._gsap || gsap.core.getCache(target);
28793
- properties && properties.split(",").forEach(function(p2) {
28807
+ properties && target.style && target.nodeType && properties.split(",").forEach(function(p2) {
28794
28808
  return saver.save(p2);
28795
28809
  });
28796
28810
  return saver;
@@ -28825,30 +28839,17 @@ void main(void)\r
28825
28839
  _reverting = gsap.core.reverting;
28826
28840
  _pluginInitted = 1;
28827
28841
  }
28828
- }, _getBBoxHack = function _getBBoxHack2(swapIfPossible) {
28829
- var svg = _createElement("svg", this.ownerSVGElement && this.ownerSVGElement.getAttribute("xmlns") || "http://www.w3.org/2000/svg"), oldParent = this.parentNode, oldSibling = this.nextSibling, oldCSS = this.style.cssText, bbox;
28842
+ }, _getReparentedCloneBBox = function _getReparentedCloneBBox2(target) {
28843
+ var owner = target.ownerSVGElement, svg = _createElement("svg", owner && owner.getAttribute("xmlns") || "http://www.w3.org/2000/svg"), clone2 = target.cloneNode(true), bbox;
28844
+ clone2.style.display = "block";
28845
+ svg.appendChild(clone2);
28830
28846
  _docElement.appendChild(svg);
28831
- svg.appendChild(this);
28832
- this.style.display = "block";
28833
- if (swapIfPossible) {
28834
- try {
28835
- bbox = this.getBBox();
28836
- this._gsapBBox = this.getBBox;
28837
- this.getBBox = _getBBoxHack2;
28838
- } catch (e2) {
28839
- }
28840
- } else if (this._gsapBBox) {
28841
- bbox = this._gsapBBox();
28842
- }
28843
- if (oldParent) {
28844
- if (oldSibling) {
28845
- oldParent.insertBefore(this, oldSibling);
28846
- } else {
28847
- oldParent.appendChild(this);
28848
- }
28847
+ try {
28848
+ bbox = clone2.getBBox();
28849
+ } catch (e2) {
28849
28850
  }
28851
+ svg.removeChild(clone2);
28850
28852
  _docElement.removeChild(svg);
28851
- this.style.cssText = oldCSS;
28852
28853
  return bbox;
28853
28854
  }, _getAttributeFallbacks = function _getAttributeFallbacks2(target, attributesArray) {
28854
28855
  var i2 = attributesArray.length;
@@ -28858,13 +28859,14 @@ void main(void)\r
28858
28859
  }
28859
28860
  }
28860
28861
  }, _getBBox = function _getBBox2(target) {
28861
- var bounds;
28862
+ var bounds, cloned;
28862
28863
  try {
28863
28864
  bounds = target.getBBox();
28864
28865
  } catch (error) {
28865
- bounds = _getBBoxHack.call(target, true);
28866
+ bounds = _getReparentedCloneBBox(target);
28867
+ cloned = 1;
28866
28868
  }
28867
- bounds && (bounds.width || bounds.height) || target.getBBox === _getBBoxHack || (bounds = _getBBoxHack.call(target, true));
28869
+ bounds && (bounds.width || bounds.height) || cloned || (bounds = _getReparentedCloneBBox(target));
28868
28870
  return bounds && !bounds.width && !bounds.x && !bounds.y ? {
28869
28871
  x: +_getAttributeFallbacks(target, ["x", "cx", "x1"]) || 0,
28870
28872
  y: +_getAttributeFallbacks(target, ["y", "cy", "y1"]) || 0,
@@ -28915,7 +28917,7 @@ void main(void)\r
28915
28917
  return _round(toPercent ? curValue / px * amount : curValue / 100 * px);
28916
28918
  }
28917
28919
  style[horizontal ? "width" : "height"] = amount + (toPixels ? curUnit : unit);
28918
- parent = ~property.indexOf("adius") || unit === "em" && target.appendChild && !isRootSVG ? target : target.parentNode;
28920
+ parent = unit !== "rem" && ~property.indexOf("adius") || unit === "em" && target.appendChild && !isRootSVG ? target : target.parentNode;
28919
28921
  if (isSVG) {
28920
28922
  parent = (target.ownerSVGElement || {}).parentNode;
28921
28923
  }
@@ -28980,6 +28982,9 @@ void main(void)\r
28980
28982
  pt.e = end;
28981
28983
  start += "";
28982
28984
  end += "";
28985
+ if (end.substring(0, 6) === "var(--") {
28986
+ end = _getComputedProperty(target, end.substring(4, end.indexOf(")")));
28987
+ }
28983
28988
  if (end === "auto") {
28984
28989
  startValue = target.style[prop];
28985
28990
  target.style[prop] = end;
@@ -29073,6 +29078,7 @@ void main(void)\r
29073
29078
  _removeProperty(target, _transformProp);
29074
29079
  if (cache) {
29075
29080
  cache.svg && target.removeAttribute("transform");
29081
+ style.scale = style.rotate = style.translate = "none";
29076
29082
  _parseTransform(target, 1);
29077
29083
  cache.uncache = 1;
29078
29084
  _removeIndependentTransforms(style);
@@ -29168,7 +29174,7 @@ void main(void)\r
29168
29174
  temp = style.display;
29169
29175
  style.display = "block";
29170
29176
  parent = target.parentNode;
29171
- if (!parent || !target.offsetParent) {
29177
+ if (!parent || !target.offsetParent && !target.getBoundingClientRect().width) {
29172
29178
  addedToDOM = 1;
29173
29179
  nextSibling = target.nextElementSibling;
29174
29180
  _docElement.appendChild(target);
@@ -29604,6 +29610,10 @@ void main(void)\r
29604
29610
  isTransformRelated = p2 in _transformProps;
29605
29611
  if (isTransformRelated) {
29606
29612
  this.styles.save(p2);
29613
+ if (type2 === "string" && endValue.substring(0, 6) === "var(--") {
29614
+ endValue = _getComputedProperty(target, endValue.substring(4, endValue.indexOf(")")));
29615
+ endNum = parseFloat(endValue);
29616
+ }
29607
29617
  if (!transformPropTween) {
29608
29618
  cache = target._gsap;
29609
29619
  cache.renderTransform && !vars.parseTransform || _parseTransform(target, vars.parseTransform);
@@ -29667,7 +29677,7 @@ void main(void)\r
29667
29677
  } else {
29668
29678
  _tweenComplexCSSString.call(this, target, p2, startValue, relative ? relative + endValue : endValue);
29669
29679
  }
29670
- isTransformRelated || (p2 in style ? inlineProps.push(p2, 0, style[p2]) : inlineProps.push(p2, 1, startValue || target[p2]));
29680
+ isTransformRelated || (p2 in style ? inlineProps.push(p2, 0, style[p2]) : typeof target[p2] === "function" ? inlineProps.push(p2, 2, target[p2]()) : inlineProps.push(p2, 1, startValue || target[p2]));
29671
29681
  props.push(p2);
29672
29682
  }
29673
29683
  }
@@ -32874,7 +32884,11 @@ void main(void)\r
32874
32884
  /**
32875
32885
  * past Spine.globalDelayLimit
32876
32886
  */
32877
- GLOBAL_DELAY_LIMIT: 0
32887
+ GLOBAL_DELAY_LIMIT: 0,
32888
+ /**
32889
+ * shows error in console if atlas page loading somehow failed
32890
+ */
32891
+ REPORT_TEXTURE_LOADER_ERROR: true
32878
32892
  };
32879
32893
  const tempRgb = [0, 0, 0];
32880
32894
  class SpineSprite extends Sprite {
@@ -33269,6 +33283,9 @@ void main(void)\r
33269
33283
  * @private
33270
33284
  */
33271
33285
  createMesh(slot, attachment) {
33286
+ if (!attachment.region && attachment.sequence) {
33287
+ attachment.sequence.apply(slot, attachment);
33288
+ }
33272
33289
  let region = attachment.region;
33273
33290
  if (slot.hackAttachment === attachment) {
33274
33291
  region = slot.hackRegion;
@@ -39976,9 +39993,16 @@ void main(void)\r
39976
39993
  };
39977
39994
  const makeSpineTextureAtlasLoaderFunctionFromPixiLoaderObject = (loader, atlasBasePath, imageMetadata) => {
39978
39995
  return async (pageName, textureLoadedCallback) => {
39979
- const url = path.normalize([...atlasBasePath.split(path.sep), pageName].join(path.sep));
39980
- const texture = await loader.load({ src: url, data: imageMetadata });
39981
- textureLoadedCallback(texture.baseTexture);
39996
+ try {
39997
+ const url = path.normalize([...atlasBasePath.split(path.sep), pageName].join(path.sep));
39998
+ const texture = await loader.load({ src: url, data: imageMetadata });
39999
+ textureLoadedCallback(texture.baseTexture);
40000
+ } catch (e2) {
40001
+ {
40002
+ console.error("Spine: error in texture loader", e2);
40003
+ }
40004
+ textureLoadedCallback(null);
40005
+ }
39982
40006
  };
39983
40007
  };
39984
40008
  extensions$2.add(spineTextureAtlasLoader);
@@ -48931,7 +48955,7 @@ void main(void)\r
48931
48955
  });
48932
48956
  }
48933
48957
  }
48934
- const _LibPixiPerforMon = class _LibPixiPerforMon2 extends Container {
48958
+ class LibPixiPerforMon extends Container {
48935
48959
  constructor(app) {
48936
48960
  super();
48937
48961
  this.COLLECT_TIME = 5 * 1e3;
@@ -48944,10 +48968,6 @@ void main(void)\r
48944
48968
  this._containerWidth = 590;
48945
48969
  this._containerHeight = 50;
48946
48970
  this.pivot.x = this._containerWidth / 2;
48947
- this._resize(window.innerWidth, window.innerHeight);
48948
- window.addEventListener("resize", () => {
48949
- this._resize(window.innerWidth, window.innerHeight);
48950
- });
48951
48971
  this._bg = new LibPixiRectBgColor({
48952
48972
  width: this._containerWidth,
48953
48973
  height: this._containerHeight,
@@ -49035,22 +49055,8 @@ void main(void)\r
49035
49055
  }
49036
49056
  return color;
49037
49057
  }
49038
- _resize(w2, h2) {
49039
- if (_LibPixiPerforMon2.ADAPT_MODE === "h") {
49040
- this.x = 1920 / 2;
49041
- } else if (_LibPixiPerforMon2.ADAPT_MODE === "v") {
49042
- this.x = 1080 / 2;
49043
- } else {
49044
- if (w2 > h2) {
49045
- this.x = 1920 / 2;
49046
- } else {
49047
- this.x = 1080 / 2;
49048
- }
49049
- }
49050
- }
49051
- };
49052
- _LibPixiPerforMon.ADAPT_MODE = "hv";
49053
- let LibPixiPerforMon = _LibPixiPerforMon;
49058
+ }
49059
+ LibPixiPerforMon.ADAPT_MODE = "hv";
49054
49060
  class TextBox extends Container {
49055
49061
  constructor(text, fontSize = 26) {
49056
49062
  super();
@@ -54473,8 +54479,8 @@ void main(void)\r
54473
54479
  const libPixiIntervalTrigger = (callback, interval, immediately = true) => {
54474
54480
  let elapsedTime = 0;
54475
54481
  const ticker2 = new Ticker();
54476
- const tickerCallback = (deltaTime) => {
54477
- elapsedTime += deltaTime * ticker2.deltaMS;
54482
+ const tickerCallback = () => {
54483
+ elapsedTime += ticker2.elapsedMS;
54478
54484
  let intervalNum = 0;
54479
54485
  if (Array.isArray(interval)) {
54480
54486
  intervalNum = libJsRandom(interval[0], interval[1], 2);
@@ -55409,10 +55415,10 @@ void main(void){
55409
55415
  }
55410
55416
  }
55411
55417
  /*!
55412
- * decimal.js v10.4.3
55418
+ * decimal.js v10.5.0
55413
55419
  * An arbitrary-precision Decimal type for JavaScript.
55414
55420
  * https://github.com/MikeMcl/decimal.js
55415
- * Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
55421
+ * Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
55416
55422
  * MIT Licence
55417
55423
  */
55418
55424
  var EXP_LIMIT = 9e15, MAX_DIGITS = 1e9, NUMERALS = "0123456789abcdef", LN10 = "2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058", PI = "3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789", DEFAULTS = {
@@ -55681,7 +55687,7 @@ void main(void){
55681
55687
  return divide(x2.sinh(), x2.cosh(), Ctor.precision = pr, Ctor.rounding = rm);
55682
55688
  };
55683
55689
  P.inverseCosine = P.acos = function() {
55684
- var halfPi, x2 = this, Ctor = x2.constructor, k2 = x2.abs().cmp(1), pr = Ctor.precision, rm = Ctor.rounding;
55690
+ var x2 = this, Ctor = x2.constructor, k2 = x2.abs().cmp(1), pr = Ctor.precision, rm = Ctor.rounding;
55685
55691
  if (k2 !== -1) {
55686
55692
  return k2 === 0 ? x2.isNeg() ? getPi(Ctor, pr, rm) : new Ctor(0) : new Ctor(NaN);
55687
55693
  }
@@ -55689,11 +55695,10 @@ void main(void){
55689
55695
  return getPi(Ctor, pr + 4, rm).times(0.5);
55690
55696
  Ctor.precision = pr + 6;
55691
55697
  Ctor.rounding = 1;
55692
- x2 = x2.asin();
55693
- halfPi = getPi(Ctor, pr + 4, rm).times(0.5);
55698
+ x2 = new Ctor(1).minus(x2).div(x2.plus(1)).sqrt().atan();
55694
55699
  Ctor.precision = pr;
55695
55700
  Ctor.rounding = rm;
55696
- return halfPi.minus(x2);
55701
+ return x2.times(2);
55697
55702
  };
55698
55703
  P.inverseHyperbolicCosine = P.acosh = function() {
55699
55704
  var pr, rm, x2 = this, Ctor = x2.constructor;
@@ -56905,14 +56910,16 @@ void main(void){
56905
56910
  function isOdd(n2) {
56906
56911
  return n2.d[n2.d.length - 1] & 1;
56907
56912
  }
56908
- function maxOrMin(Ctor, args, ltgt) {
56909
- var y2, x2 = new Ctor(args[0]), i2 = 0;
56913
+ function maxOrMin(Ctor, args, n2) {
56914
+ var k2, y2, x2 = new Ctor(args[0]), i2 = 0;
56910
56915
  for (; ++i2 < args.length; ) {
56911
56916
  y2 = new Ctor(args[i2]);
56912
56917
  if (!y2.s) {
56913
56918
  x2 = y2;
56914
56919
  break;
56915
- } else if (x2[ltgt](y2)) {
56920
+ }
56921
+ k2 = x2.cmp(y2);
56922
+ if (k2 === n2 || k2 === 0 && x2.s === n2) {
56916
56923
  x2 = y2;
56917
56924
  }
56918
56925
  }
@@ -57493,7 +57500,8 @@ void main(void){
57493
57500
  x2.d = [v2];
57494
57501
  }
57495
57502
  return;
57496
- } else if (v2 * 0 !== 0) {
57503
+ }
57504
+ if (v2 * 0 !== 0) {
57497
57505
  if (!v2)
57498
57506
  x2.s = NaN;
57499
57507
  x2.e = NaN;
@@ -57501,18 +57509,28 @@ void main(void){
57501
57509
  return;
57502
57510
  }
57503
57511
  return parseDecimal(x2, v2.toString());
57504
- } else if (t2 !== "string") {
57505
- throw Error(invalidArgument + v2);
57506
57512
  }
57507
- if ((i3 = v2.charCodeAt(0)) === 45) {
57508
- v2 = v2.slice(1);
57509
- x2.s = -1;
57510
- } else {
57511
- if (i3 === 43)
57513
+ if (t2 === "string") {
57514
+ if ((i3 = v2.charCodeAt(0)) === 45) {
57512
57515
  v2 = v2.slice(1);
57513
- x2.s = 1;
57516
+ x2.s = -1;
57517
+ } else {
57518
+ if (i3 === 43)
57519
+ v2 = v2.slice(1);
57520
+ x2.s = 1;
57521
+ }
57522
+ return isDecimal.test(v2) ? parseDecimal(x2, v2) : parseOther(x2, v2);
57514
57523
  }
57515
- return isDecimal.test(v2) ? parseDecimal(x2, v2) : parseOther(x2, v2);
57524
+ if (t2 === "bigint") {
57525
+ if (v2 < 0) {
57526
+ v2 = -v2;
57527
+ x2.s = -1;
57528
+ } else {
57529
+ x2.s = 1;
57530
+ }
57531
+ return parseDecimal(x2, v2.toString());
57532
+ }
57533
+ throw Error(invalidArgument + v2);
57516
57534
  }
57517
57535
  Decimal2.prototype = P;
57518
57536
  Decimal2.ROUND_UP = 0;
@@ -57622,10 +57640,10 @@ void main(void){
57622
57640
  return new this(x2).log(10);
57623
57641
  }
57624
57642
  function max() {
57625
- return maxOrMin(this, arguments, "lt");
57643
+ return maxOrMin(this, arguments, -1);
57626
57644
  }
57627
57645
  function min() {
57628
- return maxOrMin(this, arguments, "gt");
57646
+ return maxOrMin(this, arguments, 1);
57629
57647
  }
57630
57648
  function mod(x2, y2) {
57631
57649
  return new this(x2).mod(y2);
@@ -57822,6 +57840,24 @@ void main(void){
57822
57840
  }
57823
57841
  });
57824
57842
  };
57843
+ class LibPixiTriangle extends Graphics {
57844
+ constructor(dots, color) {
57845
+ super();
57846
+ this.beginFill(color);
57847
+ this.moveTo(0, 0);
57848
+ this.lineTo(dots[0][0], dots[0][1]);
57849
+ this.lineTo(dots[1][0], dots[1][1]);
57850
+ this.endFill();
57851
+ }
57852
+ }
57853
+ class LibPixiCapsule extends Graphics {
57854
+ constructor(width, height, color) {
57855
+ super();
57856
+ this.beginFill(color);
57857
+ this.drawRoundedRect(0, 0, width, height, width / 2);
57858
+ this.endFill();
57859
+ }
57860
+ }
57825
57861
  class LibDestroyContainer extends Container {
57826
57862
  constructor() {
57827
57863
  super();
@@ -58174,6 +58210,10 @@ void main(void){
58174
58210
  LibPixiLabelValue,
58175
58211
  /** @description 设计图背景拼接 */
58176
58212
  LibPixiPuzzleBg,
58213
+ /** @description 胶囊体 */
58214
+ LibPixiCapsule,
58215
+ /** @description 三角形 */
58216
+ LibPixiTriangle,
58177
58217
  /** @description 元素拖拽定位 */
58178
58218
  LibPixiDragLocate
58179
58219
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lyb-pixi-js",
3
- "version": "1.11.23",
3
+ "version": "1.11.25",
4
4
  "description": "自用Pixi.JS方法库",
5
5
  "license": "ISC",
6
6
  "exports": {