@sassoftware/restaf 5.5.1-0 → 5.5.1-10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/README.md +1139 -1139
  2. package/dist/restaf.js +64 -64
  3. package/lib/restaf.js +64 -64
  4. package/package.json +49 -49
package/dist/restaf.js CHANGED
@@ -1487,7 +1487,7 @@ eval("{\n\nvar required = __webpack_require__(/*! requires-port */ \"../../../no
1487
1487
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1488
1488
 
1489
1489
  "use strict";
1490
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ADD_SERVICE: () => (/* binding */ ADD_SERVICE),\n/* harmony export */ API_CALL: () => (/* binding */ API_CALL),\n/* harmony export */ API_CALL_PARALLEL: () => (/* binding */ API_CALL_PARALLEL),\n/* harmony export */ API_POLL: () => (/* binding */ API_POLL),\n/* harmony export */ API_STATUS: () => (/* binding */ API_STATUS),\n/* harmony export */ API_STATUS_ROOT: () => (/* binding */ API_STATUS_ROOT),\n/* harmony export */ API_STATUS_SETSTATE: () => (/* binding */ API_STATUS_SETSTATE),\n/* harmony export */ API_XSRF: () => (/* binding */ API_XSRF),\n/* harmony export */ API_XSRF_ROOT: () => (/* binding */ API_XSRF_ROOT),\n/* harmony export */ API_XSRF_SETSTATE: () => (/* binding */ API_XSRF_SETSTATE),\n/* harmony export */ APP_DATA: () => (/* binding */ APP_DATA),\n/* harmony export */ APP_DATA_ROOT: () => (/* binding */ APP_DATA_ROOT),\n/* harmony export */ APP_DATA_SETSTATE: () => (/* binding */ APP_DATA_SETSTATE),\n/* harmony export */ BEGIN_LOGOFF: () => (/* binding */ BEGIN_LOGOFF),\n/* harmony export */ BEGIN_LOGON: () => (/* binding */ BEGIN_LOGON),\n/* harmony export */ DELETE_RAF_OBJECT: () => (/* binding */ DELETE_RAF_OBJECT),\n/* harmony export */ KEEP_ALIVE: () => (/* binding */ KEEP_ALIVE),\n/* harmony export */ VIYA_LOGOFF: () => (/* binding */ VIYA_LOGOFF),\n/* harmony export */ VIYA_LOGOFF_COMPLETE: () => (/* binding */ VIYA_LOGOFF_COMPLETE),\n/* harmony export */ VIYA_LOGON: () => (/* binding */ VIYA_LOGON),\n/* harmony export */ VIYA_LOGON_COMPLETE: () => (/* binding */ VIYA_LOGON_COMPLETE),\n/* harmony export */ VIYA_LOGON_IMPLICIT: () => (/* binding */ VIYA_LOGON_IMPLICIT),\n/* harmony export */ VIYA_LOGON_PASSWORD: () => (/* binding */ VIYA_LOGON_PASSWORD),\n/* harmony export */ VIYA_LOGON_SERVER: () => (/* binding */ VIYA_LOGON_SERVER),\n/* harmony export */ VIYA_LOGON_TOKEN: () => (/* binding */ VIYA_LOGON_TOKEN)\n/* harmony export */ });\n/* unused harmony exports VIYA_LOGON_PROXY, ADD_SERVICE_COMPLETE, API_BEGIN, API_COMPLETE, API_POLL_BEGIN, API_POLL_COMPLETE, API_TKHTTP_ID */\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n/*\r\n * Copyright (c) 2017 by SAS Institute Inc., Cary, NC USA 27513\r\n * Author : K. Deva Kumar\r\n * Last Modified: 5/23/17 8:49 PM\r\n *\r\n */\nvar VIYA_LOGON = 'VIYA_LOGON';\nvar BEGIN_LOGON = 'BEGIN_LOGON';\nvar VIYA_LOGON_COMPLETE = 'VIYA_LOGON_COMPLETE';\nvar KEEP_ALIVE = 'KEEP_ALIVE';\nvar VIYA_LOGOFF = 'VIYA_LOGOFF';\nvar BEGIN_LOGOFF = 'BEGIN_LOGOFF';\nvar VIYA_LOGOFF_COMPLETE = 'VIYA_LOGOFF_COMPLETE';\nvar VIYA_LOGON_SERVER = 'server';\nvar VIYA_LOGON_PROXY = 'server';\nvar VIYA_LOGON_TOKEN = 'token';\nvar VIYA_LOGON_PASSWORD = 'password';\nvar VIYA_LOGON_IMPLICIT = 'implicit'; /* implies token */\n\nvar ADD_SERVICE = 'ADD_SERVICE';\nvar ADD_SERVICE_COMPLETE = 'ADD_SERVICE_COMPLETE';\nvar API_CALL = 'API_CALL';\nvar API_BEGIN = 'API_BEGIN';\nvar API_COMPLETE = 'API_COMPLETE';\nvar API_CALL_PARALLEL = 'API_PARALLEL';\nvar DELETE_RAF_OBJECT = 'DELETE_RAF_OBJECT';\nvar API_POLL = 'API_POLL';\nvar API_POLL_BEGIN = 'API_POLL_BEGIN';\nvar API_POLL_COMPLETE = 'API_POLL_COMPLETE';\nvar APP_DATA_ROOT = '_appdata';\nvar APP_DATA = 'APP_DATA';\nvar APP_DATA_SETSTATE = 'APP_DATA_SETSTATE';\nvar API_STATUS_ROOT = '_apistatus';\nvar API_STATUS = 'API_STATUS';\nvar API_STATUS_SETSTATE = 'API_STATUS_SETSTATE';\nvar API_XSRF_ROOT = '_xsrf';\nvar API_XSRF = 'API_XSRF';\nvar API_XSRF_SETSTATE = 'API_XSRF_SETSTATE';\nvar API_TKHTTP_ID = 'API_TKHTTP_ID';\n\n//# sourceURL=webpack://restaf/./actionTypes/index.js?\n}");
1490
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ADD_SERVICE: () => (/* binding */ ADD_SERVICE),\n/* harmony export */ API_CALL: () => (/* binding */ API_CALL),\n/* harmony export */ API_CALL_PARALLEL: () => (/* binding */ API_CALL_PARALLEL),\n/* harmony export */ API_POLL: () => (/* binding */ API_POLL),\n/* harmony export */ API_STATUS: () => (/* binding */ API_STATUS),\n/* harmony export */ API_STATUS_ROOT: () => (/* binding */ API_STATUS_ROOT),\n/* harmony export */ API_STATUS_SETSTATE: () => (/* binding */ API_STATUS_SETSTATE),\n/* harmony export */ API_XSRF: () => (/* binding */ API_XSRF),\n/* harmony export */ API_XSRF_ROOT: () => (/* binding */ API_XSRF_ROOT),\n/* harmony export */ API_XSRF_SETSTATE: () => (/* binding */ API_XSRF_SETSTATE),\n/* harmony export */ APP_DATA: () => (/* binding */ APP_DATA),\n/* harmony export */ APP_DATA_ROOT: () => (/* binding */ APP_DATA_ROOT),\n/* harmony export */ APP_DATA_SETSTATE: () => (/* binding */ APP_DATA_SETSTATE),\n/* harmony export */ BEGIN_LOGOFF: () => (/* binding */ BEGIN_LOGOFF),\n/* harmony export */ BEGIN_LOGON: () => (/* binding */ BEGIN_LOGON),\n/* harmony export */ DELETE_RAF_OBJECT: () => (/* binding */ DELETE_RAF_OBJECT),\n/* harmony export */ KEEP_ALIVE: () => (/* binding */ KEEP_ALIVE),\n/* harmony export */ VIYA_LOGOFF: () => (/* binding */ VIYA_LOGOFF),\n/* harmony export */ VIYA_LOGOFF_COMPLETE: () => (/* binding */ VIYA_LOGOFF_COMPLETE),\n/* harmony export */ VIYA_LOGON: () => (/* binding */ VIYA_LOGON),\n/* harmony export */ VIYA_LOGON_COMPLETE: () => (/* binding */ VIYA_LOGON_COMPLETE),\n/* harmony export */ VIYA_LOGON_IMPLICIT: () => (/* binding */ VIYA_LOGON_IMPLICIT),\n/* harmony export */ VIYA_LOGON_PASSWORD: () => (/* binding */ VIYA_LOGON_PASSWORD),\n/* harmony export */ VIYA_LOGON_SERVER: () => (/* binding */ VIYA_LOGON_SERVER),\n/* harmony export */ VIYA_LOGON_TOKEN: () => (/* binding */ VIYA_LOGON_TOKEN)\n/* harmony export */ });\n/* unused harmony exports VIYA_LOGON_PROXY, ADD_SERVICE_COMPLETE, API_BEGIN, API_COMPLETE, API_POLL_BEGIN, API_POLL_COMPLETE, API_TKHTTP_ID */\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n/*\n * Copyright (c) 2017 by SAS Institute Inc., Cary, NC USA 27513\n * Author : K. Deva Kumar\n * Last Modified: 5/23/17 8:49 PM\n *\n */\nvar VIYA_LOGON = 'VIYA_LOGON';\nvar BEGIN_LOGON = 'BEGIN_LOGON';\nvar VIYA_LOGON_COMPLETE = 'VIYA_LOGON_COMPLETE';\nvar KEEP_ALIVE = 'KEEP_ALIVE';\nvar VIYA_LOGOFF = 'VIYA_LOGOFF';\nvar BEGIN_LOGOFF = 'BEGIN_LOGOFF';\nvar VIYA_LOGOFF_COMPLETE = 'VIYA_LOGOFF_COMPLETE';\nvar VIYA_LOGON_SERVER = 'server';\nvar VIYA_LOGON_PROXY = 'server';\nvar VIYA_LOGON_TOKEN = 'token';\nvar VIYA_LOGON_PASSWORD = 'password';\nvar VIYA_LOGON_IMPLICIT = 'implicit'; /* implies token */\n\nvar ADD_SERVICE = 'ADD_SERVICE';\nvar ADD_SERVICE_COMPLETE = 'ADD_SERVICE_COMPLETE';\nvar API_CALL = 'API_CALL';\nvar API_BEGIN = 'API_BEGIN';\nvar API_COMPLETE = 'API_COMPLETE';\nvar API_CALL_PARALLEL = 'API_PARALLEL';\nvar DELETE_RAF_OBJECT = 'DELETE_RAF_OBJECT';\nvar API_POLL = 'API_POLL';\nvar API_POLL_BEGIN = 'API_POLL_BEGIN';\nvar API_POLL_COMPLETE = 'API_POLL_COMPLETE';\nvar APP_DATA_ROOT = '_appdata';\nvar APP_DATA = 'APP_DATA';\nvar APP_DATA_SETSTATE = 'APP_DATA_SETSTATE';\nvar API_STATUS_ROOT = '_apistatus';\nvar API_STATUS = 'API_STATUS';\nvar API_STATUS_SETSTATE = 'API_STATUS_SETSTATE';\nvar API_XSRF_ROOT = '_xsrf';\nvar API_XSRF = 'API_XSRF';\nvar API_XSRF_SETSTATE = 'API_XSRF_SETSTATE';\nvar API_TKHTTP_ID = 'API_TKHTTP_ID';\n\n//# sourceURL=webpack://restaf/./actionTypes/index.js?\n}");
1491
1491
 
1492
1492
  /***/ }),
1493
1493
 
@@ -1498,7 +1498,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1498
1498
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1499
1499
 
1500
1500
  "use strict";
1501
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ endStore: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_0__.endStore),\n/* harmony export */ initStore: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_0__.initStore),\n/* harmony export */ restoreStore: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_0__.restoreStore)\n/* harmony export */ });\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./store */ \"./store/index.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n//# sourceURL=webpack://restaf/./index.js?\n}");
1501
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ endStore: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_0__.endStore),\n/* harmony export */ initStore: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_0__.initStore),\n/* harmony export */ restoreStore: () => (/* reexport safe */ _store__WEBPACK_IMPORTED_MODULE_0__.restoreStore)\n/* harmony export */ });\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./store */ \"./store/index.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n//# sourceURL=webpack://restaf/./index.js?\n}");
1502
1502
 
1503
1503
  /***/ }),
1504
1504
 
@@ -1509,7 +1509,7 @@ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpa
1509
1509
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1510
1510
 
1511
1511
  "use strict";
1512
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _responseReducer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./responseReducer */ \"./reducers/responseReducer.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var immutable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! immutable */ \"../../../node_modules/immutable/dist/immutable.es.js\");\n/* harmony import */ var _utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/rootStruct */ \"./utils/rootStruct.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\n\n// let Immutable = require ( 'immutable' );\n\nvar fromJS = immutable__WEBPACK_IMPORTED_MODULE_3__[\"default\"].fromJS;\n\nvar baseReducer = function baseReducer(root) {\n return function () {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : fromJS((0,_utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__.tLinkStruct)(root, 'links', root));\n var action = arguments.length > 1 ? arguments[1] : undefined;\n switch (action.type) {\n case _actionTypes__WEBPACK_IMPORTED_MODULE_2__.DELETE_RAF_OBJECT:\n {\n var searchPath = action.route.split(':/');\n var path = searchPath.slice(1);\n var parent = state.getIn(path);\n var newState = state.deleteIn(path);\n return newState;\n }\n case root + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.ADD_SERVICE + '_BEGIN':\n {\n return state.set('runStatus', 'busy').set('route', root);\n }\n case root + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.ADD_SERVICE + '_COMPLETE':\n {\n var result = (0,_responseReducer__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(action, [root]);\n result.resultType = 'application/vnd.sas.api';\n result.raw = _objectSpread({}, action.payload);\n result.responseHeaders = _objectSpread({}, result.raw.headers);\n result.route = root; // Need this for potential routing\n return fromJS(result);\n }\n case root + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_CALL + '_BEGIN':\n case root + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_POLL + '_BEGIN':\n {\n //noinspection JSUnresolvedVariable\n\n var config = action.config;\n var paginator = config.paginator;\n var _searchPath = config.route.split(':/');\n var _path = _searchPath.slice(paginator === true ? 1 : 2);\n var _parent = state.getIn(_path);\n\n // let payload = {...config.payload };\n // delete payload.route;\n // parent = parent.set( 'runStatus', 'busy' ).set( 'payload', fromJS( payload ) );\n\n _parent = _parent.set('runStatus', 'busy');\n _path = _searchPath.slice(1);\n return state.setIn(_path, _parent);\n }\n case root + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_CALL + '_COMPLETE':\n case root + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_POLL + '_COMPLETE':\n {\n /* */\n //noinspection JSUnresolvedVariable\n\n var _config = action.config;\n var _searchPath2 = _config.route.split(':/');\n var _path2 = _searchPath2.slice(1);\n var raw = Object.assign({}, action.payload);\n var _result = (0,_responseReducer__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(action, _searchPath2);\n _result.raw = raw;\n if (_result.type === 'links' && _result.resultType == undefined) {\n _result.resultType = 'application/vnd.sas.api';\n }\n var method = action.config.link.method;\n _result.title = action.config.link.href;\n _result.responseHeaders = _objectSpread({}, raw.headers);\n _result.route = _searchPath2.join(':/');\n var newParent = fromJS(_result);\n var nState = state.setIn(_path2, newParent);\n return nState;\n }\n case root + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.APP_DATA + '_SETSTATE':\n {\n var _action$payload = action.payload,\n route = _action$payload.route,\n payload = _action$payload.payload;\n var userData = state.get('userData');\n if (Array.isArray(route)) {\n userData = userData.setIn(route, fromJS(payload));\n } else {\n userData = userData.set(route, fromJS(payload));\n }\n return state.set('userData', userData);\n }\n case root + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_XSRF + '_SETSTATE':\n {\n var _action$payload2 = action.payload,\n _route = _action$payload2.route,\n _payload = _action$payload2.payload;\n var _userData = state.get('userData');\n if (Array.isArray(_route)) {\n _userData = _userData.setIn(_route, fromJS(_payload));\n } else {\n _userData = _userData.set(_route, fromJS(_payload));\n }\n return state.set('userData', _userData);\n }\n case root + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_STATUS + '_SETSTATE':\n {\n var _payload2 = action.payload.payload;\n var jobContext = _payload2.jobContext;\n var _userData2 = state.get('userData');\n var routeList = state.get('routeList').push(jobContext);\n _userData2 = _userData2.set(jobContext, fromJS(_payload2));\n return state.set('userData', _userData2).set('routeList', routeList);\n }\n default:\n {\n return state;\n }\n }\n };\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseReducer);\n\n//# sourceURL=webpack://restaf/./reducers/baseReducer.js?\n}");
1512
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _responseReducer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./responseReducer */ \"./reducers/responseReducer.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var immutable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! immutable */ \"../../../node_modules/immutable/dist/immutable.es.js\");\n/* harmony import */ var _utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/rootStruct */ \"./utils/rootStruct.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\n\n// let Immutable = require ( 'immutable' );\n\nvar fromJS = immutable__WEBPACK_IMPORTED_MODULE_3__[\"default\"].fromJS;\n\nvar baseReducer = function baseReducer(root) {\n return function () {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : fromJS((0,_utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__.tLinkStruct)(root, 'links', root));\n var action = arguments.length > 1 ? arguments[1] : undefined;\n switch (action.type) {\n case _actionTypes__WEBPACK_IMPORTED_MODULE_2__.DELETE_RAF_OBJECT:\n {\n var searchPath = action.route.split(':/');\n var path = searchPath.slice(1);\n var parent = state.getIn(path);\n var newState = state.deleteIn(path);\n return newState;\n }\n case root + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.ADD_SERVICE + '_BEGIN':\n {\n return state.set('runStatus', 'busy').set('route', root);\n }\n case root + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.ADD_SERVICE + '_COMPLETE':\n {\n var result = (0,_responseReducer__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(action, [root]);\n result.resultType = 'application/vnd.sas.api';\n result.raw = _objectSpread({}, action.payload);\n result.responseHeaders = _objectSpread({}, result.raw.headers);\n result.route = root; // Need this for potential routing\n return fromJS(result);\n }\n case root + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_CALL + '_BEGIN':\n case root + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_POLL + '_BEGIN':\n {\n //noinspection JSUnresolvedVariable\n\n var config = action.config;\n var paginator = config.paginator;\n var _searchPath = config.route.split(':/');\n var _path = _searchPath.slice(paginator === true ? 1 : 2);\n var _parent = state.getIn(_path);\n\n // let payload = {...config.payload };\n // delete payload.route;\n // parent = parent.set( 'runStatus', 'busy' ).set( 'payload', fromJS( payload ) );\n\n _parent = _parent.set('runStatus', 'busy');\n _path = _searchPath.slice(1);\n return state.setIn(_path, _parent);\n }\n case root + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_CALL + '_COMPLETE':\n case root + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_POLL + '_COMPLETE':\n {\n /* */\n //noinspection JSUnresolvedVariable\n\n var _config = action.config;\n var _searchPath2 = _config.route.split(':/');\n var _path2 = _searchPath2.slice(1);\n var raw = Object.assign({}, action.payload);\n var _result = (0,_responseReducer__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(action, _searchPath2);\n _result.raw = raw;\n if (_result.type === 'links' && _result.resultType == undefined) {\n _result.resultType = 'application/vnd.sas.api';\n }\n var method = action.config.link.method;\n _result.title = action.config.link.href;\n _result.responseHeaders = _objectSpread({}, raw.headers);\n _result.route = _searchPath2.join(':/');\n var newParent = fromJS(_result);\n var nState = state.setIn(_path2, newParent);\n return nState;\n }\n case root + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.APP_DATA + '_SETSTATE':\n {\n var _action$payload = action.payload,\n route = _action$payload.route,\n payload = _action$payload.payload;\n var userData = state.get('userData');\n if (Array.isArray(route)) {\n userData = userData.setIn(route, fromJS(payload));\n } else {\n userData = userData.set(route, fromJS(payload));\n }\n return state.set('userData', userData);\n }\n case root + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_XSRF + '_SETSTATE':\n {\n var _action$payload2 = action.payload,\n _route = _action$payload2.route,\n _payload = _action$payload2.payload;\n var _userData = state.get('userData');\n if (Array.isArray(_route)) {\n _userData = _userData.setIn(_route, fromJS(_payload));\n } else {\n _userData = _userData.set(_route, fromJS(_payload));\n }\n return state.set('userData', _userData);\n }\n case root + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_STATUS + '_SETSTATE':\n {\n var _payload2 = action.payload.payload;\n var jobContext = _payload2.jobContext;\n var _userData2 = state.get('userData');\n var routeList = state.get('routeList').push(jobContext);\n _userData2 = _userData2.set(jobContext, fromJS(_payload2));\n return state.set('userData', _userData2).set('routeList', routeList);\n }\n default:\n {\n return state;\n }\n }\n };\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseReducer);\n\n//# sourceURL=webpack://restaf/./reducers/baseReducer.js?\n}");
1513
1513
 
1514
1514
  /***/ }),
1515
1515
 
@@ -1520,7 +1520,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1520
1520
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1521
1521
 
1522
1522
  "use strict";
1523
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux */ \"../../../node_modules/redux/es/redux.js\");\n/* harmony import */ var _baseReducer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./baseReducer */ \"./reducers/baseReducer.js\");\n/* harmony import */ var _viyaLogon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./viyaLogon */ \"./reducers/viyaLogon.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*\r\n* Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.\r\n* SPDX-License-Identifier: Apache-2.0\r\n*/\n\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\n\n\nvar createReducer = function createReducer(asyncReducer) {\n var reducerList = {};\n reducerList['connections'] = _viyaLogon__WEBPACK_IMPORTED_MODULE_3__[\"default\"];\n reducerList[_actionTypes__WEBPACK_IMPORTED_MODULE_4__.API_STATUS_ROOT] = (0,_baseReducer__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_actionTypes__WEBPACK_IMPORTED_MODULE_4__.API_STATUS_ROOT);\n reducerList[_actionTypes__WEBPACK_IMPORTED_MODULE_4__.APP_DATA_ROOT] = (0,_baseReducer__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_actionTypes__WEBPACK_IMPORTED_MODULE_4__.APP_DATA_ROOT);\n reducerList[_actionTypes__WEBPACK_IMPORTED_MODULE_4__.API_XSRF_ROOT] = (0,_baseReducer__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_actionTypes__WEBPACK_IMPORTED_MODULE_4__.API_XSRF_ROOT);\n reducerList = _objectSpread(_objectSpread({}, reducerList), asyncReducer);\n return (0,redux__WEBPACK_IMPORTED_MODULE_1__.combineReducers)(reducerList);\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createReducer);\n\n//# sourceURL=webpack://restaf/./reducers/createReducer.js?\n}");
1523
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux */ \"../../../node_modules/redux/es/redux.js\");\n/* harmony import */ var _baseReducer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./baseReducer */ \"./reducers/baseReducer.js\");\n/* harmony import */ var _viyaLogon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./viyaLogon */ \"./reducers/viyaLogon.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*\n* Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.\n* SPDX-License-Identifier: Apache-2.0\n*/\n\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\n\n\nvar createReducer = function createReducer(asyncReducer) {\n var reducerList = {};\n reducerList['connections'] = _viyaLogon__WEBPACK_IMPORTED_MODULE_3__[\"default\"];\n reducerList[_actionTypes__WEBPACK_IMPORTED_MODULE_4__.API_STATUS_ROOT] = (0,_baseReducer__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_actionTypes__WEBPACK_IMPORTED_MODULE_4__.API_STATUS_ROOT);\n reducerList[_actionTypes__WEBPACK_IMPORTED_MODULE_4__.APP_DATA_ROOT] = (0,_baseReducer__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_actionTypes__WEBPACK_IMPORTED_MODULE_4__.APP_DATA_ROOT);\n reducerList[_actionTypes__WEBPACK_IMPORTED_MODULE_4__.API_XSRF_ROOT] = (0,_baseReducer__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_actionTypes__WEBPACK_IMPORTED_MODULE_4__.API_XSRF_ROOT);\n reducerList = _objectSpread(_objectSpread({}, reducerList), asyncReducer);\n return (0,redux__WEBPACK_IMPORTED_MODULE_1__.combineReducers)(reducerList);\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createReducer);\n\n//# sourceURL=webpack://restaf/./reducers/createReducer.js?\n}");
1524
1524
 
1525
1525
  /***/ }),
1526
1526
 
@@ -1531,7 +1531,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1531
1531
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1532
1532
 
1533
1533
  "use strict";
1534
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _createReducer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createReducer */ \"./reducers/createReducer.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\n// https://stackoverflow.com/questions/32968016/how-to-dynamically-load-reducers-for-code-splitting-in-a-redux-application/33044701#33044701\nvar injectAsyncReducers = function injectAsyncReducers(store, name, asyncReducer) {\n if (store.asyncReducers.hasOwnProperty(name)) {\n delete store.asyncReducers[name];\n }\n store.asyncReducers[name] = asyncReducer;\n store.replaceReducer((0,_createReducer__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store.asyncReducers));\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (injectAsyncReducers);\n\n//# sourceURL=webpack://restaf/./reducers/injectAsyncReducers.js?\n}");
1534
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _createReducer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createReducer */ \"./reducers/createReducer.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n// https://stackoverflow.com/questions/32968016/how-to-dynamically-load-reducers-for-code-splitting-in-a-redux-application/33044701#33044701\nvar injectAsyncReducers = function injectAsyncReducers(store, name, asyncReducer) {\n if (store.asyncReducers.hasOwnProperty(name)) {\n delete store.asyncReducers[name];\n }\n store.asyncReducers[name] = asyncReducer;\n store.replaceReducer((0,_createReducer__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store.asyncReducers));\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (injectAsyncReducers);\n\n//# sourceURL=webpack://restaf/./reducers/injectAsyncReducers.js?\n}");
1535
1535
 
1536
1536
  /***/ }),
1537
1537
 
@@ -1542,7 +1542,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1542
1542
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1543
1543
 
1544
1544
  "use strict";
1545
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../../../node_modules/@babel/runtime/helpers/esm/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ \"./utils/index.js\");\n/* harmony import */ var _utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/rootStruct */ \"./utils/rootStruct.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\n\n\nfunction _createForOfIteratorHelper(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\nvar responseReducer = function responseReducer(action, parentPath) {\n var response = null;\n /* */\n\n if (action.error === true) {\n response = (0,_utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__.tLinkStruct)('error', 'error');\n response.link = action.config.href;\n response.runStatus = 'error';\n response.statusInfo = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.setBadStatus)(action.payload);\n return response;\n }\n var results = action.payload.data.results;\n var contentType = '';\n if (results.hasOwnProperty('accept') === true) {\n contentType = results.accept;\n } else if (action.payload.headers.hasOwnProperty('content-type') === true) {\n contentType = action.payload.headers['content-type'].split(';')[0].split('+json')[0];\n } else {\n if (action.payload.status === 204) {\n contentType = 'No Content';\n }\n }\n\n // results with a list of items\n if (results.hasOwnProperty('items')) {\n response = itemsReducer(results, parentPath);\n response.resultType = results.accept == undefined ? contentType : results.accept;\n\n // result has links and data\n } else if (results.hasOwnProperty('links')) {\n /* got just links */\n\n response = tLinkReducer(results.links, parentPath);\n var data = _objectSpread({}, results);\n delete data.links;\n // Need to handle the cases as in vnd.sas.data.row.set which return data with no items array\n\n for (var key in data) {\n if (key !== 'version') {\n response.type = 'data'; // change type of link to data\n break;\n }\n }\n response.items = {\n resultType: 'data',\n data: data,\n cmds: null\n };\n response.resultType = contentType;\n\n // plain data case - no links at the top level\n } else {\n response = (0,_utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__.tLinkStruct)('data', 'data');\n response.type = 'data';\n response.resultType = contentType;\n response.items = {\n resultType: contentType,\n /* data : (typeof results === 'string' || typeof results === 'boolean') ? results : Object.assign({}, results),*/\n\n data: (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(results) === 'object' ? Object.assign({}, results) : results,\n cmds: null\n };\n }\n\n /* response.raw = Object.assign( {}, results );*/\n //noinspection JSUnresolvedVariable\n\n response.link = action.config.link.href;\n response.runStatus = 'ready';\n response.statusInfo = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.setGoodStatus)(action.payload);\n var c = action.config;\n var hc = action.payload.config;\n var temp = hc.url.split('/');\n response.host = \"\".concat(temp[0], \"//\").concat(temp[2]);\n response.iconfig = {\n input: {\n link: _objectSpread({}, c.link),\n payload: c.hasOwnProperty('payload') ? Object.assign({}, c.payload) : {}\n },\n http: {\n url: hc.url,\n payload: {\n headers: [].concat(hc.headers),\n data: hc.data == null ? {} : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(hc.data) === 'object' ? Object.assign({}, hc.data) : hc.data,\n qs: hc.params == null ? {} : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(hc.params) === 'object' ? Object.assign({}, hc.params) : hc.params\n }\n }\n };\n return response;\n};\nfunction tLinkReducer(iLinks, parentPath) {\n var r = (0,_utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__.tLinkStruct)(parentPath[parentPath.length - 1], 'links');\n if (iLinks === null || iLinks.length === 0) {\n return r;\n }\n r.links = setupRelPaths(iLinks, parentPath, 'lcmds');\n r.type = 'links';\n r.scrollCmds = setupRelPaths(iLinks, parentPath, 'scrollCmds');\n return r;\n}\nfunction setupRelPaths(iLinks, parentPath, subType) {\n var subCmds = ['next', 'prev', 'first', 'last'];\n var tlinks;\n if (subType === 'links') {\n tlinks = iLinks;\n } else if (subType === 'cmds' || subType === 'lcmds') {\n tlinks = iLinks.filter(function (l) {\n return !subCmds.includes(l.rel);\n });\n } else if (subType === 'scrollCmds') {\n tlinks = iLinks.filter(function (l) {\n return subCmds.includes(l.rel);\n });\n } else {\n tlinks = iLinks;\n }\n if (subType === 'lcmds') {\n subType = 'links';\n }\n var tSearchPath = [].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(parentPath), [subType]);\n var linksMap = {};\n tlinks.map(function (l) {\n var ts = [].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(tSearchPath), [l.rel]);\n if (l.hasOwnProperty('title') === false) {\n l.title = l.rel;\n }\n var lx = {\n link: _objectSpread({}, l),\n method: l.method,\n route: ts.join(':/'),\n parentRoute: (0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(parentPath).join(':/'),\n paginator: subCmds.includes(l.rel)\n };\n linksMap[l.rel] = _objectSpread(_objectSpread({}, (0,_utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__.tLinkStruct)(l.title, subType)), lx);\n });\n return linksMap;\n}\nfunction itemsReducer(results, parentPath) {\n var idList = [];\n var rows = {};\n var response = (0,_utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__.tLinkStruct)(parentPath[parentPath.length - 1], 'links');\n var itemsResponse = (0,_utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__.itemsStruct)();\n response.resultType = results.accept;\n response.details = setDetails(results);\n if (results.hasOwnProperty('name')) {\n itemsResponse.name = results.name;\n }\n if (results.hasOwnProperty('links')) {\n response.links = setupRelPaths(results.links, parentPath, 'lcmds');\n response.scrollCmds = setupRelPaths(results.links, parentPath, 'scrollCmds');\n }\n if (Array.isArray(results.items) === false) {\n itemsResponse.data = results.items;\n itemsResponse.resultType = results.accept;\n if (results.items.hasOwnProperty('customHandling')) {\n itemsResponse.type = results.items.customHandling;\n response.type = results.items.customHandling;\n } else {\n itemsResponse.type = 'items';\n response.type = 'items';\n }\n response.items = itemsResponse;\n return response;\n }\n if (results.items.length === 0) {\n itemsResponse.resultType = results.accept;\n itemsResponse.data = [];\n itemsResponse.type = 'itemsList';\n response.type = 'itemsList';\n response.items = itemsResponse;\n response.itemsList = [];\n return response;\n } else if (results.items[0].hasOwnProperty('links')) {\n var index = -1;\n var prevName = ''; /* need for models since they allow duplicate names - ugh! */\n var _iterator = _createForOfIteratorHelper(results.items),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var item = _step.value;\n index++;\n var name = void 0;\n if (item.hasOwnProperty('name2')) {\n name = item.name2;\n } else {\n name = item.hasOwnProperty('name') ? item.name : item.hasOwnProperty('id') ? item.id : \"\".concat(index);\n }\n if (prevName === name) {\n var rev = item.hasOwnProperty('id') === true ? item.id : index;\n name = \"\".concat(name, \"_\").concat(rev);\n } else {\n prevName = name;\n }\n idList.push(name);\n var tRoute = [].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(parentPath), ['items', 'data', name]);\n var rowcmds = setupRelPaths(item.links, tRoute, 'cmds');\n var data = _objectSpread({}, item);\n delete data.links;\n var row = (0,_utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__.itemsStruct)();\n row.type = 'itemRow';\n row.name = name;\n row.resultType = data.hasOwnProperty('contentType') === true ? data['contentType'] : 'unknown';\n row.cmds = rowcmds;\n row.data = data;\n rows[name] = row;\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n itemsResponse.data = rows;\n itemsResponse.resultType = results.accept;\n itemsResponse.type = 'itemsList';\n response.itemsList = [].concat(idList);\n response.type = 'itemsList';\n } else {\n itemsResponse.data = (0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(results.items);\n itemsResponse.resultType = results.accept;\n itemsResponse.type = 'itemsArray';\n response.type = 'itemsArray';\n }\n response.items = itemsResponse;\n return response;\n}\nfunction setDetails(results) {\n var r = _objectSpread({}, results);\n if (r.hasOwnProperty('links')) {\n delete r.links;\n }\n if (r.hasOwnProperty('items')) {\n delete r.items;\n }\n return r;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (responseReducer);\n\n//# sourceURL=webpack://restaf/./reducers/responseReducer.js?\n}");
1545
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../../../node_modules/@babel/runtime/helpers/esm/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ \"./utils/index.js\");\n/* harmony import */ var _utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/rootStruct */ \"./utils/rootStruct.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\n\nfunction _createForOfIteratorHelper(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\nvar responseReducer = function responseReducer(action, parentPath) {\n var response = null;\n /* */\n\n if (action.error === true) {\n response = (0,_utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__.tLinkStruct)('error', 'error');\n response.link = action.config.href;\n response.runStatus = 'error';\n response.statusInfo = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.setBadStatus)(action.payload);\n return response;\n }\n var results = action.payload.data.results;\n var contentType = '';\n if (results.hasOwnProperty('accept') === true) {\n contentType = results.accept;\n } else if (action.payload.headers.hasOwnProperty('content-type') === true) {\n contentType = action.payload.headers['content-type'].split(';')[0].split('+json')[0];\n } else {\n if (action.payload.status === 204) {\n contentType = 'No Content';\n }\n }\n\n // results with a list of items\n if (results.hasOwnProperty('items')) {\n response = itemsReducer(results, parentPath);\n response.resultType = results.accept == undefined ? contentType : results.accept;\n\n // result has links and data\n } else if (results.hasOwnProperty('links')) {\n /* got just links */\n\n response = tLinkReducer(results.links, parentPath);\n var data = _objectSpread({}, results);\n delete data.links;\n // Need to handle the cases as in vnd.sas.data.row.set which return data with no items array\n\n for (var key in data) {\n if (key !== 'version') {\n response.type = 'data'; // change type of link to data\n break;\n }\n }\n response.items = {\n resultType: 'data',\n data: data,\n cmds: null\n };\n response.resultType = contentType;\n\n // plain data case - no links at the top level\n } else {\n response = (0,_utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__.tLinkStruct)('data', 'data');\n response.type = 'data';\n response.resultType = contentType;\n response.items = {\n resultType: contentType,\n /* data : (typeof results === 'string' || typeof results === 'boolean') ? results : Object.assign({}, results),*/\n\n data: (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(results) === 'object' ? Object.assign({}, results) : results,\n cmds: null\n };\n }\n\n /* response.raw = Object.assign( {}, results );*/\n //noinspection JSUnresolvedVariable\n\n response.link = action.config.link.href;\n response.runStatus = 'ready';\n response.statusInfo = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.setGoodStatus)(action.payload);\n var c = action.config;\n var hc = action.payload.config;\n var temp = hc.url.split('/');\n response.host = \"\".concat(temp[0], \"//\").concat(temp[2]);\n response.iconfig = {\n input: {\n link: _objectSpread({}, c.link),\n payload: c.hasOwnProperty('payload') ? Object.assign({}, c.payload) : {}\n },\n http: {\n url: hc.url,\n payload: {\n headers: [].concat(hc.headers),\n data: hc.data == null ? {} : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(hc.data) === 'object' ? Object.assign({}, hc.data) : hc.data,\n qs: hc.params == null ? {} : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(hc.params) === 'object' ? Object.assign({}, hc.params) : hc.params\n }\n }\n };\n return response;\n};\nfunction tLinkReducer(iLinks, parentPath) {\n var r = (0,_utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__.tLinkStruct)(parentPath[parentPath.length - 1], 'links');\n if (iLinks === null || iLinks.length === 0) {\n return r;\n }\n r.links = setupRelPaths(iLinks, parentPath, 'lcmds');\n r.type = 'links';\n r.scrollCmds = setupRelPaths(iLinks, parentPath, 'scrollCmds');\n return r;\n}\nfunction setupRelPaths(iLinks, parentPath, subType) {\n var subCmds = ['next', 'prev', 'first', 'last'];\n var tlinks;\n if (subType === 'links') {\n tlinks = iLinks;\n } else if (subType === 'cmds' || subType === 'lcmds') {\n tlinks = iLinks.filter(function (l) {\n return !subCmds.includes(l.rel);\n });\n } else if (subType === 'scrollCmds') {\n tlinks = iLinks.filter(function (l) {\n return subCmds.includes(l.rel);\n });\n } else {\n tlinks = iLinks;\n }\n if (subType === 'lcmds') {\n subType = 'links';\n }\n var tSearchPath = [].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(parentPath), [subType]);\n var linksMap = {};\n tlinks.map(function (l) {\n var ts = [].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(tSearchPath), [l.rel]);\n if (l.hasOwnProperty('title') === false) {\n l.title = l.rel;\n }\n var lx = {\n link: _objectSpread({}, l),\n method: l.method,\n route: ts.join(':/'),\n parentRoute: (0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(parentPath).join(':/'),\n paginator: subCmds.includes(l.rel)\n };\n linksMap[l.rel] = _objectSpread(_objectSpread({}, (0,_utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__.tLinkStruct)(l.title, subType)), lx);\n });\n return linksMap;\n}\nfunction itemsReducer(results, parentPath) {\n var idList = [];\n var rows = {};\n var response = (0,_utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__.tLinkStruct)(parentPath[parentPath.length - 1], 'links');\n var itemsResponse = (0,_utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__.itemsStruct)();\n response.resultType = results.accept;\n response.details = setDetails(results);\n if (results.hasOwnProperty('name')) {\n itemsResponse.name = results.name;\n }\n if (results.hasOwnProperty('links')) {\n response.links = setupRelPaths(results.links, parentPath, 'lcmds');\n response.scrollCmds = setupRelPaths(results.links, parentPath, 'scrollCmds');\n }\n if (Array.isArray(results.items) === false) {\n itemsResponse.data = results.items;\n itemsResponse.resultType = results.accept;\n if (results.items.hasOwnProperty('customHandling')) {\n itemsResponse.type = results.items.customHandling;\n response.type = results.items.customHandling;\n } else {\n itemsResponse.type = 'items';\n response.type = 'items';\n }\n response.items = itemsResponse;\n return response;\n }\n if (results.items.length === 0) {\n itemsResponse.resultType = results.accept;\n itemsResponse.data = [];\n itemsResponse.type = 'itemsList';\n response.type = 'itemsList';\n response.items = itemsResponse;\n response.itemsList = [];\n return response;\n } else if (results.items[0].hasOwnProperty('links')) {\n var index = -1;\n var prevName = ''; /* need for models since they allow duplicate names - ugh! */\n var _iterator = _createForOfIteratorHelper(results.items),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var item = _step.value;\n index++;\n var name = void 0;\n if (item.hasOwnProperty('name2')) {\n name = item.name2;\n } else {\n name = item.hasOwnProperty('name') ? item.name : item.hasOwnProperty('id') ? item.id : \"\".concat(index);\n }\n if (prevName === name) {\n var rev = item.hasOwnProperty('id') === true ? item.id : index;\n name = \"\".concat(name, \"_\").concat(rev);\n } else {\n prevName = name;\n }\n idList.push(name);\n var tRoute = [].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(parentPath), ['items', 'data', name]);\n var rowcmds = setupRelPaths(item.links, tRoute, 'cmds');\n var data = _objectSpread({}, item);\n delete data.links;\n var row = (0,_utils_rootStruct__WEBPACK_IMPORTED_MODULE_4__.itemsStruct)();\n row.type = 'itemRow';\n row.name = name;\n row.resultType = data.hasOwnProperty('contentType') === true ? data['contentType'] : 'unknown';\n row.cmds = rowcmds;\n row.data = data;\n rows[name] = row;\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n itemsResponse.data = rows;\n itemsResponse.resultType = results.accept;\n itemsResponse.type = 'itemsList';\n response.itemsList = [].concat(idList);\n response.type = 'itemsList';\n } else {\n itemsResponse.data = (0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(results.items);\n itemsResponse.resultType = results.accept;\n itemsResponse.type = 'itemsArray';\n response.type = 'itemsArray';\n }\n response.items = itemsResponse;\n return response;\n}\nfunction setDetails(results) {\n var r = _objectSpread({}, results);\n if (r.hasOwnProperty('links')) {\n delete r.links;\n }\n if (r.hasOwnProperty('items')) {\n delete r.items;\n }\n return r;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (responseReducer);\n\n//# sourceURL=webpack://restaf/./reducers/responseReducer.js?\n}");
1546
1546
 
