function resolveHelp2Keyword(e,t){var n="";try{if(n=findHelp2Keyword(getCurrentHelp2Namespace(),e),""==n&&(n=findHelp2Keyword("MS.VSCC.v80",e),""==n&&(n=findHelp2Keyword("MS.VSCC.2003",e),""==n&&(n=findHelp2Keyword("MS.VSCC",e)))),""!=n)return n;var i,o,r=new ActiveXObject("HxDs.HxRegistryWalker"),a=r.RegisteredNamespaceList("MS.VSCC");if(a.Count>0)for(var s=1;s<=a.Count;s++)if(i=a.Item(s),o=i.Name,"MS.VSCC"==o.substring(0,7))switch(o){case"MS.VSCC.v80":break;case"MS.VSCC.2003":break;case"MS.VSCC":break;default:if(n=findHelp2Keyword(o,""),""!=n)return n}}catch(c){}var l=t.indexOf("(");return l!=-1&&(t=t.substring(0,l)),"https://docs.microsoft.com/dotnet/api/"+t.replace("`","-").toLowerCase()}function findHelp2Keyword(e,t){var n,i;if(e.length>0)try{if(n=new ActiveXObject("HxDs.HxSession"),n.Initialize("ms-help://"+e,0),i=n.Query(t,"!DefaultAssociativeIndex",0,""),i.Count>0)return i(1).URL}catch(o){}return""}function navigateToHelp2Keyword(e,t,n){window.status="Resolving link. Please wait a moment...";var i=resolveHelp2Keyword(e,t);window.status="","http://msdn.microsoft.com"!==i.substring(0,25)&&"https://docs.microsoft.com"!==i.substring(0,26)||null==window.parent?1==n?location.replace(i):location.href=i:window.open(i,"_blank")}function getCurrentHelp2Namespace(){var e="",t=window.location;return"ms-help:"==t.protocol&&(e=t.hostname,"//"==e.substring(0,2)&&(e=e.substring(2))),e}var __assign=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0)){var r=0,a=null;try{a=o.contentDocument?o.contentDocument:o.contentWindow.document||o.document}catch(s){}if(null!=a)try{r=$(a).height()}catch(s){r=i}else r=i;var c=$(o).data("last-height");c||(c=0);var l=r-c;if(l>10||l<0&&l<10){var u=$(o).parent();"DIV"==u.get(0).tagName&&rn&&(n=r)});var r=$("#i-busy");return 0!=r.length&&r.height(n),n},t.showElement=function(e){e.show(),"body"===e.selector&&$("body").css("display","block")},t.checkForIe7ModeJqueryBug=function(){if("msie"==t.info.name&&t.info.version<=7){var e={set:function(e,t,n){return e.setAttribute(n,t),e.getAttributeNode(n)}};if(null!=$&&null!=$.attrHooks){var n=$.attrHooks;n["aria-describedby"]=e,n["aria-live"]=e,n["aria-atomic"]=e,n["aria-hidden"]=e}}},t.getQueryStringParameter=function(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+e+"=([^&#]*)"),n=t.exec(window.location.search);return null==n?null:decodeURIComponent(n[1].replace(/\+/g," "))},t.isCompiledHelp=function(){var e=t.getWindowLocationHref()+".";return 0===e.indexOf("mk:@MSITStore")||(0===e.indexOf("ms-its:")||("ms-help:"===location.protocol||("ms-xhelp:"===location.protocol||location.href.indexOf("ms.help?")!==-1||location.href.indexOf("?method=page&")!==-1)))},t.isEditor=function(){return"about:"===location.protocol},t.getUniqueId=function(){for(var e=10,n=function(){for(var n="",i=0;i0;)i=n();return i},t.getCommonSettings=function(){return e.overrides||e.settings||{}},t.compareVersionStrings=function(e,t){for(var n=/(\.0+)+$/,i=e.replace(n,"").split("."),o=t.replace(n,"").split("."),r=Math.min(i.length,o.length),a=0;a'),$("head").append(t)),t},t.isElementInView=function(e,t){if(null==e)return!1;if(!$(e).is(":visible"))return!1;var n=$(window).scrollTop(),i=n+$(window).height(),o=$(e).offset().top,r=o+$(e).height();return t?nr:o<=i&&r>=n},t.isDesignTime=!1,t.isAnimationDisabled=!1,t.info=new n,t.dynamicallyLoadedFileIndex=0,t.idCharacters="_0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz".split(""),t}();t.Browser=i}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={}));var overrides=Innovasys.overrides||Innovasys.settings;("BackCompat"!=document.compatMode||"ms-xhelp:"!=location.protocol&&location.href.indexOf("ms.help?")==-1&&location.href.indexOf("?method=page&")==-1)&&(null!=overrides&&overrides.isHideBodyDuringLoadDisabled?overrides.isOverflowClippedDuringLoad&&document.write(''):document.write(''));var Innovasys;!function(e){var t;!function(e){var t=function(){function e(e,t){this.left=e,this.top=t}return e}();e.ElementPosition=t}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={}));var Innovasys;!function(e){var t;!function(e){var t=function(){function t(){}return t.getElementPosition=function(t){for(var n=0,i=0;t;)e.Browser.msIeVersion()>4?(n+=t.offsetLeft-t.scrollLeft,i+=t.offsetTop-t.scrollTop):(n+=t.offsetLeft,i+=t.offsetTop),t=t.offsetParent;return navigator.userAgent.indexOf("Mac")!=-1&&"undefined"!=typeof document.body.leftMargin&&(n+=document.body.leftMargin,i+=document.body.topMargin),new e.ElementPosition(n,i)},t.getTextFromContainingTable=function(e){var t=$($(e).parents("table").get(0)),n=t.find("td").get(0);if(null!=n)return null!=n.textContent?n.textContent:null!=n.innerText?n.innerText:$(n).text()},t}();e.DomHelpers=t}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={}));var Innovasys;!function(e){var t;!function(e){var t=function(){function e(e){void 0===e&&(e=""),this.attributePrefix=e,this.storageMethod="native",this.cookieData=null,this.storageElement=null;var t;try{t=window.localStorage}catch(n){}if(!t)if("ms-its:"==location.protocol){this.storageMethod="userdata";var i=$("");i.css("behavior","url(#default#userdata)"),i.appendTo("body"),this.storageElement=i.get(0),this.storageElement.load("localStorage")}else{this.storageMethod="cookie";var o=$.cookie("localStorage");o?this.cookieData=JSON.parse(o):this.cookieData={}}}return e.prototype.load=function(e){},e.prototype.save=function(e){},e.prototype.setAttribute=function(e,t){null!=this.attributePrefix&&(e=this.attributePrefix+e),"native"==this.storageMethod?null==t||void 0==t?window.localStorage.removeItem(e):window.localStorage.setItem(e,t):"cookie"==this.storageMethod?(null==t?this.cookieData[e]=null:this.cookieData[e]=t+"",$.cookie("localStorage",JSON.stringify(this.cookieData),{expires:365,path:"/",domain:""})):"userdata"==this.storageMethod&&(this.storageElement.setAttribute(e,t+""),this.storageElement.save("localStorage"))},e.prototype.getAttribute=function(e){return null!=this.attributePrefix&&(e=this.attributePrefix+e),"native"==this.storageMethod?window.localStorage.getItem(e):"cookie"==this.storageMethod?void 0===this.cookieData[e]?null:this.cookieData[e]:"userdata"==this.storageMethod?this.storageElement.getAttribute(e):void 0},e}();e.LocalStorageHandler=t}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={}));var Innovasys;!function(e){var t;!function(e){var t=function(){function e(e,t){this.messageType=e,this.messageData=t}return e}();e.WindowMessage=t;var n=function(){function e(){}return e.isPostMessageEnabled=function(){return null!=window.postMessage},e.addMessageListener=function(t){e.isPostMessageEnabled()&&(window.addEventListener?window.addEventListener("message",t,!1):window.attachEvent("onmessage",t))},e.removeMessageListener=function(t){e.isPostMessageEnabled()&&(window.addEventListener?window.removeEventListener("message",t,!1):window.detachEvent("onmessage",t))},e.getMessageFromData=function(e){var n=e.indexOf("|"),i=null,o=null;return n!=-1?(i=e.substring(0,n),o=e.substring(n+1)):(i=e,o=""),new t(i,o)},e.routeMessageToFrameElement=function(t,n,i){var o=document.getElementById(t);null!=o&&null!=o.contentWindow&&e.routeMessageToWindow(o.contentWindow,n,i)},e.routeMessageToWindow=function(e,t,n){null!=e&&self!=e&&null!=e&&null!=e.postMessage&&e.postMessage(t+"|"+n,"*")},e.routeMessageToParentFrame=function(e,t){null!=parent&&self!=parent&&this.routeMessageToWindow(parent,e,t)},e}();e.Messaging=n}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={}));var Innovasys;!function(e){var t;!function(e){var t=function(){function e(e){this.documentInstance=null,this._responsiveConfiguration=null,this.documentInstance=e}return e.prototype.initializeDocument=function(){},e.prototype.initializeContent=function(e,t){void 0===t&&(t=!1)},e.prototype.onMessage=function(e){},e.prototype.getName=function(){throw new Error("Feature name not implemented")},e.prototype.ensureElementVisible=function(e){},e.prototype.beforeSetElementVisibility=function(e,t,n){return!1},e.prototype.afterSetElementVisibility=function(e,t){},e.prototype.populateResponsiveConfiguration=function(e){},e.prototype.applyResponsiveConfiguration=function(e){},e.prototype.initializeContentOrdinal=function(){return 0},e}();e.DocumentFeatureBase=t;var n=function(){function e(){}return e.registerDocumentFeatureFactory=function(t){e._featureFactories.push(t)},e.getFeatureFactories=function(){return e._featureFactories},e._featureFactories=[],e}();e.DocumentFeatureConfiguration=n;var i=function(){function e(e,t){void 0===t&&(t=[]),this.profileName=e,this.clickTargets=t,this.stylesheetUrls=[],this.tablesToPivot=[]}return e}();e.ResponsiveConfiguration=i;var o=function(){function e(e,t){this.className=e,this.kind=t}return e}();e.ResponsiveClickTarget=o;var r=function(){function e(e,t){void 0===t&&(t=null),this.selector=e,this.onAfterPivot=t}return e}();e.ResponsiveTable=r;var a;!function(e){e[e.auto=0]="auto",e[e.inline=1]="inline",e[e.block=2]="block"}(a=e.ResponsiveClickTargetKind||(e.ResponsiveClickTargetKind={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={}));var currentLocation=location.href+".";if(0===currentLocation.indexOf("mk:@MSITStore")){var newLocation="ms-its:"+currentLocation.substring(14,currentLocation.length-1);location.replace(newLocation)}var Innovasys;!function(e){var t;!function(t){var n=function(){function n(e,n){void 0===n&&(n="");var i=this;this._localStorageInstance=null,this._isUnloaded=!0,this.id="",this.rootElement=null,this.rootSelector=null,this.isNew=!1,this.isResponsiveEnabled=!1,this.setBodyVisibleAfterLoadComplete=!0,this.isContentDocument=!0,this._features=null,this._featureSettings={},this.id=n,this.rootElement=e,this.rootSelector=$(e),this.rootSelector.data("innovasys-document",this),this._features=$.map(t.DocumentFeatureConfiguration.getFeatureFactories(),function(e,t){return e.createInstance(i)}),$.each(this._features,function(e,t){t.initializeDocument()}),t.Browser.isDesignTime&&$("body").addClass("i-designtime"),t.Browser.isEditor()&&$("body").addClass("i-editor")}return n.prototype.getLocalStorage=function(){if(t.Browser.isDesignTime)try{window.external.IsInnovasysDesigner&&(this._localStorageInstance=window.external)}catch(e){}return this._localStorageInstance||(this._localStorageInstance=new t.LocalStorageHandler(this.id)),this._localStorageInstance},n.prototype.load=function(){var n=this,i=t.Browser.getCommonSettings();i.isNew&&(this.isNew=!0),""==this.id&&e.Content.Messaging.isPostMessageEnabled()&&(this._windowMessageEventListener=function(e){return n.receiveMessage(e)},e.Content.Messaging.addMessageListener(this._windowMessageEventListener),this.isContentDocument&&(t.Messaging.routeMessageToParentFrame("loaded",location.href),t.Messaging.routeMessageToParentFrame("updatePageTitle",document.title))),"inpage"!==i.navigationKind?$("body").addClass("i-navigation-frames"):$("body").addClass("i-navigation-inpage"),this.initializeContent(this.rootSelector,!0),""==this.id&&this.setBodyVisibleAfterLoadComplete&&this.setBodyVisible()},n.prototype.setBodyVisible=function(){$("html").addClass("i-loaded"),t.Browser.showElement($("body")),setTimeout(function(){t.Browser.getCommonSettings().isOverflowClippedDuringLoad&&$("body").css("overflow-y","auto"),$(".i-busy-overlay").hide()},1)},n.prototype.unload=function(){""==this.id&&e.Content.Messaging.isPostMessageEnabled()&&null!=this._windowMessageEventListener&&e.Content.Messaging.removeMessageListener(this._windowMessageEventListener),this._isUnloaded=!0},n.prototype.initializeContent=function(e,t){void 0===t&&(t=!1),$.each(this._features.sort(function(e,t){return e.initializeContentOrdinal()-t.initializeContentOrdinal()}),function(n,i){i.initializeContent(e,t)})},n.prototype.getResponsiveConfiguration=function(e){var n=new t.ResponsiveConfiguration(e);return $.each(this._features,function(e,t){t.populateResponsiveConfiguration(n)}),n},n.prototype.applyResponsiveConfiguration=function(e){$.each(this._features,function(t,n){n.applyResponsiveConfiguration(e)})},n.prototype.receiveMessage=function(t){var n=null;try{n=e.Content.Messaging.getMessageFromData(t.data)}catch(i){}this.processWindowMessage(n)},n.prototype.processWindowMessage=function(e){if(e)switch(e.messageType){case"refresh":document.location.reload();break;default:null!=this._features&&$.each(this._features,function(t,n){n.onMessage(e)})}},n.prototype.ensureElementVisible=function(e){$.each(this._features,function(t,n){n.ensureElementVisible(e)})},n.prototype.setElementVisibility=function(e,n,i){var o=this;return e.each(function(e,r){var a=!1;if($.each(o._features,function(e,t){a||1==t.beforeSetElementVisibility(r,n,i)&&(a=!0)}),!a){if("none"!=$(r).css("display")!=n)if("none"==$(r).css("display"))if(i||t.Browser.isAnimationDisabled){var s=$(r).data("i-original-display");null!=s?($(r).css("display",s),$(r).data("i-original-display",null)):"TR"==r.tagName?$(r).css("display","table-row"):$(r).css("display","block")}else $(r).slideDown("fast");else $(r).data("i-original-display",$(r).css("display")),i||t.Browser.isAnimationDisabled?$(r).hide():$(r).slideUp("fast");$.each(o._features,function(e,t){t.afterSetElementVisibility(r,n)})}})},n.prototype.getFeatureByName=function(e){if(null==e)return null;var t=$.map(this._features,function(t,n){return t.getName().toLowerCase()===e.toLowerCase()?t:null});return t.length>0?t[0]:void 0},n.prototype.getFeatureSettings=function(t,n){if(null==t)return null;if(null!=this._featureSettings[t])return this._featureSettings[t];var i=null!=n?n():{},o=null,r=e.overrides||e.settings,a=null==r?null:r[t.toLowerCase()];return o=null!=a?__assign({},i,a):__assign({},i),this._featureSettings[t]=o,o},n}();t.Document=n;var i=function(){function e(){}return e.quickSearch="quickSearch",e.resetQuickSearch="resetquicksearch",e.insertNavigationHeader="insertNavigationHeader",e.searchHighlightComplete="searchHighlightComplete",e}();t.DocumentMessageNames=i}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={}));var Innovasys;!function(e){var t;!function(t){var n;!function(n){var i=function(){function e(){}return e.prototype.createInstance=function(e){return new o(e)},e}();n.ResponsiveDocumentFeatureFactory=i;var o=function(n){function i(e){var t=n.call(this,e)||this;return t._pendingResponsiveFiles=new Array,t._configuration=null,t}return __extends(i,n),i.prototype.getName=function(){return"Responsive"},i.prototype.getFeatureSettings=function(){return this.documentInstance.getFeatureSettings("responsive",this.getDefaultFeatureSettings)},i.prototype.getDefaultFeatureSettings=function(){return{isEnabled:!1,displayMode:null}},i.prototype.initializeDocument=function(){e.Content.Messaging.addMessageListener(function(e){})},i.prototype.checkPendingResponsiveFilesLoad=function(e){this._pendingResponsiveFiles=$.map(this._pendingResponsiveFiles,function(t,n){return t==e?null:t}),0==this._pendingResponsiveFiles.length&&this.onResponsiveFilesLoaded()},i.prototype.isEnabled=function(){return this.documentInstance.isResponsiveEnabled||this.getFeatureSettings().isEnabled},i.prototype.initializeContent=function(e,n){var i=this;if(void 0===n&&(n=!1),n){var o=this.getDeviceType().toLowerCase(),r=this.documentInstance.getResponsiveConfiguration(o);if(this.isEnabled()){switch(o){case"mobile":$(".i-hidden-mobile, .i-visible-tablet, .i-visible-desktop").css("display","none");break;case"tablet":$(".i-hidden-tablet, .i-visible-mobile, .i-visible-desktop").css("display","none");break;case"desktop":$(".i-hidden-desktop, .i-visible-mobile, .i-visible-tablet").css("display","none")}if("desktop"!==o&&($("link[data-responsive-"+o+"]").each(function(e,n){var r=$(n).attr("data-responsive-"+o);null!=r&&(i.documentInstance.setBodyVisibleAfterLoadComplete=!1,$.each(r.split(","),function(e,n){i._pendingResponsiveFiles.push(t.Browser.loadStylesheet(n,"data-responsive-"+o,"responsive-marker",function(e){i.checkPendingResponsiveFilesLoad(e)}))}))}),$("script[type='i-url-container/css']").each(function(e,n){var r=$(n),a=r.data("responsive-display-modes");if(null!=a&&a.toLowerCase().indexOf(o)!=-1){var s=$.trim(r.html());i.documentInstance.setBodyVisibleAfterLoadComplete=!1,i._pendingResponsiveFiles.push(t.Browser.loadStylesheet(s,"data-responsive-"+o,"responsive-marker",function(e){i.checkPendingResponsiveFilesLoad(e)}))}}),$("script[type='i-url-container/script']").each(function(e,n){var r=$(n),a=r.data("responsive-display-modes");if(null!=a&&a.toLowerCase().indexOf(o)!=-1){var s=$.trim(r.html());i.documentInstance.setBodyVisibleAfterLoadComplete=!1,i._pendingResponsiveFiles.push(t.Browser.loadScript(s,"data-responsive-"+o,"responsive-marker",function(e){i.checkPendingResponsiveFilesLoad(e)}))}})),"mobile"==r.profileName||"tablet"==r.profileName){switch(r.profileName){case"mobile":r.clickTargets.push(new t.ResponsiveClickTarget(".i-link>a,.i-member-link a",t.ResponsiveClickTargetKind.block)),r.clickTargets.push(new t.ResponsiveClickTarget("#i-actions-content .i-page-link,#i-actions-content .i-popup-link,#i-actions-content .i-function-link",t.ResponsiveClickTargetKind.inline));break;case"tablet":r.clickTargets.push(new t.ResponsiveClickTarget(".i-breadcrumbs-container a,#i-after-header-content .i-page-link,#i-after-header-content .i-popup-link,#i-after-header-content .i-function-link#i-actions-content .i-page-link,#i-actions-content .i-popup-link,#i-actions-content .i-function-link",t.ResponsiveClickTargetKind.inline)),r.clickTargets.push(new t.ResponsiveClickTarget("a[href='#top']",t.ResponsiveClickTargetKind.block))}r.clickTargets.push(new t.ResponsiveClickTarget("#i-footer-content>a,#i-after-header-content .i-function-link",t.ResponsiveClickTargetKind.inline)),r.clickTargets.push(new t.ResponsiveClickTarget("#i-seealso-section-content a,.i-in-this-topic-container a",t.ResponsiveClickTargetKind.block)),r.tablesToPivot.push(new t.ResponsiveTable("table.pivot-table,table.i-pivot-table"))}}this._configuration=r,0===this._pendingResponsiveFiles.length&&this.onResponsiveFilesLoaded()}},i.prototype.initializeContentOrdinal=function(){return 999},i.prototype.applyResponsiveConfiguration=function(e){var t=this;$.each(e.clickTargets,function(e,n){t.applyClickTarget(n)}),$.each(e.tablesToPivot,function(e,t){$(t.selector).each(function(e,n){var o=i.pivotTable(n);null!=o&&null!=t.onAfterPivot&&t.onAfterPivot($(n),o)})}),$(".i-responsive-switch").off("click.responsive").on("click.responsive",function(e){var n=$(e.currentTarget).data("i-responsive-mode");""!==n&&(t.setForcedDisplayMode(n),location.reload())}),$(".i-responsive-select").val(e.profileName).off("change.responsive").on("change.responsive",function(e){var n=$(e.currentTarget).val();""!=n&&(t.setForcedDisplayMode(n),location.reload())})},i.prototype.onMessage=function(e){if(e)switch(e.messageType){case t.DocumentMessageNames.insertNavigationHeader:this.insertNavigationHeader();break;case t.DocumentMessageNames.searchHighlightComplete:$("a#i-remove-highlighting").css("display","inline")}},i.prototype.insertNavigationHeader=function(){var e=this;if(0===$("body > div.navigation-header").length){var n=$('
'),i=n.find(".i-inner-container").first();$('').appendTo(i),$('').appendTo(i),$('').appendTo(i),$('').appendTo(i),$('').appendTo(i),$('').appendTo(i),$(".i-search-highlight").length&&i.children("#i-remove-highlighting").css("display","inline"),i.children("a").off("click.responsive").on("click.responsive",function(n){var i=window.parent;if("undefined"!=typeof i)switch($(n.currentTarget).attr("id")){case"i-nav-previous":t.Messaging.routeMessageToParentFrame("navigate","previous");break;case"i-nav-next":t.Messaging.routeMessageToParentFrame("navigate","next");break;case"i-nav-index":case"i-nav-toc":case"i-nav-search":var o=$(n.currentTarget).attr("id");"i-"==o.substring(0,2)&&(o=o.substring(2)),t.Messaging.routeMessageToParentFrame("openNavigationPane",o);break;case"i-remove-highlighting":e.documentInstance.processWindowMessage(new t.WindowMessage(t.DocumentMessageNames.resetQuickSearch,null))}}),n.prependTo($("body")),1==$("html").data("responsive-load-complete")&&(this.documentInstance.setBodyVisible(),$("html").data("responsive-load-complete",null))}},i.prototype.applyClickTarget=function(e){var n=e.kind==t.ResponsiveClickTargetKind.inline?"btn btn-mini btn-xs":"btn";$(e.className).addClass(n)},i.prototype.getDeviceType=function(){if(!this.isEnabled())return"DESKTOP";var e=this.getForcedDisplayMode();return null!=e?e:Modernizr.touch?Modernizr.mq("screen and (orientation: portrait) and (max-device-width: 600px)")?"MOBILE":Modernizr.mq("screen and (orientation: landscape) and (max-device-width: 767px)")?"MOBILE":"TABLET":navigator.userAgent.indexOf("Windows Phone OS")!=-1?"MOBILE":"DESKTOP"},i.prototype.getForcedDisplayMode=function(){var e=t.Browser.getCommonSettings();if("undefined"!=typeof e.forcedDisplayMode&&null!=e.forcedDisplayMode)return e.forcedDisplayMode;if(null!=this.getFeatureSettings().displayMode)return this.getFeatureSettings().displayMode;if("#ForceDisplayDesktop"==window.location.hash)return"DESKTOP";if("#ForceDisplayMobile"==window.location.hash)return"MOBILE";if("#ForceDisplayTablet"==window.location.hash)return"TABLET";var n=window.location.pathname.substring(0,window.location.pathname.lastIndexOf("/")),i="innovasys-responsive-"+n.replace(/[^a-zA-Z0-9_\-]/g,"");return null!=this.documentInstance.getLocalStorage().getAttribute(i)?this.documentInstance.getLocalStorage().getAttribute(i):null},i.prototype.setForcedDisplayMode=function(e){var t=window.location.pathname.substring(0,window.location.pathname.lastIndexOf("/")),n="innovasys-responsive-"+t.replace(/[^a-zA-Z0-9_\-]/g,"");this.documentInstance.getLocalStorage().setAttribute(n,e)},i.prototype.onResponsiveFilesLoaded=function(){var e=t.Browser.getCommonSettings();this.documentInstance.applyResponsiveConfiguration(this._configuration),"desktop"!==this._configuration.profileName&&(this.documentInstance.isContentDocument&&"inpage"!==e.navigationKind&&0===$("body > div.i-navigation-header").length?$("html").data("responsive-load-complete",!0):this.documentInstance.setBodyVisible()),$("html").addClass("i-responsive-"+this._configuration.profileName)},i.pivotTable=function(e){var t=$(e),n=$('
'),i={},o=t.find("tr").children("td.i-pivot-column, th.i-pivot-column").first().index();return o===-1?null:(t.find("tr:first-child").children("td:not(.i-pivot-column), th:not(.i-pivot-column)").each(function(e,t){i[e.toString()]=$(t).text()}),t.find("tr").each(function(e,t){if(e>0){var r,a=$('
');$(t).children("td").each(function(e,t){if(e==o)r=$('
'+$(t).text()+"
");else{var n=$(""+i[e.toString()]+"");$(t).clone().appendTo(n),n.find("td a").addClass("btn btn-mini btn-xs"),n.appendTo(a)}}),r.appendTo(n),a.appendTo(n)}}),n)},i}(t.DocumentFeatureBase);n.ResponsiveDocumentFeature=o}(n=t.Features||(t.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.ResponsiveDocumentFeatureFactory);var Innovasys;!function(e){var t;!function(e){var t;!function(t){var n=function(){function e(){}return e.prototype.createInstance=function(e){return new i(e)},e}();t.FixedToTopDocumentFeatureFactory=n;var i=function(e){function t(t){var n=e.call(this,t)||this;return n.isPinned=!1,n}return __extends(t,e),t.prototype.getName=function(){return"Fixed to Top"},t.prototype.initializeContent=function(e,t){var n=this;if(void 0===t&&(t=!1),$(".i-fixed-to-top").length>0){var i="scroll.fixed-to-top",o="resize.fixed-to-top";setTimeout(function(){return n.refresh()},1),$(window).off(i).on(i,function(){return n.refresh()}).off(o).on(o,function(){return n.refresh()})}},t.prototype.applyResponsiveConfiguration=function(e){var t=this;setTimeout(function(){return t.refresh()},1)},t.prototype.refresh=function(){var e=this.getBodyContentPosition(),t=$(".i-fixed-to-top"),n=$(window).scrollTop(),i=n>e;if(this.isPinned!=i&&(this.isPinned=i,t.toggleClass("i-is-fixed",i),this.isPinned&&t.css("top","0")),!this.isPinned){var o=e-n;$(".i-fixed-to-top").css("top",o>0?o+"px":"")}},t.prototype.getBodyContentPosition=function(){var e=$("#i-body-content-container",this.rootSelector).position();if(null!=e)return e.top},t.prototype.populateResponsiveConfiguration=function(e){},t}(e.DocumentFeatureBase);t.FixedToTopDocumentFeature=i}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.FixedToTopDocumentFeatureFactory);var Innovasys;!function(e){var t;!function(e){var t;!function(t){var n=function(){function e(){}return e.prototype.createInstance=function(e){return new i(e)},e}();t.ThemeDocumentFeatureFactory=n;var i=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getName=function(){return"Theme"},t.prototype.getDefaultSettings=function(){return{defaultThemeOption:null,isThemeSelectionEnabled:!1}},t.prototype.getFeatureSettings=function(){return this.documentInstance.getFeatureSettings("theme",this.getDefaultSettings)},t.prototype.initializeContent=function(e,t){var n=this;void 0===t&&(t=!1),this._rootSelector=e;var i=this.getFeatureSettings();i.isThemeSelectionEnabled&&$(".i-theme-select",e).off("change.theme").on("change.theme",function(e){var t=$(e.currentTarget).data("theme-name"),i=$(e.currentTarget).val(),o=$("option[value='"+i+"']",$(e.currentTarget)).data("theme-option");n.onThemeSelected(t,o,i,!0)}),$(".i-theme-select",e).each(function(e,t){var o=$(t),r=o.data("theme-name");if(null!=r){var a=n.documentInstance.getLocalStorage().getAttribute("i-theme-"+r);if(null==a&&(a=i.defaultThemeOption),null!=a){var s=$("option[data-theme-option='"+a+"']",o);s.length>0&&(o.val(s.val()),n.onThemeSelected(r,a,s.val(),!1))}}}),i.isThemeSelectionEnabled?$(".i-theme-selection-container").show():$(".i-theme-selection-container").hide()},t.prototype.onThemeSelected=function(e,t,n,i){var o=$("link[data-theme-name='"+e+"']");o.remove(),"none"!==n&&$("head").append(''),$(".i-theme-select option",this._rootSelector).each(function(n,i){var o=$(i).data("theme-option");$("html").toggleClass("i-theme-"+e+"-"+o,o===t)}),i&&this.documentInstance.getLocalStorage().setAttribute("i-theme-"+e,t)},t.prototype.onMessage=function(e){},t}(e.DocumentFeatureBase);t.ThemeDocumentFeature=i}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.ThemeDocumentFeatureFactory);var Innovasys;!function(e){var t;!function(e){var t;!function(t){var n=function(){function e(){}return e.prototype.createInstance=function(e){return new i(e)},e}();t.DynamicStylesDocumentFeatureFactory=n;var i=function(t){function n(e){var n=t.call(this,e)||this;return n._addedStyles={dynamicWordBreak:null},n}return __extends(n,t),n.prototype.getName=function(){return"DynamicStyles"},n.prototype.getDefaultSettings=function(){return{isDynamicWordWrapEnabled:!1,isDynamicWordWrapUpdateOnResizeEnabled:!0}},n.prototype.getFeatureSettings=function(){return this.documentInstance.getFeatureSettings("dynamicstyles",this.getDefaultSettings)},n.prototype.initializeContent=function(t,n){var i=this;void 0===n&&(n=!1),n&&(this._rootSelector=t);var o=this.getFeatureSettings();if(o.isDynamicWordWrapEnabled&&!e.Browser.isCompiledHelp()&&!e.Browser.isDesignTime){var r=$("#i-body-content",this._rootSelector);r.length>0&&(setTimeout(function(){i.updateDynamicWordBreak()}),o.isDynamicWordWrapUpdateOnResizeEnabled&&$(window).off("resize.dynamicstyles").on("resize.dynamicstyles",function(){i.updateDynamicWordBreak()}))}},n.prototype.updateDynamicWordBreak=function(){var t="i-dynamic-word-break",n=$("#i-body-content",this._rootSelector),i=n.get(0);if(null!=this._addedStyles.dynamicWordBreak){if(!(i.offsetWidth>this._addedStyles.dynamicWordBreak))return;$("#"+t).remove(),this._addedStyles.dynamicWordBreak=null}if(i.offsetWidth0||$("pre",n).length>0)){this._addedStyles.dynamicWordBreak=i.offsetWidth;var o=e.Browser.getDynamicStyleContainer(t);o.html("td {word-break: break-all} pre {wo")}},n.prototype.onMessage=function(e){},n}(e.DocumentFeatureBase);t.DynamicStylesDocumentFeature=i}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.DynamicStylesDocumentFeatureFactory); var __extends=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Innovasys;!function(e){var t;!function(e){var t;!function(t){var n=function(){function t(){}return t.prototype.createInstance=function(t){var n=e.Browser.getWindowLocationHref()+".";return 0===n.indexOf("mk:@MSITStore")||0===n.indexOf("ms-its:")?new i(t):null},t}();t.ChmCompatibilityDocumentFeatureFactory=n;var i=function(t){function n(e){return t.call(this,e)||this}return __extends(n,t),n.prototype.getName=function(){return"CHM Compatibility"},n.prototype.initializeDocument=function(){var t=e.Browser.getWindowLocationHref()+".";0===t.indexOf("ms-its:")&&$("body").addClass("i-chm i-compiled")},n}(e.DocumentFeatureBase);t.ChmCompatibilityDocumentFeature=i}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.ChmCompatibilityDocumentFeatureFactory);var Innovasys;!function(e){var t;!function(e){var t;!function(t){var n=function(){function e(){}return e.prototype.createInstance=function(e){return new i(e)},e}();t.CopyCodeDocumentFeatureFactory=n;var i=function(t){function n(e){return t.call(this,e)||this}return __extends(n,t),n.prototype.getName=function(){return"Copy Code"},n.prototype.getSettings=function(){return this.documentInstance.getFeatureSettings("copycode",this.getDefaultSettings)},n.prototype.getDefaultSettings=function(){return{copiedOkText:"Copied to clipboard",copyError:"Could not copy to clipboard"}},n.prototype.initializeContent=function(t,n){var i=this;if(void 0===n&&(n=!1),$(".i-copy-code").length>0||!Object.defineProperty)if(e.Browser.isCompiledHelp()||"undefined"==typeof Clipboard&&window.clipboardData){var o="click.i-copy-code";t.off(o,".i-copy-code").on(o,".i-copy-code",function(t){var n=e.DomHelpers.getTextFromContainingTable(t.currentTarget);try{window.clipboardData.setData("Text",n),i.showTip(t.currentTarget,i.getSettings().copiedOkText)}catch(o){i.showTip(t.currentTarget,i.getSettings().copyError)}e.Browser.stopPropagation(t)})}else{var r=new Clipboard(".i-copy-code",{text:function(t){return e.DomHelpers.getTextFromContainingTable(t)}});r.on("success",function(e){e.clearSelection(),i.showTip(e.trigger,i.getSettings().copiedOkText)}),r.on("error",function(e){i.showTip(e.trigger,i.getSettings().copyError)})}},n.prototype.showTip=function(e,t){var n=$(e).qtip({id:"i-copytoclipboard-tip",content:{text:t},position:{my:"right center",at:"left center"},show:{event:"click"},hide:{fixed:!0,event:!1}}),i=n.qtip("api");i.toggle(!0),setTimeout(function(){i.toggle(!1)},2e3)},n.prototype.populateResponsiveConfiguration=function(t){switch(t.profileName){case"tablet":break;case"mobile":}t.clickTargets.push(new e.ResponsiveClickTarget(".i-copy-code",e.ResponsiveClickTargetKind.inline))},n}(e.DocumentFeatureBase);t.CopyCodeDocumentFeature=i}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.CopyCodeDocumentFeatureFactory);var Innovasys;!function(e){var t;!function(t){var n;!function(n){var i=function(){function e(){}return e.prototype.createInstance=function(e){return new o(e)},e}();n.HighlightTextDocumentFeatureFactory=i;var o=function(n){function i(e){var t=n.call(this,e)||this;return t._firstMatch=null,t}return __extends(i,n),i.prototype.getName=function(){return"Highlight Text"},i.prototype.onMessage=function(e){if(null!=e)switch(e.messageType){case t.DocumentMessageNames.quickSearch:this.highlightText(e.messageData);break;case t.DocumentMessageNames.resetQuickSearch:this.removeAllHighlights();break;case t.DocumentMessageNames.searchHighlightComplete:this.searchHighlightComplete()}},i.prototype.highlightText=function(e){var t=this.documentInstance.rootElement;""!=e&&this.highlightTextInElement(t,e)},i.prototype.searchHighlightComplete=function(){if(null!=this._firstMatch){var t=this.documentInstance.rootElement,n=t.ownerDocument;(e.Content.DomHelpers.getElementPosition(this._firstMatch).top>n.documentElement.scrollTop+n.documentElement.clientHeight||e.Content.DomHelpers.getElementPosition(this._firstMatch).top=0;l--){i=e.childNodes[l];var u=!1;if(3==i.nodeType){o=i.nodeValue,r=o.toLowerCase();for(var d=r.search(n);d>=0;d=r.search(n))a=c.createElement("SPAN"),a.className="i-search-highlight",a.appendChild(c.createTextNode(o.substring(d,d+t.length))),s=c.createTextNode(o.substring(d+t.length,o.length)),i.nodeValue=o.substring(0,d),a=i.parentNode.insertBefore(a,i.nextSibling),s=i.parentNode.insertBefore(s,a.nextSibling),this._firstMatch=a,i=i.nextSibling.nextSibling,o=i.nodeValue,r=o.toLowerCase(),u||(this.documentInstance.ensureElementVisible(i.parentElement),u=!0)}else if(1==i.nodeType){var p=i;"SCRIPT"==p.nodeName||"SPAN"==p.nodeName&&"i-search-highlight"==p.className||this.highlightTextInElement(p,t)}}},i.prototype.getHighlightSpans=function(){return this.documentInstance.rootSelector.find(".i-search-highlight")},i.cleanUpTextNodes=function(e){var t=null,n=null,o=null;do{o=0;for(var r=1;r0);for(var r=0;r')}}),$("a").each(function(){var e=$(this).attr("href");e&&e.indexOf("ms-xhelp:///?id=")!=-1&&$(this).attr("href",e.replace("ms-xhelp:///?id=","ms-xhelp:///?method=page&id="))}),e.Browser.showElement($("body"))):($("link").each(function(){var e=$(this).attr("data-mshv1-stylesheet");if(e){var t=n.resourceBaseUrl()+e;n._pendingStylesheets.push(t),$("head").append('')}}),$("BR").filter(function(){return $(this).next().is("BR")}).remove(),$("A").each(function(){var e=$(this).attr("href");if(e&&e.indexOf("#")!=-1){e.substring(e.indexOf("#"));e.substring(0,e.indexOf("#"))==location.href&&$(this).attr("target","_self")}}),n.fixStyles())},n.removeExternalFile=function(e,t){var n="js"==t?"script":"css"==t?"link":"none",i="js"==t?"src":"css"==t?"href":"none";$(n).each(function(t){$(this).attr(i).match(e)&&this.parentNode.removeChild(this)})},n.resourceBaseUrl=function(){if(e.Browser.isDesignTime)return"";var t=$("#mshs_support_script").get(0),i=t.src,o=null;if(n.isMicrosoftHelpViewerVersion2()){var r=i.indexOf("&id=");o=i.substring(0,r),r=i.indexOf("&",r+1),o=o+i.substring(r)+"&id="}else{var r=i.indexOf(";")+1;o=i.substring(0,r)}return o},n.fixStyles=function(){var e=document.styleSheets;if(e&&e.length>0){if(0!=n._pendingStylesheets.length){for(var t=0;t0&&(o=!0);break}}if(!o)return void(null==n._pendingStylesheetTimer&&(n._pendingStylesheetTimer=window.setInterval(n.fixStyles,50)))}null!=n._pendingStylesheetTimer&&(clearInterval(n._pendingStylesheetTimer),n._pendingStylesheetTimer=null)}for(var r=0;r0&&n<=8?new i(t):null},t}();t.QuirksModeCompatibilityDocumentFeatureFactory=n;var i=function(t){function n(e){return t.call(this,e)||this}return __extends(n,t),n.prototype.getName=function(){return"Quirks Mode Compatibility"},n.prototype.initializeDocument=function(){"CSS1Compat"!=document.compatMode&&(jQuery.fx.prototype.hide=function(){this.options.orig[this.prop]=jQuery.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),1)})},n.prototype.initializeContent=function(t,n){if(void 0===n&&(n=!1),!e.Browser.isDesignTime&&("CSS1Compat"!=document.compatMode||"msie"==e.Browser.info.name&&e.Browser.info.version<=8)){var i="CSS1Compat"!=document.compatMode,o=t.find(".i-section-content,.i-description-content,.i-returns-content,.i-description,.i-box-content");o.each(function(e){i&&$(this).children().first().addClass("i-first-child"),$(this).children().last().addClass("i-last-child")}),i&&(t.find("table.i-syntax-table th:first-child").addClass("i-first-child"),t.find("td>p:first-child").addClass("i-first-child")),t.find("table.i-syntax-table th:last-child").addClass("i-last-child"),t.find("td>p:last-child").addClass("i-last-child"),t.find("p+p").addClass("i-adjacent-paragraph"),t.find("h4+.i-returns-content").addClass("i-returns-content-after-heading"),t.find(".i-example-section-content p+div").addClass("i-example-after-paragraph")}},n}(e.DocumentFeatureBase);t.QuirksModeCompatibilityDocumentFeature=i}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.QuirksModeCompatibilityDocumentFeatureFactory);var Innovasys;!function(e){var t;!function(e){var t;!function(t){var n=function(){function e(){}return e.prototype.createInstance=function(e){return new i(e)},e}();t.SyntaxTabsDocumentFeatureFactory=n;var i=function(t){function n(e){return t.call(this,e)||this}return __extends(n,t),n.prototype.getName=function(){return"Syntax Tabs"},n.prototype.initializeContent=function(t,n){void 0===n&&(n=!1);var i=this.documentInstance.getLocalStorage(),o=i.getAttribute("i-tab-container-selected-tab-index");o||(o=0);var r={active:o,selected:o,activate:function(e,t){i.setAttribute("i-tab-container-selected-tab-index",t.newTab.index())},select:function(e,t){i.setAttribute("i-tab-container-selected-tab-index",t.index)}};e.Browser.isDesignTime||e.Browser.isAnimationDisabled||(r.show={opacity:"toggle",duration:"fast"},r.hide={opacity:"toggle",duration:"fast"}),t.find(".i-tab-container").tabs(r)},n.prototype.onMessage=function(e){},n.prototype.initializeContentOrdinal=function(){return 99},n}(e.DocumentFeatureBase);t.SyntaxTabsDocumentFeature=i}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.SyntaxTabsDocumentFeatureFactory);var Innovasys;!function(e){var t;!function(e){var t;!function(t){var n=function(){function e(){}return e.prototype.createInstance=function(e){return new i(e)},e}();t.TabsDocumentFeatureFactory=n;var i=function(t){function n(e){return t.call(this,e)||this}return __extends(n,t),n.prototype.getName=function(){return"Tabs"},n.prototype.beforeSetElementVisibility=function(t,n,i){if(!n&&"LI"===t.tagName&&$(t).parent().hasClass("ui-tabs-nav")){var o=e.Browser.compareVersionStrings($.ui.version,"1.8")<0,r=o?"ui-tabs-selected":"ui-tabs-active";if($(t).hasClass(r)){var a=$($(t).parents(".i-tab-container").get(0)),s=a.find("li:visible:not(."+r+"):first");s&&(o?a.tabs("option","selected",s.index()):a.tabs("option","active",s.index()))}}return!1},n.prototype.initializeContent=function(e,t){void 0===t&&(t=!1),"about:blank"===location.href&&$.widget("ui.tabs",$.ui.tabs,{_isLocal:function(e){return e.href.indexOf("#")!==-1||this._super(e)}})},n.prototype.afterSetElementVisibility=function(e,t){var n=$($(e).parents(".i-tab-container").get(0));null!=n&&null!=n.data("ui-tabs")&&n.tabs("refresh")},n.prototype.initializeContentOrdinal=function(){return-1},n}(e.DocumentFeatureBase);t.TabsDocumentFeature=i}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.TabsDocumentFeatureFactory);var Innovasys;!function(e){var t;!function(e){var t;!function(t){var n=function(){function e(){}return e.prototype.createInstance=function(e){return new i(e)},e}();t.ToggleSectionDocumentFeatureFactory=n;var i=function(t){function n(e){return t.call(this,e)||this}return __extends(n,t),n.prototype.getName=function(){return"Toggle Sections"},n.prototype.getToggleSetId=function(){return"i-toggle-section"},n.prototype.getToggleAllLinkClassName=function(){return"i-toggle-all-sections"},n.prototype.getToggleHeadingClassName=function(){return"i-section-heading"},n.prototype.getToggleContentClassName=function(){return"i-section-content"},n.prototype.getToggleAllLabelClassName=function(){return"i-collapse-all"},n.prototype.getUnToggleAllLabelClassName=function(){return"i-expand-all"},n.prototype.getToggledSuffix=function(){return"-collapsed"},n.prototype.toggleStateForVisible=function(){return!0},n.prototype.isSaveStateEnabled=function(){return!0},n.prototype.initializeContent=function(t,n){var i=this;void 0===n&&(n=!1);var o="click."+this.getToggleSetId();t.off(o,"."+this.getToggleAllLinkClassName()).on(o,"."+this.getToggleAllLinkClassName(),function(n){var o=!(0==t.find("."+i.getToggleHeadingClassName()+"."+i.getToggleHeadingClassName()+i.getToggledSuffix()).length);t.find("."+i.getToggleHeadingClassName()).each(function(e,t){var n=!$(t).hasClass(i.getToggleHeadingClassName()+i.getToggledSuffix());n!=o&&i.toggleSection($(t))}),e.Browser.stopPropagation(n)}),this.loadToggleSectionState(t.find("."+this.getToggleHeadingClassName())),t.off(o,"."+this.getToggleHeadingClassName()).on(o,"."+this.getToggleHeadingClassName(),function(t){i.toggleSection($(t.currentTarget)),e.Browser.stopPropagation(t)}),e.Browser.isDesignTime||this.setToggleAllSectionsVisibility()},n.prototype.ensureElementVisible=function(e){var t=this;$(e).parents("."+this.getToggleContentClassName()).prev("."+this.getToggleHeadingClassName()).each(function(e,n){var i=!$(n).hasClass(t.getToggleHeadingClassName()+t.getToggledSuffix());t.toggleStateForVisible()!==i&&t.toggleSection($(n))})},n.prototype.toggleSection=function(e,t){var n=this;void 0===t&&(t=!1);var i=e.each(function(e,i){var o=$(i).next("."+n.getToggleContentClassName());if(o){var r=$(i).hasClass(n.getToggleHeadingClassName()+n.getToggledSuffix());n.toggleElement(o,t),$(i).toggleClass(n.getToggleHeadingClassName()+n.getToggledSuffix(),!r),n.isSaveStateEnabled()&&(r?n.documentInstance.getLocalStorage().setAttribute(n.getToggleSetId()+n.getToggledSuffix()+"-"+$(i).attr("id"),null):n.documentInstance.getLocalStorage().setAttribute(n.getToggleSetId()+n.getToggledSuffix()+"-"+$(i).attr("id"),"true"))}});return this.updateToggleAllSectionsLinkLabel(),i},n.prototype.toggleElement=function(e,t){var n="none"==e.css("display");this.documentInstance.setElementVisibility(e,n,t)},n.prototype.loadToggleSectionState=function(e){var t=this;return this.isSaveStateEnabled()?e.each(function(e,n){var i=t.documentInstance.getLocalStorage().getAttribute(t.getToggleSetId()+t.getToggledSuffix()+"-"+$(n).attr("id"));"true"==i&&t.toggleSection($(n),!0)}):e},n.prototype.updateToggleAllSectionsLinkLabel=function(){var e=this.documentInstance.rootSelector,t=0==e.find("."+this.getToggleHeadingClassName()+"."+this.getToggleHeadingClassName()+this.getToggledSuffix()).length;e.find("."+this.getToggleAllLabelClassName()).css("display",t?"inline":"none"),e.find("."+this.getUnToggleAllLabelClassName()).css("display",t?"none":"inline")},n.prototype.setToggleAllSectionsVisibility=function(){var e=this.documentInstance.rootSelector;e.find("."+this.getToggleHeadingClassName()).length>0?e.find("."+this.getToggleAllLinkClassName()).show():e.find("."+this.getToggleAllLinkClassName()).hide()},n.prototype.populateResponsiveConfiguration=function(t){if("mobile"==t.profileName||"tablet"==t.profileName)switch(t.profileName){case"tablet":break;case"mobile":t.clickTargets.push(new e.ResponsiveClickTarget("."+this.getToggleHeadingClassName(),e.ResponsiveClickTargetKind.block))}},n}(e.DocumentFeatureBase);t.ToggleSectionDocumentFeature=i}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),$.fn.slideFadeToggle=function(e,t,n){return this.animate({opacity:"toggle",height:"toggle"},e,t,n)},Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.ToggleSectionDocumentFeatureFactory);var Innovasys;!function(e){var t;!function(e){var t;!function(t){var n=function(){function e(){}return e.prototype.createInstance=function(e){return new i(e)},e}();t.ToggleDropDownDocumentFeatureFactory=n;var i=function(t){function n(e){return t.call(this,e)||this}return __extends(n,t),n.prototype.getName=function(){return"Drop Downs"},n.prototype.getToggleSetId=function(){return"i-drop-downs"},n.prototype.getToggleAllLinkClassName=function(){return"i-toggle-all-dropdowns"},n.prototype.getToggleHeadingClassName=function(){return"i-dropdown-heading"},n.prototype.getToggleContentClassName=function(){return"i-dropdown-content"},n.prototype.getToggleAllLabelClassName=function(){return"i-show-all-dropdowns"},n.prototype.getUnToggleAllLabelClassName=function(){return"i-hide-all-dropdowns"},n.prototype.getToggledSuffix=function(){return"-expanded"},n.prototype.toggleStateForVisible=function(){return!1},n.prototype.isSaveStateEnabled=function(){return!1},n.prototype.toggleElement=function(t,n){n||e.Browser.isAnimationDisabled?t.toggle():t.slideFadeToggle("fast")},n.prototype.populateResponsiveConfiguration=function(t){if("mobile"==t.profileName||"tablet"==t.profileName){switch(t.profileName){case"tablet":break;case"mobile":}t.clickTargets.push(new e.ResponsiveClickTarget("."+this.getToggleHeadingClassName()+",."+this.getToggleAllLabelClassName()+",."+this.getUnToggleAllLabelClassName(),e.ResponsiveClickTargetKind.block))}},n}(t.ToggleSectionDocumentFeature);t.ToggleDropDownDocumentFeature=i}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.ToggleDropDownDocumentFeatureFactory);var Innovasys;!function(e){var t;!function(e){var t;!function(t){var n=function(){function e(){}return e.prototype.createInstance=function(e){return new i(e)},e}();t.ViewInFrameDocumentFeatureFactory=n;var i=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getName=function(){return"View In Frame"},t.prototype.initializeContent=function(e,t){void 0===t&&(t=!1);var n=$(".i-view-in-frame-link",e);if(window.self!==window.top||"ms-its:"==location.protocol)n.hide();else{var i=location.href.substring(location.href.lastIndexOf("/")+1);i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#")));var o=n.data("root-page")+"#"+i;n.attr("href",o),n.show()}},t.prototype.onMessage=function(e){},t}(e.DocumentFeatureBase);t.ViewInFrameDocumentFeature=i}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.ViewInFrameDocumentFeatureFactory);var Innovasys;!function(e){var t;!function(e){var t;!function(t){var n=function(){function e(){}return e.prototype.createInstance=function(e){return new i(e)},e}();t.LightboxDocumentFeatureFactory=n;var i=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getName=function(){return"Lightbox"},t.prototype.initializeContent=function(e,t){void 0===t&&(t=!1),$("a.i-thumbnail").slimbox({},null,function(e){return this==e||this.rel.length>8&&this.rel==e.rel})},t.prototype.applyResponsiveConfiguration=function(e){"mobile"!=e.profileName&&"tablet"!=e.profileName||$("i-thumbnail").off("click")},t}(e.DocumentFeatureBase);t.LightboxDocumentFeature=i}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.LightboxDocumentFeatureFactory);var Innovasys;!function(e){var t;!function(e){var t;!function(t){var n=function(){function e(){}return e.prototype.createInstance=function(e){return new i(e)},e}();t.VideoDocumentFeatureFactory=n;var i=function(t){function n(e){return t.call(this,e)||this}return __extends(n,t),n.prototype.getName=function(){return"Video"},n.prototype.initializeContent=function(t,n){void 0===n&&(n=!1),$(".i-video-youtube").each(function(t,n){var i=$(n),o=i.children("iframe"),r="True"==i.data("autoplay"),a="True"==i.data("autoresize"),s="True"==i.data("showrelated"),c=i.data("theme")||"",l=i.data("movieid"),u="http://www.youtube.com/embed/"+l+"?&theme="+c+"&autohide=1";if(u+="&autoplay="+(r?"1":"0"),u+="&rel="+(s?"1":"0"),o.attr("src",u),a){var d=document.location+"";e.Browser.isDesignTime||"about:blank"==d||0==d.indexOf("ms-its:")?o.attr("width",64).attr("height",39):o.attr("width",64).attr("height",36),i.fitVids()}else o.attr("width",parseInt("%%width%%")).attr("height",parseInt("%%height%%"))})},n}(e.DocumentFeatureBase);t.VideoDocumentFeature=i}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.VideoDocumentFeatureFactory);var __extends=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Innovasys;!function(e){var t;!function(e){var t;!function(t){var n=function(t){function n(e){return t.call(this,e)||this}return __extends(n,t),n.prototype.initializeContent=function(t,n){var i=this;void 0===n&&(n=!1);var o="click.toggle",r="."+this.getCheckboxClassName();t.off(o,r).on(o,r,function(t){i.toggleCheckbox($(t.currentTarget)),e.Browser.stopPropagation(t)}),this.loadToggleCheckboxState($(r)),this.updateFilterLabel()},n.prototype.toggleCheckbox=function(e,t){var n=this;return void 0===t&&(t=!1),e.each(function(e,i){var o=$(i).is(":checked");$(i).is(":checked")?n.documentInstance.getLocalStorage().setAttribute("checkbox-unchecked-"+$(i).attr("id"),null):n.documentInstance.getLocalStorage().setAttribute("checkbox-unchecked-"+$(i).attr("id"),"true");var r=$(i).attr("data-toggleclass");null!=r&&n.documentInstance.setElementVisibility($("."+r),o,t)}),this.updateFilterLabel(),e},n.prototype.loadToggleCheckboxState=function(e){var t=this;return e.each(function(e,n){var i=t.documentInstance.getLocalStorage().getAttribute("checkbox-unchecked-"+$(n).attr("id"));"true"==i&&($(n).prop("checked",!1),t.toggleCheckbox($(n),!0))})},n.prototype.getCheckboxClassName=function(){return null},n.prototype.updateFilterLabel=function(){},n}(e.DocumentFeatureBase);t.ContentFilterDocumentFeature=n}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={}));var __extends=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Innovasys;!function(e){var t;!function(e){var t;!function(t){var n=function(){function t(){}return t.prototype.createInstance=function(t){return e.Browser.isDesignTime?new i(t):null},t}();t.DesignTimeDocumentFeatureFactory=n;var i=function(t){function n(e){return t.call(this,e)||this}return __extends(n,t),n.prototype.getName=function(){return"Design Time"},n.prototype.initializeContent=function(t,n){var i=this;void 0===n&&(n=!1),1==n&&($("
",{id:"hsDesignTimeLoad",click:function(){var e=i.documentInstance.getLocalStorage().getAttribute("scrollPosition");e&&$(window).scrollTop(e)}}).appendTo(t).css("display","none"),$("
",{id:"hsDesignTimeSave",click:function(){i.documentInstance.getLocalStorage().setAttribute("scrollPosition",$(window).scrollTop())}}).appendTo(t).css("display","none"),$("
",{id:"i-design-time-initialize",click:function(e){var t=$(document.getElementById($(e.currentTarget).data("element-id")));i.documentInstance.initializeContent(t,!1)}}).appendTo(t).css("display","none"),e.Browser.isAnimationDisabled=!0)},n}(e.DocumentFeatureBase);t.DesignTimeDocumentFeature=i}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.DesignTimeDocumentFeatureFactory);var __extends=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i); }}(),__assign=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n50){var s=$("#i-toc-content"),c=s.outerWidth()-s.width();s.width(a-c-14),this.setTocWidth(a)}}}},i.prototype.setTocWidth=function(e){var n=t.Browser.getDynamicStyleContainer("i-dynamic-body-margin");n.html("@media only screen and (min-width: 769px) { #i-body-content { margin-left: "+e+"px; }"),this.documentInstance.getLocalStorage().setAttribute("i-dynamic-toc-width",e)},i.prototype.loadNodeToRoot=function(e,t,n){var i=this,o=this.getNode(e);if(this._loadedContainers[t])if("n0"===o.parentNodeId||"n0"===o.id){this.createElementsForNodeChildren(o,!0);var r=this.getNode(n);this.ensureNodeChildrenPopulated(r,function(e){return i.expandAndSelectNode(e.id)})}else{var a=this.getNode(o.parentNodeId);this.loadNodeToRoot(a.id,a.containerId,n)}else this.loadNodeContainer(t,function(){i.loadNodeToRoot(e,t,n)})},i.prototype.expandAndSelectNode=function(e){for(var t=this.getNode(e);null!=t;)"n0"!==t.id&&!t.cc||t.isExpanded||this.toggleNodeIsExpanded(t),t=this.getNode(t.parentNodeId),"undefined"==typeof t&&(t=null);var n=this.getNode(e);null!=n.u&&null!=n.childNodes&&n.childNodes.length>0&&n.childNodes[0].u===n.u&&(n=n.childNodes[0]),this.setNodeSelected(n),$("#i-toc-content",this._rootSelector).show()},i.prototype.setNodeSelected=function(e){e.isSelected=!0;var n=$("#i-n-"+e.id,this._rootSelector);n.length>0&&setTimeout(function(){t.Browser.isElementInView(n.get(0),!0)||n.get(0).scrollIntoView(),n.toggleClass("i-selected",!0)},1)},i.prototype.nodeExists=function(e){return null!=this.getNode(e)},i.prototype.getNode=function(e){var t=this._allNodes[e];return"undefined"!=typeof t&&null!=t?t:null},i.prototype.setNode=function(e){this._allNodes[e.id]=e},i.prototype.injectNodeInfo=function(e,t,n){var i=this,o=this.getNode(e);null==o&&(o=new r,o.id=e,"n0"===o.id&&(o.cc="c0"),this.setNode(o)),o.containerId=t,o.childNodes=$.map(n,function(e){var t=i.getNode(e.id);if(null!=t){var n=__assign({},t,e);return n}return e}),$.each(o.childNodes,function(e,t){t.parentNodeId=o.id,i.setNode(t)}),("n0"===o.id||"undefined"!=typeof o.parentNodeId&&this.nodeExists(o.parentNodeId))&&this.createElementsForNodeChildren(o)},i.prototype.loadNodeContainer=function(e,n){var i=this;t.Browser.loadScript("./_toc/"+e+".js","dt-"+e,null,function(){i._loadedContainers[e]=!0,null!=n&&n(e)})},i.prototype.createElementsForNodeChildren=function(e,t){var n=this;if(void 0===t&&(t=!1),e.cc&&null!=e.childNodes){if(!e.isPopulated){var i,o=this.getFeatureSettings(),r=null;if("n0"===e.id)i=$("#i-dt-root",this._rootSelector);else{var a="#i-n-"+e.id;if(r=$(a,this._rootSelector),0===r.length)return;i=$("