1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="0b8b7622-349f-472e-9c6d-425238f90937",e._sentryDebugIdIdentifier="sentry-dbid-0b8b7622-349f-472e-9c6d-425238f90937")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9612],{25700:function(e,r,t){var a=t(85893),s=t(48016),n=t(42964),o=t(16035),l=t(33299),i=t(67294),d=t(25675),c=t.n(d),x=t(44725),m=t(41664),u=t.n(m);r.Z=e=>{let{user:r,isDashboard:t,isProfessional:d,isIntegration:m,isDataVisualization:h,isProfile:b,isT2UTooling:g}=e;return(0,a.jsx)(s.p,{as:"nav",className:"bg-white shadow-sm",children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:(0,a.jsxs)("div",{className:"flex h-16 justify-between",children:[(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsx)("div",{className:"flex flex-shrink-0 items-center",children:(0,a.jsx)(c(),{className:"h-8 w-8 rounded-full",src:"/icon_chat_ai_transparent.png",height:32,width:32,alt:"".concat((null==r?void 0:r.org_name)?r.org_name:(null==r?void 0:r.first_name)||"placeholder"," avatar")})}),(0,a.jsxs)("div",{className:"hidden sm:-my-px sm:ml-6 sm:flex sm:space-x-8",children:[(0,a.jsx)(u(),{href:"/client/dashboard",className:(t?"border-slate-500 text-gray-900":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300")+" inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium cursor-pointer",children:"Dashboard"},"Dashboard"),((null==r?void 0:r.user_type)==="Professional"||(null==r?void 0:r.user_type)==="Talk2usai_admin")&&(0,a.jsx)(u(),{href:"/client/dashboard/professional",className:(d?"border-slate-500 text-gray-900":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300")+" inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium cursor-pointer",children:"Your professionals"},"Your professionals"),((null==r?void 0:r.user_type)==="Integration"||(null==r?void 0:r.user_type)==="Talk2usai_admin")&&(0,a.jsx)(u(),{href:"/client/dashboard/integration",className:(m?"border-slate-500 text-gray-900":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300")+" inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium cursor-pointer",children:"Talk2us Integration"},"Talk2us Integration"),((null==r?void 0:r.user_type)==="Integration"||(null==r?void 0:r.user_type)==="Talk2usai_admin")&&(0,a.jsx)(u(),{href:"/client/dashboard/dataVisualization",className:(h?"border-slate-500 text-gray-900":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300")+" inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium cursor-pointer",children:"Data visualization"},"Data visualization"),(0,a.jsx)(u(),{href:"/client/dashboard/profile",className:(b?"border-slate-500 text-gray-900":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300")+" inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium cursor-pointer",children:"Profile"},"Profile"),(null==r?void 0:r.user_type)==="Talk2usai_admin"&&(0,a.jsx)(u(),{href:"/client/dashboard/t2uTooling",className:(g?"border-slate-500 text-gray-900":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300")+" inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium cursor-pointer",children:"Talk2us.ai Tooling"},"Talk2us.ai Tooling")]})]}),(0,a.jsx)("div",{className:"hidden sm:ml-6 sm:flex sm:items-center",children:(0,a.jsxs)(n.v,{as:"div",className:"relative ml-3",children:[(0,a.jsx)("div",{children:(0,a.jsxs)(n.v.Button,{className:"flex rounded-full bg-gray-200 text-sm outline-none ring-2 ring-slate-500 ring-offset-2",children:[(0,a.jsx)("span",{className:"sr-only",children:"Open user menu"}),(0,a.jsx)(x.Z,{})]})}),(0,a.jsx)(o.u,{as:i.Fragment,enter:"transition ease-out duration-200",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,a.jsx)(n.v.Items,{className:"absolute right-0 z-10 mt-2 w-48 origin-top-right rounded-md bg-white py-1 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none",children:(0,a.jsx)(n.v.Item,{children:(0,a.jsx)("button",{className:"flex w-full px-4 py-2 text-sm text-gray-700 hover:bg-gray-100",onClick:()=>(0,l.signOut)(),children:"Sign out"})})})})]})}),(0,a.jsx)("div",{className:"-mr-2 flex items-center sm:hidden",children:(0,a.jsxs)(s.p.Button,{className:"flex rounded-full mr-2 bg-gray-200 text-sm outline-none ring-2 ring-slate-500 ring-offset-2",children:[(0,a.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,a.jsx)(x.Z,{})]})})]})}),(0,a.jsxs)(s.p.Panel,{className:"sm:hidden",children:[(0,a.jsxs)("div",{className:"space-y-1 pt-2 pb-3",children:[(0,a.jsx)(u(),{href:"/client/dashboard",children:(0,a.jsx)(s.p.Button,{as:"a",className:(t?"bg-slate-50 border-slate-500 text-slate-700":"border-transparent text-gray-600 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-800")+" block pl-3 pr-4 py-2 border-l-4 text-base font-medium cursor-pointer",children:"Dashboard"},"Dashboard")}),(0,a.jsx)(u(),{href:"/client/dashboard/professional",children:(0,a.jsx)(s.p.Button,{as:"a",className:(d?"bg-slate-50 border-slate-500 text-slate-700":"border-transparent text-gray-600 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-800")+" block pl-3 pr-4 py-2 border-l-4 text-base font-medium cursor-pointer",children:"Your professionals"},"Your professionals")}),(0,a.jsx)(u(),{href:"/client/dashboard/integration",children:(0,a.jsx)(s.p.Button,{as:"a",className:(m?"bg-slate-50 border-slate-500 text-slate-700":"border-transparent text-gray-600 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-800")+" block pl-3 pr-4 py-2 border-l-4 text-base font-medium cursor-pointer",children:"Talk2us Integration"},"Talk2us Integration")}),(0,a.jsx)(u(),{href:"/client/dashboard/dataVisualization",children:(0,a.jsx)(s.p.Button,{as:"a",className:(h?"bg-slate-50 border-slate-500 text-slate-700":"border-transparent text-gray-600 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-800")+" block pl-3 pr-4 py-2 border-l-4 text-base font-medium cursor-pointer",children:"Data visualization"},"Data visualization")}),(0,a.jsx)(u(),{href:"/client/dashboard/profile",children:(0,a.jsx)(s.p.Button,{as:"a",className:(b?"bg-slate-50 border-slate-500 text-slate-700":"border-transparent text-gray-600 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-800")+" block pl-3 pr-4 py-2 border-l-4 text-base font-medium cursor-pointer",children:"Profile"},"Profile")}),(null==r?void 0:r.user_type)==="Talk2usai_admin"&&(0,a.jsx)(u(),{href:"/client/dashboard/t2uTooling",children:(0,a.jsx)(s.p.Button,{as:"a",className:(g?"bg-slate-50 border-slate-500 text-slate-700":"border-transparent text-gray-600 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-800")+" block pl-3 pr-4 py-2 border-l-4 text-base font-medium cursor-pointer",children:"Talk2us.ai Tooling"},"T2u Tooling")})]}),(0,a.jsx)("div",{className:"border-t border-gray-200 pt-4 pb-3",children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"flex items-center px-4",children:(0,a.jsxs)("div",{className:"ml-3",children:[(0,a.jsx)("div",{className:"text-base font-medium text-gray-800",children:(null==r?void 0:r.org_name)?r.org_name:null==r?void 0:r.first_name}),(0,a.jsx)("div",{className:"text-sm font-medium text-gray-500",children:null==r?void 0:r.email})]})}),(0,a.jsx)("div",{className:"mt-3 space-y-1",children:(0,a.jsx)("button",{onClick:()=>(0,l.signOut)(),className:"block px-4 py-2 text-base font-medium text-gray-500 hover:bg-gray-100 hover:text-gray-800",children:"Sign out"})})]})})]})]})})}},70661:function(e,r,t){t.d(r,{U:function(){return o}});var a=t(67848),s=t(75996);let n=async()=>{try{let e=await fetch("/api/userMetadata",{method:"GET",headers:{"Content-Type":"application/json",Authorization:"".concat((0,s.HI)())}});if(!e.ok)throw Error("Failed to fetch data");return await e.json()}catch(e){return console.error(e),{}}},o=e=>(0,a.a)({queryKey:["usersMetadata"],queryFn:()=>n(),...e})},75996:function(e,r,t){t.d(r,{HI:function(){return l}});var a=t(21876).Buffer;let s=e=>"function"==typeof btoa?btoa(e):a.from(e,"utf8").toString("base64"),n=()=>{let e=new Date;return e.getTime()+6e4*e.getTimezoneOffset()},o=()=>Number("2764"),l=()=>s((n()*o()).toString())}}]);
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.