1/*!/wp-content/plugins/wptab-tableau-public-viz-block/js/wptab-tableau-public-viz-render.js*/ 2(function($){'use strict';function initViz(containerDiv){if(containerDiv.hasAttributes()){var url=containerDiv.getAttribute("data-url"),tabs=containerDiv.getAttribute("data-hide-tabs"),toolbar=containerDiv.getAttribute("data-hide-toolbar"),device='',height='',width='';if(containerDiv.hasAttributes('data-device')){device=containerDiv.getAttribute('data-device')} 3if(containerDiv.hasAttributes('data-height')){height=parseInt(containerDiv.getAttribute('data-height'))} 4if(containerDiv.hasAttributes('data-width')){width=parseInt(containerDiv.getAttribute('data-width'))} 5var options={hideTabs:JSON.parse(tabs),hideToolbar:JSON.parse(toolbar),device:device,height:height,width:width,onFirstInteractive:function(){}};if(!height){delete options.height} 6if(!width){delete options.width} 7if(!device){delete options.device} 8if(url&&0!==url.length){var viz=new tableau.Viz(containerDiv,url,options)}}} 9$(document).ready(function(){var containerDivs=document.querySelectorAll('*[id^="viz-container"]');if(containerDivs.length>0){containerDivs.forEach(function(contDiv){if($(contDiv.id).attr("data-url")!==''){initViz(contDiv)}})}else{var containerDiv=document.getElementById("vizContainer");if(containerDiv&&$(containerDiv).attr("data-url")!==''){initViz(containerDiv)}}})})(jQuery) 10;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.