(function(){"use strict";page.using={types:["Favorites"]};page.onLoad=function(){var s=this.url,i=this.popup,t=s.getInfoAreaId();this.commandBindings=$.extend(this.commandBindings,{"Select*":e.bind(this)});var o=s.get(["menuName","menuType"]),n=s.getBoolean("showQuickLinks",!this.process),a=s.getBoolean("allowMultiSelect",false),u,d;if(this.process){d=u8.session.webConfigValues.get("ProcessDefaultAction")||u8.session.webConfigValues.get("Process.DefaultAction");u=u8.session.webConfigValues.get("ProcessDefaultMenu")||u8.session.webConfigValues.get("Process.DefaultMenu")}else{d=s.get(["defaultAction","defaultActionByMenuLabel"])}var r=$.extend({parent:this,infoAreaIds:t?[t]:undefined,recordListBox:{menuName:o,gridModel:{selectionMode:a?"multi":"single"}},defaultAction:d,showQuickLinks:n},this.favorites);if(u){r.recordListBox={menuName:u}}if(i&&i.pageOptions){$.extend(r,i.pageOptions.favorites)}$("#favorites").widget("Favorites",r)};function e(e,s,i){var t={uid:i.uid,uids:i.uids,command:s};page.proceed(t);if(!this.process){i.stopPropagation=false}}})();