PageSourceSearch

https://www.runbung.app/_nuxt/C-xN1IAl.js

js runbung.app collected 2026-10-02 00:14:24 UTC 1,950 bytes, 1 lines download raw bytes

1import{F as f,X as c,$ as i,a7 as o,a5 as r,U as _}from"./BmCpiRnJ.js";const S={class:"flex items-baseline justify-between tabular-nums"},d={class:"flex flex-row items-end gap-x-1"},M={class:"font-medium text-surface-600 dark:text-surface-400"},N={key:0,class:"text-sm font-medium text-surface-400 dark:text-surface-500"},h={class:"flex items-baseline gap-x-1"},O={class:"font-semibold text-primary-700 dark:text-primary-400"},T={key:0,class:"text-sm font-medium text-surface-400 dark:text-surface-500"},D=f({__name:"calcResultItem",props:{label:{},subLabel:{},value:{},unit:{}},setup(t){return(e,s)=>(c(),i("div",S,[o("div",d,[o("p",M,r(t.label),1),t.subLabel?(c(),i("p",N,r(t.subLabel),1)):_("",!0)]),o("div",h,[o("p",O,r(t.value??"--"),1),t.unit?(c(),i("p",T,r(t.unit),1)):_("",!0)])]))}}),n={SECONDS_PER_MINUTE:60,SECONDS_PER_HOUR:3600},m={KM_TO_MILE:.621371,MILE_TO_KM:1.60934};function I(t,e,s){return e===s?t:e==="km"?t*m.KM_TO_MILE:t*m.MILE_TO_KM}function P(t,e,s){const a=Math.max(0,t),l=Math.max(0,Math.min(e,59)),E=Math.max(0,Math.min(s,59));return`${a}:${u(l)}:${u(E)}`}function U(t,e){if(t<0||e<0)return"--:--";const s=Math.max(0,t),a=Math.max(0,Math.min(e,59));return`${s}:${u(a)}`}function u(t){return t.toString().padStart(2,"0")}function x(t,e,s){return t*n.SECONDS_PER_HOUR+e*n.SECONDS_PER_MINUTE+s}function b(t){const e=Math.floor(t/n.SECONDS_PER_HOUR),s=Math.floor(t%n.SECONDS_PER_HOUR/n.SECONDS_PER_MINUTE),a=Math.round(t%n.SECONDS_PER_MINUTE);return R({hours:e,minutes:s,seconds:a})}function R({hours:t,minutes:e,seconds:s}){let a=x(t,e,s);return{hours:Math.floor(a/n.SECONDS_PER_HOUR),minutes:Math.floor(a%n.SECONDS_PER_HOUR/n.SECONDS_PER_MINUTE),seconds:Math.round(a%n.SECONDS_PER_MINUTE)}}function v(t,e,s="km"){if(t<=0||e<=0)return{minutes:0,seconds:0};const a=e/t;return{minutes:Math.floor(a/n.SECONDS_PER_MINUTE),seconds:Math.round(a%n.SECONDS_PER_MINUTE)}}export{D as _,U as a,v as b,x as c,I as d,P as f,R as n,b as s};

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.