PageSourceSearch

https://ommo.ai/assets/routes-page-a178ed65.js

js ommo.ai collected 2026-10-05 13:34:53 UTC 4,774 bytes, 1 lines download raw bytes

1import{d as e,a as t}from"./react-vendor-690ef4bc.js";import{f as a,S as s,F as l,e as r}from"./icons-142e3e49.js";import{L as c}from"./locationdots-ea228f56.js";const n=({text:s="Pending",text2:l="740 mi | 15 stops",className:r,routeId:n="239",onViewDetails:m,...o})=>{const i=e();return t.createElement("div",{className:`route-card ${r}`},t.createElement("div",{className:"route-card-inner"},t.createElement("div",{className:"route-card-header"},t.createElement("div",{className:"route-card-title"},t.createElement(a,null),t.createElement("span",{className:"route-card-icon"},"Route #",n)),t.createElement("div",{className:`route-status ${(()=>{switch(s){case"Pending":default:return"route-status-pending";case"In progress":return"route-status-in-progress";case"Delayed":return"route-status-delayed";case"Completed":return"route-status-completed"}})()}`},s)),t.createElement("div",{className:"flex flex-col gap-4 w-full"},t.createElement("div",{className:"route-divider"}),t.createElement("div",{className:"route-locations"},t.createElement("div",{className:"flex flex-col gap-0.5 items-center justify-center self-stretch"},t.createElement(c,null)),t.createElement("div",{className:"flex flex-col gap-3"},t.createElement("div",{className:"route-location"},t.createElement("span",{className:"route-location-city"},"Dallas, TX"),t.createElement("span",{className:"route-location-time"},"Apr 15 | 08:00 AM")),t.createElement("div",{className:"route-location"},t.createElement("span",{className:"route-location-city"},"Columbus, OH "),t.createElement("span",{className:"route-location-time"},"Apr 16 | 10:00 AM ")))),t.createElement("div",{className:"route-divider"}),t.createElement("div",{className:"route-details"},t.createElement("div",{className:"route-detail-row"},t.createElement("span",{className:"route-detail-label"},"Orders:"),t.createElement("span",{className:"route-detail-value"},"3 active orders")),t.createElement("div",{className:"route-detail-row"},t.createElement("span",{className:"route-detail-label"},"Current driver:"),t.createElement("span",{className:"route-detail-value"},"Brooklyn Simmons")),t.createElement("div",{className:"route-detail-row"},t.createElement("span",{className:"route-detail-label"},"Distance:"),t.createElement("span",{className:"route-detail-value"},l))))),t.createElement("button",{className:"route-view-button",onClick:()=>{m?m():i(`/routes/tracking/${n}`)}},t.createElement("span",{className:"route-view-text"},"View details")))},m=({className:e,...a})=>t.createElement("div",{className:`routes-container ${e}`},t.createElement("div",{className:"pt-6 pb-6 flex flex-col gap-6 items-start justify-start flex-1 relative"},t.createElement("div",{className:"routes-header"},t.createElement("div",{className:"flex flex-row gap-3 items-center"},t.createElement("h1",{className:"routes-title"},"Routes"),t.createElement("div",{className:"border-r border-grey-200 h-6 rotate-90"}),t.createElement("div",{className:"routes-count"},t.createElement("span",{className:"routes-count-total"},"56"),t.createElement("span",{className:"routes-count-label"},"Total routes"))),t.createElement("div",{className:"flex flex-row gap-2 items-center"},t.createElement("div",{className:"routes-tabs-container"},t.createElement("button",{className:"routes-tab routes-tab-active"},"All"),t.createElement("button",{className:"routes-tab routes-tab-inactive"},"Pending"),t.createElement("button",{className:"routes-tab routes-tab-inactive"},"In progress"),t.createElement("button",{className:"routes-tab routes-tab-inactive"},"Delayed"),t.createElement("button",{className:"routes-tab routes-tab-inactive"},"Completed")),t.createElement("div",{className:"border-r border-grey-200 h-6 rotate-90"}),t.createElement("button",{className:"filter-button"},t.createElement(s,null)),t.createElement("button",{className:"filter-button"},t.createElement(l,null),t.createElement("span",null,"Filters")),t.createElement("button",{className:"sort-button"},t.createElement(r,null),t.createElement("span",{className:"sort-label"},"Sort by:"),t.createElement("span",{className:"sort-value"},"Newest first")),t.createElement("button",{className:"create-route-button"},t.createElement("span",{className:"create-route-text"},"Create route")))),t.createElement("div",{className:"flex flex-row gap-3 items-start justify-start flex-wrap content-start w-full"},t.createElement(n,{text:"Pending",text2:"740 mi | 15 stops"}),t.createElement(n,{text:"In progress",text2:"510 mi | 8 stops"}),t.createElement(n,{text:"Delayed",text2:"680 mi | 12 stops"}),t.createElement(n,{text:"Completed",text2:"680 mi | 12 stops"})),t.createElement("div",{className:"flex flex-row gap-3 gap-y-[11px] items-start justify-start flex-wrap content-start w-full h-[579px]"})));export{m as RoutesPage};

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.