define([ 'cdf/Dashboard.Bootstrap', 'cdf/Logger', 'cdf/lib/jquery', 'amd!cdf/lib/underscore', 'cdf/lib/moment', 'cdf/lib/CCC/cdo', 'cdf/lib/CCC/def', 'cdf/lib/CCC/protovis-compat!', 'cdf/lib/CCC/pvc', 'cdf/dashboard/Utils', 'cdf/components/TemplateComponent'], function( Dashboard, Logger, $, _, moment, cdo, def, pv, pvc, Utils, TemplateComponent) { var CustomDashboard = Dashboard.extend({ constructor: function(element, opts) { var alias; if(typeof opts === "string") { alias = opts; } var extendedOpts = {}; $.extend(extendedOpts, { context: {"path":"/public/SIM/TABLEROS_MINI/Menu_Royalty_Minero.wcdf","serverLocalDate":1744891493836,"queryData":{},"roles":["Anonymous"],"sessionTimeout":7200,"sessionAttributes":{},"locale":"en_US","params":{},"serverUTCDate":1744905893836,"user":"anonymousUser"}, storage: {} }, opts); this.base.apply(this, [extendedOpts]); CustomDashboard.aliasCounter = (CustomDashboard.aliasCounter || 0 ) + 1; this.phElement = element; this._alias = alias ? alias : ((opts && opts.alias) ? opts.alias : "alias" + CustomDashboard.aliasCounter); this.layout = '