PageSourceSearch

https://ridemtu.com/assets/VehiclePassengerLoad-CKWApWX_.js

js ridemtu.com collected 2026-09-27 13:01:33 UTC 2,981 bytes, 1 lines download raw bytes

1import{j as r,r as s}from"./chunk-LFPYN7LY-BYCOceFh.js";import{c as C}from"./create-icon-CgxNfmBl.js";import{V as c}from"./v-stack-C2JudPXh.js";import{H as p}from"./alerts-mA4EJBuF.js";import{I as x}from"./icon-BoqpEvxL.js";import{T as l,B as i}from"./index-B19M7xEA.js";const m=C({displayName:"CapacityIcon",viewBox:"0 0 26 20",path:r.jsx(r.Fragment,{children:r.jsx("path",{fill:"currentColor",d:"M16.431705 11.012687C18.539072 11.688673 20.207405 13.446239 20.944984 15.705968C21.155722 16.324013 20.734247 17 20.137159 17L8.8803024 17C8.2656536 17 7.8441801 16.343327 8.0549173 15.705968C8.7924957 13.446239 10.460829 11.688673 12.568196 11.012687C12.638442 10.993373 12.708688 10.993373 12.761372 11.032001C13.288214 11.341023 13.867741 11.514848 14.49995 11.514848C15.132161 11.514848 15.711687 11.341023 16.238529 11.032001C16.291214 10.993373 16.36146 10.993373 16.431705 11.012687ZM7.5308814 7.0126863C8.96984 7.5294785 10.179614 8.6784105 10.963968 10.200587C9.6813116 10.760202 8.5816984 11.740657 7.778192 12.999846L0.78625321 13C0.23727188 13 -0.13917249 12.343327 0.049049687 11.705968C0.70782733 9.4462395 2.1979196 7.6886735 4.0801415 7.0126863C4.1428823 6.9933724 4.2056227 6.9933724 4.2526784 7.0320005C4.7232337 7.341023 5.2408447 7.5148482 5.8055115 7.5148482C6.3701777 7.5148482 6.8877888 7.341023 7.3583446 7.0320005C7.4053998 6.9933724 7.4681406 6.9933724 7.5308814 7.0126863ZM14.5 3C16.432997 3 18 4.5670033 18 6.5C18 8.4329967 16.432997 10 14.5 10C12.567003 10 11 8.4329967 11 6.5C11 4.5670033 12.567003 3 14.5 3ZM22.5 0C22.876345 0 23.186829 0.31048387 23.186829 0.68682796L23.186829 2.8131721L25.313171 2.8131721C25.689516 2.8131721 26 3.1236558 26 3.5C26 3.8763442 25.689516 4.1868281 25.313171 4.1868281L23.186829 4.1868281L23.186829 6.3131719C23.186829 6.6895161 22.876345 7 22.5 7C22.123655 7 21.813171 6.6895161 21.813171 6.3131719L21.813171 4.1868281L19.686829 4.1868281C19.310484 4.1868281 19 3.8763442 19 3.5C19 3.1236558 19.310484 2.8131721 19.686829 2.8131721L21.813171 2.8131721L21.813171 0.68682796C21.813171 0.31048387 22.123655 0 22.5 0ZM6 0C7.6568542 0 9 1.3431457 9 3C9 4.6568542 7.6568542 6 6 6C4.3431458 6 3 4.6568542 3 3C3 1.3431457 4.3431458 0 6 0Z"})})});function L({value:e,color:n}){const a=s.useMemo(()=>{if(typeof e!="number"||!Number.isFinite(e))return null;const o=Math.round(e);return Math.max(0,Math.min(100,o))},[e]),t={fontSize:"12px",section_wrapper:{align:"flex-start",spacing:1,w:"72px"},section:{align:"center",spacing:"4px",color:n||"black"},icon:{boxSize:26,color:n},bar:{h:"8px",w:"100%",bg:"none",borderRadius:"2px",borderWidth:"2px",borderColor:n},barBg:{h:"100%",w:`${a}%`,borderRadius:"0",bg:n}};return a==null?null:r.jsxs(c,{...t.section_wrapper,children:[r.jsxs(p,{...t.section,"aria-label":`Capacity: ${a}% full`,children:[r.jsx(x,{as:m,...t.icon}),r.jsxs(l,{fontSize:t.fontSize,fontWeight:"light",whiteSpace:"nowrap",children:[a,"%"]})]}),r.jsx(i,{...t.bar,children:r.jsx(i,{...t.barBg})})]})}export{L as V};

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.