PageSourceSearch

https://neverinstall.com/_next/static/chunks/100.1a094ac1625cccec.js

js neverinstall.com collected 2026-10-03 19:11:36 UTC 5,605 bytes, 99 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[100],{17639:function(t,e,r){var n=r(15787).w_;t.exports.L=function(t){return n({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]})(t)}},68791:function(t,e,r){"use strict";r.r(e);var n=r(85893),i=r(67294),o=r(71893),a=r(17639),s=r(38750),c=r(20043),d=r(9480),l=r(99707),u=r(28637);let f=o.zo.div`
2    display: flex;
3    flex-direction: column;
4    position: absolute;
5    top: ${t=>`${t.bellSize}px`};
6    right: 0;
7    background: rgb(var(--background));
8    border: 1px solid rgb(var(--border));
9    border-radius: var(--border-radius-normal);
10    margin-top: 1rem;
11    animation: scale-in 110ms cubic-bezier(0.2, 0, 0.13, 1.5);
12    min-width: 350px;
13    max-width: 350px;
14    height: fit-content;
15    max-height: 80vh;
16    overflow-y: hidden;
17
18    > div {
19        padding: 16px;
20        width: 100%;
21        overflow-y: scroll;
22        display: flex;
23        flex-direction: column;
24    }
25
26    @keyframes scale-in {
27        0% {
28            transform: scale(0.5);
29        }
30        100% {
31            transform: scale(1);
32        }
33    }
34
35    @media (max-width: 768px) {
36        position: fixed;
37        left: 0;
38        top: 0;
39        min-height: 100vh;
40        min-width: 100vw;
41        z-index: 1000;
42        margin-top: 0;
43        border-top-left-radius: 0;
44        border-bottom-left-radius: 0;
45    }
46`,p=o.zo.div`
47    padding: 12px;
48    border-bottom: 1px solid rgb(var(--border));
49
50    &:last-child {
51        border-bottom: none;
52    }
53
54    .activity-header {
55        display: flex;
56        justify-content: space-between;
57        align-items: center;
58        margin-bottom: 4px;
59    }
60
61    .activity-time {
62        font-size: 12px;
63        color: rgb(var(--muted-foreground));
64    }
65
66    .activity-details {
67        font-size: 14px;
68    }
69
70    .activity-status {
71        display: inline-flex;
72        align-items: center;
73        gap: 4px;
74    }
75
76    .status-dot {
77        width: 6px;
78        height: 6px;
79        border-radius: 50%;
80    }
81
82    .success {
83        background-color: rgb(var(--success));
84    }
85    .failed {
86        background-color: rgb(var(--destructive));
87    }
88`,x=o.zo.a`
89    text-align: center;
90    padding: 8px;
91    margin-top: 8px;
92    color: rgb(var(--primary));
93    font-size: 14px;
94    border-top: 1px solid rgb(var(--border));
95
96    &:hover {
97        background: rgb(var(--accent));
98    }
99`;e.default=({activities:t,bellContainerRef:e,loading:r,error:o,setShowUpdatesDropdown:m})=>{let h=(0,i.useRef)(null);(0,i.useEffect)(()=>{let hideDropdown=t=>{!h.current||h.current.contains(t.target)||e.current?.contains(t.target)||m(!1)};return document.addEventListener("click",hideDropdown),()=>document.removeEventListener("click",hideDropdown)},[m,e]);let g=(0,i.useCallback)(()=>{m(!1)},[m]),v=(0,i.useCallback)(t=>{t.preventDefault(),window.location.href="/dashboard/event-log"},[]);return(0,n.jsx)(f,{bellSize:c.rt,ref:h,children:(0,n.jsxs)("div",{children:[(0,n.jsxs)(l.k,{color:"rgb(var(--foreground))",justify:"space-between",children:[(0,n.jsxs)(l.k,{align:"center",width:"130px",justify:"center",mb:"0.5rem",children:[(0,n.jsx)(s.v,{color:"rgb(var(--foreground))"}),(0,n.jsx)("span",{style:{marginLeft:"8px"},children:"Recent Activity"})]}),window?.innerWidth<768&&(0,n.jsx)(a.L,{color:c.Ty,size:20,onClick:g})]}),r?(0,n.jsx)(l.k,{pt:"1rem",pb:"1rem",align:"center",height:"100%",children:(0,n.jsx)(d.Z,{showLoader:!0,textPosition:"bottom",loaderSize:30,loadingText:"Loading activities..."})}):!t||o?(0,n.jsx)("div",{className:"p-4 text-center text-muted-foreground",children:"Failed to load activities"}):0===t.length?(0,n.jsx)("div",{className:"p-4 text-center text-muted-foreground",children:"No recent activities"}):(0,n.jsxs)(n.Fragment,{children:[t.map(t=>(0,n.jsxs)(p,{children:[(0,n.jsxs)("div",{className:"activity-header text-xs",children:[(0,n.jsxs)("span",{className:"activity-status capitalize",children:[(0,n.jsx)("span",{className:`status-dot ${t.newData?.status}`}
99),t.newData?.action.replace(/_/g," ")]}),(0,n.jsx)("span",{className:"activity-time",children:(0,u.ZP)(new Date(t.createdAt),"MMM dd, HH:mm")})]}),(0,n.jsx)("div",{className:"activity-details",children:t.newData?.details?.message})]},t.id)),!r&&!o&&t.length>0&&(0,n.jsx)(x,{href:"/dashboard/event-log",onClick:v,children:"View More"})]})]})})}},86012:function(t,e,r){"use strict";r.d(e,{H_:function(){return d},I7:function(){return l},UU:function(){return s},dP:function(){return i},fH:function(){return c},jE:function(){return n},vh:function(){return a},yJ:function(){return o}});let n=6048e5,i=864e5,o=6e4,a=36e5,s=525600,c=43200,d=1440,l=Symbol.for("constructDateFrom")},26843:function(t,e,r){"use strict";r.d(e,{L:function(){return constructFrom}});var n=r(86012);function constructFrom(t,e){return"function"==typeof t?t(e):t&&"object"==typeof t&&n.I7 in t?t[n.I7](e):t instanceof Date?new t.constructor(e):new Date(e)}},2582:function(t,e,r){"use strict";r.d(e,{b:function(){return startOfDay}});var n=r(32612);function startOfDay(t,e){let r=(0,n.Q)(t,e?.in);return r.setHours(0,0,0,0),r}e.Z=startOfDay},32612:function(t,e,r){"use strict";r.d(e,{Q:function(){return toDate}});var n=r(26843);function toDate(t,e){return(0,n.L)(e||t,t)}}}]);

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.