try {
var ud = document.getElementById("cobrawidget"); if(!ud) throw "no wrapper defined"; var irCSS = document.createElement("style"); irCSS.setAttribute("type","text/css"); irCSS.innerHTML="#cobrawidget iframe { width: 1px; min-width: 100%; }";document.getElementsByTagName('head')[0].appendChild(irCSS);var irpath = "https://getcobra.io/ext/js/iframeResizer.min.js";if (typeof require !== "undefined") {require([irpath],function(iFrameResize){ iFrameResize({log:0,heightCalculationMethod:"lowestElement"},"#amx-esf"); }); } else { var iframejs = document.createElement("script");iframejs.onload = function(){iFrameResize({log:0,heightCalculationMethod:"lowestElement"},"#amx-esf"); }; iframejs.src = irpath;document.getElementsByTagName('head')[0].appendChild(iframejs);}
var i = document.createElement("iframe"); i.name="amx-esf", i.src="https://getcobra.io/ext/sub/8677?v=1&preview=1&fmt=fluid", i.scrolling="yes", i.frameBorder="no", i.id="amx-esf";
var c = document.querySelector("#cobrawidget"); if (c) c.appendChild(i);
} catch(e) { console.log(e); }