1"use strict";(self.webpackChunkdiscovery_nissan=self.webpackChunkdiscovery_nissan||[]).push([[8637],{2342:(e,s,n)=>{n.d(s,{R:()=>o});const o=(0,n(4010).w)({displayName:"HamburgerIcon",viewBox:"0 0 24 24",d:"M 3 5 A 1.0001 1.0001 0 1 0 3 7 L 21 7 A 1.0001 1.0001 0 1 0 21 5 L 3 5 z M 3 11 A 1.0001 1.0001 0 1 0 3 13 L 21 13 A 1.0001 1.0001 0 1 0 21 11 L 3 11 z M 3 17 A 1.0001 1.0001 0 1 0 3 19 L 21 19 A 1.0001 1.0001 0 1 0 21 17 L 3 17 z"})},4010:(e,s,n)=>{n.d(s,{w:()=>a});var o=n(579),r=n(5043),l=n(5011),t=n(5003);function a(e){const{viewBox:s="0 0 24 24",d:n,displayName:a,defaultProps:i={}}=e,c=r.Children.toArray(e.path),d=(0,t.R)(((e,r)=>(0,o.jsx)(l.I,{ref:r,viewBox:s,...i,...e,children:c.length?c:(0,o.jsx)("path",{fill:"currentColor",d:n})})));return d.displayName=a,d}},8637:(e,s,n)=>{n.r(s),n.d(s,{default:()=>E});var o=n(5043),r=n(6148),l=n(5371),t=n(6659),a=n(9900),i=n(202),c=n(2107),d=n(9081),x=n(6870),p=n(2703),h=n(3935),b=n(1054),g=n(9542),m=n(5929),j=n(5071),u=n(7516),f=n(2342),w=n(579);const y="#F7A391",v="#595A5A",A=["Manage Users","Limit Access"],S=e=>{let{activeTab:s,onSelect:n,onClose:o}=e;return(0,w.jsx)(i.T,{align:"stretch",spacing:0,p:0,children:A.map(((e,r)=>(0,w.jsx)(c.a,{p:3,px:4,cursor:"pointer",bg:s===r?y:"#DFE1E3",color:s===r?"gray.800":"gray.700",fontWeight:s===r?"bold":"normal",borderBottom:"1px solid",borderColor:"gray.300",fontSize:"sm",_hover:{bg:s===r?y:"gray.200"},onClick:()=>{n(r),null===o||void 0===o||o()},children:(0,w.jsx)(d.E,{fontWeight:s===r?"bold":"normal",children:e})},e)))})},C=e=>{let{activeTab:s,onSelect:n}=e;const[r,l]=(0,o.useState)(!0),[t,a]=(0,o.useState)(0),{isOpen:i,onOpen:y,onClose:A}=(0,x.j)();return(0,o.useEffect)((()=>{const e=()=>{const e=window.scrollY;l(e<80||e<t),a(e)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)}),[t]),(0,w.jsxs)(w.Fragment,{children:[(0,w.jsxs)(c.a,{display:{base:"block",lg:"none"},children:[r&&(0,w.jsx)(p.K,{"aria-label":"Open menu",icon:(0,w.jsx)(f.R,{}),variant:"ghost",onClick:y,position:"fixed",left:{base:"15px",md:"35px",lg:"15px"},top:{base:"90px",md:"120px",lg:"15px"},colorScheme:"gray",bg:"white",color:"#595A5A",borderRadius:"full",boxShadow:"0 4px 14px rgba(0,0,0,0.08)",_hover:{transform:"scale(1.05)",boxShadow:"0 6px 18px rgba(0,0,0,0.12)",bg:"gray.50"},_active:{transform:"scale(0.96)"},transition:"all 0.2s ease",size:{base:"sm",md:"md"}}),(0,w.jsxs)(h._s,{isOpen:i,placement:"left",onClose:A,children:[(0,w.jsx)(b.m,{}),(0,w.jsxs)(g.z,{maxW:"220px",children:[(0,w.jsx)(m.s,{}),(0,w.jsx)(j.r,{borderBottomWidth:"1px",borderColor:v,fontSize:"sm",py:3,children:(0,w.jsx)(d.E,{fontWeight:"semibold",color:"gray.700",children:"Menu"})}),(0,w.jsx)(u.c,{p:0,bg:"#DFE1E3",children:(0,w.jsx)(S,{activeTab:s,onSelect:n,onClose:A})})]})]})]}),(0,w.jsx)(c.a,{display:{base:"none",lg:"block"},width:"220px",height:"600px",border:"1px solid",borderColor:v,borderTop:"none",borderLeft:"none",bg:"white",overflow:"hidden",boxShadow:"sm",flexShrink:0,children:(0,w.jsx)(S,{activeTab:s,onSelect:n})})]})},z=(0,o.lazy)((()=>Promise.all([n.e(4889),n.e(3309)]).then(n.bind(n,3309)))),k=(0,o.lazy)((()=>n.e(2631).then(n.bind(n,2631)))),L=()=>{const e=(0,a.Zp)(),s=(0,a.zy)(),n=["users","access","numbers"],i=s.pathname.split("/").pop(),c=n.indexOf(i),d=-1===c?0:c;return(0,w.jsxs)(r.z,{border:"1px solid #595A5A",spacing:0,align:"start",w:"100%",children:[(0,w.jsx)(C,{activeTab:d,onSelect:s=>{e(`/settings/users/${n[s]}`)}}),(0,w.jsx)(o.Suspense,{fallback:(0,w.jsx)(l.s,{justify:"center",align:"center",py:12,w:"100%",children:(0,w.jsx)(t.y,{size:"lg",color:"orange.500",thickness:"3px"})}),children:(0,w.jsxs)(a.BV,{children:[(0,w.jsx)(a.qh,{index:!0,element:(0,w.jsx)(z,{})}),(0,w.jsx)(a.qh,{path:"users",element:(0,w.jsx)(z,{})}),(0,w.jsx)(a.qh,{path:"access",element:(0,w.jsx)(k,{})})]})})]})},E=o.memo(L)}}]); 2//# sourceMappingURL=8637.0685f358.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.