$LAB.setGlobalDefaults({CacheBust:!1,UseLocalXHR:!0,AlwaysPreserveOrder:!0,Debug:!1}),$LAB.setGlobalDefaults({ErrorHandler:function(n){throw n;}}),window.Mediasite=window.Mediasite||{},Mediasite.getVersionToken=function(){function getUrlFromScriptElement(){var n=document.getElementById("loadScriptElement");return n&&n.src}function getUrlFromDocument(){return document&&document.location&&document.location.href}function getVersionFromUrl(n){var t,i=/(?:[?&]version=)(\d+)(?:[&#]|$)/i;if(typeof n=="string")return(t=n.match(i),!t||t.length<2)?void 0:t[1]}function getVersionToken(){var i,r;return n||(t=getVersionFromUrl(getUrlFromScriptElement())||getVersionFromUrl(getUrlFromDocument()),n=!0),t}var n=!1,t;return getVersionToken}(),Mediasite.loadScripts=function(){function getNextQueryJoinCharacter(n){return n.indexOf("?")>-1?"&":"?"}function makeVersionedScriptPath(i){return n?betterPath=i+getNextQueryJoinCharacter(i)+t+"="+n:i}function versionArrayOfScriptPaths(n){for(var i=[],t=0;t