"use strict";YUI.add("rg.views.publicliterature.ExitPromoView",function(a){a.namespace("rg.views.publicliterature"),a.rg.views.publicliterature.ExitPromoView=a.Base.create("publicliterature.ExitPromoView",a.rg.WidgetView,[],{events:{".js-promo-request-fulltext":{click:"requestFullText"}},afterRendered:function(){a.rg.ajax(this.data.exitPopupSeenUrl,{popupType:this.data.popupType},null,this,null,"GET")},requestFullText:function(a){a.preventDefault(),widgetLoader.loadWidgetInDialog("publicliterature.ExternalUserRequestFulltextDialog.html",{publicationUid:this.data.publicationUid,context:this.data.context,isNewDialog:!0},null,null,null,null,null,null,!0),this.dialog.hide()},getDefaultDialogConfig:function(){return{hideOnClickOutside:this.data.clickOutside}}},{ATTRS:{publicationUid:{}}})},"1.0.0",{requires:["node-event-simulate"]});
