1import{o as e}from"./CFoBoHlA.js";import{_n as t}from"./Ib1jYPSS.js";import{f as n}from"./C_vVQk0Y.js";import{r}from"./CJ7_pFHx.js";var i=(e=``)=>RegExp(`^CAM-[a-z0-9]{6}\\|TCH-[a-z0-9]{6}\\|TCO-[a-z0-9]{6}\\|CTY-[a-z0-9]{6}\\|CCO-[a-z0-9]{6}\\|PRG-[a-z0-9]{6}$`,`i`).test(e),a=({activeMid:e,midFromUrl:t,defaultMid:n})=>t||e||n;function o(o){let s=r(`activeMid`,()=>``),c=r(`midPinned`,()=>!1),l=e();try{let e=o||n(),t=typeof e.query.mid==`string`?e.query.mid:``,r=!c.value&&i(t)?t:null,u=typeof l.public.DEFAULT_MID==`string`?l.public.DEFAULT_MID:``,d=a({activeMid:s.value,midFromUrl:r,defaultMid:u});d!==s.value&&(s.value=d)}catch{}function u(e){i(e)&&(s.value=e)}function d(e){let t=typeof l.public.DEFAULT_MID==`string`?l.public.DEFAULT_MID:``;s.value=e??t}return{mid:t(s),setMid:u,resetMid:d}}export{o as t}; 2//# sourceMappingURL=B7YFGIU4.js.map
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.