1import{O as n,T as i}from"./BG_GLsJa.js";const f=n("/video-poster.webp");function y(){const{SQLBITS_ENV:t}=i().public;return["staging","test"].includes(t)}const a=/^https?:\/\/stream\.mux\.com\/([A-Za-z0-9_-]+)(?:\.m3u8)?(\?[^#]*)?/i,u=/^[A-Za-z0-9_-]+$/,l=/\.m3u8(?:[?#]|$)/i;function c(t){const s=(t?.Url||"").trim(),r=a.exec(s);return r?{playbackId:r[1],query:r[2]||""}:/mux/i.test(t?.VideoType||"")&&u.test(s)?{playbackId:s,query:""}:null}function m(t,s=0){const r=c(t);if(r)return{id:String(t.VideoId??`mux-${s}`),label:t.Title||"",src:`https://stream.mux.com/${r.playbackId}.m3u8${r.query}`,poster:r.query?"":`https://image.mux.com/${r.playbackId}/thumbnail.webp?width=1280`,provider:"mux"};const e=(t?.Url||"").trim();return l.test(e)?{id:String(t.VideoId??`hls-${s}`),label:t.Title||"",src:e,poster:"",provider:"hls"}:null}function o(t){const s=(t?.Url||"").trim();return/mux/i.test(t?.VideoType||"")&&u.test(s)}function b(t,{canSignMux:s=!1}={}){return Array.isArray(t)?s?t:t.filter(r=>!o(r)):[]}function x(t){return Array.isArray(t)?t.map(m).filter(Boolean):[]}export{f as _,x as a,o as i,b as p,m as s,y 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.