window._vidalytics||(window._vidalytics={}),window._vidalytics.embeds||(window._vidalytics.embeds={}),window._vidalytics.embeds.vidalytics_embed_TD0e5a6XyV22wpYw||(window._vidalytics.embeds.vidalytics_embed_TD0e5a6XyV22wpYw={}),window._vidalytics.embeds.vidalytics_embed_TD0e5a6XyV22wpYw.options={"playback":{"autoplay":{"enabled":true,"mobile":true,"onlyMuted":false},"noPause":false,"onEnd":"pause","resume":false,"smartPause":false,"skipAndRewindWithKeyboard":false,"smartPauseResume":false},"ui":{"color":{"foreground":"#ffffff","background":"#3974ff","force":true},"controlBar":{"fullscreen":{"show":false,"customFullscreen":{"default":{"enabled":false},"mobile":{"enabled":false}}},"play":{"show":false},"rewind":{"show":false},"seekBar":{"show":false,"showToReturningViewers":false},"smartSeekBar":{"show":true},"speedControl":{"show":false},"qualityControl":{"show":false},"volume":{"show":false},"alwaysShow":false},"overlay":{"play":{"button":{"show":true},"seekButtons":{"show":false}},"redirect":{"color":{"foreground":"#ffffff","background":"#3974ff"},"show":false,"timeout":0,"url":"","text":"You will be redirected in %d seconds"},"resume":{"button":{"replay":{"text":"Start from
Beginning?"},"resume":{"text":"Continue
watching?"}},"color":{"foreground":"#ffffff","background":"#3974ff"},"show":false,"text":"Welcome Back!
You've already started
watching this video..."},"unmute":{"color":{"foreground":"#ffffff","background":"#3974ff"},"doReplay":true,"goFullscreen":{"default":{"enabled":false},"mobile":{"enabled":false}},"mobile":{"enabled":false,"textBottom":{"text":"Tap for Sound"},"textTop":{"text":"Click To Unmute"}},"textBottom":{"text":"Click To Unmute"},"textTop":{"text":"Your Video Is Playing"},"type":"box"},"expire":{"enabled":false,"dateExpire":"2024-05-30T00:00:00+00:00","textTop":{"text":"This Video Has Expired"},"textBottom":{"text":"Click Here to Go Back"},"link":{"href":"","blank":false},"color":{"foreground":"#ffffff","background":"#3974ff"}}},"shadow":true,"closedCaptions":{"default":{"enabled":false,"displayWhenMuted":false},"mobile":{"enabled":true,"displayWhenMuted":false}},"thumbnail":{"fullSize":false,"default":{"source":"https:\/\/fast.vidalytics.com\/video\/gaX1AtgX\/dfM_PhFoREec9sBm\/137313\/136391__FFMPEG\/thumb\/thumbnail-5_0.jpg"},"mobile":{"source":"https:\/\/fast.vidalytics.com\/video\/gaX1AtgX\/dfM_PhFoREec9sBm\/137313\/136391__FFMPEG\/thumb\/thumbnail-5_0.jpg"}},"shopify":{"cart":{"location":"bottom_left","ctaText":"Add to cart","iconColorStyle":"#ffffff"},"controlStyle":"","stopVideoIfCartIsOpen":true,"showFeaturedProducts":true,"automaticRedirect":true,"color":{"background":"#1059FB","name":"","price":"","button":"#ff4286"}}},"player":{"startupQuality":"medium","lowerBandwidthUsage":false,"media":{"mp4":{"source":"https:\/\/fast.vidalytics.com\/video\/gaX1AtgX\/dfM_PhFoREec9sBm\/137313\/136391__FFMPEG\/mp4\/video\/480x270_h264_1000000\/video.mp4"},"hls":{"source":"https:\/\/fast.vidalytics.com\/video\/gaX1AtgX\/dfM_PhFoREec9sBm\/137313\/136391__FFMPEG\/stream.m3u8"},"dash":{"source":"https:\/\/fast.vidalytics.com\/video\/gaX1AtgX\/dfM_PhFoREec9sBm\/137313\/136391__FFMPEG\/stream.mpd"}},"aspectRatio":"16:9","height":1080,"width":1920,"duration":3654},"video":{"title":"Gluco6LabResultLead9-GraphicsTestimonial-30\/05\/2024RevertedOldSetting","description":"Gluco6LabResultLead9-GraphicsTestimonial-30\/05\/2024RevertedOldSetting","dateCreated":"2024-06-03T23:34:55+00:00","datePublished":"2024-07-03T04:20:37+00:00"},"bitmovin":{"key":"2cc79ef1-6731-4cee-804b-47882c9cd229","subkey":"uXF9ucMRF2-NhYZKHfqu"},"subscription":{"plan":{"tier":"enterprise"}},"tracking":{"customerId":"gaX1AtgX","url":"https:\/\/stats.vidalytics.com","videoId":"2JhUzW0PCkFa1N1T","enabled":true},"transcoder":"Vidalytics","playerVersion":"v.4.7.1.000-vid-prod","transcoderVersion":"","transcoderFlags":"3secseg-moreq-hlsmuxed-avconly-cpuenc-no1080p","init":{"elementId":"#vidalytics_embed_TD0e5a6XyV22wpYw"},"transcoderSingleResolutionManifests":[],"globalSettings":{"playGate":false},"licenseStatus":{"code":"OK","allowedDomains":null,"message":"OK"}};!function(){var e={4452:function(e){var t=function(e){return e.replace(/^\s+|\s+$/g,"")};e.exports=function(e){if(!e)return{};for(var n,r={},o=t(e).split("\n"),i=0;ie.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]=200&&e<300}};var k=function e(){var t=c({},x,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});function n(e,r,o,i,a){var u,l=e,s=c({},t,r),f=!1,y=new XMLHttpRequest,v={requestStart:Date.now()};if("string"!==typeof e&&(l=e.url,s=c({},t,e)),s.baseUrl&&(l="".concat(s.baseUrl).concat(l)),s.params){var p=d(l.split("?"),1)[0],h=S.stringify(s.params,"?");l="".concat(p).concat(h)}var b,w=null!==(u=s.method)&&void 0!==u?u:o;w=null===w||void 0===w?void 0:w.toUpperCase();var m,g=null!==(b=s.data)&&void 0!==b?b:i;return"object"===typeof g&&(g=JSON.stringify(g),s.headers&&!s.headers["Content-Type"]&&(s.headers["Content-Type"]="application/json; charset=utf-8")),s.withCredentials&&(y.withCredentials=!0),s.responseType&&(y.responseType=s.responseType),s.timeout&&(m=window.setTimeout((function(){f=!0,y.abort()}),s.timeout)),new Promise((function(e,t){for(var n in y.open(w,l,!0),s.headers)y.setRequestHeader(n,s.headers[n]);y.onreadystatechange=function(){if(f)return e(new E("Request was aborted due to exceeded timeout",y.status,s));if(2===y.readyState&&(v.lookupTime=Date.now()-v.requestStart),4===y.readyState){m&&clearTimeout(m),v.requestEnd=Date.now(),v.totalTime=v.requestEnd-v.requestStart,v.responseLength=y.response.length;var t=y.response;"text"===s.responseType&&(t=function(e){try{return JSON.parse(e)}catch(t){return e}}(y.responseText));var n=O()(y.getAllResponseHeaders()),r={options:s,data:t,headers:n,timing:v,status:y.status,statusText:y.statusText,xhr:y};s.isStatusValid(y.status)||e(new E("Request failed with status code ".concat(y.status),y.status,s,r)),e(r)}},y.onerror=t,y.send(g)})).then((function(t){if(t instanceof Error){var c=null!==a&&void 0!==a?a:s.retries;if(s.shouldRetry(t)&&"number"===typeof c&&c>0){var u=Promise.resolve();if(s.retryDelay){var l=s.retries-c,d=s.retryDelay;"function"===typeof d&&(d=d(l)),f=d,u=new Promise((function(e){return setTimeout(e,f)}))}return u.then((function(){return n(e,r,o,i,c-1)}))}return Promise.reject(t)}return Promise.resolve(t);var f}))}var r=n;return r.createInstance=e,P.forEach((function(e){r[e]=function(t,r){return n(t,r,e)}})),_.forEach((function(e){r[e]=function(t,r,o){return n(t,o,e,r)}})),r}();function L(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length,r=new Array(n>2?n-2:0),o=2;o1&&void 0!==arguments[1]?arguments[1]:"||",n=[],r=0;if(e["x-cache"]){var o=e["x-cache"].toLowerCase();n.push(o),o.includes("hit")?r=1:o.includes("miss")&&(r=0)}if(e["x-served-by"]){var i=e["x-served-by"].toLowerCase();n.push(i)}return{cache:r,info:n.join(t)}}},{key:"injectLoadingPerformance",value:function(e){var t=e.headers,n=e.status,r=e.timing;try{var o=this.getCdnCacheByHeaders(t),i=o.cache,a=o.info,c=Number("".concat(t["x-cdn"]))||void 0,u=this.getCdnProviderById(c),l={cache:i,info:a,cdn:c,fileSize:this.getFileSizeByResponse(e),statusCode:n,latency:r.lookupTime,totalTime:r.totalTime};window._vidalytics||(window._vidalytics={}),window._vidalytics.cdnProvider=u,window._vidalytics.performanceData=l}catch(s){console.error(s)}}},{key:"getContainers",value:function(){var e,t,n=Array.from(document.querySelectorAll(".vid_embed")).map((function(e){return{targetElement:e}})),r=(null!==(t=null===(e=window.Vidalytics)||void 0===e?void 0:e.embedQueue)&&void 0!==t?t:[]).map((function(e){return{targetElement:document.getElementById(e.embedId)||e.embedId,customSettings:e.customSettings}}));return f(n).concat(f(r))}},{key:"getPlayerUrl",value:function(){var e,t=!1,n=!1;try{var r=new URLSearchParams(window.location.search);t=r.has("vidalytics_force_local"),n=r.has("vidalytics_force_light_build")}catch(a){}if(t)return n?"player.light.min.js":"player.min.js";var o=null===(e=window._vidalytics)||void 0===e?void 0:e.hostPrefix;o||(o="fast-dev");var i="https://".concat(o,".vidalytics.com/players/v.4.7.1.000-vid-prod/player.min.js");return n?i.replace("/player.min.js","/player.light.min.js"):i}},{key:"loadPlayer",value:function(e){var n=this;return t((function(){var t,r,o,i,a,c,u,l,s,d;return y(this,(function(f){switch(f.label){case 0:return(null===(t=window.Vidalytics)||void 0===t?void 0:t.Embed)&&!(null===(o=window.Vidalytics)||void 0===o||null===(r=o.Embed)||void 0===r?void 0:r.isMock)?[2]:(a=null===(i=window.VidalyticsL)||void 0===i?void 0:i.LoaderLoaded)?[4,a]:[3,2];case 1:return f.sent(),[2];case 2:c=function(){},u=new Promise((function(e){return c=e})),window.VidalyticsL||(window.VidalyticsL={}),window.VidalyticsL.LoaderLoaded=u,f.label=3;case 3:return f.trys.push([3,5,,6]),[4,k.get(e,{responseType:"blob"})];case 4:return l=f.sent(),n.injectLoadingPerformance(l),(s=document.createElement("script")).src=URL.createObjectURL(l.data),s.dataset.vidalytics="",s.onload=c,document.head.appendChild(s),[3,6];case 5:return d=f.sent(),console.error(d),[3,6];case 6:return[2,u]}}))}))()}},{key:"init",value:function(){var e=this;return t((function(){var t,n,r,o,i,a,c,u,l,s,d,f,v,p;return y(this,(function(y){switch(y.label){case 0:return n=e.getPlayerUrl(),[4,e.loadPlayer(n)];case 1:if(y.sent(),!(r=null===(t=window.Vidalytics)||void 0===t?void 0:t.Embed))return[2];o=e.getContainers(),i=new r,a=!0,c=!1,u=void 0,y.label=2;case 2:y.trys.push([2,7,8,9]),l=o[Symbol.iterator](),y.label=3;case 3:return(a=(s=l.next()).done)?[3,6]:(d=s.value,f=d.targetElement,v=d.customSettings,[4,i.run(f,v)]);case 4:y.sent(),y.label=5;case 5:return a=!0,[3,3];case 6:return[3,9];case 7:return p=y.sent(),c=!0,u=p,[3,9];case 8:try{a||null==l.return||l.return()}finally{if(c)throw u}return[7];case 9:return[2]}}))}))()}}],[{key:"isInjectedToGlobal",get:function(){var e;return!!(null===(e=window.VidalyticsL)||void 0===e?void 0:e.Loader)&&!!window.VidalyticsL.Loader.isHlsLoader}},{key:"injectToGlobal",value:function(){window.VidalyticsL||(window.VidalyticsL={}),Object.defineProperty(window,"VidalyticsL",{writable:!1}),window.VidalyticsL.Loader=e}},{key:"isContainerLegacy",value:function(e){var t=e.getAttribute("id");return!!t&&/^(vidalytics_embed_)?[a-z0-9_]{3,20}$/i.test(t)}},{key:"findScriptElementByEmbedId",value:function(e){var t=Array.from(document.getElementsByTagName("script")),n=new RegExp("(".concat(e,")[\\s\\S]*?(https?://[^/]+/[^/]*embeds/)"),"gi"),r=t.find((function(e){return n.test(e.innerText)}));if(r)return r;console.warn("Target