"use strict";define(["handlebars","View","text!/v2/webapps/FirstAccess/PA/Templates/PATemplate.html","utils"],function(e,d,b,a){var c=d.extend({overlay:null,src:"",paTemplate:e.compile(b),events:{},initialize:function(f){d.prototype.initialize.apply(this,arguments);this.options=f||{};this.overlay=this.options.parent;},render:function(f,g){d.prototype.render.apply(this,arguments);this.setParent(f);this.src=g;this.$el.html(this.paTemplate({src:g}));this.overlay.render(true).$el.find("#overlay").html(this.$el);f.$el.append(this.overlay.$el);f.$el.css("visibility","hidden");this.overlay.$el.css("visibility","visible");return this;}});return c;});