1547
1547
  /***/ }),
1548
1548
 
@@ -1553,7 +1553,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1553
1553
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1554
1554
 
1555
1555
  "use strict";
1556
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var immutable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! immutable */ \"../../../node_modules/immutable/dist/immutable.es.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ \"./utils/index.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n/* import uuid from 'uuid' ;*/\n// let Immutable = require( 'immutable' );\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\nvar Map = immutable__WEBPACK_IMPORTED_MODULE_1__[\"default\"].Map,\n fromJS = immutable__WEBPACK_IMPORTED_MODULE_1__[\"default\"].fromJS;\n\n\nvar initialState = fromJS({\n connections: [],\n user: 'none',\n type: 'server',\n currentConnection: -1,\n statusInfo: (0,_utils__WEBPACK_IMPORTED_MODULE_3__.statusInfoStruct)(),\n runStatus: 'idle'\n});\nfunction viyaLogon() {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;\n var action = arguments.length > 1 ? arguments[1] : undefined;\n switch (action.type) {\n case _actionTypes__WEBPACK_IMPORTED_MODULE_2__.BEGIN_LOGON:\n {\n return state.set('runStatus', 'busy');\n }\n case _actionTypes__WEBPACK_IMPORTED_MODULE_2__.VIYA_LOGON_SERVER:\n {\n var config = action.payload.iconfig;\n var newOne = {\n type: 'server',\n id: 1,\n user: 'You',\n desc: 'Server',\n logonInfo: {\n type: 'server',\n host: config.host,\n protocol: config.host.indexOf('https') !== -1 ? 'https://' : 'http://',\n options: config.options == null ? {} : config.options,\n tokenType: config.hasOwnProperty('tokenType') === true ? config.tokenType : null,\n token: config.hasOwnProperty('token') === true ? config.token : null,\n sslOptions: config.hasOwnProperty('sslOptions') === true ? config.sslOptions : null,\n // the next two are here for backward compatability but sslOptions is the correct way\n\n pem: config.hasOwnProperty('pem') ? config.pem : null,\n rejectUnauthorized: config.hasOwnProperty('rejectUnauthorized') ? config.rejectUnauthorized : null,\n withCredentials: config.hasOwnProperty('withCredentials') ? config.withCredentials : true,\n keepAlive: config.hasOwnProperty('keepAlive') ? config.keepAlive : null\n }\n };\n var temp = {\n currentConnection: state.get('currentConnection') + 1,\n runStatus: 'ready',\n statusInfo: {},\n user: 'You of course!',\n connections: [newOne]\n };\n return fromJS(temp);\n }\n case _actionTypes__WEBPACK_IMPORTED_MODULE_2__.VIYA_LOGON_IMPLICIT:\n {\n var _config = action.payload.iconfig;\n if (action.error === true) {\n return state.withMutations(function (s) {\n s.set('runStatus', 'error').set('statusInfo', fromJS((0,_utils__WEBPACK_IMPORTED_MODULE_3__.setBadStatus)(action.payload)));\n });\n }\n var _newOne = {\n type: 'implicit',\n id: 1,\n user: 'You',\n desc: 'implicit',\n logonInfo: _objectSpread({}, _config)\n };\n var _temp = {\n currentConnection: state.get('currentConnection') + 1,\n runStatus: 'ready',\n statusInfo: {},\n user: 'You of course!',\n connections: [_newOne]\n };\n return fromJS(_temp);\n }\n case _actionTypes__WEBPACK_IMPORTED_MODULE_2__.VIYA_LOGON_COMPLETE:\n {\n if (action.error === true) {\n return state.withMutations(function (s) {\n s.set('runStatus', 'error').set('statusInfo', fromJS((0,_utils__WEBPACK_IMPORTED_MODULE_3__.setBadStatus)(action.payload)));\n });\n }\n var _temp2 = {\n currentConnection: state.get('currentConnection') + 1,\n runStatus: 'ready',\n statusInfo: (0,_utils__WEBPACK_IMPORTED_MODULE_3__.setGoodStatus)(action.payload),\n user: action.payload.data.iconfig.user\n };\n return state.withMutations(function (s) {\n //noinspection JSUnresolvedFunction\n s.set('connections', s.get('connections').push(Map(newConnection(action.payload)))).merge(fromJS(_temp2));\n });\n }\n case _actionTypes__WEBPACK_IMPORTED_MODULE_2__.VIYA_LOGOFF:\n {\n return state;\n }\n case _actionTypes__WEBPACK_IMPORTED_MODULE_2__.BEGIN_LOGOFF:\n {\n return state.set('runStatus', 'busy');\n }\n case _actionTypes__WEBPACK_IMPORTED_MODULE_2__.VIYA_LOGOFF_COMPLETE:\n {\n if (action.error === true) {\n return state.withMutations(function (s) {\n s.set('runStatus', 'error').set('statusInfo', fromJS((0,_utils__WEBPACK_IMPORTED_MODULE_3__.setBadStatus)(action.payload)));\n });\n }\n return initialState;\n }\n case _actionTypes__WEBPACK_IMPORTED_MODULE_2__.KEEP_ALIVE:\n {\n return state;\n }\n default:\n return state;\n }\n}\nfunction newConnection(payload) {\n var _payload$data = payload.data,\n results = _payload$data.results,\n iconfig = _payload$data.iconfig;\n return {\n type: 'connection',\n id: 1,\n user: iconfig.user,\n desc: iconfig.desc,\n logonInfo: {\n type: 'trusted',\n host: iconfig.host,\n tokenType: results['token_type'],\n token: results['access_token'],\n refresh_token: results['refresh_token'],\n sslOptions: iconfig.sslOptions,\n // rejectUnauthorized: (iconfig.hasOwnProperty('rejectUnauthorized')) ? iconfig.rejectUnauthorized : null,\n\n keepAlive: iconfig.keepAlive == null ? null : iconfig.keepAlive\n },\n statusInfo: (0,_utils__WEBPACK_IMPORTED_MODULE_3__.setGoodStatus)(payload)\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (viyaLogon);\n\n//# sourceURL=webpack://restaf/./reducers/viyaLogon.js?\n}");
1556
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var immutable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! immutable */ \"../../../node_modules/immutable/dist/immutable.es.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ \"./utils/index.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n/* import uuid from 'uuid' ;*/\n// let Immutable = require( 'immutable' );\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\nvar Map = immutable__WEBPACK_IMPORTED_MODULE_1__[\"default\"].Map,\n fromJS = immutable__WEBPACK_IMPORTED_MODULE_1__[\"default\"].fromJS;\n\n\nvar initialState = fromJS({\n connections: [],\n user: 'none',\n type: 'server',\n currentConnection: -1,\n statusInfo: (0,_utils__WEBPACK_IMPORTED_MODULE_3__.statusInfoStruct)(),\n runStatus: 'idle'\n});\nfunction viyaLogon() {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;\n var action = arguments.length > 1 ? arguments[1] : undefined;\n switch (action.type) {\n case _actionTypes__WEBPACK_IMPORTED_MODULE_2__.BEGIN_LOGON:\n {\n return state.set('runStatus', 'busy');\n }\n case _actionTypes__WEBPACK_IMPORTED_MODULE_2__.VIYA_LOGON_SERVER:\n {\n var config = action.payload.iconfig;\n var newOne = {\n type: 'server',\n id: 1,\n user: 'You',\n desc: 'Server',\n logonInfo: {\n type: 'server',\n host: config.host,\n protocol: config.host.indexOf('https') !== -1 ? 'https://' : 'http://',\n options: config.options == null ? {} : config.options,\n tokenType: config.hasOwnProperty('tokenType') === true ? config.tokenType : null,\n token: config.hasOwnProperty('token') === true ? config.token : null,\n sslOptions: config.hasOwnProperty('sslOptions') === true ? config.sslOptions : null,\n // the next two are here for backward compatability but sslOptions is the correct way\n\n pem: config.hasOwnProperty('pem') ? config.pem : null,\n rejectUnauthorized: config.hasOwnProperty('rejectUnauthorized') ? config.rejectUnauthorized : null,\n withCredentials: config.hasOwnProperty('withCredentials') ? config.withCredentials : true,\n keepAlive: config.hasOwnProperty('keepAlive') ? config.keepAlive : null\n }\n };\n var temp = {\n currentConnection: state.get('currentConnection') + 1,\n runStatus: 'ready',\n statusInfo: {},\n user: 'You of course!',\n connections: [newOne]\n };\n return fromJS(temp);\n }\n case _actionTypes__WEBPACK_IMPORTED_MODULE_2__.VIYA_LOGON_IMPLICIT:\n {\n var _config = action.payload.iconfig;\n if (action.error === true) {\n return state.withMutations(function (s) {\n s.set('runStatus', 'error').set('statusInfo', fromJS((0,_utils__WEBPACK_IMPORTED_MODULE_3__.setBadStatus)(action.payload)));\n });\n }\n var _newOne = {\n type: 'implicit',\n id: 1,\n user: 'You',\n desc: 'implicit',\n logonInfo: _objectSpread({}, _config)\n };\n var _temp = {\n currentConnection: state.get('currentConnection') + 1,\n runStatus: 'ready',\n statusInfo: {},\n user: 'You of course!',\n connections: [_newOne]\n };\n return fromJS(_temp);\n }\n case _actionTypes__WEBPACK_IMPORTED_MODULE_2__.VIYA_LOGON_COMPLETE:\n {\n if (action.error === true) {\n return state.withMutations(function (s) {\n s.set('runStatus', 'error').set('statusInfo', fromJS((0,_utils__WEBPACK_IMPORTED_MODULE_3__.setBadStatus)(action.payload)));\n });\n }\n var _temp2 = {\n currentConnection: state.get('currentConnection') + 1,\n runStatus: 'ready',\n statusInfo: (0,_utils__WEBPACK_IMPORTED_MODULE_3__.setGoodStatus)(action.payload),\n user: action.payload.data.iconfig.user\n };\n return state.withMutations(function (s) {\n //noinspection JSUnresolvedFunction\n s.set('connections', s.get('connections').push(Map(newConnection(action.payload)))).merge(fromJS(_temp2));\n });\n }\n case _actionTypes__WEBPACK_IMPORTED_MODULE_2__.VIYA_LOGOFF:\n {\n return state;\n }\n case _actionTypes__WEBPACK_IMPORTED_MODULE_2__.BEGIN_LOGOFF:\n {\n return state.set('runStatus', 'busy');\n }\n case _actionTypes__WEBPACK_IMPORTED_MODULE_2__.VIYA_LOGOFF_COMPLETE:\n {\n if (action.error === true) {\n return state.withMutations(function (s) {\n s.set('runStatus', 'error').set('statusInfo', fromJS((0,_utils__WEBPACK_IMPORTED_MODULE_3__.setBadStatus)(action.payload)));\n });\n }\n return initialState;\n }\n case _actionTypes__WEBPACK_IMPORTED_MODULE_2__.KEEP_ALIVE:\n {\n return state;\n }\n default:\n return state;\n }\n}\nfunction newConnection(payload) {\n var _payload$data = payload.data,\n results = _payload$data.results,\n iconfig = _payload$data.iconfig;\n return {\n type: 'connection',\n id: 1,\n user: iconfig.user,\n desc: iconfig.desc,\n logonInfo: {\n type: 'trusted',\n host: iconfig.host,\n tokenType: results['token_type'],\n token: results['access_token'],\n refresh_token: results['refresh_token'],\n sslOptions: iconfig.sslOptions,\n // rejectUnauthorized: (iconfig.hasOwnProperty('rejectUnauthorized')) ? iconfig.rejectUnauthorized : null,\n\n keepAlive: iconfig.keepAlive == null ? null : iconfig.keepAlive\n },\n statusInfo: (0,_utils__WEBPACK_IMPORTED_MODULE_3__.setGoodStatus)(payload)\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (viyaLogon);\n\n//# sourceURL=webpack://restaf/./reducers/viyaLogon.js?\n}");
1557
1557
 
1558
1558
  /***/ }),
1559
1559
 
@@ -1564,7 +1564,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1564
1564
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1565
1565
 
1566
1566
  "use strict";
1567
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js\");\n/* harmony import */ var _httpCall__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./httpCall */ \"./sagas/httpCall.js\");\n/* harmony import */ var _store_selectLogonInfo__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../store/selectLogonInfo */ \"./store/selectLogonInfo.js\");\n/*------------------------------------------------------------------------------------\r\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n\r\n limitations under the License.\r\n ---------------------------------------------------------------------------------------*/\n\n\n\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(apiCall);\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\n\n\nfunction apiCall(action) {\n var config, payload;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n config = _objectSpread({}, action);\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(_store_selectLogonInfo__WEBPACK_IMPORTED_MODULE_4__[\"default\"]);\n case 1:\n config.logonInfo = _context.sent;\n _context.next = 2;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)({\n type: config.serviceName + '_' + action.type + '_BEGIN',\n config: config\n });\n case 2:\n if (!(action.delay > 0)) {\n _context.next = 3;\n break;\n }\n _context.next = 3;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.delay)(action.delay * 1000);\n case 3:\n _context.next = 4;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.call)(_httpCall__WEBPACK_IMPORTED_MODULE_3__[\"default\"], config);\n case 4:\n payload = _context.sent;\n _context.next = 5;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(payload);\n case 5:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiCall);\n\n//# sourceURL=webpack://restaf/./sagas/apiCall.js?\n}");
1567
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js\");\n/* harmony import */ var _httpCall__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./httpCall */ \"./sagas/httpCall.js\");\n/* harmony import */ var _store_selectLogonInfo__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../store/selectLogonInfo */ \"./store/selectLogonInfo.js\");\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n\n\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(apiCall);\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\n\n\nfunction apiCall(action) {\n var config, payload;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n config = _objectSpread({}, action);\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(_store_selectLogonInfo__WEBPACK_IMPORTED_MODULE_4__[\"default\"]);\n case 1:\n config.logonInfo = _context.sent;\n _context.next = 2;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)({\n type: config.serviceName + '_' + action.type + '_BEGIN',\n config: config\n });\n case 2:\n if (!(action.delay > 0)) {\n _context.next = 3;\n break;\n }\n _context.next = 3;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.delay)(action.delay * 1000);\n case 3:\n _context.next = 4;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.call)(_httpCall__WEBPACK_IMPORTED_MODULE_3__[\"default\"], config);\n case 4:\n payload = _context.sent;\n _context.next = 5;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(payload);\n case 5:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiCall);\n\n//# sourceURL=webpack://restaf/./sagas/apiCall.js?\n}");
1568
1568
 
1569
1569
  /***/ }),
1570
1570
 
@@ -1575,7 +1575,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1575
1575
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1576
1576
 
1577
1577
  "use strict";
1578
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _apiCall__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiCall */ \"./sagas/apiCall.js\");\n/*------------------------------------------------------------------------------------\r\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.\r\n ---------------------------------------------------------------------------------------*/\n\n\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(apiCallAction);\n\n\n\nfunction apiCallAction() {\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.takeEvery)([_actionTypes__WEBPACK_IMPORTED_MODULE_2__.ADD_SERVICE, _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_CALL], _apiCall__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiCallAction);\n\n//# sourceURL=webpack://restaf/./sagas/apiCallAction.js?\n}");
1578
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _apiCall__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiCall */ \"./sagas/apiCall.js\");\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(apiCallAction);\n\n\n\nfunction apiCallAction() {\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.takeEvery)([_actionTypes__WEBPACK_IMPORTED_MODULE_2__.ADD_SERVICE, _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_CALL], _apiCall__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiCallAction);\n\n//# sourceURL=webpack://restaf/./sagas/apiCallAction.js?\n}");
1579
1579
 
1580
1580
  /***/ }),
1581
1581
 
@@ -1586,7 +1586,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1586
1586
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1587
1587
 
1588
1588
  "use strict";
1589
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js\");\n/* harmony import */ var _store_selectLogonInfo__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../store/selectLogonInfo */ \"./store/selectLogonInfo.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _httpCall__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./httpCall */ \"./sagas/httpCall.js\");\n/*------------------------------------------------------------------------------------\r\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.\r\n ---------------------------------------------------------------------------------------*/\n\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(apiCallAllAction),\n _marked2 = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(yieldAll),\n _marked3 = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(setupService);\n\n\n\n\n\nfunction apiCallAllAction() {\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.takeEvery)(_actionTypes__WEBPACK_IMPORTED_MODULE_4__.API_CALL_PARALLEL, yieldAll);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\nfunction yieldAll(action) {\n var config, actionArray, i, l, result, r, _t, _t2;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n config = {};\n actionArray = action.actionArray;\n for (i = 0; i < actionArray.length; i++) {\n l = \"l\".concat(i);\n config[l] = (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.call)(setupService, actionArray[i]);\n }\n _context2.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.all)(config);\n case 1:\n result = _context2.sent;\n _t = _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().keys(result);\n case 2:\n if ((_t2 = _t()).done) {\n _context2.next = 4;\n break;\n }\n r = _t2.value;\n _context2.next = 3;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(result[r]);\n case 3:\n _context2.next = 2;\n break;\n case 4:\n case \"end\":\n return _context2.stop();\n }\n }, _marked2);\n}\nfunction setupService(action) {\n var config;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context3) {\n while (1) switch (_context3.prev = _context3.next) {\n case 0:\n config = _objectSpread({}, action);\n _context3.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(_store_selectLogonInfo__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n case 1:\n config.logonInfo = _context3.sent;\n _context3.next = 2;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)({\n type: config.serviceName + '_' + config.type + '_BEGIN',\n config: config\n });\n case 2:\n return _context3.abrupt(\"return\", config);\n case 3:\n case \"end\":\n return _context3.stop();\n }\n }, _marked3);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiCallAllAction);\n\n//# sourceURL=webpack://restaf/./sagas/apiCallAllAction.js?\n}");
1589
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js\");\n/* harmony import */ var _store_selectLogonInfo__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../store/selectLogonInfo */ \"./store/selectLogonInfo.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _httpCall__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./httpCall */ \"./sagas/httpCall.js\");\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(apiCallAllAction),\n _marked2 = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(yieldAll),\n _marked3 = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(setupService);\n\n\n\n\n\nfunction apiCallAllAction() {\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.takeEvery)(_actionTypes__WEBPACK_IMPORTED_MODULE_4__.API_CALL_PARALLEL, yieldAll);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\nfunction yieldAll(action) {\n var config, actionArray, i, l, result, r, _t, _t2;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n config = {};\n actionArray = action.actionArray;\n for (i = 0; i < actionArray.length; i++) {\n l = \"l\".concat(i);\n config[l] = (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.call)(setupService, actionArray[i]);\n }\n _context2.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.all)(config);\n case 1:\n result = _context2.sent;\n _t = _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().keys(result);\n case 2:\n if ((_t2 = _t()).done) {\n _context2.next = 4;\n break;\n }\n r = _t2.value;\n _context2.next = 3;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(result[r]);\n case 3:\n _context2.next = 2;\n break;\n case 4:\n case \"end\":\n return _context2.stop();\n }\n }, _marked2);\n}\nfunction setupService(action) {\n var config;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context3) {\n while (1) switch (_context3.prev = _context3.next) {\n case 0:\n config = _objectSpread({}, action);\n _context3.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(_store_selectLogonInfo__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n case 1:\n config.logonInfo = _context3.sent;\n _context3.next = 2;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)({\n type: config.serviceName + '_' + config.type + '_BEGIN',\n config: config\n });\n case 2:\n return _context3.abrupt(\"return\", config);\n case 3:\n case \"end\":\n return _context3.stop();\n }\n }, _marked3);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiCallAllAction);\n\n//# sourceURL=webpack://restaf/./sagas/apiCallAllAction.js?\n}");
1590
1590
 
1591
1591
  /***/ }),
1592
1592
 
@@ -1597,7 +1597,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1597
1597
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1598
1598
 
1599
1599
  "use strict";
1600
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js\");\n/* harmony import */ var _httpCallWait__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./httpCallWait */ \"./sagas/httpCallWait.js\");\n/* harmony import */ var _store_selectLogonInfo__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../store/selectLogonInfo */ \"./store/selectLogonInfo.js\");\n/*------------------------------------------------------------------------------------\r\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.\r\n ---------------------------------------------------------------------------------------*/\n\n\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(apiPoll);\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\n\n\nfunction apiPoll(action) {\n var config, payload;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n config = _objectSpread({}, action);\n payload = null;\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(_store_selectLogonInfo__WEBPACK_IMPORTED_MODULE_4__[\"default\"]);\n case 1:\n config.logonInfo = _context.sent;\n _context.next = 2;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)({\n type: config.serviceName + '_' + action.type + '_BEGIN',\n config: config\n });\n case 2:\n _context.next = 3;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.call)(_httpCallWait__WEBPACK_IMPORTED_MODULE_3__[\"default\"], config);\n case 3:\n payload = _context.sent;\n if (!config.delay) {\n _context.next = 4;\n break;\n }\n _context.next = 4;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.delay)(config.delay * 1000);\n case 4:\n if (payload === null) {\n _context.next = 2;\n break;\n }\n case 5:\n _context.next = 6;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(payload);\n case 6:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiPoll);\n\n//# sourceURL=webpack://restaf/./sagas/apiPoll.js?\n}");
1600
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js\");\n/* harmony import */ var _httpCallWait__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./httpCallWait */ \"./sagas/httpCallWait.js\");\n/* harmony import */ var _store_selectLogonInfo__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../store/selectLogonInfo */ \"./store/selectLogonInfo.js\");\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(apiPoll);\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\n\n\nfunction apiPoll(action) {\n var config, payload;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n config = _objectSpread({}, action);\n payload = null;\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(_store_selectLogonInfo__WEBPACK_IMPORTED_MODULE_4__[\"default\"]);\n case 1:\n config.logonInfo = _context.sent;\n _context.next = 2;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)({\n type: config.serviceName + '_' + action.type + '_BEGIN',\n config: config\n });\n case 2:\n _context.next = 3;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.call)(_httpCallWait__WEBPACK_IMPORTED_MODULE_3__[\"default\"], config);\n case 3:\n payload = _context.sent;\n if (!config.delay) {\n _context.next = 4;\n break;\n }\n _context.next = 4;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.delay)(config.delay * 1000);\n case 4:\n if (payload === null) {\n _context.next = 2;\n break;\n }\n case 5:\n _context.next = 6;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(payload);\n case 6:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiPoll);\n\n//# sourceURL=webpack://restaf/./sagas/apiPoll.js?\n}");
1601
1601
 
1602
1602
  /***/ }),
1603
1603
 
@@ -1608,7 +1608,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1608
1608
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1609
1609
 
1610
1610
  "use strict";
1611
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _apiPoll__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiPoll */ \"./sagas/apiPoll.js\");\n/*------------------------------------------------------------------------------------\r\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.\r\n ---------------------------------------------------------------------------------------*/\n\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(apiPollAction);\n\n\n\nfunction apiPollAction() {\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.takeEvery)([_actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_POLL], _apiPoll__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiPollAction);\n\n//# sourceURL=webpack://restaf/./sagas/apiPollAction.js?\n}");
1611
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _apiPoll__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiPoll */ \"./sagas/apiPoll.js\");\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(apiPollAction);\n\n\n\nfunction apiPollAction() {\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.takeEvery)([_actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_POLL], _apiPoll__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiPollAction);\n\n//# sourceURL=webpack://restaf/./sagas/apiPollAction.js?\n}");
1612
1612
 
1613
1613
  /***/ }),
1614
1614
 
@@ -1619,7 +1619,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1619
1619
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1620
1620
 
1621
1621
  "use strict";
1622
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*------------------------------------------------------------------------------------\r\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.\r\n ---------------------------------------------------------------------------------------*/\n\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(apiDataAction),\n _marked2 = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(appData);\n\n\n\n\n\nfunction apiDataAction() {\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.takeEvery)([_actionTypes__WEBPACK_IMPORTED_MODULE_2__.APP_DATA, _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_STATUS, _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_XSRF], appData);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\nfunction appData(action) {\n var newType, config, _t;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n _t = action.type;\n _context2.next = _t === _actionTypes__WEBPACK_IMPORTED_MODULE_2__.APP_DATA ? 1 : _t === _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_STATUS ? 2 : 3;\n break;\n case 1:\n newType = _actionTypes__WEBPACK_IMPORTED_MODULE_2__.APP_DATA_ROOT + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.APP_DATA_SETSTATE;\n return _context2.abrupt(\"continue\", 4);\n case 2:\n newType = _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_STATUS_ROOT + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_STATUS_SETSTATE;\n return _context2.abrupt(\"continue\", 4);\n case 3:\n newType = _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_XSRF_ROOT + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_XSRF_SETSTATE;\n return _context2.abrupt(\"continue\", 4);\n case 4:\n config = {\n type: newType,\n payload: action\n };\n _context2.next = 5;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.put)(config);\n case 5:\n case \"end\":\n return _context2.stop();\n }\n }, _marked2);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiDataAction);\n\n//# sourceURL=webpack://restaf/./sagas/appDataAction.js?\n}");
1622
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(apiDataAction),\n _marked2 = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(appData);\n\n\n\n\n\nfunction apiDataAction() {\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.takeEvery)([_actionTypes__WEBPACK_IMPORTED_MODULE_2__.APP_DATA, _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_STATUS, _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_XSRF], appData);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\nfunction appData(action) {\n var newType, config, _t;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n _t = action.type;\n _context2.next = _t === _actionTypes__WEBPACK_IMPORTED_MODULE_2__.APP_DATA ? 1 : _t === _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_STATUS ? 2 : 3;\n break;\n case 1:\n newType = _actionTypes__WEBPACK_IMPORTED_MODULE_2__.APP_DATA_ROOT + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.APP_DATA_SETSTATE;\n return _context2.abrupt(\"continue\", 4);\n case 2:\n newType = _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_STATUS_ROOT + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_STATUS_SETSTATE;\n return _context2.abrupt(\"continue\", 4);\n case 3:\n newType = _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_XSRF_ROOT + '_' + _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_XSRF_SETSTATE;\n return _context2.abrupt(\"continue\", 4);\n case 4:\n config = {\n type: newType,\n payload: action\n };\n _context2.next = 5;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.put)(config);\n case 5:\n case \"end\":\n return _context2.stop();\n }\n }, _marked2);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiDataAction);\n\n//# sourceURL=webpack://restaf/./sagas/appDataAction.js?\n}");
1623
1623
 
1624
1624
  /***/ }),
1625
1625
 
@@ -1630,7 +1630,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1630
1630
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1631
1631
 
1632
1632
  "use strict";
