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 o,i,a=new ActiveXObject("HxDs.HxRegistryWalker"),r=a.RegisteredNamespaceList("MS.VSCC");if(r.Count>0)for(var s=1;s<=r.Count;s++)if(o=r.Item(s),i=o.Name,"MS.VSCC"==i.substring(0,7))switch(i){case"MS.VSCC.v80":break;case"MS.VSCC.2003":break;case"MS.VSCC":break;default:if(n=findHelp2Keyword(i,""),""!=n)return n}}catch(c){}var l=t.indexOf("(");return-1!=l&&(t=t.substring(0,l)),"http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k("+t+")&rd=true"}function findHelp2Keyword(e,t){var n,o;if(e.length>0)try{if(n=new ActiveXObject("HxDs.HxSession"),n.Initialize("ms-help://"+e,0),o=n.Query(t,"!DefaultAssociativeIndex",0,""),o.Count>0)return o(1).URL}catch(i){}return""}function navigateToHelp2Keyword(e,t,n){window.status="Resolving link. Please wait a moment...";var o=resolveHelp2Keyword(e,t);window.status="","http://msdn.microsoft.com"===o.substring(0,25)&&null!=window.parent?window.open(o,"_blank"):1==n?location.replace(o):location.href=o}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 __extends=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},Innovasys;!function(e){var t;!function(t){var n=function(){function e(){this.test="test";var e=navigator.userAgent.toLowerCase(),t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];this.name=t[1]||"",this.version=parseInt(t[2]||"0")}return e}();t.BrowserInfo=n;var o=function(){function t(){}return t.msIeVersion=function(){return"msie"==t.info.name?t.info.version:0},t.getDocumentInstance=function(t){var n=null;n=t instanceof jQuery?t:$(t);var o=n.hasClass("content-root")?n:n.parents(".content-root");if(o=0==o.length?$("body"):$(o.get(0)),null!=o.data("innovasys-document"))return o.data("innovasys-document");var i=new e.Content.Document(o.get(0));return o.data("innovasys-document",i),i},t.getWindowLocationHref=function(){return window.location.href},t.navigateTo=function(e,t){void 0===t&&(t=!1),t?window.location.replace(e):window.location.href=e},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.returnValue=!1},t.loadStylesheet=function(e,t,n,o){void 0===o&&(o=null);var i="file"+this.dynamicallyLoadedFileIndex;this.dynamicallyLoadedFileIndex++;var a={"data-stylesheet-id":t};return yepnope.injectCss({href:e,attrs:a},function(){o(i)}),i},t.loadScript=function(e,t,n,o){void 0===o&&(o=null);var i="file"+this.dynamicallyLoadedFileIndex;this.dynamicallyLoadedFileIndex++;var a={"data-script-id":t};return yepnope.injectJs({src:e,attrs:a},function(){o(i)}),i},t.resizeIFrames=function(e,t){void 0===t&&(t=!1);var n=0,o=0;try{o=$(window.top).height()}catch(i){o=$(window).height()}$("iframe",e).each(function(e,i){if($(i).is(":visible")&&(t||$(i).offset().left>=0)){var a=0,r=null;try{r=i.contentDocument?i.contentDocument:i.contentWindow.document||i.document}catch(s){}if(null!=r)try{a=$(r).height()}catch(s){a=o}else a=o;var c=$(i).data("last-height");c||(c=0);var l=a-c;if(l>10||0>l&&10>l){var u=$(i).parent();"DIV"==u.get(0).tagName&&aa&&(a=o),$(i).height(a+"px"),$(i).data("last-height",a)}}else $(i).is(":visible")||($(i).height(0),$(i).data("last-height",0));a>n&&(n=a)});var a=$("#i-busy");return 0!=a.length&&a.height(n),n},t.showElement=function(e){e.show(),"none"==e.css("display")&&$("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.isDesignTime=!1,t.isAnimationDisabled=!1,t.info=new n,t.dynamicallyLoadedFileIndex=0,t}();t.Browser=o}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={}));var overrides=Innovasys.overrides;("BackCompat"!=document.compatMode||"ms-xhelp:"!=location.protocol&&-1==location.href.indexOf("ms.help?")&&-1==location.href.indexOf("?method=page&"))&&(null!=overrides&&overrides.isHideBodyDuringLoadDisabled||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,o=0;t;)e.Browser.msIeVersion()>4?(n+=t.offsetLeft-t.scrollLeft,o+=t.offsetTop-t.scrollTop):(n+=t.offsetLeft,o+=t.offsetTop),t=t.offsetParent;return-1!=navigator.userAgent.indexOf("Mac")&&"undefined"!=typeof document.body.leftMargin&&(n+=document.body.leftMargin,o+=document.body.topMargin),new e.ElementPosition(n,o)},t.getTextFromContainingTable=function(e){var t=$($(e).parents("table").get(0)),n=t.find("td").get(0);return null!=n?null!=n.textContent?n.textContent:null!=n.innerText?n.innerText:$(n).text():void 0},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 o=$("");o.css("behavior","url(#default#userdata)"),o.appendTo("body"),this.storageElement=o.get(0),this.storageElement.load("localStorage")}else{this.storageMethod="cookie";var i=$.cookie("localStorage");i?this.cookieData=JSON.parse(i):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("|"),o=null,i=null;return-1!=n?(o=e.substring(0,n),i=e.substring(n+1)):(o=e,i=""),new t(o,i)},e.routeMessageToFrameElement=function(t,n,o){var i=document.getElementById(t);null!=i&&null!=i.contentWindow&&e.routeMessageToWindow(i.contentWindow,n,o)},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 o=function(){function e(e,t){void 0===t&&(t=[]),this.profileName=e,this.clickTargets=t,this.stylesheetUrls=[],this.tablesToPivot=[]}return e}();e.ResponsiveConfiguration=o;var i=function(){function e(e,t){this.className=e,this.kind=t}return e}();e.ResponsiveClickTarget=i;var a=function(){function e(e,t){void 0===t&&(t=null),this.selector=e,this.onAfterPivot=t}return e}();e.ResponsiveTable=a,function(e){e[e.auto=0]="auto",e[e.inline=1]="inline",e[e.block=2]="block"}(e.ResponsiveClickTargetKind||(e.ResponsiveClickTargetKind={}));e.ResponsiveClickTargetKind}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={}));var Innovasys;!function(e){var t;!function(t){var n=function(){function n(e,n){var o=this;void 0===n&&(n=""),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.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(o)}),$.each(this._features,function(e,t){t.initializeDocument()})}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;""==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))),this.initializeContent(this.rootSelector,!0),""==this.id&&this.setBodyVisibleAfterLoadComplete&&$("body").css("display","block")},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,o){o.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(o){}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,o){var i=this;return e.each(function(e,a){var r=!1;if($.each(i._features,function(e,t){r||1==t.beforeSetElementVisibility(a,n,o)&&(r=!0)}),!r){if("none"!=$(a).css("display")!=n)if("none"==$(a).css("display"))if(o||t.Browser.isAnimationDisabled){var s=$(a).data("i-original-display");null!=s?($(a).css("display",s),$(a).data("i-original-display",null)):"TR"==a.tagName?$(a).css("display","table-row"):$(a).css("display","block")}else $(a).slideDown("fast");else $(a).data("i-original-display",$(a).css("display")),o||t.Browser.isAnimationDisabled?$(a).hide():$(a).slideUp("fast");$.each(i._features,function(e,t){t.afterSetElementVisibility(a,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}();t.Document=n;var o=function(){function e(){}return e.quickSearch="quickSearch",e.resetQuickSearch="resetquicksearch",e.insertNavigationHeader="insertNavigationHeader",e.searchHighlightComplete="searchHighlightComplete",e}();t.DocumentMessageNames=o}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={}));var Innovasys;!function(e){var t;!function(t){var n;!function(n){var o=function(){function e(){}return e.prototype.createInstance=function(e){return new i(e)},e}();n.ResponsiveDocumentFeatureFactory=o;var i=function(n){function o(e){n.call(this,e),this._pendingResponsiveFiles=new Array,this._configuration=null}return __extends(o,n),o.prototype.getName=function(){return"Responsive"},o.prototype.initializeDocument=function(){e.Content.Messaging.addMessageListener(function(e){})},o.prototype.checkPendingResponsiveFilesLoad=function(e){this._pendingResponsiveFiles=$.map(this._pendingResponsiveFiles,function(t,n){return t==e?null:t}),0==this._pendingResponsiveFiles.length&&this.onResponsiveFilesLoaded()},o.prototype.initializeContent=function(e,n){var o=this;if(void 0===n&&(n=!1),1==n){var i=this.getDeviceType().toLowerCase(),a=this.documentInstance.getResponsiveConfiguration(i);if(this.documentInstance.isResponsiveEnabled){switch(i){case"mobile":$(".i-hidden-mobile, .i-visible-tablet, .i-visible-desktop").css("display","hidden");break;case"tablet":$(".i-hidden-tablet, .i-visible-mobile, .i-visible-desktop").css("display","hidden");break;case"desktop":$(".i-hidden-desktop, .i-visible-mobile, .i-visible-tablet").css("display","hidden")}if("desktop"!=i&&($("link[data-responsive-"+i+"]").each(function(e,n){var a=$(n).attr("data-responsive-"+i);null!=a&&(o.documentInstance.setBodyVisibleAfterLoadComplete=!1,$.each(a.split(","),function(e,n){o._pendingResponsiveFiles.push(t.Browser.loadStylesheet(n,"data-responsive-"+i,"responsive-marker",function(e){o.checkPendingResponsiveFilesLoad(e)}))}))}),$("script[type='i-url-container/css']").each(function(e,n){var a=$(n),r=a.data("responsive-display-modes");if(null!=r&&-1!=r.toLowerCase().indexOf(i)){var s=$.trim(a.html());o.documentInstance.setBodyVisibleAfterLoadComplete=!1,o._pendingResponsiveFiles.push(t.Browser.loadStylesheet(s,"data-responsive-"+i,"responsive-marker",function(e){o.checkPendingResponsiveFilesLoad(e)}))}}),$("script[type='i-url-container/script']").each(function(e,n){var a=$(n),r=a.data("responsive-display-modes");if(null!=r&&-1!=r.toLowerCase().indexOf(i)){var s=$.trim(a.html());o.documentInstance.setBodyVisibleAfterLoadComplete=!1,o._pendingResponsiveFiles.push(t.Browser.loadScript(s,"data-responsive-"+i,"responsive-marker",function(e){o.checkPendingResponsiveFilesLoad(e)}))}})),"mobile"==a.profileName||"tablet"==a.profileName){switch(a.profileName){case"mobile":a.clickTargets.push(new t.ResponsiveClickTarget(".i-link>a,.i-member-link a",t.ResponsiveClickTargetKind.block));break;case"tablet":a.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",t.ResponsiveClickTargetKind.inline)),a.clickTargets.push(new t.ResponsiveClickTarget("a[href='#top']",t.ResponsiveClickTargetKind.block))}a.clickTargets.push(new t.ResponsiveClickTarget("#i-footer-content>a,#i-after-header-content .i-function-link",t.ResponsiveClickTargetKind.inline)),a.clickTargets.push(new t.ResponsiveClickTarget("#i-seealso-section-content a,.i-in-this-topic-container a",t.ResponsiveClickTargetKind.block)),a.tablesToPivot.push(new t.ResponsiveTable("table.pivot-table,table.i-pivot-table"))}}this._configuration=a,0==this._pendingResponsiveFiles.length&&this.onResponsiveFilesLoaded()}},o.prototype.initializeContentOrdinal=function(){return 999},o.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 i=o.pivotTable(n);null!=i&&null!=t.onAfterPivot&&t.onAfterPivot($(n),i)})})},o.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")}},o.prototype.insertNavigationHeader=function(){var e=this;if(0==$("body > div.navigation-header").length){var n=$('
'),o=n.find(".i-inner-container").first();$('').appendTo(o),$('').appendTo(o),$('').appendTo(o),$('').appendTo(o),$('').appendTo(o),$('').appendTo(o),$(".i-search-highlight").length&&o.children("#i-remove-highlighting").css("display","inline"),o.children("a").off("click.responsive").on("click.responsive",function(n){var o=window.parent;if("undefined"!=typeof o)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 i=$(n.currentTarget).attr("id");"i-"==i.substring(0,2)&&(i=i.substring(2)),t.Messaging.routeMessageToParentFrame("openNavigationPane",i);break;case"i-remove-highlighting":e.documentInstance.processWindowMessage(new t.WindowMessage(t.DocumentMessageNames.resetQuickSearch,null))}}),n.prependTo($("body")),1==$("html").data("responsive-load-complete")&&($("html").addClass("i-loaded"),t.Browser.showElement($("body")),$("html").data("responsive-load-complete",null))}},o.prototype.applyClickTarget=function(e){var n=e.kind==t.ResponsiveClickTargetKind.inline?"btn btn-mini btn-xs":"btn";$(e.className).addClass(n)},o.prototype.getDeviceType=function(){if(!this.documentInstance.isResponsiveEnabled)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":-1!=navigator.userAgent.indexOf("Windows Phone OS")?"MOBILE":"DESKTOP"},o.prototype.getForcedDisplayMode=function(){var t=e.overrides||{};if(null!=t&&"undefined"!=typeof t.forcedDisplayMode&&null!=t.forcedDisplayMode)return t.forcedDisplayMode;if("#ForceDisplayDesktop"==window.location.hash)return"DESKTOP";if("#ForceDisplayMobile"==window.location.hash)return"MOBILE";if("#ForceDisplayTablet"==window.location.hash)return"TABLET";if(self!=top){var n=window.location.pathname.substring(0,window.location.pathname.lastIndexOf("/")),o="innovasys-responsive-"+n.replace(/[^a-zA-Z0-9_\-]/g,"");if(null!=this.documentInstance.getLocalStorage().getAttribute(o))return this.documentInstance.getLocalStorage().getAttribute(o)}return null},o.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)},o.prototype.onResponsiveFilesLoaded=function(){this.documentInstance.applyResponsiveConfiguration(this._configuration),"desktop"!=this._configuration.profileName&&(this.documentInstance.isContentDocument&&0==$("body > div.i-navigation-header").length?$("html").data("responsive-load-complete",!0):($("html").addClass("i-loaded"),t.Browser.showElement($("body"))))},o.pivotTable=function(e){var t=$(e),n=$('
'),o={},i=t.find("tr").children("td.i-pivot-column, th.i-pivot-column").first().index();return-1==i?null:(t.find("tr:first-child").children("td:not(.i-pivot-column), th:not(.i-pivot-column)").each(function(e,t){o[e.toString()]=$(t).text()}),t.find("tr").each(function(e,t){if(e>0){var a,r=$('
');$(t).children("td").each(function(e,t){if(e==i)a=$('
'+$(t).text()+"
");else{var n=$(""+o[e.toString()]+"");$(t).clone().appendTo(n),n.find("td a").addClass("btn btn-mini btn-xs"),n.appendTo(r)}}),a.appendTo(n),r.appendTo(n)}}),n)},o}(t.DocumentFeatureBase);n.ResponsiveDocumentFeature=i}(n=t.Features||(t.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.ResponsiveDocumentFeatureFactory);var __extends=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},Innovasys;!function(e){var t;!function(t){var n;!function(n){var o=function(){function e(){}return e.prototype.createInstance=function(e){var n=t.Browser.getWindowLocationHref()+".";return 0==n.indexOf("mk:@MSITStore")?new i(e):null},e}();n.ChmCompatibilityDocumentFeatureFactory=o;var i=function(n){function o(e){n.call(this,e)}return __extends(o,n),o.prototype.getName=function(){return"CHM Compatibility"},o.prototype.initializeDocument=function(){var n=t.Browser.getWindowLocationHref()+".";if(0==n.indexOf("mk:@MSITStore")){var o="ms-its:"+n.substring(14,n.length-1);e.Content.Browser.navigateTo(o)}},o}(t.DocumentFeatureBase);n.ChmCompatibilityDocumentFeature=i}(n=t.Features||(t.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.ChmCompatibilityDocumentFeatureFactory);var Innovasys;!function(e){var t;!function(t){var n;!function(n){var o=function(){function e(){}return e.prototype.createInstance=function(e){return new i(e)},e}();n.CopyCodeDocumentFeatureFactory=o;var i=function(n){function o(e){n.call(this,e)}return __extends(o,n),o.prototype.getName=function(){return"Copy Code"},o.prototype.initializeContent=function(n,o){void 0===o&&(o=!1);var i="click.i-copy-code";if("mk:"==location.protocol||t.Browser.msIeVersion()>0||t.Browser.isDesignTime)n.off(i,".i-copy-code").on(i,".i-copy-code",function(n){var o=e.Content.DomHelpers.getTextFromContainingTable(n.currentTarget);window.clipboardData.setData("Text",o),alert("Copied text to clipboard:\n\n "+o),t.Browser.stopPropagation(n)});else if("file:"==location.protocol)n.off(i,".i-copy-code").on(i,".i-copy-code",function(e){alert("Cannot copy to the clipboard as browser security restrictions prevent copying to the clipboard from local Html content"),t.Browser.stopPropagation(e)});else{ZeroClipboard.config({moviePath:"script/ZeroClipboard.swf"});var a=new ZeroClipboard($(".i-copy-code"));a.on("ready",function(t){a.on("copy",function(t){var n=t.clipboardData;n.setData("text/plain",e.Content.DomHelpers.getTextFromContainingTable(this))}),a.on("aftercopy",function(e){var t=e.data["text/plain"];t.length>500&&(t=t.substr(0,500)+"...\n\n("+(t.length-500)+" characters not shown)"),alert("Copied text to clipboard:\n\n "+t)})})}},o.prototype.populateResponsiveConfiguration=function(e){switch(e.profileName){case"tablet":break;case"mobile":}e.clickTargets.push(new t.ResponsiveClickTarget(".i-copy-code",t.ResponsiveClickTargetKind.inline))},o}(t.DocumentFeatureBase);n.CopyCodeDocumentFeature=i}(n=t.Features||(t.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 o=function(){function e(){}return e.prototype.createInstance=function(e){return new i(e)},e}();n.HighlightTextDocumentFeatureFactory=o;var i=function(n){function o(e){n.call(this,e),this._firstMatch=null}return __extends(o,n),o.prototype.getName=function(){return"Highlight Text"},o.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()}},o.prototype.highlightText=function(e){var t=this.documentInstance.rootElement;""!=e&&this.highlightTextInElement(t,e)},o.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--){o=e.childNodes[l];var u=!1;if(3==o.nodeType){i=o.nodeValue,a=i.toLowerCase();for(var p=a.search(n);p>=0;p=a.search(n))r=c.createElement("SPAN"),r.className="i-search-highlight",r.appendChild(c.createTextNode(i.substring(p,p+t.length))),s=c.createTextNode(i.substring(p+t.length,i.length)),o.nodeValue=i.substring(0,p),r=o.parentNode.insertBefore(r,o.nextSibling),s=o.parentNode.insertBefore(s,r.nextSibling),this._firstMatch=r,o=o.nextSibling.nextSibling,i=o.nodeValue,a=i.toLowerCase(),u||(this.documentInstance.ensureElementVisible(o.parentElement),u=!0)}else if(1==o.nodeType){var d=o;"SCRIPT"==d.nodeName||"SPAN"==d.nodeName&&"i-search-highlight"==d.className||this.highlightTextInElement(d,t)}}},o.prototype.getHighlightSpans=function(){return this.documentInstance.rootSelector.find(".i-search-highlight")},o.cleanUpTextNodes=function(e){var t=null,n=null,i=null;do{i=0;for(var a=1;a0);for(var a=0;a')}}),$("a").each(function(){var e=$(this).attr("href");e&&-1!=e.indexOf("ms-xhelp:///?id=")&&$(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&&-1!=e.indexOf("#")){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",o="js"==t?"src":"css"==t?"href":"none";$(n).each(function(t){$(this).attr(o).match(e)&&this.parentNode.removeChild(this)})},n.resourceBaseUrl=function(){if(e.Browser.isDesignTime)return"";var t=$("#mshs_support_script").get(0),o=t.src,i=null;if(n.isMicrosoftHelpViewerVersion2()){var a=o.indexOf("&id=");i=o.substring(0,a),a=o.indexOf("&",a+1),i=i+o.substring(a)+"&id="}else{var a=o.indexOf(";")+1; i=o.substring(0,a)}return i},n.fixStyles=function(){var e=document.styleSheets;if(e&&e.length>0){if(0!=n._pendingStylesheets.length){for(var t=0;t0&&(i=!0);break}}if(!i)return void(null==n._pendingStylesheetTimer&&(n._pendingStylesheetTimer=window.setInterval(n.fixStyles,50)))}null!=n._pendingStylesheetTimer&&(clearInterval(n._pendingStylesheetTimer),n._pendingStylesheetTimer=null)}for(var a=0;a0&&8>=n?new o(t):null},t}();t.QuirksModeCompatibilityDocumentFeatureFactory=n;var o=function(t){function n(e){t.call(this,e)}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 o="CSS1Compat"!=document.compatMode,i=t.find(".i-section-content,.i-description-content,.i-returns-content,.i-description,.i-box-content");i.each(function(e){o&&$(this).children().first().addClass("i-first-child"),$(this).children().last().addClass("i-last-child")}),o&&(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=o}(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 o(e)},e}();t.SyntaxTabsDocumentFeatureFactory=n;var o=function(t){function n(e){t.call(this,e)}return __extends(n,t),n.prototype.getName=function(){return"Syntax Tabs"},n.prototype.initializeContent=function(t,n){void 0===n&&(n=!1);var o=this.documentInstance.getLocalStorage(),i=o.getAttribute("i-tab-container-selected-tab-index");i||(i=0);var a={active:i,selected:i,activate:function(e,t){o.setAttribute("i-tab-container-selected-tab-index",t.newTab.index())},select:function(e,t){o.setAttribute("i-tab-container-selected-tab-index",t.index)}};e.Browser.isDesignTime||e.Browser.isAnimationDisabled||(a.show={opacity:"toggle",duration:"fast"},a.hide={opacity:"toggle",duration:"fast"}),t.find(".i-tab-container").tabs(a)},n.prototype.onMessage=function(e){},n.prototype.initializeContentOrdinal=function(){return 99},n}(e.DocumentFeatureBase);t.SyntaxTabsDocumentFeature=o}(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 o(e)},e}();t.TabsDocumentFeatureFactory=n;var o=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.getName=function(){return"Tabs"},t.prototype.beforeSetElementVisibility=function(e,t,n){if(!t&&"LI"==e.tagName&&$(e).parent().hasClass("ui-tabs-nav")){var o=$.ui.version<"1.8"?"ui-tabs-selected":"ui-tabs-active";if($(e).hasClass(o)){var i,a=$($(e).parents(".i-tab-container").get(0));i=a.find("li:visible:not(."+o+"):first"),i&&($.ui.version<"1.8"?a.tabs("option","selected",i.index()):a.tabs("option","active",i.index()))}}return!1},t.prototype.initializeContent=function(e,t){void 0===t&&(t=!1),"about:blank"==location.href&&$.widget("ui.tabs",$.ui.tabs,{_isLocal:function(e){return-1!=e.href.indexOf("#")?!0:this._super(e)}})},t.prototype.afterSetElementVisibility=function(e,t){var n=$($(e).parents(".i-tab-container").get(0));null!=n&&null!=n.data("ui-tabs")&&n.tabs("refresh")},t.prototype.initializeContentOrdinal=function(){return-1},t}(e.DocumentFeatureBase);t.TabsDocumentFeature=o}(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 o(e)},e}();t.ToggleSectionDocumentFeatureFactory=n;var o=function(t){function n(e){t.call(this,e)}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.isSaveStateEnabled=function(){return!0},n.prototype.initializeContent=function(t,n){var o=this;void 0===n&&(n=!1);var i="click."+this.getToggleSetId();t.off(i,"."+this.getToggleAllLinkClassName()).on(i,"."+this.getToggleAllLinkClassName(),function(n){var i=!(0==t.find("."+o.getToggleHeadingClassName()+"."+o.getToggleHeadingClassName()+o.getToggledSuffix()).length);t.find("."+o.getToggleHeadingClassName()).each(function(e,t){var n=!$(t).hasClass(o.getToggleHeadingClassName()+o.getToggledSuffix());n!=i&&o.toggleSection($(t))}),e.Browser.stopPropagation(n)}),this.loadToggleSectionState(t.find("."+this.getToggleHeadingClassName())),t.off(i,"."+this.getToggleHeadingClassName()).on(i,"."+this.getToggleHeadingClassName(),function(t){o.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 o=!$(n).hasClass(t.getToggleHeadingClassName()+t.getToggledSuffix());o||t.toggleSection($(n))})},n.prototype.toggleSection=function(e,t){var n=this;void 0===t&&(t=!1);var o=e.each(function(e,o){var i=$(o).next("."+n.getToggleContentClassName());if(i){var a=$(o).hasClass(n.getToggleHeadingClassName()+n.getToggledSuffix());n.toggleElement(i,t),$(o).toggleClass(n.getToggleHeadingClassName()+n.getToggledSuffix(),!a),n.isSaveStateEnabled()&&(a?n.documentInstance.getLocalStorage().setAttribute(n.getToggleSetId()+n.getToggledSuffix()+"-"+$(o).attr("id"),null):n.documentInstance.getLocalStorage().setAttribute(n.getToggleSetId()+n.getToggledSuffix()+"-"+$(o).attr("id"),"true"))}});return this.updateToggleAllSectionsLinkLabel(),o},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 o=t.documentInstance.getLocalStorage().getAttribute(t.getToggleSetId()+t.getToggledSuffix()+"-"+$(n).attr("id"));"true"==o&&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=o}(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 o(e)},e}();t.ToggleDropDownDocumentFeatureFactory=n;var o=function(t){function n(e){t.call(this,e)}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.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=o}(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 o(e)},e}();t.ViewInFrameDocumentFeatureFactory=n;var o=function(e){function t(t){e.call(this,t)}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 o=location.href.substring(location.href.lastIndexOf("/")+1);-1!=o.indexOf("#")&&(o=o.substring(0,o.indexOf("#")));var i=n.data("root-page")+"#"+o;n.attr("href",i),n.show()}},t.prototype.onMessage=function(e){},t}(e.DocumentFeatureBase);t.ViewInFrameDocumentFeature=o}(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 o(e)},e}();t.LightboxDocumentFeatureFactory=n;var o=function(e){function t(t){e.call(this,t)}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=o}(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 o(e)},e}();t.VideoDocumentFeatureFactory=n;var o=function(t){function n(e){t.call(this,e)}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 o=$(n),i=o.children("iframe"),a="True"==o.data("autoplay"),r="True"==o.data("autoresize"),s="True"==o.data("showrelated"),c=o.data("theme")||"",l=o.data("movieid"),u="http://www.youtube.com/embed/"+l+"?&theme="+c+"&autohide=1";if(u+="&autoplay="+(a?"1":"0"),u+="&rel="+(s?"1":"0"),i.attr("src",u),r){var p=document.location+"";e.Browser.isDesignTime||"about:blank"==p||0==p.indexOf("ms-its:")?i.attr("width",64).attr("height",39):i.attr("width",64).attr("height",36),o.fitVids()}else i.attr("width",parseInt("%%width%%")).attr("height",parseInt("%%height%%"))})},n}(e.DocumentFeatureBase);t.VideoDocumentFeature=o}(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(e,t){function n(){this.constructor=e}for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},Innovasys;!function(e){var t;!function(e){var t;!function(t){var n=function(t){function n(e){t.call(this,e)}return __extends(n,t),n.prototype.initializeContent=function(t,n){var o=this;void 0===n&&(n=!1);var i="click.toggle",a="."+this.getCheckboxClassName();t.off(i,a).on(i,a,function(t){o.toggleCheckbox($(t.currentTarget)),e.Browser.stopPropagation(t)}),this.loadToggleCheckboxState($(a)),this.updateFilterLabel()},n.prototype.toggleCheckbox=function(e,t){var n=this;return void 0===t&&(t=!1),e.each(function(e,o){var i=$(o).is(":checked");$(o).is(":checked")?n.documentInstance.getLocalStorage().setAttribute("checkbox-unchecked-"+$(o).attr("id"),null):n.documentInstance.getLocalStorage().setAttribute("checkbox-unchecked-"+$(o).attr("id"),"true");var a=$(o).attr("data-toggleclass");null!=a&&n.documentInstance.setElementVisibility($("."+a),i,t)}),this.updateFilterLabel(),e},n.prototype.loadToggleCheckboxState=function(e){var t=this;return e.each(function(e,n){var o=t.documentInstance.getLocalStorage().getAttribute("checkbox-unchecked-"+$(n).attr("id"));"true"==o&&($(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(e,t){function n(){this.constructor=e}for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},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 o(t):null},t}();t.DesignTimeDocumentFeatureFactory=n;var o=function(t){function n(e){t.call(this,e)}return __extends(n,t),n.prototype.getName=function(){return"Design Time"},n.prototype.initializeContent=function(t,n){var o=this;void 0===n&&(n=!1),1==n&&($("
",{id:"hsDesignTimeLoad",click:function(){var e=o.documentInstance.getLocalStorage().getAttribute("scrollPosition");e&&$(window).scrollTop(e)}}).appendTo(t).css("display","none"),$("
",{id:"hsDesignTimeSave",click:function(){o.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")));o.documentInstance.initializeContent(t,!1)}}).appendTo(t).css("display","none"),e.Browser.isAnimationDisabled=!0)},n}(e.DocumentFeatureBase);t.DesignTimeDocumentFeature=o}(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(e,t){function n(){this.constructor=e}for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},Innovasys;!function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){}return e.prototype.createInstance=function(e){return new n(e)},e}();e.LanguageFilterDocumentFeatureFactory=t;var n=function(e){function t(t){e.call(this,t),this._linkSelector=".i-language-filter",this._allLabelSelector="label.i-language-filter-all",this._languageLabelSelectorPrefix="label.i-language-filter-",this._languageNameAttributeName="data-languagename",this._filteredContentClassNamePrefix="i-filtered-content-",this._toggleClassAttributeName="data-toggleclass"}return __extends(t,e),t.prototype.getName=function(){return"Language Filter"},t.prototype.getCheckboxClassName=function(){return"i-toggle-language-checkbox"},t.prototype.initializeContent=function(t,n){void 0===n&&(n=!1);var o=$(".i-tab-container",t);o.each(function(e,t){var n=$(t);$("a[href='#i-syntax-VBAll']",n).length>0&&$("
",{id:"i-syntax-VBAll","class":"i-code"}).append($("#i-syntax-VB",n)).append(" ").append($("#i-syntax-VBUsage",n)).appendTo(n)}),e.prototype.initializeContent.call(this,t)},t.prototype.toggleCheckbox=function(t,n){void 0===n&&(n=!1);var o=this.documentInstance.rootSelector,i=e.prototype.toggleCheckbox.call(this,t,n),a=t.is(":checked"),r=t.attr(this._toggleClassAttributeName);if(r==this._filteredContentClassNamePrefix+"VBUsage"||r==this._filteredContentClassNamePrefix+"VB"){var s=o.find("."+this.getCheckboxClassName()+"[data-languagename='VB']").is(":checked"),c=o.find("."+this.getCheckboxClassName()+"[data-languagename='VBUsage']").is(":checked");(!a||s&&c)&&(a||s||c)||this.documentInstance.setElementVisibility(o.find("."+this._filteredContentClassNamePrefix+"VBAll"),a,n)}return i},t.prototype.updateFilterLabel=function(){var e=null,t=$("."+this.getCheckboxClassName()),n=t.filter(":checked"),o=$(this._linkSelector+" label");if(n.length==t.length)e=$(this._linkSelector+" "+this._allLabelSelector);else if(0==n.length);else if(1==n.length){var i=n.attr(this._languageNameAttributeName);e=$(this._linkSelector+" "+this._languageLabelSelectorPrefix+i+","+this._linkSelector+" .i-"+i+"-label")}else e=2==n.length&&2==n.filter("["+this._languageNameAttributeName+"^='VB']").length?$(this._linkSelector+" "+this._languageLabelSelectorPrefix+"vball"):$(this._linkSelector+" "+this._languageLabelSelectorPrefix+"multiple");o.css("display","none"),null!=e&&e.css("display","inline")},t}(e.ContentFilterDocumentFeature);e.LanguageFilterDocumentFeature=n}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.LanguageFilterDocumentFeatureFactory);var __extends=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},Innovasys;!function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){}return e.prototype.createInstance=function(e){return new n(e)},e}();e.MemberFilterDocumentFeatureFactory=t;var n=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.getName=function(){return"Member Filter"},t.prototype.getCheckboxClassName=function(){return"i-toggle-filter-checkbox"},t.prototype.updateFilterLabel=function(){var e=this.documentInstance.rootSelector,t=!$("#i-inherited-checkbox").is(":checked")||!$("#i-protected-checkbox").is(":checked");e.find(".i-members-all").css("display",t?"none":"inline"),e.find(".i-members-filtered").css("display",t?"inline":"none")},t}(e.ContentFilterDocumentFeature);e.MemberFilterDocumentFeature=n}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.MemberFilterDocumentFeatureFactory);var __extends=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},Innovasys;!function(e){var t;!function(e){var t;!function(t){var n=function(t){function n(e){t.call(this,e)}return __extends(n,t),n.prototype.populateResponsiveConfiguration=function(t){if("mobile"==t.profileName||"tablet"==t.profileName)switch(t.profileName){case"tablet":t.clickTargets.push(new e.ResponsiveClickTarget(".i-section-content>a:last-child",e.ResponsiveClickTargetKind.block));break;case"mobile":}},n}(e.DocumentFeatureBase);t.DxBaseDocumentFeature=n}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={}));var __extends=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},Innovasys;!function(e){var t;!function(e){var t;!function(t){var n=function(){function e(){}return e.prototype.createInstance=function(e){return new o(e)},e}();t.DxNetDocumentFeatureFactory=n;var o=function(t){function n(e){t.call(this,e)}return __extends(n,t),n.prototype.getName=function(){return"dx-net"},n.prototype.populateResponsiveConfiguration=function(n){if(t.prototype.populateResponsiveConfiguration.call(this,n),"mobile"==n.profileName||"tablet"==n.profileName){switch(n.profileName){case"tablet":n.clickTargets.push(new e.ResponsiveClickTarget("a[href='#top']",e.ResponsiveClickTargetKind.block));break;case"mobile":}n.clickTargets.push(new e.ResponsiveClickTarget("#i-inheritance-section-content a, #i-hierarchy-section-content a",e.ResponsiveClickTargetKind.inline))}},n}(t.DxBaseDocumentFeature);t.DxNetDocumentFeature=o}(t=e.Features||(e.Features={}))}(t=e.Content||(e.Content={}))}(Innovasys||(Innovasys={})),Innovasys.Content.DocumentFeatureConfiguration.registerDocumentFeatureFactory(new Innovasys.Content.Features.DxNetDocumentFeatureFactory); //# sourceMappingURL=innovasys.dx.net.min.js.map