PageSourceSearch

https://slicetoken.io/_next/static/chunks/pages/dashboard/my-codes-21dbe20738b91313.js

js slicetoken.io collected 2026-10-05 09:47:38 UTC 7,054 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7547],{16624:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/my-codes",function(){return i(2583)}])},30560:function(e,t,i){"use strict";var n=i(85893),r=i(49976),s=i(74292);let a=e=>{let{title:t,href:i,isCurrentPage:a=!1,...o}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.gN,{...o,children:a?(0,n.jsx)(r.I6,{children:(0,n.jsx)(s.Z,{variant:"h2Navbar",color:"brand.EerieBlack",title:t})}):(0,n.jsx)(r.At,{href:i,children:(0,n.jsx)(s.Z,{variant:"h2Navbar",title:t})})}),!a&&(0,n.jsx)(r.bg,{})]})};t.Z=e=>{let{items:t}=e;return(0,n.jsx)(r.cD,{children:(0,n.jsx)(r.Jb,{children:t.map((e,i)=>(0,n.jsx)(a,{title:e.title,href:e.href,isCurrentPage:i===t.length-1},i))})})}},59406:function(e,t,i){"use strict";var n=i(85893),r=i(13526),s=i(49246),a=i(59085);t.Z=e=>{let{variant:t,children:i,...o}=e;switch(t){case"h1":return(0,n.jsx)(r.k,{minH:{md:"100vh"},align:"center",justify:"center",py:{md:"55px",lg:"80px"},bg:"brand.Grey/500",children:i});case"h2":return(0,n.jsx)(s.K,{w:{base:"100%",lg:"95%"},fontSize:{base:"14px",lg:"16px"},fontWeight:{base:"700"},bgColor:"brand.White",mt:2,p:"24px",boxShadow:"rgba(0, 0, 0, 0.15) 0px 1px 6px 0px",...o,children:i});case"dashboard":return(0,n.jsx)(a.g,{w:{base:"100%",lg:"80%"},bg:"brand.Grey/500",children:(0,n.jsx)(s.K,{w:"100%",gap:"0px",align:{lg:"center"},children:i})});case"dashboardV2":return(0,n.jsx)(s.K,{w:{base:"100%",lg:"95%"},fontSize:{base:"14px",lg:"16px"},fontWeight:{base:"700"},bgColor:"brand.White",mt:2,p:"24px",borderRadius:{md:"8px"},boxShadow:{base:"sm",md:"md"},...o,children:i});default:return(0,n.jsx)(s.K,{w:{base:"100%",sm:"85%"},bgColor:"brand.White",mt:2,p:"24px",boxShadow:"rgba(0, 0, 0, 0.15) 0px 1px 6px 0px",...o,children:i})}}},87395:function(e,t,i){"use strict";i.d(t,{j:function(){return d}});var n=i(85893),r=i(49246),s=i(59085),a=i(29615),o=i(49992),x=i(67421),l=i(74292);t.Z=e=>{let{code:t,discount:i,date:o,beneficiary:d,tokenCount:h,tokensUsed:p,...c}=e,{t:u}=(0,x.$G)("dashboard");return(0,n.jsx)(r.K,{bgColor:"white",gap:"0px",minW:"300px",overflow:"hidden",borderWidth:"1px",borderRadius:"8px",borderColor:"brand.BrightGray",p:"10px",...c,children:(0,n.jsxs)(s.g,{align:"start",children:[(0,n.jsxs)(a.U,{align:"start",justify:"space-between",children:[(0,n.jsx)(l.Z,{variant:"h3Mobile",title:u("myAuthorizations.board.code"),width:"100px"}),(0,n.jsx)(l.Z,{variant:"h4Mobile",title:t})]}),(0,n.jsxs)(a.U,{justify:"space-between",children:[(0,n.jsx)(l.Z,{variant:"h3Mobile",title:u("myAuthorizations.board.discount"),width:"100px"}),(0,n.jsx)(l.Z,{variant:"h4Mobile",title:i})]}),(0,n.jsxs)(a.U,{justify:"space-between",children:[(0,n.jsx)(l.Z,{variant:"h3Mobile",title:u("myAuthorizations.board.expirationDate"),width:"100px"}),(0,n.jsx)(l.Z,{variant:"h4Mobile",title:o})]}),(0,n.jsxs)(a.U,{justify:"space-between",children:[(0,n.jsx)(l.Z,{variant:"h3Mobile",title:u("myAuthorizations.board.beneficiary"),width:"100px"}),(0,n.jsx)(l.Z,{variant:"h4Mobile",title:d})]}),(0,n.jsxs)(a.U,{justify:"space-between",children:[(0,n.jsx)(l.Z,{variant:"h3Mobile",title:u("myAuthorizations.board.tokenCount"),width:"100px"}),(0,n.jsx)(l.Z,{variant:"h4Mobile",title:h})]}),(0,n.jsxs)(a.U,{justify:"space-between",children:[(0,n.jsx)(l.Z,{variant:"h3Mobile",title:u("myAuthorizations.board.tokensUsed"),width:"100px"}),(0,n.jsx)(l.Z,{variant:"h4Mobile",title:p})]})]})})};let d=e=>{let{...t}=e;return(0,n.jsx)(s.g,{bgColor:"white",minW:"300px",align:"start",gap:"0px",borderWidth:"1px",borderRadius:"8px",borderColor:"brand.BrightGray",...t,children:(0,n.jsx)(a.U,{align:"start",p:"10px",children:(0,n.jsxs)(s.g,{align:"start",children:[(0,n.jsxs)(a.U,{justify:"space-between",children:[(0,n.jsx)(o.N2,{w:"80px",noOfLines:1,gap:"10px",h:"10px"}),(0,n.jsx)(o.N2,{w:"90px",noOfLines:1,h:"10px"})]}),(0,n.jsxs)(a.U,{justify:"space-between",children:[(0,n.jsx)(o.N2,{w:"80px",noOfLines:1,gap:"10px",h:"10px"}),(0,n.jsx)(o.N2,{w:"90px",noOfLines:1,h:"10px"})]}),(0,n.jsxs)(a.U,{justify:"space-between",children:[(0,n.jsx)(o.N2,{w:"80px",noOfLines:1,gap:"10px",h:"10px"}),(0,n.jsx)(o.N2,{w:"90px",noOfLines:1,h:"10px"})]}),(0,n.jsxs)(a.U,{justify:"space-between",children:[(0,n.jsx)(o.N2,{w:"80px",noOfLines:1,gap:"10px",h:"10px"}),(0,n.jsx)(o.N2,{w:"90px",noOfLines:1,h:"10px"})]}),(0,n.jsxs)(a.U,{justify:"space-between",children:[(0,n.jsx)(o.N2,{w:"80px",noOfLines:1,gap:"10px",h:"10px"}),(0,n.jsx)(o.N2,{w:"90px",noOfLines:1,h:"10px"})]}),(0,n.jsxs)(a.U,{justify:"space-between",children:[(0,n.jsx)(o.N2,{w:"80px",noOfLines:1,gap:"10px",h:"10px"}),(0,n.jsx)(o.N2,{w:"90px",noOfLines:1,h:"10px"})]})]})})})}},2583:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return m}});var n=i(85893),r=i(5152),s=i.n(r),a=i(13526),o=i(59085),x=i(82504),l=i(70197),d=i(64374),h=i(97857),p=i(67421),c=i(74292),u=i(59406),b=i(30560),j=i(78951),f=i(53715),g=i(87395);let w=()=>{let{t:e,i18n:t}=(0,p.$G)("dashboard"),i=(0,f.Z)(),r="es"===t.language?d.es:h._,{activePromo:s,activePromoLoading:w}=(0,j.Kr)(i),y=[{title:e("myAuthorizations.title"),href:"/dashboard/my-authorizations"},{title:e("myAuthorizations.subtitle"),href:"/dashboard/my-codes"}],m=(t,i)=>"number"!=typeof t||i?null!=t||i?null==t&&i?"token Offer":void 0:e("myAuthorizations.board.all"):"".concat(e("myAuthorizations.board.user")," ").concat(t);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.k,{p:{base:"20px",md:"24px"},w:{base:"100%",md:"624px",lg:"923px"},children:(0,n.jsx)(b.Z,{items:y})}),(0,n.jsxs)(u.Z,{w:"100%",variant:"h2",children:[(0,n.jsx)(c.Z,{variant:"h2Mobile",title:e("myAuthorizations.subtitle")}),(0,n.jsx)(o.g,{pt:"20px",children:s?s.map((e,t)=>(0,n.jsx)(g.Z,{code:e.code,discount:"".concat(Math.round(1e4*e.discount_percentage)/1e4,"%"),date:(0,x.WU)((0,l.D)(e.expiration_date),"MMM d, yyyy",{locale:r}),beneficiary:m(e.user_profile,e.is_token_offer),tokenCount:e.total_token_count,tokensUsed:e.tokens_used},t)):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(g.j,{}),(0,n.jsx)(g.j,{}),(0,n.jsx)(g.j,{})]})})]})]})},y=s()(()=>i.e(3474).then(i.bind(i,53474)),{loadableGenerated:{webpack:()=>[53474]},ssr:!1});var m=()=>{let{t:e}=(0,p.$G)("dashboard");return(0,n.jsx)(y,{title:e("myAuthorizations.subtitle"),children:(0,n.jsx)(w,{})})}},49976:function(e,t,i){"use strict";i.d(t,{At:function(){return c},I6:function(){return u},Jb:function(){return h},bg:function(){return b},cD:function(){return d},gN:function(){return p}});var n=i(85893),r=i(58656),s=i(25375);
1let{withProvider:a,withContext:o,useStyles:x,PropsProvider:l}=(0,r.s)({key:"breadcrumb"}),d=a("nav","root",{defaultProps:{"aria-label":"breadcrumb"}}),h=o("ol","list"),p=o("li","item"),c=o("a","link"),u=o("span","currentLink",{defaultProps:{role:"link","aria-current":"page"}}),b=o("li","separator",{defaultProps:{"aria-hidden":!0,children:(0,n.jsx)(s.XC,{})}});o("li","ellipsis",{defaultProps:{role:"presentation","aria-hidden":!0,children:(0,n.jsx)(s.W3,{})}})}},function(e){e.O(0,[3274,4487,2888,9774,179],function(){return e(e.s=16624)}),_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.