function crtfrm(t,e,n){var i="gmtrwgt"+e,a="https://gmvr-prod.gmetri.com/v/"+t;a+="undefined"!==n?"?q="+n:"";var r=document&&document.createElement("iframe");return r.setAttribute("class","gmtrwgt"),r.setAttribute("allowfullscreen",!0),r.setAttribute("style","height: 100%; width: 100%; border: none"),r.setAttribute("src",a),r.setAttribute("id",i),r}function ios(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}function injectFullscreenStylesheetForIOS(){var t=[".fake-fullscreen","{","position: fixed !important;","display: block !important;","z-index: 9999999999 !important;","top: 0 !important;","left: 0 !important;","width: 100% !important;","height: 100% !important;","margin: 0 !important;","}"].join("\n"),e=document.createElement("style");e.innerHTML=t,document.body.appendChild(e)}!function(){function t(){for(var t=document&&document.getElementsByClassName("gmetri-widget")||[],e=[],n=0;n