r3-v2/dist/r3.js

526 lines
43 KiB
JavaScript
Raw Normal View History

2020-02-27 17:07:46 +01:00
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = "./src/r3/index.js");
2020-02-27 17:07:46 +01:00
/******/ })
/************************************************************************/
/******/ ({
/***/ "./src/r3/index.js":
/*!*************************!*\
!*** ./src/r3/index.js ***!
\*************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
var R3 = __webpack_require__(/*! ./r3.js */ "./src/r3/r3.js");
2020-02-27 17:07:46 +01:00
R3.System.Linking.start();
2020-04-23 15:26:54 +02:00
R3.System.Socket.start();
module.exports = R3;
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
/***/ }),
/***/ "./src/r3/r3-event.js":
/*!****************************!*\
!*** ./src/r3/r3-event.js ***!
\****************************/
/*! no static exports found */
/***/ (function(module, exports) {
2021-06-18 13:54:08 +02:00
throw new Error("Module build failed (from ./node_modules/babel-loader/lib/index.js):\nSyntaxError: /app/src/r3/r3-event.js: Identifier 'Event' has already been declared. (20:6)\n\n 18 | **/\n 19 |\n> 20 | class Event {\n | ^\n 21 |\n 22 | //CONSTRUCTOR_TEMPLATE_START\n 23 | constructor(options) {\n at Parser._raise (/app/node_modules/@babel/parser/lib/index.js:816:17)\n at Parser.raiseWithData (/app/node_modules/@babel/parser/lib/index.js:809:17)\n at Parser.raise (/app/node_modules/@babel/parser/lib/index.js:770:17)\n at ScopeHandler.checkRedeclarationInScope (/app/node_modules/@babel/parser/lib/index.js:1432:12)\n at ScopeHandler.declareName (/app/node_modules/@babel/parser/lib/index.js:1398:12)\n at Parser.checkLVal (/app/node_modules/@babel/parser/lib/index.js:10431:24)\n at Parser.parseClassId (/app/node_modules/@babel/parser/lib/index.js:13617:14)\n at Parser.parseClass (/app/node_modules/@babel/parser/lib/index.js:13301:10)\n at Parser.parseStatementContent (/app/node_modules/@babel/parser/lib/index.js:12587:21)\n at Parser.parseStatement (/app/node_modules/@babel/parser/lib/index.js:12545:17)");
2020-02-27 17:07:46 +01:00
2020-04-21 11:54:13 +02:00
/***/ }),
2021-06-18 13:54:08 +02:00
/***/ "./src/r3/r3-r3-object.js":
/*!********************************!*\
!*** ./src/r3/r3-r3-object.js ***!
\********************************/
2020-04-21 11:54:13 +02:00
/*! no static exports found */
2021-06-18 02:10:32 +02:00
/***/ (function(module, exports, __webpack_require__) {
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
function _get(target, property, receiver) { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); }
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
2021-06-18 02:10:32 +02:00
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
var Utils = __webpack_require__(!(function webpackMissingModule() { var e = new Error("Cannot find module 'r3-utils'"); e.code = 'MODULE_NOT_FOUND'; throw e; }()));
var Event = __webpack_require__(!(function webpackMissingModule() { var e = new Error("Cannot find module 'r3-event.js'"); e.code = 'MODULE_NOT_FOUND'; throw e; }()));
/**
OPTIONS_START
OPTIONS_END
INSTANCE_OPTIONS_MAPPING_START
INSTANCE_OPTIONS_MAPPING_END
LINKED_OBJECTS_START
LINKED_OBJECTS_END
EXCLUDED_FROM_INSTANCE_OPTIONS_START
EXCLUDED_FROM_INSTANCE_OPTIONS_END
**/
2021-06-18 02:10:32 +02:00
2021-06-18 13:54:08 +02:00
var R3Object = /*#__PURE__*/function (_Event) {
_inherits(R3Object, _Event);
2021-06-18 02:10:32 +02:00
2021-06-18 13:54:08 +02:00
var _super = _createSuper(R3Object);
2021-06-18 02:10:32 +02:00
//CONSTRUCTOR_EXTENDS_TEMPLATE_START
2021-06-19 11:27:32 +02:00
function R3Object(options) {
2021-06-18 02:10:32 +02:00
var _this;
2021-06-18 13:54:08 +02:00
_classCallCheck(this, R3Object);
2021-06-18 02:10:32 +02:00
if (Utils.UndefinedOrNull(options)) {
options = {};
}
options.id = Utils.RandomId(10);
options.name = 'R3Object (' + options.id + ')';
2021-06-19 11:27:32 +02:00
_this = _super.call(this, options);
2021-06-18 02:10:32 +02:00
_this.emit(Event.OBJECT_CREATED, _assertThisInitialized(_this)); //OPTIONS_INIT_START
//OPTIONS_INIT_END
//CUSTOM_OPTIONS_INIT_START
//CUSTOM_OPTIONS_INIT_END
Object.assign(_assertThisInitialized(_this), options); //CUSTOM_BEFORE_INIT_START
//CUSTOM_BEFORE_INIT_END
_this.emit(Event.OBJECT_INITIALIZED, _assertThisInitialized(_this));
2021-06-18 02:10:32 +02:00
return _this;
} //CONSTRUCTOR_EXTENDS_TEMPLATE_END
//CREATE_INSTANCE_TEMPLATE_START
_createClass(R3Object, [{
key: "createInstance",
value: function createInstance() {
//CREATE_INSTANCE_BEFORE_START
_get(_getPrototypeOf(R3Object.prototype), "createInstance", this).call(this);
this.emit(Event.CREATE_INSTANCE, this);
if (this.runtime === 'graphics') {
this.graphics.createInstance({//CREATE_INSTANCE_OPTIONS_START
//CREATE_INSTANCE_OPTIONS_END
}, this);
} //CREATE_INSTANCE_BEFORE_END
//CUSTOM_CREATE_INSTANCE_START
//CUSTOM_CREATE_INSTANCE_END
//CREATE_INSTANCE_AFTER_START
this.emit(Event.INSTANCE_CREATED, this); //CREATE_INSTANCE_AFTER_END
} //CREATE_INSTANCE_TEMPLATE_END
//UPDATE_INSTANCE_TEMPLATE_START
}, {
key: "updateInstance",
value: function updateInstance(property) {
//UPDATE_INSTANCE_BEFORE_START
this.emit(Event.UPDATE_INSTANCE_BEFORE, this); //UPDATE_INSTANCE_BEFORE_END
//UPDATE_INSTANCE_OPTIONS_START
//UPDATE_INSTANCE_OPTIONS_END
//CUSTOM_UPDATE_INSTANCE_START
//CUSTOM_UPDATE_INSTANCE_END
//UPDATE_INSTANCE_AFTER_START
this.emit(Event.UPDATE_INSTANCE_AFTER, this); //UPDATE_INSTANCE_AFTER_END
} //UPDATE_INSTANCE_TEMPLATE_END
//UPDATE_FROM_INSTANCE_TEMPLATE_START
}, {
key: "updateFromInstance",
value: function updateFromInstance(property) {
//UPDATE_FROM_INSTANCE_BEFORE_START
this.emit(Event.UPDATE_FROM_INSTANCE_BEFORE, this); //UPDATE_FROM_INSTANCE_BEFORE_END
//UPDATE_FROM_INSTANCE_OPTIONS_START
//UPDATE_FROM_INSTANCE_OPTIONS_END
//CUSTOM_UPDATE_FROM_INSTANCE_START
//CUSTOM_UPDATE_FROM_INSTANCE_END
//UPDATE_FROM_INSTANCE_AFTER_START
this.emit(Event.UPDATE_FROM_INSTANCE_AFTER, this); //UPDATE_FROM_INSTANCE_AFTER_END
} //UPDATE_FROM_INSTANCE_TEMPLATE_END
//DISPOSE_TEMPLATE_START
}, {
key: "dispose",
value: function dispose() {
//DISPOSE_BEFORE_START
this.emit(Event.DISPOSE_OBJECT, this); //DISPOSE_BEFORE_END
//CUSTOM_DISPOSE_START
//CUSTOM_DISPOSE_END
//DISPOSE_AFTER_START
this.emit(Event.OBJECT_DISPOSED, this); //DISPOSE_AFTER_END
} //DISPOSE_TEMPLATE_END
//DISPOSE_INSTANCE_TEMPLATE_START
}, {
key: "disposeInstance",
value: function disposeInstance() {
//DISPOSE_INSTANCE_BEFORE_START
_get(_getPrototypeOf(R3Object.prototype), "disposeInstance", this).call(this);
this.emit(Event.DISPOSE_INSTANCE, this); //DISPOSE_INSTANCE_BEFORE_END
//CUSTOM_DISPOSE_INSTANCE_START
//CUSTOM_DISPOSE_INSTANCE_END
//DISPOSE_INSTANCE_AFTER_START
this.emit(Event.INSTANCE_DISPOSED, this); //DISPOSE_INSTANCE_AFTER_END
} //DISPOSE_INSTANCE_TEMPLATE_END
//CUSTOM_IMPLEMENTATION_START
//CUSTOM_IMPLEMENTATION_END
}]);
2020-04-21 11:54:13 +02:00
2021-06-18 13:54:08 +02:00
return R3Object;
}(Event); //CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_START
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_END
2020-04-21 11:54:13 +02:00
2021-06-18 13:54:08 +02:00
module.exports = R3Object;
2020-04-21 11:54:13 +02:00
2021-06-18 02:10:32 +02:00
/***/ }),
/***/ "./src/r3/r3-system/index.js":
/*!***********************************!*\
!*** ./src/r3/r3-system/index.js ***!
\***********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
2021-06-19 11:27:32 +02:00
var System = __webpack_require__(/*! ./r3-system.js */ "./src/r3/r3-system/r3-system.js");
2021-06-18 02:10:32 +02:00
2021-06-19 11:27:32 +02:00
var SystemLinking = __webpack_require__(/*! ./r3-system-linking.js */ "./src/r3/r3-system/r3-system-linking.js");
2020-04-21 11:54:13 +02:00
2021-06-19 11:27:32 +02:00
var SystemSocket = __webpack_require__(/*! ./r3-system-socket.js */ "./src/r3/r3-system/r3-system-socket.js");
2021-06-18 02:10:32 +02:00
module.exports = {
System: System,
SystemLinking: SystemLinking,
SystemSocket: SystemSocket
};
2020-04-21 11:54:13 +02:00
2020-02-27 17:07:46 +01:00
/***/ }),
2021-06-18 02:10:32 +02:00
/***/ "./src/r3/r3-system/r3-system-linking.js":
/*!***********************************************!*\
!*** ./src/r3/r3-system/r3-system-linking.js ***!
\***********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
function _get(target, property, receiver) { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); }
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
2021-06-18 02:10:32 +02:00
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
var System = __webpack_require__(/*! ./r3-system */ "./src/r3/r3-system/r3-system.js");
2020-02-27 17:07:46 +01:00
2021-06-18 13:54:08 +02:00
var R3Object = __webpack_require__(/*! ../r3-r3-object */ "./src/r3/r3-r3-object.js");
2021-06-18 02:10:32 +02:00
var Event = __webpack_require__(/*! ../r3-event */ "./src/r3/r3-event.js");
var LinkingSystem = /*#__PURE__*/function (_System) {
_inherits(LinkingSystem, _System);
var _super = _createSuper(LinkingSystem);
function LinkingSystem() {
_classCallCheck(this, LinkingSystem);
return _super.apply(this, arguments);
}
_createClass(LinkingSystem, null, [{
key: "start",
value: function start() {
_get(_getPrototypeOf(LinkingSystem), "start", this).call(this);
console.log('starting linking system');
Event.Subscribe(Event.OBJECT_CREATED, function () {
console.log('linking system discovered an object');
});
2021-06-18 13:54:08 +02:00
var object = new R3Object();
2021-06-18 02:10:32 +02:00
return true;
}
}]);
return LinkingSystem;
}(System);
module.exports = LinkingSystem;
2020-02-27 17:07:46 +01:00
2020-04-23 15:26:54 +02:00
/***/ }),
2021-06-18 02:10:32 +02:00
/***/ "./src/r3/r3-system/r3-system-socket.js":
/*!**********************************************!*\
!*** ./src/r3/r3-system/r3-system-socket.js ***!
\**********************************************/
2020-04-23 15:26:54 +02:00
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
2021-06-18 02:10:32 +02:00
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2020-04-23 15:26:54 +02:00
2021-06-18 02:10:32 +02:00
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
2020-04-23 15:26:54 +02:00
2021-06-18 02:10:32 +02:00
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
2020-04-23 15:26:54 +02:00
2021-06-18 02:10:32 +02:00
function _get(target, property, receiver) { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); }
2020-04-23 15:26:54 +02:00
2021-06-18 02:10:32 +02:00
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
2020-04-23 15:26:54 +02:00
2021-06-18 02:10:32 +02:00
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
2020-04-23 15:26:54 +02:00
2021-06-18 02:10:32 +02:00
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
2020-04-23 15:26:54 +02:00
2021-06-18 02:10:32 +02:00
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
2020-04-23 15:26:54 +02:00
2021-06-18 02:10:32 +02:00
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
2020-04-23 15:26:54 +02:00
2021-06-18 02:10:32 +02:00
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2020-04-23 15:26:54 +02:00
2021-06-18 02:10:32 +02:00
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
2020-04-23 15:26:54 +02:00
2021-06-18 02:10:32 +02:00
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
2020-04-23 15:26:54 +02:00
2021-06-18 02:10:32 +02:00
var System = __webpack_require__(/*! ./r3-system.js */ "./src/r3/r3-system/r3-system.js");
var SocketSystem = /*#__PURE__*/function (_System) {
_inherits(SocketSystem, _System);
var _super = _createSuper(SocketSystem);
function SocketSystem() {
_classCallCheck(this, SocketSystem);
return _super.apply(this, arguments);
}
_createClass(SocketSystem, null, [{
key: "start",
value: function start() {
_get(_getPrototypeOf(SocketSystem), "start", this).call(this);
console.log('starting socket system');
return true;
}
}]);
return SocketSystem;
}(System);
module.exports = SocketSystem;
2020-04-23 15:26:54 +02:00
2020-02-27 17:07:46 +01:00
/***/ }),
2021-06-18 02:10:32 +02:00
/***/ "./src/r3/r3-system/r3-system.js":
/*!***************************************!*\
!*** ./src/r3/r3-system/r3-system.js ***!
\***************************************/
/*! no static exports found */
/***/ (function(module, exports) {
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
var System = /*#__PURE__*/function () {
function System() {
_classCallCheck(this, System);
}
_createClass(System, null, [{
key: "start",
value: function start() {
console.log('starting a system');
}
}]);
return System;
}();
2020-02-27 17:07:46 +01:00
module.exports = System;
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
/***/ }),
/***/ "./src/r3/r3.js":
/*!**********************!*\
!*** ./src/r3/r3.js ***!
\**********************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
var _require = __webpack_require__(/*! ./r3-system */ "./src/r3/r3-system/index.js"),
System = _require.System,
SystemLinking = _require.SystemLinking,
SystemSocket = _require.SystemSocket;
2021-06-18 13:54:08 +02:00
var R3Object = __webpack_require__(/*! ./r3-r3-object */ "./src/r3/r3-r3-object.js");
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
var R3 = /*#__PURE__*/function () {
function R3() {
_classCallCheck(this, R3);
}
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
_createClass(R3, null, [{
key: "version",
value: function version() {
return 'Sun Jun 20 2021 11:02:42 GMT+0000 (Coordinated Universal Time)';
2021-06-18 02:10:32 +02:00
}
}]);
2020-02-27 17:07:46 +01:00
2021-06-18 02:10:32 +02:00
return R3;
}();
2020-02-27 17:07:46 +01:00
2021-06-18 13:54:08 +02:00
R3.R3Object = R3Object;
2021-06-18 02:10:32 +02:00
R3.System = System;
R3.System.Linking = SystemLinking;
R3.System.Socket = SystemSocket;
module.exports = R3;
2020-02-27 17:07:46 +01:00
/***/ })
/******/ });
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay9ib290c3RyYXAiLCJ3ZWJwYWNrOi8vLy4vc3JjL3IzL2luZGV4LmpzIiwid2VicGFjazovLy8uL3NyYy9yMy9yMy1yMy1vYmplY3QuanMiLCJ3ZWJwYWNrOi8vLy4vc3JjL3IzL3IzLXN5c3RlbS9pbmRleC5qcyIsIndlYnBhY2s6Ly8vLi9zcmMvcjMvcjMtc3lzdGVtL3IzLXN5c3RlbS1saW5raW5nLmpzIiwid2VicGFjazovLy8uL3NyYy9yMy9yMy1zeXN0ZW0vcjMtc3lzdGVtLXNvY2tldC5qcyIsIndlYnBhY2s6Ly8vLi9zcmMvcjMvcjMtc3lzdGVtL3IzLXN5c3RlbS5qcyIsIndlYnBhY2s6Ly8vLi9zcmMvcjMvcjMuanMiXSwibmFtZXMiOlsiUjMiLCJyZXF1aXJlIiwiU3lzdGVtIiwiTGlua2luZyIsInN0YXJ0IiwiU29ja2V0IiwibW9kdWxlIiwiZXhwb3J0cyIsIlV0aWxzIiwiRXZlbnQiLCJSM09iamVjdCIsIm9wdGlvbnMiLCJVbmRlZmluZWRPck51bGwiLCJpZCIsIlJhbmRvbUlkIiwibmFtZSIsImVtaXQiLCJPQkpFQ1RfQ1JFQVRFRCIsIk9iamVjdCIsImFzc2lnbiIsIk9CSkVDVF9JTklUSUFMSVpFRCIsIkNSRUFURV9JTlNUQU5DRS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