1import{t as e}from"./jsx-runtime-D9DEgV4S.js";import{x as t}from"./preferences-B-nqaI8H.js";import{et as n}from"./utils-BEnLUBV9.js";var r=e(),i=(e,t)=>n=>{if(!n)return`0° 0' 0"`;let r=n>0;r||(n*=-1);let i=parseInt(n),a=(n-i)*60,o=parseInt(a).valueOf(),s=parseInt((o&&(a%parseInt(a)).valueOf())*10);return`${r?e:t} ${(e||t)===`E`?(`00`+i).slice(-3):(`0`+i).slice(-2)}° ${(`0`+o).slice(-2)}' ${(`0`+s).slice(-2)}"`},a=i(`N`,`S`),o=i(`E`,`W`),s=({lon:e,decimals:r=3})=>{let[i]=t(`latLng`);return i===`decimals`?n(e,r):o(e)},c=({lat:e,decimals:r=3})=>{let[i]=t(`latLng`);return i===`decimals`?n(e,r):a(e)},l=({latMin:e,latMax:n,lonMin:i,lonMax:a,decimals:o=3})=>{let[l]=t(`latLng`);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s,{lon:i,decimals:o}),` `,l===`decimals`?`,`:` `,(0,r.jsx)(c,{lat:e,decimals:o}),` `,`, `,(0,r.jsx)(s,{lon:a,decimals:o}),` `,l===`decimals`?`,`:` `,(0,r.jsx)(c,{lat:n,decimals:o})]})},u=({coordinates:[e,n],decimals:i=3})=>{let[a]=t(`latLng`);return(0,r.jsxs)(r.Fragment,{children:[` `,(0,r.jsx)(c,{lat:n,decimals:i}),a===`decimals`?`, `:` `,(0,r.jsx)(s,{lon:e,decimals:i})]})};export{s as i,u as n,c as r,l as t};
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.