PageSourceSearch

https://wyzdom.ai/_nuxt/B5r4LbIU.js

js wyzdom.ai collected 2026-10-05 14:38:56 UTC 3,686 bytes, 1 lines download raw bytes

1function V(){const d=t=>/vimeo\.com/.test(t),m=t=>/gumlet\.(com|io|tv)/.test(t),u=t=>/loom\.com/.test(t)&&!/cdn\.loom\.com/.test(t),l=t=>/cdn\.loom\.com/.test(t),h=t=>/wistia\.(com|net)/.test(t),p=t=>/tiktok\.com/.test(t)||/vm\.tiktok\.com/.test(t),y=t=>/twitch\.tv/.test(t),f=t=>{const o=/(?:vimeo\.com\/(?:video\/|channels\/[^\/]+\/|groups\/[^\/]+\/videos\/)?|player\.vimeo\.com\/video\/)(\d+)/,e=t.match(o);return e?e[1]:""},v=t=>{const o=/(?:play\.gumlet\.(?:io|tv)\/embed\/|gumlet\.(?:com|tv)\/watch\/|video\.gumlet\.(?:io|tv)\/[^\/]+\/)([a-zA-Z0-9]+)/,e=t.match(o);return e?e[1]:""},w=t=>{const o=/loom\.com\/(?:share|embed|v)\/([a-zA-Z0-9-_]+)/,e=t.match(o);return e?e[1]:""},g=t=>{const o=/(?:wistia\.(?:com|net)\/(?:embed\/iframe\/|medias\/))([a-zA-Z0-9]+)/,e=t.match(o);return e?e[1]:""},b=t=>{const o=/tiktok\.com\/@[^\/]+\/video\/(\d+)|tiktok\.com\/v\/(\d+)/,e=t.match(o);return e&&(e[1]||e[2])||""},$=t=>{const o=t.match(/twitch\.tv\/videos\/(\d+)/);if(o)return{type:"video",id:o[1]};const e=t.match(/twitch\.tv\/collections\/([a-zA-Z0-9]+)/);if(e)return{type:"collection",id:e[1]};const c=t.match(/twitch\.tv\/([a-zA-Z0-9_]+)/);return c&&!["videos","collections","directory"].includes(c[1])?{type:"channel",id:c[1]}:null},_=(t,o,e)=>{if(!t)return"";const c=o==="background"||(e==null?void 0:e.loop)===!0;if(h(t)){const r=g(t);if(!r)return"";if(o==="background")return`${`https://fast.wistia.net/embed/iframe/${r}`}?autoPlay=true&silentAutoPlay=true&muted=true&endVideoBehavior=loop&controlsVisibleOnLoad=false&playButton=false`;{const n=`https://fast.wistia.net/embed/iframe/${r}`;return c?`${n}?endVideoBehavior=loop`:n}}if(l(t))return t;if(u(t)){const r=w(t);if(!r)return"";if(o==="background")return`https://www.loom.com/embed/${r}?autoplay=1&loop=1&muted=1&hide_owner=true&hide_share=true&hide_title=true&hideEmbedTopBar=true&hide_controls=true`;{const n=`https://www.loom.com/embed/${r}`;return c?`${n}?loop=1`:n}}if(m(t)){const r=v(t);if(!r)return"";if(o==="background")return`https://play.gumlet.io/embed/${r}?autoplay=true&loop=true&muted=true&preload=true`;{const n=`https://play.gumlet.io/embed/${r}?preload=true`;return c?`${n}&loop=true`:n}}if(d(t)){const r=f(t);if(!r)return"";if(o==="background")return`https://player.vimeo.com/video/${r}?autoplay=1&loop=1&muted=1&background=1&controls=0`;{const n=`https://player.vimeo.com/video/${r}?controls=1`;return c?`${n}&loop=1`:n}}if(p(t)){const r=b(t);return r?`https://www.tiktok.com/embed/v2/${r}`:""}if(y(t)){const r=$(t);if(!r)return"";const{type:n,id:a}=r;let i=`https://player.twitch.tv/?parent=${window.location.hostname}`;return n==="channel"?i+=`&channel=${a}`:n==="video"?i+=`&video=${a}`:n==="collection"&&(i+=`&collection=${a}`),o==="background"?i+="&autoplay=true&muted=true&controls=false&loop=true":i+="&autoplay=false&muted=false",i}const s=k(t);return s?o==="background"?`https://www.youtube.com/embed/${s}?autoplay=1&controls=0&loop=1&playlist=${s}&mute=1&modestbranding=1&rel=0&iv_load_policy=3&cc_load_policy=0&disablekb=1&fs=0&showinfo=0&hl=en&cc_lang_pref=0&cc=0`:`https://www.youtube.com/embed/${s}?controls=1&modestbranding=1&rel=0&cc_load_policy=0&iv_load_policy=3&disablekb=1&fs=0&showinfo=0&hl=en&cc_lang_pref=0&cc=0`:""},k=t=>{const o=/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/ ]{11})/,e=t.match(o);return e?e[1]:""};return{getYoutubeEmbedUrl:_,extractYoutubeVideoId:k,extractVimeoVideoId:f,extractGumletVideoId:v,extractLoomVideoId:w,extractWistiaVideoId:g,extractTiktokVideoId:b,isVimeoUrl:d,isGumletUrl:m,isLoomUrl:u,isLoomCdnUrl:l,isWistiaUrl:h,isTiktokUrl:p,isDirectVideoUrl:t=>t?l(t)||/\.(mp4|webm|ogg)(\?|$)/i.test(t):!1}}export{V 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.