Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

2gl

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

2gl - npm Package Compare versions

Comparing version 0.0.29 to 0.0.30

RenderTarget.js

2

cameras/Camera.js

@@ -147,2 +147,2 @@ 'use strict';

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jYW1lcmFzL0NhbWVyYS5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUE7Ozs7QUFDQTs7Ozs7Ozs7Ozs7Ozs7OztJQU9NOzs7QUFDRixXQURFLE1BQ0YsR0FBYzswQkFEWixRQUNZOzs7Ozs7O3VFQURaLG9CQUNZOztBQU9WLFVBQUssRUFBTCxHQUFVLGVBQUssVUFBTCxDQUFnQixDQUFoQixFQUFtQixDQUFuQixFQUFzQixDQUF0QixDQUFWOzs7Ozs7QUFQVSxTQWFWLENBQUssZ0JBQUwsR0FBd0IsZUFBSyxNQUFMLEVBQXhCOzs7Ozs7QUFiVSxTQW1CVixDQUFLLGVBQUwsR0FBdUIsZUFBSyxNQUFMLEVBQXZCOzs7Ozs7QUFuQlUsU0F5QlYsQ0FBSyxrQkFBTCxHQUEwQixlQUFLLE1BQUwsRUFBMUIsQ0F6QlU7O0dBQWQ7Ozs7Ozs7O2VBREU7OzZDQWlDdUI7Ozs7Ozs7O3dDQUtMO0FBQ2hCLGlDQXZDRix3REF1Q0UsQ0FEZ0I7O0FBR2hCLHFCQUFLLE1BQUwsQ0FBWSxLQUFLLGtCQUFMLEVBQXlCLEtBQUssV0FBTCxDQUFyQyxDQUhnQjtBQUloQixxQkFBSyxRQUFMLENBQWMsS0FBSyxlQUFMLEVBQXNCLEtBQUssZ0JBQUwsRUFBdUIsS0FBSyxrQkFBTCx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4LCB0aGlzLnByb2plY3Rpb25NYXRyaXgpO1xuICAgICAgICBtYXQ0Lm11bChtYXRyaXgsIHRoaXMud29ybGRNYXRyaXgsIGludmVyc2VNYXRyaXgpO1xuICAgICAgICB2ZWMzLnRyYW5zZm9ybU1hdDQocmVzdWx0LCB2ZWN0b3IsIG1hdHJpeCk7XG5cbiAgICAgICAgcmV0dXJuIHJlc3VsdDtcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiDQn9C+0LLQvtGA0LDRh9C40LLQsNC10YIg0LrQsNC80LXRgNGDINGC0LDQuiwg0YfRgtC+0LHRiyDRhtC10L3RgtGAINGN0LrRgNCw0L3QsCDRgtC+0YfQvdC+INGB0LzQvtGC0YDQtdC7INC90LAg0YPQutCw0LfQsNC90L3Rg9GOINC/0L7Qt9C40YbQuNGOXG4gICAgICogQHBhcmFtIHt2ZWMzfSBwb3NpdGlvblxuICAgICAqL1xuICAgIGxvb2tBdChwb3NpdGlvbikge1xuICAgICAgICBjb25zdCBtYXRyaXg0ID0gbWF0NC5jcmVhdGUoKTtcbiAgICAgICAgY29uc3QgbWF0cml4MyA9IG1hdDMuY3JlYXRlKCk7XG4gICAgICAgIG1hdDQubG9va0F0KG1hdHJpeDQsIHRoaXMucG9zaXRpb24sIHBvc2l0aW9uLCB0aGlzLnVwKTtcbiAgICAgICAgbWF0NC50cmFuc3Bvc2UobWF0cml4NCwgbWF0cml4NCk7XG4gICAgICAgIG1hdDMuZnJvbU1hdDQobWF0cml4MywgbWF0cml4NCk7XG4gICAgICAgIHF1YXQuZnJvbU1hdDModGhpcy5xdWF0ZXJuaW9uLCBtYXRyaXgzKTtcblxuICAgICAgICByZXR1cm4gdGhpcztcbiAgICB9XG59XG5cbmV4cG9ydCBkZWZhdWx0IENhbWVyYTtcbiJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jYW1lcmFzL0NhbWVyYS5qcyJdLCJuYW1lcyI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ge1xuICAgIGNvbnN0cnVjdG9yKCkge1xuICAgICAgICBzdXBlcigpO1xuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiDQodC/0LXRhtC40YTQuNGH0L3Ri9C5INC00LvRjyDQutCw0LzQtdGA0Ysg0LLQtdC60YLQvtGALCDQv9C+0LzQvtCz0LDRjtGJ0LjQuSDQvtC/0YDQtdC00LXQu9C40YLRjCDQtdGRINC/0L7Qu9C+0LbQtdC90LjQtVxuICAgICAgICAgKiBAdHlwZSB7dmVjM31cbiAgICAgICAgICovXG4gICAgICAgIHRoaXMudXAgPSB2ZWMzLmZyb21WYWx1ZXMoMCwgMSwgMCk7XG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqINCf0YDQvtC10LrRhtC40L7QvdC90LDRjyDQvNCw0YLRgNC40YbQsFxuICAgICAgICAgKiBAdHlwZSB7bWF0NH1cbiAgICAgICAgICovXG4gICAgICAgIHRoaXMucHJvamVjdGlvbk1hdHJpeCA9IG1hdDQuY3JlYXRlKCk7XG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqINCc0LDRgtGA0LjRhtCwINC80L7QtNC10LvRjC3QstC40LTQsCDQuNGB0L/QvtC70YzQt9GD0Y7RidCw0Y/RgdGPINCyINGI0LXQudC00LXRgNCw0YUg0LTQu9GPINC/0L7Qu9GD0YfQtdC90LjRjyDQutC+0L3QtdGH0L3QvtCz0L4g0LjQt9C+0LHRgNCw0LbQtdC90LjRj1xuICAgICAgICAgKiBAdHlwZSB7bWF0NH1cbiAgICAgICAgICovXG4gICAgICAgIHRoaXMubW9kZWxWaWV3TWF0cml4ID0gbWF0NC5jcmVhdGUoKTtcblxuICAgICAgICAvKipcbiAgICAgICAgICog0JzQsNGC0YDQuNGG0LAsINC+0LHRgNCw0YLQvdCw0Y8g0Logd29ybGRNYXRyaXhcbiAgICAgICAgICogQHR5cGUge21hdDR9XG4gICAgICAgICAqL1xuICAgICAgICB0aGlzLndvcmxkSW52ZXJzZU1hdHJpeCA9IG1hdD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Ysg0YbQtdC90YLRgCDRjdC60YDQsNC90LAg0YLQvtGH0L3QviDRgdC80L7RgtGA0LXQuyDQvdCwINGD0LrQsNC30LDQvdC90YPRjiDQv9C+0LfQuNGG0LjRjlxuICAgICAqIEBwYXJhbSB7dmVjM30gcG9zaXRpb25cbiAgICAgKi9cbiAgICBsb29rQXQocG9zaXRpb24pIHtcbiAgICAgICAgY29uc3QgbWF0cml4NCA9IG1hdDQuY3JlYXRlKCk7XG4gICAgICAgIGNvbnN0IG1hdHJpeDMgPSBtYXQzLmNyZWF0ZSgpO1xuICAgICAgICBtYXQ0Lmxvb2tBdChtYXRyaXg0LCB0aGlzLnBvc2l0aW9uLCBwb3NpdGlvbiwgdGhpcy51cCk7XG4gICAgICAgIG1hdDQudHJhbnNwb3NlKG1hdHJpeDQsIG1hdHJpeDQpO1xuICAgICAgICBtYXQzLmZyb21NYXQ0KG1hdHJpeDMsIG1hdHJpeDQpO1xuICAgICAgICBxdWF0LmZyb21NYXQzKHRoaXMucXVhdGVybmlvbiwgbWF0cml4Myk7XG5cbiAgICAgICAgcmV0dXJuIHRoaXM7XG4gICAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBDYW1lcmE7XG4iXX0=

@@ -97,2 +97,2 @@ 'use strict';

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jYW1lcmFzL09ydGhvZ3JhcGhpY0NhbWVyYS5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBOztBQUNBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7SUFPTTs7Ozs7Ozs7Ozs7O0FBU0YsV0FURSxrQkFTRixDQUFZLElBQVosRUFBa0IsS0FBbEIsRUFBeUIsR0FBekIsRUFBOEIsTUFBOUIsRUFBc0MsSUFBdEMsRUFBNEMsR0FBNUMsRUFBaUQ7MEJBVC9DLG9CQVMrQzs7Ozs7Ozt1RU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7TnVtYmVyfVxuICAgICAgICAgKi9cbiAgICAgICAgdGhpcy5yaWdodCA9IHJpZ2h0O1xuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiDQktC10YDRhdC90Y/RjyDQv9C70L7RgdC60L7RgdGC0Ywg0LrQsNC80LXRgNGLXG4gICAgICAgICAqIEB0eXBlIHtOdW1iZXJ9XG4gICAgICAgICAqL1xuICAgICAgICB0aGlzLnRvcCA9IHRvcDtcblxuICAgICAgICAvKipcbiAgICAgICAgICog0J3QuNC20L3Rj9GPINC/0LvQvtGB0LrQvtGB0YLRjCDQutCw0LzQtdGA0YtcbiAgICAgICAgICogQHR5cGUge051bWJlcn1cbiAgICAgICAgICovXG4gICAgICAgIHRoaXMuYm90dG9tID0gYm90dG9tO1xuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiDQnNC40L3QuNC80LDQu9GM0L3QvtC1INGA0LDRgdGB0YLQvtGP0L3QuNC1INC+0YIg0LrQsNC80LXRgNGLINC00L4g0L7QsdGK0LXQutGC0L7Qsiwg0LrQvtGC0L7RgNGL0LUg0LHRg9C00YPRgiDQvtGC0L7QsdGA0LDQttCw0YLRjNGB0Y9cbiAgICAgICAgICogQHR5cGUge051bWJlcn1cbiAgICAgICAgICovXG4gICAgICAgIHRoaXMubmVhciA9IG5lYXI7XG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqINCc0LDQutGB0LjQvNCw0LvRjNC90L7QtSDRgNCw0YHRgdGC0L7Rj9C90LjQtSDQvtGCINC60LDQvNC10YDRiyDQtNC+INC+0LHRitC10LrRgtC+0LIsINC60L7RgtC+0YDRi9C1INCx0YPQtNGD0YIg0L7RgtC+0LHRgNCw0LbQsNGC0YzRgdGPXG4gICAgICAgICAqIEB0eXBlIHtOdW1iZXJ9XG4gICAgICAgICAqL1xuICAgICAgICB0aGlzLmZhciA9IGZhcjtcbiAgICB9XG5cbiAgICB1cGRhdGVQcm9qZWN0aW9uTWF0cml4KCkge1xuICAgICAgICBtYXQ0Lm9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hciDQnNCw0LrRgdC40LzQsNC70YzQvdC+0LUg0YDQsNGB0YHRgtC+0Y/QvdC40LUg0L7RgiDQutCw0LzQtdGA0Ysg0LTQviDQvtCx0YrQtdC60YLQvtCyLCDQutC+0YLQvtGA0YvQtSDQsdGD0LTRg9GCINC+0YLQvtCx0YDQsNC20LDRgtGM0YHRj1xuICAgICAqL1xuICAgIGNvbnN0cnVjdG9yKGxlZnQsIHJpZ2h0LCB0b3AsIGJvdHRvbSwgbmVhciwgZmFyKSB7XG4gICAgICAgIHN1cGVyKCk7XG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqINCb0LXQstCw0Y8g0L/Qu9C+0YHQutC+0YHRgtGMINC60LDQvNC10YDRi1xuICAgICAgICAgKiBAdHlwZSB7TnVtYmVyfVxuICAgICAgICAgKi9cbiAgICAgICAgdGhpcy5sZWZ0ID0gbGVmdDtcblxuICAgICAgICAvKipcbiAgICAgICAgICog0J/RgNCw0LLQsNGPINC/0LvQvtGB0LrQvtGB0YLRjCDQutCw0LzQtdGA0YtcbiAgICAgICAgICogQHR5cGUge051bWJlcn1cbiAgICAgICAgICovXG4gICAgICAgIHRoaXMucmlnaHQgPSByaWdodDtcblxuICAgICAgICAvKipcbiAgICAgICAgICog0JLQtdGA0YXQvdGP0Y8g0L/Qu9C+0YHQutC+0YHRgtGMINC60LDQvNC10YDRi1xuICAgICAgICAgKiBAdHlwZSB7TnVtYmVyfVxuICAgICAgICAgKi9cbiAgICAgICAgdGhpcy50b3AgPSB0b3A7XG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqINCd0LjQttC90Y/RjyDQv9C70L7RgdC60L7RgdGC0Ywg0LrQsNC80LXRgNGLXG4gICAgICAgICAqIEB0eXBlIHtOdW1iZXJ9XG4gICAgICAgICAqL1xuICAgICAgICB0aGlzLmJvdHRvbSA9IGJvdHRvbTtcblxuICAgICAgICAvKipcbiAgICAgICAgICog0JzQuNC90LjQvNCw0LvRjNC90L7QtSDRgNCw0YHRgdGC0L7Rj9C90LjQtSDQvtGCINC60LDQvNC10YDRiyDQtNC+INC+0LHRitC10LrRgtC+0LIsINC60L7RgtC+0YDRi9C1INCx0YPQtNGD0YIg0L7RgtC+0LHRgNCw0LbQsNGC0YzRgdGPXG4gICAgICAgICAqIEB0eXBlIHtOdW1iZXJ9XG4gICAgICAgICAqL1xuICAgICAgICB0aGlzLm5lYXIgPSBuZWFyO1xuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiDQnNCw0LrRgdC40LzQsNC70YzQvdC+0LUg0YDQsNGB0YHRgtC+0Y/QvdC40LUg0L7RgiDQutCw0LzQtdGA0Ysg0LTQviDQvtCx0YrQtdC60YLQvtCyLCDQutC+0YLQvtGA0YvQtSDQsdGD0LTRg9GCINC+0YLQvtCx0YDQsNC20LDRgtGM0YHRj1xuICAgICAgICAgKiBAdHlwZSB7TnVtYmVyfVxuICAgICAgICAgKi9cbiAgICAgICAgdGhpcy5mYXIgPSBmYXI7XG4gICAgfVxuXG4gICAgdXBkYXRlUHJvamVjdGlvbk1hdHJpeCgpIHtcbiAgICAgICAgbWF0NC5vcnRobyh0aGlzLnByb2plY3Rpb25NYXRyaXgsIHRoaXMubGVmdCwgdGhpcy5yaWdodCwgdGhpcy5ib3R0b20sIHRoaXMudG9wLCB0aGlzLm5lYXIsIHRoaXMuZmFyKTtcbiAgICB9XG59XG5cbmV4cG9ydCBkZWZhdWx0IE9ydGhvZ3JhcGhpY0NhbWVyYTtcbiJdfQ==

@@ -85,2 +85,2 @@ 'use strict';

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jYW1lcmFzL1BlcnNwZWN0aXZlQ2FtZXJhLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUE7O0FBQ0E7Ozs7QUFDQTs7Ozs7Ozs7Ozs7Ozs7OztJQU9NOzs7Ozs7Ozs7O0FBT0YsV0FQRSx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AgICogQHR5cGUge051bWJlcn1cbiAgICAgICAgICovXG4gICAgICAgIHRoaXMubmVhciA9IG5lYXI7XG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqINCc0LDQutGB0LjQvNCw0LvRjNC90L7QtSDRgNCw0YHRgdGC0L7Rj9C90LjQtSDQvtGCINC60LDQvNC10YDRiyDQtNC+INC+0LHRitC10LrRgtC+0LIsINC60L7RgtC+0YDRi9C1INCx0YPQtNGD0YIg0L7RgtC+0LHRgNCw0LbQsNGC0YzRgdGPXG4gICAgICAgICAqIEB0eXBlIHtOdW1iZXJ9XG4gICAgICAgICAqL1xuICAgICAgICB0aGlzLmZhciA9IGZhcjtcbiAgICB9XG5cbiAgICB1cGRhdGVQcm9qZWN0aW9uTWF0cml4KCkge1xuICAgICAgICBtYXQ0LnBlcnNwZWN0aXZlKHRoaXMucHJvamVjdGlvbk1hdHJpeCwgZGVnVG9SYWQodGhpcy5mb3YpLCB0aGlzLmFzcGVjdCwgdGhpcy5uZWFyLCB0aGlzLmZhcik7XG4gICAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBQZXJzcGVjdGl2ZUNhbWVyYTtcbiJdfQ==

@@ -163,2 +163,2 @@ 'use strict';

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9HZW9tZXRyeS5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBOztBQUNBOzs7O0FBQ0E7Ozs7Ozs7Ozs7Ozs7SUFNTTtBQUNGLGFBREUsUUFDRixHQUFjOzhCQURaLFVBQ1k7Ozs7OztBQUtWLGFBQUssT0FBTCxHQUFlLEVBQWY7Ozs7Ozs7QUFMVSxZQVlWLENBQUssWUFBTCxHQUFvQixJQUFwQixDQVpVO0tBQWQ7Ozs7Ozs7OztpQkFERTs7a0NBcUJRLE1BQU0sUUFBUTtBQUNwQixpQkFBSyxPQUFMLENBQWEsSUFBYixJQ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V0cnk7XG4iXX0=

@@ -75,5 +75,5 @@ 'use strict';

var _FrameBuffer = require('./FrameBuffer');
var _RenderTarget = require('./RenderTarget');
var _FrameBuffer2 = _interopRequireDefault(_FrameBuffer);
var _RenderTarget2 = _interopRequireDefault(_RenderTarget);

@@ -132,3 +132,3 @@ var _Ray = require('./math/Ray');

Raycaster: _Raycaster2.default,
FrameBuffer: _FrameBuffer2.default,
RenderTarget: _RenderTarget2.default,
Ray: _Ray2.default,

@@ -148,2 +148,2 @@ Plane: _Plane2.default,

module.exports = dgl;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBOzs7O0FBQ0E7Ozs7QUFDQTs7OztBQUNBOzs7O0FBQ0E7Ozs7QUFDQTs7OztBQUNBOzs7O0FBQ0E7Ozs7QUFDQTs7OztBQUNBOzs7O0FBQ0E7Ozs7QUFDQTs7OztBQUNBOzs7O0FBQ0E7Ozs7QUFDQTs7OztBQUNBOzs7O0FBQ0E7Ozs7QUFDQTs7OztBQUNBOzs7O0FBQ0E7Ozs7QUFDQTs7OztBQUNBOzs7O0FBQ0E7Ozs7QUFDQTs7SUFBWTs7QUFDWjs7OztBQUNBOzs7Ozs7O0FBR0EsbUJBQVMsVUFBVCxHQUFzQixPQUFRLFlBQVAsS0FBd0IsV0FBeEIsR0FBdUMsWUFBeEMsR0FBdUQsS0FBdkQ7O0FBRXRCLElBQU0sTUFBTTtBQUNSLGdDQURRO0FBRVIsZ0NBRlE7QUFHUixrREFIUTtBQUlSLG9EQUpRO0FBS1IsNEJBTFE7QUFNUixnQ0FOUTtBQU9SLHdCQVBRO0FBUVIsNEJBUlE7QUFTUixzQ0FUUTtBQVVSLGdEQVZRO0FBV1Isb0RBWFE7QUFZUiwwQ0FaUTtBQWFSLG9EQWJRO0FBY1IsMEJBZFE7QUFlUiw4QkFmUTtBQWdCUix3Q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vLyB3aXRoIEZsb2F0MzJBcnJheSB3ZSBoYXZlIGVycm9ycyB3aXRoIHJheWNhc3RcbmdsTWF0cml4LkFSUkFZX1RZUEUgPSAodHlwZW9mIEZsb2F0NjRBcnJheSAhPT0gJ3VuZGVmaW5lZCcpID8gRmxvYXQ2NEFycmF5IDogQXJyYXk7XG5cbmNvbnN0IGRnbCA9IHtcbiAgICBSZW5kZXJlcixcbiAgICBPYmplY3QzRCxcbiAgICBQZXJzcGVjdGl2ZUNhbWVyYSxcbiAgICBPcnRob2dyYXBoaWNDYW1lcmEsXG4gICAgQnVmZmVyLFxuICAgIEdlb21ldHJ5LFxuICAgIE1lc2gsXG4gICAgU3ByaXRlLFxuICAgIE11bHRpU3ByaXRlLFxuICAgIEJhc2ljTWVzaFByb2dyYW0sXG4gICAgQ29tcGxleE1lc2hQcm9ncmFtLFxuICAgIFNwcml0ZVByb2dyYW0sXG4gICAgTXVsdGlTcHJpdGVQcm9ncmFtLFxuICAgIFNjZW5lLFxuICAgIFRleHR1cmUsXG4gICAgQW1iaWVudExpZ2h0LFxuICAgIERpcmVjdGlvbmFsTGlnaHQsXG4gICAgUmF5Y2FzdGVyLFxuICAgIFJlbmRlclRhcmdldCxcbiAgICBSYXksXG4gICAgUGxhbmUsXG4gICAgRnJ1c3R1bSxcbiAgICBCb3gsXG4gICAgTGluZTMsXG4gICAgTWF0aDogbWF0aCxcbiAgICB2ZWMzLFxuICAgIG1hdDMsXG4gICAgdmVjMixcbiAgICBtYXQ0LFxuICAgIHF1YXRcbn07XG5cbm1vZHVsZS5leHBvcnRzID0gZGdsO1xuIl19

@@ -39,2 +39,2 @@ 'use strict';

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9saWdodHMvQW1iaWVudExpZ2h0LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBOzs7Ozs7Ozs7Ozs7Ozs7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Y/QvdC90L7Qs9C+INGB0LLQtdGC0LAuINCU0LXQudGB0YLQstGD0LXRgiDQvdCwINCy0YHQtSDQvtCx0YrQtdC60YLRiyDQuCDQstC+INCy0YHQtdGFINC90LDQv9GA0LDQstC70LXQvdC40Y/RhS5cbiAqXG4gKiBAZXh0ZW5kcyBMaWdodFxuICovXG5jbGFzcyBBbWJpZW50TGlnaHQgZXh0ZW5kcyBMaWdodCB7XG4gICAgY29uc3RydWN0b3IoY29sb3IpIHtcbiAgICAgICAgc3VwZXIoY29sb3IpO1xuICAgIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgQW1iaWVudExpZ2h0O1xuIl19

