pixi.js 6.5.2 → 6.5.4

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * pixi.js - v6.5.2
3
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
2
+ * pixi.js - v6.5.4
3
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
4
4
  *
5
5
  * pixi.js is licensed under the MIT License.
6
6
  * http://www.opensource.org/licenses/mit-license
@@ -423,8 +423,8 @@ var PIXI = (function (exports) {
423
423
  };
424
424
 
425
425
  /*!
426
- * @pixi/polyfill - v6.5.2
427
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
426
+ * @pixi/polyfill - v6.5.4
427
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
428
428
  *
429
429
  * @pixi/polyfill is licensed under the MIT License.
430
430
  * http://www.opensource.org/licenses/mit-license
@@ -547,15 +547,15 @@ var PIXI = (function (exports) {
547
547
  }
548
548
 
549
549
  /*!
550
- * @pixi/settings - v6.5.2
551
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
550
+ * @pixi/settings - v6.5.4
551
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
552
552
  *
553
553
  * @pixi/settings is licensed under the MIT License.
554
554
  * http://www.opensource.org/licenses/mit-license
555
555
  */
556
556
  /*!
557
- * @pixi/constants - v6.5.2
558
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
557
+ * @pixi/constants - v6.5.4
558
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
559
559
  *
560
560
  * @pixi/constants is licensed under the MIT License.
561
561
  * http://www.opensource.org/licenses/mit-license
@@ -3995,8 +3995,8 @@ var PIXI = (function (exports) {
3995
3995
  };
3996
3996
 
3997
3997
  /*!
3998
- * @pixi/constants - v6.5.2
3999
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
3998
+ * @pixi/constants - v6.5.4
3999
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
4000
4000
  *
4001
4001
  * @pixi/constants is licensed under the MIT License.
4002
4002
  * http://www.opensource.org/licenses/mit-license
@@ -4509,8 +4509,8 @@ var PIXI = (function (exports) {
4509
4509
  })(exports.BUFFER_TYPE || (exports.BUFFER_TYPE = {}));
4510
4510
 
4511
4511
  /*!
4512
- * @pixi/utils - v6.5.2
4513
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
4512
+ * @pixi/utils - v6.5.4
4513
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
4514
4514
  *
4515
4515
  * @pixi/utils is licensed under the MIT License.
4516
4516
  * http://www.opensource.org/licenses/mit-license
@@ -4533,6 +4533,10 @@ var PIXI = (function (exports) {
4533
4533
  throw new TypeError("Path must be a string. Received " + JSON.stringify(path));
4534
4534
  }
4535
4535
  }
4536
+ function removeUrlParams(url) {
4537
+ var re = url.split('?')[0];
4538
+ return re.split('#')[0];
4539
+ }
4536
4540
  function escapeRegExp(string) {
4537
4541
  return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); // $& means the whole matched string
4538
4542
  }
@@ -4674,8 +4678,8 @@ var PIXI = (function (exports) {
4674
4678
  toAbsolute: function (url, customBaseUrl, customRootUrl) {
4675
4679
  if (this.isDataUrl(url))
4676
4680
  { return url; }
4677
- var baseUrl = this.toPosix(customBaseUrl !== null && customBaseUrl !== void 0 ? customBaseUrl : settings$1.ADAPTER.getBaseUrl());
4678
- var rootUrl = this.toPosix(customRootUrl !== null && customRootUrl !== void 0 ? customRootUrl : this.rootname(baseUrl));
4681
+ var baseUrl = removeUrlParams(this.toPosix(customBaseUrl !== null && customBaseUrl !== void 0 ? customBaseUrl : settings$1.ADAPTER.getBaseUrl()));
4682
+ var rootUrl = removeUrlParams(this.toPosix(customRootUrl !== null && customRootUrl !== void 0 ? customRootUrl : this.rootname(baseUrl)));
4679
4683
  assertPath(url);
4680
4684
  url = this.toPosix(url);
4681
4685
  // root relative url
@@ -4729,6 +4733,7 @@ var PIXI = (function (exports) {
4729
4733
  join: function () {
4730
4734
  var arguments$1 = arguments;
4731
4735
 
4736
+ var _a;
4732
4737
  var segments = [];
4733
4738
  for (var _i = 0; _i < arguments.length; _i++) {
4734
4739
  segments[_i] = arguments$1[_i];
@@ -4743,8 +4748,15 @@ var PIXI = (function (exports) {
4743
4748
  if (arg.length > 0) {
4744
4749
  if (joined === undefined)
4745
4750
  { joined = arg; }
4746
- else
4747
- { joined += "/" + arg; }
4751
+ else {
4752
+ var prevArg = (_a = segments[i - 1]) !== null && _a !== void 0 ? _a : '';
4753
+ if (this.extname(prevArg)) {
4754
+ joined += "/../" + arg;
4755
+ }
4756
+ else {
4757
+ joined += "/" + arg;
4758
+ }
4759
+ }
4748
4760
  }
4749
4761
  }
4750
4762
  if (joined === undefined) {
@@ -5079,7 +5091,7 @@ var PIXI = (function (exports) {
5079
5091
  settings$1.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT = false;
5080
5092
 
5081
5093
  var saidHello = false;
5082
- var VERSION$1 = '6.5.2';
5094
+ var VERSION$1 = '6.5.4';
5083
5095
  /**
5084
5096
  * Skips the hello message of renderers that are created after this is run.
5085
5097
  * @function skipHello
@@ -6209,8 +6221,8 @@ var PIXI = (function (exports) {
6209
6221
  };
6210
6222
 
6211
6223
  /*!
6212
- * @pixi/math - v6.5.2
6213
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
6224
+ * @pixi/math - v6.5.4
6225
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
6214
6226
  *
6215
6227
  * @pixi/math is licensed under the MIT License.
6216
6228
  * http://www.opensource.org/licenses/mit-license
@@ -7792,8 +7804,8 @@ var PIXI = (function (exports) {
7792
7804
  }());
7793
7805
 
7794
7806
  /*!
7795
- * @pixi/display - v6.5.2
7796
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
7807
+ * @pixi/display - v6.5.4
7808
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
7797
7809
  *
7798
7810
  * @pixi/display is licensed under the MIT License.
7799
7811
  * http://www.opensource.org/licenses/mit-license
@@ -8971,8 +8983,8 @@ var PIXI = (function (exports) {
8971
8983
  DisplayObject.prototype.displayObjectUpdateTransform = DisplayObject.prototype.updateTransform;
8972
8984
 
8973
8985
  /*!
8974
- * @pixi/constants - v6.5.2
8975
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
8986
+ * @pixi/constants - v6.5.4
8987
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
8976
8988
  *
8977
8989
  * @pixi/constants is licensed under the MIT License.
8978
8990
  * http://www.opensource.org/licenses/mit-license
@@ -10080,8 +10092,8 @@ var PIXI = (function (exports) {
10080
10092
  Container.prototype.containerUpdateTransform = Container.prototype.updateTransform;
10081
10093
 
10082
10094
  /*!
10083
- * @pixi/extensions - v6.5.2
10084
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
10095
+ * @pixi/extensions - v6.5.4
10096
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
10085
10097
  *
10086
10098
  * @pixi/extensions is licensed under the MIT License.
10087
10099
  * http://www.opensource.org/licenses/mit-license
@@ -10282,8 +10294,8 @@ var PIXI = (function (exports) {
10282
10294
  };
10283
10295
 
10284
10296
  /*!
10285
- * @pixi/runner - v6.5.2
10286
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
10297
+ * @pixi/runner - v6.5.4
10298
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
10287
10299
  *
10288
10300
  * @pixi/runner is licensed under the MIT License.
10289
10301
  * http://www.opensource.org/licenses/mit-license
@@ -10466,8 +10478,8 @@ var PIXI = (function (exports) {
10466
10478
  });
10467
10479
 
10468
10480
  /*!
10469
- * @pixi/ticker - v6.5.2
10470
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
10481
+ * @pixi/ticker - v6.5.4
10482
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
10471
10483
  *
10472
10484
  * @pixi/ticker is licensed under the MIT License.
10473
10485
  * http://www.opensource.org/licenses/mit-license
@@ -11173,8 +11185,8 @@ var PIXI = (function (exports) {
11173
11185
  }());
11174
11186
 
11175
11187
  /*!
11176
- * @pixi/core - v6.5.2
11177
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
11188
+ * @pixi/core - v6.5.4
11189
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
11178
11190
  *
11179
11191
  * @pixi/core is licensed under the MIT License.
11180
11192
  * http://www.opensource.org/licenses/mit-license
@@ -12756,7 +12768,7 @@ var PIXI = (function (exports) {
12756
12768
  // url file extension is SVG
12757
12769
  return extension === 'svg'
12758
12770
  // source is SVG data-uri
12759
- || (typeof source === 'string' && (/^data:image\/svg\+xml(;(charset=utf8|utf8))?;base64/).test(source))
12771
+ || (typeof source === 'string' && source.startsWith('data:image/svg+xml'))
12760
12772
  // source is SVG inline
12761
12773
  || (typeof source === 'string' && SVGResource.SVG_XML.test(source));
12762
12774
  };
@@ -16833,7 +16845,7 @@ var PIXI = (function (exports) {
16833
16845
  // a float cache layer
16834
16846
  {
16835
16847
  test: function (data) {
16836
- return data.type === 'float' && data.size === 1;
16848
+ return data.type === 'float' && data.size === 1 && !data.isArray;
16837
16849
  },
16838
16850
  code: function (name) {
16839
16851
  return "\n if(uv[\"" + name + "\"] !== ud[\"" + name + "\"].value)\n {\n ud[\"" + name + "\"].value = uv[\"" + name + "\"]\n gl.uniform1f(ud[\"" + name + "\"].location, uv[\"" + name + "\"])\n }\n ";
@@ -16841,16 +16853,16 @@ var PIXI = (function (exports) {
16841
16853
  },
16842
16854
  // handling samplers
16843
16855
  {
16844
- test: function (data) {
16845
- // eslint-disable-next-line max-len
16846
- return (data.type === 'sampler2D' || data.type === 'samplerCube' || data.type === 'sampler2DArray') && data.size === 1 && !data.isArray;
16856
+ test: function (data, uniform) {
16857
+ // eslint-disable-next-line max-len,no-eq-null,eqeqeq
16858
+ return (data.type === 'sampler2D' || data.type === 'samplerCube' || data.type === 'sampler2DArray') && data.size === 1 && !data.isArray && (uniform == null || uniform.castToBaseTexture !== undefined);
16847
16859
  },
16848
16860
  code: function (name) { return "t = syncData.textureCount++;\n\n renderer.texture.bind(uv[\"" + name + "\"], t);\n\n if(ud[\"" + name + "\"].value !== t)\n {\n ud[\"" + name + "\"].value = t;\n gl.uniform1i(ud[\"" + name + "\"].location, t);\n; // eslint-disable-line max-len\n }"; },
16849
16861
  },
16850
16862
  // uploading pixi matrix object to mat3
16851
16863
  {
16852
16864
  test: function (data, uniform) {
16853
- return data.type === 'mat3' && data.size === 1 && uniform.a !== undefined;
16865
+ return data.type === 'mat3' && data.size === 1 && !data.isArray && uniform.a !== undefined;
16854
16866
  },
16855
16867
  code: function (name) {
16856
16868
  // TODO and some smart caching dirty ids here!
@@ -16863,7 +16875,7 @@ var PIXI = (function (exports) {
16863
16875
  // uploading a pixi point as a vec2 with caching layer
16864
16876
  {
16865
16877
  test: function (data, uniform) {
16866
- return data.type === 'vec2' && data.size === 1 && uniform.x !== undefined;
16878
+ return data.type === 'vec2' && data.size === 1 && !data.isArray && uniform.x !== undefined;
16867
16879
  },
16868
16880
  code: function (name) {
16869
16881
  return "\n cv = ud[\"" + name + "\"].value;\n v = uv[\"" + name + "\"];\n\n if(cv[0] !== v.x || cv[1] !== v.y)\n {\n cv[0] = v.x;\n cv[1] = v.y;\n gl.uniform2f(ud[\"" + name + "\"].location, v.x, v.y);\n }";
@@ -16875,7 +16887,7 @@ var PIXI = (function (exports) {
16875
16887
  // caching layer for a vec2
16876
16888
  {
16877
16889
  test: function (data) {
16878
- return data.type === 'vec2' && data.size === 1;
16890
+ return data.type === 'vec2' && data.size === 1 && !data.isArray;
16879
16891
  },
16880
16892
  code: function (name) {
16881
16893
  return "\n cv = ud[\"" + name + "\"].value;\n v = uv[\"" + name + "\"];\n\n if(cv[0] !== v[0] || cv[1] !== v[1])\n {\n cv[0] = v[0];\n cv[1] = v[1];\n gl.uniform2f(ud[\"" + name + "\"].location, v[0], v[1]);\n }\n ";
@@ -16884,7 +16896,7 @@ var PIXI = (function (exports) {
16884
16896
  // upload a pixi rectangle as a vec4 with caching layer
16885
16897
  {
16886
16898
  test: function (data, uniform) {
16887
- return data.type === 'vec4' && data.size === 1 && uniform.width !== undefined;
16899
+ return data.type === 'vec4' && data.size === 1 && !data.isArray && uniform.width !== undefined;
16888
16900
  },
16889
16901
  code: function (name) {
16890
16902
  return "\n cv = ud[\"" + name + "\"].value;\n v = uv[\"" + name + "\"];\n\n if(cv[0] !== v.x || cv[1] !== v.y || cv[2] !== v.width || cv[3] !== v.height)\n {\n cv[0] = v.x;\n cv[1] = v.y;\n cv[2] = v.width;\n cv[3] = v.height;\n gl.uniform4f(ud[\"" + name + "\"].location, v.x, v.y, v.width, v.height)\n }";
@@ -16896,7 +16908,7 @@ var PIXI = (function (exports) {
16896
16908
  // a caching layer for vec4 uploading
16897
16909
  {
16898
16910
  test: function (data) {
16899
- return data.type === 'vec4' && data.size === 1;
16911
+ return data.type === 'vec4' && data.size === 1 && !data.isArray;
16900
16912
  },
16901
16913
  code: function (name) {
16902
16914
  return "\n cv = ud[\"" + name + "\"].value;\n v = uv[\"" + name + "\"];\n\n if(cv[0] !== v[0] || cv[1] !== v[1] || cv[2] !== v[2] || cv[3] !== v[3])\n {\n cv[0] = v[0];\n cv[1] = v[1];\n cv[2] = v[2];\n cv[3] = v[3];\n\n gl.uniform4f(ud[\"" + name + "\"].location, v[0], v[1], v[2], v[3])\n }";
@@ -16929,9 +16941,9 @@ var PIXI = (function (exports) {
16929
16941
  mat2: 'gl.uniformMatrix2fv(location, false, v)',
16930
16942
  mat3: 'gl.uniformMatrix3fv(location, false, v)',
16931
16943
  mat4: 'gl.uniformMatrix4fv(location, false, v)',
16932
- sampler2D: 'gl.uniform1i(location, v)',
16933
- samplerCube: 'gl.uniform1i(location, v)',
16934
- sampler2DArray: 'gl.uniform1i(location, v)',
16944
+ sampler2D: "\n if (cv !== v)\n {\n cu.value = v;\n\n gl.uniform1i(location, v);\n }",
16945
+ samplerCube: "\n if (cv !== v)\n {\n cu.value = v;\n\n gl.uniform1i(location, v);\n }",
16946
+ sampler2DArray: "\n if (cv !== v)\n {\n cu.value = v;\n\n gl.uniform1i(location, v);\n }",
16935
16947
  };
16936
16948
  var GLSL_TO_ARRAY_SETTERS = {
16937
16949
  float: "gl.uniform1fv(location, v)",
@@ -16983,7 +16995,7 @@ var PIXI = (function (exports) {
16983
16995
  }
16984
16996
  }
16985
16997
  if (!parsed) {
16986
- var templateType = (data.size === 1) ? GLSL_TO_SINGLE_SETTERS_CACHED : GLSL_TO_ARRAY_SETTERS;
16998
+ var templateType = data.size === 1 && !data.isArray ? GLSL_TO_SINGLE_SETTERS_CACHED : GLSL_TO_ARRAY_SETTERS;
16987
16999
  var template = templateType[data.type].replace('location', "ud[\"" + i + "\"].location");
16988
17000
  funcFragments.push("\n cu = ud[\"" + i + "\"];\n cv = cu.value;\n v = uv[\"" + i + "\"];\n " + template + ";");
16989
17001
  }
@@ -19615,6 +19627,9 @@ var PIXI = (function (exports) {
19615
19627
  }
19616
19628
  this.updateTexture(texture);
19617
19629
  }
19630
+ else if (glTexture.dirtyStyleId !== texture.dirtyStyleId) {
19631
+ this.updateTextureStyle(texture);
19632
+ }
19618
19633
  this.boundTextures[location] = texture;
19619
19634
  }
19620
19635
  else {
@@ -21461,11 +21476,11 @@ var PIXI = (function (exports) {
21461
21476
  * String of the current PIXI version.
21462
21477
  * @memberof PIXI
21463
21478
  */
21464
- var VERSION = '6.5.2';
21479
+ var VERSION = '6.5.4';
21465
21480
 
21466
21481
  /*!
21467
- * @pixi/accessibility - v6.5.2
21468
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
21482
+ * @pixi/accessibility - v6.5.4
21483
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
21469
21484
  *
21470
21485
  * @pixi/accessibility is licensed under the MIT License.
21471
21486
  * http://www.opensource.org/licenses/mit-license
@@ -21989,8 +22004,8 @@ var PIXI = (function (exports) {
21989
22004
  }());
21990
22005
 
21991
22006
  /*!
21992
- * @pixi/interaction - v6.5.2
21993
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
22007
+ * @pixi/interaction - v6.5.4
22008
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
21994
22009
  *
21995
22010
  * @pixi/interaction is licensed under the MIT License.
21996
22011
  * http://www.opensource.org/licenses/mit-license
@@ -23631,6 +23646,8 @@ var PIXI = (function (exports) {
23631
23646
  * @param originalEvent - The DOM event of a pointer button being moved into the renderer view.
23632
23647
  */
23633
23648
  InteractionManager.prototype.onPointerOver = function (originalEvent) {
23649
+ if (this.supportsTouchEvents && originalEvent.pointerType === 'touch')
23650
+ { return; }
23634
23651
  var events = this.normalizeToPointerData(originalEvent);
23635
23652
  // Only mouse and pointer can call onPointerOver, so events will always be length 1
23636
23653
  var event = events[0];
@@ -23816,8 +23833,8 @@ var PIXI = (function (exports) {
23816
23833
  }(eventemitter3));
23817
23834
 
23818
23835
  /*!
23819
- * @pixi/extract - v6.5.2
23820
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
23836
+ * @pixi/extract - v6.5.4
23837
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
23821
23838
  *
23822
23839
  * @pixi/extract is licensed under the MIT License.
23823
23840
  * http://www.opensource.org/licenses/mit-license
@@ -24023,8 +24040,8 @@ var PIXI = (function (exports) {
24023
24040
  }());
24024
24041
 
24025
24042
  /*!
24026
- * @pixi/loaders - v6.5.2
24027
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
24043
+ * @pixi/loaders - v6.5.4
24044
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
24028
24045
  *
24029
24046
  * @pixi/loaders is licensed under the MIT License.
24030
24047
  * http://www.opensource.org/licenses/mit-license
@@ -25955,8 +25972,8 @@ var PIXI = (function (exports) {
25955
25972
  extensions.add(TextureLoader, ParsingLoader);
25956
25973
 
25957
25974
  /*!
25958
- * @pixi/compressed-textures - v6.5.2
25959
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
25975
+ * @pixi/compressed-textures - v6.5.4
25976
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
25960
25977
  *
25961
25978
  * @pixi/compressed-textures is licensed under the MIT License.
25962
25979
  * http://www.opensource.org/licenses/mit-license
@@ -27312,8 +27329,8 @@ var PIXI = (function (exports) {
27312
27329
  }());
27313
27330
 
27314
27331
  /*!
27315
- * @pixi/particle-container - v6.5.2
27316
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
27332
+ * @pixi/particle-container - v6.5.4
27333
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
27317
27334
  *
27318
27335
  * @pixi/particle-container is licensed under the MIT License.
27319
27336
  * http://www.opensource.org/licenses/mit-license
@@ -27974,8 +27991,8 @@ var PIXI = (function (exports) {
27974
27991
  }(ObjectRenderer));
27975
27992
 
27976
27993
  /*!
27977
- * @pixi/graphics - v6.5.2
27978
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
27994
+ * @pixi/graphics - v6.5.4
27995
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
27979
27996
  *
27980
27997
  * @pixi/graphics is licensed under the MIT License.
27981
27998
  * http://www.opensource.org/licenses/mit-license
@@ -30866,8 +30883,8 @@ var PIXI = (function (exports) {
30866
30883
  };
30867
30884
 
30868
30885
  /*!
30869
- * @pixi/sprite - v6.5.2
30870
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
30886
+ * @pixi/sprite - v6.5.4
30887
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
30871
30888
  *
30872
30889
  * @pixi/sprite is licensed under the MIT License.
30873
30890
  * http://www.opensource.org/licenses/mit-license
@@ -31312,8 +31329,8 @@ var PIXI = (function (exports) {
31312
31329
  }(Container));
31313
31330
 
31314
31331
  /*!
31315
- * @pixi/text - v6.5.2
31316
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
31332
+ * @pixi/text - v6.5.4
31333
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
31317
31334
  *
31318
31335
  * @pixi/text is licensed under the MIT License.
31319
31336
  * http://www.opensource.org/licenses/mit-license
@@ -33210,8 +33227,8 @@ var PIXI = (function (exports) {
33210
33227
  }(Sprite));
33211
33228
 
33212
33229
  /*!
33213
- * @pixi/prepare - v6.5.2
33214
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
33230
+ * @pixi/prepare - v6.5.4
33231
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
33215
33232
  *
33216
33233
  * @pixi/prepare is licensed under the MIT License.
33217
33234
  * http://www.opensource.org/licenses/mit-license
@@ -33743,8 +33760,8 @@ var PIXI = (function (exports) {
33743
33760
  }());
33744
33761
 
33745
33762
  /*!
33746
- * @pixi/spritesheet - v6.5.2
33747
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
33763
+ * @pixi/spritesheet - v6.5.4
33764
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
33748
33765
  *
33749
33766
  * @pixi/spritesheet is licensed under the MIT License.
33750
33767
  * http://www.opensource.org/licenses/mit-license
@@ -34065,8 +34082,8 @@ var PIXI = (function (exports) {
34065
34082
  }());
34066
34083
 
34067
34084
  /*!
34068
- * @pixi/sprite-tiling - v6.5.2
34069
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
34085
+ * @pixi/sprite-tiling - v6.5.4
34086
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
34070
34087
  *
34071
34088
  * @pixi/sprite-tiling is licensed under the MIT License.
34072
34089
  * http://www.opensource.org/licenses/mit-license
@@ -34419,8 +34436,8 @@ var PIXI = (function (exports) {
34419
34436
  }(ObjectRenderer));
34420
34437
 
34421
34438
  /*!
34422
- * @pixi/mesh - v6.5.2
34423
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
34439
+ * @pixi/mesh - v6.5.4
34440
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
34424
34441
  *
34425
34442
  * @pixi/mesh is licensed under the MIT License.
34426
34443
  * http://www.opensource.org/licenses/mit-license
@@ -34990,8 +35007,8 @@ var PIXI = (function (exports) {
34990
35007
  }(Geometry));
34991
35008
 
34992
35009
  /*!
34993
- * @pixi/text-bitmap - v6.5.2
34994
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
35010
+ * @pixi/text-bitmap - v6.5.4
35011
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
34995
35012
  *
34996
35013
  * @pixi/text-bitmap is licensed under the MIT License.
34997
35014
  * http://www.opensource.org/licenses/mit-license
@@ -35520,6 +35537,7 @@ var PIXI = (function (exports) {
35520
35537
  // only MSDF and SDF fonts need no-premultiplied-alpha
35521
35538
  if ((distanceField === null || distanceField === void 0 ? void 0 : distanceField.fieldType) && distanceField.fieldType !== 'none') {
35522
35539
  pageTextures[id].baseTexture.alphaMode = exports.ALPHA_MODES.NO_PREMULTIPLIED_ALPHA;
35540
+ pageTextures[id].baseTexture.mipmap = exports.MIPMAP_MODES.OFF;
35523
35541
  }
35524
35542
  }
35525
35543
  // parse letters
@@ -36193,7 +36211,7 @@ var PIXI = (function (exports) {
36193
36211
  var fontScale = this._fontSize / size;
36194
36212
  for (var _i = 0, _c = this._activePagesMeshData; _i < _c.length; _i++) {
36195
36213
  var mesh = _c[_i];
36196
- mesh.mesh.shader.uniforms.uFWidth = worldScale * distanceFieldRange * fontScale * this._resolution;
36214
+ mesh.mesh.shader.uniforms.uFWidth = Math.min(worldScale * distanceFieldRange * fontScale * this._resolution, 1.0);
36197
36215
  }
36198
36216
  }
36199
36217
  _super.prototype._render.call(this, renderer);
@@ -36582,8 +36600,8 @@ var PIXI = (function (exports) {
36582
36600
  }());
36583
36601
 
36584
36602
  /*!
36585
- * @pixi/filter-alpha - v6.5.2
36586
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
36603
+ * @pixi/filter-alpha - v6.5.4
36604
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
36587
36605
  *
36588
36606
  * @pixi/filter-alpha is licensed under the MIT License.
36589
36607
  * http://www.opensource.org/licenses/mit-license
@@ -36663,8 +36681,8 @@ var PIXI = (function (exports) {
36663
36681
  }(Filter));
36664
36682
 
36665
36683
  /*!
36666
- * @pixi/filter-blur - v6.5.2
36667
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
36684
+ * @pixi/filter-blur - v6.5.4
36685
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
36668
36686
  *
36669
36687
  * @pixi/filter-blur is licensed under the MIT License.
36670
36688
  * http://www.opensource.org/licenses/mit-license
@@ -36761,8 +36779,8 @@ var PIXI = (function (exports) {
36761
36779
  }
36762
36780
 
36763
36781
  /*!
36764
- * @pixi/constants - v6.5.2
36765
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
36782
+ * @pixi/constants - v6.5.4
36783
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
36766
36784
  *
36767
36785
  * @pixi/constants is licensed under the MIT License.
36768
36786
  * http://www.opensource.org/licenses/mit-license
@@ -37544,8 +37562,8 @@ var PIXI = (function (exports) {
37544
37562
  }(Filter));
37545
37563
 
37546
37564
  /*!
37547
- * @pixi/filter-color-matrix - v6.5.2
37548
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
37565
+ * @pixi/filter-color-matrix - v6.5.4
37566
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
37549
37567
  *
37550
37568
  * @pixi/filter-color-matrix is licensed under the MIT License.
37551
37569
  * http://www.opensource.org/licenses/mit-license
@@ -38057,8 +38075,8 @@ var PIXI = (function (exports) {
38057
38075
  ColorMatrixFilter.prototype.grayscale = ColorMatrixFilter.prototype.greyscale;
38058
38076
 
38059
38077
  /*!
38060
- * @pixi/filter-displacement - v6.5.2
38061
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
38078
+ * @pixi/filter-displacement - v6.5.4
38079
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
38062
38080
  *
38063
38081
  * @pixi/filter-displacement is licensed under the MIT License.
38064
38082
  * http://www.opensource.org/licenses/mit-license
@@ -38180,8 +38198,8 @@ var PIXI = (function (exports) {
38180
38198
  }(Filter));
38181
38199
 
38182
38200
  /*!
38183
- * @pixi/filter-fxaa - v6.5.2
38184
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
38201
+ * @pixi/filter-fxaa - v6.5.4
38202
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
38185
38203
  *
38186
38204
  * @pixi/filter-fxaa is licensed under the MIT License.
38187
38205
  * http://www.opensource.org/licenses/mit-license
@@ -38236,8 +38254,8 @@ var PIXI = (function (exports) {
38236
38254
  }(Filter));
38237
38255
 
38238
38256
  /*!
38239
- * @pixi/filter-noise - v6.5.2
38240
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
38257
+ * @pixi/filter-noise - v6.5.4
38258
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
38241
38259
  *
38242
38260
  * @pixi/filter-noise is licensed under the MIT License.
38243
38261
  * http://www.opensource.org/licenses/mit-license
@@ -38327,16 +38345,16 @@ var PIXI = (function (exports) {
38327
38345
  }(Filter));
38328
38346
 
38329
38347
  /*!
38330
- * @pixi/mixin-cache-as-bitmap - v6.5.2
38331
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
38348
+ * @pixi/mixin-cache-as-bitmap - v6.5.4
38349
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
38332
38350
  *
38333
38351
  * @pixi/mixin-cache-as-bitmap is licensed under the MIT License.
38334
38352
  * http://www.opensource.org/licenses/mit-license
38335
38353
  */
38336
38354
 
38337
38355
  /*!
38338
- * @pixi/constants - v6.5.2
38339
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
38356
+ * @pixi/constants - v6.5.4
38357
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
38340
38358
  *
38341
38359
  * @pixi/constants is licensed under the MIT License.
38342
38360
  * http://www.opensource.org/licenses/mit-license
@@ -39214,8 +39232,8 @@ var PIXI = (function (exports) {
39214
39232
  };
39215
39233
 
39216
39234
  /*!
39217
- * @pixi/mixin-get-child-by-name - v6.5.2
39218
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
39235
+ * @pixi/mixin-get-child-by-name - v6.5.4
39236
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
39219
39237
  *
39220
39238
  * @pixi/mixin-get-child-by-name is licensed under the MIT License.
39221
39239
  * http://www.opensource.org/licenses/mit-license
@@ -39259,8 +39277,8 @@ var PIXI = (function (exports) {
39259
39277
  };
39260
39278
 
39261
39279
  /*!
39262
- * @pixi/mixin-get-global-position - v6.5.2
39263
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
39280
+ * @pixi/mixin-get-global-position - v6.5.4
39281
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
39264
39282
  *
39265
39283
  * @pixi/mixin-get-global-position is licensed under the MIT License.
39266
39284
  * http://www.opensource.org/licenses/mit-license
@@ -39290,8 +39308,8 @@ var PIXI = (function (exports) {
39290
39308
  };
39291
39309
 
39292
39310
  /*!
39293
- * @pixi/app - v6.5.2
39294
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
39311
+ * @pixi/app - v6.5.4
39312
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
39295
39313
  *
39296
39314
  * @pixi/app is licensed under the MIT License.
39297
39315
  * http://www.opensource.org/licenses/mit-license
@@ -39413,15 +39431,15 @@ var PIXI = (function (exports) {
39413
39431
  }());
39414
39432
 
39415
39433
  /*!
39416
- * @pixi/settings - v6.5.2
39417
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
39434
+ * @pixi/settings - v6.5.4
39435
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
39418
39436
  *
39419
39437
  * @pixi/settings is licensed under the MIT License.
39420
39438
  * http://www.opensource.org/licenses/mit-license
39421
39439
  */
39422
39440
  /*!
39423
- * @pixi/constants - v6.5.2
39424
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
39441
+ * @pixi/constants - v6.5.4
39442
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
39425
39443
  *
39426
39444
  * @pixi/constants is licensed under the MIT License.
39427
39445
  * http://www.opensource.org/licenses/mit-license
@@ -41341,8 +41359,8 @@ var PIXI = (function (exports) {
41341
41359
  });
41342
41360
 
41343
41361
  /*!
41344
- * @pixi/constants - v6.5.2
41345
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
41362
+ * @pixi/constants - v6.5.4
41363
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
41346
41364
  *
41347
41365
  * @pixi/constants is licensed under the MIT License.
41348
41366
  * http://www.opensource.org/licenses/mit-license
@@ -41855,8 +41873,8 @@ var PIXI = (function (exports) {
41855
41873
  })(BUFFER_TYPE || (BUFFER_TYPE = {}));
41856
41874
 
41857
41875
  /*!
41858
- * @pixi/utils - v6.5.2
41859
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
41876
+ * @pixi/utils - v6.5.4
41877
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
41860
41878
  *
41861
41879
  * @pixi/utils is licensed under the MIT License.
41862
41880
  * http://www.opensource.org/licenses/mit-license
@@ -42187,8 +42205,8 @@ var PIXI = (function (exports) {
42187
42205
  extensions.add(ResizePlugin);
42188
42206
 
42189
42207
  /*!
42190
- * @pixi/mesh-extras - v6.5.2
42191
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
42208
+ * @pixi/mesh-extras - v6.5.4
42209
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
42192
42210
  *
42193
42211
  * @pixi/mesh-extras is licensed under the MIT License.
42194
42212
  * http://www.opensource.org/licenses/mit-license
@@ -42811,8 +42829,8 @@ var PIXI = (function (exports) {
42811
42829
  }(SimplePlane));
42812
42830
 
42813
42831
  /*!
42814
- * @pixi/sprite-animated - v6.5.2
42815
- * Compiled Wed, 24 Aug 2022 13:51:19 UTC
42832
+ * @pixi/sprite-animated - v6.5.4
42833
+ * Compiled Wed, 21 Sep 2022 14:49:15 UTC
42816
42834
  *
42817
42835
  * @pixi/sprite-animated is licensed under the MIT License.
42818
42836
  * http://www.opensource.org/licenses/mit-license