1633
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _serverCalls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../serverCalls */ \"./serverCalls/index.js\");\n/*------------------------------------------------------------------------------------\r\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.\r\n ---------------------------------------------------------------------------------------*/\n\n\n\nfunction httpCall(config) {\n if (config.logonInfo === null) {\n return httpDone({\n error: 'Please logon'\n }, config, true);\n } else {\n return (0,_serverCalls__WEBPACK_IMPORTED_MODULE_0__.request)(config).then(function (response) {\n return httpDone(response, config, false);\n }).catch(function (error) {\n return httpDone(error, config, true);\n });\n }\n}\nfunction httpDone(payload, config, error) {\n return {\n error: error,\n type: config.serviceName + '_' + config.type + '_COMPLETE',\n config: config,\n payload: payload\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (httpCall);\n\n//# sourceURL=webpack://restaf/./sagas/httpCall.js?\n}");
1633
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _serverCalls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../serverCalls */ \"./serverCalls/index.js\");\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n\n\nfunction httpCall(config) {\n if (config.logonInfo === null) {\n return httpDone({\n error: 'Please logon'\n }, config, true);\n } else {\n return (0,_serverCalls__WEBPACK_IMPORTED_MODULE_0__.request)(config).then(function (response) {\n return httpDone(response, config, false);\n }).catch(function (error) {\n return httpDone(error, config, true);\n });\n }\n}\nfunction httpDone(payload, config, error) {\n return {\n error: error,\n type: config.serviceName + '_' + config.type + '_COMPLETE',\n config: config,\n payload: payload\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (httpCall);\n\n//# sourceURL=webpack://restaf/./sagas/httpCall.js?\n}");
1634
1634
 
1635
1635
  /***/ }),
1636
1636
 
@@ -1641,7 +1641,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1641
1641
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1642
1642
 
1643
1643
  "use strict";
1644
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../../../node_modules/@babel/runtime/helpers/esm/typeof.js\");\n/* harmony import */ var _serverCalls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../serverCalls */ \"./serverCalls/index.js\");\n/*------------------------------------------------------------------------------------\r\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.\r\n ---------------------------------------------------------------------------------------*/\n\n\n\n\n\nfunction httpCallWait(config) {\n var states = ['running', 'pending'];\n var flag;\n return (0,_serverCalls__WEBPACK_IMPORTED_MODULE_1__.request)(config).then(function (response) {\n var eventHandler = function eventHandler() {\n flag = false;\n if (config.eventHandler) {\n var cstate = response.status === 304 ? 'running' : r;\n var r1 = config.eventHandler(cstate, config.jobContext);\n /* this code to maintain backward compatability */\n if (typeof r1 === 'boolean') {\n flag = r1;\n } else if (r1 !== cstate) {\n response.data.results = r1;\n flag = true;\n }\n }\n };\n var r = response.data.results;\n if ((0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(r) === 'object') {\n r = response.data.results.items.isIdle === true ? 'completed' : 'running';\n response.data.results.items = r;\n }\n eventHandler();\n if (response.status === 304 && flag === false) {\n return null;\n }\n if (states.indexOf(r) === -1 || flag === true) {\n return httpDone(response, config, false);\n } else {\n if (config.payload.headers != null && config.payload.headers['If-None-Match'] != null && response.headers.etag != null) {\n config.payload.headers['If-None-Match'] = response.headers.etag;\n }\n return null;\n }\n }).catch(function (error) {\n if (config.eventHandler) {\n flag = config.eventHandler('*SystemError', config.jobContext);\n }\n return httpDone(error, config, true);\n });\n}\nfunction httpDone(payload, config, error) {\n return {\n error: error,\n type: config.serviceName + '_' + config.type + '_COMPLETE',\n config: config,\n payload: payload\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (httpCallWait);\n\n//# sourceURL=webpack://restaf/./sagas/httpCallWait.js?\n}");
1644
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../../../node_modules/@babel/runtime/helpers/esm/typeof.js\");\n/* harmony import */ var _serverCalls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../serverCalls */ \"./serverCalls/index.js\");\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n\n\n\n\nfunction httpCallWait(config) {\n var states = ['running', 'pending'];\n var flag;\n return (0,_serverCalls__WEBPACK_IMPORTED_MODULE_1__.request)(config).then(function (response) {\n var eventHandler = function eventHandler() {\n flag = false;\n if (config.eventHandler) {\n var cstate = response.status === 304 ? 'running' : r;\n var r1 = config.eventHandler(cstate, config.jobContext);\n /* this code to maintain backward compatability */\n if (typeof r1 === 'boolean') {\n flag = r1;\n } else if (r1 !== cstate) {\n response.data.results = r1;\n flag = true;\n }\n }\n };\n var r = response.data.results;\n if ((0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(r) === 'object') {\n r = response.data.results.items.isIdle === true ? 'completed' : 'running';\n response.data.results.items = r;\n }\n eventHandler();\n if (response.status === 304 && flag === false) {\n return null;\n }\n if (states.indexOf(r) === -1 || flag === true) {\n return httpDone(response, config, false);\n } else {\n if (config.payload.headers != null && config.payload.headers['If-None-Match'] != null && response.headers.etag != null) {\n config.payload.headers['If-None-Match'] = response.headers.etag;\n }\n return null;\n }\n }).catch(function (error) {\n if (config.eventHandler) {\n flag = config.eventHandler('*SystemError', config.jobContext);\n }\n return httpDone(error, config, true);\n });\n}\nfunction httpDone(payload, config, error) {\n return {\n error: error,\n type: config.serviceName + '_' + config.type + '_COMPLETE',\n config: config,\n payload: payload\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (httpCallWait);\n\n//# sourceURL=webpack://restaf/./sagas/httpCallWait.js?\n}");
1645
1645
 
1646
1646
  /***/ }),
1647
1647
 
@@ -1652,7 +1652,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1652
1652
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1653
1653
 
1654
1654
  "use strict";
1655
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ \"./utils/index.js\");\n/*------------------------------------------------------------------------------------\r\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.\r\n ---------------------------------------------------------------------------------------*/\n\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(keepAliveAction),\n _marked2 = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(keepAlivei);\n\n\n\nfunction keepAliveAction() {\n var action;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.takeLatest)(_actionTypes__WEBPACK_IMPORTED_MODULE_2__.KEEP_ALIVE, keepAlivei);\n case 1:\n action = _context.sent;\n case 2:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\nfunction keepAlivei(payload) {\n var r;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n _context2.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.spawn)(test, payload);\n case 1:\n r = _context2.sent;\n return _context2.abrupt(\"return\", r);\n case 2:\n case \"end\":\n return _context2.stop();\n }\n }, _marked2);\n}\nfunction test(action) {\n var t = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.SASLogonOauthLink)('keepAlive');\n return t.keepAlive(action);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (keepAliveAction);\n\n//# sourceURL=webpack://restaf/./sagas/keepAliveAction.js?\n}");
1655
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ \"./utils/index.js\");\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(keepAliveAction),\n _marked2 = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(keepAlivei);\n\n\n\nfunction keepAliveAction() {\n var action;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.takeLatest)(_actionTypes__WEBPACK_IMPORTED_MODULE_2__.KEEP_ALIVE, keepAlivei);\n case 1:\n action = _context.sent;\n case 2:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\nfunction keepAlivei(payload) {\n var r;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n _context2.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.spawn)(test, payload);\n case 1:\n r = _context2.sent;\n return _context2.abrupt(\"return\", r);\n case 2:\n case \"end\":\n return _context2.stop();\n }\n }, _marked2);\n}\nfunction test(action) {\n var t = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.SASLogonOauthLink)('keepAlive');\n return t.keepAlive(action);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (keepAliveAction);\n\n//# sourceURL=webpack://restaf/./sagas/keepAliveAction.js?\n}");
1656
1656
 
1657
1657
  /***/ }),
1658
1658
 
@@ -1663,7 +1663,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1663
1663
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1664
1664
 
1665
1665
  "use strict";
1666
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js\");\n/* harmony import */ var _store_selectLogonInfo__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../store/selectLogonInfo */ \"./store/selectLogonInfo.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils */ \"./utils/index.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*------------------------------------------------------------------------------------\r\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.\r\n ---------------------------------------------------------------------------------------*/\n\n\n\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(logonAction);\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\n\n\n\nfunction logonAction() {\n var f, action, payload, config, _payload;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n f = true;\n case 1:\n if (!f) {\n _context.next = 11;\n break;\n }\n _context.next = 2;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.take)(_actionTypes__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGON);\n case 2:\n action = _context.sent;\n _context.next = 3;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)({\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_5__.BEGIN_LOGON\n });\n case 3:\n _context.next = 4;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.call)(sasLogon, action);\n case 4:\n payload = _context.sent;\n payload.keepAlive = action.payload.keepAlive == null ? null : action.payload.keepAlive;\n _context.next = 5;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(payload);\n case 5:\n if (!(payload.error === false)) {\n _context.next = 10;\n break;\n }\n _context.next = 6;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.take)(_actionTypes__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGOFF);\n case 6:\n action = _context.sent;\n _context.next = 7;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)({\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_5__.BEGIN_LOGOFF\n });\n case 7:\n config = _objectSpread({}, action);\n _context.next = 8;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(_store_selectLogonInfo__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n case 8:\n config.logonInfo = _context.sent;\n _context.next = 9;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.call)(sasLogoff, config);\n case 9:\n _payload = _context.sent;\n _context.next = 10;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_payload);\n case 10:\n _context.next = 1;\n break;\n case 11:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\nfunction sasLogon(action) {\n var config = _objectSpread({}, action.payload);\n if (config.authType === _actionTypes__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGON_SERVER || config.authType === _actionTypes__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGON_IMPLICIT) {\n return {\n type: config.authType,\n error: false,\n payload: {\n iconfig: config\n }\n };\n } else {\n var t = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.SASLogonOauthLink)(config.authType);\n config.link = t.link;\n return t.logon(config).then(function (response) {\n return {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGON_COMPLETE,\n error: false,\n payload: response\n };\n }).catch(function (error) {\n return {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGON_COMPLETE,\n error: true,\n payload: error\n };\n });\n }\n}\nfunction sasLogoff(config) {\n var t = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.SASLogoffOauthLink)();\n config.link = t.link;\n return t.logoff(config).then(function (response) {\n return {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGOFF_COMPLETE,\n error: false,\n payload: response\n };\n }).catch(function (error) {\n return {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGOFF_COMPLETE,\n error: true,\n payload: error\n };\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (logonAction);\n\n//# sourceURL=webpack://restaf/./sagas/logonAction.js?\n}");
1666
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js\");\n/* harmony import */ var _store_selectLogonInfo__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../store/selectLogonInfo */ \"./store/selectLogonInfo.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils */ \"./utils/index.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n\n\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(logonAction);\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\n\n\n\nfunction logonAction() {\n var f, action, payload, config, _payload;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n f = true;\n case 1:\n if (!f) {\n _context.next = 11;\n break;\n }\n _context.next = 2;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.take)(_actionTypes__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGON);\n case 2:\n action = _context.sent;\n _context.next = 3;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)({\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_5__.BEGIN_LOGON\n });\n case 3:\n _context.next = 4;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.call)(sasLogon, action);\n case 4:\n payload = _context.sent;\n payload.keepAlive = action.payload.keepAlive == null ? null : action.payload.keepAlive;\n _context.next = 5;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(payload);\n case 5:\n if (!(payload.error === false)) {\n _context.next = 10;\n break;\n }\n _context.next = 6;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.take)(_actionTypes__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGOFF);\n case 6:\n action = _context.sent;\n _context.next = 7;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)({\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_5__.BEGIN_LOGOFF\n });\n case 7:\n config = _objectSpread({}, action);\n _context.next = 8;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.select)(_store_selectLogonInfo__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n case 8:\n config.logonInfo = _context.sent;\n _context.next = 9;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.call)(sasLogoff, config);\n case 9:\n _payload = _context.sent;\n _context.next = 10;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_2__.put)(_payload);\n case 10:\n _context.next = 1;\n break;\n case 11:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\nfunction sasLogon(action) {\n var config = _objectSpread({}, action.payload);\n if (config.authType === _actionTypes__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGON_SERVER || config.authType === _actionTypes__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGON_IMPLICIT) {\n return {\n type: config.authType,\n error: false,\n payload: {\n iconfig: config\n }\n };\n } else {\n var t = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.SASLogonOauthLink)(config.authType);\n config.link = t.link;\n return t.logon(config).then(function (response) {\n return {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGON_COMPLETE,\n error: false,\n payload: response\n };\n }).catch(function (error) {\n return {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGON_COMPLETE,\n error: true,\n payload: error\n };\n });\n }\n}\nfunction sasLogoff(config) {\n var t = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.SASLogoffOauthLink)();\n config.link = t.link;\n return t.logoff(config).then(function (response) {\n return {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGOFF_COMPLETE,\n error: false,\n payload: response\n };\n }).catch(function (error) {\n return {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_5__.VIYA_LOGOFF_COMPLETE,\n error: true,\n payload: error\n };\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (logonAction);\n\n//# sourceURL=webpack://restaf/./sagas/logonAction.js?\n}");
1667
1667
 
1668
1668
  /***/ }),
1669
1669
 
@@ -1674,7 +1674,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1674
1674
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1675
1675
 
1676
1676
  "use strict";
1677
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js\");\n/* harmony import */ var _logonAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./logonAction */ \"./sagas/logonAction.js\");\n/* harmony import */ var _apiCallAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiCallAction */ \"./sagas/apiCallAction.js\");\n/* harmony import */ var _apiCallAllAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./apiCallAllAction */ \"./sagas/apiCallAllAction.js\");\n/* harmony import */ var _apiPollAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./apiPollAction */ \"./sagas/apiPollAction.js\");\n/* harmony import */ var _appDataAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./appDataAction */ \"./sagas/appDataAction.js\");\n/* harmony import */ var _keepAliveAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./keepAliveAction */ \"./sagas/keepAliveAction.js\");\n/*------------------------------------------------------------------------------------\r\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.\r\n ---------------------------------------------------------------------------------------*/\n\n\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(rootSaga);\n\n\n\n\n\n\n\nfunction rootSaga() {\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.all)([(0,_logonAction__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(), (0,_apiCallAction__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(), (0,_apiCallAllAction__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(), (0,_apiPollAction__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(), (0,_appDataAction__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(), (0,_keepAliveAction__WEBPACK_IMPORTED_MODULE_7__[\"default\"])()]);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (rootSaga);\n\n//# sourceURL=webpack://restaf/./sagas/rootSaga.js?\n}");
1677
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-saga/effects */ \"../../../node_modules/redux-saga/dist/redux-saga-effects-npm-proxy.esm.js\");\n/* harmony import */ var _logonAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./logonAction */ \"./sagas/logonAction.js\");\n/* harmony import */ var _apiCallAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiCallAction */ \"./sagas/apiCallAction.js\");\n/* harmony import */ var _apiCallAllAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./apiCallAllAction */ \"./sagas/apiCallAllAction.js\");\n/* harmony import */ var _apiPollAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./apiPollAction */ \"./sagas/apiPollAction.js\");\n/* harmony import */ var _appDataAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./appDataAction */ \"./sagas/appDataAction.js\");\n/* harmony import */ var _keepAliveAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./keepAliveAction */ \"./sagas/keepAliveAction.js\");\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n\n\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(rootSaga);\n\n\n\n\n\n\n\nfunction rootSaga() {\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n _context.next = 1;\n return (0,redux_saga_effects__WEBPACK_IMPORTED_MODULE_1__.all)([(0,_logonAction__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(), (0,_apiCallAction__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(), (0,_apiCallAllAction__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(), (0,_apiPollAction__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(), (0,_appDataAction__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(), (0,_keepAliveAction__WEBPACK_IMPORTED_MODULE_7__[\"default\"])()]);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _marked);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (rootSaga);\n\n//# sourceURL=webpack://restaf/./sagas/rootSaga.js?\n}");
1678
1678
 
1679
1679
  /***/ }),
1680
1680
 
@@ -1685,7 +1685,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1685
1685
  /***/ ((module) => {
1686
1686
 
1687
1687
  "use strict";
1688
- eval("{/*\r\n* Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.\r\n* SPDX-License-Identifier: Apache-2.0\r\n*/\n\n\nmodule.exports = function casSessionLinks(uri, urihttp, casHttp, server, casProxyFlag) {\n var href = casProxyFlag === true ? \"\".concat(uri, \"/actions\") : \"\".concat(urihttp, \"/actions\");\n var isIdle = casProxyFlag === true ? \"\".concat(uri, \"/isIdle\") : \"\".concat(urihttp, \"/isIdle\");\n var r = [{\n method: 'POST',\n href: href,\n rel: 'execute',\n uri: href,\n responseType: 'application/json',\n type: 'application/json',\n itemType: 'application/json',\n title: 'Run CAS Action',\n customHandling: 'casExecute',\n casHttp: casHttp,\n server: server,\n extended: true\n }, {\n method: 'GET',\n href: isIdle,\n rel: 'state',\n uri: isIdle,\n responseType: 'application/json',\n type: 'application/json',\n itemType: 'application/json',\n title: 'state',\n customHandling: 'casState',\n casHttp: casHttp,\n server: server,\n extended: true\n }];\n return r;\n};\n\n//# sourceURL=webpack://restaf/./serverCalls/casSessionLinks.js?\n}");
1688
+ eval("{/*\n* Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.\n* SPDX-License-Identifier: Apache-2.0\n*/\n\n\nmodule.exports = function casSessionLinks(uri, urihttp, casHttp, server, casProxyFlag) {\n var href = casProxyFlag === true ? \"\".concat(uri, \"/actions\") : \"\".concat(urihttp, \"/actions\");\n var isIdle = casProxyFlag === true ? \"\".concat(uri, \"/isIdle\") : \"\".concat(urihttp, \"/isIdle\");\n var r = [{\n method: 'POST',\n href: href,\n rel: 'execute',\n uri: href,\n responseType: 'application/json',\n type: 'application/json',\n itemType: 'application/json',\n title: 'Run CAS Action',\n customHandling: 'casExecute',\n casHttp: casHttp,\n server: server,\n extended: true\n }, {\n method: 'GET',\n href: isIdle,\n rel: 'state',\n uri: isIdle,\n responseType: 'application/json',\n type: 'application/json',\n itemType: 'application/json',\n title: 'state',\n customHandling: 'casState',\n casHttp: casHttp,\n server: server,\n extended: true\n }];\n return r;\n};\n\n//# sourceURL=webpack://restaf/./serverCalls/casSessionLinks.js?\n}");
1689
1689
 
1690
1690
  /***/ }),
1691
1691
 
@@ -1696,7 +1696,7 @@ eval("{/*\r\n* Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights
1696
1696
  /***/ ((module) => {
1697
1697
 
1698
1698
  "use strict";
1699
- eval("{/*\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.\r\n * SPDX-License-Identifier: Apache-2.0\r\n */\n\n\nmodule.exports = function fixImages(response) {\n if (response.data.results.hasOwnProperty(\"images\") === true) {\n var images = response.data.results.images;\n var items = Array.isArray(images) === true ? [].concat(images) : Object.assign({}, images);\n items[0].id = \"image\";\n response.data.results.items = items;\n delete response.data.results.images;\n }\n};\n\n//# sourceURL=webpack://restaf/./serverCalls/fixImages.js?\n}");
1699
+ eval("{/*\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n\n\nmodule.exports = function fixImages(response) {\n if (response.data.results.hasOwnProperty(\"images\") === true) {\n var images = response.data.results.images;\n var items = Array.isArray(images) === true ? [].concat(images) : Object.assign({}, images);\n items[0].id = \"image\";\n response.data.results.items = items;\n delete response.data.results.images;\n }\n};\n\n//# sourceURL=webpack://restaf/./serverCalls/fixImages.js?\n}");
1700
1700
 
1701
1701
  /***/ }),
1702
1702
 
@@ -1707,7 +1707,7 @@ eval("{/*\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Right
1707
1707
  /***/ ((module) => {
1708
1708
 
1709
1709
  "use strict";
1710
- eval("{/*\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.\r\n * SPDX-License-Identifier: Apache-2.0\r\n */\n\n\nmodule.exports = function fixMlPipelineAutomation(response) {\n // for reasons unknown the objects are \"frozen\" - so this ugly looking code\n try {\n var items = unfreeze(response.data.results.items);\n for (var i = 0; i < items.length; i++) {\n var links = unfreeze(items[i].links);\n if (links.findIndex(function (l) {\n return l.rel === 'championModel';\n }) === -1) {\n var c = items[i].championModel;\n if (c != null && c.links != null && c.links.length > 0) {\n var clinks = unfreeze(c.links);\n for (var j = 0; j < clinks.length; j++) {\n var l = Object.assign({}, clinks[j]);\n var h = l.href.split('?')[0];\n l.uri = h;\n l.href = h;\n l.type = 'application/json';\n if (l.rel === 'championModel' && l.method.toUpperCase() === 'GET') {\n l.type = 'application/vnd.sas.analytics.ml.pipeline.automation.project.champion.model';\n } else if (l.rel === 'championModel' && l.method.toUpperCase() === 'PUT') {\n l.responseType = '*/*';\n } else if (l.rel === 'scoreData') {\n l.responseType = 'application/json';\n l.type = 'application/vnd.sas.analytics.ml.pipeline.automation.score.data.input+json';\n l.responseType = 'application/vnd.sas.analytics.ml.pipeline.automation.score.data.output+json';\n }\n l.extended = true;\n links.push(l);\n }\n items[i].links = links;\n }\n }\n }\n response.data.results.items = items;\n } catch (err) {\n console.log(err);\n }\n};\nfunction unfreeze(l) {\n var newLink = [];\n for (var i = 0; i < l.length; i++) {\n var newObj = Object.assign({}, l[i]);\n newLink.push(newObj);\n }\n return newLink;\n}\n\n//# sourceURL=webpack://restaf/./serverCalls/fixMlPipelineAutomation.js?\n}");
1710
+ eval("{/*\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n\n\nmodule.exports = function fixMlPipelineAutomation(response) {\n // for reasons unknown the objects are \"frozen\" - so this ugly looking code\n try {\n var items = unfreeze(response.data.results.items);\n for (var i = 0; i < items.length; i++) {\n var links = unfreeze(items[i].links);\n if (links.findIndex(function (l) {\n return l.rel === 'championModel';\n }) === -1) {\n var c = items[i].championModel;\n if (c != null && c.links != null && c.links.length > 0) {\n var clinks = unfreeze(c.links);\n for (var j = 0; j < clinks.length; j++) {\n var l = Object.assign({}, clinks[j]);\n var h = l.href.split('?')[0];\n l.uri = h;\n l.href = h;\n l.type = 'application/json';\n if (l.rel === 'championModel' && l.method.toUpperCase() === 'GET') {\n l.type = 'application/vnd.sas.analytics.ml.pipeline.automation.project.champion.model';\n } else if (l.rel === 'championModel' && l.method.toUpperCase() === 'PUT') {\n l.responseType = '*/*';\n } else if (l.rel === 'scoreData') {\n l.responseType = 'application/json';\n l.type = 'application/vnd.sas.analytics.ml.pipeline.automation.score.data.input+json';\n l.responseType = 'application/vnd.sas.analytics.ml.pipeline.automation.score.data.output+json';\n }\n l.extended = true;\n links.push(l);\n }\n items[i].links = links;\n }\n }\n }\n response.data.results.items = items;\n } catch (err) {\n console.log(err);\n }\n};\nfunction unfreeze(l) {\n var newLink = [];\n for (var i = 0; i < l.length; i++) {\n var newObj = Object.assign({}, l[i]);\n newLink.push(newObj);\n }\n return newLink;\n}\n\n//# sourceURL=webpack://restaf/./serverCalls/fixMlPipelineAutomation.js?\n}");
1711
1711
 
1712
1712
  /***/ }),
1713
1713
 
@@ -1718,7 +1718,7 @@ eval("{/*\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Right
1718
1718
  /***/ ((module) => {
1719
1719
 
1720
1720
  "use strict";
1721
- eval("{/*\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.\r\n * SPDX-License-Identifier: Apache-2.0\r\n */\n\n\nmodule.exports = function fixReports(response) {\n var items = response.data.results.items;\n for (var i = 0; i < items.length; i++) {\n var reportUri = \"/SASReportViewer/?reportUri=/reports/reports/\".concat(items[i].id);\n var l = {\n method: \"GET\",\n href: reportUri,\n rel: \"viewer\",\n uri: reportUri,\n type: \"text/html\",\n itemType: \"text/html\",\n title: \"Report Viewer\",\n extended: true\n };\n items[i].links.push(l);\n }\n};\n\n//# sourceURL=webpack://restaf/./serverCalls/fixReports.js?\n}");
1721
+ eval("{/*\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n\n\nmodule.exports = function fixReports(response) {\n var items = response.data.results.items;\n for (var i = 0; i < items.length; i++) {\n var reportUri = \"/SASReportViewer/?reportUri=/reports/reports/\".concat(items[i].id);\n var l = {\n method: \"GET\",\n href: reportUri,\n rel: \"viewer\",\n uri: reportUri,\n type: \"text/html\",\n itemType: \"text/html\",\n title: \"Report Viewer\",\n extended: true\n };\n items[i].links.push(l);\n }\n};\n\n//# sourceURL=webpack://restaf/./serverCalls/fixReports.js?\n}");
1722
1722
 
1723
1723
  /***/ }),
1724
1724
 
@@ -1729,7 +1729,7 @@ eval("{/*\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Right
1729
1729
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1730
1730
 
1731
1731
  "use strict";
1732
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _fixImages__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./fixImages */ \"./serverCalls/fixImages.js\");\n/* harmony import */ var _fixImages__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_fixImages__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _fixReports__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fixReports */ \"./serverCalls/fixReports.js\");\n/* harmony import */ var _fixReports__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_fixReports__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _casSessionLinks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./casSessionLinks */ \"./serverCalls/casSessionLinks.js\");\n/* harmony import */ var _casSessionLinks__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_casSessionLinks__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _reduceCasResults__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./reduceCasResults */ \"./serverCalls/reduceCasResults.js\");\n/* harmony import */ var _reduceCasResults__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_reduceCasResults__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _fixMlPipelineAutomation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./fixMlPipelineAutomation */ \"./serverCalls/fixMlPipelineAutomation.js\");\n/* harmony import */ var _fixMlPipelineAutomation__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fixMlPipelineAutomation__WEBPACK_IMPORTED_MODULE_4__);\n/*------------------------------------------------------------------------------------\r\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.\r\n ---------------------------------------------------------------------------------------*/\n\n\n// let fixImages = require( './fixImages' );\n// let fixReports = require( './fixReports' );\n// let casSessionLinks = require( './casSessionLinks' );\n// let reduceCasResults = require( './reduceCasResults' );\n// let fixMlPipelineAutomation = require( './fixMlPipelineAutomation' );\n\n\n\n\n\nfunction fixResponse(response) {\n //\n // Ensure all header keys are lowercase\n //\n\n var headers = {};\n for (var k in response.headers) {\n //noinspection JSUnfilteredForInLoop\n var k1 = k.toLowerCase();\n //noinspection JSUnfilteredForInLoop\n headers[k1] = response.headers[k];\n }\n headers['tkhttp-id'] = null;\n var cookieValue = null;\n try {\n var _w = window;\n cookieValue = document.cookie.split(';').find(function (cookie) {\n return cookie.includes('tkhttp-id');\n });\n } catch (e) {\n if (headers['set-cookie'] != null) {\n cookieValue = response.headers['set-cookie'].find(function (cookie) {\n return cookie.includes('tkhttp-id');\n });\n }\n }\n headers['tkhttp-id'] = cookieValue != null ? cookieValue.split(';')[0].split('=')[1] : null;\n response.headers = headers;\n var cType = response.headers['content-type'];\n if (cType == null || typeof response.data.results === 'string') {\n return response;\n }\n\n // let contentType = cType.split(';') [0];\n var iLink = response.data.iconfig.link;\n fixCas(iLink, response);\n if (iLink.href.indexOf(\"reportImages/jobs\") > 0) {\n _fixImages__WEBPACK_IMPORTED_MODULE_0___default()(response);\n }\n if (iLink.href === \"/reports/reports\" && iLink.method === \"GET\") {\n _fixReports__WEBPACK_IMPORTED_MODULE_1___default()(response);\n }\n var il = iLink.href.split('?')[0];\n if (il === \"/mlPipelineAutomation/projects\" && iLink.method === \"GET\") {\n _fixMlPipelineAutomation__WEBPACK_IMPORTED_MODULE_4___default()(response);\n }\n return response;\n}\n\n// Plan:\n// step 1: propogate server name and cashttp info\n\nfunction fixCas(iLink, response) {\n // special handling for cas\n var casProxyFlag = false;\n if (response.data.hasOwnProperty('iconfig')) {\n if (response.data.iconfig.storeConfig != null) {\n casProxyFlag = response.data.iconfig.storeConfig.casProxy;\n }\n }\n\n // do a refresh - mainly for reattaching to a cas session\n\n if (iLink.rel === 'self' && iLink.type === 'application/vnd.sas.cas.session.summary' || iLink.rel === 'createSession' && iLink.responseType === 'application/vnd.sas.cas.session') {\n response.data.results.links = response.data.results.links.concat(fixCasSession(iLink, response.data.results, casProxyFlag));\n response.data.results.name2 = response.data.results.name.split(':')[0];\n }\n if (iLink.hasOwnProperty('itemType') && iLink.itemType === 'application/vnd.sas.cas.session.summary') {\n var items = response.data.results.items;\n var pre = \"/\".concat(iLink.casHttp, \"/cas/sessions\");\n for (var i = 0; i < items.length; i++) {\n var item = items[i];\n var uri = \"/casProxy/servers/\".concat(iLink.server, \"/cas/sessions/\").concat(item.id);\n var urihttp = \"\".concat(pre, \"/\").concat(item.id);\n item.links = item.links.map(function (l) {\n l.casHttp = iLink.casHttp;\n l.server = iLink.server;\n return l;\n });\n item.links = item.links.concat(_casSessionLinks__WEBPACK_IMPORTED_MODULE_2___default()(uri, urihttp, iLink.casHttp, iLink.server, casProxyFlag));\n }\n }\n if (iLink.hasOwnProperty('customHandling')) {\n response.data.results = _reduceCasResults__WEBPACK_IMPORTED_MODULE_3___default()(response.data.results);\n response.data.results = {\n items: Object.assign({}, response.data.results)\n };\n response.data.results.customHandling = iLink.customHandling;\n }\n\n //TBD: This could probbably be removed due to enhancements to casManagement\n if ((iLink.href === '/casManagement/' || iLink.href === '/casManagement') && iLink.method === 'GET') {\n response.data.results.links = response.data.results.links.map(function (l) {\n if (l.rel === 'collection') {\n l.title = 'servers';\n l.rel = 'servers';\n l.patch = 'cas';\n }\n return l;\n });\n }\n\n // A seperate loop in case casManagement fixes the issue\n if (iLink.hasOwnProperty('patch') && iLink.rel === 'servers') {\n var _items = response.data.results.items;\n var _loop = function _loop() {\n var item = _items[_i];\n var name = item.name;\n var ll = item.links.map(function (l) {\n l.casHttp = \"\".concat(name, \"-http\"); /* save the http info to propogate to sessions */\n l.server = name;\n return l;\n });\n item.links = ll;\n };\n for (var _i = 0; _i < _items.length; _i++) {\n _loop();\n }\n }\n}\nfunction fixCasSession(iLink, results, casProxyFlag) {\n // proprogate casHttp\n results.links = results.links.map(function (l) {\n l.casHttp = iLink.casHttp;\n l.server = iLink.server;\n return l;\n });\n return sessionLinks(iLink, results.id, casProxyFlag).concat(results.links);\n}\nfunction sessionLinks(iLink, sessionId, casProxyFlag) {\n var uri = \"/casProxy/servers/\".concat(iLink.server, \"/cas/sessions/\").concat(sessionId);\n var urihttp = \"/\".concat(iLink.casHttp, \"/cas/sessions/\").concat(sessionId);\n // propgate server name also\n return _casSessionLinks__WEBPACK_IMPORTED_MODULE_2___default()(uri, urihttp, iLink.casHttp, iLink.server, casProxyFlag);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (fixResponse);\n\n//# sourceURL=webpack://restaf/./serverCalls/fixResponse.js?\n}");
1732
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _fixImages__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./fixImages */ \"./serverCalls/fixImages.js\");\n/* harmony import */ var _fixImages__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_fixImages__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _fixReports__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fixReports */ \"./serverCalls/fixReports.js\");\n/* harmony import */ var _fixReports__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_fixReports__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _casSessionLinks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./casSessionLinks */ \"./serverCalls/casSessionLinks.js\");\n/* harmony import */ var _casSessionLinks__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_casSessionLinks__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _reduceCasResults__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./reduceCasResults */ \"./serverCalls/reduceCasResults.js\");\n/* harmony import */ var _reduceCasResults__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_reduceCasResults__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _fixMlPipelineAutomation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./fixMlPipelineAutomation */ \"./serverCalls/fixMlPipelineAutomation.js\");\n/* harmony import */ var _fixMlPipelineAutomation__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fixMlPipelineAutomation__WEBPACK_IMPORTED_MODULE_4__);\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n\n// let fixImages = require( './fixImages' );\n// let fixReports = require( './fixReports' );\n// let casSessionLinks = require( './casSessionLinks' );\n// let reduceCasResults = require( './reduceCasResults' );\n// let fixMlPipelineAutomation = require( './fixMlPipelineAutomation' );\n\n\n\n\n\nfunction fixResponse(response) {\n //\n // Ensure all header keys are lowercase\n //\n\n var headers = {};\n for (var k in response.headers) {\n //noinspection JSUnfilteredForInLoop\n var k1 = k.toLowerCase();\n //noinspection JSUnfilteredForInLoop\n headers[k1] = response.headers[k];\n }\n headers['tkhttp-id'] = null;\n var cookieValue = null;\n try {\n var _w = window;\n cookieValue = document.cookie.split(';').find(function (cookie) {\n return cookie.includes('tkhttp-id');\n });\n } catch (e) {\n if (headers['set-cookie'] != null) {\n cookieValue = response.headers['set-cookie'].find(function (cookie) {\n return cookie.includes('tkhttp-id');\n });\n }\n }\n headers['tkhttp-id'] = cookieValue != null ? cookieValue.split(';')[0].split('=')[1] : null;\n response.headers = headers;\n var cType = response.headers['content-type'];\n if (cType == null || typeof response.data.results === 'string') {\n return response;\n }\n\n // let contentType = cType.split(';') [0];\n var iLink = response.data.iconfig.link;\n fixCas(iLink, response);\n if (iLink.href.indexOf(\"reportImages/jobs\") > 0) {\n _fixImages__WEBPACK_IMPORTED_MODULE_0___default()(response);\n }\n if (iLink.href === \"/reports/reports\" && iLink.method === \"GET\") {\n _fixReports__WEBPACK_IMPORTED_MODULE_1___default()(response);\n }\n var il = iLink.href.split('?')[0];\n if (il === \"/mlPipelineAutomation/projects\" && iLink.method === \"GET\") {\n _fixMlPipelineAutomation__WEBPACK_IMPORTED_MODULE_4___default()(response);\n }\n return response;\n}\n\n// Plan:\n// step 1: propogate server name and cashttp info\n\nfunction fixCas(iLink, response) {\n // special handling for cas\n var casProxyFlag = false;\n if (response.data.hasOwnProperty('iconfig')) {\n if (response.data.iconfig.storeConfig != null) {\n casProxyFlag = response.data.iconfig.storeConfig.casProxy;\n }\n }\n\n // do a refresh - mainly for reattaching to a cas session\n\n if (iLink.rel === 'self' && iLink.type === 'application/vnd.sas.cas.session.summary' || iLink.rel === 'createSession' && iLink.responseType === 'application/vnd.sas.cas.session') {\n response.data.results.links = response.data.results.links.concat(fixCasSession(iLink, response.data.results, casProxyFlag));\n response.data.results.name2 = response.data.results.name.split(':')[0];\n }\n if (iLink.hasOwnProperty('itemType') && iLink.itemType === 'application/vnd.sas.cas.session.summary') {\n var items = response.data.results.items;\n var pre = \"/\".concat(iLink.casHttp, \"/cas/sessions\");\n for (var i = 0; i < items.length; i++) {\n var item = items[i];\n var uri = \"/casProxy/servers/\".concat(iLink.server, \"/cas/sessions/\").concat(item.id);\n var urihttp = \"\".concat(pre, \"/\").concat(item.id);\n item.links = item.links.map(function (l) {\n l.casHttp = iLink.casHttp;\n l.server = iLink.server;\n return l;\n });\n item.links = item.links.concat(_casSessionLinks__WEBPACK_IMPORTED_MODULE_2___default()(uri, urihttp, iLink.casHttp, iLink.server, casProxyFlag));\n }\n }\n if (iLink.hasOwnProperty('customHandling')) {\n response.data.results = _reduceCasResults__WEBPACK_IMPORTED_MODULE_3___default()(response.data.results);\n response.data.results = {\n items: Object.assign({}, response.data.results)\n };\n response.data.results.customHandling = iLink.customHandling;\n }\n\n //TBD: This could probbably be removed due to enhancements to casManagement\n if ((iLink.href === '/casManagement/' || iLink.href === '/casManagement') && iLink.method === 'GET') {\n response.data.results.links = response.data.results.links.map(function (l) {\n if (l.rel === 'collection') {\n l.title = 'servers';\n l.rel = 'servers';\n l.patch = 'cas';\n }\n return l;\n });\n }\n\n // A seperate loop in case casManagement fixes the issue\n if (iLink.hasOwnProperty('patch') && iLink.rel === 'servers') {\n var _items = response.data.results.items;\n var _loop = function _loop() {\n var item = _items[_i];\n var name = item.name;\n var ll = item.links.map(function (l) {\n l.casHttp = \"\".concat(name, \"-http\"); /* save the http info to propogate to sessions */\n l.server = name;\n return l;\n });\n item.links = ll;\n };\n for (var _i = 0; _i < _items.length; _i++) {\n _loop();\n }\n }\n}\nfunction fixCasSession(iLink, results, casProxyFlag) {\n // proprogate casHttp\n results.links = results.links.map(function (l) {\n l.casHttp = iLink.casHttp;\n l.server = iLink.server;\n return l;\n });\n return sessionLinks(iLink, results.id, casProxyFlag).concat(results.links);\n}\nfunction sessionLinks(iLink, sessionId, casProxyFlag) {\n var uri = \"/casProxy/servers/\".concat(iLink.server, \"/cas/sessions/\").concat(sessionId);\n var urihttp = \"/\".concat(iLink.casHttp, \"/cas/sessions/\").concat(sessionId);\n // propgate server name also\n return _casSessionLinks__WEBPACK_IMPORTED_MODULE_2___default()(uri, urihttp, iLink.casHttp, iLink.server, casProxyFlag);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (fixResponse);\n\n//# sourceURL=webpack://restaf/./serverCalls/fixResponse.js?\n}");
1733
1733
 
1734
1734
  /***/ }),
1735
1735
 
@@ -1740,7 +1740,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1740
1740
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1741
1741
 
1742
1742
  "use strict";
1743
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ keepAlive: () => (/* binding */ keepAlive),\n/* harmony export */ request: () => (/* binding */ request),\n/* harmony export */ trustedGrant: () => (/* binding */ trustedGrant)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../../../node_modules/@babel/runtime/helpers/esm/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! axios */ \"../../../node_modules/axios/lib/axios.js\");\n/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! qs */ \"../../../node_modules/qs/lib/index.js\");\n/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _fixResponse__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./fixResponse */ \"./serverCalls/fixResponse.js\");\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n/* eslint-disable no-prototype-builtins */\n/*------------------------------------------------------------------------------------\r\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.\r\n ---------------------------------------------------------------------------------------*/\n\n\n\n\nvar Https = null;\nif (false) // removed by dead control flow\n{}\n\n// axios.defaults.withCredentials = true\naxios__WEBPACK_IMPORTED_MODULE_2__[\"default\"].interceptors.response.use(function (response) {\n return response;\n}, function (error) {\n return Promise.reject(error);\n});\n\n/* X-Uaa-Csrf */\nfunction trustedGrant(iconfig) {\n var link = iconfig.link;\n var auth1 = Buffer.from(iconfig.clientID + \":\" + iconfig.clientSecret).toString(\"base64\");\n debugger;\n auth1 = \"Basic \" + auth1;\n var baseUrl = patchURL4ns(iconfig, link.href);\n var config = {\n method: link.method,\n baseURL: baseUrl,\n url: link.href,\n /*iconfig.host + link.href,*/\n\n headers: {\n Accept: link.responseType,\n \"Content-Type\": link.type /* Axios seems to be case sensitive */,\n Authorization: auth1\n },\n withCredentials: false,\n data: {\n grant_type: \"password\",\n username: iconfig.user,\n password: iconfig.password\n },\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n transformResponse: function transformResponse(data) {\n return data;\n },\n transformRequest: function transformRequest(data) {\n return qs__WEBPACK_IMPORTED_MODULE_3___default().stringify(data);\n }\n };\n var storeConfig = {\n protocol: 'https://',\n sslOption: {}\n };\n //TBD: Need to update the whole flow to be consistent with the storeConfig\n return makeCall(config, iconfig, config);\n}\nfunction request(iconfig) {\n \"use strict\";\n\n var link = iconfig.link,\n logonInfo = iconfig.logonInfo;\n var iLink = _objectSpread({}, link);\n var payload = iconfig.hasOwnProperty(\"payload\") ? iconfig.payload : null;\n var iqs = null;\n var idata = null;\n var iheaders = null;\n var ixsrf = null;\n var casAction = null;\n debugger;\n if (payload !== null) {\n casAction = hasItem(payload, \"action\");\n iqs = hasItem(payload, \"qs\");\n idata = hasItem(payload, \"data\");\n iheaders = hasItem(payload, \"headers\");\n ixsrf = hasItem(payload, \"xsrf\");\n }\n var baseUrl = patchURL4ns(logonInfo, iLink.href);\n // let url = `${l}${iLink.href}`;\n\n // handle casaction upload\n casAction = casAction != null ? casAction.toLowerCase() : null;\n var url = casAction !== null ? \"\".concat(iLink.href, \"/\").concat(casAction) : \"\".concat(iLink.href);\n if (iLink.hasOwnProperty(\"customHandling\") && casAction !== null) {\n // casAction = casAction.toLowerCase();\n if (casAction === \"table.upload\") {\n iLink.method = \"PUT\";\n iLink.type = \"application/octet-stream\";\n iLink.responseType = \"application/json\";\n }\n }\n var config = {\n method: iLink.method,\n baseURL: baseUrl,\n url: url,\n transformResponse: function transformResponse(data) {\n return data;\n },\n validateStatus: function validateStatus(status) {\n /* 304 for state calls */\n debugger;\n return status === 302 || status === 304 || status >= 200 && status < 300;\n }\n };\n config.headers = {};\n if (logonInfo.token !== null) {\n config.headers['Authorization'] = logonInfo.tokenType + \" \" + logonInfo.token;\n } else {\n config.withCredentials = iconfig.withCredentials == null ? true : iconfig.withCredentials;\n }\n var type = fullType(iLink.type);\n if (iLink.hasOwnProperty(\"responseType\")) {\n if (type !== null) {\n config.headers[\"Content-Type\"] = type;\n }\n config.headers.Accept = fullType(iLink.responseType);\n } else if (type !== null) {\n config.headers.Accept = type;\n if (iLink.method === \"PUT\" || iLink.method === \"POST\" || iLink.method === \"PATCH\") {\n config.headers[\"Content-Type\"] = type;\n }\n }\n if (iheaders !== null) {\n for (var ih in iheaders) {\n //noinspection JSUnfilteredForInLoop\n if (ih.toLowerCase() === \"json-parameters\") {\n //noinspection JSUnfilteredForInLoop\n config.headers[ih] = (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(iheaders[ih]) === \"object\" ? JSON.stringify(iheaders[ih]) : iheaders[ih];\n } else {\n //noinspection JSUnfilteredForInLoop\n config.headers[ih] = iheaders[ih];\n }\n }\n }\n if (ixsrf !== null) {\n /* TBD: fix parallel calls to get of this conditional */\n var xsrfHeaderName = ixsrf[\"x-csrf-header\"];\n if (xsrfHeaderName != null) {\n config.xsrfCookieName = null;\n config.xsrfHeaderName = xsrfHeaderName;\n // https://github.com/axios/axios/issues/2024\n config.headers[xsrfHeaderName] = ixsrf[xsrfHeaderName];\n }\n if (ixsrf[\"tkhttp-id\"] != null) {\n config.headers[\"tkhttp-id\"] = ixsrf[\"tkhttp-id\"];\n }\n } else {\n if (config.type === 'ADD_SERVICE') {\n config.xsrfHeaderName = 'X_CSRF_TOKEN';\n config.headers['X-CSRF-TOKEN'] = \"Fetch\";\n }\n }\n if (iqs !== null) {\n config.params = _objectSpread({}, iqs);\n }\n config.data = idata === null ? {} : idata;\n config.maxContentLength = 2 * 10063256;\n // let httpOptions = (iconfig.storeConfig.config != null ? iconfig.storeConfig.config.httpOptions : null);\n\n /*\r\n let httpOptions = iconfig.storeConfig.httpOptions;\r\n if (httpOptions != null) {\r\n for (let k in httpOptions) {\r\n config[k] = httpOptions[k];\r\n }\r\n }\r\n */\n setupProxy(iconfig, config);\n return makeCall(config, iconfig, logonInfo);\n}\n// setup if using reverse proxy server\nfunction setupProxy(iconfig, config) {\n var options = iconfig.logonInfo.options;\n if (options != null && options.proxyServer != null) {\n var proxy = options.proxy;\n if (proxy.pathname != null && proxy.pathname.trim().length > 0) {\n config.url = \"\".concat(proxy.pathname).concat(config.url); //prepend url with proxy path\n }\n config.baseURL = \"\".concat(proxy.protocol, \"//\").concat(proxy.host); //override base url\n }\n}\n// patch the url for namespace - useful for k8s to make calls into another namespace\nfunction patchURL4ns(logInfo, link) {\n var host = logInfo.host;\n if (logInfo.options != null && logInfo.options.ns != null) {\n var service = link.split(\"/\")[1];\n host = \"\".concat(logInfo.protocol).concat(service, \".{logInfo.options.ns}.svc.cluster.local\");\n }\n return host;\n}\nfunction makeCall(config, iconfig, storeConfig) {\n if (storeConfig.protocol === \"https://\" && config.agent == null) {\n var opts = iconfig.storeConfig.httpsOptions != null ? iconfig.storeConfig.httpsOptions : {};\n if (Https !== null) {\n var agent = new Https.Agent(opts);\n config.httpsAgent = agent;\n console.log('using https agent');\n }\n }\n return new Promise(function (resolve, reject) {\n (0,axios__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(config).then(function (response) {\n parseJSON(response.data).then(function (data) {\n iconfig.data = null; /* get rid of the payload*/\n response.data = {\n results: data,\n iconfig: Object.assign({}, iconfig)\n };\n if (data.hasOwnProperty(\"errorCode\")) {\n //noinspection JSUnresolvedVariable\n response.status = response.data.results.httpStatusCode;\n response.statusText = \"errorCode: \".concat(response.data.results.errorCode);\n reject({\n response: response\n });\n } else {\n resolve((0,_fixResponse__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(response));\n }\n }).catch(function () {\n iconfig.data = null;\n response.data = {\n results: response.data,\n iconfig: Object.assign({}, iconfig)\n };\n resolve((0,_fixResponse__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(response));\n });\n }).catch(function (error) {\n reject(error);\n });\n });\n}\nfunction parseJSON(data) {\n //noinspection JSUnusedLocalSymbols\n return new Promise(function (resolve, reject) {\n if ((0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(data) === \"object\") {\n resolve(data);\n } else {\n var temp = data.replace(/\\r?\\n|\\r/g, \" \");\n try {\n var odata = JSON.parse(temp);\n resolve(odata);\n } catch (err) {\n resolve(data);\n }\n }\n });\n}\nfunction hasItem(payload, name) {\n for (var _i = 0, _Object$keys = Object.keys(payload); _i < _Object$keys.length; _i++) {\n var k = _Object$keys[_i];\n if (k.toUpperCase() === name.toUpperCase()) {\n return payload[k];\n }\n }\n return null;\n}\nfunction fullType(type) {\n var ntype = type;\n if (ntype === undefined || ntype === null) {\n ntype = null;\n } else {\n if (ntype.indexOf(\"application/vnd\") !== -1) {\n if (ntype.indexOf(\"+json\") === -1) {\n ntype = ntype + \"+json\";\n }\n }\n }\n return ntype;\n}\n\n// Code below is for experimenting.\n\nfunction keepAlive(action) {\n return (0,axios__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(action.payload);\n}\n\n\n//# sourceURL=webpack://restaf/./serverCalls/index.js?\n}");
1743
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ keepAlive: () => (/* binding */ keepAlive),\n/* harmony export */ request: () => (/* binding */ request),\n/* harmony export */ trustedGrant: () => (/* binding */ trustedGrant)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../../../node_modules/@babel/runtime/helpers/esm/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! axios */ \"../../../node_modules/axios/lib/axios.js\");\n/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! qs */ \"../../../node_modules/qs/lib/index.js\");\n/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _fixResponse__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./fixResponse */ \"./serverCalls/fixResponse.js\");\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n/* eslint-disable no-prototype-builtins */\n/*------------------------------------------------------------------------------------\n Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ---------------------------------------------------------------------------------------*/\n\n\n\n\nvar Https = null;\nif (false) // removed by dead control flow\n{}\n\n// axios.defaults.withCredentials = true\naxios__WEBPACK_IMPORTED_MODULE_2__[\"default\"].interceptors.response.use(function (response) {\n return response;\n}, function (error) {\n return Promise.reject(error);\n});\n\n/* X-Uaa-Csrf */\nfunction trustedGrant(iconfig) {\n var link = iconfig.link;\n var auth1 = Buffer.from(iconfig.clientID + \":\" + iconfig.clientSecret).toString(\"base64\");\n auth1 = \"Basic \" + auth1;\n var baseUrl = patchURL4ns(iconfig, link.href);\n var config = {\n method: link.method,\n baseURL: baseUrl,\n url: link.href,\n /*iconfig.host + link.href,*/\n\n headers: {\n Accept: link.responseType,\n \"Content-Type\": link.type /* Axios seems to be case sensitive */,\n Authorization: auth1\n },\n withCredentials: false,\n data: {\n grant_type: \"password\",\n username: iconfig.user,\n password: iconfig.password\n },\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n transformResponse: function transformResponse(data) {\n return data;\n },\n transformRequest: function transformRequest(data) {\n return qs__WEBPACK_IMPORTED_MODULE_3___default().stringify(data);\n }\n };\n var storeConfig = {\n protocol: 'https://',\n sslOption: {}\n };\n //TBD: Need to update the whole flow to be consistent with the storeConfig\n return makeCall(config, iconfig, config);\n}\nfunction request(iconfig) {\n \"use strict\";\n\n var link = iconfig.link,\n logonInfo = iconfig.logonInfo;\n var iLink = _objectSpread({}, link);\n var payload = iconfig.hasOwnProperty(\"payload\") ? iconfig.payload : null;\n var iqs = null;\n var idata = null;\n var iheaders = null;\n var ixsrf = null;\n var casAction = null;\n if (payload !== null) {\n casAction = hasItem(payload, \"action\");\n iqs = hasItem(payload, \"qs\");\n idata = hasItem(payload, \"data\");\n iheaders = hasItem(payload, \"headers\");\n ixsrf = hasItem(payload, \"xsrf\");\n }\n var baseUrl = patchURL4ns(logonInfo, iLink.href);\n // let url = `${l}${iLink.href}`;\n\n // handle casaction upload\n casAction = casAction != null ? casAction.toLowerCase() : null;\n var url = casAction !== null ? \"\".concat(iLink.href, \"/\").concat(casAction) : \"\".concat(iLink.href);\n if (iLink.hasOwnProperty(\"customHandling\") && casAction !== null) {\n // casAction = casAction.toLowerCase();\n if (casAction === \"table.upload\") {\n iLink.method = \"PUT\";\n iLink.type = \"application/octet-stream\";\n iLink.responseType = \"application/json\";\n }\n }\n var config = {\n method: iLink.method,\n baseURL: baseUrl,\n url: url,\n transformResponse: function transformResponse(data) {\n return data;\n },\n validateStatus: function validateStatus(status) {\n /* 304 for state calls */\n\n return status === 302 || status === 304 || status >= 200 && status < 300;\n }\n };\n config.headers = {};\n if (logonInfo.token !== null) {\n config.headers['Authorization'] = logonInfo.tokenType + \" \" + logonInfo.token;\n } else {\n config.withCredentials = iconfig.withCredentials == null ? true : iconfig.withCredentials;\n }\n var type = fullType(iLink.type);\n if (iLink.hasOwnProperty(\"responseType\")) {\n if (type !== null) {\n config.headers[\"Content-Type\"] = type;\n }\n config.headers.Accept = fullType(iLink.responseType);\n } else if (type !== null) {\n config.headers.Accept = type;\n if (iLink.method === \"PUT\" || iLink.method === \"POST\" || iLink.method === \"PATCH\") {\n config.headers[\"Content-Type\"] = type;\n }\n }\n if (iheaders !== null) {\n for (var ih in iheaders) {\n //noinspection JSUnfilteredForInLoop\n if (ih.toLowerCase() === \"json-parameters\") {\n //noinspection JSUnfilteredForInLoop\n config.headers[ih] = (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(iheaders[ih]) === \"object\" ? JSON.stringify(iheaders[ih]) : iheaders[ih];\n } else {\n //noinspection JSUnfilteredForInLoop\n config.headers[ih] = iheaders[ih];\n }\n }\n }\n if (ixsrf !== null) {\n /* TBD: fix parallel calls to get of this conditional */\n var xsrfHeaderName = ixsrf[\"x-csrf-header\"];\n if (xsrfHeaderName != null) {\n config.xsrfCookieName = null;\n config.xsrfHeaderName = xsrfHeaderName;\n // https://github.com/axios/axios/issues/2024\n config.headers[xsrfHeaderName] = ixsrf[xsrfHeaderName];\n }\n if (ixsrf[\"tkhttp-id\"] != null) {\n config.headers[\"tkhttp-id\"] = ixsrf[\"tkhttp-id\"];\n }\n } else {\n if (config.type === 'ADD_SERVICE') {\n config.xsrfHeaderName = 'X_CSRF_TOKEN';\n config.headers['X-CSRF-TOKEN'] = \"Fetch\";\n }\n }\n if (iqs !== null) {\n config.params = _objectSpread({}, iqs);\n }\n config.data = idata === null ? {} : idata;\n config.maxContentLength = 2 * 10063256;\n // let httpOptions = (iconfig.storeConfig.config != null ? iconfig.storeConfig.config.httpOptions : null);\n\n /*\n let httpOptions = iconfig.storeConfig.httpOptions;\n if (httpOptions != null) {\n for (let k in httpOptions) {\n config[k] = httpOptions[k];\n }\n }\n */\n\n setupProxy(iconfig, config);\n return makeCall(config, iconfig, logonInfo);\n}\n// setup if using reverse proxy server\nfunction setupProxy(iconfig, config) {\n var options = iconfig.logonInfo.options;\n if (options != null && options.proxyServer != null) {\n var proxy = options.proxy;\n if (proxy.pathname != null && proxy.pathname.trim().length > 0) {\n config.url = \"\".concat(proxy.pathname).concat(config.url); //prepend url with proxy path\n }\n config.baseURL = \"\".concat(proxy.protocol, \"//\").concat(proxy.host); //override base url\n }\n}\n// patch the url for namespace - useful for k8s to make calls into another namespace\nfunction patchURL4ns(logInfo, link) {\n var host = logInfo.host;\n if (logInfo.options != null && logInfo.options.ns != null) {\n var service = link.split(\"/\")[1];\n host = \"\".concat(logInfo.protocol).concat(service, \".{logInfo.options.ns}.svc.cluster.local\");\n }\n return host;\n}\nfunction makeCall(config, iconfig, storeConfig) {\n if (storeConfig.protocol === \"https://\" && config.agent == null) {\n var opts = iconfig.storeConfig.httpsOptions != null ? iconfig.storeConfig.httpsOptions : {};\n if (Https !== null) {\n var agent = new Https.Agent(opts);\n config.httpsAgent = agent;\n }\n }\n return new Promise(function (resolve, reject) {\n (0,axios__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(config).then(function (response) {\n parseJSON(response.data).then(function (data) {\n iconfig.data = null; /* get rid of the payload*/\n response.data = {\n results: data,\n iconfig: Object.assign({}, iconfig)\n };\n if (data.hasOwnProperty(\"errorCode\")) {\n //noinspection JSUnresolvedVariable\n response.status = response.data.results.httpStatusCode;\n response.statusText = \"errorCode: \".concat(response.data.results.errorCode);\n reject({\n response: response\n });\n } else {\n resolve((0,_fixResponse__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(response));\n }\n }).catch(function () {\n iconfig.data = null;\n response.data = {\n results: response.data,\n iconfig: Object.assign({}, iconfig)\n };\n resolve((0,_fixResponse__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(response));\n });\n }).catch(function (error) {\n reject(error);\n });\n });\n}\nfunction parseJSON(data) {\n //noinspection JSUnusedLocalSymbols\n return new Promise(function (resolve, reject) {\n if ((0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(data) === \"object\") {\n resolve(data);\n } else {\n var temp = data.replace(/\\r?\\n|\\r/g, \" \");\n try {\n var odata = JSON.parse(temp);\n resolve(odata);\n } catch (err) {\n resolve(data);\n }\n }\n });\n}\nfunction hasItem(payload, name) {\n for (var _i = 0, _Object$keys = Object.keys(payload); _i < _Object$keys.length; _i++) {\n var k = _Object$keys[_i];\n if (k.toUpperCase() === name.toUpperCase()) {\n return payload[k];\n }\n }\n return null;\n}\nfunction fullType(type) {\n var ntype = type;\n if (ntype === undefined || ntype === null) {\n ntype = null;\n } else {\n if (ntype.indexOf(\"application/vnd\") !== -1) {\n if (ntype.indexOf(\"+json\") === -1) {\n ntype = ntype + \"+json\";\n }\n }\n }\n return ntype;\n}\n\n// Code below is for experimenting.\n\nfunction keepAlive(action) {\n return (0,axios__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(action.payload);\n}\n\n\n//# sourceURL=webpack://restaf/./serverCalls/index.js?\n}");
1744
1744
 
1745
1745
  /***/ }),
1746
1746
 
@@ -1751,7 +1751,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1751
1751
  /***/ ((module) => {
1752
1752
 
1753
1753
  "use strict";
1754
- eval("{/*\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.\r\n * SPDX-License-Identifier: Apache-2.0\r\n */\n\n\nmodule.exports = function reduceCasResult(data) {\n var tables = {};\n var tableByName = {};\n if (data.hasOwnProperty(\"results\") === false) {\n return data;\n }\n for (var k in data.results) {\n //noinspection JSUnfilteredForInLoop\n var o = data.results[k];\n if (o.hasOwnProperty(\"_ctb\") === true && o[\"_ctb\"] === true) {\n //noinspection JSUnfilteredForInLoop\n tables[k] = o;\n tableByName[o.name] = o;\n }\n }\n data.tables = tables; /* need to deprecate this */\n data.tablesByName = tableByName;\n return data;\n};\n\n//# sourceURL=webpack://restaf/./serverCalls/reduceCasResults.js?\n}");
1754
+ eval("{/*\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n\n\nmodule.exports = function reduceCasResult(data) {\n var tables = {};\n var tableByName = {};\n if (data.hasOwnProperty(\"results\") === false) {\n return data;\n }\n for (var k in data.results) {\n //noinspection JSUnfilteredForInLoop\n var o = data.results[k];\n if (o.hasOwnProperty(\"_ctb\") === true && o[\"_ctb\"] === true) {\n //noinspection JSUnfilteredForInLoop\n tables[k] = o;\n tableByName[o.name] = o;\n }\n }\n data.tables = tables; /* need to deprecate this */\n data.tablesByName = tableByName;\n return data;\n};\n\n//# sourceURL=webpack://restaf/./serverCalls/reduceCasResults.js?\n}");
1755
1755
 
1756
1756
  /***/ }),
1757
1757
 
@@ -1762,7 +1762,7 @@ eval("{/*\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Right
1762
1762
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1763
1763
 
1764
1764
  "use strict";
1765
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _iaddServices__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./iaddServices */ \"./store/iaddServices.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _appData__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./appData */ \"./store/appData.js\");\n/* harmony import */ var _getServiceRoot__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getServiceRoot */ \"./store/getServiceRoot.js\");\n/* harmony import */ var _getXsrfData__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getXsrfData */ \"./store/getXsrfData.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\nfunction _createForOfIteratorHelper(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\n\n\n\n\n\n/**\r\n * @description Add(initialize) services to the store\r\n * @async\r\n * @module addServices\r\n * @category restaf/core\r\n * @param {...any} serviceNames - list of services\r\n * @returns {promise}\r\n * @example\r\n * const {compute, casManagement} = await store.addServices('compute', 'casManagewment);\r\n * \r\n */\nfunction addServices(_x) {\n return _addServices.apply(this, arguments);\n}\nfunction _addServices() {\n _addServices = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee(store) {\n var _len,\n services,\n _key,\n subList,\n ifolder,\n _iterator,\n _step,\n service,\n _yield$iaddServices,\n folders,\n xsrfTokens,\n xsrf,\n _args = arguments,\n _t;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n for (_len = _args.length, services = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n services[_key - 1] = _args[_key];\n }\n if (services.includes('casManagement')) {\n // services.push('casManagement/cas');\n services.push('casProxy');\n // services.push('cas-shared-default-http/healthCheck');\n }\n\n // loop for initialized services\n subList = [];\n ifolder = {};\n services.map(function (s) {\n ifolder[s] = (0,_getServiceRoot__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(store, s);\n if (ifolder[s] === null) {\n subList.push(s);\n }\n });\n\n // initialize new services\n if (!(subList.length > 0)) {\n _context.next = 8;\n break;\n }\n _iterator = _createForOfIteratorHelper(subList);\n _context.prev = 1;\n _iterator.s();\n case 2:\n if ((_step = _iterator.n()).done) {\n _context.next = 5;\n break;\n }\n service = _step.value;\n _context.next = 3;\n return (0,_iaddServices__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, [service]);\n case 3:\n _yield$iaddServices = _context.sent;\n folders = _yield$iaddServices.folders;\n xsrfTokens = _yield$iaddServices.xsrfTokens;\n xsrf = xsrfTokens[service];\n (0,_appData__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(store, _actionTypes__WEBPACK_IMPORTED_MODULE_3__.API_XSRF, service, xsrf, service);\n if (xsrf['tkhttp-id'] != null) {\n (0,_appData__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(store, _actionTypes__WEBPACK_IMPORTED_MODULE_3__.API_XSRF, 'tkhttpid', xsrf, service);\n }\n ifolder[service] = folders[service];\n case 4:\n _context.next = 2;\n break;\n case 5:\n _context.next = 7;\n break;\n case 6:\n _context.prev = 6;\n _t = _context[\"catch\"](1);\n _iterator.e(_t);\n case 7:\n _context.prev = 7;\n _iterator.f();\n return _context.finish(7);\n case 8:\n return _context.abrupt(\"return\", ifolder);\n case 9:\n case \"end\":\n return _context.stop();\n }\n }, _callee, null, [[1, 6, 7, 8]]);\n }));\n return _addServices.apply(this, arguments);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (addServices);\n\n//# sourceURL=webpack://restaf/./store/addServices.js?\n}");
1765
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _iaddServices__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./iaddServices */ \"./store/iaddServices.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _appData__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./appData */ \"./store/appData.js\");\n/* harmony import */ var _getServiceRoot__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getServiceRoot */ \"./store/getServiceRoot.js\");\n/* harmony import */ var _getXsrfData__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getXsrfData */ \"./store/getXsrfData.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\nfunction _createForOfIteratorHelper(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\n\n\n\n\n\n/**\n * @description Add(initialize) services to the store\n * @async\n * @module addServices\n * @category restaf/core\n * @param {...any} serviceNames - list of services\n * @returns {promise}\n * @example\n * const {compute, casManagement} = await store.addServices('compute', 'casManagewment);\n * \n */\nfunction addServices(_x) {\n return _addServices.apply(this, arguments);\n}\nfunction _addServices() {\n _addServices = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee(store) {\n var _len,\n services,\n _key,\n subList,\n ifolder,\n _iterator,\n _step,\n service,\n _yield$iaddServices,\n folders,\n xsrfTokens,\n xsrf,\n _args = arguments,\n _t;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n for (_len = _args.length, services = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n services[_key - 1] = _args[_key];\n }\n if (services.includes('casManagement')) {\n // services.push('casManagement/cas');\n services.push('casProxy');\n // services.push('cas-shared-default-http/healthCheck');\n }\n\n // loop for initialized services\n subList = [];\n ifolder = {};\n services.map(function (s) {\n ifolder[s] = (0,_getServiceRoot__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(store, s);\n if (ifolder[s] === null) {\n subList.push(s);\n }\n });\n\n // initialize new services\n if (!(subList.length > 0)) {\n _context.next = 8;\n break;\n }\n _iterator = _createForOfIteratorHelper(subList);\n _context.prev = 1;\n _iterator.s();\n case 2:\n if ((_step = _iterator.n()).done) {\n _context.next = 5;\n break;\n }\n service = _step.value;\n _context.next = 3;\n return (0,_iaddServices__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, [service]);\n case 3:\n _yield$iaddServices = _context.sent;\n folders = _yield$iaddServices.folders;\n xsrfTokens = _yield$iaddServices.xsrfTokens;\n xsrf = xsrfTokens[service];\n (0,_appData__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(store, _actionTypes__WEBPACK_IMPORTED_MODULE_3__.API_XSRF, service, xsrf, service);\n if (xsrf['tkhttp-id'] != null) {\n (0,_appData__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(store, _actionTypes__WEBPACK_IMPORTED_MODULE_3__.API_XSRF, 'tkhttpid', xsrf, service);\n }\n ifolder[service] = folders[service];\n case 4:\n _context.next = 2;\n break;\n case 5:\n _context.next = 7;\n break;\n case 6:\n _context.prev = 6;\n _t = _context[\"catch\"](1);\n _iterator.e(_t);\n case 7:\n _context.prev = 7;\n _iterator.f();\n return _context.finish(7);\n case 8:\n return _context.abrupt(\"return\", ifolder);\n case 9:\n case \"end\":\n return _context.stop();\n }\n }, _callee, null, [[1, 6, 7, 8]]);\n }));\n return _addServices.apply(this, arguments);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (addServices);\n\n//# sourceURL=webpack://restaf/./store/addServices.js?\n}");
1766
1766
 
1767
1767
  /***/ }),
1768
1768
 
@@ -1773,7 +1773,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1773
1773
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1774
1774
 
1775
1775
  "use strict";
1776
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _iapiCall__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./iapiCall */ \"./store/iapiCall.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _appData__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./appData */ \"./store/appData.js\");\n/* harmony import */ var _readXsrfData__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./readXsrfData */ \"./store/readXsrfData.js\");\n/* harmony import */ var _getXsrfData__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getXsrfData */ \"./store/getXsrfData.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\n\n\n\n\n\n\n/**\r\n * @description make an api call to viya\r\n * @module apiCall\r\n * @category restaf/core\r\n * @param {rafLinkeRel} iroute \r\n * @param {*} payload \r\n * @param {...any} rest \r\n * @returns {promise} returns a rafObject\r\n */\nfunction apiCall(_x, _x2, _x3) {\n return _apiCall.apply(this, arguments);\n}\nfunction _apiCall() {\n _apiCall = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee(store, iroute, payload) {\n var _len,\n rest,\n _key,\n response,\n newXsrf,\n _args = arguments;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n for (_len = _args.length, rest = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n rest[_key - 3] = _args[_key];\n }\n _context.next = 1;\n return _iapiCall__WEBPACK_IMPORTED_MODULE_2__[\"default\"].apply(void 0, [store, iroute, _actionTypes__WEBPACK_IMPORTED_MODULE_3__.API_CALL, payload].concat(rest));\n case 1:\n response = _context.sent;\n newXsrf = (0,_readXsrfData__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(response.headers, response.usedService, iroute.route);\n if (newXsrf['x-csrf-header'] != null || newXsrf['tkhttp-id'] != null) {\n (0,_appData__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(store, _actionTypes__WEBPACK_IMPORTED_MODULE_3__.API_XSRF, response.usedService, newXsrf);\n }\n if (newXsrf['tkhttp-id'] != null) {\n (0,_appData__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(store, _actionTypes__WEBPACK_IMPORTED_MODULE_3__.API_XSRF, 'tkhttpid', newXsrf);\n }\n return _context.abrupt(\"return\", response);\n case 2:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return _apiCall.apply(this, arguments);\n}\n;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiCall);\n\n//# sourceURL=webpack://restaf/./store/apiCall.js?\n}");
1776
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _iapiCall__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./iapiCall */ \"./store/iapiCall.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _appData__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./appData */ \"./store/appData.js\");\n/* harmony import */ var _readXsrfData__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./readXsrfData */ \"./store/readXsrfData.js\");\n/* harmony import */ var _getXsrfData__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getXsrfData */ \"./store/getXsrfData.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\n\n\n\n\n\n/**\n * @description make an api call to viya\n * @module apiCall\n * @category restaf/core\n * @param {rafLinkeRel} iroute \n * @param {*} payload \n * @param {...any} rest \n * @returns {promise} returns a rafObject\n */\nfunction apiCall(_x, _x2, _x3) {\n return _apiCall.apply(this, arguments);\n}\nfunction _apiCall() {\n _apiCall = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee(store, iroute, payload) {\n var _len,\n rest,\n _key,\n response,\n newXsrf,\n _args = arguments;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n for (_len = _args.length, rest = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n rest[_key - 3] = _args[_key];\n }\n _context.next = 1;\n return _iapiCall__WEBPACK_IMPORTED_MODULE_2__[\"default\"].apply(void 0, [store, iroute, _actionTypes__WEBPACK_IMPORTED_MODULE_3__.API_CALL, payload].concat(rest));\n case 1:\n response = _context.sent;\n newXsrf = (0,_readXsrfData__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(response.headers, response.usedService, iroute.route);\n if (newXsrf['x-csrf-header'] != null || newXsrf['tkhttp-id'] != null) {\n (0,_appData__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(store, _actionTypes__WEBPACK_IMPORTED_MODULE_3__.API_XSRF, response.usedService, newXsrf);\n }\n if (newXsrf['tkhttp-id'] != null) {\n (0,_appData__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(store, _actionTypes__WEBPACK_IMPORTED_MODULE_3__.API_XSRF, 'tkhttpid', newXsrf);\n }\n return _context.abrupt(\"return\", response);\n case 2:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return _apiCall.apply(this, arguments);\n}\n;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiCall);\n\n//# sourceURL=webpack://restaf/./store/apiCall.js?\n}");
1777
1777
 
1778
1778
  /***/ }),
1779
1779
 
@@ -1784,7 +1784,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1784
1784
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1785
1785
 
1786
1786
  "use strict";
1787
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _getResults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getResults */ \"./store/getResults.js\");\n/* harmony import */ var _prepareAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./prepareAction */ \"./store/prepareAction.js\");\n/* harmony import */ var _extendFolder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./extendFolder */ \"./store/extendFolder.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\n\n\n\nvar apiCallAll = function apiCallAll(store, allActions, delay) {\n return new Promise(function (resolve, reject) {\n //\n // create actionArray\n //\n\n var actionArray = allActions.map(function (acti) {\n //noinspection JSUnresolvedVariable\n var iroute = acti.rafLink;\n var payload = acti.hasOwnProperty('payload') === true ? acti.payload : null;\n var action = (0,_prepareAction__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, iroute, _actionTypes__WEBPACK_IMPORTED_MODULE_0__.API_CALL, payload, delay, null, null, null);\n if (action === null) {\n reject({\n err: 'Invalid route and/or rafLink',\n args: JSON.stringify(acti, null, 4)\n });\n }\n return action;\n });\n\n //\n // set start state\n //\n\n var start = true;\n\n //\n // subscribe callback\n //\n var nextE = function nextE() {\n if (start) {\n start = false;\n return;\n }\n var folders = [];\n //\n // check for completion\n //\n for (var i = 0; i < actionArray.length; i++) {\n //noinspection JSUnresolvedVariable\n var f = (0,_getResults__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(store, actionArray[i].route);\n if (f !== null) {\n var runStatus = f.get('runStatus');\n if (runStatus === 'error') {\n unSubscribe();\n var err = {\n jobNo: i,\n detail: f.get('statusInfo')\n };\n reject(err);\n } else if (runStatus === 'ready') {\n folders.push((0,_extendFolder__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store, f));\n }\n }\n }\n\n //\n // If all done the resolve promise\n //\n if (folders.length === actionArray.length) {\n resolve(folders);\n }\n };\n\n //\n // subscribe to store\n //\n var unSubscribe = store.subscribe(nextE);\n\n //\n // dispatch array actions\n // interval is place holder - TBD\n //\n\n store.dispatch({\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_0__.API_CALL_PARALLEL,\n actionArray: actionArray\n });\n });\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiCallAll);\n\n//# sourceURL=webpack://restaf/./store/apiCallAll.js?\n}");
1787
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _getResults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getResults */ \"./store/getResults.js\");\n/* harmony import */ var _prepareAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./prepareAction */ \"./store/prepareAction.js\");\n/* harmony import */ var _extendFolder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./extendFolder */ \"./store/extendFolder.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\n\n\nvar apiCallAll = function apiCallAll(store, allActions, delay) {\n return new Promise(function (resolve, reject) {\n //\n // create actionArray\n //\n\n var actionArray = allActions.map(function (acti) {\n //noinspection JSUnresolvedVariable\n var iroute = acti.rafLink;\n var payload = acti.hasOwnProperty('payload') === true ? acti.payload : null;\n var action = (0,_prepareAction__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, iroute, _actionTypes__WEBPACK_IMPORTED_MODULE_0__.API_CALL, payload, delay, null, null, null);\n if (action === null) {\n reject({\n err: 'Invalid route and/or rafLink',\n args: JSON.stringify(acti, null, 4)\n });\n }\n return action;\n });\n\n //\n // set start state\n //\n\n var start = true;\n\n //\n // subscribe callback\n //\n var nextE = function nextE() {\n if (start) {\n start = false;\n return;\n }\n var folders = [];\n //\n // check for completion\n //\n for (var i = 0; i < actionArray.length; i++) {\n //noinspection JSUnresolvedVariable\n var f = (0,_getResults__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(store, actionArray[i].route);\n if (f !== null) {\n var runStatus = f.get('runStatus');\n if (runStatus === 'error') {\n unSubscribe();\n var err = {\n jobNo: i,\n detail: f.get('statusInfo')\n };\n reject(err);\n } else if (runStatus === 'ready') {\n folders.push((0,_extendFolder__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store, f));\n }\n }\n }\n\n //\n // If all done the resolve promise\n //\n if (folders.length === actionArray.length) {\n resolve(folders);\n }\n };\n\n //\n // subscribe to store\n //\n var unSubscribe = store.subscribe(nextE);\n\n //\n // dispatch array actions\n // interval is place holder - TBD\n //\n\n store.dispatch({\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_0__.API_CALL_PARALLEL,\n actionArray: actionArray\n });\n });\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiCallAll);\n\n//# sourceURL=webpack://restaf/./store/apiCallAll.js?\n}");
1788
1788
 
1789
1789
  /***/ }),
1790
1790
 
@@ -1795,7 +1795,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1795
1795
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1796
1796
 
1797
1797
  "use strict";
1798
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _jobState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./jobState */ \"./store/jobState.js\");\n/* harmony import */ var _iapiCall__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./iapiCall */ \"./store/iapiCall.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\n\n\n\n\n//store, iroute, actionType, payload, delay, eventHandler, parentRoute, jobContext\nfunction apiSubmit(_x, _x2, _x3, _x4, _x5, _x6, _x7) {\n return _apiSubmit.apply(this, arguments);\n}\nfunction _apiSubmit() {\n _apiSubmit = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee(store, iroute, payload, delay, jobContext, onCompletion, progress) {\n var job, status;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n if (progress) {\n progress('pending', jobContext);\n }\n _context.next = 1;\n return (0,_iapiCall__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store, iroute, _actionTypes__WEBPACK_IMPORTED_MODULE_4__.API_CALL, payload, 0, null, null, jobContext);\n case 1:\n job = _context.sent;\n if (!job.links('state')) {\n _context.next = 3;\n break;\n }\n _context.next = 2;\n return (0,_jobState__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, job, null, 'wait', delay, progress, jobContext);\n case 2:\n status = _context.sent;\n completion(store, onCompletion, status.data, status.job, jobContext);\n return _context.abrupt(\"return\", status.job);\n case 3:\n completion(store, onCompletion, 'unknown', job, jobContext);\n return _context.abrupt(\"return\", job);\n case 4:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return _apiSubmit.apply(this, arguments);\n}\nfunction completion(store, onCompletion, data, job, jobContext) {\n var results = {\n data: data,\n job: job,\n httpCode: job.status\n };\n saveData(store, results, jobContext);\n if (onCompletion) {\n onCompletion(null, results, jobContext);\n }\n}\nfunction saveData(store, results, jobContext) {\n var payload = {\n route: results.job.route,\n data: results.data,\n jobContext: jobContext\n };\n var action = {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_4__.API_STATUS,\n route: jobContext,\n payload: payload\n };\n store.dispatch(action);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiSubmit);\n\n//# sourceURL=webpack://restaf/./store/apiSubmit.js?\n}");
1798
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _jobState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./jobState */ \"./store/jobState.js\");\n/* harmony import */ var _iapiCall__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./iapiCall */ \"./store/iapiCall.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\n\n\n\n//store, iroute, actionType, payload, delay, eventHandler, parentRoute, jobContext\nfunction apiSubmit(_x, _x2, _x3, _x4, _x5, _x6, _x7) {\n return _apiSubmit.apply(this, arguments);\n}\nfunction _apiSubmit() {\n _apiSubmit = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee(store, iroute, payload, delay, jobContext, onCompletion, progress) {\n var job, status;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n if (progress) {\n progress('pending', jobContext);\n }\n _context.next = 1;\n return (0,_iapiCall__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store, iroute, _actionTypes__WEBPACK_IMPORTED_MODULE_4__.API_CALL, payload, 0, null, null, jobContext);\n case 1:\n job = _context.sent;\n if (!job.links('state')) {\n _context.next = 3;\n break;\n }\n _context.next = 2;\n return (0,_jobState__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, job, null, 'wait', delay, progress, jobContext);\n case 2:\n status = _context.sent;\n completion(store, onCompletion, status.data, status.job, jobContext);\n return _context.abrupt(\"return\", status.job);\n case 3:\n completion(store, onCompletion, 'unknown', job, jobContext);\n return _context.abrupt(\"return\", job);\n case 4:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return _apiSubmit.apply(this, arguments);\n}\nfunction completion(store, onCompletion, data, job, jobContext) {\n var results = {\n data: data,\n job: job,\n httpCode: job.status\n };\n saveData(store, results, jobContext);\n if (onCompletion) {\n onCompletion(null, results, jobContext);\n }\n}\nfunction saveData(store, results, jobContext) {\n var payload = {\n route: results.job.route,\n data: results.data,\n jobContext: jobContext\n };\n var action = {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_4__.API_STATUS,\n route: jobContext,\n payload: payload\n };\n store.dispatch(action);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apiSubmit);\n\n//# sourceURL=webpack://restaf/./store/apiSubmit.js?\n}");
1799
1799
 
1800
1800
  /***/ }),
1801
1801
 
@@ -1806,7 +1806,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1806
1806
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1807
1807
 
1808
1808
  "use strict";
1809
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n// import {APP_DATA} from '../actionTypes';\nfunction appData(store, type, route, payload) {\n var action = {\n type: type,\n route: route,\n payload: payload\n };\n store.dispatch(action);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (appData);\n\n//# sourceURL=webpack://restaf/./store/appData.js?\n}");
1809
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n// import {APP_DATA} from '../actionTypes';\nfunction appData(store, type, route, payload) {\n var action = {\n type: type,\n route: route,\n payload: payload\n };\n store.dispatch(action);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (appData);\n\n//# sourceURL=webpack://restaf/./store/appData.js?\n}");
1810
1810
 
1811
1811
  /***/ }),
1812
1812
 
@@ -1817,7 +1817,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1817
1817
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1818
1818
 
1819
1819
  "use strict";
1820
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux */ \"../../../node_modules/redux/es/redux.js\");\n/* harmony import */ var redux_saga__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux-saga */ \"../../../node_modules/redux-saga/dist/redux-saga-core-npm-proxy.esm.js\");\n/* harmony import */ var _sagas_rootSaga__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../sagas/rootSaga */ \"./sagas/rootSaga.js\");\n/* harmony import */ var _reducers_injectAsyncReducers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../reducers/injectAsyncReducers */ \"./reducers/injectAsyncReducers.js\");\n/* harmony import */ var _reducers_createReducer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../reducers/createReducer */ \"./reducers/createReducer.js\");\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\n\n\nfunction configureSagaStore(config) {\n var sagaMiddleWare = (0,redux_saga__WEBPACK_IMPORTED_MODULE_2__[\"default\"])();\n\n // get default reducers\n var reducers = (0,_reducers_createReducer__WEBPACK_IMPORTED_MODULE_5__[\"default\"])();\n var store = (0,redux__WEBPACK_IMPORTED_MODULE_1__.createStore)(reducers, (0,redux__WEBPACK_IMPORTED_MODULE_1__.applyMiddleware)(sagaMiddleWare));\n store.asyncReducers = {};\n store.injectAsyncReducers = _reducers_injectAsyncReducers__WEBPACK_IMPORTED_MODULE_4__[\"default\"];\n store.apiCallNo = 0;\n store.config = _objectSpread({}, config);\n\n // start the sagas\n\n sagaMiddleWare.run(_sagas_rootSaga__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n return store;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (configureSagaStore);\n\n//# sourceURL=webpack://restaf/./store/configureSagaStore.js?\n}");
1820
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux */ \"../../../node_modules/redux/es/redux.js\");\n/* harmony import */ var redux_saga__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! redux-saga */ \"../../../node_modules/redux-saga/dist/redux-saga-core-npm-proxy.esm.js\");\n/* harmony import */ var _sagas_rootSaga__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../sagas/rootSaga */ \"./sagas/rootSaga.js\");\n/* harmony import */ var _reducers_injectAsyncReducers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../reducers/injectAsyncReducers */ \"./reducers/injectAsyncReducers.js\");\n/* harmony import */ var _reducers_createReducer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../reducers/createReducer */ \"./reducers/createReducer.js\");\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\n\nfunction configureSagaStore(config) {\n var sagaMiddleWare = (0,redux_saga__WEBPACK_IMPORTED_MODULE_2__[\"default\"])();\n\n // get default reducers\n var reducers = (0,_reducers_createReducer__WEBPACK_IMPORTED_MODULE_5__[\"default\"])();\n var store = (0,redux__WEBPACK_IMPORTED_MODULE_1__.createStore)(reducers, (0,redux__WEBPACK_IMPORTED_MODULE_1__.applyMiddleware)(sagaMiddleWare));\n store.asyncReducers = {};\n store.injectAsyncReducers = _reducers_injectAsyncReducers__WEBPACK_IMPORTED_MODULE_4__[\"default\"];\n store.apiCallNo = 0;\n store.config = _objectSpread({}, config);\n\n // start the sagas\n\n sagaMiddleWare.run(_sagas_rootSaga__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n return store;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (configureSagaStore);\n\n//# sourceURL=webpack://restaf/./store/configureSagaStore.js?\n}");
1821
1821
 
1822
1822
  /***/ }),
1823
1823
 
@@ -1828,7 +1828,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1828
1828
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1829
1829
 
1830
1830
  "use strict";
1831
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var immutable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! immutable */ \"../../../node_modules/immutable/dist/immutable.es.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved * * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * * you may not use this file except in compliance with the License.\r\n * * You may obtain a copy of the License at\r\n * *\r\n * * http://www.apache.org/licenses/LICENSE-2.0\r\n * *\r\n * * Unless required by applicable law or agreed to in writing, software\r\n * * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ----------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\nfunction deleteRafObject(store, iroute) {\n var route = null;\n if (typeof iroute === 'string') {\n route = iroute;\n } else if (immutable__WEBPACK_IMPORTED_MODULE_1__[\"default\"].Iterable.isIterable(iroute) === true) {\n route = iroute.get('route');\n }\n if (iroute !== null) {\n var action = {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_0__.DELETE_RAF_OBJECT,\n route: route\n };\n store.dispatch(action);\n }\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (deleteRafObject);\n\n//# sourceURL=webpack://restaf/./store/deleteRafObject.js?\n}");
1831
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var immutable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! immutable */ \"../../../node_modules/immutable/dist/immutable.es.js\");\n/*\n * ------------------------------------------------------------------------------------\n * * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved * * Licensed under the Apache License, Version 2.0 (the \"License\");\n * * you may not use this file except in compliance with the License.\n * * You may obtain a copy of the License at\n * *\n * * http://www.apache.org/licenses/LICENSE-2.0\n * *\n * * Unless required by applicable law or agreed to in writing, software\n * * distributed under the License is distributed on an \"AS IS\" BASIS,\n * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * * See the License for the specific language governing permissions and\n * limitations under the License.\n * ----------------------------------------------------------------------------------------\n *\n */\n\n\n\n\nfunction deleteRafObject(store, iroute) {\n var route = null;\n if (typeof iroute === 'string') {\n route = iroute;\n } else if (immutable__WEBPACK_IMPORTED_MODULE_1__[\"default\"].Iterable.isIterable(iroute) === true) {\n route = iroute.get('route');\n }\n if (iroute !== null) {\n var action = {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_0__.DELETE_RAF_OBJECT,\n route: route\n };\n store.dispatch(action);\n }\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (deleteRafObject);\n\n//# sourceURL=webpack://restaf/./store/deleteRafObject.js?\n}");
1832
1832
 
1833
1833
  /***/ }),
1834
1834
 
@@ -1839,7 +1839,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1839
1839
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1840
1840
 
1841
1841
  "use strict";
1842
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var redux_saga__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! redux-saga */ \"../../../node_modules/redux-saga/dist/redux-saga-core-npm-proxy.esm.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\nvar endStore = function endStore(store) {\n store.dispatch(redux_saga__WEBPACK_IMPORTED_MODULE_0__.END);\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (endStore);\n\n//# sourceURL=webpack://restaf/./store/endStore.js?\n}");
1842
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var redux_saga__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! redux-saga */ \"../../../node_modules/redux-saga/dist/redux-saga-core-npm-proxy.esm.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\nvar endStore = function endStore(store) {\n store.dispatch(redux_saga__WEBPACK_IMPORTED_MODULE_0__.END);\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (endStore);\n\n//# sourceURL=webpack://restaf/./store/endStore.js?\n}");
1843
1843
 
1844
1844
  /***/ }),
1845
1845
 
@@ -1850,7 +1850,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1850
1850
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1851
1851
 
1852
1852
  "use strict";
1853
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _getResults2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getResults2 */ \"./store/getResults2.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\nfunction extendFolder(store, f) {\n var wrapper = function wrapper(prePath) {\n return function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return (0,_getResults2__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, f, prePath, args);\n };\n };\n var wrapperItemsCmd = function wrapperItemsCmd(prePath) {\n return function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n args.splice(1, 0, 'cmds');\n return (0,_getResults2__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, f, prePath, args);\n };\n };\n return {\n results: wrapper(),\n items: wrapper(['items', 'data']),\n itemsCmd: wrapperItemsCmd(['items', 'data']),\n itemsList: wrapper(['itemsList']),\n links: wrapper(['links']),\n details: wrapper(['details']),\n scrollCmds: wrapper(['scrollCmds']),\n raw: wrapper(['raw']),\n headers: wrapper(['responseHeaders']),\n config: wrapper(['iconfig']),\n host: f.get('host'),\n resultType: f.get('resultType'),\n status: f.get('statusInfo').get('status'),\n statusInfo: f.get('statusInfo').toJS(),\n type: f.get('type'),\n route: f.get('route')\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (extendFolder);\n\n//# sourceURL=webpack://restaf/./store/extendFolder.js?\n}");
1853
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _getResults2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getResults2 */ \"./store/getResults2.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\nfunction extendFolder(store, f) {\n var wrapper = function wrapper(prePath) {\n return function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return (0,_getResults2__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, f, prePath, args);\n };\n };\n var wrapperItemsCmd = function wrapperItemsCmd(prePath) {\n return function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n args.splice(1, 0, 'cmds');\n return (0,_getResults2__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, f, prePath, args);\n };\n };\n return {\n results: wrapper(),\n items: wrapper(['items', 'data']),\n itemsCmd: wrapperItemsCmd(['items', 'data']),\n itemsList: wrapper(['itemsList']),\n links: wrapper(['links']),\n details: wrapper(['details']),\n scrollCmds: wrapper(['scrollCmds']),\n raw: wrapper(['raw']),\n headers: wrapper(['responseHeaders']),\n config: wrapper(['iconfig']),\n host: f.get('host'),\n resultType: f.get('resultType'),\n status: f.get('statusInfo').get('status'),\n statusInfo: f.get('statusInfo').toJS(),\n type: f.get('type'),\n route: f.get('route')\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (extendFolder);\n\n//# sourceURL=webpack://restaf/./store/extendFolder.js?\n}");
1854
1854
 
1855
1855
  /***/ }),
1856
1856
 
@@ -1861,7 +1861,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1861
1861
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1862
1862
 
1863
1863
  "use strict";
1864
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _iGetResults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./iGetResults */ \"./store/iGetResults.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\nfunction getResults(store, iroute, path) {\n if (path != undefined) {\n return (0,_iGetResults__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, iroute, false, path);\n } else {\n return (0,_iGetResults__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, iroute);\n }\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getResults);\n\n//# sourceURL=webpack://restaf/./store/getResults.js?\n}");
1864
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _iGetResults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./iGetResults */ \"./store/iGetResults.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\nfunction getResults(store, iroute, path) {\n if (path != undefined) {\n return (0,_iGetResults__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, iroute, false, path);\n } else {\n return (0,_iGetResults__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, iroute);\n }\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getResults);\n\n//# sourceURL=webpack://restaf/./store/getResults.js?\n}");
1865
1865
 
1866
1866
  /***/ }),
1867
1867
 
@@ -1872,7 +1872,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1872
1872
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1873
1873
 
1874
1874
  "use strict";
1875
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _iGetResults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./iGetResults */ \"./store/iGetResults.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\nfunction getResults2(store, iroute, prePath) {\n var iquery = null;\n for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n args[_key - 3] = arguments[_key];\n }\n if (args != null && args.length > 0) {\n iquery = Array.isArray(args[0]) === true ? args[0] : args;\n if (prePath !== null) {\n iquery = prePath.concat(iquery);\n }\n } else {\n iquery = prePath;\n }\n return (0,_iGetResults__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, iroute, false, iquery);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getResults2);\n\n//# sourceURL=webpack://restaf/./store/getResults2.js?\n}");
1875
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _iGetResults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./iGetResults */ \"./store/iGetResults.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\nfunction getResults2(store, iroute, prePath) {\n var iquery = null;\n for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n args[_key - 3] = arguments[_key];\n }\n if (args != null && args.length > 0) {\n iquery = Array.isArray(args[0]) === true ? args[0] : args;\n if (prePath !== null) {\n iquery = prePath.concat(iquery);\n }\n } else {\n iquery = prePath;\n }\n return (0,_iGetResults__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, iroute, false, iquery);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getResults2);\n\n//# sourceURL=webpack://restaf/./store/getResults2.js?\n}");
1876
1876
 
1877
1877
  /***/ }),
1878
1878
 
@@ -1883,7 +1883,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1883
1883
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1884
1884
 
1885
1885
  "use strict";
1886
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _extendFolder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./extendFolder */ \"./store/extendFolder.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\nfunction getServiceRoot(store, serviceName) {\n var f = null;\n var list = store.getState();\n for (var key in list) {\n if (key === serviceName) {\n //noinspection JSUnfilteredForInLoop\n return (0,_extendFolder__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, list[key]);\n }\n }\n return f;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getServiceRoot);\n\n//# sourceURL=webpack://restaf/./store/getServiceRoot.js?\n}");
1886
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _extendFolder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./extendFolder */ \"./store/extendFolder.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\nfunction getServiceRoot(store, serviceName) {\n var f = null;\n var list = store.getState();\n for (var key in list) {\n if (key === serviceName) {\n //noinspection JSUnfilteredForInLoop\n return (0,_extendFolder__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, list[key]);\n }\n }\n return f;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getServiceRoot);\n\n//# sourceURL=webpack://restaf/./store/getServiceRoot.js?\n}");
1887
1887
 
1888
1888
  /***/ }),
1889
1889
 
@@ -1894,7 +1894,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1894
1894
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1895
1895
 
1896
1896
  "use strict";
1897
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\nfunction getServices(store) {\n var list = store.getState();\n var services = [];\n for (var key in list) {\n if (key !== 'connections') {\n //noinspection JSUnfilteredForInLoop\n services.push(key);\n }\n }\n return services;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getServices);\n\n//# sourceURL=webpack://restaf/./store/getServices.js?\n}");
1897
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\nfunction getServices(store) {\n var list = store.getState();\n var services = [];\n for (var key in list) {\n if (key !== 'connections') {\n //noinspection JSUnfilteredForInLoop\n services.push(key);\n }\n }\n return services;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getServices);\n\n//# sourceURL=webpack://restaf/./store/getServices.js?\n}");
1898
1898
 
1899
1899
  /***/ }),
1900
1900
 
@@ -1905,7 +1905,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1905
1905
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1906
1906
 
1907
1907
  "use strict";
1908
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\nfunction getXsrfData(store) {\n var list = store.getState();\n list = list[_actionTypes__WEBPACK_IMPORTED_MODULE_0__.API_XSRF_ROOT];\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n var path = args.length > 0 ? ['userData'].concat(args) : ['userData'];\n var xsrf = list.getIn(path, null);\n return xsrf != null ? xsrf.toJS() : null;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getXsrfData);\n\n//# sourceURL=webpack://restaf/./store/getXsrfData.js?\n}");
1908
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\nfunction getXsrfData(store) {\n var list = store.getState();\n list = list[_actionTypes__WEBPACK_IMPORTED_MODULE_0__.API_XSRF_ROOT];\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n var path = args.length > 0 ? ['userData'].concat(args) : ['userData'];\n var xsrf = list.getIn(path, null);\n return xsrf != null ? xsrf.toJS() : null;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getXsrfData);\n\n//# sourceURL=webpack://restaf/./store/getXsrfData.js?\n}");
1909
1909
 
1910
1910
  /***/ }),
1911
1911
 
@@ -1916,7 +1916,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1916
1916
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1917
1917
 
1918
1918
  "use strict";
1919
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\nvar Immutable = __webpack_require__(/*! immutable */ \"../../../node_modules/immutable/dist/immutable.es.js\");\nfunction iGetResults(store, iroute, keyOnly) {\n var result;\n var route;\n var iquery = [];\n var q;\n var serviceName;\n var folder;\n var path = [];\n for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n args[_key - 3] = arguments[_key];\n }\n if (args != null) {\n iquery = Array.isArray(args[0]) === true ? args[0] : args;\n }\n if (typeof iroute === 'string') {\n route = iroute;\n q = route.split(':/');\n serviceName = q.shift();\n folder = store.getState()[serviceName];\n path = [].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(q), (0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(iquery));\n } else {\n path = iquery;\n if (Immutable.Iterable.isIterable(iroute)) {\n folder = iroute;\n } else {\n return null;\n }\n }\n\n // should never happen but...\n if (folder == null) {\n return null;\n }\n result = path.length > 0 ? folder.getIn(path, null) : folder;\n if (result !== null) {\n if (keyOnly === true && Immutable.Iterable.isIterable(result) === true) {\n result = result.keySeq();\n }\n }\n return result;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (iGetResults);\n\n//# sourceURL=webpack://restaf/./store/iGetResults.js?\n}");
1919
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\nvar Immutable = __webpack_require__(/*! immutable */ \"../../../node_modules/immutable/dist/immutable.es.js\");\nfunction iGetResults(store, iroute, keyOnly) {\n var result;\n var route;\n var iquery = [];\n var q;\n var serviceName;\n var folder;\n var path = [];\n for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n args[_key - 3] = arguments[_key];\n }\n if (args != null) {\n iquery = Array.isArray(args[0]) === true ? args[0] : args;\n }\n if (typeof iroute === 'string') {\n route = iroute;\n q = route.split(':/');\n serviceName = q.shift();\n folder = store.getState()[serviceName];\n path = [].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(q), (0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(iquery));\n } else {\n path = iquery;\n if (Immutable.Iterable.isIterable(iroute)) {\n folder = iroute;\n } else {\n return null;\n }\n }\n\n // should never happen but...\n if (folder == null) {\n return null;\n }\n result = path.length > 0 ? folder.getIn(path, null) : folder;\n if (result !== null) {\n if (keyOnly === true && Immutable.Iterable.isIterable(result) === true) {\n result = result.keySeq();\n }\n }\n return result;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (iGetResults);\n\n//# sourceURL=webpack://restaf/./store/iGetResults.js?\n}");
1920
1920
 
1921
1921
  /***/ }),
1922
1922
 
@@ -1927,7 +1927,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1927
1927
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1928
1928
 
1929
1929
  "use strict";
1930
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _getResults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getResults */ \"./store/getResults.js\");\n/* harmony import */ var _extendFolder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./extendFolder */ \"./store/extendFolder.js\");\n/* harmony import */ var _reducers_injectAsyncReducers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../reducers/injectAsyncReducers */ \"./reducers/injectAsyncReducers.js\");\n/* harmony import */ var _reducers_baseReducer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../reducers/baseReducer */ \"./reducers/baseReducer.js\");\n/* harmony import */ var _readXsrfData__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./readXsrfData */ \"./store/readXsrfData.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\n\n\n\n\nvar iaddServices = function iaddServices(store, services) {\n return new Promise(function (resolve, reject) {\n //\n // Add a reducer for each service\n //\n\n services.forEach(function (service) {\n (0,_reducers_injectAsyncReducers__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store, service, (0,_reducers_baseReducer__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(service));\n });\n\n //\n // Create actionArray for the services\n //\n var actionArray = services.map(function (service) {\n var s = {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_0__.ADD_SERVICE,\n link: {\n method: 'GET',\n href: '/' + service + '/',\n rel: 'root',\n type: 'application/vnd.sas.api+json',\n responseType: 'application/json, application/vnd.sas.api+json',\n uri: '/' + service + '/'\n },\n logonInfo: null,\n tLink: null,\n /* null indicates root of service */\n serviceName: service,\n usedService: service,\n route: service,\n storeConfig: store.config\n };\n //to support PuP / workbench\n if (service == 'compute' && store.config.options.computeServerId != null && store.config.options.computeServerId.trim().length > 0) {\n console.log('assuming workbench');\n s.link.href = '/compute/servers/' + store.config.options.computeServerId + '/';\n s.link.url = s.link.href;\n }\n return s;\n });\n\n //\n // The first callback needs to be ignored\n //\n var start = true;\n\n //\n // subscribe function\n //\n var nextE = function nextE() {\n if (start) {\n start = false;\n return;\n }\n var folders = {};\n var xsrfTokens = {};\n /* */\n //\n // check the status of the call.\n // if all of them completed then resolve this promise or reject if error as soon as\n // an error is detected.\n //\n\n var count = 0;\n for (var i = 0; i < actionArray.length; i++) {\n //noinspection JSUnresolvedVariable\n var f = (0,_getResults__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(store, actionArray[i].route);\n if (f !== null) {\n var runStatus = f.get('runStatus');\n if (runStatus === 'error') {\n unSubscribe();\n var err = {\n service: services[i],\n detail: f.get('statusInfo')\n };\n reject(err);\n } else if (runStatus === 'ready') {\n count++;\n var ff = (0,_extendFolder__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, f);\n folders[services[i]] = ff;\n xsrfTokens[services[i]] = (0,_readXsrfData__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(ff.headers, services[i], services[i]);\n }\n }\n }\n if (count === actionArray.length) {\n unSubscribe();\n resolve({\n folders: folders,\n xsrfTokens: xsrfTokens\n });\n }\n };\n\n //\n // subscribe to store\n //\n var unSubscribe = store.subscribe(nextE);\n\n //\n // dispatch the actionArray\n //\n\n //\n // interval is a place holder for creating interval between calls\n // Yet to be implemented\n //\n\n store.dispatch({\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_0__.API_CALL_PARALLEL,\n interval: -1,\n actionArray: actionArray\n });\n });\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (iaddServices);\n\n//# sourceURL=webpack://restaf/./store/iaddServices.js?\n}");
1930
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _getResults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getResults */ \"./store/getResults.js\");\n/* harmony import */ var _extendFolder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./extendFolder */ \"./store/extendFolder.js\");\n/* harmony import */ var _reducers_injectAsyncReducers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../reducers/injectAsyncReducers */ \"./reducers/injectAsyncReducers.js\");\n/* harmony import */ var _reducers_baseReducer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../reducers/baseReducer */ \"./reducers/baseReducer.js\");\n/* harmony import */ var _readXsrfData__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./readXsrfData */ \"./store/readXsrfData.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\n\n\n\nvar iaddServices = function iaddServices(store, services) {\n return new Promise(function (resolve, reject) {\n //\n // Add a reducer for each service\n //\n\n services.forEach(function (service) {\n (0,_reducers_injectAsyncReducers__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store, service, (0,_reducers_baseReducer__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(service));\n });\n\n //\n // Create actionArray for the services\n //\n var actionArray = services.map(function (service) {\n var s = {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_0__.ADD_SERVICE,\n link: {\n method: 'GET',\n href: '/' + service + '/',\n rel: 'root',\n type: 'application/vnd.sas.api+json',\n responseType: 'application/json, application/vnd.sas.api+json',\n uri: '/' + service + '/'\n },\n logonInfo: null,\n tLink: null,\n /* null indicates root of service */\n serviceName: service,\n usedService: service,\n route: service,\n storeConfig: store.config\n };\n //to support PuP / workbench\n if (service == 'compute' && store.config.options.computeServerId != null && store.config.options.computeServerId.trim().length > 0) {\n console.log('assuming workbench');\n s.link.href = '/compute/servers/' + store.config.options.computeServerId + '/';\n s.link.url = s.link.href;\n }\n return s;\n });\n\n //\n // The first callback needs to be ignored\n //\n var start = true;\n\n //\n // subscribe function\n //\n var nextE = function nextE() {\n if (start) {\n start = false;\n return;\n }\n var folders = {};\n var xsrfTokens = {};\n /* */\n //\n // check the status of the call.\n // if all of them completed then resolve this promise or reject if error as soon as\n // an error is detected.\n //\n\n var count = 0;\n for (var i = 0; i < actionArray.length; i++) {\n //noinspection JSUnresolvedVariable\n var f = (0,_getResults__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(store, actionArray[i].route);\n if (f !== null) {\n var runStatus = f.get('runStatus');\n if (runStatus === 'error') {\n unSubscribe();\n var err = {\n service: services[i],\n detail: f.get('statusInfo')\n };\n reject(err);\n } else if (runStatus === 'ready') {\n count++;\n var ff = (0,_extendFolder__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, f);\n folders[services[i]] = ff;\n xsrfTokens[services[i]] = (0,_readXsrfData__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(ff.headers, services[i], services[i]);\n }\n }\n }\n if (count === actionArray.length) {\n unSubscribe();\n resolve({\n folders: folders,\n xsrfTokens: xsrfTokens\n });\n }\n };\n\n //\n // subscribe to store\n //\n var unSubscribe = store.subscribe(nextE);\n\n //\n // dispatch the actionArray\n //\n\n //\n // interval is a place holder for creating interval between calls\n // Yet to be implemented\n //\n\n store.dispatch({\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_0__.API_CALL_PARALLEL,\n interval: -1,\n actionArray: actionArray\n });\n });\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (iaddServices);\n\n//# sourceURL=webpack://restaf/./store/iaddServices.js?\n}");
1931
1931
 
1932
1932
  /***/ }),
1933
1933
 
@@ -1938,7 +1938,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1938
1938
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1939
1939
 
1940
1940
  "use strict";
1941
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _getResults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getResults */ \"./store/getResults.js\");\n/* harmony import */ var _extendFolder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./extendFolder */ \"./store/extendFolder.js\");\n/* harmony import */ var _prepareAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./prepareAction */ \"./store/prepareAction.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\n\n\n\n\n// import ikeepAlive from './ikeepAlive';\n\nvar iapiCall = function iapiCall(store, iroute, actionType, payload, delay, eventHandler, parentRoute, jobContext) {\n return new Promise(function (resolve, reject) {\n var route;\n var unSubscribe;\n var start = true;\n\n // create action\n var action = (0,_prepareAction__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, iroute, actionType, payload, delay, eventHandler, parentRoute, jobContext);\n if (action === null) {\n reject({\n error: 'Bad route and/or rafLink',\n args: iroute\n });\n }\n // save route\n //noinspection JSUnresolvedVariable\n route = action.route;\n\n // subscribe callback\n var nextE = function nextE() {\n if (start) {\n start = false;\n return;\n }\n var f = (0,_getResults__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, route);\n if (!f) {\n /* should never happen, hmmm! */\n unSubscribe();\n reject({\n error: 'Hmmm! Failed to resolve route in apiCall callback - should never happen. Call Programmer',\n route: route\n });\n } else {\n var runStatus = f.get('runStatus');\n if (runStatus === 'error') {\n unSubscribe();\n reject(f.get('statusInfo'));\n } else if (runStatus === 'ready') {\n unSubscribe();\n var efolder = (0,_extendFolder__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(store, f);\n efolder.service = action.serviceName;\n efolder.usedService = action.usedService;\n //ikeepAlive(store); \n resolve(efolder);\n }\n }\n };\n\n // subscribe to store\n unSubscribe = store.subscribe(nextE);\n\n // dispatch action\n store.dispatch(action);\n });\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (iapiCall);\n\n//# sourceURL=webpack://restaf/./store/iapiCall.js?\n}");
1941
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _getResults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getResults */ \"./store/getResults.js\");\n/* harmony import */ var _extendFolder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./extendFolder */ \"./store/extendFolder.js\");\n/* harmony import */ var _prepareAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./prepareAction */ \"./store/prepareAction.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\n\n\n\n// import ikeepAlive from './ikeepAlive';\n\nvar iapiCall = function iapiCall(store, iroute, actionType, payload, delay, eventHandler, parentRoute, jobContext) {\n return new Promise(function (resolve, reject) {\n var route;\n var unSubscribe;\n var start = true;\n\n // create action\n var action = (0,_prepareAction__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, iroute, actionType, payload, delay, eventHandler, parentRoute, jobContext);\n if (action === null) {\n reject({\n error: 'Bad route and/or rafLink',\n args: iroute\n });\n }\n // save route\n //noinspection JSUnresolvedVariable\n route = action.route;\n\n // subscribe callback\n var nextE = function nextE() {\n if (start) {\n start = false;\n return;\n }\n var f = (0,_getResults__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, route);\n if (!f) {\n /* should never happen, hmmm! */\n unSubscribe();\n reject({\n error: 'Hmmm! Failed to resolve route in apiCall callback - should never happen. Call Programmer',\n route: route\n });\n } else {\n var runStatus = f.get('runStatus');\n if (runStatus === 'error') {\n unSubscribe();\n reject(f.get('statusInfo'));\n } else if (runStatus === 'ready') {\n unSubscribe();\n var efolder = (0,_extendFolder__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(store, f);\n efolder.service = action.serviceName;\n efolder.usedService = action.usedService;\n //ikeepAlive(store); \n resolve(efolder);\n }\n }\n };\n\n // subscribe to store\n unSubscribe = store.subscribe(nextE);\n\n // dispatch action\n store.dispatch(action);\n });\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (iapiCall);\n\n//# sourceURL=webpack://restaf/./store/iapiCall.js?\n}");
1942
1942
 
1943
1943
  /***/ }),
1944
1944
 
@@ -1949,7 +1949,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1949
1949
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1950
1950
 
1951
1951
  "use strict";
1952
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _iapiCall__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./iapiCall */ \"./store/iapiCall.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\n\nfunction ijobState(store, job, payload, delay, waitFlag, eventHandler, jobContext) {\n return new Promise(function (resolve, reject) {\n var stateCmd = job.links('state');\n if (stateCmd === null) {\n var result = {\n job: job,\n data: 'completed',\n statusCode: 200\n };\n resolve({\n completed: 1,\n running: 0,\n jobState: result\n });\n } else {\n (0,_iapiCall__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, stateCmd, waitFlag === true ? _actionTypes__WEBPACK_IMPORTED_MODULE_1__.API_POLL : _actionTypes__WEBPACK_IMPORTED_MODULE_1__.API_CALL, payload, delay, eventHandler, job.route, jobContext).then(function (r) {\n var detail = {};\n var running = 0;\n var data = r.items();\n // cas isIdle use case\n if (detail.hasOwnProperty(data) === false) {\n detail[data] = 0;\n }\n detail[data] = detail[data] + 1;\n var httpCode = r.status;\n var result = {\n job: job,\n data: data,\n statusCode: httpCode\n };\n if (data === 'running' || data === 'pending') {\n running = 1;\n }\n resolve({\n running: running,\n detail: detail,\n jobState: result\n });\n }).catch(function (err) {\n reject(err);\n });\n }\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ijobState);\n\n//# sourceURL=webpack://restaf/./store/ijobState.js?\n}");
1952
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _iapiCall__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./iapiCall */ \"./store/iapiCall.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\nfunction ijobState(store, job, payload, delay, waitFlag, eventHandler, jobContext) {\n return new Promise(function (resolve, reject) {\n var stateCmd = job.links('state');\n if (stateCmd === null) {\n var result = {\n job: job,\n data: 'completed',\n statusCode: 200\n };\n resolve({\n completed: 1,\n running: 0,\n jobState: result\n });\n } else {\n (0,_iapiCall__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, stateCmd, waitFlag === true ? _actionTypes__WEBPACK_IMPORTED_MODULE_1__.API_POLL : _actionTypes__WEBPACK_IMPORTED_MODULE_1__.API_CALL, payload, delay, eventHandler, job.route, jobContext).then(function (r) {\n var detail = {};\n var running = 0;\n var data = r.items();\n // cas isIdle use case\n if (detail.hasOwnProperty(data) === false) {\n detail[data] = 0;\n }\n detail[data] = detail[data] + 1;\n var httpCode = r.status;\n var result = {\n job: job,\n data: data,\n statusCode: httpCode\n };\n if (data === 'running' || data === 'pending') {\n running = 1;\n }\n resolve({\n running: running,\n detail: detail,\n jobState: result\n });\n }).catch(function (err) {\n reject(err);\n });\n }\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ijobState);\n\n//# sourceURL=webpack://restaf/./store/ijobState.js?\n}");
1953
1953
 
1954
1954
  /***/ }),
1955
1955
 
@@ -1960,7 +1960,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1960
1960
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1961
1961
 
1962
1962
  "use strict";
1963
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _apiCallAll__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./apiCallAll */ \"./store/apiCallAll.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\nfunction ijobStateAll(store, jobs, ipayload) {\n return new Promise(function (resolve, reject) {\n /* */\n var payload = [];\n if (ipayload !== null) {\n if (Array.isArray(ipayload) === false) {\n for (var i = 0; i < jobs.length; i++) {\n payload.push(ipayload);\n }\n } else {\n payload = (0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(ipayload);\n }\n } else {\n for (var _i = 0; _i < jobs.length; _i++) {\n payload.push(null);\n }\n }\n var actionArray = jobs.map(function (job, i) {\n //noinspection JSValidateTypes\n var rafLink = job.links('state');\n if (rafLink === null) {\n reject(\" job \".concat(i, \" does not support state checking \"));\n }\n var statePayload = payload[i];\n return {\n rafLink: rafLink,\n payload: _objectSpread({}, statePayload)\n };\n });\n (0,_apiCallAll__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, actionArray).then(function (results) {\n var detail = {};\n var running = 0;\n var jobState = results.map(function (r, i) {\n var data = r.items();\n var httpCode = r.status;\n if (detail.hasOwnProperty(data) === false) {\n detail[data] = 0;\n }\n detail[data] = detail[data] + 1;\n if (data === 'running' || data === 'pending') {\n running++;\n }\n return {\n job: jobs[i],\n data: data,\n statusCode: httpCode\n };\n });\n resolve({\n running: running,\n detail: detail,\n jobState: jobState\n });\n }).catch(function (err) {\n reject(err);\n });\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ijobStateAll);\n\n//# sourceURL=webpack://restaf/./store/ijobStateAll.js?\n}");
1963
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _apiCallAll__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./apiCallAll */ \"./store/apiCallAll.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\nfunction ijobStateAll(store, jobs, ipayload) {\n return new Promise(function (resolve, reject) {\n /* */\n var payload = [];\n if (ipayload !== null) {\n if (Array.isArray(ipayload) === false) {\n for (var i = 0; i < jobs.length; i++) {\n payload.push(ipayload);\n }\n } else {\n payload = (0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(ipayload);\n }\n } else {\n for (var _i = 0; _i < jobs.length; _i++) {\n payload.push(null);\n }\n }\n var actionArray = jobs.map(function (job, i) {\n //noinspection JSValidateTypes\n var rafLink = job.links('state');\n if (rafLink === null) {\n reject(\" job \".concat(i, \" does not support state checking \"));\n }\n var statePayload = payload[i];\n return {\n rafLink: rafLink,\n payload: _objectSpread({}, statePayload)\n };\n });\n (0,_apiCallAll__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, actionArray).then(function (results) {\n var detail = {};\n var running = 0;\n var jobState = results.map(function (r, i) {\n var data = r.items();\n var httpCode = r.status;\n if (detail.hasOwnProperty(data) === false) {\n detail[data] = 0;\n }\n detail[data] = detail[data] + 1;\n if (data === 'running' || data === 'pending') {\n running++;\n }\n return {\n job: jobs[i],\n data: data,\n statusCode: httpCode\n };\n });\n resolve({\n running: running,\n detail: detail,\n jobState: jobState\n });\n }).catch(function (err) {\n reject(err);\n });\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ijobStateAll);\n\n//# sourceURL=webpack://restaf/./store/ijobStateAll.js?\n}");
1964
1964
 
1965
1965
  /***/ }),
1966
1966
 
@@ -1971,7 +1971,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1971
1971
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1972
1972
 
1973
1973
  "use strict";
1974
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ endStore: () => (/* reexport safe */ _endStore__WEBPACK_IMPORTED_MODULE_1__[\"default\"]),\n/* harmony export */ initStore: () => (/* reexport safe */ _initStore__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n/* harmony export */ restoreStore: () => (/* reexport safe */ _restoreStore__WEBPACK_IMPORTED_MODULE_2__[\"default\"])\n/* harmony export */ });\n/* harmony import */ var _initStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./initStore */ \"./store/initStore.js\");\n/* harmony import */ var _endStore__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./endStore */ \"./store/endStore.js\");\n/* harmony import */ var _restoreStore__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./restoreStore */ \"./store/restoreStore.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://restaf/./store/index.js?\n}");
1974
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ endStore: () => (/* reexport safe */ _endStore__WEBPACK_IMPORTED_MODULE_1__[\"default\"]),\n/* harmony export */ initStore: () => (/* reexport safe */ _initStore__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n/* harmony export */ restoreStore: () => (/* reexport safe */ _restoreStore__WEBPACK_IMPORTED_MODULE_2__[\"default\"])\n/* harmony export */ });\n/* harmony import */ var _initStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./initStore */ \"./store/initStore.js\");\n/* harmony import */ var _endStore__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./endStore */ \"./store/endStore.js\");\n/* harmony import */ var _restoreStore__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./restoreStore */ \"./store/restoreStore.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://restaf/./store/index.js?\n}");
1975
1975
 
1976
1976
  /***/ }),
1977
1977
 
@@ -1982,7 +1982,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1982
1982
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1983
1983
 
1984
1984
  "use strict";
1985
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _configureSagaStore__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./configureSagaStore */ \"./store/configureSagaStore.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _apiCall__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiCall */ \"./store/apiCall.js\");\n/* harmony import */ var _apiCallAll__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./apiCallAll */ \"./store/apiCallAll.js\");\n/* harmony import */ var _runAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./runAction */ \"./store/runAction.js\");\n/* harmony import */ var _apiSubmit__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./apiSubmit */ \"./store/apiSubmit.js\");\n/* harmony import */ var _jobState__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./jobState */ \"./store/jobState.js\");\n/* harmony import */ var _jobStateAll__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./jobStateAll */ \"./store/jobStateAll.js\");\n/* harmony import */ var _request__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./request */ \"./store/request.js\");\n/* harmony import */ var _getServices__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./getServices */ \"./store/getServices.js\");\n/* harmony import */ var _addServices__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./addServices */ \"./store/addServices.js\");\n/* harmony import */ var _getServiceRoot__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./getServiceRoot */ \"./store/getServiceRoot.js\");\n/* harmony import */ var _logon__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./logon */ \"./store/logon.js\");\n/* harmony import */ var _logoff__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./logoff */ \"./store/logoff.js\");\n/* harmony import */ var _endStore__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./endStore */ \"./store/endStore.js\");\n/* harmony import */ var _routeToObj__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./routeToObj */ \"./store/routeToObj.js\");\n/* harmony import */ var _selectLogonInfo__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./selectLogonInfo */ \"./store/selectLogonInfo.js\");\n/* harmony import */ var _appData__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./appData */ \"./store/appData.js\");\n/* harmony import */ var _getXsrfData__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./getXsrfData */ \"./store/getXsrfData.js\");\n/* harmony import */ var _deleteRafObject__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./deleteRafObject */ \"./store/deleteRafObject.js\");\n/* harmony import */ var _keepViyaAlive__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./keepViyaAlive */ \"./store/keepViyaAlive.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\n\n// import jobStatus from './jobStatus';\n\n\n\n\n\n\n\n\n\n\n\n\n/**\r\n * @description Initialize a restaf store\r\n * @category restaf/core\r\n * @module initStore\r\n * @param {object=} config configuration object(future)\r\n * @returns {store} restaf store object(rafObject)\r\n * @example\r\n * let store = restaf.initStore();\r\n * The store object manages all the data and access\r\n * to Viya using the REST API. \r\n */\nfunction initStore(iconfig) {\n var config = {\n casProxy: true\n };\n if (iconfig != null) {\n config = _objectSpread(_objectSpread({}, config), iconfig);\n }\n if (config.options == null) {\n config.options = {};\n }\n var store = (0,_configureSagaStore__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(config);\n return {\n logon: _logon__WEBPACK_IMPORTED_MODULE_13__[\"default\"].bind(null, store),\n connect: _logon__WEBPACK_IMPORTED_MODULE_13__[\"default\"].bind(null, store),\n logoff: _logoff__WEBPACK_IMPORTED_MODULE_14__[\"default\"].bind(null, store),\n disconnect: _logoff__WEBPACK_IMPORTED_MODULE_14__[\"default\"].bind(null, store),\n connection: loggedOn.bind(null, store),\n addServices: _addServices__WEBPACK_IMPORTED_MODULE_11__[\"default\"].bind(null, store),\n getServices: _getServices__WEBPACK_IMPORTED_MODULE_10__[\"default\"].bind(null, store),\n apiCall: _apiCall__WEBPACK_IMPORTED_MODULE_3__[\"default\"].bind(null, store),\n runAction: _runAction__WEBPACK_IMPORTED_MODULE_5__[\"default\"].bind(null, store),\n apiCallAll: _apiCallAll__WEBPACK_IMPORTED_MODULE_4__[\"default\"].bind(null, store),\n rafObject: _routeToObj__WEBPACK_IMPORTED_MODULE_16__[\"default\"].bind(null, store),\n getService: _routeToObj__WEBPACK_IMPORTED_MODULE_16__[\"default\"].bind(null, store),\n deleteRafObject: _deleteRafObject__WEBPACK_IMPORTED_MODULE_20__[\"default\"].bind(null, store),\n jobState: _jobState__WEBPACK_IMPORTED_MODULE_7__[\"default\"].bind(null, store),\n jobStateAll: _jobStateAll__WEBPACK_IMPORTED_MODULE_8__[\"default\"].bind(null, store),\n submit: _apiSubmit__WEBPACK_IMPORTED_MODULE_6__[\"default\"].bind(null, store),\n submitStatus: getApiStatus.bind(null, store),\n setAppData: _appData__WEBPACK_IMPORTED_MODULE_18__[\"default\"].bind(null, store, _actionTypes__WEBPACK_IMPORTED_MODULE_2__.APP_DATA),\n getAppData: getAppData.bind(null, store),\n setXsrfData: _appData__WEBPACK_IMPORTED_MODULE_18__[\"default\"].bind(null, store, _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_XSRF),\n getXsrfData: _getXsrfData__WEBPACK_IMPORTED_MODULE_19__[\"default\"].bind(null, store),\n getState: store.getState,\n endStore: _endStore__WEBPACK_IMPORTED_MODULE_15__[\"default\"].bind(null, store),\n store: store,\n config: _objectSpread({}, config),\n getServiceRoot: _getServiceRoot__WEBPACK_IMPORTED_MODULE_12__[\"default\"].bind(null, store),\n request: _request__WEBPACK_IMPORTED_MODULE_9__[\"default\"].bind(null, store),\n keepViyaAlive: _keepViyaAlive__WEBPACK_IMPORTED_MODULE_21__[\"default\"].bind(null, store)\n };\n}\nfunction loggedOn(store) {\n return (0,_selectLogonInfo__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(store.getState());\n}\nfunction getAppData(store) {\n var list = store.getState()[_actionTypes__WEBPACK_IMPORTED_MODULE_2__.APP_DATA_ROOT];\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n var path = args.length > 0 ? ['userData'].concat(args) : ['userData'];\n return list.getIn(path, null);\n}\nfunction getApiStatus(store, jobContext) {\n var list = store.getState()[_actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_STATUS_ROOT];\n var result = null;\n if (!jobContext) {\n result = list.get('routeList');\n } else {\n var r = list.getIn(['userData', jobContext], null);\n if (r !== null) {\n result = r.toJS();\n result.job = (0,_routeToObj__WEBPACK_IMPORTED_MODULE_16__[\"default\"])(store, result.route);\n }\n }\n return result;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (initStore);\n\n//# sourceURL=webpack://restaf/./store/initStore.js?\n}");
1985
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _configureSagaStore__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./configureSagaStore */ \"./store/configureSagaStore.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _apiCall__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiCall */ \"./store/apiCall.js\");\n/* harmony import */ var _apiCallAll__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./apiCallAll */ \"./store/apiCallAll.js\");\n/* harmony import */ var _runAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./runAction */ \"./store/runAction.js\");\n/* harmony import */ var _apiSubmit__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./apiSubmit */ \"./store/apiSubmit.js\");\n/* harmony import */ var _jobState__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./jobState */ \"./store/jobState.js\");\n/* harmony import */ var _jobStateAll__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./jobStateAll */ \"./store/jobStateAll.js\");\n/* harmony import */ var _request__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./request */ \"./store/request.js\");\n/* harmony import */ var _getServices__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./getServices */ \"./store/getServices.js\");\n/* harmony import */ var _addServices__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./addServices */ \"./store/addServices.js\");\n/* harmony import */ var _getServiceRoot__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./getServiceRoot */ \"./store/getServiceRoot.js\");\n/* harmony import */ var _logon__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./logon */ \"./store/logon.js\");\n/* harmony import */ var _logoff__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./logoff */ \"./store/logoff.js\");\n/* harmony import */ var _endStore__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./endStore */ \"./store/endStore.js\");\n/* harmony import */ var _routeToObj__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./routeToObj */ \"./store/routeToObj.js\");\n/* harmony import */ var _selectLogonInfo__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./selectLogonInfo */ \"./store/selectLogonInfo.js\");\n/* harmony import */ var _appData__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./appData */ \"./store/appData.js\");\n/* harmony import */ var _getXsrfData__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./getXsrfData */ \"./store/getXsrfData.js\");\n/* harmony import */ var _deleteRafObject__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./deleteRafObject */ \"./store/deleteRafObject.js\");\n/* harmony import */ var _keepViyaAlive__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./keepViyaAlive */ \"./store/keepViyaAlive.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\n\n// import jobStatus from './jobStatus';\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * @description Initialize a restaf store\n * @category restaf/core\n * @module initStore\n * @param {object=} config configuration object(future)\n * @returns {store} restaf store object(rafObject)\n * @example\n * let store = restaf.initStore();\n * The store object manages all the data and access\n * to Viya using the REST API. \n */\nfunction initStore(iconfig) {\n var config = {\n casProxy: true\n };\n if (iconfig != null) {\n config = _objectSpread(_objectSpread({}, config), iconfig);\n }\n if (config.options == null) {\n config.options = {};\n }\n var store = (0,_configureSagaStore__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(config);\n return {\n logon: _logon__WEBPACK_IMPORTED_MODULE_13__[\"default\"].bind(null, store),\n connect: _logon__WEBPACK_IMPORTED_MODULE_13__[\"default\"].bind(null, store),\n logoff: _logoff__WEBPACK_IMPORTED_MODULE_14__[\"default\"].bind(null, store),\n disconnect: _logoff__WEBPACK_IMPORTED_MODULE_14__[\"default\"].bind(null, store),\n connection: loggedOn.bind(null, store),\n addServices: _addServices__WEBPACK_IMPORTED_MODULE_11__[\"default\"].bind(null, store),\n getServices: _getServices__WEBPACK_IMPORTED_MODULE_10__[\"default\"].bind(null, store),\n apiCall: _apiCall__WEBPACK_IMPORTED_MODULE_3__[\"default\"].bind(null, store),\n runAction: _runAction__WEBPACK_IMPORTED_MODULE_5__[\"default\"].bind(null, store),\n apiCallAll: _apiCallAll__WEBPACK_IMPORTED_MODULE_4__[\"default\"].bind(null, store),\n rafObject: _routeToObj__WEBPACK_IMPORTED_MODULE_16__[\"default\"].bind(null, store),\n getService: _routeToObj__WEBPACK_IMPORTED_MODULE_16__[\"default\"].bind(null, store),\n deleteRafObject: _deleteRafObject__WEBPACK_IMPORTED_MODULE_20__[\"default\"].bind(null, store),\n jobState: _jobState__WEBPACK_IMPORTED_MODULE_7__[\"default\"].bind(null, store),\n jobStateAll: _jobStateAll__WEBPACK_IMPORTED_MODULE_8__[\"default\"].bind(null, store),\n submit: _apiSubmit__WEBPACK_IMPORTED_MODULE_6__[\"default\"].bind(null, store),\n submitStatus: getApiStatus.bind(null, store),\n setAppData: _appData__WEBPACK_IMPORTED_MODULE_18__[\"default\"].bind(null, store, _actionTypes__WEBPACK_IMPORTED_MODULE_2__.APP_DATA),\n getAppData: getAppData.bind(null, store),\n setXsrfData: _appData__WEBPACK_IMPORTED_MODULE_18__[\"default\"].bind(null, store, _actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_XSRF),\n getXsrfData: _getXsrfData__WEBPACK_IMPORTED_MODULE_19__[\"default\"].bind(null, store),\n getState: store.getState,\n endStore: _endStore__WEBPACK_IMPORTED_MODULE_15__[\"default\"].bind(null, store),\n store: store,\n config: _objectSpread({}, config),\n getServiceRoot: _getServiceRoot__WEBPACK_IMPORTED_MODULE_12__[\"default\"].bind(null, store),\n request: _request__WEBPACK_IMPORTED_MODULE_9__[\"default\"].bind(null, store),\n keepViyaAlive: _keepViyaAlive__WEBPACK_IMPORTED_MODULE_21__[\"default\"].bind(null, store)\n };\n}\nfunction loggedOn(store) {\n return (0,_selectLogonInfo__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(store.getState());\n}\nfunction getAppData(store) {\n var list = store.getState()[_actionTypes__WEBPACK_IMPORTED_MODULE_2__.APP_DATA_ROOT];\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n var path = args.length > 0 ? ['userData'].concat(args) : ['userData'];\n return list.getIn(path, null);\n}\nfunction getApiStatus(store, jobContext) {\n var list = store.getState()[_actionTypes__WEBPACK_IMPORTED_MODULE_2__.API_STATUS_ROOT];\n var result = null;\n if (!jobContext) {\n result = list.get('routeList');\n } else {\n var r = list.getIn(['userData', jobContext], null);\n if (r !== null) {\n result = r.toJS();\n result.job = (0,_routeToObj__WEBPACK_IMPORTED_MODULE_16__[\"default\"])(store, result.route);\n }\n }\n return result;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (initStore);\n\n//# sourceURL=webpack://restaf/./store/initStore.js?\n}");
1986
1986
 
1987
1987
  /***/ }),
1988
1988
 
@@ -1993,7 +1993,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1993
1993
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1994
1994
 
1995
1995
  "use strict";
1996
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _ijobState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ijobState */ \"./store/ijobState.js\");\n/* harmony import */ var _apiCall__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiCall */ \"./store/apiCall.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\n\n\n\n/**\r\n * @category restaf/core\r\n * @description Check status of jobs\r\n * @module jobState\r\n * @async\r\n * \r\n * @param {rafObject} job rafObject of job\r\n * @param {object=} payload usually query to state api\r\n * @param {timeout=} timeout multiple uses to control timeout\r\n * @param {number=} delay delay in seconds.See notes below\r\n * @returns {promise} - object with the status information\r\n * @example\r\n * Notes\r\n * If the service supports long polling, pass the timeout in the payload.qs\r\n * If the service does not support long polling, set timeout to 'wait' and set delay to some time in seconds.\r\n * The library will check for completion every delay seconds. A more advanced way using progressHandler exit is described\r\n * in the tutorial sections.\r\n */\nfunction jobState(_x, _x2, _x3, _x4, _x5, _x6, _x7, _x8) {\n return _jobState.apply(this, arguments);\n}\nfunction _jobState() {\n _jobState = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee(store, job, payload, timeout, delay, progressHandler, jobContext, cas) {\n var waitFlag, tries, status, failed;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n waitFlag = false;\n tries = 1;\n if (timeout === 'wait' || timeout === 'longpoll') {\n tries = 1;\n waitFlag = true;\n } else {\n tries = !timeout ? 1 : timeout;\n }\n case 1:\n _context.next = 2;\n return (0,_ijobState__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, job, payload, delay, waitFlag, progressHandler, jobContext);\n case 2:\n status = _context.sent;\n failed = status.detail.hasOwnProperty('failed');\n if (!(status.running === 0)) {\n _context.next = 5;\n break;\n }\n tries = 0;\n if (!(failed === false && cas != true)) {\n _context.next = 4;\n break;\n }\n _context.next = 3;\n return (0,_apiCall__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store, job.links('self'));\n case 3:\n status.jobState.job = _context.sent;\n _context.next = 5;\n break;\n case 4:\n status.jobState.job = job;\n case 5:\n if (--tries > 0) {\n _context.next = 1;\n break;\n }\n case 6:\n return _context.abrupt(\"return\", status.jobState);\n case 7:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return _jobState.apply(this, arguments);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (jobState);\n\n//# sourceURL=webpack://restaf/./store/jobState.js?\n}");
1996
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _ijobState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ijobState */ \"./store/ijobState.js\");\n/* harmony import */ var _apiCall__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiCall */ \"./store/apiCall.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\n\n\n/**\n * @category restaf/core\n * @description Check status of jobs\n * @module jobState\n * @async\n * \n * @param {rafObject} job rafObject of job\n * @param {object=} payload usually query to state api\n * @param {timeout=} timeout multiple uses to control timeout\n * @param {number=} delay delay in seconds.See notes below\n * @returns {promise} - object with the status information\n * @example\n * Notes\n * If the service supports long polling, pass the timeout in the payload.qs\n * If the service does not support long polling, set timeout to 'wait' and set delay to some time in seconds.\n * The library will check for completion every delay seconds. A more advanced way using progressHandler exit is described\n * in the tutorial sections.\n */\nfunction jobState(_x, _x2, _x3, _x4, _x5, _x6, _x7, _x8) {\n return _jobState.apply(this, arguments);\n}\nfunction _jobState() {\n _jobState = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee(store, job, payload, timeout, delay, progressHandler, jobContext, cas) {\n var waitFlag, tries, status, failed;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n waitFlag = false;\n tries = 1;\n if (timeout === 'wait' || timeout === 'longpoll') {\n tries = 1;\n waitFlag = true;\n } else {\n tries = !timeout ? 1 : timeout;\n }\n case 1:\n _context.next = 2;\n return (0,_ijobState__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, job, payload, delay, waitFlag, progressHandler, jobContext);\n case 2:\n status = _context.sent;\n failed = status.detail.hasOwnProperty('failed');\n if (!(status.running === 0)) {\n _context.next = 5;\n break;\n }\n tries = 0;\n if (!(failed === false && cas != true)) {\n _context.next = 4;\n break;\n }\n _context.next = 3;\n return (0,_apiCall__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store, job.links('self'));\n case 3:\n status.jobState.job = _context.sent;\n _context.next = 5;\n break;\n case 4:\n status.jobState.job = job;\n case 5:\n if (--tries > 0) {\n _context.next = 1;\n break;\n }\n case 6:\n return _context.abrupt(\"return\", status.jobState);\n case 7:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return _jobState.apply(this, arguments);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (jobState);\n\n//# sourceURL=webpack://restaf/./store/jobState.js?\n}");
1997
1997
 
1998
1998
  /***/ }),
1999
1999
 
@@ -2004,7 +2004,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2004
2004
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2005
2005
 
2006
2006
  "use strict";
2007
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _ijobStateAll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ijobStateAll */ \"./store/ijobStateAll.js\");\n/* harmony import */ var _apiCallAll__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./apiCallAll */ \"./store/apiCallAll.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\n\nfunction jobStateAll(store, jobList, payload, maxTries) {\n return new Promise(function (resolve, reject) {\n var tries = maxTries != null ? maxTries : 1;\n checkStatus(store, jobList, payload, tries, function (err, result) {\n if (err) {\n reject(err);\n } else if (result.running === 0) {\n var rafLinkSelf = result.jobState.map(function (j) {\n return {\n rafLink: j.job.links('self'),\n payload: null\n };\n });\n (0,_apiCallAll__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(store, rafLinkSelf, null).then(function (newJobs) {\n newJobs.forEach(function (job, i) {\n result.jobState[i].job = job;\n });\n resolve(result);\n }).catch(function (err) {\n reject(err);\n });\n } else {\n resolve(result);\n }\n });\n });\n}\nfunction checkStatus(store, jobList, payload, tries, cb) {\n (0,_ijobStateAll__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, jobList, payload).then(function (result) {\n if (result.running > 0) {\n tries--;\n if (tries <= 0) {\n cb(null, result);\n } else {\n checkStatus(store, jobList, payload, tries, cb);\n }\n } else {\n cb(null, result);\n }\n }).catch(function (err) {\n cb(err);\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (jobStateAll);\n\n//# sourceURL=webpack://restaf/./store/jobStateAll.js?\n}");
2007
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _ijobStateAll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ijobStateAll */ \"./store/ijobStateAll.js\");\n/* harmony import */ var _apiCallAll__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./apiCallAll */ \"./store/apiCallAll.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\nfunction jobStateAll(store, jobList, payload, maxTries) {\n return new Promise(function (resolve, reject) {\n var tries = maxTries != null ? maxTries : 1;\n checkStatus(store, jobList, payload, tries, function (err, result) {\n if (err) {\n reject(err);\n } else if (result.running === 0) {\n var rafLinkSelf = result.jobState.map(function (j) {\n return {\n rafLink: j.job.links('self'),\n payload: null\n };\n });\n (0,_apiCallAll__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(store, rafLinkSelf, null).then(function (newJobs) {\n newJobs.forEach(function (job, i) {\n result.jobState[i].job = job;\n });\n resolve(result);\n }).catch(function (err) {\n reject(err);\n });\n } else {\n resolve(result);\n }\n });\n });\n}\nfunction checkStatus(store, jobList, payload, tries, cb) {\n (0,_ijobStateAll__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, jobList, payload).then(function (result) {\n if (result.running > 0) {\n tries--;\n if (tries <= 0) {\n cb(null, result);\n } else {\n checkStatus(store, jobList, payload, tries, cb);\n }\n } else {\n cb(null, result);\n }\n }).catch(function (err) {\n cb(err);\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (jobStateAll);\n\n//# sourceURL=webpack://restaf/./store/jobStateAll.js?\n}");
2008
2008
 
2009
2009
  /***/ }),
2010
2010
 
@@ -2015,7 +2015,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2015
2015
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2016
2016
 
2017
2017
  "use strict";
2018
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _request__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./request */ \"./store/request.js\");\n/* harmony import */ var _getServices__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getServices */ \"./store/getServices.js\");\n/* harmony import */ var _getXsrfData__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getXsrfData */ \"./store/getXsrfData.js\");\n/* harmony import */ var _selectLogonInfo__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./selectLogonInfo */ \"./store/selectLogonInfo.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n\n\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\n\n\nfunction keepViyaAlive(_x, _x2, _x3, _x4, _x5) {\n return _keepViyaAlive.apply(this, arguments);\n}\nfunction _keepViyaAlive() {\n _keepViyaAlive = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee(store, aliveURL, interval, timeout, onTimeout) {\n var keepTimer;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n keepTimer = setInterval(function () {\n ikeepViyaAlive(store, aliveURL);\n }, interval * 1000);\n setTimeout(function () {\n console.log('Note: Stopping keepViyaAlive');\n clearInterval(keepTimer);\n if (onTimeout != null) {\n onTimeout();\n } else {\n var host = (0,_selectLogonInfo__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(store.getState()).host;\n var params = \"scrollbars=no,resizable=no,status=no,location=no,toolbar=no,menubar=no,width=0,height=0,left=-1000,top=-1000\";\n console.log('timeout');\n window.open(\"\".concat(host, \"/SASLogon/timedout\"), 'Timed Out', params);\n }\n }, timeout * 1000);\n return _context.abrupt(\"return\", true);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return _keepViyaAlive.apply(this, arguments);\n}\nfunction ikeepViyaAlive(_x6, _x7) {\n return _ikeepViyaAlive.apply(this, arguments);\n}\nfunction _ikeepViyaAlive() {\n _ikeepViyaAlive = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee2(store, aliveURL) {\n var payload, action, services, host, i, s, ixsrf, xsrfHeaderName, _payload, _action;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n if (aliveURL !== null) {\n payload = {\n url: aliveURL,\n method: 'GET',\n headers: {\n Accept: '*/*'\n }\n };\n action = {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_6__.KEEP_ALIVE,\n route: 'keepAlive',\n payload: payload\n };\n if (aliveURL !== true) {\n store.dispatch(action);\n }\n }\n\n // This keeps the app server session alive\n services = (0,_getServices__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store);\n host = (0,_selectLogonInfo__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(store.getState()).host; // This keeps the services alive with their xsrf tokens valid\n i = 0;\n case 1:\n if (!(i < services.length)) {\n _context2.next = 4;\n break;\n }\n s = services[i];\n if (!(s.indexOf('_') === -1)) {\n _context2.next = 3;\n break;\n }\n if (!(s.indexOf('cas-http') === -1)) {\n _context2.next = 3;\n break;\n }\n ixsrf = (0,_getXsrfData__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(store, s);\n /* could be initialization state if null or have no xsrf */\n if (!(ixsrf !== null)) {\n _context2.next = 3;\n break;\n }\n xsrfHeaderName = ixsrf['x-csrf-header'];\n _payload = {\n url: \"\".concat(host, \"/\").concat(s, \"/\"),\n Accept: 'application/json, application/vnd.sas.api+json',\n withCredentials: true,\n method: 'GET',\n xsrfHeaderName: xsrfHeaderName,\n headers: {}\n };\n _payload.headers[xsrfHeaderName] = ixsrf['x-csrf-token'];\n _context2.next = 2;\n return (0,_request__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, _payload);\n case 2:\n _action = {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_6__.KEEP_ALIVE,\n route: 'keepAlive',\n payload: _payload\n };\n store.dispatch(_action);\n case 3:\n i++;\n _context2.next = 1;\n break;\n case 4:\n return _context2.abrupt(\"return\", true);\n case 5:\n case \"end\":\n return _context2.stop();\n }\n }, _callee2);\n }));\n return _ikeepViyaAlive.apply(this, arguments);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (keepViyaAlive);\n\n//# sourceURL=webpack://restaf/./store/keepViyaAlive.js?\n}");
2018
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _request__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./request */ \"./store/request.js\");\n/* harmony import */ var _getServices__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getServices */ \"./store/getServices.js\");\n/* harmony import */ var _getXsrfData__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getXsrfData */ \"./store/getXsrfData.js\");\n/* harmony import */ var _selectLogonInfo__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./selectLogonInfo */ \"./store/selectLogonInfo.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n\n\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\n\nfunction keepViyaAlive(_x, _x2, _x3, _x4, _x5) {\n return _keepViyaAlive.apply(this, arguments);\n}\nfunction _keepViyaAlive() {\n _keepViyaAlive = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee(store, aliveURL, interval, timeout, onTimeout) {\n var keepTimer;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n keepTimer = setInterval(function () {\n ikeepViyaAlive(store, aliveURL);\n }, interval * 1000);\n setTimeout(function () {\n console.log('Note: Stopping keepViyaAlive');\n clearInterval(keepTimer);\n if (onTimeout != null) {\n onTimeout();\n } else {\n var host = (0,_selectLogonInfo__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(store.getState()).host;\n var params = \"scrollbars=no,resizable=no,status=no,location=no,toolbar=no,menubar=no,width=0,height=0,left=-1000,top=-1000\";\n console.log('timeout');\n window.open(\"\".concat(host, \"/SASLogon/timedout\"), 'Timed Out', params);\n }\n }, timeout * 1000);\n return _context.abrupt(\"return\", true);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return _keepViyaAlive.apply(this, arguments);\n}\nfunction ikeepViyaAlive(_x6, _x7) {\n return _ikeepViyaAlive.apply(this, arguments);\n}\nfunction _ikeepViyaAlive() {\n _ikeepViyaAlive = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee2(store, aliveURL) {\n var payload, action, services, host, i, s, ixsrf, xsrfHeaderName, _payload, _action;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n if (aliveURL !== null) {\n payload = {\n url: aliveURL,\n method: 'GET',\n headers: {\n Accept: '*/*'\n }\n };\n action = {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_6__.KEEP_ALIVE,\n route: 'keepAlive',\n payload: payload\n };\n if (aliveURL !== true) {\n store.dispatch(action);\n }\n }\n\n // This keeps the app server session alive\n services = (0,_getServices__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store);\n host = (0,_selectLogonInfo__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(store.getState()).host; // This keeps the services alive with their xsrf tokens valid\n i = 0;\n case 1:\n if (!(i < services.length)) {\n _context2.next = 4;\n break;\n }\n s = services[i];\n if (!(s.indexOf('_') === -1)) {\n _context2.next = 3;\n break;\n }\n if (!(s.indexOf('cas-http') === -1)) {\n _context2.next = 3;\n break;\n }\n ixsrf = (0,_getXsrfData__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(store, s);\n /* could be initialization state if null or have no xsrf */\n if (!(ixsrf !== null)) {\n _context2.next = 3;\n break;\n }\n xsrfHeaderName = ixsrf['x-csrf-header'];\n _payload = {\n url: \"\".concat(host, \"/\").concat(s, \"/\"),\n Accept: 'application/json, application/vnd.sas.api+json',\n withCredentials: true,\n method: 'GET',\n xsrfHeaderName: xsrfHeaderName,\n headers: {}\n };\n _payload.headers[xsrfHeaderName] = ixsrf['x-csrf-token'];\n _context2.next = 2;\n return (0,_request__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, _payload);\n case 2:\n _action = {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_6__.KEEP_ALIVE,\n route: 'keepAlive',\n payload: _payload\n };\n store.dispatch(_action);\n case 3:\n i++;\n _context2.next = 1;\n break;\n case 4:\n return _context2.abrupt(\"return\", true);\n case 5:\n case \"end\":\n return _context2.stop();\n }\n }, _callee2);\n }));\n return _ikeepViyaAlive.apply(this, arguments);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (keepViyaAlive);\n\n//# sourceURL=webpack://restaf/./store/keepViyaAlive.js?\n}");
2019
2019
 
2020
2020
  /***/ }),
2021
2021
 
@@ -2026,7 +2026,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2026
2026
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2027
2027
 
2028
2028
  "use strict";
2029
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n/** \r\n * @description Logoff from Viya\r\n * @module logoff\r\n * @category restaf/core\r\n * @returns {promise} - result of logoff\r\n * @example\r\n * let r = await store.logoff();\r\n */\nfunction logoff(store) {\n //noinspection JSUnusedLocalSymbols\n return new Promise(function (resolve, reject) {\n var unSubscribe = null;\n var action = {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_0__.VIYA_LOGOFF,\n storeConfig: store.config,\n payload: {}\n };\n var logoffExit = function logoffExit() {\n var newState = store.getState().connections;\n var runStatus = newState.get('runStatus');\n if (runStatus === 'idle') {\n unSubscribe();\n resolve(runStatus);\n } else if (runStatus === 'error') {\n unSubscribe();\n reject(newState.get('statusInfo').toJS());\n }\n };\n unSubscribe = store.subscribe(logoffExit);\n store.dispatch(action);\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (logoff);\n\n//# sourceURL=webpack://restaf/./store/logoff.js?\n}");
2029
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n/** \n * @description Logoff from Viya\n * @module logoff\n * @category restaf/core\n * @returns {promise} - result of logoff\n * @example\n * let r = await store.logoff();\n */\nfunction logoff(store) {\n //noinspection JSUnusedLocalSymbols\n return new Promise(function (resolve, reject) {\n var unSubscribe = null;\n var action = {\n type: _actionTypes__WEBPACK_IMPORTED_MODULE_0__.VIYA_LOGOFF,\n storeConfig: store.config,\n payload: {}\n };\n var logoffExit = function logoffExit() {\n var newState = store.getState().connections;\n var runStatus = newState.get('runStatus');\n if (runStatus === 'idle') {\n unSubscribe();\n resolve(runStatus);\n } else if (runStatus === 'error') {\n unSubscribe();\n reject(newState.get('statusInfo').toJS());\n }\n };\n unSubscribe = store.subscribe(logoffExit);\n store.dispatch(action);\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (logoff);\n\n//# sourceURL=webpack://restaf/./store/logoff.js?\n}");
2030
2030
 
2031
2031
  /***/ }),
2032
2032
 
@@ -2037,7 +2037,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2037
2037
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2038
2038
 
2039
2039
  "use strict";
2040
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! qs */ \"../../../node_modules/qs/lib/index.js\");\n/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var url_parse__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! url-parse */ \"../../../node_modules/url-parse/index.js\");\n/* harmony import */ var url_parse__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(url_parse__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _keepViyaAlive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./keepViyaAlive */ \"./store/keepViyaAlive.js\");\n/* eslint-disable no-prototype-builtins */\n\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\n\n\n\n/**\r\n * @description logon or connect to Viya\r\n * @module logon\r\n * @category restaf/core\r\n * @param {rafLogonPayload} logonPayload See type definition for details\r\n * @returns {promise} returns a text 'done' if successful\r\n * @example\r\nlet restaf = require(\"@sassoftware/restaf\");\r\n\r\nlet logonPayload = {\r\n authType: 'password',\r\n host: process.env.VIYA_SERVER,\r\n clientID: 'sas.ec',\r\n clientSecret: '',\r\n user: 'sastest1',\r\n password: 'somepassword'\r\n};\r\n\r\nlet store = restaf.initStore();\r\n\r\nstore.logon(logonPayload)\r\n .then ( r => console.log(r))\r\n .catch( err => console.log(err));\r\n\r\n */\nvar logon = function logon(store, ipayload) {\n return new Promise(function (resolve, reject) {\n var unSubscribe;\n var action;\n var implicitLogon = false;\n var urlInfo = null;\n var payload = ipayload == null ? null : _objectSpread({}, ipayload);\n if (store.getState().connections.get('currentConnection') >= 0) {\n resolve('ready');\n } else {\n var logonExit = function logonExit() {\n var newState = store.getState().connections;\n var runStatus = newState.get('runStatus');\n if (runStatus === 'ready') {\n unSubscribe();\n if (ipayload != null && ipayload.keepAlive != null) {\n var interval = 300;\n var timeout = 14400;\n if (ipayload.timers != null) {\n var timers = ipayload.timers;\n if (typeof timers === 'string') {\n var opts = timers.split(',');\n interval = parseInt(opts[0]);\n timeout = parseInt(opts[1]);\n } else {\n interval = timers[0];\n timeout = timers[1];\n }\n }\n (0,_keepViyaAlive__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(store, ipayload.keepAlive, interval, timeout, ipayload.onTimeout);\n }\n resolve(runStatus);\n } else if (runStatus === 'error') {\n unSubscribe();\n reject(newState.get('statusInfo').toJS());\n }\n };\n\n //\n // check url if not password (no window) or when payload is null\n // this allows users of restaf-server|viya-appserverjs to LOGONPAYLOAD unconditionally to logon\n //\n\n if (payload === null || payload.authType === _actionTypes__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_IMPLICIT) {\n urlInfo = parseUrlNext();\n if (payload !== null && urlInfo !== null) {\n payload = _objectSpread(_objectSpread({}, payload), urlInfo);\n }\n }\n if (payload == null) {\n if (urlInfo !== null) {\n payload = urlInfo;\n } else {\n payload = {\n host: \"\".concat(window.location.protocol, \"//\").concat(window.location.host),\n authType: _actionTypes__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_SERVER\n };\n }\n }\n\n // persist options in payload - currently used for pup support\n // remove once testing of setting options in initStore is complete\n if (payload.options != null) {\n store.config.options = _objectSpread({}, payload.options);\n }\n\n // now make the final decision\n if (payload.authType === 'code') {\n payload.authType = 'server';\n }\n payload.options = store.config.options;\n switch (payload.authType) {\n case _actionTypes__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_TOKEN:\n case _actionTypes__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_SERVER:\n if (payload.host == null) {\n payload.host = \"\".concat(window.location.protocol, \"//\").concat(window.location.host);\n }\n break;\n case _actionTypes__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_IMPLICIT:\n if (payload.hasOwnProperty('token') === false) {\n implicitLogon = true;\n getToken(payload);\n resolve('Implicit Call');\n }\n break;\n case \"LOGOFF\":\n break;\n default:\n break;\n }\n if (!implicitLogon) {\n action = {\n type: payload.authType === 'LOGOFF' ? _actionTypes__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGOFF : _actionTypes__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON,\n payload: _objectSpread({}, payload)\n };\n // adding proxy option for use with axios\n payload.options.proxy = null;\n if (payload.options.proxyServer != null) {\n payload.options.proxy = url_parse__WEBPACK_IMPORTED_MODULE_3___default()(payload.options.proxyServer);\n }\n action.payload.sslOptions = store.config.hasOwnProperty('sslOptions') ? store.config.sslOptions : null;\n unSubscribe = store.subscribe(logonExit);\n action.storeConfig = store.config;\n // action.type = VIYA_LOGON;\n store.dispatch(action);\n }\n }\n });\n};\nfunction getToken(payload) {\n var x = \"\".concat(payload.host, \"/SASLogon/oauth/authorize?response_type=token&client_id=\").concat(payload.clientID);\n //noinspection JSUnresolvedVariable\n if (payload.redirect != null) {\n //noinspection JSUnresolvedVariable\n var redirectUri = \"\".concat(window.location.protocol, \"//\").concat(window.location.host, \"/\").concat(payload.redirect, \"?host=\").concat(payload.host);\n x = \"\".concat(x, \"&redirect_uri=\").concat(redirectUri);\n }\n window.location.replace(x);\n}\nfunction parseUrlNext() {\n if (window == null) {\n return null;\n }\n var url = url_parse__WEBPACK_IMPORTED_MODULE_3___default()(window.location, true);\n var loc = qs__WEBPACK_IMPORTED_MODULE_2___default().parse(url.hash);\n var q = url.query;\n if (q.host == null || loc.access_token == null) {\n return null;\n }\n var tokenType = 'bearer';\n if (loc['#token_type'] != null) {\n tokenType = loc['#token_type'];\n } else if (loc['token_type'] != null) {\n tokenType = loc['token_type'];\n }\n var payload = {\n host: q.host,\n authType: _actionTypes__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_IMPLICIT,\n tokenType: tokenType,\n token: loc.access_token\n };\n return payload;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (logon);\n\n//# sourceURL=webpack://restaf/./store/logon.js?\n}");
2040
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! qs */ \"../../../node_modules/qs/lib/index.js\");\n/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var url_parse__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! url-parse */ \"../../../node_modules/url-parse/index.js\");\n/* harmony import */ var url_parse__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(url_parse__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _keepViyaAlive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./keepViyaAlive */ \"./store/keepViyaAlive.js\");\n/* eslint-disable no-prototype-builtins */\n\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\n\n\n\n/**\n * @description logon or connect to Viya\n * @module logon\n * @category restaf/core\n * @param {rafLogonPayload} logonPayload See type definition for details\n * @returns {promise} returns a text 'done' if successful\n * @example\nlet restaf = require(\"@sassoftware/restaf\");\n\nlet logonPayload = {\n authType: 'password',\n host: process.env.VIYA_SERVER,\n clientID: 'sas.ec',\n clientSecret: '',\n user: 'sastest1',\n password: 'somepassword'\n};\n\nlet store = restaf.initStore();\n\nstore.logon(logonPayload)\n .then ( r => console.log(r))\n .catch( err => console.log(err));\n\n */\nvar logon = function logon(store, ipayload) {\n return new Promise(function (resolve, reject) {\n var unSubscribe;\n var action;\n var implicitLogon = false;\n var urlInfo = null;\n var payload = ipayload == null ? null : _objectSpread({}, ipayload);\n if (store.getState().connections.get('currentConnection') >= 0) {\n resolve('ready');\n } else {\n var logonExit = function logonExit() {\n var newState = store.getState().connections;\n var runStatus = newState.get('runStatus');\n if (runStatus === 'ready') {\n unSubscribe();\n if (ipayload != null && ipayload.keepAlive != null) {\n var interval = 300;\n var timeout = 14400;\n if (ipayload.timers != null) {\n var timers = ipayload.timers;\n if (typeof timers === 'string') {\n var opts = timers.split(',');\n interval = parseInt(opts[0]);\n timeout = parseInt(opts[1]);\n } else {\n interval = timers[0];\n timeout = timers[1];\n }\n }\n (0,_keepViyaAlive__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(store, ipayload.keepAlive, interval, timeout, ipayload.onTimeout);\n }\n resolve(runStatus);\n } else if (runStatus === 'error') {\n unSubscribe();\n reject(newState.get('statusInfo').toJS());\n }\n };\n\n //\n // check url if not password (no window) or when payload is null\n // this allows users of restaf-server|viya-appserverjs to LOGONPAYLOAD unconditionally to logon\n //\n\n if (payload === null || payload.authType === _actionTypes__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_IMPLICIT) {\n urlInfo = parseUrlNext();\n if (payload !== null && urlInfo !== null) {\n payload = _objectSpread(_objectSpread({}, payload), urlInfo);\n }\n }\n if (payload == null) {\n if (urlInfo !== null) {\n payload = urlInfo;\n } else {\n payload = {\n host: \"\".concat(window.location.protocol, \"//\").concat(window.location.host),\n authType: _actionTypes__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_SERVER\n };\n }\n }\n\n // persist options in payload - currently used for pup support\n // remove once testing of setting options in initStore is complete\n if (payload.options != null) {\n store.config.options = _objectSpread({}, payload.options);\n }\n\n // now make the final decision\n if (payload.authType === 'code') {\n payload.authType = 'server';\n }\n payload.options = store.config.options;\n switch (payload.authType) {\n case _actionTypes__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_TOKEN:\n case _actionTypes__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_SERVER:\n if (payload.host == null) {\n payload.host = \"\".concat(window.location.protocol, \"//\").concat(window.location.host);\n }\n break;\n case _actionTypes__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_IMPLICIT:\n if (payload.hasOwnProperty('token') === false) {\n implicitLogon = true;\n getToken(payload);\n resolve('Implicit Call');\n }\n break;\n case \"LOGOFF\":\n break;\n default:\n break;\n }\n if (!implicitLogon) {\n action = {\n type: payload.authType === 'LOGOFF' ? _actionTypes__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGOFF : _actionTypes__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON,\n payload: _objectSpread({}, payload)\n };\n // adding proxy option for use with axios\n payload.options.proxy = null;\n if (payload.options.proxyServer != null) {\n payload.options.proxy = url_parse__WEBPACK_IMPORTED_MODULE_3___default()(payload.options.proxyServer);\n }\n action.payload.sslOptions = store.config.hasOwnProperty('sslOptions') ? store.config.sslOptions : null;\n unSubscribe = store.subscribe(logonExit);\n action.storeConfig = store.config;\n // action.type = VIYA_LOGON;\n store.dispatch(action);\n }\n }\n });\n};\nfunction getToken(payload) {\n var x = \"\".concat(payload.host, \"/SASLogon/oauth/authorize?response_type=token&client_id=\").concat(payload.clientID);\n //noinspection JSUnresolvedVariable\n if (payload.redirect != null) {\n //noinspection JSUnresolvedVariable\n var redirectUri = \"\".concat(window.location.protocol, \"//\").concat(window.location.host, \"/\").concat(payload.redirect, \"?host=\").concat(payload.host);\n x = \"\".concat(x, \"&redirect_uri=\").concat(redirectUri);\n }\n window.location.replace(x);\n}\nfunction parseUrlNext() {\n if (window == null) {\n return null;\n }\n var url = url_parse__WEBPACK_IMPORTED_MODULE_3___default()(window.location, true);\n var loc = qs__WEBPACK_IMPORTED_MODULE_2___default().parse(url.hash);\n var q = url.query;\n if (q.host == null || loc.access_token == null) {\n return null;\n }\n var tokenType = 'bearer';\n if (loc['#token_type'] != null) {\n tokenType = loc['#token_type'];\n } else if (loc['token_type'] != null) {\n tokenType = loc['token_type'];\n }\n var payload = {\n host: q.host,\n authType: _actionTypes__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_IMPLICIT,\n tokenType: tokenType,\n token: loc.access_token\n };\n return payload;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (logon);\n\n//# sourceURL=webpack://restaf/./store/logon.js?\n}");
2041
2041
 
2042
2042
  /***/ }),
2043
2043
 
@@ -2048,7 +2048,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2048
2048
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2049
2049
 
2050
2050
  "use strict";
2051
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash */ \"../../../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _getResults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getResults */ \"./store/getResults.js\");\n/* harmony import */ var _getXsrfData__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getXsrfData */ \"./store/getXsrfData.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\nvar Immutable = __webpack_require__(/*! immutable */ \"../../../node_modules/immutable/dist/immutable.es.js\");\n\n\n\nvar prepareAction = function prepareAction(store, iroute, actionType, payload, delay, eventHandler, parentRoute, jobContext) {\n var paginator;\n var route;\n var link;\n var serviceName;\n var current;\n if (typeof iroute === \"string\") {\n current = (0,_getResults__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(store, iroute);\n route = iroute;\n } else {\n current = iroute;\n route = current.get(\"route\");\n }\n if (current === null || Immutable.Iterable.isIterable(current) === false) {\n return null;\n }\n /* */\n paginator = current.get(\"paginator\");\n link = current.get(\"link\").toJS();\n if (paginator) {\n route = current.get(\"parentRoute\");\n serviceName = route.split(\":/\")[0];\n } else {\n var searchPath = route.split(\":/\");\n serviceName = searchPath[0];\n searchPath.splice(1, 0, store.apiCallNo);\n route = searchPath.join(\":/\");\n store.apiCallNo++;\n }\n var action = {\n type: actionType,\n delay: delay == null ? 0 : delay,\n paginator: paginator,\n serviceName: serviceName,\n route: route,\n eventHandler: eventHandler,\n parentRoute: parentRoute,\n jobContext: jobContext,\n storeConfig: store.config,\n usedService: serviceName,\n link: link\n };\n if (link.href.split('/')[1] === 'casProxy') {\n action.usedService = 'casProxy';\n } else if (link.href.split('/')[1] === 'cas-shared-default-http') {\n action.usedService = 'cas-shared-default-http';\n }\n var xsrf = (0,_getXsrfData__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, action.usedService);\n if (payload != null) {\n action.payload = payload;\n }\n if (action.usedService === \"casProxy\" || action.usedService === \"cas-shared-default-http\") {\n xsrf = (0,_getXsrfData__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, action.usedService);\n var tkhttpid = (0,_getXsrfData__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, 'tkhttpid');\n if (tkhttpid != null) {\n xsrf['tkhttp-id'] = tkhttpid['tkhttp-id'];\n }\n }\n if (payload != null) {\n action.payload.xsrf = xsrf;\n } else {\n action.payload = {\n xsrf: xsrf\n };\n }\n return action;\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (prepareAction);\n\n//# sourceURL=webpack://restaf/./store/prepareAction.js?\n}");
2051
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash */ \"../../../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _getResults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getResults */ \"./store/getResults.js\");\n/* harmony import */ var _getXsrfData__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getXsrfData */ \"./store/getXsrfData.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\nvar Immutable = __webpack_require__(/*! immutable */ \"../../../node_modules/immutable/dist/immutable.es.js\");\n\n\n\nvar prepareAction = function prepareAction(store, iroute, actionType, payload, delay, eventHandler, parentRoute, jobContext) {\n var paginator;\n var route;\n var link;\n var serviceName;\n var current;\n if (typeof iroute === \"string\") {\n current = (0,_getResults__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(store, iroute);\n route = iroute;\n } else {\n current = iroute;\n route = current.get(\"route\");\n }\n if (current === null || Immutable.Iterable.isIterable(current) === false) {\n return null;\n }\n /* */\n paginator = current.get(\"paginator\");\n link = current.get(\"link\").toJS();\n if (paginator) {\n route = current.get(\"parentRoute\");\n serviceName = route.split(\":/\")[0];\n } else {\n var searchPath = route.split(\":/\");\n serviceName = searchPath[0];\n searchPath.splice(1, 0, store.apiCallNo);\n route = searchPath.join(\":/\");\n store.apiCallNo++;\n }\n var action = {\n type: actionType,\n delay: delay == null ? 0 : delay,\n paginator: paginator,\n serviceName: serviceName,\n route: route,\n eventHandler: eventHandler,\n parentRoute: parentRoute,\n jobContext: jobContext,\n storeConfig: store.config,\n usedService: serviceName,\n link: link\n };\n if (link.href.split('/')[1] === 'casProxy') {\n action.usedService = 'casProxy';\n } else if (link.href.split('/')[1] === 'cas-shared-default-http') {\n action.usedService = 'cas-shared-default-http';\n }\n var xsrf = (0,_getXsrfData__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, action.usedService);\n if (payload != null) {\n action.payload = payload;\n }\n if (action.usedService === \"casProxy\" || action.usedService === \"cas-shared-default-http\") {\n xsrf = (0,_getXsrfData__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, action.usedService);\n var tkhttpid = (0,_getXsrfData__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, 'tkhttpid');\n if (tkhttpid != null) {\n xsrf['tkhttp-id'] = tkhttpid['tkhttp-id'];\n }\n }\n if (payload != null) {\n action.payload.xsrf = xsrf;\n } else {\n action.payload = {\n xsrf: xsrf\n };\n }\n return action;\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (prepareAction);\n\n//# sourceURL=webpack://restaf/./store/prepareAction.js?\n}");
2052
2052
 
2053
2053
  /***/ }),
2054
2054
 
@@ -2059,7 +2059,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2059
2059
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2060
2060
 
2061
2061
  "use strict";
2062
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\nfunction readXsrfData(headers, service, iroute) {\n var xsrfData = {\n serviceName: service,\n iroute: iroute,\n 'x-csrf-header': null,\n 'tkhttp-id': null\n };\n var xheader = headers('x-csrf-header');\n xsrfData['x-csrf-header'] = xheader;\n // xsrf data is present\n if (xheader != null) {\n xsrfData[xheader] = headers(xheader.toLowerCase());\n }\n // save tkhtt-id for cas use\n xsrfData['tkhttp-id'] = headers('tkhttp-id') != null ? headers('tkhttp-id') : null;\n return xsrfData;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (readXsrfData);\n\n//# sourceURL=webpack://restaf/./store/readXsrfData.js?\n}");
2062
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\nfunction readXsrfData(headers, service, iroute) {\n var xsrfData = {\n serviceName: service,\n iroute: iroute,\n 'x-csrf-header': null,\n 'tkhttp-id': null\n };\n var xheader = headers('x-csrf-header');\n xsrfData['x-csrf-header'] = xheader;\n // xsrf data is present\n if (xheader != null) {\n xsrfData[xheader] = headers(xheader.toLowerCase());\n }\n // save tkhtt-id for cas use\n xsrfData['tkhttp-id'] = headers('tkhttp-id') != null ? headers('tkhttp-id') : null;\n return xsrfData;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (readXsrfData);\n\n//# sourceURL=webpack://restaf/./store/readXsrfData.js?\n}");
2063
2063
 
2064
2064
  /***/ }),
2065
2065
 
@@ -2070,7 +2070,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2070
2070
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2071
2071
 
2072
2072
  "use strict";
2073
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ \"../../../node_modules/axios/lib/axios.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved * * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * * you may not use this file except in compliance with the License.\r\n * * You may obtain a copy of the License at\r\n * *\r\n * * http://www.apache.org/licenses/LICENSE-2.0\r\n * *\r\n * * Unless required by applicable law or agreed to in writing, software\r\n * * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ----------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\nvar Https = null;\nif (false) // removed by dead control flow\n{}\nfunction request(_x, _x2, _x3) {\n return _request.apply(this, arguments);\n}\nfunction _request() {\n _request = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default().mark(function _callee(store, payload, reducer) {\n var config, c, opt, agent, r;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n config = _objectSpread({}, payload);\n if (payload.url.indexOf('https') !== -1 && Https !== null) {\n c = store.config;\n opt = {};\n if (c.httpOptions != null) {\n opt = c.httpOptions;\n }\n agent = new Https.Agent(opt);\n config.httpsAgent = agent;\n }\n _context.next = 1;\n return (0,axios__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(config);\n case 1:\n r = _context.sent;\n return _context.abrupt(\"return\", reducer == null ? r : reducer(r));\n case 2:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return _request.apply(this, arguments);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (request);\n\n//# sourceURL=webpack://restaf/./store/request.js?\n}");
2073
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ \"../../../node_modules/axios/lib/axios.js\");\n/*\n * ------------------------------------------------------------------------------------\n * * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved * * Licensed under the Apache License, Version 2.0 (the \"License\");\n * * you may not use this file except in compliance with the License.\n * * You may obtain a copy of the License at\n * *\n * * http://www.apache.org/licenses/LICENSE-2.0\n * *\n * * Unless required by applicable law or agreed to in writing, software\n * * distributed under the License is distributed on an \"AS IS\" BASIS,\n * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * * See the License for the specific language governing permissions and\n * limitations under the License.\n * ----------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\nvar Https = null;\nif (false) // removed by dead control flow\n{}\nfunction request(_x, _x2, _x3) {\n return _request.apply(this, arguments);\n}\nfunction _request() {\n _request = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default().mark(function _callee(store, payload, reducer) {\n var config, c, opt, agent, r;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n config = _objectSpread({}, payload);\n if (payload.url.indexOf('https') !== -1 && Https !== null) {\n c = store.config;\n opt = {};\n if (c.httpOptions != null) {\n opt = c.httpOptions;\n }\n agent = new Https.Agent(opt);\n config.httpsAgent = agent;\n }\n _context.next = 1;\n return (0,axios__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(config);\n case 1:\n r = _context.sent;\n return _context.abrupt(\"return\", reducer == null ? r : reducer(r));\n case 2:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return _request.apply(this, arguments);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (request);\n\n//# sourceURL=webpack://restaf/./store/request.js?\n}");
2074
2074
 
2075
2075
  /***/ }),
2076
2076
 
@@ -2081,7 +2081,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2081
2081
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2082
2082
 
2083
2083
  "use strict";
