PageSourceSearch

https://smartambulance.ai/static/js/411.b14c3207.chunk.js

js smartambulance.ai collected 2026-10-05 15:05:51 UTC 6,837 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkaod_react_frontend=self.webpackChunkaod_react_frontend||[]).push([[411],{1792:(e,s,l)=>{l.r(s),l.d(s,{default:()=>g});var a=l(5043),t=l(6564),r=l(3944),m=l(5088),d=l(8006),c=l(5686),i=l(8969),n=l(579);const o=()=>(0,n.jsxs)("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-1 sm:p-1.5 md:p-2 lg:p-3 xl:p-4 hover:shadow-md transition-shadow duration-200",children:[(0,n.jsx)("div",{className:"flex flex-col sm:flex-row sm:items-center mb-1 sm:mb-1.5 md:mb-2 lg:mb-3 gap-1 sm:gap-1.5 md:gap-2 lg:gap-0",children:(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-0.5 sm:gap-1 md:gap-2 lg:gap-3 xl:gap-4 text-xs sm:text-sm text-gray-600",children:[(0,n.jsx)("div",{className:"flex items-center space-x-1",children:(0,n.jsx)("span",{children:"Number of Vehicles"})}),(0,n.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,n.jsx)(r.A,{className:"h-3 w-3 sm:h-4 sm:w-4"}),(0,n.jsx)("span",{children:"Avg. Ratings 4.7/5"})]}),(0,n.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,n.jsx)(m.A,{className:"h-3 w-3 sm:h-4 sm:w-4"}),(0,n.jsx)("span",{children:"Avg. Response Time"})]}),(0,n.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,n.jsx)(d.A,{className:"h-3 w-3 sm:h-4 sm:w-4"}),(0,n.jsx)("span",{children:"Location"})]})]})}),(0,n.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-1 sm:gap-1.5 md:gap-2 lg:gap-3 xl:gap-4",children:[(0,n.jsxs)("div",{className:"lg:col-span-3 space-y-0.5 sm:space-y-1 md:space-y-1.5 lg:space-y-2 xl:space-y-3",children:[(0,n.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-1 sm:gap-1.5 md:gap-2 lg:gap-0",children:[(0,n.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center gap-0.5 sm:gap-1 md:gap-1.5 lg:gap-2 xl:gap-4",children:[(0,n.jsx)("h4",{className:"text-xs sm:text-sm font-semibold text-gray-900",children:"Driver Name"}),(0,n.jsxs)("div",{className:"flex flex-wrap gap-0.5 sm:gap-0.5 md:gap-1 lg:gap-2 xl:gap-3",children:[(0,n.jsx)("button",{className:"text-black hover:text-blue-800 text-xs",children:"Call Now"}),(0,n.jsx)("button",{className:"text-black hover:text-blue-800 text-xs",children:"History"}),(0,n.jsx)("button",{className:"text-black hover:text-blue-800 text-xs",children:"View Profile"})]})]}),(0,n.jsx)("button",{className:"p-0.5 sm:p-0.5 md:p-1 hover:bg-gray-100 rounded self-start sm:self-auto",children:(0,n.jsx)(c.A,{className:"h-2.5 w-2.5 sm:h-3 sm:w-3 md:h-4 md:w-4 text-gray-500"})})]}),(0,n.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-1 sm:gap-1.5 md:gap-2 lg:gap-0",children:[(0,n.jsx)("div",{className:"flex items-center",children:(0,n.jsx)("h4",{className:"text-xs sm:text-sm font-semibold text-gray-900",children:"Vehicle Type"})}),(0,n.jsx)("button",{className:"p-0.5 sm:p-0.5 md:p-1 hover:bg-gray-100 rounded self-start sm:self-auto",children:(0,n.jsx)(c.A,{className:"h-2.5 w-2.5 sm:h-3 sm:w-3 md:h-4 md:w-4 text-gray-500"})})]})]}),(0,n.jsx)("div",{className:"flex justify-center mt-1.5 sm:mt-2 md:mt-3 lg:mt-0",children:(0,n.jsxs)("div",{className:"!pt-0 bg-gray-100 rounded-lg px-1 sm:px-1.5 md:px-2 lg:px-3 xl:px-4 pb-1 sm:pb-1.5 md:pb-2 lg:pb-3 xl:pb-4 h-16 sm:h-20 md:h-24 lg:h-28 xl:h-32 w-full relative",children:[(0,n.jsx)("div",{className:"flex items-center justify-center h-full text-gray-500",children:(0,n.jsx)(d.A,{className:"h-4 w-4 sm:h-5 sm:w-5 md:h-6 md:w-6 lg:h-7 lg:w-7 xl:h-8 xl:w-8"})}),(0,n.jsx)("button",{className:"absolute bottom-0.5 sm:bottom-0.5 md:bottom-1 lg:bottom-1.5 xl:bottom-2 right-0.5 sm:right-0.5 md:right-1 lg:right-1.5 xl:right-2 p-0.5 sm:p-0.5 md:p-1 bg-white rounded shadow-sm hover:bg-gray-50",children:(0,n.jsx)(i.A,{className:"h-1.5 w-1.5 sm:h-2 sm:w-2 md:h-2.5 md:w-2.5 lg:h-3 lg:w-3 text-gray-600"})})]})})]})]});var x=l(1197);const g=()=>{const[e,s]=(0,a.useState)("All Users");return(0,n.jsxs)("div",{className:"min-h-screen bg-transparent",children:[(0,n.jsxs)("div",{className:"px-1 sm:px-2 md:px-4 lg:px-6 py-2 sm:py-3 md:py-4 lg:py-6",children:[(0,n.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 ga
1p-1 sm:gap-2 md:gap-3 lg:gap-4 mb-3 sm:mb-4 md:mb-5 lg:mb-6",children:[{id:1,title:"Bookings",value:"345",label:"Bookings"},{id:2,title:"Daily Revenue",value:"345",label:"Daily Revenue"},{id:3,title:"Active Rides",value:"345",label:"Active Rides"},{id:4,title:"Active Hospitals",value:"345",label:"Active Hospitals"},{id:5,title:"Active Operators",value:"345",label:"Active Operators"},{id:6,title:"Drivers",value:"345",label:"Drivers"},{id:7,title:"Total Ambulances",value:"345",label:"Total Ambulances"},{id:8,title:"Completed Rides",value:"345",label:"Completed Rides"}].map(e=>(0,n.jsx)(t.A,{value:e.value,label:e.label,color:"blue",size:"small",className:"text-center"},e.id))}),(0,n.jsx)("div",{className:"space-y-2 sm:space-y-3 md:space-y-4 lg:space-y-6",children:Array.from({length:6},(e,s)=>(0,n.jsx)(o,{},s))})]}),(0,n.jsx)(x.Ay,{tabs:["All Users","Demographic","Active Requests","Scheduled Requests"],activeTab:e,onTabChange:s,showLogout:!1})]})}},6564:(e,s,l)=>{l.d(s,{A:()=>t});l(5043);var a=l(579);const t=e=>{let{value:s,label:l,icon:t,color:r="blue",size:m="medium",className:d="",onClick:c}=e;const i={blue:"text-blue-600",green:"text-green-600",red:"text-red-600",orange:"text-orange-600",purple:"text-purple-600",gray:"text-gray-600"};return(0,a.jsx)("div",{className:"\n        rounded-lg border shadow-sm transition-all duration-200 hover:shadow-md hover:scale-[1.02]\n        ".concat({blue:"bg-gradient-to-r from-blue-50 to-blue-100 border-blue-200 text-blue-900",green:"bg-gradient-to-r from-green-50 to-green-100 border-green-200 text-green-900",red:"bg-gradient-to-r from-red-50 to-red-100 border-red-200 text-red-900",orange:"bg-gradient-to-r from-orange-50 to-orange-100 border-orange-200 text-orange-900",purple:"bg-gradient-to-r from-purple-50 to-purple-100 border-purple-200 text-purple-900",gray:"bg-gradient-to-r from-gray-50 to-gray-100 border-gray-200 text-gray-900"}[r],"\n        ").concat({small:"p-3",medium:"p-4",large:"p-6"}[m],"\n        ").concat(c?"cursor-pointer":"","\n        ").concat(d,"\n      "),onClick:c,children:(0,a.jsxs)("div",{className:"flex items-center",children:[t&&(0,a.jsx)("div",{className:"flex-shrink-0",children:(0,a.jsx)("div",{className:"".concat(i[r]," w-6 h-6 sm:w-8 sm:h-8"),children:t})}),(0,a.jsxs)("div",{className:t?"ml-2 sm:ml-4":"",children:[(0,a.jsx)("p",{className:"font-medium ".concat(i[r]," ").concat({small:"text-xs",medium:"text-sm",large:"text-base"}[m]," truncate"),children:l}),(0,a.jsx)("p",{className:"font-bold ".concat({small:"text-lg",medium:"text-2xl",large:"text-3xl"}[m]," truncate"),children:s})]})]})})}}}]);
2//# sourceMappingURL=411.b14c3207.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.