@sassoftware/restaf 5.5.1-1 → 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/lib/restaf.js CHANGED
@@ -1874,7 +1874,7 @@ eval("{\n\nvar required = __webpack_require__(/*! requires-port */ \"../../../no
1874
1874
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1875
1875
 
1876
1876
  "use strict";
1877
- 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}");
1877
+ 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}");
1878
1878
 
1879
1879
  /***/ }),
1880
1880
 
@@ -1885,7 +1885,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1885
1885
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1886
1886
 
1887
1887
  "use strict";
1888
- 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}");
1888
+ 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}");
1889
1889
 
1890
1890
  /***/ }),
1891
1891
 
@@ -1896,7 +1896,7 @@ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpa
1896
1896
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1897
1897
 
1898
1898
  "use strict";
1899
- 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
1899
+ 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
1900
1900
 
1901
1901
  /***/ }),
1902
1902
 
@@ -1907,7 +1907,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1907
1907
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1908
1908
 
1909
1909
  "use strict";
1910
- 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
1910
+ 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
1911
1911
 
1912
1912
  /***/ }),
1913
1913
 
@@ -1918,7 +1918,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1918
1918
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1919
1919
 
1920
1920
  "use strict";
1921
- 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}");
1921
+ 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}");
1922
1922
 
1923
1923
  /***/ }),
1924
1924
 
@@ -1929,7 +1929,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1929
1929
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1930
1930
 
1931
1931
  "use strict";
1932
- 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/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../../../node_modules/@babel/runtime/helpers/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__);\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) { _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: _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 ? {} : _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1___default()(hc.data) === 'object' ? Object.assign({}, hc.data) : hc.data,\n qs: hc.params == null ? {} : _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(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(parentPath), [subType]);\n var linksMap = {};\n tlinks.map(function (l) {\n var ts = [].concat(_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: _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(_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 = _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}");
1932
+ 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/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../../../node_modules/@babel/runtime/helpers/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__);\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) { _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: _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 ? {} : _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1___default()(hc.data) === 'object' ? Object.assign({}, hc.data) : hc.data,\n qs: hc.params == null ? {} : _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(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(parentPath), [subType]);\n var linksMap = {};\n tlinks.map(function (l) {\n var ts = [].concat(_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: _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(_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 = _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}");
1933
1933
 
1934
1934
  /***/ }),
1935
1935
 
@@ -1940,7 +1940,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1940
1940
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1941
1941
 
1942
1942
  "use strict";
1943
- 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
1943
+ 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
1944
1944
 
1945
1945
  /***/ }),
1946
1946
 
@@ -1951,7 +1951,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1951
1951
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1952
1952
 
1953
1953
  "use strict";
1954
- 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
1954
+ 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
1955
1955
 
1956
1956
  /***/ }),
1957
1957
 
@@ -1962,7 +1962,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1962
1962
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1963
1963
 
1964
1964
  "use strict";
1965
- 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}");
1965
+ 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}");
1966
1966
 
1967
1967
  /***/ }),
1968
1968
 
@@ -1973,7 +1973,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1973
1973
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1974
1974
 
1975
1975
  "use strict";
1976
- 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
1976
+ 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
1977
1977
 
1978
1978
  /***/ }),
1979
1979
 
@@ -1984,7 +1984,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1984
1984
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1985
1985
 
1986
1986
  "use strict";
1987
- 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
1987
+ 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
1988
1988
 
1989
1989
  /***/ }),
1990
1990
 
@@ -1995,7 +1995,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
1995
1995
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1996
1996
 
1997
1997
  "use strict";
1998
- 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}");
1998
+ 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}");
1999
1999
 
2000
2000
  /***/ }),
2001
2001
 
@@ -2006,7 +2006,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2006
2006
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2007
2007
 
2008
2008
  "use strict";
2009
- 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}");
2009
+ 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}");
2010
2010
 
2011
2011
  /***/ }),
2012
2012
 
@@ -2017,7 +2017,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2017
2017
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2018
2018
 
2019
2019
  "use strict";
2020
- 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}");
2020
+ 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}");
2021
2021
 
2022
2022
  /***/ }),
2023
2023
 
@@ -2028,7 +2028,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2028
2028
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2029
2029
 
2030
2030
  "use strict";
2031
- 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/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__);\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 (_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}");
2031
+ 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/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__);\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 (_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}");
2032
2032
 
2033
2033
  /***/ }),
2034
2034
 
@@ -2039,7 +2039,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2039
2039
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2040
2040
 
2041
2041
  "use strict";
2042
- 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}");
2042
+ 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}");
2043
2043
 
2044
2044
  /***/ }),
2045
2045
 
@@ -2050,7 +2050,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2050
2050
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2051
2051
 
2052
2052
  "use strict";
2053
- 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
2053
+ 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
2054
2054
 
2055
2055
  /***/ }),
2056
2056
 
@@ -2061,7 +2061,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2061
2061
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2062
2062
 
2063
2063
  "use strict";
2064
- 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}");
2064
+ 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}");
2065
2065
 
2066
2066
  /***/ }),
2067
2067
 
@@ -2072,7 +2072,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2072
2072
  /***/ ((module) => {
2073
2073
 
2074
2074
  "use strict";
2075
- 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}");
2075
+ 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}");
2076
2076
 
2077
2077
  /***/ }),
2078
2078
 
@@ -2083,7 +2083,7 @@ eval("{/*\r\n* Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Rights
2083
2083
  /***/ ((module) => {
2084
2084
 
2085
2085
  "use strict";
2086
- 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}");
2086
+ 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}");
2087
2087
 
2088
2088
  /***/ }),
2089
2089
 
@@ -2094,7 +2094,7 @@ eval("{/*\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Right
2094
2094
  /***/ ((module) => {
2095
2095
 
2096
2096
  "use strict";
2097
- 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}");
2097
+ 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}");
2098
2098
 
2099
2099
  /***/ }),
2100
2100
 
@@ -2105,7 +2105,7 @@ eval("{/*\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Right
2105
2105
  /***/ ((module) => {
2106
2106
 
2107
2107
  "use strict";
2108
- 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}");
2108
+ 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}");
2109
2109
 
2110
2110
  /***/ }),
2111
2111
 
@@ -2116,7 +2116,7 @@ eval("{/*\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Right
2116
2116
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2117
2117
 
2118
2118
  "use strict";
2119
- 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}");
2119
+ 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}");
2120
2120
 
2121
2121
  /***/ }),
2122
2122
 
@@ -2127,7 +2127,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2127
2127
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2128
2128
 
2129
2129
  "use strict";
2130
- 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/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__);\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) { _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 (true) {\n Https = __webpack_require__(/*! node:https */ \"node:https\");\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] = _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\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 (_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}");
2130
+ 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/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../../../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__);\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) { _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 (true) {\n Https = __webpack_require__(/*! node:https */ \"node:https\");\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] = _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 (_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}");
2131
2131
 
2132
2132
  /***/ }),
2133
2133
 
@@ -2138,7 +2138,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2138
2138
  /***/ ((module) => {
2139
2139
 
2140
2140
  "use strict";
2141
- 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}");
2141
+ 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}");
2142
2142
 
2143
2143
  /***/ }),
2144
2144
 
@@ -2149,7 +2149,7 @@ eval("{/*\r\n * Copyright © 2023, SAS Institute Inc., Cary, NC, USA. All Right
2149
2149
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2150
2150
 
2151
2151
  "use strict";
2152
- 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/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__);\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 = _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}");
2152
+ 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/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__);\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 = _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}");
2153
2153
 
2154
2154
  /***/ }),
2155
2155
 
@@ -2160,7 +2160,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2160
2160
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2161
2161
 
2162
2162
  "use strict";
2163
- 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/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__);\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 = _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}");
2163
+ 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/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__);\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 = _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}");
2164
2164
 
2165
2165
  /***/ }),
2166
2166
 
@@ -2171,7 +2171,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2171
2171
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2172
2172
 
2173
2173
  "use strict";
2174
- 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}");
2174
+ 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}");
2175
2175
 
2176
2176
  /***/ }),
2177
2177
 
@@ -2182,7 +2182,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2182
2182
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2183
2183
 
2184
2184
  "use strict";
2185
- 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/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__);\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 = _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}");
2185
+ 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/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__);\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 = _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}");
2186
2186
 
2187
2187
  /***/ }),
2188
2188
 
@@ -2193,7 +2193,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2193
2193
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2194
2194
 
2195
2195
  "use strict";
2196
- 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}");
2196
+ 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}");
2197
2197
 
2198
2198
  /***/ }),
2199
2199
 
@@ -2204,7 +2204,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2204
2204
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2205
2205
 
2206
2206
  "use strict";
2207
- 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
2207
+ 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
2208
2208
 
2209
2209
  /***/ }),
2210
2210
 
@@ -2215,7 +2215,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2215
2215
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2216
2216
 
2217
2217
  "use strict";
2218
- 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}");
2218
+ 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}");
2219
2219
 
2220
2220
  /***/ }),
2221
2221
 
@@ -2226,7 +2226,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2226
2226
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2227
2227
 
2228
2228
  "use strict";
2229
- 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}");
2229
+ 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}");
2230
2230
 
2231
2231
  /***/ }),
2232
2232
 
@@ -2237,7 +2237,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2237
2237
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2238
2238
 
2239
2239
  "use strict";
2240
- 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}");
2240
+ 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}");
2241
2241
 
2242
2242
  /***/ }),
2243
2243
 
@@ -2248,7 +2248,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2248
2248
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2249
2249
 
2250
2250
  "use strict";
2251
- 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}");
2251
+ 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}");
2252
2252
 
2253
2253
  /***/ }),
2254
2254
 
@@ -2259,7 +2259,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2259
2259
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2260
2260
 
2261
2261
  "use strict";
2262
- 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}");
2262
+ 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}");
2263
2263
 
2264
2264
  /***/ }),
2265
2265
 
@@ -2270,7 +2270,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2270
2270
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2271
2271
 
2272
2272
  "use strict";
2273
- 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}");
2273
+ 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}");
2274
2274
 
2275
2275
  /***/ }),
2276
2276
 
@@ -2281,7 +2281,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2281
2281
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2282
2282
 
2283
2283
  "use strict";
2284
- 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}");
2284
+ 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}");
2285
2285
 
2286
2286
  /***/ }),
2287
2287
 
@@ -2292,7 +2292,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2292
2292
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2293
2293
 
2294
2294
  "use strict";
2295
- 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}");
2295
+ 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}");
2296
2296
 
2297
2297
  /***/ }),
2298
2298
 
@@ -2303,7 +2303,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2303
2303
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2304
2304
 
2305
2305
  "use strict";
2306
- 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/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__);\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(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(q), _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}");
2306
+ 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/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__);\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(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(q), _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}");
2307
2307
 
2308
2308
  /***/ }),
2309
2309
 
@@ -2314,7 +2314,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2314
2314
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2315
2315
 
2316
2316
  "use strict";
2317
- 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}");
2317
+ 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}");
2318
2318
 
2319
2319
  /***/ }),
2320
2320
 
@@ -2325,7 +2325,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2325
2325
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2326
2326
 
2327
2327
  "use strict";
2328
- 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}");
2328
+ 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}");
2329
2329
 
2330
2330
  /***/ }),
2331
2331
 
@@ -2336,7 +2336,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2336
2336
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2337
2337
 
2338
2338
  "use strict";
2339
- 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}");
2339
+ 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}");
2340
2340
 
2341
2341
  /***/ }),
2342
2342
 
@@ -2347,7 +2347,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2347
2347
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2348
2348
 
2349
2349
  "use strict";
2350
- 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../../../node_modules/@babel/runtime/helpers/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__);\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) { _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 = _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}");
2350
+ 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../../../node_modules/@babel/runtime/helpers/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__);\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) { _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 = _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}");
2351
2351
 
2352
2352
  /***/ }),
2353
2353
 
@@ -2358,7 +2358,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2358
2358
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2359
2359
 
2360
2360
  "use strict";
2361
- 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}");
2361
+ 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}");
2362
2362
 
2363
2363
  /***/ }),
2364
2364
 
@@ -2369,7 +2369,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2369
2369
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2370
2370
 
2371
2371
  "use strict";
2372
- 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
2372
+ 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
2373
2373
 
2374
2374
  /***/ }),
2375
2375
 
@@ -2380,7 +2380,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2380
2380
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2381
2381
 
2382
2382
  "use strict";
2383
- 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/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__);\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 = _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}");
2383
+ 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/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__);\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 = _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}");
2384
2384
 
2385
2385
  /***/ }),
2386
2386
 
@@ -2391,7 +2391,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2391
2391
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2392
2392
 
2393
2393
  "use strict";
2394
- 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}");
2394
+ 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}");
2395
2395
 
2396
2396
  /***/ }),
2397
2397
 
@@ -2402,7 +2402,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2402
2402
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2403
2403
 
2404
2404
  "use strict";
2405
- 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/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__);\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 = _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 = _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}");
2405
+ 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/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__);\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 = _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 = _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}");
2406
2406
 
2407
2407
  /***/ }),
2408
2408
 
@@ -2413,7 +2413,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2413
2413
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2414
2414
 
2415
2415
  "use strict";
2416
- 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}");
2416
+ 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}");
2417
2417
 
2418
2418
  /***/ }),
2419
2419
 
@@ -2424,7 +2424,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2424
2424
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2425
2425
 
2426
2426
  "use strict";
2427
- 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
2427
+ 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
2428
2428
 
2429
2429
  /***/ }),
2430
2430
 
@@ -2435,7 +2435,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2435
2435
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2436
2436
 
2437
2437
  "use strict";
2438
- 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}");
2438
+ 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}");
2439
2439
 
2440
2440
  /***/ }),
2441
2441
 
@@ -2446,7 +2446,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2446
2446
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2447
2447
 
2448
2448
  "use strict";
2449
- 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}");
2449
+ 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}");
2450
2450
 
2451
2451
  /***/ }),
2452
2452
 
@@ -2457,7 +2457,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2457
2457
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2458
2458
 
2459
2459
  "use strict";
2460
- 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__);\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) { _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 (true) {\n Https = __webpack_require__(/*! node:https */ \"node:https\");\n}\nfunction request(_x, _x2, _x3) {\n return _request.apply(this, arguments);\n}\nfunction _request() {\n _request = _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}");
2460
+ 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../../../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__);\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) { _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 (true) {\n Https = __webpack_require__(/*! node:https */ \"node:https\");\n}\nfunction request(_x, _x2, _x3) {\n return _request.apply(this, arguments);\n}\nfunction _request() {\n _request = _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}");
2461
2461
 
2462
2462
  /***/ }),
2463
2463
 
@@ -2468,7 +2468,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2468
2468
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2469
2469
 
2470
2470
  "use strict";
2471
- 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
2471
+ 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/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\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) { _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}");
2472
2472
 
2473
2473
  /***/ }),
2474
2474
 
@@ -2479,7 +2479,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2479
2479
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2480
2480
 
2481
2481
  "use strict";
2482
- 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}");
2482
+ 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}");
2483
2483
 
2484
2484
  /***/ }),
2485
2485
 
@@ -2490,7 +2490,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2490
2490
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2491
2491
 
2492
2492
  "use strict";
2493
- 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/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__);\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 = _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 = _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}");
2493
+ 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/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__);\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 = _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 = _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}");
2494
2494
 
2495
2495
  /***/ }),
2496
2496
 
@@ -2501,7 +2501,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2501
2501
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2502
2502
 
2503
2503
  "use strict";
2504
- 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}");
2504
+ 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}");
2505
2505
 
2506
2506
  /***/ }),
2507
2507
 
@@ -2512,7 +2512,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2512
2512
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2513
2513
 
2514
2514
  "use strict";
2515
- 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}");
2515
+ 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}");
2516
2516
 
2517
2517
  /***/ }),
2518
2518
 
@@ -2523,7 +2523,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2523
2523
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2524
2524
 
2525
2525
  "use strict";
2526
- 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}");
2526
+ 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}");
2527
2527
 
2528
2528
  /***/ }),
2529
2529
 
@@ -2534,7 +2534,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2534
2534
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2535
2535
 
2536
2536
  "use strict";
2537
- 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}");
2537
+ 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}");
2538
2538
 
2539
2539
  /***/ }),
2540
2540
 
@@ -2545,7 +2545,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2545
2545
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2546
2546
 
2547
2547
  "use strict";
2548
- 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}");
2548
+ 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}");
2549
2549
 
2550
2550
  /***/ }),
2551
2551
 
@@ -2556,7 +2556,7 @@ eval("{/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* har
2556
2556
  /***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
2557
2557
 
2558
2558
  "use strict";
2559
- 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}");
2559
+ 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}");
2560
2560
 
2561
2561
  /***/ }),
2562
2562
 
@@ -2567,7 +2567,7 @@ eval("{/*\r\n * ----------------------------------------------------------------
2567
2567
  /***/ ((__unused_webpack_module, exports) => {
2568
2568
 
2569
2569
  "use strict";
2570
- 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}");
2570
+ 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}");
2571
2571
 
2572
2572
  /***/ }),
2573
2573