Commit 1db39c8e authored by rockyl's avatar rockyl

。。。

parent 362fb7d9
...@@ -30,7 +30,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -30,7 +30,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
HashObject._object_id = 0; HashObject._object_id = 0;
return HashObject; return HashObject;
}()); }());
//# sourceMappingURL=HashObject.js.map
var Event = (function (_super) { var Event = (function (_super) {
tslib_1.__extends(Event, _super); tslib_1.__extends(Event, _super);
...@@ -91,7 +90,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -91,7 +90,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
Event.UPDATE_DATA = "UPDATE_DATA"; Event.UPDATE_DATA = "UPDATE_DATA";
return Event; return Event;
}(HashObject)); }(HashObject));
//# sourceMappingURL=Event.js.map
var EventDispatcher = (function (_super) { var EventDispatcher = (function (_super) {
tslib_1.__extends(EventDispatcher, _super); tslib_1.__extends(EventDispatcher, _super);
...@@ -295,7 +293,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -295,7 +293,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return EE; return EE;
}()); }());
//# sourceMappingURL=EventDispatcher.js.map
var ObservablePoint = (function (_super) { var ObservablePoint = (function (_super) {
tslib_1.__extends(ObservablePoint, _super); tslib_1.__extends(ObservablePoint, _super);
...@@ -359,7 +356,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -359,7 +356,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return ObservablePoint; return ObservablePoint;
}(HashObject)); }(HashObject));
//# sourceMappingURL=ObservablePoint.js.map
var Point = (function (_super) { var Point = (function (_super) {
tslib_1.__extends(Point, _super); tslib_1.__extends(Point, _super);
...@@ -396,7 +392,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -396,7 +392,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return Point; return Point;
}(HashObject)); }(HashObject));
//# sourceMappingURL=Point.js.map
var VERSION = "1.0"; var VERSION = "1.0";
var devicePixelRatio = window.devicePixelRatio ? window.devicePixelRatio : 1; var devicePixelRatio = window.devicePixelRatio ? window.devicePixelRatio : 1;
...@@ -559,7 +554,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -559,7 +554,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
SCROLL_DIRECTION["HORIZONTAL"] = "horizontal"; SCROLL_DIRECTION["HORIZONTAL"] = "horizontal";
SCROLL_DIRECTION["VERTICAL"] = "vertical"; SCROLL_DIRECTION["VERTICAL"] = "vertical";
})(exports.SCROLL_DIRECTION || (exports.SCROLL_DIRECTION = {})); })(exports.SCROLL_DIRECTION || (exports.SCROLL_DIRECTION = {}));
//# sourceMappingURL=const.js.map
var Matrix = (function (_super) { var Matrix = (function (_super) {
tslib_1.__extends(Matrix, _super); tslib_1.__extends(Matrix, _super);
...@@ -830,7 +824,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -830,7 +824,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return Matrix; return Matrix;
}(HashObject)); }(HashObject));
//# sourceMappingURL=Matrix.js.map
var Transform = (function (_super) { var Transform = (function (_super) {
tslib_1.__extends(Transform, _super); tslib_1.__extends(Transform, _super);
...@@ -938,7 +931,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -938,7 +931,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return Transform; return Transform;
}(HashObject)); }(HashObject));
//# sourceMappingURL=Transform.js.map
var Rectangle = (function (_super) { var Rectangle = (function (_super) {
tslib_1.__extends(Rectangle, _super); tslib_1.__extends(Rectangle, _super);
...@@ -1140,7 +1132,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -1140,7 +1132,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return Rectangle; return Rectangle;
}(HashObject)); }(HashObject));
//# sourceMappingURL=Rectangle.js.map
var DisplayObject = (function (_super) { var DisplayObject = (function (_super) {
tslib_1.__extends(DisplayObject, _super); tslib_1.__extends(DisplayObject, _super);
...@@ -1607,7 +1598,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -1607,7 +1598,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
GDispatcher.thisObjPool = {}; GDispatcher.thisObjPool = {};
return GDispatcher; return GDispatcher;
}()); }());
//# sourceMappingURL=GDispatcher.js.map
var MouseEvent = (function (_super) { var MouseEvent = (function (_super) {
tslib_1.__extends(MouseEvent, _super); tslib_1.__extends(MouseEvent, _super);
...@@ -1640,7 +1630,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -1640,7 +1630,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
MouseEvent.MOUSE_OUT = "onMouseOut"; MouseEvent.MOUSE_OUT = "onMouseOut";
return MouseEvent; return MouseEvent;
}(Event)); }(Event));
//# sourceMappingURL=MouseEvent.js.map
function applyAutoAdjust(ctor) { function applyAutoAdjust(ctor) {
ctor.prototype.applyAutoAdjust = function () { ctor.prototype.applyAutoAdjust = function () {
...@@ -1770,7 +1759,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -1770,7 +1759,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
function t(v) { function t(v) {
return !isNaN(v) && v !== null && v !== undefined; return !isNaN(v) && v !== null && v !== undefined;
} }
//# sourceMappingURL=auto-adjust.js.map
var ESCAPE_REG_EXP = /\$\{[\u4e00-\u9fa5_a-zA-Z0-9\|]+\}/g; var ESCAPE_REG_EXP = /\$\{[\u4e00-\u9fa5_a-zA-Z0-9\|]+\}/g;
var linkedFlag = '$_linked_$'; var linkedFlag = '$_linked_$';
...@@ -2025,7 +2013,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -2025,7 +2013,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
} }
} }
//# sourceMappingURL=utils.js.map
function transPoint(str, sep) { function transPoint(str, sep) {
if (sep === void 0) { sep = ','; } if (sep === void 0) { sep = ','; }
...@@ -2037,7 +2024,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -2037,7 +2024,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
} }
} }
//# sourceMappingURL=math.js.map
var rotateLeft = function (lValue, iShiftBits) { var rotateLeft = function (lValue, iShiftBits) {
return (lValue << iShiftBits) | (lValue >>> (32 - iShiftBits)); return (lValue << iShiftBits) | (lValue >>> (32 - iShiftBits));
...@@ -2229,7 +2215,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -2229,7 +2215,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
var tempValue = wordToHex(a) + wordToHex(b) + wordToHex(c) + wordToHex(d); var tempValue = wordToHex(a) + wordToHex(b) + wordToHex(c) + wordToHex(d);
return tempValue.toLowerCase(); return tempValue.toLowerCase();
} }
//# sourceMappingURL=md5.js.map
var ObjectPool = (function () { var ObjectPool = (function () {
function ObjectPool() { function ObjectPool() {
...@@ -2293,7 +2278,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -2293,7 +2278,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
ObjectPool.pools = {}; ObjectPool.pools = {};
return ObjectPool; return ObjectPool;
}()); }());
//# sourceMappingURL=ObjectPool.js.map
var scriptDefs = {}; var scriptDefs = {};
function applyScript(ctor) { function applyScript(ctor) {
...@@ -2436,7 +2420,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -2436,7 +2420,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return ScriptsProxy; return ScriptsProxy;
}()); }());
//# sourceMappingURL=scripts.js.map
var DataCenter = (function (_super) { var DataCenter = (function (_super) {
tslib_1.__extends(DataCenter, _super); tslib_1.__extends(DataCenter, _super);
...@@ -2565,7 +2548,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -2565,7 +2548,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
return DataCenter; return DataCenter;
}(EventDispatcher)); }(EventDispatcher));
var dataCenter = new DataCenter(); var dataCenter = new DataCenter();
//# sourceMappingURL=data-center.js.map
var env = {}; var env = {};
function injectEnv(data) { function injectEnv(data) {
...@@ -2576,7 +2558,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -2576,7 +2558,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
} }
} }
//# sourceMappingURL=enviroment.js.map
var storeKey = 'zlog-switch'; var storeKey = 'zlog-switch';
(function (Logs) { (function (Logs) {
...@@ -2594,7 +2575,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -2594,7 +2575,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
function getLogSwitch(id) { function getLogSwitch(id) {
return typeof store === 'object' ? store[id] : !!store; return typeof store === 'object' ? store[id] : !!store;
} }
//# sourceMappingURL=log-switch.js.map
var logConfig = getLogSwitch(exports.Logs.PROCESS); var logConfig = getLogSwitch(exports.Logs.PROCESS);
function logProcess(meta, vm, process) { function logProcess(meta, vm, process) {
...@@ -2891,7 +2871,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -2891,7 +2871,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
function warpAsyncScript(source) { function warpAsyncScript(source) {
return "return new Promise(function(resolve, reject){\n\t" + source + "\n\t\n\tfunction next(type, payload){resolve({type: type, payload: payload})}\n\t});"; return "return new Promise(function(resolve, reject){\n\t" + source + "\n\t\n\tfunction next(type, payload){resolve({type: type, payload: payload})}\n\t});";
} }
//# sourceMappingURL=Process.js.map
var ID_INK = 0; var ID_INK = 0;
var VM = (function () { var VM = (function () {
...@@ -2954,7 +2933,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -2954,7 +2933,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}); });
return VM; return VM;
}()); }());
//# sourceMappingURL=VM.js.map
var log = getLogSwitch(exports.Logs.PROCESS); var log = getLogSwitch(exports.Logs.PROCESS);
var processMetaLibs = []; var processMetaLibs = [];
...@@ -2999,7 +2977,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -2999,7 +2977,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
}); });
} }
//# sourceMappingURL=index.js.map
var _a; var _a;
var eventsMapping = (_a = {}, var eventsMapping = (_a = {},
...@@ -3098,7 +3075,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -3098,7 +3075,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return EventsProxy; return EventsProxy;
}(HashObject)); }(HashObject));
//# sourceMappingURL=events.js.map
function afterConstructor(ctor) { function afterConstructor(ctor) {
ctor.prototype.afterConstructor = function () { ctor.prototype.afterConstructor = function () {
...@@ -3107,7 +3083,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -3107,7 +3083,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
this.applyEvents(); this.applyEvents();
}; };
} }
//# sourceMappingURL=after-constructor.js.map
var Container = (function (_super) { var Container = (function (_super) {
tslib_1.__extends(Container, _super); tslib_1.__extends(Container, _super);
...@@ -3630,7 +3605,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -3630,7 +3605,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
return Container; return Container;
}(DisplayObject)); }(DisplayObject));
Container.prototype.containerUpdateTransform = Container.prototype.updateTransform; Container.prototype.containerUpdateTransform = Container.prototype.updateTransform;
//# sourceMappingURL=Container.js.map
var container; var container;
var el$1; var el$1;
...@@ -3798,7 +3772,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -3798,7 +3772,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return FloatDisplay; return FloatDisplay;
}(DisplayObject)); }(DisplayObject));
//# sourceMappingURL=FloatDisplay.js.map
var ux = [1, 1, 0, -1, -1, -1, 0, 1, 1, 1, 0, -1, -1, -1, 0, 1]; var ux = [1, 1, 0, -1, -1, -1, 0, 1, 1, 1, 0, -1, -1, -1, 0, 1];
var uy = [0, 1, 1, 1, 0, -1, -1, -1, 0, 1, 1, 1, 0, -1, -1, -1]; var uy = [0, 1, 1, 1, 0, -1, -1, -1, 0, 1, 1, 1, 0, -1, -1, -1];
...@@ -3897,7 +3870,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -3897,7 +3870,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
matrix.append(mat); matrix.append(mat);
}, },
}; };
//# sourceMappingURL=GroupD8.js.map
var INT_BITS = 32; var INT_BITS = 32;
var INT_BITS1 = 32; var INT_BITS1 = 32;
...@@ -4053,7 +4025,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -4053,7 +4025,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
var t = v | (v - 1); var t = v | (v - 1);
return (t + 1) | (((~t & -~t) - 1) >>> (countTrailingZeros(v) + 1)); return (t + 1) | (((~t & -~t) - 1) >>> (countTrailingZeros(v) + 1));
} }
//# sourceMappingURL=twiddle.js.map
var tempMatrix = new Matrix(); var tempMatrix = new Matrix();
var SystemRenderer = (function (_super) { var SystemRenderer = (function (_super) {
...@@ -4109,7 +4080,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -4109,7 +4080,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}); });
return SystemRenderer; return SystemRenderer;
}(EventDispatcher)); }(EventDispatcher));
//# sourceMappingURL=SystemRenderer.js.map
var CanvasGraphicsRenderer = (function () { var CanvasGraphicsRenderer = (function () {
function CanvasGraphicsRenderer(renderer) { function CanvasGraphicsRenderer(renderer) {
...@@ -4343,7 +4313,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -4343,7 +4313,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
sum = sum + vector[vector.length - 2] * vector[1] - vector[vector.length - 1] * vector[0]; sum = sum + vector[vector.length - 2] * vector[1] - vector[vector.length - 1] * vector[0];
return !(sum > 0); return !(sum > 0);
} }
//# sourceMappingURL=CanvasGraphicsRenderer.js.map
var CanvasMaskManager = (function (_super) { var CanvasMaskManager = (function (_super) {
tslib_1.__extends(CanvasMaskManager, _super); tslib_1.__extends(CanvasMaskManager, _super);
...@@ -4442,7 +4411,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -4442,7 +4411,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return CanvasMaskManager; return CanvasMaskManager;
}(HashObject)); }(HashObject));
//# sourceMappingURL=CanvasMaskManager.js.map
var CanvasRenderTarget = (function () { var CanvasRenderTarget = (function () {
function CanvasRenderTarget(width, height) { function CanvasRenderTarget(width, height) {
...@@ -4484,7 +4452,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -4484,7 +4452,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}); });
return CanvasRenderTarget; return CanvasRenderTarget;
}()); }());
//# sourceMappingURL=CanvasRenderTarget.js.map
var canvasRenderWorldTransform = new Matrix(); var canvasRenderWorldTransform = new Matrix();
var CanvasSpriteRenderer = (function () { var CanvasSpriteRenderer = (function () {
...@@ -4540,7 +4507,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -4540,7 +4507,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return CanvasSpriteRenderer; return CanvasSpriteRenderer;
}()); }());
//# sourceMappingURL=CanvasSpriteRenderer.js.map
var CanvasRenderer = (function (_super) { var CanvasRenderer = (function (_super) {
tslib_1.__extends(CanvasRenderer, _super); tslib_1.__extends(CanvasRenderer, _super);
...@@ -4658,7 +4624,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -4658,7 +4624,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return CanvasRenderer; return CanvasRenderer;
}(SystemRenderer)); }(SystemRenderer));
//# sourceMappingURL=CanvasRenderer.js.map
var _dRender = null; var _dRender = null;
var tempMatrix$1 = new Matrix(); var tempMatrix$1 = new Matrix();
...@@ -4699,7 +4664,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -4699,7 +4664,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
_dRender.render(obj, null, tempMatrix$1); _dRender.render(obj, null, tempMatrix$1);
return _dRender.htmlElement.toDataURL("image/" + typeInfo.type, typeInfo.quality); return _dRender.htmlElement.toDataURL("image/" + typeInfo.type, typeInfo.quality);
} }
//# sourceMappingURL=toDisplayDataURL.js.map
function determineCrossOrigin(url, loc) { function determineCrossOrigin(url, loc) {
if (loc === void 0) { loc = window.location; } if (loc === void 0) { loc = window.location; }
...@@ -4708,7 +4672,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -4708,7 +4672,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return 'anonymous'; return 'anonymous';
} }
//# sourceMappingURL=determineCrossOrigin.js.map
var BaseTexture = (function (_super) { var BaseTexture = (function (_super) {
tslib_1.__extends(BaseTexture, _super); tslib_1.__extends(BaseTexture, _super);
...@@ -4929,7 +4892,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -4929,7 +4892,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return BaseTexture; return BaseTexture;
}(EventDispatcher)); }(EventDispatcher));
//# sourceMappingURL=BaseTexture.js.map
var TextureUvs = (function () { var TextureUvs = (function () {
function TextureUvs() { function TextureUvs() {
...@@ -4990,7 +4952,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -4990,7 +4952,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return TextureUvs; return TextureUvs;
}()); }());
//# sourceMappingURL=TextureUvs.js.map
var Texture = (function (_super) { var Texture = (function (_super) {
tslib_1.__extends(Texture, _super); tslib_1.__extends(Texture, _super);
...@@ -5234,7 +5195,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -5234,7 +5195,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
Texture.WHITE = createWhiteTexture(); Texture.WHITE = createWhiteTexture();
removeAllHandlers(Texture.WHITE); removeAllHandlers(Texture.WHITE);
removeAllHandlers(Texture.WHITE.baseTexture); removeAllHandlers(Texture.WHITE.baseTexture);
//# sourceMappingURL=Texture.js.map
var padding = 2; var padding = 2;
function DrawAllToCanvas(images, callback) { function DrawAllToCanvas(images, callback) {
...@@ -5375,7 +5335,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -5375,7 +5335,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return imageInfo; return imageInfo;
}()); }());
//# sourceMappingURL=DrawAllToCanvas.js.map
var nextUid = 0; var nextUid = 0;
function uid() { function uid() {
...@@ -5591,7 +5550,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -5591,7 +5550,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
array[exports.BLEND_MODES.SCREEN_NPM] = [gl.SRC_ALPHA, gl.ONE_MINUS_SRC_COLOR, gl.ONE, gl.ONE_MINUS_SRC_COLOR]; array[exports.BLEND_MODES.SCREEN_NPM] = [gl.SRC_ALPHA, gl.ONE_MINUS_SRC_COLOR, gl.ONE, gl.ONE_MINUS_SRC_COLOR];
return array; return array;
} }
//# sourceMappingURL=index.js.map
var indices = new Uint16Array([0, 1, 2, 0, 2, 3]); var indices = new Uint16Array([0, 1, 2, 0, 2, 3]);
var Sprite = (function (_super) { var Sprite = (function (_super) {
...@@ -5861,7 +5819,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -5861,7 +5819,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return Sprite; return Sprite;
}(Container)); }(Container));
//# sourceMappingURL=Sprite.js.map
var BatchDrawCall = (function () { var BatchDrawCall = (function () {
function BatchDrawCall() { function BatchDrawCall() {
...@@ -5873,7 +5830,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -5873,7 +5830,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return BatchDrawCall; return BatchDrawCall;
}()); }());
//# sourceMappingURL=BatchDrawCall.js.map
var ObjectRenderer = (function () { var ObjectRenderer = (function () {
function ObjectRenderer(renderer) { function ObjectRenderer(renderer) {
...@@ -5898,7 +5854,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -5898,7 +5854,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return ObjectRenderer; return ObjectRenderer;
}()); }());
//# sourceMappingURL=ObjectRenderer.js.map
function createContext(canvas, options) { function createContext(canvas, options) {
var gl = canvas.getContext('webgl', options) || var gl = canvas.getContext('webgl', options) ||
...@@ -5908,7 +5863,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -5908,7 +5863,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return gl; return gl;
} }
//# sourceMappingURL=createContext.js.map
var fragTemplate = [ var fragTemplate = [
'precision mediump float;', 'precision mediump float;',
...@@ -5960,7 +5914,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -5960,7 +5914,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return src; return src;
} }
//# sourceMappingURL=checkMaxIfStatementsInShader.js.map
var BatchBuffer = (function () { var BatchBuffer = (function () {
function BatchBuffer(size) { function BatchBuffer(size) {
...@@ -5976,7 +5929,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -5976,7 +5929,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return BatchBuffer; return BatchBuffer;
}()); }());
//# sourceMappingURL=BatchBuffer.js.map
var GLTexture = (function () { var GLTexture = (function () {
function GLTexture(gl, width, height, format, type) { function GLTexture(gl, width, height, format, type) {
...@@ -6108,7 +6060,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -6108,7 +6060,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
return GLTexture; return GLTexture;
}()); }());
var FLOATING_POINT_AVAILABLE = false; var FLOATING_POINT_AVAILABLE = false;
//# sourceMappingURL=GLTexture.js.map
var EMPTY_ARRAY_BUFFER = new ArrayBuffer(0); var EMPTY_ARRAY_BUFFER = new ArrayBuffer(0);
var GLBuffer = (function () { var GLBuffer = (function () {
...@@ -6155,7 +6106,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -6155,7 +6106,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return GLBuffer; return GLBuffer;
}()); }());
//# sourceMappingURL=GLBuffer.js.map
function setVertexAttribArrays(gl, attribs, state) { function setVertexAttribArrays(gl, attribs, state) {
var i; var i;
...@@ -6186,7 +6136,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -6186,7 +6136,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
} }
} }
//# sourceMappingURL=setVertexAttribArrays.js.map
var VertexArrayObject = (function () { var VertexArrayObject = (function () {
function VertexArrayObject(gl, state) { function VertexArrayObject(gl, state) {
...@@ -6304,7 +6253,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -6304,7 +6253,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
VertexArrayObject.FORCE_NATIVE = false; VertexArrayObject.FORCE_NATIVE = false;
return VertexArrayObject; return VertexArrayObject;
}()); }());
//# sourceMappingURL=VertexArrayObject.js.map
var GLFramebuffer = (function () { var GLFramebuffer = (function () {
function GLFramebuffer(gl, width, height) { function GLFramebuffer(gl, width, height) {
...@@ -6387,7 +6335,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -6387,7 +6335,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return GLFramebuffer; return GLFramebuffer;
}()); }());
//# sourceMappingURL=GLFramebuffer.js.map
function compileProgram(gl, vertexSrc, fragmentSrc, attributeLocations) { function compileProgram(gl, vertexSrc, fragmentSrc, attributeLocations) {
var glVertShader = compileShader(gl, gl.VERTEX_SHADER, vertexSrc); var glVertShader = compileShader(gl, gl.VERTEX_SHADER, vertexSrc);
...@@ -6425,7 +6372,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -6425,7 +6372,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return shader; return shader;
}; };
//# sourceMappingURL=compileProgram.js.map
function mapType(gl, type) { function mapType(gl, type) {
if (!GL_TABLE) { if (!GL_TABLE) {
...@@ -6457,7 +6403,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -6457,7 +6403,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
'FLOAT_MAT4': 'mat4', 'FLOAT_MAT4': 'mat4',
'SAMPLER_2D': 'sampler2D' 'SAMPLER_2D': 'sampler2D'
}; };
//# sourceMappingURL=mapType.js.map
function mapSize(type) { function mapSize(type) {
return GLSL_TO_SIZE[type]; return GLSL_TO_SIZE[type];
...@@ -6480,7 +6425,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -6480,7 +6425,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
'mat4': 16, 'mat4': 16,
'sampler2D': 1 'sampler2D': 1
}; };
//# sourceMappingURL=mapSize.js.map
function extractAttributes(gl, program) { function extractAttributes(gl, program) {
var attributes = {}; var attributes = {};
...@@ -6503,7 +6447,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -6503,7 +6447,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return attributes; return attributes;
} }
//# sourceMappingURL=extractAttributes.js.map
function defaultValue(type, size) { function defaultValue(type, size) {
switch (type) { switch (type) {
...@@ -6553,7 +6496,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -6553,7 +6496,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return array; return array;
}; };
//# sourceMappingURL=defaultValue.js.map
function extractUniforms(gl, program) { function extractUniforms(gl, program) {
var uniforms = {}; var uniforms = {};
...@@ -6571,7 +6513,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -6571,7 +6513,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return uniforms; return uniforms;
} }
//# sourceMappingURL=extractUniforms.js.map
function setPrecision(src, precision) { function setPrecision(src, precision) {
if (src.substring(0, 9) !== 'precision') { if (src.substring(0, 9) !== 'precision') {
...@@ -6579,7 +6520,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -6579,7 +6520,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return src; return src;
} }
//# sourceMappingURL=setPrecision.js.map
function generateUniformAccessObject(gl, uniformData) { function generateUniformAccessObject(gl, uniformData) {
var uniforms = { data: {} }; var uniforms = { data: {} };
...@@ -6717,7 +6657,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -6717,7 +6657,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return cur; return cur;
} }
//# sourceMappingURL=generateUniformAccessObject.js.map
var GLShader = (function () { var GLShader = (function () {
function GLShader(gl, vertexSrc, fragmentSrc, precision, attributeLocations) { function GLShader(gl, vertexSrc, fragmentSrc, precision, attributeLocations) {
...@@ -6744,7 +6683,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -6744,7 +6683,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return GLShader; return GLShader;
}()); }());
//# sourceMappingURL=GLShader.js.map
var VSHADER_SOURCE = "precision highp float;" + var VSHADER_SOURCE = "precision highp float;" +
"attribute vec2 aVertexPosition;" + "attribute vec2 aVertexPosition;" +
...@@ -6806,7 +6744,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -6806,7 +6744,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
src += '\n'; src += '\n';
return src; return src;
} }
//# sourceMappingURL=generateMultiTextureShader.js.map
var TICK = 0; var TICK = 0;
var BatchRenderer = (function (_super) { var BatchRenderer = (function (_super) {
...@@ -7030,7 +6967,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -7030,7 +6967,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return BatchRenderer; return BatchRenderer;
}(ObjectRenderer)); }(ObjectRenderer));
//# sourceMappingURL=BatchRenderer.js.map
var RenderTarget = (function () { var RenderTarget = (function () {
function RenderTarget(gl, width, height, scaleMode, root) { function RenderTarget(gl, width, height, scaleMode, root) {
...@@ -7137,7 +7073,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -7137,7 +7073,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return RenderTarget; return RenderTarget;
}()); }());
//# sourceMappingURL=RenderTarget.js.map
var TextureManager = (function () { var TextureManager = (function () {
function TextureManager(renderer) { function TextureManager(renderer) {
...@@ -7339,7 +7274,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -7339,7 +7274,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return TextureManager; return TextureManager;
}()); }());
//# sourceMappingURL=TextureManager.js.map
var TextureGarbageCollector = (function () { var TextureGarbageCollector = (function () {
function TextureGarbageCollector(renderer) { function TextureGarbageCollector(renderer) {
...@@ -7394,7 +7328,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -7394,7 +7328,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return TextureGarbageCollector; return TextureGarbageCollector;
}()); }());
//# sourceMappingURL=TextureGarbageCollector.js.map
var BLEND = 0; var BLEND = 0;
var DEPTH_TEST = 1; var DEPTH_TEST = 1;
...@@ -7497,7 +7430,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -7497,7 +7430,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return WebGLState; return WebGLState;
}()); }());
//# sourceMappingURL=WebGLState.js.map
var BatchManager = (function () { var BatchManager = (function () {
function BatchManager(renderer) { function BatchManager(renderer) {
...@@ -7521,7 +7453,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -7521,7 +7453,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return BatchManager; return BatchManager;
}()); }());
//# sourceMappingURL=BatchManager.js.map
var MaskManager = (function () { var MaskManager = (function () {
function MaskManager(renderer) { function MaskManager(renderer) {
...@@ -7570,7 +7501,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -7570,7 +7501,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return MaskManager; return MaskManager;
}()); }());
//# sourceMappingURL=MaskManager.js.map
var StencilManager = (function () { var StencilManager = (function () {
function StencilManager(renderer) { function StencilManager(renderer) {
...@@ -7643,7 +7573,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -7643,7 +7573,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return StencilManager; return StencilManager;
}()); }());
//# sourceMappingURL=StencilManager.js.map
var CONTEXT_UID = 0; var CONTEXT_UID = 0;
var WebglRenderer = (function (_super) { var WebglRenderer = (function (_super) {
...@@ -7856,7 +7785,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -7856,7 +7785,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
return WebglRenderer; return WebglRenderer;
}(SystemRenderer)); }(SystemRenderer));
WebglRenderer.registerPlugin('batch', BatchRenderer); WebglRenderer.registerPlugin('batch', BatchRenderer);
//# sourceMappingURL=WebglRenderer.js.map
var requestAnimationFrame = (function () { var requestAnimationFrame = (function () {
var lastTime = 0; var lastTime = 0;
...@@ -8491,7 +8419,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -8491,7 +8419,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return GraphicsData; return GraphicsData;
}(HashObject)); }(HashObject));
//# sourceMappingURL=GraphicsData.js.map
var BaseRenderTexture = (function (_super) { var BaseRenderTexture = (function (_super) {
tslib_1.__extends(BaseRenderTexture, _super); tslib_1.__extends(BaseRenderTexture, _super);
...@@ -8528,7 +8455,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -8528,7 +8455,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return BaseRenderTexture; return BaseRenderTexture;
}(BaseTexture)); }(BaseTexture));
//# sourceMappingURL=BaseRenderTexture.js.map
var RenderTexture = (function (_super) { var RenderTexture = (function (_super) {
tslib_1.__extends(RenderTexture, _super); tslib_1.__extends(RenderTexture, _super);
...@@ -8556,7 +8482,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -8556,7 +8482,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return RenderTexture; return RenderTexture;
}(Texture)); }(Texture));
//# sourceMappingURL=RenderTexture.js.map
var Circle = (function () { var Circle = (function () {
function Circle(x, y, radius) { function Circle(x, y, radius) {
...@@ -8587,7 +8512,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -8587,7 +8512,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return Circle; return Circle;
}()); }());
//# sourceMappingURL=Circle.js.map
var Ellipse = (function () { var Ellipse = (function () {
function Ellipse(x, y, width, height) { function Ellipse(x, y, width, height) {
...@@ -8619,7 +8543,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -8619,7 +8543,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return Ellipse; return Ellipse;
}()); }());
//# sourceMappingURL=Ellipse.js.map
var Polygon = (function () { var Polygon = (function () {
function Polygon() { function Polygon() {
...@@ -8669,7 +8592,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -8669,7 +8592,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return Polygon; return Polygon;
}()); }());
//# sourceMappingURL=Polygon.js.map
var RoundedRectangle = (function () { var RoundedRectangle = (function () {
function RoundedRectangle(x, y, width, height, radius) { function RoundedRectangle(x, y, width, height, radius) {
...@@ -8727,7 +8649,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -8727,7 +8649,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return RoundedRectangle; return RoundedRectangle;
}()); }());
//# sourceMappingURL=RoundedRectangle.js.map
function earcut(data, holeIndices, dim) { function earcut(data, holeIndices, dim) {
dim = dim || 2; dim = dim || 2;
...@@ -9189,7 +9110,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -9189,7 +9110,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return result; return result;
}; };
//# sourceMappingURL=earcut.js.map
var buildPoly = { var buildPoly = {
build: function (graphicsData) { build: function (graphicsData) {
...@@ -9223,7 +9143,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -9223,7 +9143,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
}, },
}; };
//# sourceMappingURL=buildPoly.js.map
var buildCircle = { var buildCircle = {
build: function (graphicsData) { build: function (graphicsData) {
...@@ -9267,7 +9186,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -9267,7 +9186,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
}, },
}; };
//# sourceMappingURL=buildCircle.js.map
var buildRectangle = { var buildRectangle = {
build: function (graphicsData) { build: function (graphicsData) {
...@@ -9288,7 +9206,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -9288,7 +9206,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
graphics.indices.push(vertPos, vertPos + 1, vertPos + 2, vertPos + 1, vertPos + 2, vertPos + 3); graphics.indices.push(vertPos, vertPos + 1, vertPos + 2, vertPos + 1, vertPos + 2, vertPos + 3);
}, },
}; };
//# sourceMappingURL=buildRectangle.js.map
var buildRoundedRectangle = { var buildRoundedRectangle = {
build: function (graphicsData) { build: function (graphicsData) {
...@@ -9348,7 +9265,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -9348,7 +9265,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return points; return points;
} }
//# sourceMappingURL=buildRoundedRectangle.js.map
function buildLine (graphicsData, graphicsGeometry) { function buildLine (graphicsData, graphicsGeometry) {
buildLine$1(graphicsData, graphicsGeometry); buildLine$1(graphicsData, graphicsGeometry);
...@@ -9477,7 +9393,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -9477,7 +9393,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
indexStart++; indexStart++;
} }
} }
//# sourceMappingURL=buildLine.js.map
var FillStyle = (function () { var FillStyle = (function () {
function FillStyle() { function FillStyle() {
...@@ -9507,7 +9422,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -9507,7 +9422,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return FillStyle; return FillStyle;
}()); }());
//# sourceMappingURL=FillStyle.js.map
var LineStyle = (function (_super) { var LineStyle = (function (_super) {
tslib_1.__extends(LineStyle, _super); tslib_1.__extends(LineStyle, _super);
...@@ -9535,7 +9449,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -9535,7 +9449,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return LineStyle; return LineStyle;
}(FillStyle)); }(FillStyle));
//# sourceMappingURL=LineStyle.js.map
function bezierCurveTo(fromX, fromY, cpX, cpY, cpX2, cpY2, toX, toY, n, path) { function bezierCurveTo(fromX, fromY, cpX, cpY, cpX2, cpY2, toX, toY, n, path) {
if (path === void 0) { path = []; } if (path === void 0) { path = []; }
...@@ -9556,7 +9469,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -9556,7 +9469,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return path; return path;
} }
//# sourceMappingURL=bezierCurveTo.js.map
var GRAPHICS_CURVES = { var GRAPHICS_CURVES = {
adaptive: false, adaptive: false,
...@@ -9628,7 +9540,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -9628,7 +9540,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return result; return result;
} }
//# sourceMappingURL=index.js.map
var canvasRenderer; var canvasRenderer;
var tempMatrix$2 = new Matrix(); var tempMatrix$2 = new Matrix();
...@@ -10516,7 +10427,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -10516,7 +10427,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return geoBatchPart; return geoBatchPart;
}()); }());
//# sourceMappingURL=Graphics.js.map
var Shape = (function (_super) { var Shape = (function (_super) {
tslib_1.__extends(Shape, _super); tslib_1.__extends(Shape, _super);
...@@ -10990,7 +10900,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -10990,7 +10900,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return Shape; return Shape;
}(Sprite)); }(Sprite));
//# sourceMappingURL=Shape.js.map
var TextureSheet = (function () { var TextureSheet = (function () {
function TextureSheet(baseTexture, data) { function TextureSheet(baseTexture, data) {
...@@ -11066,12 +10975,10 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -11066,12 +10975,10 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return TextureSheet; return TextureSheet;
}()); }());
//# sourceMappingURL=TextureSheet.js.map
function getTexture(str) { function getTexture(str) {
return TextureCache[str] || null; return TextureCache[str] || null;
} }
//# sourceMappingURL=index.js.map
var queryParams = {}; var queryParams = {};
var search = window.location.search; var search = window.location.search;
...@@ -11085,7 +10992,28 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -11085,7 +10992,28 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
var arr = item.split('='); var arr = item.split('=');
queryParams[arr[0]] = arr.length === 1 ? true : arr[1]; queryParams[arr[0]] = arr.length === 1 ? true : arr[1];
} }
//# sourceMappingURL=web.js.map if (queryParams.appID) {
env.appID = queryParams.appID;
}
if (queryParams.channelType) {
env.channelType = queryParams.channelType;
}
if (queryParams.projectID) {
env.projectID = queryParams.projectID;
}
else if (window.location.pathname.match(new RegExp("/projectx/(\\S+)/index(\\S+)", "g"))) {
env.projectID = window.location.pathname.replace(new RegExp("/projectx/(\\S+)/index(\\S+)", "g"), "$1");
}
exports.newUser = true;
var key = 'nu_' + env.appID + '_' + env.projectID;
var v = localStorage.getItem(key);
if (v) {
exports.newUser = false;
}
else {
localStorage.setItem(key, '1');
}
console.log(exports.newUser);
function httpRequest(url, method, params, type, headers) { function httpRequest(url, method, params, type, headers) {
if (method === void 0) { method = 'get'; } if (method === void 0) { method = 'get'; }
...@@ -11254,7 +11182,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -11254,7 +11182,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
}, false); }, false);
} }
//# sourceMappingURL=net.js.map
function createTextureSheet(baseTexture, altaData) { function createTextureSheet(baseTexture, altaData) {
var frames = altaData; var frames = altaData;
...@@ -11280,7 +11207,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -11280,7 +11207,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
frameIndex++; frameIndex++;
} }
} }
//# sourceMappingURL=texture-sheet.js.map
var prefix = 'font-'; var prefix = 'font-';
var fonts = {}; var fonts = {};
...@@ -11316,7 +11242,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -11316,7 +11242,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
function getFont(name) { function getFont(name) {
return fonts[name]; return fonts[name];
} }
//# sourceMappingURL=bmp-text-manager.js.map
var assetsConfig = []; var assetsConfig = [];
var loaderMapping = { var loaderMapping = {
...@@ -11408,7 +11333,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -11408,7 +11333,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
} }
} }
//# sourceMappingURL=assets-manager.js.map
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
...@@ -14624,7 +14548,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -14624,7 +14548,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
keep: true, keep: true,
}; };
} }
//# sourceMappingURL=sound.js.map
var Loader = (function (_super) { var Loader = (function (_super) {
tslib_1.__extends(Loader, _super); tslib_1.__extends(Loader, _super);
...@@ -14711,7 +14634,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -14711,7 +14634,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
return Loader; return Loader;
}(EventDispatcher)); }(EventDispatcher));
var globalLoader = new Loader(); var globalLoader = new Loader();
//# sourceMappingURL=Loader.js.map
var padding$1 = 10; var padding$1 = 10;
var TextField = (function (_super) { var TextField = (function (_super) {
...@@ -15259,7 +15181,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -15259,7 +15181,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return TextField; return TextField;
}(Sprite)); }(Sprite));
//# sourceMappingURL=TextField.js.map
var InputText = (function (_super) { var InputText = (function (_super) {
tslib_1.__extends(InputText, _super); tslib_1.__extends(InputText, _super);
...@@ -15457,7 +15378,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -15457,7 +15378,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
InputText._inputTypeList = ["input", "password", "textarea"]; InputText._inputTypeList = ["input", "password", "textarea"];
return InputText; return InputText;
}(FloatDisplay)); }(FloatDisplay));
//# sourceMappingURL=InputText.js.map
var EditableText = (function (_super) { var EditableText = (function (_super) {
tslib_1.__extends(EditableText, _super); tslib_1.__extends(EditableText, _super);
...@@ -15559,7 +15479,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -15559,7 +15479,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}); });
return EditableText; return EditableText;
}(TextField)); }(TextField));
//# sourceMappingURL=EditableText.js.map
var ScrollViewBase = (function (_super) { var ScrollViewBase = (function (_super) {
tslib_1.__extends(ScrollViewBase, _super); tslib_1.__extends(ScrollViewBase, _super);
...@@ -15816,7 +15735,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -15816,7 +15735,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return ScrollViewBase; return ScrollViewBase;
}(Container)); }(Container));
//# sourceMappingURL=ScrollViewBase.js.map
function fieldChanged(onModify) { function fieldChanged(onModify) {
return function (target, key) { return function (target, key) {
...@@ -15859,7 +15777,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -15859,7 +15777,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
} }
}); });
//# sourceMappingURL=decorators.js.map
var ScrollListItemBase = (function (_super) { var ScrollListItemBase = (function (_super) {
tslib_1.__extends(ScrollListItemBase, _super); tslib_1.__extends(ScrollListItemBase, _super);
...@@ -16058,7 +15975,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -16058,7 +15975,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
], ScrollListBase.prototype, "itemClass", void 0); ], ScrollListBase.prototype, "itemClass", void 0);
return ScrollListBase; return ScrollListBase;
}(ScrollViewBase)); }(ScrollViewBase));
//# sourceMappingURL=ScrollListBase.js.map
var Tween = (function () { var Tween = (function () {
function Tween(target, props, pluginData) { function Tween(target, props, pluginData) {
...@@ -16464,7 +16380,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -16464,7 +16380,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
Tween._lastTime = 0; Tween._lastTime = 0;
return Tween; return Tween;
}()); }());
//# sourceMappingURL=Tween.js.map
var Ease = (function () { var Ease = (function () {
function Ease() { function Ease() {
...@@ -16611,7 +16526,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -16611,7 +16526,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
Ease.elasticInOut = Ease.getElasticInOut(1, 0.3 * 1.5); Ease.elasticInOut = Ease.getElasticInOut(1, 0.3 * 1.5);
return Ease; return Ease;
}()); }());
//# sourceMappingURL=Ease.js.map
var Node$1 = (function (_super) { var Node$1 = (function (_super) {
tslib_1.__extends(Node, _super); tslib_1.__extends(Node, _super);
...@@ -16622,7 +16536,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -16622,7 +16536,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return Node; return Node;
}(Container)); }(Container));
//# sourceMappingURL=Node.js.map
var StackContainer = (function (_super) { var StackContainer = (function (_super) {
tslib_1.__extends(StackContainer, _super); tslib_1.__extends(StackContainer, _super);
...@@ -16655,7 +16568,7 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -16655,7 +16568,7 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
StackContainer.prototype.pop = function (dispatch) { StackContainer.prototype.pop = function (dispatch) {
if (dispatch === void 0) { dispatch = true; } if (dispatch === void 0) { dispatch = true; }
var len = this.children.length; var len = this.children.length;
if (len <= 0) { if (len <= 1) {
return false; return false;
} }
this.removeChildAt(len - 1); this.removeChildAt(len - 1);
...@@ -16679,7 +16592,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -16679,7 +16592,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return StackContainer; return StackContainer;
}(Node$1)); }(Node$1));
//# sourceMappingURL=StackContainer.js.map
var colorName = { var colorName = {
"aliceblue": [240, 248, 255], "aliceblue": [240, 248, 255],
...@@ -18874,7 +18786,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -18874,7 +18786,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return Circle; return Circle;
}(ShapeBase)); }(ShapeBase));
//# sourceMappingURL=shapes.js.map
var assetScheme = 'asset://'; var assetScheme = 'asset://';
var Image$1 = (function (_super) { var Image$1 = (function (_super) {
...@@ -18963,7 +18874,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -18963,7 +18874,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return Image; return Image;
}(Sprite)); }(Sprite));
//# sourceMappingURL=Image.js.map
var Label = (function (_super) { var Label = (function (_super) {
tslib_1.__extends(Label, _super); tslib_1.__extends(Label, _super);
...@@ -19040,7 +18950,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -19040,7 +18950,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return Label; return Label;
}(TextField)); }(TextField));
//# sourceMappingURL=Label.js.map
var timer; var timer;
function delayScrollTop() { function delayScrollTop() {
...@@ -19277,7 +19186,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -19277,7 +19186,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
], TextInput.prototype, "charRegStr", void 0); ], TextInput.prototype, "charRegStr", void 0);
return TextInput; return TextInput;
}(Label)); }(Label));
//# sourceMappingURL=TextInput.js.map
var proxyMethods = [ var proxyMethods = [
'onChildrenChange', 'onChildrenChange',
...@@ -19305,7 +19213,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -19305,7 +19213,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return ScrollView; return ScrollView;
}(ScrollViewBase)); }(ScrollViewBase));
//# sourceMappingURL=ScrollView.js.map
var ScrollListItem = (function (_super) { var ScrollListItem = (function (_super) {
tslib_1.__extends(ScrollListItem, _super); tslib_1.__extends(ScrollListItem, _super);
...@@ -19348,7 +19255,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -19348,7 +19255,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return ScrollList; return ScrollList;
}(ScrollListBase)); }(ScrollListBase));
//# sourceMappingURL=ScrollList.js.map
var BitmapText = (function (_super) { var BitmapText = (function (_super) {
tslib_1.__extends(BitmapText, _super); tslib_1.__extends(BitmapText, _super);
...@@ -19445,7 +19351,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -19445,7 +19351,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
], BitmapText.prototype, "letterSpacing", void 0); ], BitmapText.prototype, "letterSpacing", void 0);
return BitmapText; return BitmapText;
}(Container)); }(Container));
//# sourceMappingURL=BitmapText.js.map
var HtmlView = (function (_super) { var HtmlView = (function (_super) {
tslib_1.__extends(HtmlView, _super); tslib_1.__extends(HtmlView, _super);
...@@ -19465,12 +19370,10 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -19465,12 +19370,10 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
], HtmlView); ], HtmlView);
return HtmlView; return HtmlView;
}(FloatDisplay)); }(FloatDisplay));
//# sourceMappingURL=HtmlView.js.map
function isUI(obj) { function isUI(obj) {
return obj.isUI; return obj.isUI;
} }
//# sourceMappingURL=IUIComponent.js.map
var nodeTypeMapping = { var nodeTypeMapping = {
node: Node$1, node: Node$1,
...@@ -19523,7 +19426,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -19523,7 +19426,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return node; return node;
} }
//# sourceMappingURL=view-interpreter.js.map
var Toast = (function (_super) { var Toast = (function (_super) {
tslib_1.__extends(Toast, _super); tslib_1.__extends(Toast, _super);
...@@ -19617,7 +19519,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -19617,7 +19519,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return Toast; return Toast;
}(Node$1)); }(Node$1));
//# sourceMappingURL=Toast.js.map
function createEvalFunc(exp) { function createEvalFunc(exp) {
var func; var func;
...@@ -19648,7 +19549,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -19648,7 +19549,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
function runExp(exp, scope) { function runExp(exp, scope) {
createRunFunc(exp)(scope); createRunFunc(exp)(scope);
} }
//# sourceMappingURL=Utils.js.map
var Watcher = (function () { var Watcher = (function () {
function Watcher(entity, target, exp, scope, callback) { function Watcher(entity, target, exp, scope, callback) {
...@@ -19737,7 +19637,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -19737,7 +19637,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
Watcher._uid = 0; Watcher._uid = 0;
return Watcher; return Watcher;
}()); }());
//# sourceMappingURL=Watcher.js.map
var Dep = (function () { var Dep = (function () {
function Dep() { function Dep() {
...@@ -19756,7 +19655,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -19756,7 +19655,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return Dep; return Dep;
}()); }());
//# sourceMappingURL=Dep.js.map
var Mutator = (function () { var Mutator = (function () {
function Mutator() { function Mutator() {
...@@ -19870,7 +19768,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -19870,7 +19768,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
]; ];
return Mutator; return Mutator;
}()); }());
//# sourceMappingURL=Mutator.js.map
var commands = { var commands = {
set: function (context) { set: function (context) {
...@@ -19885,7 +19782,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -19885,7 +19782,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
return context.target; return context.target;
} }
}; };
//# sourceMappingURL=Commands.js.map
var defaultCmdRegExp = /^(data\-)?z[\-_](\w+)([:\$](.+))?$/; var defaultCmdRegExp = /^(data\-)?z[\-_](\w+)([:\$](.+))?$/;
var Zri = (function () { var Zri = (function () {
...@@ -19952,7 +19848,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -19952,7 +19848,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return Zri; return Zri;
}()); }());
//# sourceMappingURL=Zri.js.map
var commands$1 = { var commands$1 = {
prop: function (context) { prop: function (context) {
...@@ -20136,7 +20031,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -20136,7 +20031,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
return context.target; return context.target;
} }
}; };
//# sourceMappingURL=ZriCommands.js.map
var interruptCmds = ['for', 'if']; var interruptCmds = ['for', 'if'];
var ZriCompiler = (function () { var ZriCompiler = (function () {
...@@ -20206,7 +20100,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -20206,7 +20100,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return ZriCompiler; return ZriCompiler;
}()); }());
//# sourceMappingURL=ZriCompiler.js.map
function bind(store, view, options) { function bind(store, view, options) {
var compiler = new ZriCompiler(view); var compiler = new ZriCompiler(view);
...@@ -20227,7 +20120,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -20227,7 +20120,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return store; return store;
} }
//# sourceMappingURL=index.js.map
var customMap = {}; var customMap = {};
function registerCustomModules(customs) { function registerCustomModules(customs) {
...@@ -20290,7 +20182,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -20290,7 +20182,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
function getProps(id) { function getProps(id) {
return customMap[id].props || {}; return customMap[id].props || {};
} }
//# sourceMappingURL=custom-module.js.map
var GameStage = (function (_super) { var GameStage = (function (_super) {
tslib_1.__extends(GameStage, _super); tslib_1.__extends(GameStage, _super);
...@@ -20472,7 +20363,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -20472,7 +20363,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
return GameStage; return GameStage;
}(Node$1)); }(Node$1));
//# sourceMappingURL=GameStage.js.map
var template = "\n<div class=\"zeroing-loading-wrapper\">\n\t<div class=\"zeroing-loading-content\">\n\t</div>\n</div>\n"; var template = "\n<div class=\"zeroing-loading-wrapper\">\n\t<div class=\"zeroing-loading-content\">\n\t</div>\n</div>\n";
var style = "\n.zeroing-loading-wrapper{\n\tposition: absolute;\n\ttop:0;\n\tleft: 0;\n\tright: 0;\n\tbottom: 0;\n\tdisplay: flex;\n\tdisplay: -webkit-flex;\n\tjustify-content: center;\n\t-webkit-justify-content: center;\n\talign-items: center;\n\t-webkit-align-items: center;\n}\n@keyframes part-body\n{\n\t0%,40% {transform: scale(1);}\n\t20% {transform: scale(1.5);}\n}\n.zeroing-loading-part {\n\ttransform-origin: 2px 12px;\n\tposition: absolute;\n}\n.zeroing-loading-part-body{\n\tbackground-color: dimgray;\n\twidth: 4px;\n\theight: 6px;\n\tborder-radius: 2px;\n\ttransform-origin: 2px 6px;\n\tanimation: part-body 1500ms linear infinite;\n}\n"; var style = "\n.zeroing-loading-wrapper{\n\tposition: absolute;\n\ttop:0;\n\tleft: 0;\n\tright: 0;\n\tbottom: 0;\n\tdisplay: flex;\n\tdisplay: -webkit-flex;\n\tjustify-content: center;\n\t-webkit-justify-content: center;\n\talign-items: center;\n\t-webkit-align-items: center;\n}\n@keyframes part-body\n{\n\t0%,40% {transform: scale(1);}\n\t20% {transform: scale(1.5);}\n}\n.zeroing-loading-part {\n\ttransform-origin: 2px 12px;\n\tposition: absolute;\n}\n.zeroing-loading-part-body{\n\tbackground-color: dimgray;\n\twidth: 4px;\n\theight: 6px;\n\tborder-radius: 2px;\n\ttransform-origin: 2px 6px;\n\tanimation: part-body 1500ms linear infinite;\n}\n";
...@@ -20512,7 +20402,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -20512,7 +20402,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
}, },
}; };
//# sourceMappingURL=LoadingView.js.map
var _stage; var _stage;
function initAutoLayout(stage) { function initAutoLayout(stage) {
...@@ -20558,7 +20447,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -20558,7 +20447,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
} }
} }
//# sourceMappingURL=auto-layout.js.map
function launch(url, loadingDelegate, onStart) { function launch(url, loadingDelegate, onStart) {
if (queryParams.__proxy_mode__) { if (queryParams.__proxy_mode__) {
...@@ -20619,7 +20507,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -20619,7 +20507,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}); });
}); });
} }
//# sourceMappingURL=launcher.js.map
var emojiRegex = function () { var emojiRegex = function () {
// https://mths.be/emoji // https://mths.be/emoji
...@@ -20718,10 +20605,8 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -20718,10 +20605,8 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
} }
return value; return value;
} }
//# sourceMappingURL=index.es.js.map
var emojiRegexp = emojiRegex(); var emojiRegexp = emojiRegex();
//# sourceMappingURL=index.js.map
exports.BaseTexture = BaseTexture; exports.BaseTexture = BaseTexture;
exports.BaseTextureCache = BaseTextureCache; exports.BaseTextureCache = BaseTextureCache;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* Created by rockyl on 2019-11-21. * Created by rockyl on 2019-11-21.
*/ */
export let env = {}; export let env:any = {};
export function injectEnv(data){ export function injectEnv(data){
if(data){ if(data){
......
/** /**
* Created by rockyl on 2019-12-10. * Created by rockyl on 2019-12-10.
*/ */
import {env} from "./game-warpper/enviroment";
export let queryParams: any = {}; export let queryParams: any = {};
...@@ -15,3 +16,31 @@ for (let item of search.replace('?', '').split('&')) { ...@@ -15,3 +16,31 @@ for (let item of search.replace('?', '').split('&')) {
queryParams[arr[0]] = arr.length === 1 ? true : arr[1]; queryParams[arr[0]] = arr.length === 1 ? true : arr[1];
} }
//appID提取
if (queryParams.appID) {
env.appID = queryParams.appID;
}
//渠道类型提取
if (queryParams.channelType) {
env.channelType = queryParams.channelType;
}
//projectID提取
if (queryParams.projectID) {
env.projectID = queryParams.projectID;
} else if (window.location.pathname.match(new RegExp("/projectx/(\\S+)/index(\\S+)", "g"))) {
env.projectID = window.location.pathname.replace(new RegExp("/projectx/(\\S+)/index(\\S+)", "g"), "$1");
}
//新用户标记
export let newUser = true;
let key = 'nu_' + env.appID + '_' + env.projectID;
let v = localStorage.getItem(key);
if (v) {
newUser = false;
} else {
localStorage.setItem(key, '1');
}
console.log(newUser);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment