1function m(e="",o={}){let t=e;switch(!0){case u(e):t=c(e,o);break;case l(e):t=i(e,o);break}return t}function c(e="",o={}){const a={...{byline:0,portrait:0,autoplay:1,color:"ffffff",controls:1,playsinline:1,api:1,dnt:0,title:0,autopause:1},...o},n=new URL(e);n.search="",n.hostname="player.vimeo.com";const s=n.pathname.split("/").filter(Boolean);return n.pathname=`/video/${s[0]||""}`,s[1]&&n.searchParams.set("h",s[1]),r(n,a).toString()}function i(e,o){const a={...{rel:0,autoplay:1,color:"ffffff",controls:1,playsinline:1,enablejsapi:1,modestbranding:1,loop:0},...o},n=f(e),s=new URL(e);return s.search="",s.pathname=`/embed/${n}`,r(s,a).toString().replace("https://youtu.be/","https://www.youtube.com/")}function r(e,o={}){return Object.entries(o).forEach(([t,a])=>{typeof a=="boolean"?e.searchParams.set(t,Number(a).toString()):e.searchParams.set(t,String(a))}),e}function u(e=""){return e.includes("vimeo.com")}function l(e=""){return e.includes("youtube.com")||e.includes("youtu.be")}function f(e=""){const o=/youtu(?:.*\/v\/|.*v\=|\.be\/)([A-Za-z0-9_\-]{11})/,t=e.match(o);return t?t[1]:""}export{m as b};
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.