pixi.js 6.5.1 → 6.5.2
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/browser/pixi.js +615 -100
- package/dist/browser/pixi.js.map +1 -1
- package/dist/browser/pixi.min.js +3 -3
- package/dist/browser/pixi.min.js.map +1 -1
- package/dist/browser/pixi.min.mjs +3 -3
- package/dist/browser/pixi.min.mjs.map +1 -1
- package/dist/browser/pixi.mjs +615 -100
- package/dist/browser/pixi.mjs.map +1 -1
- package/dist/cjs/pixi.js +2 -2
- package/dist/cjs/pixi.min.js +2 -2
- package/dist/esm/pixi.min.mjs +2 -2
- package/dist/esm/pixi.mjs +2 -2
- package/package.json +38 -38
package/dist/browser/pixi.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* pixi.js - v6.5.
|
|
3
|
-
* Compiled
|
|
2
|
+
* pixi.js - v6.5.2
|
|
3
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 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.
|
|
427
|
-
* Compiled
|
|
426
|
+
* @pixi/polyfill - v6.5.2
|
|
427
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 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.
|
|
551
|
-
* Compiled
|
|
550
|
+
* @pixi/settings - v6.5.2
|
|
551
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 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.
|
|
558
|
-
* Compiled
|
|
557
|
+
* @pixi/constants - v6.5.2
|
|
558
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
559
559
|
*
|
|
560
560
|
* @pixi/constants is licensed under the MIT License.
|
|
561
561
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -1082,7 +1082,7 @@ var PIXI = (function (exports) {
|
|
|
1082
1082
|
},
|
|
1083
1083
|
getWebGLRenderingContext: function () { return WebGLRenderingContext; },
|
|
1084
1084
|
getNavigator: function () { return navigator; },
|
|
1085
|
-
getBaseUrl: function () { var _a; return (_a = document.baseURI) !== null && _a !== void 0 ? _a : window.location.href; },
|
|
1085
|
+
getBaseUrl: function () { var _a; return ((_a = document.baseURI) !== null && _a !== void 0 ? _a : window.location.href); },
|
|
1086
1086
|
fetch: function (url, options) { return fetch(url, options); },
|
|
1087
1087
|
};
|
|
1088
1088
|
|
|
@@ -3995,8 +3995,8 @@ var PIXI = (function (exports) {
|
|
|
3995
3995
|
};
|
|
3996
3996
|
|
|
3997
3997
|
/*!
|
|
3998
|
-
* @pixi/constants - v6.5.
|
|
3999
|
-
* Compiled
|
|
3998
|
+
* @pixi/constants - v6.5.2
|
|
3999
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 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.
|
|
4513
|
-
* Compiled
|
|
4512
|
+
* @pixi/utils - v6.5.2
|
|
4513
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
4514
4514
|
*
|
|
4515
4515
|
* @pixi/utils is licensed under the MIT License.
|
|
4516
4516
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -4528,6 +4528,519 @@ var PIXI = (function (exports) {
|
|
|
4528
4528
|
resolve: resolve,
|
|
4529
4529
|
};
|
|
4530
4530
|
|
|
4531
|
+
function assertPath(path) {
|
|
4532
|
+
if (typeof path !== 'string') {
|
|
4533
|
+
throw new TypeError("Path must be a string. Received " + JSON.stringify(path));
|
|
4534
|
+
}
|
|
4535
|
+
}
|
|
4536
|
+
function escapeRegExp(string) {
|
|
4537
|
+
return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); // $& means the whole matched string
|
|
4538
|
+
}
|
|
4539
|
+
function replaceAll(str, find, replace) {
|
|
4540
|
+
return str.replace(new RegExp(escapeRegExp(find), 'g'), replace);
|
|
4541
|
+
}
|
|
4542
|
+
// Resolves . and .. elements in a path with directory names
|
|
4543
|
+
function normalizeStringPosix(path, allowAboveRoot) {
|
|
4544
|
+
var res = '';
|
|
4545
|
+
var lastSegmentLength = 0;
|
|
4546
|
+
var lastSlash = -1;
|
|
4547
|
+
var dots = 0;
|
|
4548
|
+
var code;
|
|
4549
|
+
for (var i = 0; i <= path.length; ++i) {
|
|
4550
|
+
if (i < path.length) {
|
|
4551
|
+
code = path.charCodeAt(i);
|
|
4552
|
+
}
|
|
4553
|
+
else if (code === 47) {
|
|
4554
|
+
break;
|
|
4555
|
+
}
|
|
4556
|
+
else {
|
|
4557
|
+
code = 47;
|
|
4558
|
+
}
|
|
4559
|
+
if (code === 47) {
|
|
4560
|
+
if (lastSlash === i - 1 || dots === 1) { ; }
|
|
4561
|
+
else if (lastSlash !== i - 1 && dots === 2) {
|
|
4562
|
+
if (res.length < 2
|
|
4563
|
+
|| lastSegmentLength !== 2
|
|
4564
|
+
|| res.charCodeAt(res.length - 1) !== 46
|
|
4565
|
+
|| res.charCodeAt(res.length - 2) !== 46) {
|
|
4566
|
+
if (res.length > 2) {
|
|
4567
|
+
var lastSlashIndex = res.lastIndexOf('/');
|
|
4568
|
+
if (lastSlashIndex !== res.length - 1) {
|
|
4569
|
+
if (lastSlashIndex === -1) {
|
|
4570
|
+
res = '';
|
|
4571
|
+
lastSegmentLength = 0;
|
|
4572
|
+
}
|
|
4573
|
+
else {
|
|
4574
|
+
res = res.slice(0, lastSlashIndex);
|
|
4575
|
+
lastSegmentLength = res.length - 1 - res.lastIndexOf('/');
|
|
4576
|
+
}
|
|
4577
|
+
lastSlash = i;
|
|
4578
|
+
dots = 0;
|
|
4579
|
+
continue;
|
|
4580
|
+
}
|
|
4581
|
+
}
|
|
4582
|
+
else if (res.length === 2 || res.length === 1) {
|
|
4583
|
+
res = '';
|
|
4584
|
+
lastSegmentLength = 0;
|
|
4585
|
+
lastSlash = i;
|
|
4586
|
+
dots = 0;
|
|
4587
|
+
continue;
|
|
4588
|
+
}
|
|
4589
|
+
}
|
|
4590
|
+
if (allowAboveRoot) {
|
|
4591
|
+
if (res.length > 0) {
|
|
4592
|
+
res += '/..';
|
|
4593
|
+
}
|
|
4594
|
+
else {
|
|
4595
|
+
res = '..';
|
|
4596
|
+
}
|
|
4597
|
+
lastSegmentLength = 2;
|
|
4598
|
+
}
|
|
4599
|
+
}
|
|
4600
|
+
else {
|
|
4601
|
+
if (res.length > 0) {
|
|
4602
|
+
res += "/" + path.slice(lastSlash + 1, i);
|
|
4603
|
+
}
|
|
4604
|
+
else {
|
|
4605
|
+
res = path.slice(lastSlash + 1, i);
|
|
4606
|
+
}
|
|
4607
|
+
lastSegmentLength = i - lastSlash - 1;
|
|
4608
|
+
}
|
|
4609
|
+
lastSlash = i;
|
|
4610
|
+
dots = 0;
|
|
4611
|
+
}
|
|
4612
|
+
else if (code === 46 && dots !== -1) {
|
|
4613
|
+
++dots;
|
|
4614
|
+
}
|
|
4615
|
+
else {
|
|
4616
|
+
dots = -1;
|
|
4617
|
+
}
|
|
4618
|
+
}
|
|
4619
|
+
return res;
|
|
4620
|
+
}
|
|
4621
|
+
var path = {
|
|
4622
|
+
/**
|
|
4623
|
+
* Converts a path to posix format.
|
|
4624
|
+
* @param path - The path to convert to posix
|
|
4625
|
+
*/
|
|
4626
|
+
toPosix: function (path) { return replaceAll(path, '\\', '/'); },
|
|
4627
|
+
/**
|
|
4628
|
+
* Checks if the path is a URL
|
|
4629
|
+
* @param path - The path to check
|
|
4630
|
+
*/
|
|
4631
|
+
isUrl: function (path) { return (/^https?:/).test(this.toPosix(path)); },
|
|
4632
|
+
/**
|
|
4633
|
+
* Checks if the path is a data URL
|
|
4634
|
+
* @param path - The path to check
|
|
4635
|
+
*/
|
|
4636
|
+
isDataUrl: function (path) {
|
|
4637
|
+
// eslint-disable-next-line max-len
|
|
4638
|
+
return (/^data:([a-z]+\/[a-z0-9-+.]+(;[a-z0-9-.!#$%*+.{}|~`]+=[a-z0-9-.!#$%*+.{}()_|~`]+)*)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s<>]*?)$/i)
|
|
4639
|
+
.test(path);
|
|
4640
|
+
},
|
|
4641
|
+
/**
|
|
4642
|
+
* Checks if the path has a protocol e.g. http://
|
|
4643
|
+
* This will return true for windows file paths
|
|
4644
|
+
* @param path - The path to check
|
|
4645
|
+
*/
|
|
4646
|
+
hasProtocol: function (path) { return (/^[^/:]+:\//).test(this.toPosix(path)); },
|
|
4647
|
+
/**
|
|
4648
|
+
* Returns the protocol of the path e.g. http://, C:/, file:///
|
|
4649
|
+
* @param path - The path to get the protocol from
|
|
4650
|
+
*/
|
|
4651
|
+
getProtocol: function (path) {
|
|
4652
|
+
assertPath(path);
|
|
4653
|
+
path = this.toPosix(path);
|
|
4654
|
+
var protocol = '';
|
|
4655
|
+
var isFile = (/^file:\/\/\//).exec(path);
|
|
4656
|
+
var isHttp = (/^[^/:]+:\/\//).exec(path);
|
|
4657
|
+
var isWindows = (/^[^/:]+:\//).exec(path);
|
|
4658
|
+
if (isFile || isHttp || isWindows) {
|
|
4659
|
+
var arr = (isFile === null || isFile === void 0 ? void 0 : isFile[0]) || (isHttp === null || isHttp === void 0 ? void 0 : isHttp[0]) || (isWindows === null || isWindows === void 0 ? void 0 : isWindows[0]);
|
|
4660
|
+
protocol = arr;
|
|
4661
|
+
path = path.slice(arr.length);
|
|
4662
|
+
}
|
|
4663
|
+
return protocol;
|
|
4664
|
+
},
|
|
4665
|
+
/**
|
|
4666
|
+
* Converts URL to an absolute path.
|
|
4667
|
+
* When loading from a Web Worker, we must use absolute paths.
|
|
4668
|
+
* If the URL is already absolute we return it as is
|
|
4669
|
+
* If it's not, we convert it
|
|
4670
|
+
* @param url - The URL to test
|
|
4671
|
+
* @param customBaseUrl - The base URL to use
|
|
4672
|
+
* @param customRootUrl - The root URL to use
|
|
4673
|
+
*/
|
|
4674
|
+
toAbsolute: function (url, customBaseUrl, customRootUrl) {
|
|
4675
|
+
if (this.isDataUrl(url))
|
|
4676
|
+
{ 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));
|
|
4679
|
+
assertPath(url);
|
|
4680
|
+
url = this.toPosix(url);
|
|
4681
|
+
// root relative url
|
|
4682
|
+
if (url.startsWith('/')) {
|
|
4683
|
+
return path.join(rootUrl, url.slice(1));
|
|
4684
|
+
}
|
|
4685
|
+
var absolutePath = this.isAbsolute(url) ? url : this.join(baseUrl, url);
|
|
4686
|
+
return absolutePath;
|
|
4687
|
+
},
|
|
4688
|
+
/**
|
|
4689
|
+
* Normalizes the given path, resolving '..' and '.' segments
|
|
4690
|
+
* @param path - The path to normalize
|
|
4691
|
+
*/
|
|
4692
|
+
normalize: function (path) {
|
|
4693
|
+
path = this.toPosix(path);
|
|
4694
|
+
assertPath(path);
|
|
4695
|
+
if (path.length === 0)
|
|
4696
|
+
{ return '.'; }
|
|
4697
|
+
var protocol = '';
|
|
4698
|
+
var isAbsolute = path.startsWith('/');
|
|
4699
|
+
if (this.hasProtocol(path)) {
|
|
4700
|
+
protocol = this.rootname(path);
|
|
4701
|
+
path = path.slice(protocol.length);
|
|
4702
|
+
}
|
|
4703
|
+
var trailingSeparator = path.endsWith('/');
|
|
4704
|
+
// Normalize the path
|
|
4705
|
+
path = normalizeStringPosix(path, false);
|
|
4706
|
+
if (path.length > 0 && trailingSeparator)
|
|
4707
|
+
{ path += '/'; }
|
|
4708
|
+
if (isAbsolute)
|
|
4709
|
+
{ return "/" + path; }
|
|
4710
|
+
return protocol + path;
|
|
4711
|
+
},
|
|
4712
|
+
/**
|
|
4713
|
+
* Determines if path is an absolute path.
|
|
4714
|
+
* Absolute paths can be urls, data urls, or paths on disk
|
|
4715
|
+
* @param path - The path to test
|
|
4716
|
+
*/
|
|
4717
|
+
isAbsolute: function (path) {
|
|
4718
|
+
assertPath(path);
|
|
4719
|
+
path = this.toPosix(path);
|
|
4720
|
+
if (this.hasProtocol(path))
|
|
4721
|
+
{ return true; }
|
|
4722
|
+
return path.startsWith('/');
|
|
4723
|
+
},
|
|
4724
|
+
/**
|
|
4725
|
+
* Joins all given path segments together using the platform-specific separator as a delimiter,
|
|
4726
|
+
* then normalizes the resulting path
|
|
4727
|
+
* @param segments - The segments of the path to join
|
|
4728
|
+
*/
|
|
4729
|
+
join: function () {
|
|
4730
|
+
var arguments$1 = arguments;
|
|
4731
|
+
|
|
4732
|
+
var segments = [];
|
|
4733
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
4734
|
+
segments[_i] = arguments$1[_i];
|
|
4735
|
+
}
|
|
4736
|
+
if (segments.length === 0) {
|
|
4737
|
+
return '.';
|
|
4738
|
+
}
|
|
4739
|
+
var joined;
|
|
4740
|
+
for (var i = 0; i < segments.length; ++i) {
|
|
4741
|
+
var arg = segments[i];
|
|
4742
|
+
assertPath(arg);
|
|
4743
|
+
if (arg.length > 0) {
|
|
4744
|
+
if (joined === undefined)
|
|
4745
|
+
{ joined = arg; }
|
|
4746
|
+
else
|
|
4747
|
+
{ joined += "/" + arg; }
|
|
4748
|
+
}
|
|
4749
|
+
}
|
|
4750
|
+
if (joined === undefined) {
|
|
4751
|
+
return '.';
|
|
4752
|
+
}
|
|
4753
|
+
return this.normalize(joined);
|
|
4754
|
+
},
|
|
4755
|
+
/**
|
|
4756
|
+
* Returns the directory name of a path
|
|
4757
|
+
* @param path - The path to parse
|
|
4758
|
+
*/
|
|
4759
|
+
dirname: function (path) {
|
|
4760
|
+
assertPath(path);
|
|
4761
|
+
if (path.length === 0)
|
|
4762
|
+
{ return '.'; }
|
|
4763
|
+
path = this.toPosix(path);
|
|
4764
|
+
var code = path.charCodeAt(0);
|
|
4765
|
+
var hasRoot = code === 47;
|
|
4766
|
+
var end = -1;
|
|
4767
|
+
var matchedSlash = true;
|
|
4768
|
+
var proto = this.getProtocol(path);
|
|
4769
|
+
var origpath = path;
|
|
4770
|
+
path = path.slice(proto.length);
|
|
4771
|
+
for (var i = path.length - 1; i >= 1; --i) {
|
|
4772
|
+
code = path.charCodeAt(i);
|
|
4773
|
+
if (code === 47) {
|
|
4774
|
+
if (!matchedSlash) {
|
|
4775
|
+
end = i;
|
|
4776
|
+
break;
|
|
4777
|
+
}
|
|
4778
|
+
}
|
|
4779
|
+
else {
|
|
4780
|
+
// We saw the first non-path separator
|
|
4781
|
+
matchedSlash = false;
|
|
4782
|
+
}
|
|
4783
|
+
}
|
|
4784
|
+
// if end is -1 and its a url then we need to add the path back
|
|
4785
|
+
// eslint-disable-next-line no-nested-ternary
|
|
4786
|
+
if (end === -1)
|
|
4787
|
+
{ return hasRoot ? '/' : this.isUrl(origpath) ? proto + path : proto; }
|
|
4788
|
+
if (hasRoot && end === 1)
|
|
4789
|
+
{ return '//'; }
|
|
4790
|
+
return proto + path.slice(0, end);
|
|
4791
|
+
},
|
|
4792
|
+
/**
|
|
4793
|
+
* Returns the root of the path e.g. /, C:/, file:///, http://domain.com/
|
|
4794
|
+
* @param path - The path to parse
|
|
4795
|
+
*/
|
|
4796
|
+
rootname: function (path) {
|
|
4797
|
+
assertPath(path);
|
|
4798
|
+
path = this.toPosix(path);
|
|
4799
|
+
var root = '';
|
|
4800
|
+
if (path.startsWith('/'))
|
|
4801
|
+
{ root = '/'; }
|
|
4802
|
+
else {
|
|
4803
|
+
root = this.getProtocol(path);
|
|
4804
|
+
}
|
|
4805
|
+
if (this.isUrl(path)) {
|
|
4806
|
+
// need to find the first path separator
|
|
4807
|
+
var index = path.indexOf('/', root.length);
|
|
4808
|
+
if (index !== -1) {
|
|
4809
|
+
root = path.slice(0, index);
|
|
4810
|
+
}
|
|
4811
|
+
else
|
|
4812
|
+
{ root = path; }
|
|
4813
|
+
if (!root.endsWith('/'))
|
|
4814
|
+
{ root += '/'; }
|
|
4815
|
+
}
|
|
4816
|
+
return root;
|
|
4817
|
+
},
|
|
4818
|
+
/**
|
|
4819
|
+
* Returns the last portion of a path
|
|
4820
|
+
* @param path - The path to test
|
|
4821
|
+
* @param ext - Optional extension to remove
|
|
4822
|
+
*/
|
|
4823
|
+
basename: function (path, ext) {
|
|
4824
|
+
assertPath(path);
|
|
4825
|
+
if (ext)
|
|
4826
|
+
{ assertPath(ext); }
|
|
4827
|
+
path = this.toPosix(path);
|
|
4828
|
+
var start = 0;
|
|
4829
|
+
var end = -1;
|
|
4830
|
+
var matchedSlash = true;
|
|
4831
|
+
var i;
|
|
4832
|
+
if (ext !== undefined && ext.length > 0 && ext.length <= path.length) {
|
|
4833
|
+
if (ext.length === path.length && ext === path)
|
|
4834
|
+
{ return ''; }
|
|
4835
|
+
var extIdx = ext.length - 1;
|
|
4836
|
+
var firstNonSlashEnd = -1;
|
|
4837
|
+
for (i = path.length - 1; i >= 0; --i) {
|
|
4838
|
+
var code = path.charCodeAt(i);
|
|
4839
|
+
if (code === 47) {
|
|
4840
|
+
// If we reached a path separator that was not part of a set of path
|
|
4841
|
+
// separators at the end of the string, stop now
|
|
4842
|
+
if (!matchedSlash) {
|
|
4843
|
+
start = i + 1;
|
|
4844
|
+
break;
|
|
4845
|
+
}
|
|
4846
|
+
}
|
|
4847
|
+
else {
|
|
4848
|
+
if (firstNonSlashEnd === -1) {
|
|
4849
|
+
// We saw the first non-path separator, remember this index in case
|
|
4850
|
+
// we need it if the extension ends up not matching
|
|
4851
|
+
matchedSlash = false;
|
|
4852
|
+
firstNonSlashEnd = i + 1;
|
|
4853
|
+
}
|
|
4854
|
+
if (extIdx >= 0) {
|
|
4855
|
+
// Try to match the explicit extension
|
|
4856
|
+
if (code === ext.charCodeAt(extIdx)) {
|
|
4857
|
+
if (--extIdx === -1) {
|
|
4858
|
+
// We matched the extension, so mark this as the end of our path
|
|
4859
|
+
// component
|
|
4860
|
+
end = i;
|
|
4861
|
+
}
|
|
4862
|
+
}
|
|
4863
|
+
else {
|
|
4864
|
+
// Extension does not match, so our result is the entire path
|
|
4865
|
+
// component
|
|
4866
|
+
extIdx = -1;
|
|
4867
|
+
end = firstNonSlashEnd;
|
|
4868
|
+
}
|
|
4869
|
+
}
|
|
4870
|
+
}
|
|
4871
|
+
}
|
|
4872
|
+
if (start === end)
|
|
4873
|
+
{ end = firstNonSlashEnd; }
|
|
4874
|
+
else if (end === -1)
|
|
4875
|
+
{ end = path.length; }
|
|
4876
|
+
return path.slice(start, end);
|
|
4877
|
+
}
|
|
4878
|
+
for (i = path.length - 1; i >= 0; --i) {
|
|
4879
|
+
if (path.charCodeAt(i) === 47) {
|
|
4880
|
+
// If we reached a path separator that was not part of a set of path
|
|
4881
|
+
// separators at the end of the string, stop now
|
|
4882
|
+
if (!matchedSlash) {
|
|
4883
|
+
start = i + 1;
|
|
4884
|
+
break;
|
|
4885
|
+
}
|
|
4886
|
+
}
|
|
4887
|
+
else if (end === -1) {
|
|
4888
|
+
// We saw the first non-path separator, mark this as the end of our
|
|
4889
|
+
// path component
|
|
4890
|
+
matchedSlash = false;
|
|
4891
|
+
end = i + 1;
|
|
4892
|
+
}
|
|
4893
|
+
}
|
|
4894
|
+
if (end === -1)
|
|
4895
|
+
{ return ''; }
|
|
4896
|
+
return path.slice(start, end);
|
|
4897
|
+
},
|
|
4898
|
+
/**
|
|
4899
|
+
* Returns the extension of the path, from the last occurrence of the . (period) character to end of string in the last
|
|
4900
|
+
* portion of the path. If there is no . in the last portion of the path, or if there are no . characters other than
|
|
4901
|
+
* the first character of the basename of path, an empty string is returned.
|
|
4902
|
+
* @param path - The path to parse
|
|
4903
|
+
*/
|
|
4904
|
+
extname: function (path) {
|
|
4905
|
+
assertPath(path);
|
|
4906
|
+
path = this.toPosix(path);
|
|
4907
|
+
var startDot = -1;
|
|
4908
|
+
var startPart = 0;
|
|
4909
|
+
var end = -1;
|
|
4910
|
+
var matchedSlash = true;
|
|
4911
|
+
// Track the state of characters (if any) we see before our first dot and
|
|
4912
|
+
// after any path separator we find
|
|
4913
|
+
var preDotState = 0;
|
|
4914
|
+
for (var i = path.length - 1; i >= 0; --i) {
|
|
4915
|
+
var code = path.charCodeAt(i);
|
|
4916
|
+
if (code === 47) {
|
|
4917
|
+
// If we reached a path separator that was not part of a set of path
|
|
4918
|
+
// separators at the end of the string, stop now
|
|
4919
|
+
if (!matchedSlash) {
|
|
4920
|
+
startPart = i + 1;
|
|
4921
|
+
break;
|
|
4922
|
+
}
|
|
4923
|
+
continue;
|
|
4924
|
+
}
|
|
4925
|
+
if (end === -1) {
|
|
4926
|
+
// We saw the first non-path separator, mark this as the end of our
|
|
4927
|
+
// extension
|
|
4928
|
+
matchedSlash = false;
|
|
4929
|
+
end = i + 1;
|
|
4930
|
+
}
|
|
4931
|
+
if (code === 46) {
|
|
4932
|
+
// If this is our first dot, mark it as the start of our extension
|
|
4933
|
+
if (startDot === -1)
|
|
4934
|
+
{ startDot = i; }
|
|
4935
|
+
else if (preDotState !== 1)
|
|
4936
|
+
{ preDotState = 1; }
|
|
4937
|
+
}
|
|
4938
|
+
else if (startDot !== -1) {
|
|
4939
|
+
// We saw a non-dot and non-path separator before our dot, so we should
|
|
4940
|
+
// have a good chance at having a non-empty extension
|
|
4941
|
+
preDotState = -1;
|
|
4942
|
+
}
|
|
4943
|
+
}
|
|
4944
|
+
if (startDot === -1 || end === -1
|
|
4945
|
+
// We saw a non-dot character immediately before the dot
|
|
4946
|
+
|| preDotState === 0
|
|
4947
|
+
// The (right-most) trimmed path component is exactly '..'
|
|
4948
|
+
// eslint-disable-next-line no-mixed-operators
|
|
4949
|
+
|| preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
|
|
4950
|
+
return '';
|
|
4951
|
+
}
|
|
4952
|
+
return path.slice(startDot, end);
|
|
4953
|
+
},
|
|
4954
|
+
/**
|
|
4955
|
+
* Parses a path into an object containing the 'root', `dir`, `base`, `ext`, and `name` properties.
|
|
4956
|
+
* @param path - The path to parse
|
|
4957
|
+
*/
|
|
4958
|
+
parse: function (path) {
|
|
4959
|
+
assertPath(path);
|
|
4960
|
+
var ret = { root: '', dir: '', base: '', ext: '', name: '' };
|
|
4961
|
+
if (path.length === 0)
|
|
4962
|
+
{ return ret; }
|
|
4963
|
+
path = this.toPosix(path);
|
|
4964
|
+
var code = path.charCodeAt(0);
|
|
4965
|
+
var isAbsolute = this.isAbsolute(path);
|
|
4966
|
+
var start;
|
|
4967
|
+
ret.root = this.rootname(path);
|
|
4968
|
+
if (isAbsolute || this.hasProtocol(path)) {
|
|
4969
|
+
start = 1;
|
|
4970
|
+
}
|
|
4971
|
+
else {
|
|
4972
|
+
start = 0;
|
|
4973
|
+
}
|
|
4974
|
+
var startDot = -1;
|
|
4975
|
+
var startPart = 0;
|
|
4976
|
+
var end = -1;
|
|
4977
|
+
var matchedSlash = true;
|
|
4978
|
+
var i = path.length - 1;
|
|
4979
|
+
// Track the state of characters (if any) we see before our first dot and
|
|
4980
|
+
// after any path separator we find
|
|
4981
|
+
var preDotState = 0;
|
|
4982
|
+
// Get non-dir info
|
|
4983
|
+
for (; i >= start; --i) {
|
|
4984
|
+
code = path.charCodeAt(i);
|
|
4985
|
+
if (code === 47) {
|
|
4986
|
+
// If we reached a path separator that was not part of a set of path
|
|
4987
|
+
// separators at the end of the string, stop now
|
|
4988
|
+
if (!matchedSlash) {
|
|
4989
|
+
startPart = i + 1;
|
|
4990
|
+
break;
|
|
4991
|
+
}
|
|
4992
|
+
continue;
|
|
4993
|
+
}
|
|
4994
|
+
if (end === -1) {
|
|
4995
|
+
// We saw the first non-path separator, mark this as the end of our
|
|
4996
|
+
// extension
|
|
4997
|
+
matchedSlash = false;
|
|
4998
|
+
end = i + 1;
|
|
4999
|
+
}
|
|
5000
|
+
if (code === 46) {
|
|
5001
|
+
// If this is our first dot, mark it as the start of our extension
|
|
5002
|
+
if (startDot === -1)
|
|
5003
|
+
{ startDot = i; }
|
|
5004
|
+
else if (preDotState !== 1)
|
|
5005
|
+
{ preDotState = 1; }
|
|
5006
|
+
}
|
|
5007
|
+
else if (startDot !== -1) {
|
|
5008
|
+
// We saw a non-dot and non-path separator before our dot, so we should
|
|
5009
|
+
// have a good chance at having a non-empty extension
|
|
5010
|
+
preDotState = -1;
|
|
5011
|
+
}
|
|
5012
|
+
}
|
|
5013
|
+
if (startDot === -1 || end === -1
|
|
5014
|
+
// We saw a non-dot character immediately before the dot
|
|
5015
|
+
|| preDotState === 0
|
|
5016
|
+
// The (right-most) trimmed path component is exactly '..'
|
|
5017
|
+
// eslint-disable-next-line no-mixed-operators
|
|
5018
|
+
|| preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
|
|
5019
|
+
if (end !== -1) {
|
|
5020
|
+
if (startPart === 0 && isAbsolute)
|
|
5021
|
+
{ ret.base = ret.name = path.slice(1, end); }
|
|
5022
|
+
else
|
|
5023
|
+
{ ret.base = ret.name = path.slice(startPart, end); }
|
|
5024
|
+
}
|
|
5025
|
+
}
|
|
5026
|
+
else {
|
|
5027
|
+
if (startPart === 0 && isAbsolute) {
|
|
5028
|
+
ret.name = path.slice(1, startDot);
|
|
5029
|
+
ret.base = path.slice(1, end);
|
|
5030
|
+
}
|
|
5031
|
+
else {
|
|
5032
|
+
ret.name = path.slice(startPart, startDot);
|
|
5033
|
+
ret.base = path.slice(startPart, end);
|
|
5034
|
+
}
|
|
5035
|
+
ret.ext = path.slice(startDot, end);
|
|
5036
|
+
}
|
|
5037
|
+
ret.dir = this.dirname(path);
|
|
5038
|
+
return ret;
|
|
5039
|
+
},
|
|
5040
|
+
sep: '/',
|
|
5041
|
+
delimiter: ':'
|
|
5042
|
+
};
|
|
5043
|
+
|
|
4531
5044
|
/**
|
|
4532
5045
|
* The prefix that denotes a URL is for a retina asset.
|
|
4533
5046
|
* @static
|
|
@@ -4566,7 +5079,7 @@ var PIXI = (function (exports) {
|
|
|
4566
5079
|
settings$1.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT = false;
|
|
4567
5080
|
|
|
4568
5081
|
var saidHello = false;
|
|
4569
|
-
var VERSION$1 = '6.5.
|
|
5082
|
+
var VERSION$1 = '6.5.2';
|
|
4570
5083
|
/**
|
|
4571
5084
|
* Skips the hello message of renderers that are created after this is run.
|
|
4572
5085
|
* @function skipHello
|
|
@@ -5676,6 +6189,7 @@ var PIXI = (function (exports) {
|
|
|
5676
6189
|
isWebGLSupported: isWebGLSupported,
|
|
5677
6190
|
log2: log2,
|
|
5678
6191
|
nextPow2: nextPow2,
|
|
6192
|
+
path: path,
|
|
5679
6193
|
premultiplyBlendMode: premultiplyBlendMode,
|
|
5680
6194
|
premultiplyRgba: premultiplyRgba,
|
|
5681
6195
|
premultiplyTint: premultiplyTint,
|
|
@@ -5695,8 +6209,8 @@ var PIXI = (function (exports) {
|
|
|
5695
6209
|
};
|
|
5696
6210
|
|
|
5697
6211
|
/*!
|
|
5698
|
-
* @pixi/math - v6.5.
|
|
5699
|
-
* Compiled
|
|
6212
|
+
* @pixi/math - v6.5.2
|
|
6213
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
5700
6214
|
*
|
|
5701
6215
|
* @pixi/math is licensed under the MIT License.
|
|
5702
6216
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -7278,8 +7792,8 @@ var PIXI = (function (exports) {
|
|
|
7278
7792
|
}());
|
|
7279
7793
|
|
|
7280
7794
|
/*!
|
|
7281
|
-
* @pixi/display - v6.5.
|
|
7282
|
-
* Compiled
|
|
7795
|
+
* @pixi/display - v6.5.2
|
|
7796
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
7283
7797
|
*
|
|
7284
7798
|
* @pixi/display is licensed under the MIT License.
|
|
7285
7799
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -8457,8 +8971,8 @@ var PIXI = (function (exports) {
|
|
|
8457
8971
|
DisplayObject.prototype.displayObjectUpdateTransform = DisplayObject.prototype.updateTransform;
|
|
8458
8972
|
|
|
8459
8973
|
/*!
|
|
8460
|
-
* @pixi/constants - v6.5.
|
|
8461
|
-
* Compiled
|
|
8974
|
+
* @pixi/constants - v6.5.2
|
|
8975
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
8462
8976
|
*
|
|
8463
8977
|
* @pixi/constants is licensed under the MIT License.
|
|
8464
8978
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -9027,9 +9541,9 @@ var PIXI = (function (exports) {
|
|
|
9027
9541
|
*/
|
|
9028
9542
|
/**
|
|
9029
9543
|
* Fired when a DisplayObject is removed from this Container.
|
|
9030
|
-
* @event PIXI.DisplayObject#
|
|
9544
|
+
* @event PIXI.DisplayObject#childRemoved
|
|
9031
9545
|
* @param {PIXI.DisplayObject} child - The child removed from the Container.
|
|
9032
|
-
* @param {PIXI.Container} container - The container that removed
|
|
9546
|
+
* @param {PIXI.Container} container - The container that removed the child.
|
|
9033
9547
|
* @param {number} index - The former children's index of the removed child
|
|
9034
9548
|
*/
|
|
9035
9549
|
}
|
|
@@ -9566,8 +10080,8 @@ var PIXI = (function (exports) {
|
|
|
9566
10080
|
Container.prototype.containerUpdateTransform = Container.prototype.updateTransform;
|
|
9567
10081
|
|
|
9568
10082
|
/*!
|
|
9569
|
-
* @pixi/extensions - v6.5.
|
|
9570
|
-
* Compiled
|
|
10083
|
+
* @pixi/extensions - v6.5.2
|
|
10084
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
9571
10085
|
*
|
|
9572
10086
|
* @pixi/extensions is licensed under the MIT License.
|
|
9573
10087
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -9768,8 +10282,8 @@ var PIXI = (function (exports) {
|
|
|
9768
10282
|
};
|
|
9769
10283
|
|
|
9770
10284
|
/*!
|
|
9771
|
-
* @pixi/runner - v6.5.
|
|
9772
|
-
* Compiled
|
|
10285
|
+
* @pixi/runner - v6.5.2
|
|
10286
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
9773
10287
|
*
|
|
9774
10288
|
* @pixi/runner is licensed under the MIT License.
|
|
9775
10289
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -9952,8 +10466,8 @@ var PIXI = (function (exports) {
|
|
|
9952
10466
|
});
|
|
9953
10467
|
|
|
9954
10468
|
/*!
|
|
9955
|
-
* @pixi/ticker - v6.5.
|
|
9956
|
-
* Compiled
|
|
10469
|
+
* @pixi/ticker - v6.5.2
|
|
10470
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
9957
10471
|
*
|
|
9958
10472
|
* @pixi/ticker is licensed under the MIT License.
|
|
9959
10473
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -10659,8 +11173,8 @@ var PIXI = (function (exports) {
|
|
|
10659
11173
|
}());
|
|
10660
11174
|
|
|
10661
11175
|
/*!
|
|
10662
|
-
* @pixi/core - v6.5.
|
|
10663
|
-
* Compiled
|
|
11176
|
+
* @pixi/core - v6.5.2
|
|
11177
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
10664
11178
|
*
|
|
10665
11179
|
* @pixi/core is licensed under the MIT License.
|
|
10666
11180
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -12131,7 +12645,7 @@ var PIXI = (function (exports) {
|
|
|
12131
12645
|
function SVGResource(sourceBase64, options) {
|
|
12132
12646
|
var _this = this;
|
|
12133
12647
|
options = options || {};
|
|
12134
|
-
_this = _super.call(this,
|
|
12648
|
+
_this = _super.call(this, settings$1.ADAPTER.createCanvas()) || this;
|
|
12135
12649
|
_this._width = 0;
|
|
12136
12650
|
_this._height = 0;
|
|
12137
12651
|
_this.svg = sourceBase64;
|
|
@@ -20947,11 +21461,11 @@ var PIXI = (function (exports) {
|
|
|
20947
21461
|
* String of the current PIXI version.
|
|
20948
21462
|
* @memberof PIXI
|
|
20949
21463
|
*/
|
|
20950
|
-
var VERSION = '6.5.
|
|
21464
|
+
var VERSION = '6.5.2';
|
|
20951
21465
|
|
|
20952
21466
|
/*!
|
|
20953
|
-
* @pixi/accessibility - v6.5.
|
|
20954
|
-
* Compiled
|
|
21467
|
+
* @pixi/accessibility - v6.5.2
|
|
21468
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
20955
21469
|
*
|
|
20956
21470
|
* @pixi/accessibility is licensed under the MIT License.
|
|
20957
21471
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -21475,8 +21989,8 @@ var PIXI = (function (exports) {
|
|
|
21475
21989
|
}());
|
|
21476
21990
|
|
|
21477
21991
|
/*!
|
|
21478
|
-
* @pixi/interaction - v6.5.
|
|
21479
|
-
* Compiled
|
|
21992
|
+
* @pixi/interaction - v6.5.2
|
|
21993
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
21480
21994
|
*
|
|
21481
21995
|
* @pixi/interaction is licensed under the MIT License.
|
|
21482
21996
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -23302,8 +23816,8 @@ var PIXI = (function (exports) {
|
|
|
23302
23816
|
}(eventemitter3));
|
|
23303
23817
|
|
|
23304
23818
|
/*!
|
|
23305
|
-
* @pixi/extract - v6.5.
|
|
23306
|
-
* Compiled
|
|
23819
|
+
* @pixi/extract - v6.5.2
|
|
23820
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
23307
23821
|
*
|
|
23308
23822
|
* @pixi/extract is licensed under the MIT License.
|
|
23309
23823
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -23509,8 +24023,8 @@ var PIXI = (function (exports) {
|
|
|
23509
24023
|
}());
|
|
23510
24024
|
|
|
23511
24025
|
/*!
|
|
23512
|
-
* @pixi/loaders - v6.5.
|
|
23513
|
-
* Compiled
|
|
24026
|
+
* @pixi/loaders - v6.5.2
|
|
24027
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
23514
24028
|
*
|
|
23515
24029
|
* @pixi/loaders is licensed under the MIT License.
|
|
23516
24030
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -25441,8 +25955,8 @@ var PIXI = (function (exports) {
|
|
|
25441
25955
|
extensions.add(TextureLoader, ParsingLoader);
|
|
25442
25956
|
|
|
25443
25957
|
/*!
|
|
25444
|
-
* @pixi/compressed-textures - v6.5.
|
|
25445
|
-
* Compiled
|
|
25958
|
+
* @pixi/compressed-textures - v6.5.2
|
|
25959
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
25446
25960
|
*
|
|
25447
25961
|
* @pixi/compressed-textures is licensed under the MIT License.
|
|
25448
25962
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -25976,7 +26490,7 @@ var PIXI = (function (exports) {
|
|
|
25976
26490
|
get: function () {
|
|
25977
26491
|
if (!CompressedTextureLoader._textureExtensions) {
|
|
25978
26492
|
// Auto-detect WebGL compressed-texture extensions
|
|
25979
|
-
var canvas =
|
|
26493
|
+
var canvas = settings$1.ADAPTER.createCanvas();
|
|
25980
26494
|
var gl = canvas.getContext('webgl');
|
|
25981
26495
|
if (!gl) {
|
|
25982
26496
|
console.warn('WebGL not available for compressed textures. Silently failing.');
|
|
@@ -26798,8 +27312,8 @@ var PIXI = (function (exports) {
|
|
|
26798
27312
|
}());
|
|
26799
27313
|
|
|
26800
27314
|
/*!
|
|
26801
|
-
* @pixi/particle-container - v6.5.
|
|
26802
|
-
* Compiled
|
|
27315
|
+
* @pixi/particle-container - v6.5.2
|
|
27316
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
26803
27317
|
*
|
|
26804
27318
|
* @pixi/particle-container is licensed under the MIT License.
|
|
26805
27319
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -27460,8 +27974,8 @@ var PIXI = (function (exports) {
|
|
|
27460
27974
|
}(ObjectRenderer));
|
|
27461
27975
|
|
|
27462
27976
|
/*!
|
|
27463
|
-
* @pixi/graphics - v6.5.
|
|
27464
|
-
* Compiled
|
|
27977
|
+
* @pixi/graphics - v6.5.2
|
|
27978
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
27465
27979
|
*
|
|
27466
27980
|
* @pixi/graphics is licensed under the MIT License.
|
|
27467
27981
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -29973,7 +30487,7 @@ var PIXI = (function (exports) {
|
|
|
29973
30487
|
};
|
|
29974
30488
|
/**
|
|
29975
30489
|
* Draws a polygon using the given path.
|
|
29976
|
-
* @param {number[]|PIXI.
|
|
30490
|
+
* @param {number[]|PIXI.IPointData[]|PIXI.Polygon} path - The path data used to construct the polygon.
|
|
29977
30491
|
* @returns - This Graphics object. Good for chaining method calls
|
|
29978
30492
|
*/
|
|
29979
30493
|
Graphics.prototype.drawPolygon = function () {
|
|
@@ -30352,8 +30866,8 @@ var PIXI = (function (exports) {
|
|
|
30352
30866
|
};
|
|
30353
30867
|
|
|
30354
30868
|
/*!
|
|
30355
|
-
* @pixi/sprite - v6.5.
|
|
30356
|
-
* Compiled
|
|
30869
|
+
* @pixi/sprite - v6.5.2
|
|
30870
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
30357
30871
|
*
|
|
30358
30872
|
* @pixi/sprite is licensed under the MIT License.
|
|
30359
30873
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -30798,8 +31312,8 @@ var PIXI = (function (exports) {
|
|
|
30798
31312
|
}(Container));
|
|
30799
31313
|
|
|
30800
31314
|
/*!
|
|
30801
|
-
* @pixi/text - v6.5.
|
|
30802
|
-
* Compiled
|
|
31315
|
+
* @pixi/text - v6.5.2
|
|
31316
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
30803
31317
|
*
|
|
30804
31318
|
* @pixi/text is licensed under the MIT License.
|
|
30805
31319
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -32696,8 +33210,8 @@ var PIXI = (function (exports) {
|
|
|
32696
33210
|
}(Sprite));
|
|
32697
33211
|
|
|
32698
33212
|
/*!
|
|
32699
|
-
* @pixi/prepare - v6.5.
|
|
32700
|
-
* Compiled
|
|
33213
|
+
* @pixi/prepare - v6.5.2
|
|
33214
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
32701
33215
|
*
|
|
32702
33216
|
* @pixi/prepare is licensed under the MIT License.
|
|
32703
33217
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -33229,8 +33743,8 @@ var PIXI = (function (exports) {
|
|
|
33229
33743
|
}());
|
|
33230
33744
|
|
|
33231
33745
|
/*!
|
|
33232
|
-
* @pixi/spritesheet - v6.5.
|
|
33233
|
-
* Compiled
|
|
33746
|
+
* @pixi/spritesheet - v6.5.2
|
|
33747
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
33234
33748
|
*
|
|
33235
33749
|
* @pixi/spritesheet is licensed under the MIT License.
|
|
33236
33750
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -33551,8 +34065,8 @@ var PIXI = (function (exports) {
|
|
|
33551
34065
|
}());
|
|
33552
34066
|
|
|
33553
34067
|
/*!
|
|
33554
|
-
* @pixi/sprite-tiling - v6.5.
|
|
33555
|
-
* Compiled
|
|
34068
|
+
* @pixi/sprite-tiling - v6.5.2
|
|
34069
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
33556
34070
|
*
|
|
33557
34071
|
* @pixi/sprite-tiling is licensed under the MIT License.
|
|
33558
34072
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -33905,8 +34419,8 @@ var PIXI = (function (exports) {
|
|
|
33905
34419
|
}(ObjectRenderer));
|
|
33906
34420
|
|
|
33907
34421
|
/*!
|
|
33908
|
-
* @pixi/mesh - v6.5.
|
|
33909
|
-
* Compiled
|
|
34422
|
+
* @pixi/mesh - v6.5.2
|
|
34423
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
33910
34424
|
*
|
|
33911
34425
|
* @pixi/mesh is licensed under the MIT License.
|
|
33912
34426
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -34476,8 +34990,8 @@ var PIXI = (function (exports) {
|
|
|
34476
34990
|
}(Geometry));
|
|
34477
34991
|
|
|
34478
34992
|
/*!
|
|
34479
|
-
* @pixi/text-bitmap - v6.5.
|
|
34480
|
-
* Compiled
|
|
34993
|
+
* @pixi/text-bitmap - v6.5.2
|
|
34994
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
34481
34995
|
*
|
|
34482
34996
|
* @pixi/text-bitmap is licensed under the MIT License.
|
|
34483
34997
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -35453,7 +35967,8 @@ var PIXI = (function (exports) {
|
|
|
35453
35967
|
charRenderData.position.y = pos.y + charData.yOffset;
|
|
35454
35968
|
charRenderData.prevSpaces = spaceCount;
|
|
35455
35969
|
chars.push(charRenderData);
|
|
35456
|
-
lastLineWidth = charRenderData.position.x
|
|
35970
|
+
lastLineWidth = charRenderData.position.x
|
|
35971
|
+
+ Math.max(charData.xAdvance - charData.xOffset, charData.texture.orig.width);
|
|
35457
35972
|
pos.x += charData.xAdvance + this._letterSpacing;
|
|
35458
35973
|
maxLineHeight = Math.max(maxLineHeight, (charData.yOffset + charData.texture.height));
|
|
35459
35974
|
prevCharCode = charCode;
|
|
@@ -36067,8 +36582,8 @@ var PIXI = (function (exports) {
|
|
|
36067
36582
|
}());
|
|
36068
36583
|
|
|
36069
36584
|
/*!
|
|
36070
|
-
* @pixi/filter-alpha - v6.5.
|
|
36071
|
-
* Compiled
|
|
36585
|
+
* @pixi/filter-alpha - v6.5.2
|
|
36586
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
36072
36587
|
*
|
|
36073
36588
|
* @pixi/filter-alpha is licensed under the MIT License.
|
|
36074
36589
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -36148,8 +36663,8 @@ var PIXI = (function (exports) {
|
|
|
36148
36663
|
}(Filter));
|
|
36149
36664
|
|
|
36150
36665
|
/*!
|
|
36151
|
-
* @pixi/filter-blur - v6.5.
|
|
36152
|
-
* Compiled
|
|
36666
|
+
* @pixi/filter-blur - v6.5.2
|
|
36667
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
36153
36668
|
*
|
|
36154
36669
|
* @pixi/filter-blur is licensed under the MIT License.
|
|
36155
36670
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -36246,8 +36761,8 @@ var PIXI = (function (exports) {
|
|
|
36246
36761
|
}
|
|
36247
36762
|
|
|
36248
36763
|
/*!
|
|
36249
|
-
* @pixi/constants - v6.5.
|
|
36250
|
-
* Compiled
|
|
36764
|
+
* @pixi/constants - v6.5.2
|
|
36765
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
36251
36766
|
*
|
|
36252
36767
|
* @pixi/constants is licensed under the MIT License.
|
|
36253
36768
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -37029,8 +37544,8 @@ var PIXI = (function (exports) {
|
|
|
37029
37544
|
}(Filter));
|
|
37030
37545
|
|
|
37031
37546
|
/*!
|
|
37032
|
-
* @pixi/filter-color-matrix - v6.5.
|
|
37033
|
-
* Compiled
|
|
37547
|
+
* @pixi/filter-color-matrix - v6.5.2
|
|
37548
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
37034
37549
|
*
|
|
37035
37550
|
* @pixi/filter-color-matrix is licensed under the MIT License.
|
|
37036
37551
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -37542,8 +38057,8 @@ var PIXI = (function (exports) {
|
|
|
37542
38057
|
ColorMatrixFilter.prototype.grayscale = ColorMatrixFilter.prototype.greyscale;
|
|
37543
38058
|
|
|
37544
38059
|
/*!
|
|
37545
|
-
* @pixi/filter-displacement - v6.5.
|
|
37546
|
-
* Compiled
|
|
38060
|
+
* @pixi/filter-displacement - v6.5.2
|
|
38061
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
37547
38062
|
*
|
|
37548
38063
|
* @pixi/filter-displacement is licensed under the MIT License.
|
|
37549
38064
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -37665,8 +38180,8 @@ var PIXI = (function (exports) {
|
|
|
37665
38180
|
}(Filter));
|
|
37666
38181
|
|
|
37667
38182
|
/*!
|
|
37668
|
-
* @pixi/filter-fxaa - v6.5.
|
|
37669
|
-
* Compiled
|
|
38183
|
+
* @pixi/filter-fxaa - v6.5.2
|
|
38184
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
37670
38185
|
*
|
|
37671
38186
|
* @pixi/filter-fxaa is licensed under the MIT License.
|
|
37672
38187
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -37721,8 +38236,8 @@ var PIXI = (function (exports) {
|
|
|
37721
38236
|
}(Filter));
|
|
37722
38237
|
|
|
37723
38238
|
/*!
|
|
37724
|
-
* @pixi/filter-noise - v6.5.
|
|
37725
|
-
* Compiled
|
|
38239
|
+
* @pixi/filter-noise - v6.5.2
|
|
38240
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
37726
38241
|
*
|
|
37727
38242
|
* @pixi/filter-noise is licensed under the MIT License.
|
|
37728
38243
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -37812,16 +38327,16 @@ var PIXI = (function (exports) {
|
|
|
37812
38327
|
}(Filter));
|
|
37813
38328
|
|
|
37814
38329
|
/*!
|
|
37815
|
-
* @pixi/mixin-cache-as-bitmap - v6.5.
|
|
37816
|
-
* Compiled
|
|
38330
|
+
* @pixi/mixin-cache-as-bitmap - v6.5.2
|
|
38331
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
37817
38332
|
*
|
|
37818
38333
|
* @pixi/mixin-cache-as-bitmap is licensed under the MIT License.
|
|
37819
38334
|
* http://www.opensource.org/licenses/mit-license
|
|
37820
38335
|
*/
|
|
37821
38336
|
|
|
37822
38337
|
/*!
|
|
37823
|
-
* @pixi/constants - v6.5.
|
|
37824
|
-
* Compiled
|
|
38338
|
+
* @pixi/constants - v6.5.2
|
|
38339
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
37825
38340
|
*
|
|
37826
38341
|
* @pixi/constants is licensed under the MIT License.
|
|
37827
38342
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -38699,8 +39214,8 @@ var PIXI = (function (exports) {
|
|
|
38699
39214
|
};
|
|
38700
39215
|
|
|
38701
39216
|
/*!
|
|
38702
|
-
* @pixi/mixin-get-child-by-name - v6.5.
|
|
38703
|
-
* Compiled
|
|
39217
|
+
* @pixi/mixin-get-child-by-name - v6.5.2
|
|
39218
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
38704
39219
|
*
|
|
38705
39220
|
* @pixi/mixin-get-child-by-name is licensed under the MIT License.
|
|
38706
39221
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -38744,8 +39259,8 @@ var PIXI = (function (exports) {
|
|
|
38744
39259
|
};
|
|
38745
39260
|
|
|
38746
39261
|
/*!
|
|
38747
|
-
* @pixi/mixin-get-global-position - v6.5.
|
|
38748
|
-
* Compiled
|
|
39262
|
+
* @pixi/mixin-get-global-position - v6.5.2
|
|
39263
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
38749
39264
|
*
|
|
38750
39265
|
* @pixi/mixin-get-global-position is licensed under the MIT License.
|
|
38751
39266
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -38775,8 +39290,8 @@ var PIXI = (function (exports) {
|
|
|
38775
39290
|
};
|
|
38776
39291
|
|
|
38777
39292
|
/*!
|
|
38778
|
-
* @pixi/app - v6.5.
|
|
38779
|
-
* Compiled
|
|
39293
|
+
* @pixi/app - v6.5.2
|
|
39294
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
38780
39295
|
*
|
|
38781
39296
|
* @pixi/app is licensed under the MIT License.
|
|
38782
39297
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -38898,15 +39413,15 @@ var PIXI = (function (exports) {
|
|
|
38898
39413
|
}());
|
|
38899
39414
|
|
|
38900
39415
|
/*!
|
|
38901
|
-
* @pixi/settings - v6.5.
|
|
38902
|
-
* Compiled
|
|
39416
|
+
* @pixi/settings - v6.5.2
|
|
39417
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
38903
39418
|
*
|
|
38904
39419
|
* @pixi/settings is licensed under the MIT License.
|
|
38905
39420
|
* http://www.opensource.org/licenses/mit-license
|
|
38906
39421
|
*/
|
|
38907
39422
|
/*!
|
|
38908
|
-
* @pixi/constants - v6.5.
|
|
38909
|
-
* Compiled
|
|
39423
|
+
* @pixi/constants - v6.5.2
|
|
39424
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
38910
39425
|
*
|
|
38911
39426
|
* @pixi/constants is licensed under the MIT License.
|
|
38912
39427
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -39433,7 +39948,7 @@ var PIXI = (function (exports) {
|
|
|
39433
39948
|
},
|
|
39434
39949
|
getWebGLRenderingContext: function () { return WebGLRenderingContext; },
|
|
39435
39950
|
getNavigator: function () { return navigator; },
|
|
39436
|
-
getBaseUrl: function () { var _a; return (_a = document.baseURI) !== null && _a !== void 0 ? _a : window.location.href; },
|
|
39951
|
+
getBaseUrl: function () { var _a; return ((_a = document.baseURI) !== null && _a !== void 0 ? _a : window.location.href); },
|
|
39437
39952
|
fetch: function (url, options) { return fetch(url, options); },
|
|
39438
39953
|
};
|
|
39439
39954
|
|
|
@@ -40826,8 +41341,8 @@ var PIXI = (function (exports) {
|
|
|
40826
41341
|
});
|
|
40827
41342
|
|
|
40828
41343
|
/*!
|
|
40829
|
-
* @pixi/constants - v6.5.
|
|
40830
|
-
* Compiled
|
|
41344
|
+
* @pixi/constants - v6.5.2
|
|
41345
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
40831
41346
|
*
|
|
40832
41347
|
* @pixi/constants is licensed under the MIT License.
|
|
40833
41348
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -41340,8 +41855,8 @@ var PIXI = (function (exports) {
|
|
|
41340
41855
|
})(BUFFER_TYPE || (BUFFER_TYPE = {}));
|
|
41341
41856
|
|
|
41342
41857
|
/*!
|
|
41343
|
-
* @pixi/utils - v6.5.
|
|
41344
|
-
* Compiled
|
|
41858
|
+
* @pixi/utils - v6.5.2
|
|
41859
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
41345
41860
|
*
|
|
41346
41861
|
* @pixi/utils is licensed under the MIT License.
|
|
41347
41862
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -41672,8 +42187,8 @@ var PIXI = (function (exports) {
|
|
|
41672
42187
|
extensions.add(ResizePlugin);
|
|
41673
42188
|
|
|
41674
42189
|
/*!
|
|
41675
|
-
* @pixi/mesh-extras - v6.5.
|
|
41676
|
-
* Compiled
|
|
42190
|
+
* @pixi/mesh-extras - v6.5.2
|
|
42191
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
41677
42192
|
*
|
|
41678
42193
|
* @pixi/mesh-extras is licensed under the MIT License.
|
|
41679
42194
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -42296,8 +42811,8 @@ var PIXI = (function (exports) {
|
|
|
42296
42811
|
}(SimplePlane));
|
|
42297
42812
|
|
|
42298
42813
|
/*!
|
|
42299
|
-
* @pixi/sprite-animated - v6.5.
|
|
42300
|
-
* Compiled
|
|
42814
|
+
* @pixi/sprite-animated - v6.5.2
|
|
42815
|
+
* Compiled Wed, 24 Aug 2022 13:51:19 UTC
|
|
42301
42816
|
*
|
|
42302
42817
|
* @pixi/sprite-animated is licensed under the MIT License.
|
|
42303
42818
|
* http://www.opensource.org/licenses/mit-license
|