1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8769],{8750:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});n(7294);var i=n(5893);function a(e){var t=e.reverse,n=void 0!==t&&t;return(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"38",height:"38",viewBox:"0 0 38 38",children:(0,i.jsxs)("g",{id:"Group_127","data-name":"Group 127",transform:"translate(0.096 -0.214)",children:[(0,i.jsxs)("g",{id:"Ellipse_18","data-name":"Ellipse 18",transform:"translate(-0.096 0.214)",fill:n?"black":"white",stroke:"rgba(0,0,0,0)",strokeWidth:"1",children:[(0,i.jsx)("circle",{cx:"19",cy:"19",r:"19",stroke:"none"}),(0,i.jsx)("circle",{cx:"19",cy:"19",r:"18.5",fill:"none"})]}),(0,i.jsx)("path",{id:"Path_208","data-name":"Path 208",d:"M-113.356,1004.549l-7.5,7.233,7.5,6.564",transform:"translate(131.581 -992.398)",fill:"none",stroke:n?"white":"black",strokeLinecap:"round",strokeWidth:"2"}),(0,i.jsx)("path",{id:"Path_210","data-name":"Path 210",d:"M-118.748,1012.383h14.883",transform:"translate(130.653 -992.951)",fill:"none",stroke:n?"white":"black",strokeLinecap:"round",strokeWidth:"2"})]})})}},6608:function(e,t,n){"use strict";var i=n(7294),a=n(5893);t.Z=i.memo((function(e){var t=e.children;return(0,a.jsx)("div",{className:"anima-container-center-horizontal",children:(0,a.jsx)("div",{className:"dashboard anima-screen container-center-horizontal min-vh-100",children:t})})}))},1050:function(e,t,n){"use strict";n.r(t);var i=n(7294),a=n(1163),s=n(9249),c=n(42),r=n(6841),o=n(5890),l=n(6608),d=n(8750),h=n(5893);t.default=function(){var e=(0,a.useRouter)(),t=(0,i.useState)([]),n=t[0],u=t[1];(0,i.useEffect)((function(){o.W4.getNotifications({viewed:null}).then((function(e){var t=e.success,n=e.errorMessage,i=e.items;t?u(i):s.Am.error(n)}))}),[]);var f=function(t,n){e.push({pathname:"/notification-detail",query:{id:n}})},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return e.length>0?(0,h.jsx)("div",{className:"list-group scroll-200 transaction-list",children:(null===e||void 0===e?void 0:e.length)>0&&e.map((function(e,t){return(0,h.jsxs)("div",{className:"row justify-content-center align-items-center p-3",children:[(0,h.jsx)("div",{className:"col-2",children:!e.viewed&&(0,h.jsx)("i",{className:"fa-solid fa-circle notification-checked"})}),(0,h.jsxs)("div",{className:"col-10 row ".concat(e.viewed?"notification-content-unviewed":"notification-content-viewed"," "),onClick:function(t){return f(0,e.id)},children:[(0,h.jsx)("div",{className:"col-12",children:e.message}),(0,h.jsx)("div",{className:"col-12",children:new Date(e.createdDate).toLocaleDateString()})]})]},"notification-"+t)}))}):"all"===t?"No notifications":"30days"===t?"No notifications in the last 30 days":"No archived notifications"};return(0,h.jsx)(l.Z,{children:(0,h.jsxs)("div",{className:"main-panel cus-notification-page cus-profile-page",children:[(0,h.jsx)("div",{className:"back-button",onClick:function(){e.back()},children:(0,h.jsx)(d.Z,{})}),(0,h.jsxs)("div",{className:"container text-center pt-5 pb-3",children:[(0,h.jsx)("div",{className:"header-icon",children:(0,h.jsx)("img",{className:"header-icon-position",src:"img/notifications.svg",alt:"link accounts",width:50})}),(0,h.jsx)("h3",{className:"pt-2",children:"Notifications"})]}),(0,h.jsx)("div",{className:"container text-center p-3",children:(0,h.jsxs)(c.Z,{className:"nav tabs-cyan tab-text justify-content-center pb-3",defaultActiveKey:"All",transition:!1,children:[(0,h.jsx)(r.Z,{eventKey:"All",title:"All",className:"nav-item",children:v(n,"all")}),(0,h.jsx)(r.Z,{eventKey:"30days",title:"30 Days",className:"nav-item",children:v(n.filter((function(e){return e.createdDate>new Date((new Date).setDate((new Date).getDate()-30)).toISOString()})),"30days")}),(0,h.jsx)(r.Z,{eventKey:"Archived",title:"Archived",className:"nav-item",children:v(n.filter((function(e){return e.viewed})),"archived")})]})})]})})}},8799:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/notifications",function(){return n(1050)}])}}
1,function(e){e.O(0,[9204,4867,9774,2888,179],(function(){return t=8799,e(e.s=t);var t}));var t=e.O();_N_E=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.