1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];if(null!=a)for(var s in a)a.hasOwnProperty(s)&&(e[s]=a[s])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:deepgram-marketing-web":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8d59f481-5480-45a9-9b18-be2903958c1d",e._sentryDebugIdIdentifier="sentry-dbid-8d59f481-5480-45a9-9b18-be2903958c1d")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2042],{23992:(e,t,a)=>{a.r(t),a.d(t,{default:()=>w});var s=a(7620);let i="https://player.twitch.tv",r=/(?:www\.|go\.)?twitch\.tv\/(?:videos?\/|\?video=)(\d+)($|\?)/,n=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;function o(e,t={}){let a={src:l(e,t),frameborder:"0",width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; picture-in-picture;",sandbox:"allow-modals allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox",scrolling:"no"};return t.config&&(a["data-config"]=JSON.stringify(t.config)),` 2 <style> 3 :host { 4 display: inline-block; 5 min-width: 300px; 6 min-height: 150px; 7 position: relative; 8 } 9 iframe { 10 position: absolute; 11 top: 0; 12 left: 0; 13 width: 100%; 14 height: 100%; 15 } 16 :host(:not([controls])) { 17 pointer-events: none; 18 } 19 </style> 20 <iframe${function(e){let t="";for(let a in e){let s=e[a];""===s?t+=` ${d(a)}`:t+=` ${d(a)}="${d(`${s}`)}"`}return t}(a)}></iframe> 21 `}function l(e,t){var a;if(!e.src)return;let s=e.src.match(r),o=e.src.match(n),l={parent:null==(a=globalThis.location)?void 0:a.hostname,controls:""===e.controls&&null,autoplay:""===e.autoplay&&null,muted:e.muted,preload:e.preload,...t.config};if(s){let e=s[1];return`${i}/?video=v${e}&${h(l)}`}if(o){let e=o[1];return`${i}/?channel=${e}&${h(l)}`}return""}class u extends(globalThis.HTMLElement??class{}){static getTemplateHTML=o;static shadowRootOptions={mode:"open"};static observedAttributes=["autoplay","controls","loop","muted","playsinline","preload","src"];loadComplete=new c;#e;#t;#a;#s={};#i=0;#r=!1;#n=1;#o=!this.autoplay;#l=!1;#u=0;#d=null;constructor(){super(),this.#h("config")}get config(){return this.#d}set config(e){this.#d=e}async load(){if(this.#e)return;this.shadowRoot||this.attachShadow({mode:"open"});let e=!this.#t;if(this.#t&&(this.loadComplete=new c),this.#t=!0,await (this.#e=Promise.resolve()),this.#e=null,this.#u=0,this.dispatchEvent(new Event("emptied")),!this.src){this.shadowRoot.innerHTML="",globalThis.removeEventListener("message",this.#c);return}this.dispatchEvent(new Event("loadstart"));let t=this.shadowRoot.querySelector("iframe"),a=function(e){let t={};for(let a of e)t[a.name]=a.value;return t}(this.attributes);e&&t&&(this.#d=JSON.parse(t.getAttribute("data-config")||"{}")),(null==t?void 0:t.src)&&t.src===l(a,this)||(this.shadowRoot.innerHTML=o(a,this),t=this.shadowRoot.querySelector("iframe")),this.#a=t,globalThis.addEventListener("message",this.#c)}attributeChangedCallback(e,t,a){if(t!==a)switch(e){case"src":case"controls":this.load()}}getVideoPlaybackQuality(){return this.#s.stats.videoStats}get src(){return this.getAttribute("src")}set src(e){this.setAttribute("src",e)}get readyState(){return this.#u}get seeking(){return this.#l}get buffered(){var e,t,a;return a=(null==(t=null==(e=this.#s.stats)?void 0:e.videoStats)?void 0:t.bufferSize)??0,Array.isArray(0)?p(0):null==a||0===a?p([[0,0]]):p([[0,a]])}get paused(){return this.#s.playback?"Idle"===this.#s.playback:this.#o}get ended(){return!!this.#s.playback&&"Ended"===this.#s.playback}get duration(){return this.#s.duration??NaN}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(e){this.autoplay!=e&&this.toggleAttribute("autoplay",!!e)}get controls(){return this.hasAttribute("controls")}set controls(e){this.controls!=e&&this.toggleAttribute("controls",!!e)}get currentTime(){return this.#s.currentTime?this.#s.currentTime:this.#i}set currentTime(e){this.#i=e,this.loadComplete.then(()=>{this.#p(4,e)})}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(e){this.toggleAttribute("muted",!!e)}get loop(){return this.hasAttribute("loop")}set loop(e){this.toggleAttribute("loop",!!e)}get muted(){return this.#r}set muted(e){this.#r=e,this.loadComplete.then(()=>{this.#p(10,e)})}get volume(){return this.#n}set volume(e){this.#n=e,this.loadComplete.then(()=>{this.#p(11,e)})}
21get playsInline(){return this.hasAttribute("playsinline")}set playsInline(e){this.toggleAttribute("playsinline",!!e)}play(){this.#o=!1,this.#p(3)}pause(){this.#o=!0,this.#p(2)}#c=async e=>{var t,a,s,i;if(!this.#a.contentWindow)return;let{data:r,source:n}=e;if(n===this.#a.contentWindow){if("twitch-embed"===r.namespace)await new Promise(e=>setTimeout(e,10)),"ready"===r.eventName?(this.dispatchEvent(new Event("loadcomplete")),this.loadComplete.resolve(),this.#u=1,this.dispatchEvent(new Event("loadedmetadata"))):"seek"===r.eventName?(this.#l=!0,this.dispatchEvent(new Event("seeking"))):"playing"===r.eventName?(this.#l&&(this.#l=!1,this.dispatchEvent(new Event("seeked"))),this.#u=3,this.dispatchEvent(new Event("playing"))):this.dispatchEvent(new Event(r.eventName));else if("twitch-embed-player-proxy"===r.namespace&&"UPDATE_STATE"===r.eventName){let e=this.#s.duration,n=this.#s.currentTime,o=this.#s.volume,l=this.#s.muted,u=null==(a=null==(t=this.#s.stats)?void 0:t.videoStats)?void 0:a.bufferSize;this.#s={...this.#s,...r.params},e!==this.#s.duration&&this.dispatchEvent(new Event("durationchange")),n!==this.#s.currentTime&&this.dispatchEvent(new Event("timeupdate")),(o!==this.#s.volume||l!==this.#s.muted)&&(void 0!==this.#s.volume&&(this.#n=this.#s.volume),void 0!==this.#s.muted&&(this.#r=this.#s.muted),this.dispatchEvent(new Event("volumechange"))),u!==(null==(i=null==(s=this.#s.stats)?void 0:s.videoStats)?void 0:i.bufferSize)&&this.dispatchEvent(new Event("progress"))}}};#p(e,t){this.#a.contentWindow&&this.#a.contentWindow.postMessage({eventName:e,params:t,namespace:"twitch-embed-player-proxy"},i)}#h(e){if(Object.prototype.hasOwnProperty.call(this,e)){let t=this[e];delete this[e],this[e]=t}}}function d(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`")}function h(e){return String(new URLSearchParams(function(e){let t={};for(let a in e){let s=e[a];!0===s||""===s?t[a]=!0:!1===s?t[a]=!1:null!=s&&(t[a]=s)}return t}(e)))}class c extends Promise{constructor(e=()=>{}){let t,a;super((s,i)=>{e(s,i),t=s,a=i}),this.resolve=t,this.reject=a}}function p(e){return Object.defineProperties(e,{start:{value:t=>e[t][0]},end:{value:t=>e[t][1]}}),e}globalThis.customElements&&!globalThis.customElements.get("twitch-video")&&globalThis.customElements.define("twitch-video",u);var m=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),f={className:"class",htmlFor:"for"};function y(e){return e.toLowerCase()}function g(e){return"boolean"==typeof e?e?"":void 0:"function"==typeof e?void 0:"object"!=typeof e||null===e?e:void 0}function v(e,t,a){var s;e[t]=a,null==a&&t in((null==(s=globalThis.HTMLElement)?void 0:s.prototype)??{})&&e.removeAttribute(t)}var w=function(e){let{react:t,tagName:a,elementClass:s,events:i,displayName:r,defaultProps:n,toAttributeName:o=y,toAttributeValue:l=g}=e,u=Number.parseInt(t.version)>=19,d=t.forwardRef((e,r)=>{var d,h;let c=t.useRef(null),p=t.useRef(new Map),y={},w={},b={},S={};for(let[t,a]of Object.entries(e)){if(m.has(t)){b[t]=a;continue}let e=o(f[t]??t);if(s.prototype&&t in s.prototype&&!(t in((null==(d=globalThis.HTMLElement)?void 0:d.prototype)??{}))&&!(null==(h=s.observedAttributes)?void 0:h.some(t=>t===e))){S[t]=a;continue}if(t.startsWith("on")){y[t]=a;continue}let i=l(a);e&&null!=i&&(w[e]=String(i),u||(b[e]=i)),e&&u&&(i!==g(a)?b[e]=i:b[e]=a)}if("u">typeof window){for(let e in y){let a=y[e],s=e.endsWith("Capture"),r=((null==i?void 0:i[e])??e.slice(2).toLowerCase()).slice(0,s?-7:void 0);t.useLayoutEffect(()=>{let e=null==c?void 0:c.current;if(e&&"function"==typeof a)return e.addEventListener(r,a,s),()=>{e.removeEventListener(r,a,s)}},[null==c?void 0:c.current,a])}t.useLayoutEffect(()=>{if(null===c.current)return;let e=new Map;for(let t in S)v(c.current,t,S[t]),p.current.delete(t),e.set(t,S[t]);for(let[e,t]of p.current)v(c.current,e,void 0);p.current=e})}if("u"<typeof window&&(null==s?void 0:s.getTemplateHTML)&&(null==s?void 0:s.shadowRootOptions)){let{mode:a,delegatesFocus:i}=s.shadowRootOptions;b.children=[t.createElement("template",{shadowrootmode:a,shadowrootdelegatesfocus:i,dangerouslySetInnerHTML:{__html:s.getTemplateHTML(w,e)},key:"ce-la-react-ssr-template-shadow-root"}),b.children]}return t.createElement(a,{...n,...b,ref:t.useCallback(e=>{c.current=e,"function"==typeof r?r(e):null!==r&&(r.current=e)},[r])},b.children)});return d.displayName=r??s.name,d}({react:s,tagName:"twitch-video",elementClass:u,toAttributeName:e=>"muted"===e?"":"defaultMuted"===e?"muted":y(e)})}}]);
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.