2084
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _apiCall__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./apiCall */ \"./store/apiCall.js\");\n/* harmony import */ var _apiCallAll__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiCallAll */ \"./store/apiCallAll.js\");\n/* harmony import */ var _runAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./runAction */ \"./store/runAction.js\");\n/* harmony import */ var _apiSubmit__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./apiSubmit */ \"./store/apiSubmit.js\");\n/* harmony import */ var _jobState__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./jobState */ \"./store/jobState.js\");\n/* harmony import */ var _jobStateAll__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./jobStateAll */ \"./store/jobStateAll.js\");\n/* harmony import */ var _request__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./request */ \"./store/request.js\");\n/* harmony import */ var _getServices__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./getServices */ \"./store/getServices.js\");\n/* harmony import */ var _addServices__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./addServices */ \"./store/addServices.js\");\n/* harmony import */ var _getServiceRoot__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./getServiceRoot */ \"./store/getServiceRoot.js\");\n/* harmony import */ var _logon__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./logon */ \"./store/logon.js\");\n/* harmony import */ var _logoff__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./logoff */ \"./store/logoff.js\");\n/* harmony import */ var _endStore__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./endStore */ \"./store/endStore.js\");\n/* harmony import */ var _routeToObj__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./routeToObj */ \"./store/routeToObj.js\");\n/* harmony import */ var _selectLogonInfo__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./selectLogonInfo */ \"./store/selectLogonInfo.js\");\n/* harmony import */ var _appData__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./appData */ \"./store/appData.js\");\n/* harmony import */ var _getXsrfData__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./getXsrfData */ \"./store/getXsrfData.js\");\n/* harmony import */ var _deleteRafObject__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./deleteRafObject */ \"./store/deleteRafObject.js\");\n/*\r\n* ------------------------------------------------------------------------------------\r\n* Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n* You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing, software\r\n* distributed under the License is distributed on an \"AS IS\" BASIS,\r\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n* See the License for the specific language governing permissions and\r\n* limitations under the License.\r\n* ---------------------------------------------------------------------------------------\r\n*\r\n*/\n\n\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\n// import jobStatus from './jobStatus';\n\n\n\n\n\n\n\n\n\n\n\nfunction restoreStore(store) {\n var newx = {\n logon: _logon__WEBPACK_IMPORTED_MODULE_12__[\"default\"].bind(null, store),\n logoff: _logoff__WEBPACK_IMPORTED_MODULE_13__[\"default\"].bind(null, store),\n connection: loggedOn.bind(null, store),\n addServices: _addServices__WEBPACK_IMPORTED_MODULE_10__[\"default\"].bind(null, store),\n getServices: _getServices__WEBPACK_IMPORTED_MODULE_9__[\"default\"].bind(null, store),\n apiCall: _apiCall__WEBPACK_IMPORTED_MODULE_2__[\"default\"].bind(null, store),\n runAction: _runAction__WEBPACK_IMPORTED_MODULE_4__[\"default\"].bind(null, store),\n apiCallAll: _apiCallAll__WEBPACK_IMPORTED_MODULE_3__[\"default\"].bind(null, store),\n rafObject: _routeToObj__WEBPACK_IMPORTED_MODULE_15__[\"default\"].bind(null, store),\n deleteRafObject: _deleteRafObject__WEBPACK_IMPORTED_MODULE_19__[\"default\"].bind(null, store),\n jobState: _jobState__WEBPACK_IMPORTED_MODULE_6__[\"default\"].bind(null, store),\n jobStateAll: _jobStateAll__WEBPACK_IMPORTED_MODULE_7__[\"default\"].bind(null, store),\n submit: _apiSubmit__WEBPACK_IMPORTED_MODULE_5__[\"default\"].bind(null, store),\n submitStatus: getApiStatus.bind(null, store),\n setAppData: _appData__WEBPACK_IMPORTED_MODULE_17__[\"default\"].bind(null, store, _actionTypes__WEBPACK_IMPORTED_MODULE_1__.APP_DATA),\n getAppData: getAppData.bind(null, store),\n setXsrfData: _appData__WEBPACK_IMPORTED_MODULE_17__[\"default\"].bind(null, store, _actionTypes__WEBPACK_IMPORTED_MODULE_1__.API_XSRF),\n getXsrfData: _getXsrfData__WEBPACK_IMPORTED_MODULE_18__[\"default\"].bind(null, store),\n getState: store.getState,\n endStore: _endStore__WEBPACK_IMPORTED_MODULE_14__[\"default\"].bind(null, store),\n store: store,\n getServiceRoot: _getServiceRoot__WEBPACK_IMPORTED_MODULE_11__[\"default\"].bind(null, store),\n request: _request__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n };\n var newStore = _objectSpread({\n store: store\n }, newx);\n return newStore;\n}\nfunction loggedOn(store) {\n return (0,_selectLogonInfo__WEBPACK_IMPORTED_MODULE_16__[\"default\"])(store.getState());\n}\nfunction getAppData(store) {\n var list = store.getState()[_actionTypes__WEBPACK_IMPORTED_MODULE_1__.APP_DATA_ROOT];\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n var path = args.length > 0 ? ['userData'].concat(args) : ['userData'];\n return list.getIn(path, null);\n}\nfunction getApiStatus(store, jobContext) {\n var list = store.getState()[_actionTypes__WEBPACK_IMPORTED_MODULE_1__.API_STATUS_ROOT];\n var result = null;\n if (!jobContext) {\n result = list.get('routeList');\n } else {\n var r = list.getIn(['userData', jobContext], null);\n if (r !== null) {\n result = r.toJS();\n result.job = (0,_routeToObj__WEBPACK_IMPORTED_MODULE_15__[\"default\"])(store, result.route);\n }\n }\n return result;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (restoreStore);\n\n//# sourceURL=webpack://restaf/./store/restoreStore.js?\n}");
2084
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/* harmony import */ var _apiCall__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./apiCall */ \"./store/apiCall.js\");\n/* harmony import */ var _apiCallAll__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiCallAll */ \"./store/apiCallAll.js\");\n/* harmony import */ var _runAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./runAction */ \"./store/runAction.js\");\n/* harmony import */ var _apiSubmit__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./apiSubmit */ \"./store/apiSubmit.js\");\n/* harmony import */ var _jobState__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./jobState */ \"./store/jobState.js\");\n/* harmony import */ var _jobStateAll__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./jobStateAll */ \"./store/jobStateAll.js\");\n/* harmony import */ var _request__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./request */ \"./store/request.js\");\n/* harmony import */ var _getServices__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./getServices */ \"./store/getServices.js\");\n/* harmony import */ var _addServices__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./addServices */ \"./store/addServices.js\");\n/* harmony import */ var _getServiceRoot__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./getServiceRoot */ \"./store/getServiceRoot.js\");\n/* harmony import */ var _logon__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./logon */ \"./store/logon.js\");\n/* harmony import */ var _logoff__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./logoff */ \"./store/logoff.js\");\n/* harmony import */ var _endStore__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./endStore */ \"./store/endStore.js\");\n/* harmony import */ var _routeToObj__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./routeToObj */ \"./store/routeToObj.js\");\n/* harmony import */ var _selectLogonInfo__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./selectLogonInfo */ \"./store/selectLogonInfo.js\");\n/* harmony import */ var _appData__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./appData */ \"./store/appData.js\");\n/* harmony import */ var _getXsrfData__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./getXsrfData */ \"./store/getXsrfData.js\");\n/* harmony import */ var _deleteRafObject__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./deleteRafObject */ \"./store/deleteRafObject.js\");\n/*\n* ------------------------------------------------------------------------------------\n* Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n* ---------------------------------------------------------------------------------------\n*\n*/\n\n\n\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\n// import jobStatus from './jobStatus';\n\n\n\n\n\n\n\n\n\n\n\nfunction restoreStore(store) {\n var newx = {\n logon: _logon__WEBPACK_IMPORTED_MODULE_12__[\"default\"].bind(null, store),\n logoff: _logoff__WEBPACK_IMPORTED_MODULE_13__[\"default\"].bind(null, store),\n connection: loggedOn.bind(null, store),\n addServices: _addServices__WEBPACK_IMPORTED_MODULE_10__[\"default\"].bind(null, store),\n getServices: _getServices__WEBPACK_IMPORTED_MODULE_9__[\"default\"].bind(null, store),\n apiCall: _apiCall__WEBPACK_IMPORTED_MODULE_2__[\"default\"].bind(null, store),\n runAction: _runAction__WEBPACK_IMPORTED_MODULE_4__[\"default\"].bind(null, store),\n apiCallAll: _apiCallAll__WEBPACK_IMPORTED_MODULE_3__[\"default\"].bind(null, store),\n rafObject: _routeToObj__WEBPACK_IMPORTED_MODULE_15__[\"default\"].bind(null, store),\n deleteRafObject: _deleteRafObject__WEBPACK_IMPORTED_MODULE_19__[\"default\"].bind(null, store),\n jobState: _jobState__WEBPACK_IMPORTED_MODULE_6__[\"default\"].bind(null, store),\n jobStateAll: _jobStateAll__WEBPACK_IMPORTED_MODULE_7__[\"default\"].bind(null, store),\n submit: _apiSubmit__WEBPACK_IMPORTED_MODULE_5__[\"default\"].bind(null, store),\n submitStatus: getApiStatus.bind(null, store),\n setAppData: _appData__WEBPACK_IMPORTED_MODULE_17__[\"default\"].bind(null, store, _actionTypes__WEBPACK_IMPORTED_MODULE_1__.APP_DATA),\n getAppData: getAppData.bind(null, store),\n setXsrfData: _appData__WEBPACK_IMPORTED_MODULE_17__[\"default\"].bind(null, store, _actionTypes__WEBPACK_IMPORTED_MODULE_1__.API_XSRF),\n getXsrfData: _getXsrfData__WEBPACK_IMPORTED_MODULE_18__[\"default\"].bind(null, store),\n getState: store.getState,\n endStore: _endStore__WEBPACK_IMPORTED_MODULE_14__[\"default\"].bind(null, store),\n store: store,\n getServiceRoot: _getServiceRoot__WEBPACK_IMPORTED_MODULE_11__[\"default\"].bind(null, store),\n request: _request__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n };\n var newStore = _objectSpread({\n store: store\n }, newx);\n return newStore;\n}\nfunction loggedOn(store) {\n return (0,_selectLogonInfo__WEBPACK_IMPORTED_MODULE_16__[\"default\"])(store.getState());\n}\nfunction getAppData(store) {\n var list = store.getState()[_actionTypes__WEBPACK_IMPORTED_MODULE_1__.APP_DATA_ROOT];\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n var path = args.length > 0 ? ['userData'].concat(args) : ['userData'];\n return list.getIn(path, null);\n}\nfunction getApiStatus(store, jobContext) {\n var list = store.getState()[_actionTypes__WEBPACK_IMPORTED_MODULE_1__.API_STATUS_ROOT];\n var result = null;\n if (!jobContext) {\n result = list.get('routeList');\n } else {\n var r = list.getIn(['userData', jobContext], null);\n if (r !== null) {\n result = r.toJS();\n result.job = (0,_routeToObj__WEBPACK_IMPORTED_MODULE_15__[\"default\"])(store, result.route);\n }\n }\n return result;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (restoreStore);\n\n//# sourceURL=webpack://restaf/./store/restoreStore.js?\n}");
2085
2085
 
2086
2086
  /***/ }),
2087
2087
 
@@ -2092,7 +2092,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2092
2092
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2093
2093
 
2094
2094
  "use strict";
2095
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _extendFolder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./extendFolder */ \"./store/extendFolder.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\nfunction routeToObj(store, route) {\n var path = route.split(':/');\n var service = path.shift();\n var folder = store.getState()[service];\n folder = path.length > 0 ? folder.getIn(path) : folder;\n return (0,_extendFolder__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, folder);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (routeToObj);\n\n//# sourceURL=webpack://restaf/./store/routeToObj.js?\n}");
2095
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _extendFolder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./extendFolder */ \"./store/extendFolder.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\nfunction routeToObj(store, route) {\n var path = route.split(':/');\n var service = path.shift();\n var folder = store.getState()[service];\n folder = path.length > 0 ? folder.getIn(path) : folder;\n return (0,_extendFolder__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(store, folder);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (routeToObj);\n\n//# sourceURL=webpack://restaf/./store/routeToObj.js?\n}");
2096
2096
 
2097
2097
  /***/ }),
2098
2098
 
@@ -2103,7 +2103,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2103
2103
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2104
2104
 
2105
2105
  "use strict";
2106
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _apiCall__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./apiCall */ \"./store/apiCall.js\");\n/* harmony import */ var _jobState__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./jobState */ \"./store/jobState.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved * * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * * you may not use this file except in compliance with the License.\r\n * * You may obtain a copy of the License at\r\n * *\r\n * * http://www.apache.org/licenses/LICENSE-2.0\r\n * *\r\n * * Unless required by applicable law or agreed to in writing, software\r\n * * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ----------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\n\n\n\n/**\r\n * @Description Run a given action\r\n * @async\r\n * @module runAction\r\n * @category restaf/core\r\n * @param {rafObject} session - cas session\r\n * @param {casPayload} payload - payload for cas actions\r\n * @returns {promise} returns rafObject\r\n * @example\r\n * \r\nlet restaf = require(\"@sassoftware/restaf\");\r\nlet payload = require('./config')();\r\nlet {casSetup} = require(\"@sassoftware/restaflib\");\r\n\r\nlet prtUtil = require(\"./prtUtil\");\r\n\r\nlet store = restaf.initStore({casProxy: true});\r\nasync function example () {\r\n console.log(payload);\r\n let { session } = await casSetup(store, payload, \"cas\");\r\n\r\n let p = {\r\n action: \"echo\",\r\n data : { code: \"data casuser.data1; x=1;put x= ; run; \" }\r\n };\r\n \r\n let r = await store.runAction(session, p);\r\n console.log(JSON.stringify(r.items(), null, 4));\r\n return \"done\";\r\n}\r\n\r\nexample()\r\n .then(r => console.log(r))\r\n .catch(err => console.log(err));\r\n \r\n */\nfunction runAction(_x, _x2, _x3, _x4, _x5, _x6, _x7, _x8) {\n return _runAction.apply(this, arguments);\n}\nfunction _runAction() {\n _runAction = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee(store, session, payload, context, onCompletion, maxTries, delay, progress) {\n var actionResult;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n actionResult = null;\n if (!(maxTries != null)) {\n _context.next = 2;\n break;\n }\n _context.next = 1;\n return submitAction(store, session, payload, context, maxTries, delay, progress);\n case 1:\n actionResult = _context.sent;\n _context.next = 4;\n break;\n case 2:\n _context.next = 3;\n return (0,_apiCall__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, session.links('execute'), payload, 0);\n case 3:\n actionResult = _context.sent;\n case 4:\n if (!(casError(actionResult) === true)) {\n _context.next = 5;\n break;\n }\n console.log(JSON.stringify(actionResult.items(), null, 4));\n throw JSON.stringify(actionResult.items('disposition').toJS());\n case 5:\n if (onCompletion != null) {\n onCompletion(context, actionResult);\n }\n return _context.abrupt(\"return\", actionResult);\n case 6:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return _runAction.apply(this, arguments);\n}\nfunction casError(actionResult) {\n var statusCode = actionResult.items('disposition', 'statusCode');\n var severity = actionResult.items('disposition', 'severity').toLowerCase();\n return statusCode !== 0 || severity === 'error' ? true : false;\n}\nfunction submitAction(_x9, _x0, _x1, _x10, _x11, _x12, _x13) {\n return _submitAction.apply(this, arguments);\n}\nfunction _submitAction() {\n _submitAction = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee2(store, session, payload, context, maxTries, delay, progress) {\n var actionPromise, r, result;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n actionPromise = (0,_apiCall__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, session.links('execute'), payload, 0);\n _context2.next = 1;\n return (0,_jobState__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store, session, null, maxTries, delay, progress, context, true);\n case 1:\n r = _context2.sent;\n result = actionPromise.then(function (result) {\n return result;\n }, function (err) {\n return err;\n });\n return _context2.abrupt(\"return\", result);\n case 2:\n case \"end\":\n return _context2.stop();\n }\n }, _callee2);\n }));\n return _submitAction.apply(this, arguments);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (runAction);\n\n//# sourceURL=webpack://restaf/./store/runAction.js?\n}");
2106
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../../../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _apiCall__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./apiCall */ \"./store/apiCall.js\");\n/* harmony import */ var _jobState__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./jobState */ \"./store/jobState.js\");\n/*\n * ------------------------------------------------------------------------------------\n * * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights reserved * * Licensed under the Apache License, Version 2.0 (the \"License\");\n * * you may not use this file except in compliance with the License.\n * * You may obtain a copy of the License at\n * *\n * * http://www.apache.org/licenses/LICENSE-2.0\n * *\n * * Unless required by applicable law or agreed to in writing, software\n * * distributed under the License is distributed on an \"AS IS\" BASIS,\n * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * * See the License for the specific language governing permissions and\n * limitations under the License.\n * ----------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\n\n\n/**\n * @Description Run a given action\n * @async\n * @module runAction\n * @category restaf/core\n * @param {rafObject} session - cas session\n * @param {casPayload} payload - payload for cas actions\n * @returns {promise} returns rafObject\n * @example\n * \nlet restaf = require(\"@sassoftware/restaf\");\nlet payload = require('./config')();\nlet {casSetup} = require(\"@sassoftware/restaflib\");\n\nlet prtUtil = require(\"./prtUtil\");\n\nlet store = restaf.initStore({casProxy: true});\nasync function example () {\n console.log(payload);\n let { session } = await casSetup(store, payload, \"cas\");\n\n let p = {\n action: \"echo\",\n data : { code: \"data casuser.data1; x=1;put x= ; run; \" }\n };\n \n let r = await store.runAction(session, p);\n console.log(JSON.stringify(r.items(), null, 4));\n return \"done\";\n}\n\nexample()\n .then(r => console.log(r))\n .catch(err => console.log(err));\n \n */\nfunction runAction(_x, _x2, _x3, _x4, _x5, _x6, _x7, _x8) {\n return _runAction.apply(this, arguments);\n}\nfunction _runAction() {\n _runAction = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee(store, session, payload, context, onCompletion, maxTries, delay, progress) {\n var actionResult;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n actionResult = null;\n if (!(maxTries != null)) {\n _context.next = 2;\n break;\n }\n _context.next = 1;\n return submitAction(store, session, payload, context, maxTries, delay, progress);\n case 1:\n actionResult = _context.sent;\n _context.next = 4;\n break;\n case 2:\n _context.next = 3;\n return (0,_apiCall__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, session.links('execute'), payload, 0);\n case 3:\n actionResult = _context.sent;\n case 4:\n if (!(casError(actionResult) === true)) {\n _context.next = 5;\n break;\n }\n console.log(JSON.stringify(actionResult.items(), null, 4));\n throw JSON.stringify(actionResult.items('disposition').toJS());\n case 5:\n if (onCompletion != null) {\n onCompletion(context, actionResult);\n }\n return _context.abrupt(\"return\", actionResult);\n case 6:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return _runAction.apply(this, arguments);\n}\nfunction casError(actionResult) {\n var statusCode = actionResult.items('disposition', 'statusCode');\n var severity = actionResult.items('disposition', 'severity').toLowerCase();\n return statusCode !== 0 || severity === 'error' ? true : false;\n}\nfunction submitAction(_x9, _x0, _x1, _x10, _x11, _x12, _x13) {\n return _submitAction.apply(this, arguments);\n}\nfunction _submitAction() {\n _submitAction = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee2(store, session, payload, context, maxTries, delay, progress) {\n var actionPromise, r, result;\n return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n actionPromise = (0,_apiCall__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(store, session.links('execute'), payload, 0);\n _context2.next = 1;\n return (0,_jobState__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(store, session, null, maxTries, delay, progress, context, true);\n case 1:\n r = _context2.sent;\n result = actionPromise.then(function (result) {\n return result;\n }, function (err) {\n return err;\n });\n return _context2.abrupt(\"return\", result);\n case 2:\n case \"end\":\n return _context2.stop();\n }\n }, _callee2);\n }));\n return _submitAction.apply(this, arguments);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (runAction);\n\n//# sourceURL=webpack://restaf/./store/runAction.js?\n}");
2107
2107
 
2108
2108
  /***/ }),
2109
2109
 
@@ -2114,7 +2114,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2114
2114
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2115
2115
 
2116
2116
  "use strict";
2117
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ selectLogonInfo)\n/* harmony export */ });\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\nfunction selectLogonInfo(mainState) {\n var state = mainState.connections;\n var currentNo = state.get('currentConnection');\n return currentNo === -1 ? null : state.get('connections').get(currentNo).toJS().logonInfo;\n}\n\n//# sourceURL=webpack://restaf/./store/selectLogonInfo.js?\n}");
2117
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ selectLogonInfo)\n/* harmony export */ });\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\nfunction selectLogonInfo(mainState) {\n var state = mainState.connections;\n var currentNo = state.get('currentConnection');\n return currentNo === -1 ? null : state.get('connections').get(currentNo).toJS().logonInfo;\n}\n\n//# sourceURL=webpack://restaf/./store/selectLogonInfo.js?\n}");
2118
2118
 
2119
2119
  /***/ }),
2120
2120
 
@@ -2125,7 +2125,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2125
2125
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2126
2126
 
2127
2127
  "use strict";
2128
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _serverCalls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../serverCalls */ \"./serverCalls/index.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\nvar SASLogoffOauthLink = function SASLogoffOauthLink() {\n return {\n logoff: _serverCalls__WEBPACK_IMPORTED_MODULE_0__.request,\n link: {\n href: '/SASLogon/logout',\n method: 'GET',\n rel: 'logoff',\n responseType: 'application/json',\n uri: '/SASLogon/logout'\n }\n };\n};\n/*\r\n * redirectUri not specified - /SASLogon/oauth/token?\r\n */\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SASLogoffOauthLink);\n\n//# sourceURL=webpack://restaf/./utils/SASLogoffOauthLink.js?\n}");
2128
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _serverCalls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../serverCalls */ \"./serverCalls/index.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\nvar SASLogoffOauthLink = function SASLogoffOauthLink() {\n return {\n logoff: _serverCalls__WEBPACK_IMPORTED_MODULE_0__.request,\n link: {\n href: '/SASLogon/logout',\n method: 'GET',\n rel: 'logoff',\n responseType: 'application/json',\n uri: '/SASLogon/logout'\n }\n };\n};\n/*\n * redirectUri not specified - /SASLogon/oauth/token?\n */\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SASLogoffOauthLink);\n\n//# sourceURL=webpack://restaf/./utils/SASLogoffOauthLink.js?\n}");
2129
2129
 
2130
2130
  /***/ }),
2131
2131
 
@@ -2136,7 +2136,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2136
2136
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2137
2137
 
2138
2138
  "use strict";
2139
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _serverCalls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../serverCalls */ \"./serverCalls/index.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\n\nvar SASLogonOauthLink = function SASLogonOauthLink(type) {\n if (type === _actionTypes__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_PASSWORD || type == undefined) {\n return {\n logon: _serverCalls__WEBPACK_IMPORTED_MODULE_0__.trustedGrant,\n link: {\n href: '/SASLogon/oauth/token',\n method: 'POST',\n rel: 'logon',\n responseType: 'application/json',\n type: 'application/x-www-form-urlencoded',\n uri: '/SASLogon/oauth/token'\n }\n };\n } else {\n return {\n keepAlive: _serverCalls__WEBPACK_IMPORTED_MODULE_0__.keepAlive\n };\n }\n};\n\n/*\r\nconst SASLogoffOauthLink = function () {\r\n return (\r\n {\r\n logoff: request,\r\n link : {\r\n href : '/SASLogon/logout',\r\n method : 'GET',\r\n rel : 'logon',\r\n responseType: 'application/json',\r\n uri : '/SASLogon/logout'\r\n }\r\n });\r\n\r\n};\r\n*/\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SASLogonOauthLink);\n\n//# sourceURL=webpack://restaf/./utils/SASLogonOauthLink.js?\n}");
2139
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _serverCalls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../serverCalls */ \"./serverCalls/index.js\");\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\nvar SASLogonOauthLink = function SASLogonOauthLink(type) {\n if (type === _actionTypes__WEBPACK_IMPORTED_MODULE_1__.VIYA_LOGON_PASSWORD || type == undefined) {\n return {\n logon: _serverCalls__WEBPACK_IMPORTED_MODULE_0__.trustedGrant,\n link: {\n href: '/SASLogon/oauth/token',\n method: 'POST',\n rel: 'logon',\n responseType: 'application/json',\n type: 'application/x-www-form-urlencoded',\n uri: '/SASLogon/oauth/token'\n }\n };\n } else {\n return {\n keepAlive: _serverCalls__WEBPACK_IMPORTED_MODULE_0__.keepAlive\n };\n }\n};\n\n/*\nconst SASLogoffOauthLink = function () {\n return (\n {\n logoff: request,\n link : {\n href : '/SASLogon/logout',\n method : 'GET',\n rel : 'logon',\n responseType: 'application/json',\n uri : '/SASLogon/logout'\n }\n });\n\n};\n*/\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SASLogonOauthLink);\n\n//# sourceURL=webpack://restaf/./utils/SASLogonOauthLink.js?\n}");
2140
2140
 
2141
2141
  /***/ }),
2142
2142
 
@@ -2147,7 +2147,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2147
2147
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2148
2148
 
2149
2149
  "use strict";
2150
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SASLogoffOauthLink: () => (/* reexport safe */ _SASLogoffOauthLink__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n/* harmony export */ SASLogonOauthLink: () => (/* reexport safe */ _SASLogonOauthLink__WEBPACK_IMPORTED_MODULE_1__[\"default\"]),\n/* harmony export */ setBadStatus: () => (/* reexport safe */ _statusFuncs__WEBPACK_IMPORTED_MODULE_0__.setBadStatus),\n/* harmony export */ setGoodStatus: () => (/* reexport safe */ _statusFuncs__WEBPACK_IMPORTED_MODULE_0__.setGoodStatus),\n/* harmony export */ statusInfoStruct: () => (/* reexport safe */ _rootStruct__WEBPACK_IMPORTED_MODULE_4__.statusInfoStruct)\n/* harmony export */ });\n/* harmony import */ var _statusFuncs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./statusFuncs */ \"./utils/statusFuncs.js\");\n/* harmony import */ var _SASLogonOauthLink__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SASLogonOauthLink */ \"./utils/SASLogonOauthLink.js\");\n/* harmony import */ var _SASLogoffOauthLink__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SASLogoffOauthLink */ \"./utils/SASLogoffOauthLink.js\");\n/* harmony import */ var _routeOrFolder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./routeOrFolder */ \"./utils/routeOrFolder.js\");\n/* harmony import */ var _rootStruct__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./rootStruct */ \"./utils/rootStruct.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://restaf/./utils/index.js?\n}");
2150
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SASLogoffOauthLink: () => (/* reexport safe */ _SASLogoffOauthLink__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n/* harmony export */ SASLogonOauthLink: () => (/* reexport safe */ _SASLogonOauthLink__WEBPACK_IMPORTED_MODULE_1__[\"default\"]),\n/* harmony export */ setBadStatus: () => (/* reexport safe */ _statusFuncs__WEBPACK_IMPORTED_MODULE_0__.setBadStatus),\n/* harmony export */ setGoodStatus: () => (/* reexport safe */ _statusFuncs__WEBPACK_IMPORTED_MODULE_0__.setGoodStatus),\n/* harmony export */ statusInfoStruct: () => (/* reexport safe */ _rootStruct__WEBPACK_IMPORTED_MODULE_4__.statusInfoStruct)\n/* harmony export */ });\n/* harmony import */ var _statusFuncs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./statusFuncs */ \"./utils/statusFuncs.js\");\n/* harmony import */ var _SASLogonOauthLink__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SASLogonOauthLink */ \"./utils/SASLogonOauthLink.js\");\n/* harmony import */ var _SASLogoffOauthLink__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SASLogoffOauthLink */ \"./utils/SASLogoffOauthLink.js\");\n/* harmony import */ var _routeOrFolder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./routeOrFolder */ \"./utils/routeOrFolder.js\");\n/* harmony import */ var _rootStruct__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./rootStruct */ \"./utils/rootStruct.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://restaf/./utils/index.js?\n}");
2151
2151
 
2152
2152
  /***/ }),
2153
2153
 
@@ -2158,7 +2158,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2158
2158
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2159
2159
 
2160
2160
  "use strict";
2161
- eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ itemsStruct: () => (/* binding */ itemsStruct),\n/* harmony export */ statusInfoStruct: () => (/* binding */ statusInfoStruct),\n/* harmony export */ tLinkStruct: () => (/* binding */ tLinkStruct)\n/* harmony export */ });\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\n\nfunction tLinkStruct(name, type, service) {\n if (service === _actionTypes__WEBPACK_IMPORTED_MODULE_0__.APP_DATA_ROOT || service === _actionTypes__WEBPACK_IMPORTED_MODULE_0__.API_STATUS_ROOT || service === _actionTypes__WEBPACK_IMPORTED_MODULE_0__.API_XSRF_ROOT) {\n return {\n structType: service,\n type: service,\n route: service,\n routeList: [],\n userData: {}\n };\n }\n var relPath = {\n structType: type,\n type: type,\n title: name,\n method: 'GET',\n /* for cmd tLinks - useful in UI */\n iconfig: {},\n /* input config */\n payload: {},\n statusInfo: statusInfoStruct(),\n runStatus: 'idle',\n parentRoute: '',\n route: '',\n resultType: '',\n links: {},\n /* same structures */\n /* cmds : {}, */\n scrollCmds: {},\n /* same structure */\n paginator: false,\n itemsList: [],\n items: [],\n /* items Struct */\n details: {},\n stateEvent: null,\n responseHeaders: {},\n link: null,\n raw: {}\n };\n if (arguments.length === 3) {\n relPath.link = {\n method: 'GET',\n title: service,\n href: '/' + service + '/',\n rel: 'root',\n type: 'application/vnd.sas.api',\n uri: '/' + service + '/'\n };\n relPath.route = \"\".concat(service, \":/\").concat(service);\n relPath.parentRoute = service;\n }\n return relPath;\n}\n\n/* also for info */\n\nfunction itemsStruct() {\n return {\n name: '',\n type: '',\n resultType: '',\n cmds: null,\n data: null\n };\n}\nfunction statusInfoStruct() {\n return {\n status: 0,\n statusText: ' ',\n error: false,\n details: ' '\n };\n}\n\n\n//# sourceURL=webpack://restaf/./utils/rootStruct.js?\n}");
2161
+ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ itemsStruct: () => (/* binding */ itemsStruct),\n/* harmony export */ statusInfoStruct: () => (/* binding */ statusInfoStruct),\n/* harmony export */ tLinkStruct: () => (/* binding */ tLinkStruct)\n/* harmony export */ });\n/* harmony import */ var _actionTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../actionTypes */ \"./actionTypes/index.js\");\n/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\n\nfunction tLinkStruct(name, type, service) {\n if (service === _actionTypes__WEBPACK_IMPORTED_MODULE_0__.APP_DATA_ROOT || service === _actionTypes__WEBPACK_IMPORTED_MODULE_0__.API_STATUS_ROOT || service === _actionTypes__WEBPACK_IMPORTED_MODULE_0__.API_XSRF_ROOT) {\n return {\n structType: service,\n type: service,\n route: service,\n routeList: [],\n userData: {}\n };\n }\n var relPath = {\n structType: type,\n type: type,\n title: name,\n method: 'GET',\n /* for cmd tLinks - useful in UI */\n iconfig: {},\n /* input config */\n payload: {},\n statusInfo: statusInfoStruct(),\n runStatus: 'idle',\n parentRoute: '',\n route: '',\n resultType: '',\n links: {},\n /* same structures */\n /* cmds : {}, */\n scrollCmds: {},\n /* same structure */\n paginator: false,\n itemsList: [],\n items: [],\n /* items Struct */\n details: {},\n stateEvent: null,\n responseHeaders: {},\n link: null,\n raw: {}\n };\n if (arguments.length === 3) {\n relPath.link = {\n method: 'GET',\n title: service,\n href: '/' + service + '/',\n rel: 'root',\n type: 'application/vnd.sas.api',\n uri: '/' + service + '/'\n };\n relPath.route = \"\".concat(service, \":/\").concat(service);\n relPath.parentRoute = service;\n }\n return relPath;\n}\n\n/* also for info */\n\nfunction itemsStruct() {\n return {\n name: '',\n type: '',\n resultType: '',\n cmds: null,\n data: null\n };\n}\nfunction statusInfoStruct() {\n return {\n status: 0,\n statusText: ' ',\n error: false,\n details: ' '\n };\n}\n\n\n//# sourceURL=webpack://restaf/./utils/rootStruct.js?\n}");
2162
2162
 
2163
2163
  /***/ }),
2164
2164
 
@@ -2169,7 +2169,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2169
2169
  /***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
2170
2170
 
2171
2171
  "use strict";
2172
- eval("{/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\nvar Immutable = __webpack_require__(/*! immutable */ \"../../../node_modules/immutable/dist/immutable.es.js\");\nfunction routeOrFolder(iroute) {\n var route = null;\n if (typeof iroute === 'string') {\n route = iroute;\n } else {\n if (Immutable.Iterable.isIterable(iroute) === true) {\n route = iroute.get('route', null);\n }\n }\n return route;\n}\n/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = (routeOrFolder);\n\n//# sourceURL=webpack://restaf/./utils/routeOrFolder.js?\n}");
2172
+ eval("{/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\nvar Immutable = __webpack_require__(/*! immutable */ \"../../../node_modules/immutable/dist/immutable.es.js\");\nfunction routeOrFolder(iroute) {\n var route = null;\n if (typeof iroute === 'string') {\n route = iroute;\n } else {\n if (Immutable.Iterable.isIterable(iroute) === true) {\n route = iroute.get('route', null);\n }\n }\n return route;\n}\n/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = (routeOrFolder);\n\n//# sourceURL=webpack://restaf/./utils/routeOrFolder.js?\n}");
2173
2173
 
2174
2174
  /***/ }),
2175
2175
 
@@ -2180,7 +2180,7 @@ eval("{/*\r\n * ----------------------------------------------------------------
2180
2180
  /***/ ((__unused_webpack_module, exports) => {
2181
2181
 
2182
2182
  "use strict";
2183
- eval("{/*\r\n * ------------------------------------------------------------------------------------\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n * ---------------------------------------------------------------------------------------\r\n *\r\n */\n\n\n\nexports.setGoodStatus = function (payload) {\n return {\n status: payload.status,\n statusText: payload.statusText,\n detail: ' ',\n error: false\n };\n};\nexports.setBadStatus = function (payload) {\n var code = 0;\n var detail = ' ';\n if (payload.hasOwnProperty('response') && payload.response != null) {\n code = payload.response.status;\n detail = payload.response.hasOwnProperty('data') ? payload.response.data : payload.response.statusText;\n }\n return {\n status: code,\n statusText: payload.message,\n detail: detail,\n error: true\n };\n};\n\n//# sourceURL=webpack://restaf/./utils/statusFuncs.js?\n}");
2183
+ eval("{/*\n * ------------------------------------------------------------------------------------\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ---------------------------------------------------------------------------------------\n *\n */\n\n\n\nexports.setGoodStatus = function (payload) {\n return {\n status: payload.status,\n statusText: payload.statusText,\n detail: ' ',\n error: false\n };\n};\nexports.setBadStatus = function (payload) {\n var code = 0;\n var detail = ' ';\n if (payload.hasOwnProperty('response') && payload.response != null) {\n code = payload.response.status;\n detail = payload.response.hasOwnProperty('data') ? payload.response.data : payload.response.statusText;\n }\n return {\n status: code,\n statusText: payload.message,\n detail: detail,\n error: true\n };\n};\n\n//# sourceURL=webpack://restaf/./utils/statusFuncs.js?\n}");
2184
2184
 
2185
2185
  /***/ }),
2186
2186