!function(u,a){var t,r,o,n,i,d,s,c,l,e="Rumble",b={F:0},f=Object.create(null),p=document.location.hostname,g="rumble.com",I=(p===g||-1!==p.indexOf(g,p.length-g.length))&&Object.prototype.hasOwnProperty.call(u,"loc")&&Object.prototype.hasOwnProperty.call(u.loc,"f"),g=function(){return I?u.loc.f.apply(this,arguments):arguments[0]},h=(Object.freeze(g),Object.defineProperty(f,"f",{value:g,enumerable:!1,writable:!1,configurable:!1}),Object.setPrototypeOf(f,null),Object.freeze(f),Object.defineProperty(b,"loc",{value:f,enumerable:!1,writable:!1,configurable:!1}),function(){return(new Date).getTime()/1e3});(a=u[e]=u[e]||function(){a._.push(arguments)})._=a._||[],b.f={},b.b={};b.f["v70wut0"]={"fps":30,"w":1920,"h":1080,"u":{"tar":{"url":"https:\/\/1a-1791.com\/video\/fww1\/30\/s8\/2\/8\/d\/E\/I\/8dEIz.caa.rec.tar?r_file=chunklist.m3u8&r_type=application%2Fvnd.apple.mpegurl&r_range=712282624-712338693","meta":{"bitrate":1059,"size":712345600,"w":854,"h":480}},"timeline":{"url":"https:\/\/1a-1791.com\/video\/fww1\/30\/s8\/2\/8\/d\/E\/I\/8dEIz.Faa.rec.mp4","meta":{"bitrate":11,"size":8047743,"w":320,"h":180}},"audio":{"url":"https:\/\/1a-1791.com\/video\/fww1\/30\/s8\/2\/8\/d\/E\/I\/8dEIz.Gaa.rec.aac","meta":{"bitrate":192,"size":129049601,"w":0,"h":0}},"hls":{"url":"https:\/\/rumble.com\/hls-vod\/70wut0\/playlist.m3u8"}},"ua":{"tar":{"360":{"url":"https:\/\/1a-1791.com\/video\/fww1\/30\/s8\/2\/8\/d\/E\/I\/8dEIz.baa.rec.tar?r_file=chunklist.m3u8&r_type=application%2Fvnd.apple.mpegurl&r_range=456961536-457017523","meta":{"bitrate":679,"size":457021440,"w":640,"h":360}},"480":{"url":"https:\/\/1a-1791.com\/video\/fww1\/30\/s8\/2\/8\/d\/E\/I\/8dEIz.caa.rec.tar?r_file=chunklist.m3u8&r_type=application%2Fvnd.apple.mpegurl&r_range=712282624-712338693","meta":{"bitrate":1059,"size":712345600,"w":854,"h":480}},"720":{"url":"https:\/\/1a-1791.com\/video\/fww1\/30\/s8\/2\/8\/d\/E\/I\/8dEIz.gaa.rec.tar?r_file=chunklist.m3u8&r_type=application%2Fvnd.apple.mpegurl&r_range=1442325504-1442381981","meta":{"bitrate":2144,"size":1442385920,"w":1280,"h":720}},"1080":{"url":"https:\/\/1a-1791.com\/video\/fww1\/30\/s8\/2\/8\/d\/E\/I\/8dEIz.haa.rec.tar?r_file=chunklist.m3u8&r_type=application%2Fvnd.apple.mpegurl&r_range=2769307136-2769364013","meta":{"bitrate":4117,"size":2769367040,"w":1920,"h":1080}},"240":{"url":"https:\/\/1a-1791.com\/video\/fww1\/30\/s8\/2\/8\/d\/E\/I\/8dEIz.oaa.rec.tar?r_file=chunklist.m3u8&r_type=application%2Fvnd.apple.mpegurl&r_range=149816832-149872529","meta":{"bitrate":222,"size":149882880,"w":640,"h":360}},"1081":{"url":"https:\/\/1a-1791.com\/video\/fww1\/30\/s8\/2\/8\/d\/E\/I\/8dEIz.Eaa.rec.tar?r_file=chunklist.m3u8&r_type=application%2Fvnd.apple.mpegurl&r_range=6987473408-6987530792","meta":{"bitrate":10389,"size":6987540480,"w":1920,"h":1080}}},"timeline":{"180":{"url":"https:\/\/1a-1791.com\/video\/fww1\/30\/s8\/2\/8\/d\/E\/I\/8dEIz.Faa.rec.mp4","meta":{"bitrate":11,"size":8047743,"w":320,"h":180}}},"audio":{"192":{"url":"https:\/\/1a-1791.com\/video\/fww1\/30\/s8\/2\/8\/d\/E\/I\/8dEIz.Gaa.rec.aac","meta":{"bitrate":192,"size":129049601,"w":0,"h":0}}},"hls":{"auto":{"url":"https:\/\/rumble.com\/hls-vod\/70wut0\/playlist.m3u8"}}},"i":"https:\/\/1a-1791.com\/video\/fww1\/30\/s8\/1\/8\/d\/E\/I\/8dEIz.qR4e.1-small-Episode-394-Isaac-Butterfie.jpg","t":[{"i":"https:\/\/1a-1791.com\/video\/fww1\/30\/s8\/1\/8\/d\/E\/I\/8dEIz.qR4e.1-small-Episode-394-Isaac-Butterfie.jpg","w":1280,"h":720},{"i":"https:\/\/1a-1791.com\/video\/fww1\/30\/s8\/1\/8\/d\/E\/I\/8dEIz.aiEB.1-small-Episode-394-Isaac-Butterfie.jpg","w":720,"h":1280}],"evt":{"v":"\/l\/view...70wut0.8scj48","e":"\/l\/pte...70wut0.ppl7aj","wt":1,"t":"\/l\/timeline...70wut0.45g.squh4e"},"cc":[],"l":"\/v733it8-episode-394-isaac-butterfield.html","r":1,"title":"Episode 394 - Isaac Butterfield","author":{"name":"Anthony Rogers","url":"https:\/\/rumble.com\/c\/AnthonyRogers"},"player":false,"duration":5380,"pubDate":"2025-12-16T17:36:24+00:00","loaded":1,"vid":424796148,"timeline":[0,0],"own":false,"restrict":[-3,0],"autoplay":0,"track":0,"live":0,"live_placeholder":false,"livestream_has_dvr":true,"a":{"timeout":-1,"u":"4","aden":[1,0,0],"ov":false,"ads":[],"a":".4.14xv1n.70wut0..8j.1vva134","ae":".4.14xv1n.70wut0..8j.u4l0uh","ap":[false,0],"loop":[]},"viewer_id":"3QvsR1zL1_c",loaded:h()};if(!b.k){var v,m,_,y="https://rumble.com",p="/embedJS/u4",S=function(o,e){return o.opts||(o.opts=[]),b.D(e,function(e,t){var r=o[t];switch(t){case"opts":o[t]=r.concat(e);break;case"ad_sys":o[t]=r?b.M(r,e):e;break;default:o[t]=e}}),o},P=function(){try{return u.self!==u.top}catch(e){return!0}},g="ifr="+(P()?"1":"0")+"&",w=(b.l=h(),u.RumbleErrorHandler||(c=0,l=function(e){var t;return e&&((t=e.match(new RegExp("http[s]?://[^/]*rumble.com(/.*)$")))?t[1]:e)},u.RumbleErrorHandler=function(e){var t,r=e.message,o=e.filename,n=e.lineno,i=e.colno,a=l(o);o==a||r.match(/^Script error\./)||3<++c||(o=document.location+"",r=[l(o),c,r,a,n,i],e.error&&e.error.stack&&r.push(e.error.stack.split("\n").slice(1,3).join("\n")),a="/l/jserr?err="+encodeURIComponent(JSON.stringify(r)),o==r[0]&&(a=y+a),(t=document.createElement("img")).src=a,t.width=t.height=1,t.onload=t.onerror=function(){t.onload=null,t.onerror=null})},u.addEventListener("error",u.RumbleErrorHandler)),[]),B=(b.E=function(e){return e.split("?")[0]},b.B=function(e){var t=e.split("?"),r={};return t&&t[1]&&(t=t[1],new URLSearchParams(t).forEach(function(e,t){r[t]=e})),r},b.C=function(e){var r="";return b.D(e,function(e,t){r+=(r?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(e)}),r},b.D=function(e,t){var r,o;for(o in e)if(e.hasOwnProperty(o)&&void 0!==(r=t(e[o],o)))return r},b.K=function(e,t){if("undefined"==typeof localStorageBlocked)try{localStorageBlocked="undefined"==typeof localStorage||!localStorage}catch(r){localStorageBlocked=!0}if(void 0===t){if(!localStorageBlocked)try{t=localStorage.getItem(e)}catch(r){localStorageBlocked=!0}return localStorageBlocked?w[e]:parseInt(t)==t?parseInt(t):t}if(w[e]=t,!localStorageBlocked)try{return localStorage.setItem(e,t)}catch(r){localStorageBlocked=!1}return!1},b.L=function(e,t,r,o){if(e)if(!e.match(/^(http[s]?:)?\/\/([^/]*)\//)||r)return(o?"https:":"")+"//"+t+("/"!=e[0]?"/":"")+e;return e},b.M=function(e,t){return e.filter(function(e){return-1!==t.indexOf(e)})},b.I=function(){if("undefined"!=typeof Hls)return!0;var e="hls";try{new URL(document.location.href).searchParams.has("fml")&&(e="hls-dev")}catch(t){}return b.q([e]),!1},function(n){var i,t=.5,r=2,a=5,d=8,s=1,e=0,c=function(e){var t=e.config.liveSyncDuration;e.config.lowLatencyMode=t<=3},o=function(){0},l=function(){var e=i.config.liveSyncDuration;return!!(e&&e<d)&&(i.config.liveSyncDuration=e+s,r<(t*=2)&&(t=r),c(i),!0)},f=function(){o(),a=1<e&&0==a?-1:5,++e,2<=e&&l()&&(e=0)};return function(){var e,t={capLevelToPlayerSize:!1,autoStartLoad:!1,nudgeMaxRetry:10,minAutoBitrate:5e5,fragLoadPolicy:{"default":{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:10,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:10,retryDelayMs:1e3,maxRetryDelayMs:8e3}}}};if(n.meta&&n.meta.hlsJsConfig)for(var r in n.meta.hlsJsConfig)e=n.meta.hlsJsConfig[r],"predictive_disable_iterations"==r?a=e:"min_latency"==r?0:"max_latency"==r?d=e:"latency_interval"==r?s=e:t[r]=n.meta.hlsJsConfig[r];try{new URL(document.location.href).searchParams.has("follow_live_edge")&&(t.maxLiveSyncPlaybackRate=1.25)}catch(o){}return i=new Hls(t),c(i),i.on(Hls.Events.ERROR,function(e,t){t.type!=Hls.ErrorTypes.MEDIA_ERROR||t.details!=Hls.ErrorDetails.BUFFER_STALLED_ERROR&&t.details!=Hls.ErrorDetails.BUFFER_NUDGE_ON_STALL||f()}),i}()}),x=[2,0,1],M=["mp4","webm","hls"],N=function(f,u,p){var g,h=function(){var e=f.v.src||f.v.currentSrc;return e=e.match(/blob:/)&&f.hls_js?f.hls_js.url||e:e},v=(u.get=function(){return e=f,t=u.url,21192597==e.vid.vid?t:(r=b.B(t),o=b.E(t),e.vid.live||(n=0,e.vid.a&&(n=e.vid.a.u||0),r.u=n,r.b=0<e.bandwidth_track?1:0),o+"?"+b.C(r));var e,t,r,o,n},function(e){var t=h(),r=u.get();return f.current_video=u,r!=t||e?r:0});u.check=function(){return!v()},u.play=function(){var e,t;p&&f.hls_js&&!g&&(e=f.hls_js,(t=e.config.liveSyncDuration)&&(e.config.liveSyncDuration=1),e.startLoad(),t)&&(e.config.liveSyncDuration=t),g=!0},u.set=function(e){if(p&&!b.I())return setTimeout(function(){u.set()},100),!1;var t,r,o,n,i,a,d,s=v(e),c=0,l=0;s&&(g=!1,t=f.v,f.res=u.key,0<m&&(f.last_set_url==h()?(c=!t.paused,l=t.currentTime):0<f.video_time&&(l=f.video_time)),l&&!f.vid.live&&(f.ui.s.autoSeek=l),l=!!p&&(l=navigator.userAgent||"",r=/Android/i.test(l),/Chrome/i.test(l)&&!/iPad|iPhone/i.test(l)||r||!b.J),e=t,n=s,i=l,a=u,(o=f).hls_js&&o.hls_media_attached&&((d=o.hls_js).detachMedia(e),d.destroy(),o.hls_js=null),i?(d=o.hls_js=B(a),o.j("hlsJsLoaded",d),d.on(Hls.Events.LEVEL_UPDATED,function(e,t){o.live=t.details.live}),d.loadSource(n),d.attachMedia(e),o.hls_media_attached=1):e.src=n,m++,f.last_set_url=s,t.load(),c)&&(u.play(),t.play())};!function(){if(p){var e=u.meta&&u.meta.rumbleLsConfig,t=b.N(f,u);if(e||t){var r=new URL(u.url);if(e&&(e=/iPhone|iPad/i.test(navigator.userAgent||"")?1:u.meta.rumbleLsConfig.playlistLevel||0,r.searchParams.append("level",e)),t)for(var o in t)r.searchParams.append(o,t[o]);u.url=r.toString()}}}()},C=(b.G=function(r,e){for(var o,t,n={},i=m=0;i<x.length;i++)e[o=M[t=x[i]]]&&(b.A[t]||"hls"==o)&&b.D(e[o],function(e,t){n.hasOwnProperty(t)||(e.key=t,n[t]=e,N(r,n[t],"hls"==o))});return n},b.H=function(e){var r,o,n,i=480;e.res&&(i=e.res),e.vid.live&&!b.J&&b.I(),b.D(e.video_list,function(e,t){n=parseInt(t),"hls"!=r&&("hls"==t&&b.J||0<n&&n<=i&&(!r||r<n)?r=t:(!o||n<o&&0<n)&&(o=t))}),(r=r||o)&&e.video_list[r].set()},b.N=function(e,t){var r,o,n=e.vid.transmit_url_params;if(n){if("object"==typeof sessionStorage)try{var i=sessionStorage.getItem("transmit_session_id");i||(i=b.O(16),sessionStorage.setItem("transmit_session_id",i)),n.session=i}catch(a){}return t&&t.meta&&(r=t.meta.w,o=t.meta.h),n.w=r||e.vid.w||null,n.h=o||e.vid.h||null,n}},b.O=function(e){for(var t="",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.",o=0;o<e;o++)t+=r.charAt(Math.floor(Math.random()*r.length));return t},b.r=function(){var a={},d={},s={b:function(e,t,r){if("object"!=typeof e){if(a[e]&&!r)return!1;if(a[e]=t=t||1,d[e])for(;o=d[e].pop();)o(e,t);return!0}for(var o in e)s.b(o,e[o],r)},a:function(e,t,r){var o,n,i;for(r=r||{},o=0;i=e[o];o++)a[i]?r[i]=a[i]:(n&&(t=function(t,r){return function(e){s.a([t],r,e)}}(n[0],n[1])),n=[i,t]);n?(d[n[0]]||(d[n[0]]=[]),d[n[0]].push(function(e,t){r[e]=t,n[1](r)})):t(r)}};return s},i=b.r(),d=document,s={},b.s=function(e,t,r){var o,n,i=0;s[e]||(s[e]=1,(o=d.createElement("script")).type="text/javascript",o.src=e,r&&(o.addEventListener("load",function(){r(!0)},!1),o.addEventListener("error",function(){r(!1)},!1)),t&&(o.addEventListener("load",n=function(e){if(i||t())return i=1;e&&setTimeout(n,50)},!1),n(1)),d.head.appendChild(o))},b.q=function(e,t){for(var r,o=0;o<e.length;o++)if("ima3"==e[o])b.s("https://imasdk.googleapis.com/js/sdkloader/ima3.js",function(){return!("undefined"==typeof google||!google||!google.ima||(i.b("ima3"),0))});else if("custom_ui"!=e[o]){r=e[o];b.s(a.s.rd+"/j/pv/1077/"+r+("hls"==r||"hls-dev"==r?"":".r2")+".js",null,function(e){e?t&&t(1):b.s(a.s.rd+"/j/p/"+r+("hls"==r||"hls-dev"==r?"":".r2")+".js?_v="+Date.now(),t)})}},b.c=function(e,t,r){i.a(e,t),r||b.q(e)},a.rl=function(e,t){i.b(e)&&t&&t(b)},[0,1,"position","absolute","relative","fixed","normal","none","auto","width","height","margin","padding","border","display","#FFF","#000","100%","background","opacity"]),k=function(e){return C.hasOwnProperty(e)?C[e]:e},H=function(r,e,o){var n,t;if(!r.style&&r.length)for(t=0;t<r.length;t++)H(r[t],e,o);else b.D(e,function(e,t){n=k(t),o&&""!==r.style[n]||(r.style[n]=k(e))})},f=(b.w=H,b.y=function(e){var r={};return b.D(e,function(e,t){r[k(t)]=k(e)}),r},b.t=function(e,t,r,o,n,i,a,d){o||(o=e,n=t);var s="0",c="0";return d&&d.viewbox_top&&(s=d.viewbox_top),d&&d.viewbox_left&&(c=d.viewbox_left),i=i?" RumbleSVG-"+i:"",a=a||"",0<r.indexOf("stroke")&&(a+="stroke:currentColor;"),[e,t,'<svg style="'+a+'" class="RumbleElm'+i+'" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="'+e+'px" height="'+t+'px" viewBox="'+c+" "+s+" "+o+" "+n+'">'+r+"</svg>"]},b.j=b.r(),b.j.c=function(t,r,o,n){b.j.a([r],function(e){n&&(t=t.querySelectorAll(n)[0]),b.z(t,e[r][2]),o&&("string"==typeof o?t.style.display=o:o.apply(t))})},'<path stroke-width="3" stroke-linejoin="round" d="M19 11L3.2 1.5v19z"/>'),T=(b.j.b({bplay:b.t(32,32,f,19,22,"bplay"),play:b.t(22,22,f,19,22,"play","height:100%;"),loader:b.t(80,10,function(){for(var e,t="<g>",r=0;r<21;r++)t+='<circle cx="'+(10*r+5)+'" cy="5" r="'+(e=(e=r-6)<1||5<e?1:e)+'" />';return t+"</g>"}(),80,10)}),u.requestAnimationFrame?1:0),E={},j=function(){var e=E;E={},_=0,b.D(e,function(e){"function"==typeof e&&e()})},U=(b.a=function(e,t){if(!E[e]&&"function"==typeof t&&(E[e]=t,!_)){if(_=1,!T)return setTimeout(j,1e3/24);u.requestAnimationFrame(j)}},b.i=function(e){var t=b.u("div",0,0,e);return 1<t.childNodes.length?t.childNodes:t.firstChild},b.u=function(e,t,r,o){var n=document.createElement(e);return o&&(n.innerHTML=o),t&&(n.className=t),r&&(n.id=r),R(n),n},b.z=function(e,t){e.innerHTML=t,G(e)},b.y({font:"12px sans-serif",fontWeight:6,lineHeight:6,boxSizing:"content-box",webkitBoxSizing:"content-box",19:1,18:7,11:0,12:0,border:7,9:8,10:8,visibility:"visible",textSizeAdjust:8,textDecoration:7})),R=function(e){var t;(t=e.tagName)&&"path"!=(t=t.toLowerCase())&&"video"!=t&&(H(e,U,!0),"svg"==t?H(e,{fill:"currentColor"},!0):(H(e,{color:"inherit"},!0),G(e)))},G=function(e){var t,r;if(t=e.childNodes)for(r=0;r<t.length;r++)R(t[r])},A=(b.x=function(e,t,r,o){var n="__playerHover";(o=o||e)[n]||(e.addEventListener("mouseout",function(){H(o,o[n][0])}),e.addEventListener("mouseover",function(){H(o,o[n][1])})),o[n]=[r,t],H(o,r)},function(e){var d,n={play:"#fff",scrubber:"#75a642",hover:"#fff",background:"rgba(0, 0, 0, 0.20)",hoverBackground:"rgba(0, 0, 0, 0.4)"},s=this,c=-1,l=(b.D(e,function(e,t){s[t]=e}),s.hasima=1,s.hasInit=0,s.bandwidth_track=0,s.is_pending_n=!1,{}),f=(s.addEvent=function(e,t,r){l[r=r||1]||(l[r]={}),l[r][e]||(l[r][e]=[]),l[r][e].indexOf(t)<0&&l[r][e].push(t);var o="addEvent";e!=o&&s.j(o,e)},s.removeEvent=function(e,t,r){var o;l[r=r||1][e]&&(r&&!t?l[r][e]=[]:(o=l[r][e].indexOf(t),l[r][e].splice(o,1)))},s.hasEventListener=function(r){return b.D(l,function(e,t){if(e[r]&&0<e[r].length)return!0})},s.j=function(r,o,n){var i,a,d=[];return b.D(l,function(e,t){if(e[r]&&(n&&n==t||!n))for(a=e[r],i=0;i<a.length;i++)"function"==typeof o&&(o=o()),d.push(a[i](o))}),d},s.triggerError=function(e,t){s.j("error",{code:e,message:t})},s.l1=function(e,t,r){},s.getSetting=function(e,t){var r,o=!1;return s.vid&&s.vid.player&&s.vid.player[e]&&(r=s.vid.player[e],t&&r[t]&&(o=r[t]),t||(o=r)),o=!o&&n[t]?n[t]:o},s.loadVideoStyles=function(e){s.pp.id="vid_"+s.vid.id;var t,r,o,n,i=!1;function a(e){d&&i!==e&&(d.style.display=e?"block":"none",i=e)}s.vars.opts.title&&s.vid.title&&(d.innerHTML=s.vid.title,d.href=b.L(s.vid.l,"rumble.com"),b.w(d,{outline:0,display:"block",18:"linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,0))",textShadow:"rgba(0,0,0,0.5) 0px 0px 2px",padding:"9px",fontSize:"18px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",position:"absolute",top:0,left:0,right:0}),i=!0,s.addEvent("ui:animate",function(e){a(!!e.next)}),s.addEvent("ui",function(){a(!!s.ui.shown)}),b.x(d,{textDecoration:"underline"},{textDecoration:"none"})),s.bp&&(t=s.getSetting("colors","play"),r=s.getSetting("colors","hover"),o=s.getSetting("colors","background"),n=s.getSetting("colors","hoverBackground"),b.x(s.bp,{color:r,background:n,borderColor:n},{color:t,background:o,borderColor:o},s.bp_svg),s.bp.style.opacity=1)},s.trackBandwidth=function(e){var t=s.bandwidth_track;(e=s.server.bw_tracking?e:0)!=t&&(s.bandwidth_track=e,s.current_video)&&!s.m&&s.current_video.set()},s.loadVideo=function(e,t,r,o,n){var i=(e="object"!=typeof e?{id:e}:e).id;if(b.b[i]&&(s.vars.playlist||(s.vars.playlist=b.b[i]),i=b.b[i][0]),s.hasInit||(s.hasInit=1,b.c(["ui","custom_ui"],function(){for(var e=0;e<b.d.length;e++)b.d[e](s.id)})),!t)return b.e(i,function(){s.loadVideo(e,1,r,o,n)},{ad_count:s.ad_count||null});if(b.f[i].loaded<9){if(s.triggerError("load","Unable to load video "+i),t)throw"Unable to load video "+i;return 2}b.f[i].cfg=e,b.f[i].plays=0;var a=b.f[i];if(a.restrict&&!f(a.restrict)&&(s.triggerError("restricted","Video is restricted"),b.f[i].restricted=!0,s.j("restricted",i),b.f[i].ua=0),s.vars.opts.region_blocked&&(s.triggerError("regionBlocked","Region is not allowed"),b.f[i].regionBlocked=!0,s.j("regionBlocked",i)),a.id=i,a.is_autoplayed=r,a.experiments=o,a.search_correlator=n,s.vid=a,s.live=2==s.vid.live,s.video_list=0,s.current_video=0,c<0&&(c=(s.vars.opts.noads||s.server.bw_ourads_check&&s.vars.opts.norumbleads)&&a.a?1:0),s.trackBandwidth(a&&a.track||c?1:0),!a.restricted&&a.ua&&(s.video_list=b.G(s,a.ua),b.H(s),s.loadVideoStyles()),b.g(s),s.j("loadVideo",a),b.h(s,1),a.restricted&&t)throw"Video "+i+" is restricted"},function(e){var t,r,o,n,i=document,a=!1;if(!e||e[0]<=-3)return!0;r=e[0],o=e[1];try{t=parent!==u?i.referrer||parent.location.href:i.location.href}catch(d){}if(!t)return parent===u;if(t=t.match(/^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i))for(t=t[1].split(".");2<=t.length&&!a;)n=t.join("."),-1<o.indexOf(n)&&(a=!0),t.shift();return r!=a}),t=(s.id?s.id+"-":"")+"Rumble-cls",r="metadata",o={2:4,9:17,10:17,18:16,color:15,clear:"both",overflow:"visible"};(s.vars.opts.minimal||s.vars.opts.nopreload)&&(r="none"),s.vars.quality&&(s.res=parseInt(s.vars.quality)),t=b.i('<div class="'+t+'" allowfullscreen tabindex="-1" style="outline: none;"><div><video muted playsinline hidefocus="hidefocus" style="transition: transform 0.3s ease-in-out;width:100% !important;height:100% !important;display:block" preload="'+r+'"'+(s.vars.opts.cc?' crossorigin="anonymous"':"")+'></video><div style="display:flex;opacity:0" class="bigPlayUI ctp"><div class="bigPlayUIInner ctp" style="display:none"></div></div><a style="display:none" target=_blank rel=noopener></a></div></div>'),b.w(t.firstChild,o),b.w(t,o),b.j.c(t,"bplay","block",".bigPlayUIInner"),s.d.appendChild(t),s.p=t.firstChild,s.pp=t,s.v=s.p.firstChild,function(e){if(!b.A){var t,r="canPlayType",o='video/mp4; codecs="avc1.42E01E',n=[0,o+'"',0,o+', mp4a.40.2"',1,'video/webm; codecs="vp9, vorbis"',2,"application/vnd.apple.mpegurl"],i=[!1,!1,!1];if(!e||!e[r])return;for(t=0;t<n.length;t+=2)e[r](n[t+1])&&(i[n[t]]=!0);b.J=i[2],b.A=i}}(s.v),s.rsz=[0,0],s.bp=s.p.childNodes[1],s.bp_svg=s.bp.childNodes[0],s.hasStyle={},d=s.p.childNodes[2],b.w(s.bp_svg,{fill:"currentColor",9:screen.width<480?"16px":"32px",10:screen.width<480?"16px":"32px",12:screen.width<480?"16px":"32px",cursor:"pointer",borderRadius:"50%"}),b.w(s.bp_svg.firstChild,{height:"auto",width:"100%"}),b.w(s.bp,{display:"flex",opacity:0,position:"absolute",top:0,left:0,width:"100%",height:"100%",cursor:"pointer",alignItems:"center",justifyContent:"center",overflow:"hidden"}),s.v.addEventListener("contextmenu",function(e){return e.preventDefault(),!1}),s.loadVideoStyles()});b.d=[];a.s={rd:y,ru:p,ds:S({opts:["title"]},{"feature_ad_watchtime":true,"watching_now_endpoint":"https:\/\/wn0.rumble.com","show_premium_exclusive_gate":false,"ad_free_end_slot_seconds":270,"pause_ads":{"show_pause_ads":false,"pause_ads_time_ms":4000,"pause_ads_sdk":null},"do_not_add_to_watch_history":false}),rp:y+p+"/?"+g+"dref=&request=",server:{"bw_tracking":1,"bw_noads_check":1}};b.k={},a.gdpr=2,b.m=function(e,t,r,o){var n=new XMLHttpRequest;n.onreadystatechange=function(){4==n.readyState&&200==n.status&&t(JSON.parse(n.responseText))},n.open("GET",(o?"":a.s.rp)+e),n.send()},b.e=function(e,t,r){var o,n,i,a=[];for("object"!=typeof e&&(e=[e]),o=0;o<e.length;o++)n=e[o],(!b.f[n]||1<b.f[n].loaded&&b.f[n].loaded+(1==e.length?900:1800)<h())&&(b.f[n]={loaded:0,wait:[]}),0==(i=b.f[n]).loaded&&(a.push(n),i.loaded=1),t&&i.loaded<9&&i.wait.push(t);return 0<a.length?(r=r?"&ext="+encodeURIComponent(JSON.stringify(r)):"",r=(r+="")+"&ad_wt="+(b.K("ad_wt")||0),b.m("video&ver=2&v="+a[0]+r,function(e){var t,r,o=[],n={};for(e.loaded||!e?n[a[0]]=e:n=e,b.D(n,function(e,t){for(;r=b.f[t].wait.pop();)o.indexOf(r)<0&&o.push(r);e&&(b.f[t]=e,b.f[t].loaded=h())}),t=0;t<o.length;t++)o[t]()}),1):(t&&t(),0)},a.resize=function(){b.D(b.k,function(e){b.h(e)})},b.h=function(e,t){var r,o,n=!e.rsz,i=[e.pp.clientWidth,e.pp.clientHeight],a=u.innerHeight,d=e.vars;d.resize||(d.resize=P()?"full":"auto");(!n&&(e.rsz[0]!=i[0]||e.rsz[1]!=i[1])||a<i[1]||t)&&(o=d.resize,d.ia&&(o="ia"),e.ui&&e.ui.isFloating&&(o="auto"),r=Math.floor(i[0]/16*9),"ia"==o?screen&&screen.height<r&&(r=screen.height):"full"==o?r=0:"window"==o?r=a:("ctpauto"==o&&e.ui&&e.ui.ctp&&(d.resize="auto"),(a<r||e.ui&&e.ui.getFullScreen())&&(r=0)),"window"!=o&&"ctpauto"!=o&&"auto16:9"!=o&&"full"!=o&&e.vid&&e.vid.a&&e.vid.a.aden&&e.vid.a.aden[2]&&r<360&&0!=r&&!d["float"]&&(r=360),e.rsz[0]!=i[0]&&(n=1),i[1]!=r)&&(n=1,e.pp.style.height=0<r?(i[1]=r)+"px":"100%"),e.rsz&&!n||(e.rsz=i),n&&(b.g(e),e.j("resize"))},b.g=function(e){if(!(!e.vid||e.ui&&e.ui.hasPlayed)){var t,r,o,n=e.vid.i,i=e.vid.t,a=-1,d=e.rsz[0],s=e.rsz[1],c=d/s;if(i)for(t=0;t<i.length;t++)o=c<(o=(r=i[t]).w/r.h)?(s-d/o)*d:(d-s*o)*s,(a<0||o<a)&&(a=o,n=r.i);e.v.poster!=n&&(e.v.poster=n)}},a.$play=function(e,t){var r,o,n=JSON.parse(JSON.stringify(a.s.ds)),i={};if((n=S(n,e)).opts&&(b.D(n.opts,function(e){i[e]=1}),n.opts=i),n.gdpr="undefined"==typeof n.gdpr?2:n.gdpr?1:0,2!=n.gdpr&&(a.gdpr=n.gdpr),b.n=-1==n.analytics||n.opts.minimal?1:0,b.o=n.opts.skip_ga_load?1:0,b.p=n.opts.force_ga_load?1:0,!n.div){if(!v)throw"No div was defined for the player";n.div=v}if(v=o=n.div,!b.k[o]||(r=b.k[o]).d.parentNode||(r=0),n.macros||(n.macros={}),!r){if(!(r=document.getElementById(o))){if(2<t)throw o+" div not found";u.addEventListener("DOMContentLoaded",function(){a.$play(e,3)})}b.k[o]||b.F++,b.k[o]=r=new A({d:r,vid:0,id:o,vars:n,server:a.s.server})}r.loadVideo(n.video),b.h(r)};a.rl("custom_ui");a.$playSettings=function(e){a.s.ds=S(a.s.ds,e)},u.addEventListener("resize",function(){b.a("resize",a.resize)}),u.addEventListener("orientationchange",function(){setTimeout(function(){a.resize()},500)});var L,D,z,O=u.Rumble;for(O._=L=O._||[],L.push=function(e){var t=L.slice.call(e),r=O["$"+t.shift()];"function"==typeof r?r.apply(O,t):t.push.call(L,e)},D=-1,z=L.length;++D<z;)L.push(L.shift())}}(window);