@@ -40,2 +40,2 @@ 'use strict';

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9saWdodHMvRGlyZWN0aW9uYWxMaWdodC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTs7Ozs7Ozs7Ozs7Ozs7Ozs7OztJQVFNOzs7QUFDRixhQURFLGdCQUNGLENBQVksS0FBWixFQUFtQjs4QkFEakIsa0JBQ2lCOztzRUFEakIsNkJBRVEsUUFEUztLQUFuQjs7V0FERTs7O2tCQU1TIiwiZmlsZSI6IkRpcmVjdGlvbmFsTGlnaHQuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgTGlnaHQgZnJvbSAnLi9MaWdodCc7XG5cbi8qKlxuICog0JjRgdGC0L7Rh9C90LjQuiDQvdCw0L/RgNCw0LLQu9C10L3QvdC+0LPQviDQvtGB0LLQtdGJ0LXQvdC40Y8uXG4gKiDQlNC70Y8g0Y3RgtC+0LPQviDRgtC40L/QsCDRgdCy0LXRgtCwINCy0LDQttC90L4g0L3QsNC/0YDQsNCy0LvQtdC90LjQtS5cbiAqXG4gKiBAZXh0ZW5kcyBMaWdodFxuICovXG5jbGFzcyBEaXJlY3Rpb25hbExpZ2h0IGV4dGVuZHMgTGlnaHQge1xuICAgIGNvbnN0cnVjdG9yKGNvbG9yKSB7XG4gICAgICAgIHN1cGVyKGNvbG9yKTtcbiAgICB9XG59XG5cbmV4cG9ydCBkZWZhdWx0IERpcmVjdGlvbmFsTGlnaHQ7XG4iXX0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9saWdodHMvRGlyZWN0aW9uYWxMaWdodC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0lBUU07OztBQUNGLGFBREUsZ0JBQ0YsQ0FBWSxLQUFaLEVBQW1COzhCQURqQixrQkFDaUI7O3NFQURqQiw2QkFFUSxRQURTO0tBQW5COztXQURFOzs7a0JBTVMiLCJmaWxlIjoiRGlyZWN0aW9uYWxMaWdodC5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBMaWdodCBmcm9tICcuL0xpZ2h0JztcblxuLyoqXG4gKiDQmNGB0YLQvtGH0L3QuNC6INC90LDQv9GA0LDQstC70LXQvdC90L7Qs9C+INC+0YHQstC10YnQtdC90LjRjy5cbiAqINCU0LvRjyDRjdGC0L7Qs9C+INGC0LjQv9CwINGB0LLQtdGC0LAg0LLQsNC20L3QviDQvdCw0L/RgNCw0LLQu9C10L3QuNC1LlxuICpcbiAqIEBleHRlbmRzIExpZ2h0XG4gKi9cbmNsYXNzIERpcmVjdGlvbmFsTGlnaHQgZXh0ZW5kcyBMaWdodCB7XG4gICAgY29uc3RydWN0b3IoY29sb3IpIHtcbiAgICAgICAgc3VwZXIoY29sb3IpO1xuICAgIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgRGlyZWN0aW9uYWxMaWdodDtcbiJdfQ==

@@ -52,2 +52,2 @@ 'use strict';

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3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4uL3NyYy9saWdodHMvTGlnaHQuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztJQVFNOzs7Ozs7O0FBSUYsV0FKRSxLQUlGLENBQVksS0FBWixFQUFtQjswQkFKakIsT0FJaUI7Ozs7Ozs7dUVBSmpCLG1CQUlpQjs7QUFPZixVQUFLLEtBQUwsR0FBYSxLQUFiLENBUGU7O0dBQW5COztTQUpFOzs7a0JBZVMiLCJmaWxlIjoiTGlnaHQuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgT2JqZWN0M0QgZnJvbSAnLi4vT2JqZWN0M0QnO1xuXG4vKipcbiAqINCR0LDQt9C+0LLRi9C5INC60LvQsNGB0YEg0LTQu9GPINGB0L7Qt9C00LDQvdC40Y8g0LjRgdGC0L7Rh9C90LjQutCwINGB0LLQtdGC0LAuXG4gKiDQodCw0Lwg0L/QviDRgdC10LHQtSDQvdC1INC40YHQv9C+0LvRjNC30YPQtdGC0YHRjy5cbiAqXG4gKiBAZXh0ZW5kcyBPYmplY3QzRFxuICovXG5jbGFzcyBMaWdodCBleHRlbmRzIE9iamVjdDNEIHtcbiAgICAvKipcbiAgICAgKiBAcGFyYW0ge0FycmF5fSBjb2xvciDQptCy0LXRgiDQsiDRhNC+0YDQvNCw0YLQtSBSR0JcbiAgICAgKi9cbiAgICBjb25zdHJ1Y3Rvcihjb2xvcikge1xuICAgICAgICBzdXBlcigpO1xuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiDQptCy0LXRgiDQsiDRhNC+0YDQvNCw0YLQtSBSR0JcbiAgICAgICAgICogQHR5cGUge0FycmF5fVxuICAgICAgICAgKi9cbiAgICAgICAgdGhpcy5jb2xvciA9IGNvbG9yO1xuICAgIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgTGlnaHQ7XG4iXX0=

@@ -66,2 +66,2 @@ 'use strict';

module.exports = exports['default'];
//# sourceMappingURL=data:application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0YXQvtC00LjRgtGB0Y8g0LvQuCB7QGxpbmsgQm94fSDQsiDQvtCx0LvQsNGB0YLQuCBmcnVzdHVtXG4gICAgICogQHBhcmFtIHtCb3h9IGJveFxuICAgICAqIEByZXR1cm5zIHtCb29sZWFufVxuICAgICAqL1xuICAgIGludGVyc2VjdHNCb3goYm94KSB7XG4gICAgICAgIGNvbnN0IHAxID0gdmVjMy5jcmVhdGUoKTtcbiAgICAgICAgY29uc3QgcDIgPSB2ZWMzLmNyZWF0ZSgpO1xuICAgICAgICBjb25zdCBwbGFuZXMgPSB0aGlzLnBsYW5lcztcblxuICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IDY7IGkrKykge1xuICAgICAgICAgICAgY29uc3QgcGxhbmUgPSBwbGFuZXNbaV07XG5cbiAgICAgICAgICAgIHAxWzBdID0gcGxhbmUubm9ybWFsWzBdID4gMCA/IGJveC5taW5bMF0gOiBib3gubWF4WzBdO1xuICAgICAgICAgICAgcDJbMF0gPSBwbGFuZS5ub3JtYWxbMF0gPiAwID8gYm94Lm1heFswXSA6IGJveC5taW5bMF07XG4gICAgICAgICAgICBwMVsxXSA9IHBsYW5lLm5vcm1hbFsxXSA+IDAgPyBib3gubWluWzFdIDogYm94Lm1heFsxXTtcbiAgICAgICAgICAgIHAyWzFdID0gcGxhbmUubm9ybWFsWzFdID4gMCA/IGJveC5tYXhbMV0gOiBib3gubWluWzFdO1xuICAgICAgICAgICAgcDFbMl0gPSBwbGFuZS5ub3JtYWxbMl0gPiAwID8gYm94Lm1pblsyXSA6IGJveC5tYXhbMl07XG4gICAgICAgICAgICBwMlsyXSA9IHBsYW5lLm5vcm1hbFsyXSA+IDAgPyBib3gubWF4WzJdIDogYm94Lm1pblsyXTtcblxuICAgICAgICAgICAgY29uc3QgZDEgPSBwbGFuZS5kaXN0YW5jZVRvUG9pbnQocDEpO1xuICAgICAgICAgICAgY29uc3QgZDIgPSBwbGFuZS5kaXN0YW5jZVRvUG9pbnQocDIpO1xuXG4g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biAgICAgICAgICAgIGNvbnN0IGQxID0gcGxhbmUuZGlzdGFuY2VUb1BvaW50KHAxKTtcbiAgICAgICAgICAgIGNvbnN0IGQyID0gcGxhbmUuZGlzdGFuY2VUb1BvaW50KHAyKTtcblxuICAgICAgICAgICAgLy8gaWYgYm90aCBvdXRzaWRlIHBsYW5lLCBubyBpbnRlcnNlY3Rpb25cbiAgICAgICAgICAgIGlmIChkMSA8IDAgJiYgZDIgPCAwKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBGcnVzdHVtO1xuIl19

@@ -106,2 +106,2 @@ 'use strict';

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9tYXRoL0xpbmUzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUE7O0FBQ0E7Ozs7Ozs7Ozs7SUFPTTs7Ozs7O0FBS0YsYUFMRSxLQUtGLENBQVksS0FBWixFQUFtQixHQUFuQixFQUF3Qjs4QkFMdEIsT0FLc0I7O0FBQ3BCLGFBQUssS0FBTCxHQUFhLFNBQVMsZUFBSyxNQUFMLEVBQVQsQ0FETztBQUVwQixhQUFLLEdBQUwsR0FBVyxPQUFPLGVBQUssTUFBTCxFQUFQLENBRlM7S0FBeEI7Ozs7Ozs7Ozs7O2lCQUxFOztxREFpQjJCLE9BQU8sYUFBYTtBQUM3QyxnQkFBTSxTQUFTLGVBQUssTUFBTCxFQUFULENBRHVDO0FBRTdDLGdCQUFNLFdBQVcsZUFBSyxNQUFMLEVBQVgsQ0FGdUM7O0FBSTdDLDJCQUFLLEdBQUwsQ0FBUyxNQUFULEVBQWlCLEtBQWpCLEVBQXdCLEtBQUssS0FBTCxDQUF4QixDQUo2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M0L3QvtC1INGA0LDRgdGB0YLQvtGP0L3QuNC1INC80LXQttC00YMg0YLQvtGH0LrQvtC5INC4INC/0LvQvtGB0LrQvtGB0YLRjNGOXG4gICAgICogQHBhcmFtIHt2ZWMzfSBwb2ludFxuICAgICAqIEByZXR1cm5zIHtOdW1iZXJ9XG4gICAgICovXG4gICAgZGlzdGFuY2VUb1BvaW50KHBvaW50KSB7XG4gICAgICAgIHJldHVybiB2ZWMzLmRvdCh0aGlzLm5vcm1hbCwgcG9pbnQpICsgdGhpcy5jb25zdGFudDtcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiDQo9GB0YLQsNC90LDQstC70LjQstCw0LXRgiDQt9C90LDRh9C10L3QuNGPINC90L7RgNC80LDQu9C4INC4INGB0LzQtdGI0LXQvdC40LUg0L/Qu9C+0YHQutC+0YHRgtC4XG4gICAgICogQHBhcmFtIHtOdW1iZXJ9IHhcbiAgICAgKiBAcGFyYW0ge051bWJlcn0geVxuICAgICAqIEBwYXJhbSB7TnVtYmVyfSB6XG4gICAgICogQHBhcmFtIHtOdW1iZXJ9IHdcbiAgICAgKi9cbiAgICBzZXRDb21wb25lbnRzKHgsIHksIHosIHcpIHtcbiAgICAgICAgdmVjMy5zZXQodGhpcy5ub3JtYWwsIHgsIHksIHopO1xuICAgICAgICB0aGlzLmNvbnN0YW50ID0gdztcbiAgICAgICAgcmV0dXJuIHRoaXM7XG4gICAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBQbGFuZTtcbiJdfQ==

