function ULSaKF(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="SP.UI.Dialog.js";return o;} Type.registerNamespace("SP.UI");SP.UI.DialogResult=function(){};SP.UI.DialogResult.prototype={invalid:-1,cancel:0,OK:1};SP.UI.DialogResult.registerEnum("SP.UI.DialogResult",false);SP.UI.DialogOptions=function(){};SP.UI.Dialog=function(a){ULSaKF:;this.$$d_$2P_0=Function.createDelegate(this,this.$2P_0);this.$$d_$1W_0=Function.createDelegate(this,this.$1W_0);this.$$d_autoSizeSuppressScrollbar=Function.createDelegate(this,this.autoSizeSuppressScrollbar);this.$$d_autoSize=Function.createDelegate(this,this.autoSize);this.$$d_$1m_0=Function.createDelegate(this,this.$1m_0);this.$$d_$2F_0=Function.createDelegate(this,this.$2F_0);this.$$d_$1l_0=Function.createDelegate(this,this.$1l_0);this.$$d_$1K_0=Function.createDelegate(this,this.$1K_0);this.$$d_$2H_0=Function.createDelegate(this,this.$2H_0);this.$$d_$1L_0=Function.createDelegate(this,this.$1L_0);this.$$d_$1p_0=Function.createDelegate(this,this.$1p_0);this.$$d_$21_0=Function.createDelegate(this,this.$21_0);this.$$d_$22_0=Function.createDelegate(this,this.$22_0);this.$$d_$1j_0=Function.createDelegate(this,this.$1j_0);this.$$d_$1k_0=Function.createDelegate(this,this.$1k_0);this.$$d_$1Y_0=Function.createDelegate(this,this.$1Y_0);this.$$d_$2Q_0=Function.createDelegate(this,this.$2Q_0);this.$$d_$2I_0=Function.createDelegate(this,this.$2I_0);this.$$d_$1s_0=Function.createDelegate(this,this.$1s_0);this.$w_0=-1;if(a.delayAppearance&&SP.ScriptUtility.isNullOrEmptyString(a.url))throw Error.notImplemented(SP.Res.delayedAppearanceForHTMLDialogNotImplemented);this.$2_0=a;this.$18_0=a.args;this.$U_0=a.width;if(this.$U_0<0)this.$U_0=null;if(SP.ScriptUtility.isNullOrUndefined(this.$U_0))this.$U_0=parseInt(SP.Res.defaultDialogWidth);this.$P_0=a.height;if(this.$P_0<0)this.$P_0=null;if(SP.ScriptUtility.isNullOrUndefined(this.$P_0))this.$P_0=parseInt(SP.Res.defaultDialogHeight);this.$s_0=a.autoSize;if(SP.ScriptUtility.isNullOrUndefined(this.$s_0))this.$s_0=true;this.$c_0=a.dialogReturnValueCallback;this.$l_0=a.url;this.$m_0=a.x;if(this.$m_0<0)this.$m_0=null;this.$n_0=a.y;if(this.$n_0<0)this.$n_0=null;this.$H_0=a.html;this.$T_0=a.title;if(SP.ScriptUtility.isNullOrUndefined(a.allowMaximize))this.$f_0=false;else this.$f_0=a.allowMaximize;if(SP.ScriptUtility.isNullOrUndefined(a.showMaximized))this.$1H_0=false;else this.$1H_0=a.showMaximized;if(SP.ScriptUtility.isNullOrUndefined(a.showClose))this.$10_0=true;else this.$10_0=a.showClose};SP.UI.Dialog.get_$1=function(){ULSaKF:;return window.self._dlgWndTop()};SP.UI.Dialog.$1N=function(){ULSaKF:;if(!SP.UI.Dialog.$X){var b=document.createElement("p");b.style.width="100%";b.style.height="100px";var a=document.createElement("div");a.style.position="absolute";a.style.visibility="hidden";a.style.width="100px";a.style.height="50px";a.appendChild(b);document.body.appendChild(a);a.style.overflow="hidden";var d=b.offsetWidth;a.style.overflow="scroll";var c=b.offsetWidth;if(d===c)c=a.clientWidth;document.body.removeChild(a);SP.UI.Dialog.$X=d-c;if(!SP.UI.Dialog.$X)SP.UI.Dialog.$X=17}return SP.UI.Dialog.$X};SP.UI.Dialog.$1P=function(b){ULSaKF:;var a;a=b.document.documentElement.clientWidth;if(SP.ScriptUtility.isNullOrUndefined(a)||a<=0)a=b.innerWidth;if(SP.ScriptUtility.isNullOrUndefined(a)||a<=0)a=b.document.body.clientWidth;return a};SP.UI.Dialog.$1O=function(b){ULSaKF:;var a;a=b.document.documentElement.clientHeight;if(SP.ScriptUtility.isNullOrUndefined(a)||a<=0)a=b.innerHeight;if(SP.ScriptUtility.isNullOrUndefined(a)||a<=0)a=b.document.body.clientHeight;return a};SP.UI.Dialog.$16=function(a){ULSaKF:;var b=0;if(!SP.ScriptUtility.isNullOrUndefined(a.documentElement)&&!SP.ScriptUtility.isNullOrUndefined(a.documentElement.scrollWidth)&&!SP.ScriptUtility.isNullOrUndefined(a.documentElement.offsetWidth))b=Math.max(a.documentElement.scrollWidth,a.documentElement.offsetWidth);return Math.max(a.body.scrollWidth,a.body.offsetWidth,b)};SP.UI.Dialog.$15=function(a){ULSaKF:;var b=0;if(!SP.ScriptUtility.isNullOrUndefined(a.documentElement)&&!SP.ScriptUtility.isNullOrUndefined(a.documentElement.scrollHeight)&&!SP.ScriptUtility.isNullOrUndefined(a.documentElement.offsetHeight))b=Math.max(a.documentElement.scrollHeight,a.documentElement.offsetHeight);return Math.max(a.body.scrollHeight,a.body.offsetHeight,b)};SP.UI.Dialog.$1x=function(a){ULSaKF:;var b=a.pageXOffset;return!SP.ScriptUtility.isNullOrUndefined(b)?b:!(Sys.Browser.agent===Sys.Browser.InternetExplorer&&Sys.Browser.version===7)&&!SP.ScriptUtility.isNullOrUndefined(a.document.documentElement)&&!SP.ScriptUtility.isNullOrUndefined(a.document.documentElement.scrollLeft)?a.document.documentElement.scrollLeft:a.document.body.scrollLeft};SP.UI.Dialog.$20=function(a){ULSaKF:;var b=a.pageYOffset;return!SP.ScriptUtility.isNullOrUndefined(b)?b:!SP.ScriptUtility.isNullOrUndefined(a.document.documentElement)&&!SP.ScriptUtility.isNullOrUndefined(a.document.documentElement.scrollTop)?a.document.documentElement.scrollTop:a.document.body.scrollTop};SP.UI.Dialog.$1h=function(a){ULSaKF:;if(a.length>2040)a=a.substr(0,2040);if(a.indexOf("?")<0)a=a+"?IsDlg=1";else{if(!a.endsWith("&"))a=a+"&";a=a+"IsDlg=1"}return a};SP.UI.Dialog.$1e=function(f){ULSaKF:;if(!SP.UI.Dialog.$z)SP.UI.Dialog.$z=SP.UI.Dialog.$2O;for(var d=["click","dblclick","mouseout","mouseover","mousedown","mouseenter","mouseleave"],b=d,c=b.length,a=0;a0&&this.$2L_0(this.$N_0-1);if(this.get_$q_0()&&this.$0_0){var a=this;window.setTimeout(function(){ULSaKF:;if(!a.$V_0&&!a.$v_0)a.$t_0=SP.UI.ModalDialog.$2M()},1e3);window.setTimeout(this.$$d_$1s_0,3e4);this.$12_0(false)}else this.$12_0(!this.get_$a_0())},$1R_0:function(){ULSaKF:;if(!this.$A_0){this.$A_0=new SP.Application.UI.DragBehavior(this.$3_0,this.$F_0);this.$A_0.$1g_2(this.$5_0);this.$A_0.$1n_2(this.$0_0);this.$A_0.initialize()}},$1q_0:function(){ULSaKF:;if(this.$A_0){this.$A_0.dispose();this.$A_0=null}},$1j_0:function(a){ULSaKF:;this.close(0);a.preventDefault()},$21_0:function(){ULSaKF:;if(this.$J_0)try{this.$J_0.focus()}catch(a){}},$22_0:function(){ULSaKF:;if(this.get_lastTabStop())try{this.get_lastTabStop().focus()}catch(a){}else if(this.$J_0)try{this.$J_0.focus()}catch(b){}},$1k_0:function(a){ULSaKF:;a.stopPropagation()},$2Q_0:function(){ULSaKF:;this.$F_0.style.cursor="move"},$1Y_0:function(a){ULSaKF:;if(this.$Q_0){if(this.$4_0){this.$4_0.innerHTML='\'{0}\'';this.$4_0.setAttribute("title",SP.Res.maximize)}this.$O_0(this.$C_0,this.$B_0);this.$p_0(this.$K_0,this.$W_0)}else{this.$K_0=this.$3_0.offsetLeft;this.$W_0=this.$3_0.offsetTop;if(this.$0_0){this.$C_0=this.$0_0.offsetWidth;this.$B_0=this.$0_0.offsetHeight}else{this.$C_0=this.$G_0.offsetWidth;this.$B_0=this.$G_0.offsetHeight}if(this.$4_0){this.$4_0.innerHTML=String.format('\'{0}\'',SP.Res.restore);this.$4_0.setAttribute("title",SP.Res.restore)}this.$1J_0()}this.$Q_0=!this.$Q_0;if(this.$Q_0)this.$1q_0();else this.$1R_0();a&&a.preventDefault();this.$4_0&&SP.UI.Dialog.get_$1().setTimeout(this.$$d_$2I_0,0)},$2I_0:function(){ULSaKF:;this.$4_0.focus()},$1p_0:function(){ULSaKF:;if(this.$0_0)this.$0_0.contentWindow&&this.$0_0.contentWindow.focus()},$1J_0:function(){ULSaKF:;var a=this.$1M_0();this.$p_0(10,10);this.$O_0(a[0],a[1])},$2J_0:function(){ULSaKF:;this.$Q_0&&this.$1J_0()},$p_0:function(a,b){ULSaKF:;this.$5_0.style.left=a+"px";this.$5_0.style.top=b+"px";this.$3_0.style.left=a+"px";this.$3_0.style.top=b+"px"},$O_0:function(d,e){ULSaKF:;if(d<=0||e<=0)return;var f=e+this.get_$1f_0(),a;if(!SP.ScriptUtility.isNullOrUndefined(this.$2_0.$6_0)&&this.$2_0.$6_0)a=0;else a=2;var b;if(!SP.ScriptUtility.isNullOrUndefined(this.$2_0.$6_0)&&this.$2_0.$6_0)b=d;else b=d+19+19;var c;if(!SP.ScriptUtility.isNullOrUndefined(this.$2_0.$6_0)&&this.$2_0.$6_0)c=f;else c=f+10;this.$1C_0.style.width=b+"px";this.$1C_0.style.height=c+"px";this.$3_0.style.width=b+a+"px";this.$3_0.style.height=c+a+"px";if(this.$0_0){this.$0_0.style.width=d.toString()+"px";this.$0_0.style.height=e.toString()+"px"}else{this.$G_0.style.width=d.toString()+"px";this.$G_0.style.height=e.toString()+"px"}this.$1b_0();var g=2;this.$5_0.style.width=b+a+g+"px";this.$5_0.style.height=c+a+g+"px"},$27_0:function(){ULSaKF:;var f=this.$1M_0(),b=f[0],c=f[1],d=window.browseris.ipad,a=false;if(this.$C_0>b){this.$C_0=b;a=true}if(this.$B_0>c&&!d){this.$B_0=c;a=true}a&&!d&&this.$O_0(this.$C_0,this.$B_0);a=false;var e=this.$3_0.offsetWidth,g=this.$3_0.offsetLeft;if(d&&g<0){if(eb+20){this.$K_0=10;a=true}if(this.$3_0.offsetTop+this.$3_0.offsetHeight>c+20){this.$W_0=10;a=true}a&&this.$p_0(this.$K_0,this.$W_0)},$1M_0:function(){ULSaKF:;var d=SP.UI.Dialog.get_$1(),b=SP.UI.Dialog.$1P(d)-2,a=SP.UI.Dialog.$1O(d)-2;if(b>20)b=b-20;a=a-this.get_$1f_0();if(a>20)a=a-20;var c=new Array(2);c[0]=b-19-19;c[1]=a-13-10;return c},$1c_0:function(a,b){ULSaKF:;var c=this.$0_0.contentWindow.document;if(b)Sys.UI.DomElement.addCssClass(a,"ms-hideOverflow");else Sys.UI.DomElement.removeCssClass(a,"ms-hideOverflow")},autoSizeSuppressScrollbar:function(d){ULSaKF:;var c=this.$0_0.contentWindow.document,a=c.getElementById("s4-workspace"),b=false;if(!a)a=c.getElementById("ms-error");if(a){b=a.clientHeight0){var o=g[0],j=o.split("=");if(j.length>1)e=j[1]}}}if((!c||c.toString()===""||c.toString()==="_self")&&!m)if((!d||d.toString()==="sp_DialogLinkExternal")&&(e===""||e==="External")&&(!c||c.toString()===""))a&&a.toString().indexOf("javascript:")===-1&&b.setAttribute("target","_blank");else if(d&&d.toString()==="sp_DialogLinkInternal"||e==="Internal"){if(this.$0_0)a&&a.toString().indexOf("javascript:")===-1&&$addHandler(b,"click",this.$1S_0(false))}else if((d&&d.toString()==="sp_DialogLinkNavigate"||e==="Navigate")&&(!c||c.toString()===""))a&&a.toString().indexOf("javascript:")===-1&&$addHandler(b,"click",this.$1S_0(true))}},$1L_0:function(){ULSaKF:;!this.get_$a_0()&&this.$1X_0()},$1s_0:function(){ULSaKF:;!this.$V_0&&this.$1L_0(null)},$1X_0:function(){ULSaKF:;this.$V_0=true;if(this.$L_0&&this.$0_0){var b=null;try{if(this.$0_0.contentWindow)b=this.$0_0.contentWindow.document;else if(this.$0_0.contentDocument)b=this.$0_0.contentDocument}catch(g){}if(b){this.$e_0=b;var c=SP.Res.defaultDialogTitle;try{c=b.title}catch(h){}if(SP.ScriptUtility.isNullOrEmptyString(this.$T_0)){SP.UI.UIUtility.setInnerText(this.$L_0,c);this.$L_0.title=c}var d=this.$0_0.contentWindow,e=new SP.UI.DialogHostedWindow(this,d);e.initialize();var f=this.$e_0.getElementsByTagName("a");this.$1Q_0(f)}else if(SP.ScriptUtility.isNullOrEmptyString(this.$T_0)){SP.UI.UIUtility.setInnerText(this.$L_0,SP.Res.defaultDialogTitle);this.$L_0.title=SP.Res.defaultDialogTitle}if(this.get_$q_0()){this.$12_0(true);this.$13_0()}var a=this;window.setTimeout(function(){ULSaKF:;try{a.$0_0.contentWindow.NotifyBrowserOfAsyncUpdate();a.$0_0.contentWindow.EnsureScriptParams("core.js","FixRibbonAndWorkspaceDimensions");a.$0_0.contentWindow.AddEvtHandler(a.$0_0.contentWindow,"onresize",a.$0_0.contentWindow.FixRibbonAndWorkspaceDimensionsForResize)}catch(b){}},0)}},$13_0:function(){ULSaKF:;if(this.$t_0){this.$t_0.close(0);this.$t_0=null}},$1y_0:function(){ULSaKF:;if(this.$e_0)try{this.$I_0=this.$17_0(this.$e_0.body)}catch(a){this.$I_0=null}else if(this.$H_0)try{this.$I_0=this.$17_0(this.$H_0)}catch(b){this.$I_0=null}else this.$I_0=null},$17_0:function(b){ULSaKF:;if(b.nodeType===1){for(var d=b.childNodes,c=d.length-1;c>=0;c--){var a=d[c];if(SP.ScriptUtility.isNullOrUndefined(a.tagName)||a.tagName==="SCRIPT")continue;var f=window.self.GetCurrentEltStyle(a,"display");if(a.nodeType===1&&f==="none")continue;var e=this.$17_0(a);if(e)return e}return this.$26_0(b)?b:null}else return null},$26_0:function(a){ULSaKF:;if(a.tagName==="A"||a.tagName==="INPUT"||a.tagName==="AREA"||a.tagName==="BUTTON"||a.tagName==="SELECT"||a.tagName==="TEXTAREA"||a.tagName==="OBJECT"){if(a.tabIndex===-1)return false;if(a.disabled||a.getAttribute("disabled")==="true")return false;if(a.tagName==="INPUT"){var b=a;if(b.type==="hidden"||b.style.display==="none")return false}return true}return false},$1o_0:function(){ULSaKF:;var a=this.$8_0("div");this.$3_0=a;if(!SP.ScriptUtility.isNullOrUndefined(this.$2_0.$6_0)&&this.$2_0.$6_0)a.className="ms-dlgContentNoBorder";else a.className="ms-dlgContent";a.setAttribute("role","dialog");a.setAttribute("aria-labelledby","dialogTitleSpan");a.setAttribute("tabindex","-1");if(this.$N_0)a.style.zIndex=this.$N_0;if(this.get_$b_0()){SP.UI.Dialog.get_$1().document.body.appendChild(a);SP.UI.Dialog.$1e(a)}else document.body.appendChild(a);var c=this.$8_0("div");this.$1C_0=c;c.className="ms-dlgBorder";a.appendChild(c);this.$E_0=this.$8_0("input");this.$E_0.type="button";this.$E_0.value=SP.Res.hiddenButtonValueBeforeDialog;this.$E_0.className="ms-accessible";c.appendChild(this.$E_0);var d=this.$8_0("div");d.className="ms-dlgTitle";if(!SP.ScriptUtility.isNullOrUndefined(this.$2_0.$6_0)&&this.$2_0.$6_0)d.className="ms-dlgTitleNoPadding";$addHandler(d,"mousedown",this.$$d_$2Q_0);var b=this.$8_0("h1");if(SP.ScriptUtility.isNullOrEmptyString(this.$T_0))if(this.$l_0){SP.UI.UIUtility.setInnerText(b,SP.Res.dialogLoading15);b.title=SP.Res.dialogLoading15}else{SP.UI.UIUtility.setInnerText(b,SP.Res.defaultDialogTitle);b.title=SP.Res.defaultDialogTitle}else{SP.UI.UIUtility.setInnerText(b,this.$T_0);b.title=this.$T_0}if(!SP.ScriptUtility.isNullOrUndefined(this.$2_0.$r_0)&&this.$2_0.$r_0)d.className="ms-hidden";b.className="ms-dlgTitleText ms-accentText ms-dlg-heading";b.id="dialogTitleSpan";this.$L_0=b;this.$F_0=d;var e=this.$8_0("span");e.id="dlgTitleBtns";e.className="ms-dlgTitleBtns";if(this.$f_0){this.$4_0=this.$8_0("a");this.$4_0.id="DlgResize"+SP.Guid.newGuid().toString();this.$4_0.className="ms-dlgCloseBtn";this.$4_0.setAttribute("title",SP.Res.maximize);SP.UI.Dialog.$1a(this.$4_0);this.$4_0.innerHTML=String.format('\'{0}\'',SP.Res.maximize);this.$j_0=this.$$d_$1Y_0;$addHandler(this.$F_0,"dblclick",this.$j_0);$addHandler(this.$4_0,"click",this.$$d_$1Y_0);$addHandler(this.$4_0,"mousedown",this.$$d_$1k_0);$addHandler(this.$4_0,"mouseup",this.$$d_$1k_0);e.appendChild(this.$4_0)}if(this.$10_0){this.$7_0=this.$8_0("a");this.$7_0.id="DlgClose"+SP.Guid.newGuid().toString();this.$7_0.className="ms-dlgCloseBtn";this.$7_0.setAttribute("title",SP.Res.close15);SP.UI.Dialog.$1a(this.$7_0);this.$7_0.setAttribute("accesskey",SP.Res.dialogCancelAK);this.$7_0.innerHTML=String.format('\'{0}\'',SP.Res.close15);$addHandler(this.$7_0,"click",this.$$d_$1j_0);$addHandler(this.$7_0,"mousedown",this.$$d_$1k_0);$addHandler(this.$7_0,"mouseup",this.$$d_$1k_0);e.appendChild(this.$7_0)}if(this.$f_0)this.$J_0=this.$4_0;else this.$J_0=this.$7_0;d.appendChild(e);c.appendChild(d);d.appendChild(b);if(this.$l_0){var i=this.$l_0;i=SP.UI.Dialog.$1h(i);var f=this.$8_0("div");this.$1U_0=f;f.className="ms-dlgFrameContainer";if(!SP.ScriptUtility.isNullOrUndefined(this.$2_0.$6_0)&&this.$2_0.$6_0)f.className="ms-dlgFrameContainerNoPadding";c.appendChild(f);var g=this.$8_0("iframe");this.$0_0=g;this.$0_0.id="DlgFrame"+SP.Guid.newGuid().toString();g.className="ms-dlgFrame";g.setAttribute("src",i);g.setAttribute("frameBorder","0");f.appendChild(g)}else{var h=this.$8_0("div");this.$1U_0=h;h.className="ms-dlgFrameContainer";if(!SP.ScriptUtility.isNullOrUndefined(this.$2_0.$6_0)&&this.$2_0.$6_0)h.className="ms-dlgFrameContainerNoPadding";c.appendChild(h);var k=this.$H_0.getElementsByTagName("a");this.$1Q_0(k);this.$G_0=this.$8_0("div");this.$G_0.appendChild(this.$H_0);h.appendChild(this.$G_0)}this.$D_0=this.$8_0("input");this.$D_0.type="button";this.$D_0.value=SP.Res.hiddenButtonValueAfterDialog;this.$D_0.className="ms-accessible";c.appendChild(this.$D_0);$addHandler(this.$E_0,"focus",this.$$d_$22_0);$addHandler(this.$E_0,"click",this.$$d_$22_0);$addHandler(this.$D_0,"focus",this.$$d_$21_0);$addHandler(this.$D_0,"click",this.$$d_$21_0);this.$5_0=this.$8_0("iframe");this.$5_0.style.border="none";this.$5_0.style.position="absolute";this.$5_0.setAttribute("frameBorder","0");this.$5_0.style.zIndex=this.$3_0.style.zIndex-1;var j=window.browseris.ipad;if(j&&document.documentElement.dir==="rtl")this.$5_0.style.height=this.$5_0.style.width="0px";if(this.get_$b_0())SP.UI.Dialog.get_$1().document.body.insertBefore(this.$5_0,this.$3_0);else document.body.insertBefore(this.$5_0,this.$3_0);$addHandler(this.$3_0,"click",this.$$d_$1p_0);this.$0_0&&$addHandler(this.$0_0,"load",this.$$d_$1L_0);this.$2K_0();$addHandler(window,"message",this.$$d_$2H_0)},$1W_0:function(){ULSaKF:;if(!this.get_$a_0())throw Error.invalidOperation();if(this.$V_0)throw Error.invalidOperation();this.$1X_0();this.$13_0();!this.get_$q_0()&&this.$12_0(true)},$2K_0:function(){ULSaKF:;if(this.$0_0){this.$0_0.cancelPopUp=this.$$d_$1K_0;this.$0_0.commitPopup=this.$$d_$1l_0;this.$0_0.overrideDialogResult=this.$$d_$2F_0;this.$0_0.navigateParent=SP.Utilities.HttpUtility.navigateTo;this.$0_0.commonModalDialogClose=this.$$d_$1m_0;this.$0_0.dialogArgs=this.$18_0;this.$0_0.autoSize=this.$$d_autoSize;this.$0_0.autoSizeSuppressScrollbar=this.$$d_autoSizeSuppressScrollbar;if(this.get_$a_0())this.$0_0.makeVisible=this.$$d_$1W_0}},$1K_0:function(){ULSaKF:;this.close(0)},$1l_0:function(a){ULSaKF:;this.$i_0=a;this.close(1)},$1m_0:function(a,b){ULSaKF:;this.$i_0=b;this.close(a)},$2F_0:function(a){ULSaKF:;this.$w_0=a},$2H_0:function(k){ULSaKF:;var a=k.rawEvent.data;if(a)if(a==="CloseDialog")this.$1K_0();else if(a==="MakePageVisible"&&this.get_$a_0()&&!this.$V_0)this.$1W_0();else if(a.indexOf("NavigateParent")!==-1){var g=a.split("=");if(g.length===2){var l=this;EnsureScriptFunc("core.js","IsSafeHref",function(){ULSaKF:;var a=g[1],b=window.self.IsSafeHref(a);if(b)SP.UI.Dialog.get_$1().location.href=a;else throw Error.create(String.format("Invalid web URL: {0}",a));})}}else{var h=a.split(";");if(h.length===2){for(var c=-1,d=-1,f=h,i=f.length,e=0;e0&&this.$23_0();if(this.$w_0===-1)this.$1B_0=a;else this.$1B_0=this.$w_0;$removeHandler(window,"message",this.$$d_$2H_0);this.$c_0&&SP.UI.Dialog.get_$1().setTimeout(this.$$d_$2P_0,0);if(this.$3_0){SP.UI.UIUtility.removeNode(this.$3_0);this.$3_0=null}if(this.$5_0){SP.UI.UIUtility.removeNode(this.$5_0);this.$5_0=null}this.$v_0=true;window.IsFullNameDefined("CUI.PMetrics.perfMark")&&CUI.PMetrics.perfMark(7707)},get_closed:function(){ULSaKF:;return this.$v_0},get_frameElement:function(){ULSaKF:;return this.$0_0},get_dialogElement:function(){ULSaKF:;return this.$3_0},get_isMaximized:function(){ULSaKF:;return this.$Q_0},$N_0:0,$2P_0:function(){ULSaKF:;if(this.$c_0){this.$c_0(this.$1B_0,this.$i_0);this.$c_0=null}},$x_0:0,$2L_0:function(e){ULSaKF:;var a=SP.UI.Dialog.get_$Y();if(!a){a=SP.UI.Dialog.get_$1().document.createElement("div");a.className="ms-dlgOverlay";SP.UI.Dialog.get_$1().document.body.appendChild(a);SP.UI.Dialog.set_$Y(a);SP.UI.Dialog.$1e(a);if(!SP.UI.Dialog.$M)SP.UI.Dialog.$M=SP.UI.Dialog.$2R;$addHandler(SP.UI.Dialog.get_$1(),"resize",SP.UI.Dialog.$M)}if(Sys.Browser.agent===Sys.Browser.InternetExplorer)for(var d=document.getElementsByTagName("object"),c=0;c0))throw Error.notImplemented(SP.Res.modelessDialogsNotImplemented);return this.$N_0>0}};SP.UI.DialogHostedWindow=function(a,b){ULSaKF:;this.$28_0=a;this.$11_0=b};SP.UI.DialogHostedWindow.prototype={$28_0:null,$11_0:null,initialize:function(){ULSaKF:;try{if(this.$11_0.document&&this.$11_0.document.body)this.$11_0.document.body.tabIndex=-1}catch(a){}},dispose:function(){}};SP.UI.ModalDialog=function(a){ULSaKF:;SP.UI.ModalDialog.initializeBase(this,[a])};SP.UI.ModalDialog.get_$o=function(){ULSaKF:;var a=0,b=SP.UI.Dialog.get_$1().g_ModalDialogCount;if(!SP.ScriptUtility.isNullOrUndefined(b))a=b;return a};SP.UI.ModalDialog.set_$o=function(a){ULSaKF:;SP.UI.Dialog.get_$1().g_ModalDialogCount=a;return a};SP.UI.ModalDialog.get_childDialog=function(){ULSaKF:;var a=SP.UI.Dialog.get_$1().g_childDialog;return SP.ScriptUtility.isNullOrUndefined(a)?null:a};SP.UI.ModalDialog.$1Z=function(a){ULSaKF:;SP.UI.Dialog.get_$1().g_childDialog=a};SP.UI.ModalDialog.showModalDialog=function(b){ULSaKF:;var a=new SP.UI.ModalDialog(b);a.$25_0();return a};SP.UI.ModalDialog.showPlatformFirstRunDialog=function(c,b){ULSaKF:;var a=new SP.UI.DialogOptions;a.includeScrollBarPadding=false;a.url=c;a.showClose=false;a.allowMaximize=false;a.$r_0=true;a.$6_0=true;a.dialogReturnValueCallback=b;return SP.UI.ModalDialog.showModalDialog(a)};SP.UI.ModalDialog.$2M=function(){ULSaKF:;return SP.UI.ModalDialog.showWaitScreenWithNoClose(SP.Res.dialogLoading15)};SP.UI.ModalDialog.showWaitScreenWithNoClose=function(c,a,b,d){ULSaKF:;return SP.UI.ModalDialog.$1d(c,a,false,true,null,b,d,null,1)};SP.UI.ModalDialog.showWaitScreenSize=function(d,b,a,c,e){ULSaKF:;return SP.UI.ModalDialog.$1d(d,b,true,true,a,c,e,null,1)};SP.UI.ModalDialog.$2G=function(b){ULSaKF:;var a=b.target;Sys.UI.DomElement.addCssClass(a.parentNode,"ms-hide")};SP.UI.ModalDialog.$1d=function(r,l,p,s,t,q,g,h,m){ULSaKF:;if(SP.ScriptUtility.isNullOrUndefined(q)&&SP.ScriptUtility.isNullOrUndefined(g)&&SP.ScriptUtility.isNullOrUndefined(h))h="39px 0px 30px";l=l||"";var d=SP.UI.Dialog.get_$1().document.createElement("INPUT"),b=SP.UI.Dialog.get_$1().document.createElement("DIV");b.style.padding=SP.ScriptUtility.isNullOrUndefined(h)?"10px":h;var e=SP.UI.Dialog.get_$1().document.createElement("DIV"),f=SP.UI.Dialog.get_$1().document.createElement("SPAN");if(m===1)f.style.paddingTop="6px";f.style.paddingRight="10px";var c=SP.UI.Dialog.get_$1().document.createElement("IMG");if(m===1)c.src=GetImageUrlWithRevision("/_layouts/15/images/gears_anv4.gif");else if(!m)c.src=GetImageUrlWithRevision("/_layouts/15/images/loadingcirclests16.gif");c.title=window.self.Strings.STS.L_SPClientPeoplePickerWaitImgAlt;$addHandler(c,"click",SP.UI.ModalDialog.$2G);f.appendChild(c);var i=SP.UI.Dialog.get_$1().document.createElement("SPAN");i.className="ms-core-pageTitle ms-accentText";i.innerHTML=r;e.className="ms-dlgLoadingTextDiv ms-alignCenter";e.appendChild(f);e.appendChild(i);b.appendChild(e);var j=SP.UI.Dialog.get_$1().document.createElement("DIV");j.className="ms-textXLarge ms-alignCenter";j.innerHTML=l;b.appendChild(j);if(p){var k=SP.UI.Dialog.get_$1().document.createElement("DIV");k.className="ms-floatRight";d.type="Button";d.value=SP.Res.createWaitScreenCancel;k.appendChild(d);b.appendChild(k);var o=SP.UI.Dialog.get_$1().document.createElement("DIV");o.className="ms-clear";b.appendChild(o)}var a=new SP.UI.DialogOptions;a.includeScrollBarPadding=false;a.html=b;a.width=g;a.height=q;a.showClose=p;a.autoSizeStartWidth=!SP.ScriptUtility.isNullOrUndefined(g)?g:327;a.allowMaximize=s;a.title="";a.$r_0=true;a.dialogReturnValueCallback=t;var n=SP.UI.ModalDialog.showModalDialog(a);$addHandler(d,"click",n.$$d_$1j_0);return n};SP.UI.ModalDialog.OpenPopUpPage=function(d,a,c,b){ULSaKF:;OpenPopUpPage(d,a,c,b)};SP.UI.ModalDialog.ShowPopupDialog=function(a){ULSaKF:;ShowPopupDialog(a)};SP.UI.ModalDialog.commonModalDialogOpen=function(d,b,a,c){ULSaKF:;commonModalDialogOpen(d,b,a,c)};SP.UI.ModalDialog.commonModalDialogClose=function(a,b){ULSaKF:;commonModalDialogClose(a,b)};SP.UI.ModalDialog.RefreshPage=function(a){ULSaKF:;RefreshPage(a)};SP.UI.ModalDialog.prototype={$1V_1:false,$u_1:null,$25_0:function(){ULSaKF:;var a;(a=SP.UI.ModalDialog).set_$o(a.get_$o()+1);this.$N_0=SP.UI.ModalDialog.get_$o()*5+1500;SP.UI.Dialog.prototype.$25_0.call(this);this.$u_1=SP.UI.ModalDialog.get_childDialog();SP.UI.ModalDialog.$1Z(this)},close:function(b){ULSaKF:;if(this.$1V_1)return;this.$1V_1=true;var a;(a=SP.UI.ModalDialog).set_$o(a.get_$o()-1);SP.UI.ModalDialog.$1Z(this.$u_1);this.$u_1=null;SP.UI.Dialog.prototype.close.call(this,b)}};Type.registerNamespace("SP.Application.UI");SP.Application.UI.DragBehavior=function(a,b){ULSaKF:;this.$$d_$2E_2=Function.createDelegate(this,this.$2E_2);this.$$d_$2D_2=Function.createDelegate(this,this.$2D_2);this.$$d_$2C_2=Function.createDelegate(this,this.$2C_2);SP.Application.UI.DragBehavior.initializeBase(this,[a]);this.$R_2=new SP.Application.UI.MouseTrackerBehavior(b);this.$d_2=[];this.$9_2=null};SP.Application.UI.DragBehavior.prototype={$R_2:null,$d_2:null,$9_2:null,$1g_2:function(a){ULSaKF:;this.$d_2[this.$d_2.length]=a},$1n_2:function(a){ULSaKF:;if(Sys.Browser.agent===Sys.Browser.Firefox||Sys.Browser.agent===Sys.Browser.Safari||Sys.Browser.agent===Sys.Browser.AppleWebKit){if(!a)return;this.$9_2=document.createElement("div");this.$9_2.style.position="absolute";this.$9_2.style.cursor="move";this.$9_2.style.zIndex=a.style.zIndex+1;this.$9_2.style.width=a.offsetWidth+"px";this.$9_2.style.height=a.offsetHeight+"px";this.$9_2.style.top=a.offsetTop+"px";this.$9_2.style.left=a.offsetLeft+"px"}},initialize:function(){ULSaKF:;Sys.UI.Behavior.prototype.initialize.call(this);this.$R_2.initialize();this.$R_2.add_$1i_2(this.$$d_$2C_2);this.$R_2.add_$1t_2(this.$$d_$2D_2);this.$R_2.add_$2N_2(this.$$d_$2E_2)},$19_2:0,$1A_2:0,$1E_2:0,$1D_2:0,$2C_2:function(g,b){ULSaKF:;var c=b.$h_1.x,d=b.$h_1.y,e=this.get_element().offsetLeft,f=this.get_element().offsetTop;this.$19_2=c-e;this.$1A_2=d-f;var a=window.self._dlgWndTop();this.$1E_2=a.document.body.clientWidth;this.$1D_2=a.document.body.clientHeight;this.$9_2&&this.get_element().appendChild(this.$9_2)},$2D_2:function(g,e){ULSaKF:;var a=e.$h_1.x,b=e.$h_1.y;if(a<16)a=16;else if(a>this.$1E_2-16)a=this.$1E_2-16;if(b<16)b=16;else if(b>this.$1D_2-16)b=this.$1D_2-16;this.get_element().style.left=a-this.$19_2+"px";this.get_element().style.top=b-this.$1A_2+"px";for(var c=0,f=this.$d_2.length;c