1"use strict";(self.webpackChunkicongenius=self.webpackChunkicongenius||[]).push([[380],{5380:function(n,e,t){t.r(e);var r=t(4165),a=t(5861),u=t(9439),s=t(2791),c=t(8138),i=t(7721),l=t(7689),o=t(6364),f=t.n(o),p=t(6030),h=t(3329),d=(0,s.lazy)((function(){return t.e(656).then(t.bind(t,3656))})),x=(0,s.lazy)((function(){return t.e(643).then(t.bind(t,8643))})),b=(0,s.lazy)((function(){return t.e(639).then(t.bind(t,8639))})),m=c.mQ.TabNav,j=c.mQ.TabList,v={profile:{label:"Profile",path:"profile"},orders:{label:"Orders",path:"orders"},account:{label:"Account",path:"account"}};e.default=function(){var n=(0,s.useState)("profile"),e=(0,u.Z)(n,2),t=e[0],o=e[1],g=(0,s.useState)({}),k=(0,u.Z)(g,2),w=k[0],y=k[1],Z=(0,l.s0)(),z=(0,l.TH)(),C=z.pathname.substring(z.pathname.lastIndexOf("/")+1),N=(0,p.v9)((function(n){return n.auth.user})),O=function(){var n=(0,a.Z)((0,r.Z)().mark((function n(){return(0,r.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",y(N));case 1:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}();return(0,s.useEffect)((function(){o(C),f()(w)&&O()}),[]),(0,h.jsx)(i.W2,{className:"max-w-[600px] lg:min-w-[600px] mx-auto",children:(0,h.jsxs)(i.lG,{children:[(0,h.jsx)(c.mQ,{value:t,onChange:function(n){return function(n){o(n),Z("/account/settings/".concat(n))}(n)},children:(0,h.jsx)(j,{children:Object.keys(v).map((function(n){return(0,h.jsx)(m,{value:n,children:v[n].label},n)}))})}),(0,h.jsx)("div",{className:"p-4 mt-4",children:(0,h.jsxs)(s.Suspense,{fallback:(0,h.jsx)(h.Fragment,{}),children:["profile"===t&&(0,h.jsx)(d,{data:w}),"orders"===t&&(0,h.jsx)(x,{}),"account"===t&&(0,h.jsx)(b,{})]})})]})})}}}]); 2//# sourceMappingURL=380.5d286855.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.