1import{u as h}from"./useTranslation-C7xSDmjz.js";const a="en";function l(n,e){const s=e.toLowerCase();let o="https://www.monroeinstitute.org",t=n;try{const r=new URL(n);o=r.origin,t=r.pathname+r.search+r.hash}catch{n.startsWith("/")||(t="/"+n)}const i=o.replace(/^https?:\/\//,"");if(!(i==="monroeinstitute.org"||i==="www.monroeinstitute.org")||t.startsWith("/checkouts/")||s===a)return o+t;const u=t.startsWith("/")?t.slice(1):t,[c]=u.split(/[/?#]/,1);return c===s?o+t:o+"/"+s+(t.startsWith("/")?t:"/"+t)}function f(){const{i18n:n}=h(),e=n.resolvedLanguage||n.language||a;return s=>l(s,e)}export{f as u};
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.