define(["api/SplunkVisualizationBase"],(function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){var r,a;r=[n(1)],void 0===(a=function(e){return e.extend({initialize:function(){e.prototype.initialize.apply(this,arguments)},formatData:function(e){return e},updateView:function(e,t){if(!(e.rows.length<1)){var n=e.rows[0][0];if(n&&"iVBORw0KGgo"==n.substring(0,11)){this.el.innerHTML="";let e=this.el.dataset.cid,t=document.createElement("div");t.id=e+"_imageModal",t.classList.add("modal","large","hide","fade"),t.setAttribute("role","dialog"),t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex","-1");let r=document.createElement("div");r.className="modal-header";let a=document.createElement("button");a.className="close",a.setAttribute("type","button"),a.setAttribute("aria-hidden","true"),a.setAttribute("data-dismiss","modal"),a.innerText="&times;";let i=document.createElement("h3");i.innerText="Screenshot";let o=document.createElement("div");o.id=e+"_modalBody",o.className="modal-body";let l=document.createElement("a");l.href="#"+t.id,l.setAttribute("data-toggle","modal");let d=new Image;d.src="data:image/png;base64,"+n,d.className="base64Image";let u=new Image;u.src=d.src,u.className="modalImage",r.append(a),r.append(i),o.append(u),t.append(r),t.append(o),l.append(d),this.el.append(l),this.el.append(t)}else this.el.innerHTML='<div class="message-single"><div class="alert alert-error">No image detected.</div></div>'}},getInitialDataParams:function(){return{outputMode:e.ROW_MAJOR_OUTPUT_MODE,count:1}},reflow:function(){}})}.apply(t,r))||(e.exports=a)},function(t,n){t.exports=e}])}));