@@ -76,8 +76,8 @@ 'use strict';

value: function intersectBox(box) {
var tmin = void 0,
tmax = void 0,
tymin = void 0,
tymax = void 0,
tzmin = void 0,
tzmax = void 0;
var tmin = undefined,
tmax = undefined,
tymin = undefined,
tymax = undefined,
tzmin = undefined,
tzmax = undefined;

@@ -190,3 +190,3 @@ var invdirx = 1 / this.direction[0];

var DdN = _glMatrix.vec3.dot(this.direction, normal);
var sign = void 0;
var sign = undefined;

@@ -295,2 +295,2 @@ if (D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IHtcbiAgICAgICAgbGV0IHRtaW4sIHRtYXgsIHR5bWluLCB0eW1heCwgdHptaW4sIHR6bWF4O1xuXG4gICAgICAgIGNvbnN0IGludmRpcnggPSAxIC8gdGhpcy5kaXJlY3Rpb25bMF07XG4gICAgICAgIGNvbnN0IGludmRpcnkgPSAxIC8gdGhpcy5kaXJlY3Rpb25bMV07XG4gICAgICAgIGNvbnN0IGludmRpcnogPSAxIC8gdGhpcy5kaXJlY3Rpb25bMl07XG5cbiAgICAgICAgY29uc3Qgb3JpZ2luID0gdGhpcy5vcmlnaW47XG5cbiAgICAgICAgaWYgKGludmRpcnggPj0gMCkge1xuICAgICAgICAgICAgdG1pbiA9IChib3gubWluWzBdIC0gb3JpZ2luWzBdKSAqIGludmRpcng7XG4gICAgICAgICAgICB0bWF4ID0gKGJveC5tYXhbMF0gLSBvcmlnaW5bMF0pICogaW52ZGlyeDtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHRtaW4gPSAoYm94Lm1heFswXSAtIG9yaWdpblswXSkgKiBpbnZkaXJ4O1xuICAgICAgICAgICAgdG1heCA9IChib3gubWluWzBdIC0gb3JpZ2luWzBdKSAqIGludmRpcng7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoaW52ZGlyeSA+PSAwKSB7XG4gICAgICAgICAgICB0eW1pbiA9IChib3gubWluWzFdIC0gb3JpZ2luWzFdKSAqIGludmRpcnk7XG4gICAgICAgICAgICB0eW1heCA9IChib3gubWF4WzFdIC0gb3JpZ2luWzFdKSAqIGludmRpcnk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0eW1pbiA9IChib3gubWF4WzFdIC0gb3JpZ2luWzFdKSAqIGludmRpcnk7XG4gICAgICAgICAgICB0eW1heCA9IChib3gubWluWzFdIC0gb3JpZ2luWzFdKSAqIGludmRpcnk7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoKHRtaW4gPiB0eW1heCkgfHwgKHR5bWluID4gdG1heCkpIHsgcmV0dXJuIG51bGw7IH1cblxuICAgICAgICAvLyBUaGVzZSBsaW5lcyBhbHNvIGhhbmRsZSB0aGUgY2FzZSB3aGVyZSB0bWluIG9yIHRtYXggaXMgTmFOXG4gICAgICAgIC8vIChyZXN1bHQgb2YgMCAqIEluZmluaXR5KS4geCAhPT0geCByZXR1cm5zIHRydWUgaWYgeCBpcyBOYU5cbiAgICAgICAgaWYgKHR5bWluID4gdG1pbiB8fCB0bWluICE9PSB0bWluKSB7IHRtaW4gPSB0eW1pbjsgfVxuXG4gICAgICAgIGlmICh0eW1heCA8IHRtYXggfHwgdG1heCAhPT0gdG1heCkgeyB0bWF4ID0gdHltYXg7IH1cblxuICAgICAgICBpZiAoaW52ZGlyeiA+PSAwKSB7XG4gICAgICAgICAgICB0em1pbiA9IChib3gubWluWzJdIC0gb3JpZ2luWzJdKSAqIGludmRpcno7XG4gICAgICAgICAgICB0em1heCA9IChib3gubWF4WzJdIC0gb3JpZ2luWzJdKSAqIGludmRpcno7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0em1pbiA9IChib3gubWF4WzJdIC0gb3JpZ2luWzJdKSAqIGludmRpcno7XG4gICAgICAgICAgICB0em1heCA9IChib3gubWluWzJdIC0gb3JpZ2luWzJdKSAqIGludmRpcno7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoKHRtaW4gPiB0em1heCkgfHwgKHR6bWluID4gdG1heCkpIHsgcmV0dXJuIG51bGw7IH1cblxuICAgICAgICBpZiAodHptaW4gPiB0bWluIHx8IHRtaW4gIT09IHRtaW4pIHsgdG1pbiA9IHR6bWluOyB9XG5cbiAgICAgICAgaWYgKHR6bWF4IDwgdG1heCB8fCB0bWF4ICE9PSB0bWF4KSB7IHRtYXggPSB0em1heDsgfVxuXG4gICAgICAgIC8vIHJldHVybiBwb2ludCBjbG9zZXN0IHRvIHRoZSByYXkgKHBvc2l0aXZlIHNpZGUpXG4gICAgICAgIGlmICh0bWF4IDwgMCkgeyByZXR1cm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qIHZlYzMuZG90KHRoaXMuZGlyZWN0aW9uLCBjZGUxKTtcblxuICAgICAgICAvLyBiMiA8IDAsIG5vIGludGVyc2VjdGlvblxuICAgICAgICBpZiAoRGRFMXhRIDwgMCkge1xuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgIH1cblxuICAgICAgICAvLyBiMStiMiA+IDEsIG5vIGludGVyc2VjdGlvblxuICAgICAgICBpZiAoRGRReEUyICsgRGRFMXhRID4gRGROKSB7XG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIExpbmUgaW50ZXJzZWN0cyB0cmlhbmdsZSwgY2hlY2sgaWYgcmF5IGRvZXMuXG4gICAgICAgIGNvbnN0IFFkTiA9IC1zaWduICogdmVjMy5kb3QoZGlmZiwgbm9ybWFsKTtcblxuICAgICAgICAvLyB0IDwgMCwgbm8gaW50ZXJzZWN0aW9uXG4gICAgICAgIGlmIChRZE4gPCAwKSB7XG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIFJheSBpbnRlcnNlY3RzIHRyaWFuZ2xlLlxuICAgICAgICByZXR1cm4gdGhpcy5hdChRZE4gLyBEZE4pO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqINCY0YnQtdGCINGA0LDRgdGB0YLQvtGP0L3QuNC1INC+0YIg0L3QsNGH0LDQu9CwINC70YPRh9CwINC00L4g0L/Qu9C+0YHQutC+0YHRgtC4XG4gICAgICogQHBhcmFtIHtQbGFuZX0gcGxhbmVcbiAgICAgKiBAcmV0dXJucyB7P051bWJlcn1cbiAgICAgKi9cbiAgICBkaXN0YW5jZVRvUGxhbmUocGxhbmUpIHtcbiAgICAgICAgY29uc3QgZGVub21pbmF0b3IgPSB2ZWMzLmRvdChwbGFuZS5ub3JtYWwsIHRoaXMuZGlyZWN0aW9uKTtcblxuICAgICAgICBpZiAoZGVub21pbmF0b3IgPT09IDApIHtcbiAg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bFxuICAgICAqL1xuICAgIGludGVyc2VjdEJveChib3gpIHtcbiAgICAgICAgbGV0IHRtaW4sIHRtYXgsIHR5bWluLCB0eW1heCwgdHptaW4sIHR6bWF4O1xuXG4gICAgICAgIGNvbnN0IGludmRpcnggPSAxIC8gdGhpcy5kaXJlY3Rpb25bMF07XG4gICAgICAgIGNvbnN0IGludmRpcnkgPSAxIC8gdGhpcy5kaXJlY3Rpb25bMV07XG4gICAgICAgIGNvbnN0IGludmRpcnogPSAxIC8gdGhpcy5kaXJlY3Rpb25bMl07XG5cbiAgICAgICAgY29uc3Qgb3JpZ2luID0gdGhpcy5vcmlnaW47XG5cbiAgICAgICAgaWYgKGludmRpcnggPj0gMCkge1xuICAgICAgICAgICAgdG1pbiA9IChib3gubWluWzBdIC0gb3JpZ2luWzBdKSAqIGludmRpcng7XG4gICAgICAgICAgICB0bWF4ID0gKGJveC5tYXhbMF0gLSBvcmlnaW5bMF0pICogaW52ZGlyeDtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHRtaW4gPSAoYm94Lm1heFswXSAtIG9yaWdpblswXSkgKiBpbnZkaXJ4O1xuICAgICAgICAgICAgdG1heCA9IChib3gubWluWzBdIC0gb3JpZ2luWzBdKSAqIGludmRpcng7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoaW52ZGlyeSA+PSAwKSB7XG4gICAgICAgICAgICB0eW1pbiA9IChib3gubWluWzFdIC0gb3JpZ2luWzFdKSAqIGludmRpcnk7XG4gICAgICAgICAgICB0eW1heCA9IChib3gubWF4WzFdIC0gb3JpZ2luWzFdKSAqIGludmRpcnk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0eW1pbiA9IChib3gubWF4WzFdIC0gb3JpZ2luWzFdKSAqIGludmRpcnk7XG4gICAgICAgICAgICB0eW1heCA9IChib3gubWluWzFdIC0gb3JpZ2luWzFdKSAqIGludmRpcnk7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoKHRtaW4gPiB0eW1heCkgfHwgKHR5bWluID4gdG1heCkpIHsgcmV0dXJuIG51bGw7IH1cblxuICAgICAgICAvLyBUaGVzZSBsaW5lcyBhbHNvIGhhbmRsZSB0aGUgY2FzZSB3aGVyZSB0bWluIG9yIHRtYXggaXMgTmFOXG4gICAgICAgIC8vIChyZXN1bHQgb2YgMCAqIEluZmluaXR5KS4geCAhPT0geCByZXR1cm5zIHRydWUgaWYgeCBpcyBOYU5cbiAgICAgICAgaWYgKHR5bWluID4gdG1pbiB8fCB0bWluICE9PSB0bWluKSB7IHRtaW4gPSB0eW1pbjsgfVxuXG4gICAgICAgIGlmICh0eW1heCA8IHRtYXggfHwgdG1heCAhPT0gdG1heCkgeyB0bWF4ID0gdHltYXg7IH1cblxuICAgICAgICBpZiAoaW52ZGlyeiA+PSAwKSB7XG4gICAgICAgICAgICB0em1pbiA9IChib3gubWluWzJdIC0gb3JpZ2luWzJdKSAqIGludmRpcno7XG4gICAgICAgICAgICB0em1heCA9IChib3gubWF4WzJdIC0gb3JpZ2luWzJdKSAqIGludmRpcno7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0em1pbiA9IChib3gubWF4WzJdIC0gb3JpZ2luWzJdKSAqIGludmRpcno7XG4gICAgICAgICAgICB0em1heCA9IChib3gubWluWzJdIC0gb3JpZ2luWzJdKSAqIGludmRpcno7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoKHRtaW4gPiB0em1heCkgfHwgKHR6bWluID4gdG1heCkpIHsgcmV0dXJuIG51bGw7IH1cblxuICAgICAgICBpZiAodHptaW4gPiB0bWluIHx8IHRtaW4gIT09IHRtaW4pIHsgdG1pbiA9IHR6bWluOyB9XG5cbiAgICAgICAgaWYgKHR6bWF4IDwgdG1heCB8fCB0bWF4ICE9PSB0bWF4KSB7IHRtYXggPSB0em1heDsgfVxuXG4gICAgICAgIC8vIHJldHVybiBwb2ludCBjbG9zZXN0IHRvIHRoZSByYXkgKHBvc2l0aXZlIHNpZGUpXG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cbiAgICAgICAgY29uc3QgRGRFMXhRID0gc2lnbiAqIHZlYzMuZG90KHRoaXMuZGlyZWN0aW9uLCBjZGUxKTtcblxuICAgICAgICAvLyBiMiA8IDAsIG5vIGludGVyc2VjdGlvblxuICAgICAgICBpZiAoRGRFMXhRIDwgMCkge1xuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgIH1cblxuICAgICAgICAvLyBiMStiMiA+IDEsIG5vIGludGVyc2VjdGlvblxuICAgICAgICBpZiAoRGRReEUyICsgRGRFMXhRID4gRGROKSB7XG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIExpbmUgaW50ZXJzZWN0cyB0cmlhbmdsZSwgY2hlY2sgaWYgcmF5IGRvZXMuXG4gICAgICAgIGNvbnN0IFFkTiA9IC1zaWduICogdmVjMy5kb3QoZGlmZiwgbm9ybWFsKTtcblxuICAgICAgICAvLyB0IDwgMCwgbm8gaW50ZXJzZWN0aW9uXG4gICAgICAgIGlmIChRZE4gPCAwKSB7XG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIFJheSBpbnRlcnNlY3RzIHRyaWFuZ2xlLlxuICAgICAgICByZXR1cm4gdGhpcy5hdChRZE4gLyBEZE4pO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqINCY0YnQtdGCINGA0LDRgdGB0YLQvtGP0L3QuNC1INC+0YIg0L3QsNGH0LDQu9CwINC70YPRh9CwINC00L4g0L/Qu9C+0YHQutC+0YHRgtC4XG4gICAgICogQHBhcmFtIHtQbGFuZX0gcGxhbmVcbiAgICAgKiBAcmV0dXJucyB7P051bWJlcn1cbiAgICAgKi9cbiAgICBkaXN0YW5jZVRvUGxhbmUocGxhbmUpIHtcbiAgICAgICAgY29uc3QgZGVub21pbmF0b3IgPSB2ZWMzLmRvdChwbGFuZS5ub3JtYWwsIHRoaXMuZGlyZWN0aW9uKTtcblxuICAgICA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VxuXG4gICAgICAgIGlmIChyZWN1cnNpdmUpIHtcbiAgICAgICAgICAgIHRoaXMuY2hpbGRyZW4uZm9yRWFjaChjaGlsZCA9PiBjaGlsZC5yYXljYXN0KHJheWNhc3RlciwgaW50ZXJzZWN0cywgcmVjdXJzaXZlKSk7XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gdGhpcztcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiDQktGL0LfRi9Cy0LDQtdGC0YHRjyDQvdCwINGN0YLQsNC/0LUg0YDQtdC90LTQtdGA0LjQvdCz0LAsINGH0YLQvtCx0Ysg0L7Qv9GA0LXQtNC10LvQuNGC0Ywg0Log0LrQsNC60L7QvNGDINGC0LjQv9GDINGA0LXQvdC00LXRgNCwINC/0YDQuNC90LDQtNC70LXQttC40YIg0L7QsdGK0LXQutGCLlxuICAgICAqINCc0LXRiNC4INGA0LDQt9C00LXQu9GP0Y7RgtGB0Y8g0L3QsCDQv9GA0L7Qt9GA0LDRh9C90YvQtSDQuCDQvdC10YIuXG4gICAgICpcbiAgICAgKiBAcGFyYW0ge1R5cGVkT2JqZWN0c30gdHlwZWRPYmplY3RzXG4gICAgICovXG4gICAgdHlwaWZ5Rm9yUmVuZGVyKHR5cGVkT2JqZWN0cykge1xuICAgICAgICBpZiAoIXRoaXMudmlzaWJsZSkgeyByZXR1cm4gdGhpczsgfVxuXG4gICAgICAgIHRoaXMucHJvZ3JhbS50eXBpZnlGb3JSZW5kZXIodHlwZWRPYmplY3RzLCB0aGlzKTtcblxuICAgICAgICB0aGlzLmNoaWxkcmVuLmZvckVhY2goY2hpbGQgPT4gY2hpbGQudHlwaWZ5Rm9yUmVuZGVyKHR5cGVkT2JqZWN0cykpO1xuXG4gICAgICAgIHJldHVybiB0aGlzO1xuICAgIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgTWVzaDtcbiJdfQ==

@@ -345,2 +345,2 @@ 'use strict';

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ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0ZXMpO1xuICAgICAgICB0aGlzLl9pbml0R2VvbWV0cnkoKTtcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiDQo9GB0YLQsNC90LDQstC70LjQstCw0LXRgiDRgdC/0YDQsNC50YLRgyBvcGFjaXR5XG4gICAgICpcbiAgICAgKiBAcGFyYW0ge051bWJlcn0gc3ByaXRlSW5kZXgg0JjQvdC00LXQutGBINGB0L/RgNCw0LnRgtCwXG4gICAgICogQHBhcmFtIHtOdW1iZXJ9IHZhbHVlICAgICAgINCd0L7QstC+0LUg0LfQvdCw0YfQtdC90LjQtSBvcGFjaXR5XG4gICAgICovXG4gICAgc2V0T3BhY2l0eShzcHJpdGVJbmRleCwgdmFsdWUpIHtcbiAgICAgICAgY29uc3QgYXJyID0gdGhpcy5fZGF0YS5jb2xvckFscGhhLmFycmF5O1xuICAgICAgICBjb25zdCBzdGFydCA9IHNwcml0ZUluZGV4ICogNjtcblxuICAgICAgICBhcnJbc3RhcnRdID0gdmFsdWU7XG4gICAgICAgIGFycltzdGFydCArIDFdID0gdmFsdWU7XG4gICAgICAgIGFycltzdGFydCArIDJdID0gdmFsdWU7XG4gICAgICAgIGFycltzdGFydCArIDNdID0gdmFsdWU7XG4gICAgICAgIGFycltzdGFydCArIDRdID0gdmFsdWU7XG4gICAgICAgIGFycltzdGFydCArIDVdID0gdmFsdWU7XG5cbiAgICAgICAgdGhpcy5fZGF0YS5jb2xvckFscGhhLmRpcnR5ID0gdHJ1ZTtcblxuICAgICAgICByZXR1cm4gdGhpcztcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiDQo9GB0YLQsNC90LDQstC70LjQstCw0LXRgiDRgdC/0YDQsNC50YLRgyDQv9C+0LfQuNGG0LjRjlxuICAgICAqXG4gICAgICogQHBhcmFtIHtOdW1iZXJ9IHNwcml0ZUluZGV4INCY0L3QtNC10LrRgSDRgdC/0YDQsNC50YLQsFxuICAgICAqIEBwYXJhbSB7dmVjMn0gICB2YWx1ZSAgICAgICDQndC+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hcnJbc3RhcnRdID0gdmFsdWVbMF07IGFycltzdGFydCArIDFdID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDJdID0gdmFsdWVbMF07IGFycltzdGFydCArIDNdID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDRdID0gdmFsdWVbMF07IGFycltzdGFydCArIDVdID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDZdID0gdmFsdWVbMF07IGFycltzdGFydCArIDddID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDhdID0gdmFsdWVbMF07IGFycltzdGFydCArIDldID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDEwXSA9IHZhbHVlWzBdOyBhcnJbc3RhcnQgKyAxMV0gPSB2YWx1ZVsxXTtcblxuICAgICAgICB0aGlzLl9kYXRhLm9mZnNldC5kaXJ0eSA9IHRydWU7XG5cbiAgICAgICAgcmV0dXJuIHRoaXM7XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICog0KPRgdGC0LDQvdCw0LLQu9C40LLQsNC10YIg0YHQv9GA0LDQudGC0YMg0L3QvtCy0YvQtSBVVi3QutC+0L7RgNC00LjQvdCw0YLRi1xuICAgICAqXG4gICAgICogQHBhcmFtIHtOdW1iZXJ9IHNwcml0ZUluZGV4INCY0L3QtNC10LrRgSDRgdC/0YDQsNC50YLQsFxuICAgICAqIEBwYXJhbSB7QXJyYXl9ICBib3VuZCAgICAgICDQndC+0LLQvtC1INC30L3QsNGH0LXQvdC40LUg0LrQvtC+0YDQtNC40L3QsNGCXG4gICAgICovXG4gICAgc2V0VVYoc3ByaXRlSW5kZXgsIGJvdW5kKSB7XG4gICAgICAgIGNvbnN0IGFyciA9IHRoaXMuX2RhdGEudGV4dHVyZS5hcnJheTtcbiAgICAgICAgY29uc3Qgc3RhcnQgPSBzcHJpdGVJbmRleCAqIDEyO1xuXG4gICAgICAgIGFycltzdGFydF0gPSBib3VuZFsyXTsgYXJyW3N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70LjQstCw0LXRgiDRgdC/0YDQsNC50YLRgyBvcGFjaXR5XG4gICAgICpcbiAgICAgKiBAcGFyYW0ge051bWJlcn0gc3ByaXRlSW5kZXgg0JjQvdC00LXQutGBINGB0L/RgNCw0LnRgtCwXG4gICAgICogQHBhcmFtIHtOdW1iZXJ9IHZhbHVlICAgICAgINCd0L7QstC+0LUg0LfQvdCw0YfQtdC90LjQtSBvcGFjaXR5XG4gICAgICovXG4gICAgc2V0T3BhY2l0eShzcHJpdGVJbmRleCwgdmFsdWUpIHtcbiAgICAgICAgY29uc3QgYXJyID0gdGhpcy5fZGF0YS5jb2xvckFscGhhLmFycmF5O1xuICAgICAgICBjb25zdCBzdGFydCA9IHNwcml0ZUluZGV4ICogNjtcblxuICAgICAgICBhcnJbc3RhcnRdID0gdmFsdWU7XG4gICAgICAgIGFycltzdGFydCArIDFdID0gdmFsdWU7XG4gICAgICAgIGFycltzdGFydCArIDJdID0gdmFsdWU7XG4gICAgICAgIGFycltzdGFydCArIDNdID0gdmFsdWU7XG4gICAgICAgIGFycltzdGFydCArIDRdID0gdmFsdWU7XG4gICAgICAgIGFycltzdGFydCArIDVdID0gdmFsdWU7XG5cbiAgICAgICAgdGhpcy5fZGF0YS5jb2xvckFscGhhLmRpcnR5ID0gdHJ1ZTtcblxuICAgICAgICByZXR1cm4gdGhpcztcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiDQo9GB0YLQsNC90LDQstC70LjQstCw0LXRgiDRgdC/0YDQsNC50YLRgyDQv9C+0LfQuNGG0LjRjlxuICAgICAqXG4gICAgICogQHBhcmFtIHtOdW1iZXJ9IHNwcml0ZUluZGV4INCY0L3QtNC10LrRgSDRgdC/0YDQsNC50YLQsFxuICAgICAqIEBwYXJhbSB7dmVjMn0gICB2YWx1ZSAgICAgICDQndC+0LLQvtC1INC30L3QsNGH0LXQvdC40LUg0L/QvtC30LjRhtC40LhcbiAgICAgKi9cbiAgICBzZXRQb3NpdGlvbihzcHJpdGVJbmRleCwg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F07IGFycltzdGFydCArIDNdID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDRdID0gdmFsdWVbMF07IGFycltzdGFydCArIDVdID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDZdID0gdmFsdWVbMF07IGFycltzdGFydCArIDddID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDhdID0gdmFsdWVbMF07IGFycltzdGFydCArIDldID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDEwXSA9IHZhbHVlWzBdOyBhcnJbc3RhcnQgKyAxMV0gPSB2YWx1ZVsxXTtcblxuICAgICAgICB0aGlzLl9kYXRhLm9mZnNldC5kaXJ0eSA9IHRydWU7XG5cbiAgICAgICAgcmV0dXJuIHRoaXM7XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICog0KPRgdGC0LDQvdCw0LLQu9C40LLQsNC10YIg0YHQv9GA0LDQudGC0YMg0L3QvtCy0YvQtSBVVi3QutC+0L7RgNC00LjQvdCw0YLRi1xuICAgICAqXG4gICAgICogQHBhcmFtIHtOdW1iZXJ9IHNwcml0ZUluZGV4INCY0L3QtNC10LrRgSDRgdC/0YDQsNC50YLQsFxuICAgICAqIEBwYXJhbSB7QXJyYXl9ICBib3VuZCAgICAgICDQndC+0LLQvtC1INC30L3QsNGH0LXQvdC40LUg0LrQvtC+0YDQtNC40L3QsNGCXG4gICAgICovXG4gICAgc2V0VVYoc3ByaXRlSW5kZXgsIGJvdW5kKSB7XG4gICAgICAgIGNvbnN0IGFyciA9IHRoaXMuX2RhdGEudGV4dHVyZS5hcnJheTtcbiAgICAgICAgY29uc3Qgc3RhcnQgPSBzcHJpdGVJbmRleCAqIDEyO1xuXG4gICAgICAgIGFycltzdGFydF0gPSBib3VuZFsyXTsgYXJyW3N0YXJ0ICsgMV0gPSAxIC0gYm91bmRbM107XG4gICAgICAgIGFycltzdGFydCArIDJdID0gYm91bmRbMl07IGFycltzdGFydCArIDNdID0gMSAtIG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GC0LDQutC40YUg0L7QsdGK0LXQutGC0L7QsiDQv9C10YDQtdC00LDRkdGC0YHRjyDQsiDQutC+0L3RgdGC0YDRg9C60YLQvtGAINC60LvQsNGB0YHQsFxuICogTXVsdGlTcHJpdGVcbiAqXG4gKiBAdHlwZWRlZiB7T2JqZWN0fSBTcHJpdGVEZXNjcmlwdG9yXG4gKiBAcHJvcGVydHkge3ZlYzJ9IHBvc2l0aW9uINCa0L7QvtGA0LTQuNC90LDRgtGLINGB0L/RgNCw0LnRgtCwINCyINC/0LvQvtGB0LrQvtGB0YLQuCBYWVxuICogQHByb3BlcnR5IHt2ZWMyfSBzaXplINCg0LDQt9C80LXRgCDRgdC/0YDQsNC50YLQsCDQsiDQv9C40LrRgdC10LvRj9GFXG4gKiBAcHJvcGVydHkge3ZlYzJ9IG9mZnNldCDQodC80LXRidC10L3QuNC1INGB0L/RgNCw0LnRgtCwINCyINC/0LjQutGB0LXQu9GP0YUg0LIg0L/Qu9C+0YHQutC+0YHRgtC4INGN0LrRgNCw0L3QsFxuICogQHByb3BlcnR5IHtOdW1iZXJ9IGVsZXZhdGlvbiDQktGL0YHQvtGC0LAg0YHQv9GA0LDQudGC0LAg0L/QviDQvtGB0LggWlxuICogQHByb3BlcnR5IHtOdW1iZXJ9IG9wYWNpdHkg0J7Qv9Cw0YHQuNGC0Lgg0YHQv9GA0LDQudGC0LBcbiAqIEBwcm9wZXJ0eSB7QXJyYXl9IHV2INCa0L7QvtGA0LTQuNC90LDRgtGLINGC0LXQutGB0YLRg9GA0Ysg0YHQv9GA0LDQudGC0LBcbiAqL1xuIl19

@@ -276,2 +276,2 @@ 'use strict';

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9PYmplY3QzRC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBOzs7Ozs7Ozs7SUFNTTtBQUNGLFdBREUsUUFDRixHQUFj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NC40YbQsCDQvtC/0YDQtdC00LXQu9GP0Y7RidCw0Y8g0L/QvtCy0L7RgNC+0YIsINC80LDRgdGI0YLQsNCxINC4INC/0L7Qt9C40YbQuNGOINC+0LHRitC10LrRgtCwINCyINCz0LvQvtCx0LDQu9GM0L3QvtC5INGB0LjRgdGC0LXQvNC1INC60L7QvtGA0LTQuNC90LDRgi5cbiAgICAgICAgICogQHR5cGUge21hdDR9XG4gICAgICAgICAqL1xuICAgICAgICB0aGlzLndvcmxkTWF0cml4ID0gbWF0NC5jcmVhdGUoKTtcblxuICAgICAgICAvKipcbiAgICAgICAgICog0JXRgdC70LggdHJ1ZSwg0YLQviB3b3JsZE1hdHJpeCDQsdGD0LTQtdGCINC+0LHQvdC+0LLQu9C10L3QsCDQv9C10YDQtdC0INGA0LXQvdC00LXRgNC40L3Qs9C+0LxcbiAgICAgICAgICogQHR5cGUge2Jvb2xlYW59XG4gICAgICAgICAqL1xuICAgICAgICB0aGlzLndvcmxkTWF0cml4TmVlZHNVcGRhdGUgPSBmYWxzZTtcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiDQlNC+0LHQsNCy0LvRj9C10YIg0LTQvtGH0LXRgNC90LjQuSDQvtCx0YrQtdC60YJcbiAgICAgKiBAcGFyYW0ge09iamVjdDNEfSBvYmplY3Qg0JTQvtGH0LXRgNC90LjQuSDQvtCx0YrQtdC60YJcbiAgICAgKi9cbiAgICBhZGQob2JqZWN0KSB7XG4gICAgICAgIGlmIChvYmplY3QucGFyZW50KSB7XG4gICAgICAgICAgICBvYmplY3QucGFyZW50LnJlbW92ZShvYmplY3QpO1xuICAgICAgICB9XG5cbiAgICAgICAgb2JqZWN0LnBhcmVudCA9IHRoaXM7XG4gICAgICAgIHRoaXMuY2hpbGRyZW4ucHVzaChvYmplY3QpO1xuXG4gICAgICAgIHJldHVybiB0aGlzO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqINCj0LHQuNGA0LDQtdGCINC00L7Rh9C10YDQvdC40Lkg0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+0LHRiyDQvtC/0YDQtdC00LXQu9C40YLRjCDQuiDQutCw0LrQvtC80YMg0YLQuNC/0YMg0YDQtdC90LTQtdGA0LAg0L/RgNC40L3QsNC00LvQtdC20LjRgiDQvtCx0YrQtdC60YIuXG4gICAgICogQHBhcmFtIHtUeXBlZE9iamVjdHN9IHR5cGVkT2JqZWN0c1xuICAgICAqL1xuICAgIHR5cGlmeUZvclJlbmRlcih0eXBlZE9iamVjdHMpIHtcbiAgICAgICAgaWYgKCF0aGlzLnZpc2libGUpIHsgcmV0dXJuIHRoaXM7IH1cblxuICAgICAgICB0eXBlZE9iamVjdHMuY29tbW9uLnB1c2godGhpcyk7XG5cbiAgICAgICAgdGhpcy5jaGlsZHJlbi5mb3JFYWNoKGNoaWxkID0+IGNoaWxkLnR5cGlmeUZvclJlbmRlcih0eXBlZE9iamVjdHMpKTtcblxuICAgICAgICByZXR1cm4gdGhpcztcbiAgICB9XG59XG5cbmV4cG9ydCBkZWZhdWx0IE9iamVjdDNEO1xuIl19
{
"name": "2gl",
"version": "0.0.29",
"version": "0.0.30",
"description": "WebGL library for 2GIS projects",

@@ -5,0 +5,0 @@ "repository": {

@@ -69,2 +69,2 @@ 'use strict';

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9wcm9ncmFtcy9CYXNpY01lc2hQcm9ncmFtLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUE7O0FBQ0E7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7SUFRTTs7O0FBQ0YsYUFERSxnQkFDRixHQUFjOzhCQURaLGtCQUNZOzsyRUFEWiw4QkFDWTs7QUFHVixjQUFLLGNBQUwsR0FBc0IsQ0FBQyxVQUFELENBQXRCLENBSFU7QUFJVixjQUFLLFlBQUwsR0FBb0IsQ0FBQyxTQUFELEVBQVksV0FBWixFQUF5QixRQUF6QixFQUFtQyxhQU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LCAndUNvbG9yJywgJ3VDb2xvckFscGhhJ107XG4gICAgICAgIHRoaXMuX3NoYWRlciA9IHNoYWRlcjtcblxuICAgICAgICAvKipcbiAgICAgICAgICog0KbQstC10YIg0LIg0YTQvtGA0LzQsNGC0LUgUkdCXG4gICAgICAgICAqIEB0eXBlIHtOdW1iZXJbXX1cbiAgICAgICAgICovXG4gICAgICAgIHRoaXMuY29sb3IgPSBbMCwgMCwgMF07XG4gICAgfVxuXG4gICAgX2JpbmRVbmlmb3Jtcyh7Z2wsIGNhbWVyYSwgb2JqZWN0fSkge1xuICAgICAgICBnbC51bmlmb3JtTWF0cml4NGZ2KHRoaXMudW5pZm9ybXMudVBvc2l0aW9uLCBmYWxzZSwgbmV3IEZsb2F0MzJBcnJheShvYmplY3Qud29ybGRNYXRyaXgpKTtcbiAgICAgICAgZ2wudW5pZm9ybU1hdHJpeDRmdih0aGlzLnVuaWZvcm1zLnVDYW1lcmEsIGZhbHNlLCBuZXcgRmxvYXQzMkFycmF5KGNhbWVyYS5tb2RlbFZpZXdNYXRyaXgpKTtcbiAgICAgICAgZ2wudW5pZm9ybTFmKHRoaXMudW5pZm9ybXMudUNvbG9yQWxwaGEsIHRoaXMub3BhY2l0eSk7XG4gICAgICAgIGdsLnVuaWZvcm0zZnYodGhpcy51bmlmb3Jtcy51Q29sb3IsIHRoaXMuY29sb3IpO1xuICAgIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgQmFzaWNNZXNoUHJvZ3JhbTtcbiJdfQ==

@@ -193,2 +193,2 @@ 'use strict';

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9wcm9ncmFtcy9Db21wbGV4TWVzaFByb2dyYW0uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBOztBQUNBOztBQUNBOzs7O0FBQ0E7Ozs7QUFDQTs7Ozs7Ozs7Ozs7Ozs7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SgpIHtcbiAgICAgICAgdGhpcy5kZWZpbmUoJ3RleHR1cmUnKTtcbiAgICAgICAgdGhpcy5fYXR0cmlidXRlTGlzdC5wdXNoKCd0ZXh0dXJlJywgJ3RleHR1cmVFbmFibGUnKTtcbiAgICAgICAgdGhpcy5fdW5pZm9ybUxpc3QucHVzaCgndVRleHR1cmUnKTtcbiAgICB9XG5cbiAgICBfYmluZE1lc2goe2dsLCBzY2VuZSwgY2FtZXJhLCBvYmplY3R9KSB7XG4gICAgICAgIGlmICh0aGlzLl90ZXh0dXJlKSB7XG4gICAgICAgICAgICB0aGlzLl90ZXh0dXJlLmVuYWJsZShnbCwgdGhpcy51bmlmb3Jtcy51VGV4dHVyZSk7XG4gICAgICAgIH1cblxuICAgICAgICBjb25zdCBsaWdodHMgPSBzY2VuZS5nZXRMaWdodHMoKTtcblxuICAgICAgICBpZiAobGlnaHRzLmxlbmd0aCkge1xuICAgICAgICAgICAgbGV0IGRpcmVjdGlvbkxpZ2h0c0NvbG9yID0gW107XG4gICAgICAgICAgICBsZXQgZGlyZWN0aW9uTGlnaHRzUG9zaXRpb24gPSBbXTtcblxuICAgICAgICAgICAgbGlnaHRzLmZvckVhY2gobGlnaHQgPT4ge1xuICAgICAgICAgICAgICAgIGlmIChsaWdodCBpbnN0YW5jZW9mIEFtYmllbnRMaWdodCkge1xuICAgICAgICAgICAgICAgICAgICBnbC51bmlmb3JtM2Z2KHRoaXMudW5pZm9ybXMudUFtYmllbnRMaWdodENvbG9yLCBsaWdodC5jb2xvcik7XG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmIChsaWdodCBpbnN0YW5jZW9mIERpcmVjdGlvbmFsTGlnaHQpIHtcbiAgICAgICAgICAgICAgICAgICAgZGlyZWN0aW9uTGlnaHRzQ29sb3IgPSBkaXJlY3Rpb25MaWdodHNDb2xvci5jb25jYXQobGlnaHQuY29sb3IpO1xuXG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IHJldmVydGVkID0gdmVjMy5jcmV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MyQXJyYXkoZGlyZWN0aW9uTGlnaHRzQ29sb3IpKTtcbiAgICAgICAgICAgIGdsLnVuaWZvcm0zZnYodGhpcy51bmlmb3Jtcy51RGlyZWN0aW9uTGlnaHRQb3NpdGlvbnMsIG5ldyBGbG9hdDMyQXJyYXkoZGlyZWN0aW9uTGlnaHRzUG9zaXRpb24pKTtcbiAgICAgICAgfVxuXG4gICAgICAgIHRoaXMuX2F0dHJpYnV0ZUxpc3QuZm9yRWFjaChuYW1lID0+IHtcbiAgICAgICAgICAgIGlmIChuYW1lICE9PSAnbm9ybWFsJykge1xuICAgICAgICAgICAgICAgIG9iamVjdC5nZW9tZXRyeS5nZXRCdWZmZXIobmFtZSkuYmluZChnbCwgdGhpcy5hdHRyaWJ1dGVzW25hbWVdKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSk7XG5cbiAgICAgICAgZ2wudW5pZm9ybU1hdHJpeDRmdih0aGlzLnVuaWZvcm1zLnVQb3NpdGlvbiwgZmFsc2UsIG5ldyBGbG9hdDMyQXJyYXkob2JqZWN0LndvcmxkTWF0cml4KSk7XG4gICAgICAgIGdsLnVuaWZvcm1NYXRyaXg0ZnYodGhpcy51bmlmb3Jtcy51Q2FtZXJhLCBmYWxzZSwgbmV3IEZsb2F0MzJBcnJheShjYW1lcmEubW9kZWxWaWV3TWF0cml4KSk7XG4gICAgICAgIGdsLnVuaWZvcm0xZih0aGlzLnVuaWZvcm1zLnVDb2xvckFscGhhLCB0aGlzLm9wYWNpdHkpO1xuICAgIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgQ29tcGxleE1lc2hQcm9ncmFtO1xuIl19

@@ -253,2 +253,2 @@ 'use strict';

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9wcm9ncmFtcy9Qcm9ncmFtLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUE7Ozs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VjdHMgPSBbXTtcblxuICAgICAgICBvYmplY3RzLmZvckVhY2gob2JqID0+IG9iai5yYXljYXN0KHRoaXMsIGludGVyc2VjdHMsIHJlY3Vyc2l2ZSkpO1xuXG4gICAgICAgIGludGVyc2VjdHMuc29ydCh0aGlzLl9kZXNjU29ydCk7XG5cbiAgICAgICAgcmV0dXJuIGludGVyc2VjdHM7XG4gICAgfVxuXG4gICAgX2Rlc2NTb3J0KGEsIGIpIHtcbiAgICAgICAgcmV0dXJuIGEuZGlzdGFuY2UgLSBiLmRpc3RhbmNlO1xuICAgIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgUmF5Y2FzdGVyO1xuXG4vKipcbiAqINCS0L7Qt9Cy0YDQsNGJ0LDQtdC80L7QtSDQt9C90LDRh9C10L3QuNC1INC80LXRgtC+0LTQvtCyIHJheWNhc3QuINCh0L7QtNC10YDQttC40YIg0LjQvdGE0L7RgNC80LDRhtC40Y4g0L4g0YLQvtGH0LrQuCDQv9C10YDQtdGB0LXRh9C10L3QuNGPINGBINC+0LHRitC10LrRgtC+0LwuXG4gKlxuICogQHR5cGVkZWYge09iamVjdH0gSW50ZXJzZWN0XG4gKiBAcHJvcGVydHkge051bWJlcn0gZGlzdGFuY2Ug0KDQsNGB0YHRgtC+0Y/QvdC40LUg0L7RgiDQvdCw0YfQsNC70LAg0LvRg9GH0LAg0LTQviDRgtC+0YfQutC4INC/0LXRgNC10YHQtdGH0LXQvdC40Y9cbiAqIEBwcm9wZXJ0eSB7dmVjM30gcG9pbnQg0JrQvtC+0YDQtNC40L3QsNGC0Ysg0YLQvtGH0LrQuCDQv9C10YDQtdGB0LXRh9C10L3QuNGPXG4gKiBAcHJvcGVydHkge09iamVjdDNEfSBvYmplY3Qg0J7QsdGK0LXQutGCINGBINC60L7RgtC+0YDRi9C8INC/0LXRgNC10YHQtdC60YHRjyDQu9GD0YdcbiAqL1xuIl19

@@ -134,2 +134,2 @@ 'use strict';

module.exports = exports['default'];
//# sourceMappingURL=data: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VyYScpLFxuICAgICAgICAgICAgdUhhbGZTaXplOiBnbC5nZXRVbmlmb3JtTG9jYXRpb24odGhpcy5fc2hhZGVyUHJvZ3JhbSwgJ3VIYWxmU2l6ZScpLFxuICAgICAgICAgICAgdVRleHR1cmU6IGdsLmdldFVuaWZvcm1Mb2NhdGlvbih0aGlzLl9zaGFkZXJQcm9ncmFtLCAndVRleHR1cmUnKSxcbiAgICAgICAgICAgIHVTbW9vdGhpbmc6IGdsLmdldFVuaWZvcm1Mb2NhdGlvbih0aGlzLl9zaGFkZXJQcm9ncmFtLCAndVNtb290aGluZycpXG4gICAgICAgIH07XG4gICAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBNdWx0aVNwcml0ZVJlbmRlcmVyO1xuIl19

@@ -157,10 +157,10 @@ 'use strict';

/**
* Устанавливает FrameBuffer
* @param {?FrameBuffer} frameBuffer
* Устанавливает RenderTarget
* @param {?RenderTarget} renderTarget
*/
}, {
key: 'setFrameBuffer',
value: function setFrameBuffer(frameBuffer) {
this._frameBuffer = frameBuffer;
key: 'setRenderTarget',
value: function setRenderTarget(renderTarget) {
this._renderTarget = renderTarget;
return this;

@@ -183,6 +183,6 @@ }

if (this._frameBuffer) {
this._frameBuffer.bind(gl);
if (this._renderTarget) {
this._renderTarget.bind(gl);
gl.readPixels(x, y, width, height, gl.RGBA, gl.UNSIGNED_BYTE, array);
this._frameBuffer.unbind(gl);
this._renderTarget.unbind(gl);
} else {

@@ -229,4 +229,4 @@ gl.readPixels(x, y, width, height, gl.RGBA, gl.UNSIGNED_BYTE, array);

if (this._frameBuffer) {
this._frameBuffer.bind(gl);
if (this._renderTarget) {
this._renderTarget.bind(gl);
}

@@ -277,4 +277,4 @@

if (this._frameBuffer) {
this._frameBuffer.unbind(gl);
if (this._renderTarget) {
this._renderTarget.unbind(gl);
}

@@ -317,2 +317,2 @@

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4u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cGVydHkge0FycmF5fSB0cmFuc3BhcmVudCDQn9GA0L7Qt9GA0LDRh9C90YvQtSDQvtCx0YrQtdC60YLRi1xuICogQHByb3BlcnR5IHtBcnJheX0gc3ByaXRlcyDQodC/0YDQsNC50YLRi1xuICovXG4iXX0=

@@ -138,2 +138,2 @@ 'use strict';

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9yZW5kZXJlci9TcHJpdGVSZW5kZXJlci5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBOztBQUNBOzs7O0FBQ0E7Ozs7Ozs7Ozs7Ozs7SUFNTTtBQUNGLGFBREUsY0FDRixHQUFjOzhCQURaLGdCQUNZOztBQUNWLGFBQUssT0FBTCxtQkFEVTtBQUVWLGFBQUssU0FBTCxHQUFpQix3QkFBakIsQ0FGVTtBQUdWLGFBQUssU0FBTCxDQUNLLFNBREwsQ0FDZSxVQURmLEVBQzJCLHFCQUFXLElBQUksWUFBSixDQUFpQixDQUMvQyxDQUFDLEdBQUQsRUFBTSxDQUFDLEdBQUQsRUFBTSxDQURtQyxFQUUvQyxHQUYrQyxFQUUxQyxDQUFDLEdBQUQsRUFBTSxDQUZvQyxFQUcvQyxHQUgrQyxFQUcxQyxHQUgwQyxFQUdyQyxDQUhxQyxFQUkvQyxDQUFDLEdBQUQsRUFBTSxHQUp5QyxFQUlwQyxDQUpvQyxDQUFqQixDQUFYLEVBS25CLENBTG1CLENBRDNCLEVBT0ssU0FQTCxDQU9lLFNBUGYsRUFPMEIscUJBQVcsSUFBSSxZQUFKLENBQWlCLENBQzlDLENBRDhDLEVBQzNDLENBRDJDLEVBRTlDLENBRjhDLEVBRTNDLENBRjJDLEVBRzlDLENBSDhDLEVBRzNDLENBSDJDLEVBSTlDLENBSjhDLEVBSTNDLENBSjJDLENBQWpCLENBQVgsRUFLbEIsQ0FMa0IsQ0FQMUIsRUFh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3IEdlb21ldHJ5KCk7XG4gICAgICAgIHRoaXMuX2dlb21ldHJ5XG4gICAgICAgICAgICAuc2V0QnVmZmVyKCdwb3NpdGlvbicsIG5ldyBCdWZmZXIobmV3IEZsb2F0MzJBcnJheShbXG4gICAgICAgICAgICAgICAgLTAuNSwgLTAuNSwgMCxcbiAgICAgICAgICAgICAgICAwLjUsIC0wLjUsIDAsXG4gICAgICAgICAgICAgICAgMC41LCAwLjUsIDAsXG4gICAgICAgICAgICAgICAgLTAuNSwgMC41LCAwXG4gICAgICAgICAgICBdKSwgMykpXG4gICAgICAgICAgICAuc2V0QnVmZmVyKCd0ZXh0dXJlJywgbmV3IEJ1ZmZlcihuZXcgRmxvYXQzMkFycmF5KFtcbiAgICAgICAgICAgICAgICAwLCAwLFxuICAgICAgICAgICAgICAgIDEsIDAsXG4gICAgICAgICAgICAgICAgMSwgMSxcbiAgICAgICAgICAgICAgICAwLCAxXG4gICAgICAgICAgICBdKSwgMikpXG4gICAgICAgICAgICAuc2V0QnVmZmVyKCdpbmRleCcsIG5ldyBCdWZmZXIobmV3IFVpbnQxNkFycmF5KFtcbiAgICAgICAgICAgICAgICAxLCAyLCAwLFxuICAgICAgICAgICAgICAgIDMsIDAsIDJcbiAgICAgICAgICAgIF0pLCAxKSk7XG5cbiAgICAgICAgdGhpcy5fZ2VvbWV0cnkuZ2V0QnVmZmVyKCdpbmRleCcpLnR5cGUgPSBCdWZmZXIuRWxlbWVudEFycmF5QnVmZmVyO1xuICAgIH1cblxuICAgIHJlbmRlcihzdGF0ZSwgcmVuZGVyT2JqZWN0cykge1xuICAgICAgICBjb25zdCB7Z2wsIGNhbWVyYX0gPSBzdGF0ZTtcblxuICAgICAgICBnbC5kaXNhYmxlKGdsLkRFUFRIX1RFU1QpO1xuXG4gICAgICAgIGdsLmVuYWJsZShnbC5CTEVORCk7XG4gICAgICAgIGdsLmJsZW5kRXF1YXRpb24oZ2wuRlVOQ19BREQpO1xuICAgICAgICBnbC5ibGVuZEZ1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0YHQv9GA0LDQudGC0L7Qsi5cbiAqIEBpZ25vcmVcbiAqL1xuY2xhc3MgU3ByaXRlUmVuZGVyZXIge1xuICAgIGNvbnN0cnVjdG9yKCkge1xuICAgICAgICB0aGlzLl9zaGFkZXIgPSBzaGFkZXI7XG4gICAgICAgIHRoaXMuX2dlb21ldHJ5ID0gbmV3IEdlb21ldHJ5KCk7XG4gICAgICAgIHRoaXMuX2dlb21ldHJ5XG4gICAgICAgICAgICAuc2V0QnVmZmVyKCdwb3NpdGlvbicsIG5ldyBCdWZmZXIobmV3IEZsb2F0MzJBcnJheShbXG4gICAgICAgICAgICAgICAgLTAuNSwgLTAuNSwgMCxcbiAgICAgICAgICAgICAgICAwLjUsIC0wLjUsIDAsXG4gICAgICAgICAgICAgICAgMC41LCAwLjUsIDAsXG4gICAgICAgICAgICAgICAgLTAuNSwgMC41LCAwXG4gICAgICAgICAgICBdKSwgMykpXG4gICAgICAgICAgICAuc2V0QnVmZmVyKCd0ZXh0dXJlJywgbmV3IEJ1ZmZlcihuZXcgRmxvYXQzMkFycmF5KFtcbiAgICAgICAgICAgICAgICAwLCAwLFxuICAgICAgICAgICAgICAgIDEsIDAsXG4gICAgICAgICAgICAgICAgMSwgMSxcbiAgICAgICAgICAgICAgICAwLCAxXG4gICAgICAgICAgICBdKSwgMikpXG4gICAgICAgICAgICAuc2V0QnVmZmVyKCdpbmRleCcsIG5ldyBCdWZmZXIobmV3IFVpbnQxNkFycmF5KFtcbiAgICAgICAgICAgICAgICAxLCAyLCAwLFxuICAgICAgICAgICAgICAgIDMsIDAsIDJcbiAgICAgICAgICAgIF0pLCAxKSk7XG5cbiAgICAgICAgdGhpcy5fZ2VvbWV0cnkuZ2V0QnVmZmVyKCdpbmRleCcpLnR5cGUgPSBCdWZmZXIuRWxlbWVudEFycmF5QnVmZmVyO1xuICAgIH1cblxuICAgIHJlbmRlcihzdGF0ZSwgcmVuZGVyT2JqZWN0cykge1xuICAgICAgICBjb25zdCB7Z2wsIGNhb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FyQlY7OztrQkEwQlMiLCJmaWxlIjoiU2NlbmUuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgT2JqZWN0M0QgZnJvbSAnLi9PYmplY3QzRCc7XG5cbi8qKlxuICog0KHRhtC10L3QsCDQstC60LvRjtGH0LDQtdGCINCyINGB0LXQsdGPINCy0YHQtSDQvtCx0YrQtdC60YLRiyDQvdC10L7QsdGF0L7QtNC40LzRi9C1INC00LvRjyDRgNC10L3QtNC10YDQuNC90LPQsFxuICpcbiAqIEBleHRlbmRzIE9iamVjdDNEXG4gKi9cbmNsYXNzIFNjZW5lIGV4dGVuZHMgT2JqZWN0M0Qge1xuICAgIGNvbnN0cnVjdG9yKCkge1xuICAgICAgICBzdXBlcigpO1xuXG4gICAgICAgIHRoaXMuX2xpZ2h0cyA9IFtdO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqINCU0L7QsdCw0LLQu9GP0LXRgiDQuNGB0YLQvtGH0L3QuNC6INGB0LLQtdGC0LAg0L3QsCDRgdGG0LXQvdGDXG4gICAgICogQHBhcmFtIHtMaWdodH0gbGlnaHRcbiAgICAgKi9cbiAgICBhZGRMaWdodChsaWdodCkge1xuICAgICAgICB0aGlzLl9saWdodHMucHVzaChsaWdodCk7XG5cbiAgICAgICAgcmV0dXJuIHRoaXM7XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICog0JLQvtC30LLRgNCw0YnQsNC10YIg0LLRgdC1INC40YHRgtC+0YfQvdC40LrQuCDRgdCy0LXRgtCwINGB0YbQtdC90YtcbiAgICAgKiBAcmV0dXJucyB7TGlnaHRbXX1cbiAgICAgKi9cbiAgICBnZXRMaWdodHMoKSB7XG4gICAgICAgIHJldHVybiB0aGlzLl9saWdodHM7XG4gICAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBTY2VuZTtcbiJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9TY2VuZS5qcyJdLCJuY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aGlzLnByb2dyYW0udHlwaWZ5Rm9yUmVuZGVyKHR5cGVkT2JqZWN0cywgdGhpcyk7XG5cbiAgICAgICAgdGhpcy5jaGlsZHJlbi5mb3JFYWNoKGNoaWxkID0+IGNoaWxkLnR5cGlmeUZvclJlbmRlcih0eXBlZE9iamVjdHMpKTtcblxuICAgICAgICByZXR1cm4gdGhpcztcbiAgICB9XG59XG5cbmV4cG9ydCBkZWZhdWx0IFNwcml0ZTtcbiJdfQ==

@@ -17,3 +17,3 @@ "use strict";

/**
* @param {HTMLImageElement | HTMLCanvasElement} src В качестве изображения может быть
* @param {HTMLImageElement | HTMLCanvasElement} [src=null] В качестве изображения может быть
* либо элемент img, либо canvas

@@ -25,3 +25,3 @@ */

this._src = src;
this._src = src || null;

@@ -87,3 +87,19 @@ /**

}
/**
* Удаляет текстуру из видеокарты
*
* @param {WebGLRenderingContext} gl
*/
}, {
key: "remove",
value: function remove(gl) {
if (this._texture) {
gl.deleteTexture(this._texture);
}
return this;
}
}, {
key: "_prepare",

@@ -169,2 +185,2 @@ value: function _prepare(gl) {

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9UZXh0dXJlLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7O0lBR007Ozs7OztBQUtGLGFBTEUsT0FLRixDQUFZLEdBQVosRUFBaUI7OEJBTGYsU0FLZTs7QUFDYixhQUFLLElBQUwsR0FBWSxHQUFaOzs7Ozs7QUFEYSxZQU9iLENBQUssU0FBTCxHQUFpQixRQUFRLFlBQVI7Ozs7OztBQVBKLFlBYWIsQ0FBSyxTQUFMLEdBQWlCLFFBQVEsd0JBQVI7Ozs7OztBQWJKLFlBbUJiLENBQUssS0FBTCxHQUFhLFFBQVEsbUJBQVI7Ozs7OztBQW5CQSxZQXlCYixDQUFLLEtBQUwsR0FBYSxRQUFRLG1CQUFSOzs7Ozs7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cmUuTGluZWFyRmlsdGVyID0gNDtcblRleHR1cmUuTGluZWFyTWlwTWFwTmVhcmVzdEZpbHRlciA9IDU7XG5UZXh0dXJlLkxpbmVhck1pcE1hcExpbmVhckZpbHRlciA9IDY7XG5cbmV4cG9ydCBkZWZhdWx0IFRleHR1cmU7XG5cbi8qKlxuICogQHR5cGVkZWYge1RleHR1cmUuTmVhcmVzdEZpbHRlciB8IFRleHR1cmUuTmVhcmVzdE1pcE1hcE5lYXJlc3RGaWx0ZXIgfFxuICogVGV4dHVyZS5OZWFyZXN0TWlwTWFwTGluZWFyRmlsdGVyIHwgVGV4dHVyZS5MaW5lYXJGaWx0ZXIgfFxuICogVGV4dHVyZS5MaW5lYXJNaXBNYXBOZWFyZXN0RmlsdGVyIHwgVGV4dHVyZS5MaW5lYXJNaXBNYXBMaW5lYXJGaWx0ZXJ9IFRleHR1cmVGaWx0ZXJcbiAqL1xuXG4vKipcbiAqIEB0eXBlZGVmIHtUZXh0dXJlLkNsYW1wVG9FZGdlV3JhcHBpbmd9IFRleHR1cmVDbGFtcFxuICovXG4iXX0=

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc