PageSourceSearch

https://starbank.up.railway.app/_next/static/chunks/pages/home/historic-6a8d60c9418116bd.js

js starbank.up.railway.app collected 2026-10-03 12:14:27 UTC 6,861 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[851],{4400:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/home/historic",function(){return r(4576)}])},4576:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>x});var a=r(7876),s=r(4232),n=r(158),i=r(6676),l=r(5068),c=r(7250),o=r(2500);function x(){let{t:e,i18n:t}=(0,n.Bd)(),[r,x]=(0,s.useState)(!1),[m,d]=(0,s.useState)([]),{emailContext:u}=(0,o.u)(),p=async()=>{await f()};(0,s.useEffect)(()=>{let e=setInterval(()=>{p()},1e3);return()=>clearInterval(e)},[]);let f=async()=>{try{let e=await l.A.get("".concat("https://starbank-backend.up.railway.app","/transfer"));d(e.data)}catch(t){alert(e("errorFetchingHistoric"))}},h=m.filter(e=>e.recipient===u),g=m.filter(e=>e.recipient!==u);return(0,a.jsxs)("main",{className:"translate-y-[-50px]",children:[(0,a.jsx)("div",{className:"flex justify-end mr-5 mb-4 sm:mr-4 mt-[80px] lg:mt-0",children:(0,a.jsxs)("label",{className:"flex items-center gap-2 sm:gap-3 text-sbgreen active:opacity-50 transition duration-300 ease cursor-pointer",children:[(0,a.jsx)("button",{onClick:()=>{x(!r)},className:"font-medium text-[19px] sm:text-[30px]",children:r?e("transference"):e("receipt")}),r?(0,a.jsx)(c.lvq,{className:"text-[15px] sm:text-[20px]"}):(0,a.jsx)(c.o9,{className:"text-[15px] sm:text-[20px]"})]})}),(0,a.jsx)("section",{className:"lg:max-h-[700px] md:pb-[140px] lg:pb-5 xl:pb-0 px-5 lg:px-0 grid auto-rows-fr",children:(0,a.jsx)("div",{className:"overflow-y-auto space-y-6",children:r?g.map(r=>(0,a.jsxs)(i.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.6,ease:"easeInOut"},className:"flex flex-col-reverse xl:flex-row bg-secondary lg:bg-primary gap-6 xl:gap-0 p-5 sm:p-10 rounded-[25px] text-[19px] sm:text-[25px] justify-between font-medium lg:mr-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"flex gap-1 mb-2 flex flex-col md:flex-row",children:(0,a.jsxs)("div",{className:"flex flex-row gap-[6px]",children:[(0,a.jsx)("h1",{className:"text-sbgreen",children:e("transference")}),(0,a.jsx)("h1",{className:"text-tertiary",children:e("to")}),(0,a.jsx)("h1",{className:"text-sbgreen",children:r.recipient})]})}),(0,a.jsxs)("div",{className:"flex gap-1 font-medium mt-5 xl:mt-0 text-[30px] sm:text-[35px]",children:[(0,a.jsx)("h1",{className:"text-sbgreen",children:"$"}),(0,a.jsx)("h1",{children:r.amount})]})]}),(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsx)("h1",{children:r.message})}),(0,a.jsxs)("div",{className:"flex flex-row justify-between xl:justify-center xl:flex-col xl:items-center",children:[(0,a.jsx)("h1",{className:"text-tertiary",children:new Date(r.date).toLocaleString(t.language||"en",{day:"2-digit",month:"2-digit",year:"numeric"})}),(0,a.jsx)("h1",{className:"text-tertiary",children:new Date(r.date).toLocaleString(t.language,{hour:"2-digit",minute:"2-digit",second:"2-digit"})})]})]},"sent-".concat(r.date))):h.map(r=>(0,a.jsxs)(i.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.6,ease:"easeInOut"},className:"flex flex-col-reverse xl:flex-row bg-secondary lg:bg-primary gap-6 xl:gap-0 p-5 sm:p-10 rounded-[25px] text-[19px] sm:text-[25px] justify-between font-medium lg:mr-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"flex gap-1 mb-2 flex flex-col md:flex-row",children:(0,a.jsxs)("div",{className:"flex flex-row gap-[6px]",children:[(0,a.jsx)("h1",{className:"text-sbgreen",children:e("receipt")}),(0,a.jsx)("h1",{className:"text-tertiary",children:e("from")}),(0,a.jsx)("h1",{className:"text-sbgreen",children:r.sender})]})}),(0,a.jsxs)("div",{className:"flex gap-1 font-medium mt-5 xl:mt-0 text-[30px] sm:text-[35px]",children:[(0,a.jsx)("h1",{className:"text-sbgreen",children:"$"}),(0,a.jsx)("h1",{children:r.amount})]})]}),(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsx)("h1",{children:r.message})}),(0,a.jsxs)("div",{className:"flex flex-row justify-between xl:justify-center xl:flex-col xl:items-center",children:[(0,a.jsx)("h1",{className:"text-tertiary",children:new Date(r.date).toLocaleString(t.language||"en",{day:"2-digit",month:"2-digit",year:"numeric"})}),(0,a.jsx)("h1",{className:"text-tertiary",children:new Date(r.date).toLocaleString(t.language,{hour:"2-digit",minute:"2-digit",second:"2-digit"})})]})]},"received-".concat(r.date)))})})]})}},4684:(e,t,r)=>{"use strict";r.d(t,{k5:()=>x});var a=r(4232),s={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n=a.createContext&&a.createContext(s),i=["attr","size","title"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var a,s,n;a=e,s=t,n=r[t],(s=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t||"default");if("object"!=typeof a)return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(s))in a?Object.defineProperty(a,s,{value:n,enumerable:!0,configurable:!0,writable:!0}):a[s]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function x(e){return t=>a.createElement(m,l({attr:o({},e.attr)},t),function e(t){return t&&t.map((t,r)=>a.createElement(t.tag,o({key:r},t.attr),e(t.child)))}(e.child))}function m(e){var t=t=>{var r,{attr:s,size:n,title:c}=e,x=function(e,t){if(null==e)return{};var r,a,s=function(e,t){if(null==e)return{};var r={};for(var a in e)if(({}).hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;r[a]=e[a]}return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}(e,i),m=n||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),a.createElement("svg",l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,s,x,{className:r,style:o(o({color:e.color||t.color},t.style),e.style),height:m,width:m,xmlns:"http://www.w3.org/2000/svg"}),c&&a.createElement("title",null,c),e.children)};return void 0!==n?a.createElement(n.Consumer,null,e=>t(e)):t(s)}}},e=>{e.O(0,[942,676,636,593,792],()=>e(e.s=4400)),_N_E=e.O()}]);

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.