namespace("privacy");privacy.CookieConsentView=Backbone.View.extend({el:"#cookieConsentDialog",events:{"submit form":"onFormSubmit"},initialize:function(){this.$el.dialog({modal:!0,width:450,autoOpen:!1,title:"Cookie Consent",open:function(n){$(n.target).parent().find(".ui-dialog-titlebar-close").hide()}})},render:function(){this.$el.dialog("open")},onFormSubmit:function(n){n.preventDefault();var t=this;this.submitForm({dontShowSuccessAlert:!0,success:function(){t.$el.dialog("close")}})}})