!function(e,t){"use strict";"object"==typeofmodule&&"object"==typeofmodule.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)thrownewError("jQuery requires a window with a document");returnt(e)}:t(e)}("undefined"!=typeofwindow?window:this,(function(e,t){"use strict";varn=[],A=Object.getPrototypeOf,r=n.slice,o=n.flat?function(e){returnn.flat.call(e)}:function(e){returnn.concat.apply([],e)},i=n.push,s=n.indexOf,a={},u=a.toString,l=a.hasOwnProperty,c=l.toString,d=c.call(Object),f={},p=function(e){return"function"==typeofe&&"number"!=typeofe.nodeType&&"function"!=typeofe.item},h=function(e){returnnull!=e&&e===e.window},g=e.document,m={type:!0,src:!0,nonce:!0,noModule:!0};functionv(e,t,n){varA,r,o=(n=n||g).createElement("script");if(o.text=e,t)for(Ainm)(r=t[A]||t.getAttribute&&t.getAttribute(A))&&o.setAttribute(A,r);n.head.appendChild(o).parentNode.removeChild(o)}functiony(e){returnnull==e?e+"":"object"==typeofe||"function"==typeofe?a[u.call(e)]||"object":typeofe}varb="3.7.1",x=/HTML$/i,C=function(e,t){returnnewC.fn.init(e,t)};functionE(e){vart=!!e&&"length"ine&&e.length,n=y(e);return!p(e)&&!h(e)&&("array"===n||0===t||"number"==typeoft&&t>0&&t-1ine)}functionw(e,t){returne.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}C.fn=C.prototype={jquery:b,constructor:C,length:0,toArray:function(){returnr.call(this)},get:function(e){returnnull==e?r.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){vart=C.merge(this.constructor(),e);returnt.prevObject=this,t},each:function(e){returnC.each(this,e)},map:function(e){returnthis.pushStack(C.map(this,(function(t,n){returne.call(t,n,t)})))},slice:function(){returnthis.pushStack(r.apply(this,arguments))},first:function(){returnthis.eq(0)},last:function(){returnthis.eq(-1)},even:function(){returnthis.pushStack(C.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){returnthis.pushStack(C.grep(this,(function(e,t){returnt%2})))},eq:function(e){vart=this.length,n=+e+(e<0?t:0);returnthis.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){returnthis.prevObject||this.constructor()},push:i,sort:n.sort,splice:n.splice},C.extend=C.fn.extend=function(){vare,t,n,A,r,o,i=arguments[0]||{},s=1,a=arguments.length,u=!1;for("boolean"==typeofi&&(u=i,i=arguments[s]||{},s++),"object"==typeofi||p(i)||(i={}),s===a&&(i=this,s--);s<a;s++)if(null!=(e=arguments[s]))for(tine)A=e[t],"__proto__"!==t&&i!==A&&(u&&A&&(C.isPlainObject(A)||(r=Array.isArray(A)))?(n=i[t],o=r&&!Array.isArray(n)?[]:r||C.isPlainObject(n)?n:{},r=!1,i[t]=C.extend(u,o,A)):void0!==A&&(i[t]=A));returni},C.extend({expando:"jQuery"+(b+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){thrownewError(e)},noop:function(){},isPlainObject:function(e){vart,n;return!(!e||"[object Object]"!==u.call(e))&&(!(t=A(e))||"function"==typeof(n=l.call(t,"constructor")&&t.constructor)&&c.call(n)===d)},isEmptyObject:function(e){vart;for(tine)return!1;return!0},globalEval:function(e,t,n){v(e,{nonce:t&&t.nonce},n)},each:function(e,t){varn,A=0;if(E(e))for(n=e.length;A<n&&!1!==t.call(e[A],A,e[A]);A++);elsefor(Aine)if(!1===t.call(e[A],A,e[A]))break;returne},text:function(e){vart,n="",A=0,r=e.nodeType;if(!r)for(;t=e[A++];)n+=C.text(t);return1===r||11===r?e.textContent:9===r?e.documentElement.textContent:3===r||4===r?e.nodeValue:n},makeArray:function(e,t){varn=t||[];returnnull!=e&&(E(Object(e))?C.merge(n,"string"==typeofe?[e]:e):i.call(n,e)),n},inArray:function(e,t,n){returnnull==t?-1:s.call(t,e,n)},isXMLDoc:function(e){vart=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!x.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(varn=+t.length,A=0,r=e.length;A<n;A++)e[r++]=t[A];returne.length=r,e},grep:function(e,t,n){for(varA=[],r=0,o=e.length,i=!n;r<o;r++)!t(e[r],r)!==i&&A.push(e[r]);returnA},map:function(e,t,n){varA,r,i=0,s=[];if(E(e))for(A=e.length;i<A;i++)null!=(r=t(e[i],i,n))&&s.push(r);elsefor(iine)null!=(r=t(e[i],i,n))&&s.push(r);returno(s)},guid:1,support:f}),"function"==typeofSymbol&&(C.fn[Symbol.iterator]=n[Symbol.it
function(e,t){"object"==typeofexports&&"object"==typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define([],t):"object"==typeofexports?exports.NoSleep=t():e.NoSleep=t()}(this,(function(){returnfunction(e){vart={};functionn(A){if(t[A])returnt[A].exports;varr=t[A]={i:A,l:!1,exports:{}};returne[A].call(r.exports,r,r.exports,n),r.l=!0,r.exports}returnn.m=e,n.c=t,n.d=function(e,t,A){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:A})},n.r=function(e){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)returne;if(4&t&&"object"==typeofe&&e&&e.__esModule)returne;varA=Object.create(null);if(n.r(A),Object.defineProperty(A,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeofe)for(varrine)n.d(A,r,function(t){returne[t]}.bind(null,r));returnA},n.n=function(e){vart=e&&e.__esModule?function(){returne.default}:function(){returne};returnn.d(t,"a",t),t},n.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";varA=function(){functione(e,t){for(varn=0;n<t.length;n++){varA=t[n];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"inA&&(A.writable=!0),Object.defineProperty(e,A.key,A)}}returnfunction(t,n,A){returnn&&e(t.prototype,n),A&&e(t,A),t}}();varr=n(1),o=r.webm,i=r.mp4,s=function(){return"undefined"!=typeofnavigator&&parseFloat((""+(/CPU.*OS ([0-9_]{3,4})[0-9_]{0,1}|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))<10&&!window.MSStream},a=function(){return"wakeLock"innavigator},u=function(){functione(){vart=this;if(function(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}(this,e),this.enabled=!1,a()){this._wakeLock=null;varn=function(){null!==t._wakeLock&&"visible"===document.visibilityState&&t.enable()};document.addEventListener("visibilitychange",n),document.addEventListener("fullscreenchange",n)}elses()?this.noSleepTimer=null:(this.noSleepVideo=document.createElement("video"),this.noSleepVideo.setAttribute("title","No Sleep"),this.noSleepVideo.setAttribute("playsinline",""),this._addSourceToVideo(this.noSleepVideo,"webm",o),this._addSourceToVideo(this.noSleepVideo,"mp4",i),this.noSleepVideo.addEventListener("loadedmetadata",(function(){t.noSleepVideo.duration<=1?t.noSleepVideo.setAttribute("loop",""):t.noSleepVideo.addEventListener("timeupdate",(function(){t.noSleepVideo.currentTime>.5&&(t.noSleepVideo.currentTime=Math.random())}))})))}returnA(e,[{key:"_addSourceToVideo",value:function(e,t,n){varA=document.createElement("source");A.src=n,A.type="video/"+t,e.appendChild(A)}},{key:"enable",value:function(){vare=this;returna()?navigator.wakeLock.request("screen").then((function(t){e._wakeLock=t,e.enabled=!0,console.log("Wake Lock active."),e._wakeLock.addEventListener("release",(function(){console.log("Wake Lock released.")}))})).catch((function(t){throwe.enabled=!1,console.error(t.name+", "+t.message),t})):s()?(this.disable(),console.warn("\n NoSleep enabled for older iOS devices. This can interrupt\n active or long-running network requests from completing successfully.\n See https://github.com/richtr/NoSleep.js/issues/15 for more details.\n "),this.noSleepTimer=window.setInterval((function(){document.hidden||(window.location.href=window.location.href.split("#")[0],window.setTimeout(window.stop,0))}),15e3),this.enabled=!0,Promise.resolve()):this.noSleepVideo.play().then((function(t){returne.enabled=!0,t})).catch((function(t){throwe.enabled=!1,t}))}},{key:"disable",value:function(){a()?(this._wakeLock&&this._wakeLock.release(),this._wakeLock=null):s()?this.noSleepTimer&&(console.warn("\n NoSleep now disabled for older iOS devices.\n "),window.clearInterval(this.noSleepTimer),this.noSleepTimer=null):this.noSleepVideo.pause(),this.enabled=!1}},{key:"isEnabled",get:function(){returnthis.enabled}}]),e}(