PageSourceSearch

https://atomicpoet.org/packs/js/features/auth_token_list-0f1afeb41ef5fc26e9c8.chunk.js

js atomicpoet.org collected 2026-10-04 02:42:57 UTC 1,552 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkmangane_fe=self.webpackChunkmangane_fe||[]).push([[16],{1016:function(e,i,a){a.r(i);var t=a(1855),r=a(0),s=a(1841),d=a(1842),n=a(96),o=a(2),u=a(3),v=(0,s.vU)({header:{id:"security.headers.tokens",defaultMessage:"Sessions"},revoke:{id:"security.tokens.revoke",defaultMessage:"Revoke"}}),c=function(e){var i=e.token,a=(0,u.TL)(),r=(0,d.Z)();return(0,t.Z)("div",{className:"p-4 rounded-lg bg-gray-100 dark:bg-slate-700"},void 0,(0,t.Z)(o.Kq,{space:2},void 0,(0,t.Z)(o.Kq,{},void 0,(0,t.Z)(o.xv,{size:"md",weight:"medium"},void 0,i.app_name),(0,t.Z)(o.xv,{size:"sm",theme:"muted"},void 0,(0,t.Z)(s.Ji,{value:new Date(i.valid_until),hour12:!1,year:"numeric",month:"short",day:"2-digit",hour:"2-digit",minute:"2-digit"}))),(0,t.Z)("div",{className:"flex justify-end"},void 0,(0,t.Z)(o.zx,{theme:"primary",onClick:function(){a((0,n._C)(i.id))}},void 0,r.formatMessage(v.revoke)))))};i.default=function(){var e=(0,u.TL)(),i=(0,d.Z)(),a=(0,u.CG)((function(e){return e.security.get("tokens").reverse()}));(0,r.useEffect)((function(){e((0,n.xt)())}),[]);var s=a?(0,t.Z)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4"},void 0,a.map((function(e){return(0,t.Z)(c,{token:e},e.id)}))):(0,t.Z)(o.$j,{});return(0,t.Z)(o.sg,{label:i.formatMessage(v.header),transparent:!0,withHeader:!1},void 0,(0,t.Z)(o.Zb,{variant:"rounded"},void 0,(0,t.Z)(o.Ol,{backHref:"/settings"},void 0,(0,t.Z)(o.ll,{title:i.formatMessage(v.header)})),(0,t.Z)(o.eW,{},void 0,s)))}}}]);
2//# sourceMappingURL=auth_token_list-0f1afeb41ef5fc26e9c8.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.