
(function(){if(!window.KAMPYLE_EMBED){var onPremEmbedRegex=/\/[a-zA-Z\d-]+\/\d+\/onsite\/medallia-digital-embed\.js$/;var genericPathRegex=/\/[a-zA-Z\d-]+\/\d+\/onsite\/generic\d{13}\.js$/;window.KAMPYLE_EMBED={kampyleInit:function(){var t=document.createElement('script');t.type='text/javascript';t.async=true;t.src=KAMPYLE_EMBED.getGenericLocation();t.charset='UTF-8';document.body.appendChild(t);},kampyleLoadLogger:function(){},kampyleEventHandler:function(elem,eventType,handler){if(elem.addEventListener){elem.addEventListener(eventType,handler,false);}
else if(elem.attachEvent){elem.attachEvent('on'+eventType,handler);}},isSupported:function(){var trident=window.KAMPYLE_EMBED.getUserAgent().match(/Trident\/(\d+)/);var msie=navigator.userAgent.match(/MSIE (\d+)/);return!(trident||msie);},getUserAgent:function(){return navigator.userAgent;},getGenericLocation:function(){var genericLocation=location.protocol+'//'+'resources.digital-cloud-prem.medallia.com/wdcusprem/129691/onsite/generic1713461583872.js';var genericPath=(genericLocation.match(genericPathRegex)||[])[0];genericLocation=window.KAMPYLE_EMBED.getResourcesPrefix()+genericPath;return genericLocation;},getResourcesPrefix:function(){if(window.MDIGITAL_ON_PREM_PREFIX){return window.MDIGITAL_ON_PREM_PREFIX;}
var scripts=document.getElementsByTagName('script');var neededSrcPath=null;var i=0;while(scripts&&!neededSrcPath&&i<scripts.length){if(scripts[i].src&&onPremEmbedRegex.test(scripts[i].src)){neededSrcPath=scripts[i].src;}
i++;}
if(neededSrcPath){window.MDIGITAL_ON_PREM_PREFIX=neededSrcPath.replace(onPremEmbedRegex,'');return window.MDIGITAL_ON_PREM_PREFIX;}
if(window.location&&window.location.origin){return window.location.origin;}
return'';}};if(window.KAMPYLE_EMBED.isSupported()){if(document.readyState==='complete'){window.KAMPYLE_EMBED.kampyleInit();}
else{window.KAMPYLE_EMBED.kampyleEventHandler(window,'load',window.KAMPYLE_EMBED.kampyleInit);}}}})();