| 32184 | } |
| 32185 | }, |
| 32186 | wrap_actions_logout = (s, o) => (i) => { |
| 32187 | const a = o.getConfigs(), |
| 32188 | u = o.authSelectors.authorized() |
| 32189 | try { |
| 32190 | a.persistAuthorization && |
| 32191 | Array.isArray(i) && |
| 32192 | i.forEach((s) => { |
| 32193 | const o = u.get(s, {}), |
| 32194 | i = 'apiKey' === o.getIn(['schema', 'type']), |
| 32195 | a = 'cookie' === o.getIn(['schema', 'in']) |
| 32196 | if (i && a) { |
| 32197 | const s = o.getIn(['schema', 'name']) |
| 32198 | document.cookie = `${s}=; Max-Age=-99999999` |
| 32199 | } |
| 32200 | }) |
| 32201 | } catch (s) { |
| 32202 | console.error('Error deleting cookie based apiKey from document.cookie.', s) |
| 32203 | } |
| 32204 | s(i) |
| 32205 | } |
| 32206 | var Kt = __webpack_require__(90179), |
| 32207 | Gt = __webpack_require__.n(Kt) |
| 32208 | class LockAuthIcon extends Re.Component { |