/*
* Copyright MadCap Software
* http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
*
 * v16.2.7685.28170
*/
window.MadCap={};MadCap.CreateNamespace=function(c){var d=c.split(".");var e=MadCap;for(var a=0,b=d.length;a<b;a++){var c=d[a];if(c=="MadCap"){continue}if(typeof(e[c])!="undefined"){e=e[c];continue}e[c]={};e=e[c]}return e};if(!Object.create){Object.create=function(b){if(arguments.length>1){throw new Error("Object.create implementation only accepts the first parameter.")}function a(){}a.prototype=b;return new a()}}if(typeof String.prototype.trim!=="function"){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}}if(!Array.prototype.indexOf){Array.prototype.indexOf=function(a){var c=this.length>>>0;var b=Number(arguments[1])||0;b=(b<0)?Math.ceil(b):Math.floor(b);if(b<0){b+=c}for(;b<c;b++){if(b in this&&this[b]===a){return b}}return -1}}MadCap.Extend=function(a,b){b.prototype=Object.create(a.prototype);b.prototype.constructor=b;b.prototype.base=a.prototype};MadCap.Exception=function(b,a){this.Number=b;this.Message=a};MadCap.IsIOS=function(){return MadCap.String.Contains(navigator.userAgent,"iphone")||MadCap.String.Contains(navigator.userAgent,"ipad")};MadCap.IsIBooks=function(){return MadCap.HasEpubReadingSystem()&&navigator.epubReadingSystem.name=="iBooks"};MadCap.HasEpubReadingSystem=function(){return"epubReadingSystem" in navigator};MadCap.IsSafari=function(){return MadCap.String.Contains(navigator.userAgent,"safari")&&!MadCap.String.Contains(navigator.userAgent,"chrome")};(function(){var a=MadCap.CreateNamespace("String");a.IsNullOrEmpty=function(b){if(b==null){return true}if(b.length==0){return true}return false};a.StartsWith=function(c,d,b){if(d==null){return false}if(c.length<d.length){return false}var e=c;var f=d;if(!b){e=e.toLowerCase();f=f.toLowerCase()}if(e.substring(0,f.length)==f){return true}else{return false}};a.EndsWith=function(c,d,b){if(d==null){return false}if(c.length<d.length){return false}var e=c;var f=d;if(!b){e=e.toLowerCase();f=f.toLowerCase()}if(e.substring(e.length-f.length)==f){return true}else{return false}};a.Contains=function(e,f,b){var g=b?e:e.toLowerCase();if($.isArray(f)){for(var c=0,d=f.length;c<d;c++){var h=b?f[c]:f[c].toLowerCase();if(g.indexOf(h)!=-1){return true}}return false}var h=b?f:f.toLowerCase();return g.indexOf(h)!=-1};a.Trim=function(b){return a.TrimRight(a.TrimLeft(b))};a.TrimLeft=function(d){var b=0;var c=d.length;for(b=0;b<c&&d.charAt(b)==" ";b++){}return d.substring(b,d.length)};a.TrimRight=function(c){var b=0;for(b=c.length-1;b>=0&&c.charAt(b)==" ";b--){}return c.substring(0,b+1)};a.ToBool=function(d,c){var b=c;if(d!=null){var e=d.toLowerCase();if(e!="true"&&e!="false"&&e!="1"&&e!="0"&&e!="yes"&&e!="no"){throw new MadCap.Exception(-1,"The string can not be converted to a boolean value.")}b=e=="true"||e=="1"||e=="yes"}return b};a.ToInt=function(d,b){var c=b;if(d!=null){c=parseInt(d)}return c};a.ToDashed=function(b){return b.replace(/([A-Z])/g,function(c){return"-"+c.toLowerCase()})};a.LocaleCompare=function(d,e,c){if(c){if(typeof Intl!=="undefined"&&typeof Intl.Collator!=="undefined"){var b=new Intl.Collator(c);if(b){return b.compare(d,e)}}if(String.prototype.localeCompare){return d.localeCompare(e,c)}}return d<e?-1:d>e?1:0};a.Compare=function(g,h){var e=g.length;var f=h.length;for(var d=0;d<e&&d<f;d++){var b=g.charCodeAt(d);var c=h.charCodeAt(d);if(b<c){return -1}else{if(b>c){return 1}}}if(e<f){return -1}else{if(e>f){return 1}else{return 0}}};a.IsPunctuation=function(d){var b=d.charCodeAt(0);return(b>=33&&b<=35)||(b>=37&&b<=42)||(b>=44&&b<=47)||(b==58||b==59)||(b==63||b==64)||(b>=91&&b<=93)||(b==95)||(b==123)||(b==125)||(b==161)||(b==171)||(b==173)||(b==183)||(b==187)||(b==191)||(b==894)||(b==903)||(b>=1370&&b<=1375)||(b==1417||b==1418)||(b==1470)||(b==1472)||(b==1475)||(b==1478)||(b==1523||b==1524)||(b==1548||b==1549)||(b==1563)||(b==1566||b==1567)||(b>=1642&&b<=1645)||(b==1748)||(b>=1792&&b<=1805)||(b>=2039&&b<=2041)||(b==2404||b==2405)||(b==2416)||(b==3572)||(b>=3663&&b<=3675)||(b>=3844&&b<=3858)||(b>=3898&&b<=3901)||(b==3973)||(b==4048||b==4049)||(b>=4170&&b<=4175)||(b==4347)||(b>=4961&&b<=4968)||(b==5741||b==5742)||(b==5787||b==5788)||(b>=5867&&b<=5869)||(b==5941||b==5942)||(b>=6100&&b<=6102)||(b>=6104&&b<=6106)||(b>=6144&&b<=6154)||(b==6468||b==6469)||(b==6622||b==6623)||(b==6686||b==6687)||(b>=7002&&b<=7008)||(b>=8208&&b<=8231)||(b>=8240&&b<=8259)||(b>=8261&&b<=8273)||(b>=8275&&b<=8286)||(b==8317||b==8318)||(b==8333||b==8334)||(b==9001||b==9002)||(b>=10088&&b<=10101)||(b>=10181&&b<=10182)||(b>=10214&&b<=10219)||(b>=10627&&b<=10648)||(b>=10712&&b<=10715)||(b==10748||b==10749)||(b>=11513&&b<=11516)||(b==11518||b==11519)||(b>=11776&&b<=11799)||(b==11804||b==11805)||(b>=12289&&b<=12291)||(b>=12296&&b<=12305)||(b>=12308&&b<=12319)||(b==12336)||(b==12349)||(b==12448)||(b==12539)||(b>=43124&&b<=43127)||(b==64830||b==64831)||(b>=65040&&b<=65049)||(b>=65072&&b<=65106)||(b>=65108&&b<=65121)||(b==65123)||(b==65128)||(b==65130||b==65131)||(b>=65281&&b<=65283)||(b>=65285&&b<=65290)||(b>=65292&&b<=65295)||(b==65306||b==65307)||(b==65311||b==65312)||(b>=65339&&b<=65341)||(b==65343)||(b==65371)||(b==65373)||(b>=65375&&b<=65381)};a.Split=function(h,g){var e=h.length;var f=[];var b=-1,c=-1;for(var d=0;d<=e;d++){if(d==e||g(h.charAt(d))){if(b>-1){f.push(h.slice(b,c));b=-1}}else{if(b==-1){b=d}c=d+1}}return f}})();(function(){MadCap.CreateNamespace("DEBUG");var a=MadCap.DEBUG;a.Log={};a.Log.Create=function(){var c=document.createElement("div");c.setAttribute("id","DEBUG_Log");var f=document.createElement("div");$(f).addClass("MCDebugLogHeader");f.appendChild(document.createTextNode("Log Console"));c.appendChild(f);var b=document.createElement("div");$(b).addClass("MCDebugLogBody");c.appendChild(b);var e=document.createElement("div");$(e).addClass("MCDebugLogFooter");c.appendChild(e);document.body.appendChild(c);var d=new MadCap.DragDrop(c,f)};a.Log._LoadTime=new Date();a.Log.AddLine=function(f){if(parent!=window&&MadCap.Utilities.MessageBus.GetIsCrossFrame()){MadCap.Utilities.MessageBus.PostMessageRequest(parent,"DEBUG-AddLine",[f],null);return}var e=document.getElementById("DEBUG_Log");if(e==null){return}var g=new Date();var h=g-a.Log._LoadTime;var c=document.createElement("p");$(c).addClass("MCDebugLogEntryTime");c.appendChild(document.createTextNode(h+"ms "+g.toLocaleTimeString()));var b=document.createElement("div");$(b).addClass("MCDebugLogEntry");b.appendChild(c);b.appendChild(document.createTextNode(f));var d=MadCap.Dom.GetElementsByClassName("MCDebugLogBody","div",e)[0];d.insertBefore(b,d.firstChild)}})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){MadCap.CreateNamespace("Dom");var a=MadCap.Dom;a.Dataset=function(b,c){return b.getAttribute("data-"+MadCap.String.ToDashed(c))};a.GetElementsByClassName=function(b,j,h){j=j||"*";h=h||document;var g=new Array();var d=h.getElementsByTagName(j);for(var e=0,f=d.length;e<f;e++){var c=d[e];if($(c).hasClass(b)){g[g.length]=c}}return g};a.GetElementsByAttribute=function(b,c,k,j){k=k||"*";j=j||document;var h=new Array();var e=j.getElementsByTagName(k);for(var f=0,g=e.length;f<g;f++){var d=e[f];var l=a.GetAttribute(d,b);if(l==c){h[h.length]=d}}return h};a.GetChildNodeByTagName=function(f,g,d){var c=null;var e=-1;for(var b=f.firstChild;b!=null;b=b.nextSibling){if(b.nodeName.toLowerCase()==g.toLowerCase()){e++;if(e==d){c=b;break}}}return c};a.GetAncestorNodeByTagName=function(d,f,e){e=e||document.body;var c=null;var b=d.parentNode;while(b!=null&&b!=e){if(b.nodeName.toLowerCase()==f.toLowerCase()){c=b;break}b=b.parentNode}return c};a.GetAttribute=function(c,b){var e=c.getAttribute(b);if(e==null){e=c.getAttribute(b.toLowerCase());if(e==null){var d=b.indexOf(":");if(d!=-1){e=c.getAttribute(b.substring(d+1,b.length))}}}return e};a.GetAttributeInt=function(e,b,c){var d=c;var f=a.GetAttribute(e,b);if(f!=null){d=parseInt(f)}return d};a.GetAttributeBool=function(e,b,d){var c=d;var f=a.GetAttribute(e,b);if(f!=null){c=MadCap.String.ToBool(f,d)}return c};a.GetScrollPosition=function(){var b=0;var c=0;if(typeof(window.pageYOffset)!="undefined"){b=window.pageXOffset;c=window.pageYOffset}else{if(typeof(document.documentElement.scrollTop)!="undefined"&&document.documentElement.scrollTop>0){b=document.documentElement.scrollLeft;c=document.documentElement.scrollTop}}return{X:b,Y:c}}})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){MadCap.CreateNamespace("Utilities");MadCap.Utilities.Dictionary=function(e){this._Map=new Object();this._Overflows=new Array();this._Length=0;this._IgnoreCase=e==true};var b=MadCap.Utilities.Dictionary;b.prototype.GetLength=function(e){return this._Length};b.prototype.ForEach=function(e){var k=this._Map;for(var h in k){var n=k[h];var m=e(h,n);if(m!=undefined&&!m){return}}var l=this._Overflows;for(var f=0,j=l.length;f<j;f++){var g=l[f];var m=e(g.Key,g.Value);if(m!=undefined&&!m){return}}};b.prototype.GetItem=function(g){if(this._IgnoreCase){g=g.toLowerCase()}var f=null;if(typeof(this._Map[g])=="function"){var e=this.GetItemOverflowIndex(g);if(e>=0){f=this._Overflows[e].Value}}else{f=this._Map[g];if(typeof(f)=="undefined"){f=null}}return f};b.prototype.GetItemOverflowIndex=function(f){if(this._IgnoreCase){f=f.toLowerCase()}var h=this._Overflows;for(var e=0,g=h.length;e<g;e++){if(h[e].Key==f){return e}}return -1};b.prototype.Remove=function(f){if(this._IgnoreCase){f=f.toLowerCase()}if(typeof(this._Map[f])=="function"){var e=this.GetItemOverflowIndex(f);if(e>=0){this._Overflows.splice(e,1);this._Length--}}else{if(typeof(this._Map[f])!="undefined"){delete (this._Map[f]);this._Length--}}};b.prototype.Add=function(f,g){if(this._IgnoreCase){f=f.toLowerCase()}if(typeof(this._Map[f])=="function"){var e=this.GetItem(f);if(e!=null){this.Remove(f)}this._Overflows[this._Overflows.length]={Key:f,Value:g}}else{this._Map[f]=g}this._Length++};b.prototype.AddUnique=function(e,g){if(this._IgnoreCase){e=e.toLowerCase()}var f=this.GetItem(e);if(typeof(f)=="undefined"||!f){this.Add(e,g)}};MadCap.Utilities.DateTime=function(g){var f=/\/Date\(([0-9]+)\)\//i;var e=f.exec(g);if(e!=null){this.Date=new Date(parseInt(e[1]))}else{this.Date=new Date(g)}};var a=MadCap.Utilities.DateTime;a.Months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];MadCap.Utilities.TimeSpan=function(e,f){if(typeof e=="undefined"){e=new Date()}if(typeof f=="undefined"){f=new Date()}if(e>f){this.FromDate=f;this.ToDate=e}else{this.FromDate=e;this.ToDate=f}this.Ticks=this.ToDate-this.FromDate;this.Seconds=this.Ticks/1000;this.Minutes=this.Seconds/60;this.Hours=this.Minutes/60;this.Days=this.Hours/24};var c=MadCap.Utilities.TimeSpan;c.prototype.ToDurationString=function(){if(this.Minutes<1){return"Just now"}if(this.Hours<1){return parseInt(this.Minutes)+" minutes ago"}if(this.Days<1){return parseInt(this.Hours)+" hours ago"}if(this.Days<30){return parseInt(this.Days)+" days ago"}var e=a.Months[this.FromDate.getMonth()]+" "+this.FromDate.getDate();if(this.FromDate.getFullYear()!=this.ToDate.getFullYear()){e+=", "+this.FromDate.getFullYear()}return e};MadCap.Utilities.Url=function(g){var f=this;var e=/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/;this._Segments=[];this.FullPath=null;this.Path=null;this.PlainPath=null;this.Name=null;this.Extension=null;this.NameWithExtension=null;this.FullFragment=null;this.Fragment=null;this.Query=null;this.Origin=null;this.LocalPath=null;this.IsAbsolute=false;this.IsRootRelative=false;this.IsFolder=false;this.QueryMap=new MadCap.Utilities.Dictionary(true);this.HashMap=new MadCap.Utilities.Dictionary(true);(function(){var i="";var k="";var v="";var p="";var j=g.indexOf("#");var w=g.indexOf("?");if(j!=-1){k=g.substring(j);if(j>w){i=g.substring(j)}else{i=g.substring(j,w)}}if(w!=-1){if(w>j){v=g.substring(w)}else{v=g.substring(w,j)}}var u=j>-1?(w>-1?Math.min(j,w):j):w;var t=g.substring(0,u==-1?g.length:u);u=t.lastIndexOf("/");var s=t.substring(0,u+1);var o=t.substring(u+1);u=o.lastIndexOf(".");var n=o.substring(0,u);var h=o.substring(u+1);var x="";u=t.indexOf(":");if(u>=0){x=t.substring(0,u)}var m=!MadCap.String.IsNullOrEmpty(x);if(!MadCap.String.IsNullOrEmpty(g)){var z=g;if(MadCap.String.EndsWith(z,"/")){z=z.substring(0,z.length-1)}f._Segments=z.split("/");if(m){var r=g.match(e);if(r){if(r[4]){p=r[1]+":"+r[2]+r[3]+":"+r[4]}else{p=r[1]+":"+r[2]+r[3]}f.Origin=p}}f.LocalPath=g.substring(p.length)}f.FullPath=g;f.Path=s;f.PlainPath=t;f.Name=n;f.Extension=h;f.NameWithExtension=o;f.Scheme=x;f.IsAbsolute=m;f.IsRootRelative=MadCap.String.StartsWith(t,"/",false);f.IsFolder=MadCap.String.EndsWith(t,"/");f.FullFragment=k;f.Fragment=i;f.Query=v;var y=f.Query;if(!MadCap.String.IsNullOrEmpty(y)){y=y.substring(1);y=y.replace(/\+/g," ");q(y,"&",f.QueryMap)}var l=f.Fragment;if(!MadCap.String.IsNullOrEmpty(l)){l=l.substring(1);q(l,"&",f.HashMap)}function q(D,A,G){var I=D.split(A);for(var B=0,F=I.length;B<F;B++){var H=I[B];var C=H.indexOf("=");var E=null;var J=null;if(C>=0){E=decodeURIComponent(H.substring(0,C));J=decodeURIComponent(H.substring(C+1))}else{E=H}G.Add(E,J)}}})()};var d=MadCap.Utilities.Url;d.GetDocumentUrl=function(){return new d(document.location.href)};d.GetAbsolutePath=function(f){var e=d.GetDocumentUrl();var g=new MadCap.Utilities.Url(e.PlainPath);if(!g.IsFolder){g=g.ToFolder()}return g.CombinePath(f).FullPath};d.EnsureUrlSafety=function(f){var e=encodeURI(decodeURI(f));return d.StripInvalidCharacters(e)};d.StripInvalidCharacters=function(e){return e.replace(/(javascript:|data:|[<>])/gi,"")};d.GetSafetyProcessedComponent=function(e){return decodeURI(encodeURIComponent(e))};d.SanitizeHash=function(){var e=MadCap.Utilities.Url.CurrentHash();if(e){var f=decodeURIComponent(e.slice(1));var g=MadCap.Utilities.Url.StripInvalidCharacters(f);if(f!=g){document.location.hash=encodeURI(g)}}};d.ReplaceReservedCharacters=function(j,g){var h=/[ ()&;,!'$]/;var e=j.split("");for(var f=0;f<e.length;f++){if(e[f].charCodeAt(0)>127||e[f].match(h)){e[f]=g}}return e.join("")};d.Navigate=function(e){document.location=d.EnsureUrlSafety(e)};d.GenerateNavigateTopicPath=function(g){var e=g.IsRootRelative?g.PlainPath:d.GetAbsolutePath(g.PlainPath);var f=d.GetDocumentUrl().QueryMap.GetItem("skinName")||g.QueryMap.GetItem("skinName");if(f!=null){e+=("?skinName="+f)}if(g.FullFragment.indexOf("#search-")==0){e+=g.FullFragment}else{if(g.QueryMap.GetLength()>0){e+=(f==null)?"?":"&";g.QueryMap.ForEach(function(h,j){var i=["skinName","highlight"];if(j&&i.indexOf(h)==-1){e+=(h+"="+encodeURIComponent(j)+"&")}});e=e.slice(0,-1)}e+=g.Fragment}return e};d.NavigateTopic=function(f){var e=d.GenerateNavigateTopicPath(f);d.Navigate(e)};d.OnNavigateTopic=function(f){var g=$(this).attr("href");if(typeof g!="undefined"){var j=new d(g);if(!MadCap.String.IsNullOrEmpty(g)&&!j.IsAbsolute&&j.PlainPath){var h=d.GenerateNavigateTopicPath(j);var i=new MadCap.Utilities.Url(h);var g=new MadCap.Utilities.Url(document.location.href);if(decodeURI(i.PlainPath)==decodeURI(g.PlainPath)&&j.HashMap.GetLength()>0){d.NavigateHash(j.Fragment);$(window).trigger("hashchange");f.preventDefault()}else{if(h!=d.GetAbsolutePath(j.PlainPath)){MadCap.Utilities.PreventDefault(f);d.Navigate(h)}}}else{if(j.HashMap.GetLength()>0&&j.Fragment!="#"){d.NavigateHash(j.Fragment);$(window).trigger("hashchange");f.preventDefault()}}}};d.NavigateHash=function(e){document.location.hash=d.StripInvalidCharacters(e)};d.CurrentHash=function(){return new MadCap.Utilities.Url(document.location.href).FullFragment};d.prototype.AddFile=function(h){if(typeof(h)=="string"){h=new d(h)}if(h.IsAbsolute){return h}var g=h.FullPath;if(g.charAt(0)=="/"){var f=document.location;var i=f.href.lastIndexOf(f.pathname);var j=f.href.substring(0,i);return new d(j+g)}var e=this.FullPath;if(!MadCap.String.EndsWith(e,"/")){e=e+"/"}return new d(e+g)};d.prototype.CombinePath=function(j){if(typeof(j)=="string"){j=new d(j)}if(j.IsAbsolute){throw new MadCap.Exception(-1,"Cannot combine two absolute paths.")}var h=j.FullPath;var n=j.FullPath.split("/");var e=this.FullPath;var l="";if(this.Origin&&j.IsRootRelative){return new d(this.Origin+h)}if(this.Scheme=="mk"){var k=e.indexOf("::");l=e.substring(0,k+"::".length);e=e.substring(k+"::".length)}for(var f=0,g=n.length;f<g;f++){var m=n[f];if(e.length>1&&MadCap.String.EndsWith(e,"/")){e=e.substring(0,e.length-1)}if(m=="."){e+="/"}else{if(m==".."){e=e.substring(0,e.lastIndexOf("/")+1)}else{if(e!=""&&!MadCap.String.EndsWith(e,"/")){e+="/"}e+=m}}}e=l+e;return new d(e)};d.prototype.ToQuery=function(f){var e=this.PlainPath+"?"+f+this.Fragment;return new d(e)};d.prototype.ToFolder=function(){var e=this.PlainPath;if(MadCap.String.EndsWith(e,"/")){e=e.substring(0,e.length-1)}var g=e.lastIndexOf("/");var f=e.substring(0,g+1);return new d(f)};d.prototype.ToRelative=function(k){if(typeof(k)=="string"){k=new d(k)}if(this.IsAbsolute!=k.IsAbsolute){return this}var e=0;var g=k._Segments.length;for(;e<g;e++){var m=this._Segments[e];var n=k._Segments[e];if(m!=n){break}}var l="";var h=MadCap.String.EndsWith(k.FullPath,"/")?0:1;for(var f=0;f<g-e-h;f++){l+="../"}for(var f=e;f<this._Segments.length;f++){if(f>e){l+="/"}l+=this._Segments[f]}return new d(l)};d.prototype.ToExtension=function(f){var h=this.FullPath;var i=h.lastIndexOf(".");var e=h.substring(0,i);var g=e+"."+f;return new d(g)};d.prototype.ToScheme=function(f){var g=this.FullPath;pos=g.indexOf(":");if(pos<0){return this}var e=f+":"+g.substring(pos);return new d(e)};d.prototype.ToPath=function(){return new d(this.Path)};d.prototype.ToPlainPath=function(){return new d(this.PlainPath)};d.prototype.ToNoQuery=function(){return new d(this.PlainPath+this.Fragment)};d.prototype.ToNoFragment=function(){return new d(this.PlainPath+this.Query)};MadCap.Utilities.PreventDefault=function(f){f.preventDefault?f.preventDefault():event.returnValue=false};MadCap.Utilities.EncodeHtml=function(e){var f=document.createElement("textarea");f.textContent=e;return f.innerHTML};MadCap.Utilities.DecodeHtml=function(e){var f=document.createElement("textarea");f.innerHTML=e;return f.textContent};MadCap.Utilities.GenerateRandomGUID=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var f=Math.random()*16|0,g=e=="x"?f:(f&3|8);return g.toString(16)})};MadCap.Utilities.AsyncForeach=function(e,g,f){e=e.slice(0);function h(){var i=e.shift();g(i,function(j){if(e.length>0){h()}else{f()}})}if(e.length>0){h()}else{f()}};MadCap.Utilities.CopyToClipboard=function(e){var f=$("<div>");var g=f.html(e.html().replace(/<br>/g,"\n")).text();f=$("<textarea>");e.parent().append(f);f.val(g).select();document.execCommand("copy");f.remove()};MadCap.Utilities.Now=Date.now||function(){return new Date().getTime()};MadCap.Utilities.Has=function(f,e){return f!=null&&Object.prototype.hasOwnProperty.call(f,e)};MadCap.Utilities.CreateEvent=function(f,g){var e;if(typeof(CustomEvent)==="function"){e=new CustomEvent(f,g)}else{e=document.createEvent("Event");e.initEvent(f,true,true);for(var h in g){e[h]=g[h]}}return e};MadCap.Utilities.Debounce=function(g,m,h){var k,e,f,l,j;var i=function(){var n=MadCap.Utilities.Now()-l;if(n<m&&n>0){k=setTimeout(i,m-n)}else{k=null;if(!h){j=g.apply(f,e);if(!k){f=e=null}}}};return function(){f=this;e=arguments;l=MadCap.Utilities.Now();var n=h&&!k;if(!k){k=setTimeout(i,m)}if(n){j=g.apply(f,e);f=e=null}return j}};MadCap.Utilities.Memoize=function(e,f){var g=function(j){var i=g.cache;var h=""+(f?f.apply(this,arguments):j);if(!MadCap.Utilities.Has(i,h)){i[h]=e.apply(this,arguments)}return i[h]};g.cache={};return g};MadCap.Utilities.Get=function(h,i,e){var j=undefined;if(h!=null){i=i.split(".");var f=0,g=i.length;while(h!=null&&f<g){h=h[i[f++]]}j=(f&&f==g)?h:undefined}return j===undefined?e:j};MadCap.Utilities.IsRuntimeFileType=function(e){return MadCap.Dom.Dataset(document.documentElement,"mcRuntimeFileType")==e};MadCap.Utilities.HasRuntimeFileType=function(f){var e=MadCap.Dom.Dataset(document.documentElement,"mcRuntimeFileType");return e&&e.split(";").indexOf(f)>-1};MadCap.Utilities.CreateStylesheet=function(f,g){var e=f||document,i;var h=e.createElement("style");if(g){h.setAttribute("media",g)}e.getElementsByTagName("head")[0].appendChild(h);i=e.styleSheets[e.styleSheets.length-1];return i};MadCap.Utilities.AsyncForeachParallel=function(e,h,f){var g=0;if(e.length===0){f()}var k=e.length;for(var j=0;j<k;j++){h(e[j],function(){g++;if(g===e.length){f()}})}};MadCap.Utilities.FixLink=function(f,j,i,e){var h=f;var g=new MadCap.Utilities.Url(f);if(!g.IsAbsolute&&g.Fragment!=g.FullPath){g=j.CombinePath(g);h=g.FullPath;if(!MadCap.String.IsNullOrEmpty(i)&&e!=null){g=g.ToRelative(e);h=i+g.FullPath}}return h};MadCap.Utilities.FixLinks=function(i,k,h,f){var j=["href","src","cite","data","data-mc-topics","poster"];var g=["href","data-mc-topics"];var l="["+j.join("],[")+"]";var e=$(i);e.find(l).each(function(){var m=$(this).hasClass("MCPopupThumbnailPopup")||$(this).hasClass("MCPopupThumbnailHover")||$(this).hasClass("MCTopicPopup");var o=!m;var n=false;$.each(this.attributes,function(r,p){var t=o&&g.indexOf(p.name)>-1?h:"";if(p.name==="data-mc-topics"){var w=p.value;var v=w?w.split("||"):null;if(v){for(var s=0;s<v.length;s++){var u=v[s].split("|");u[1]=MadCap.Utilities.FixLink(u[1],k,t,f);v[s]=u.join("|")}p.value=v.join("||")}}else{if(j.indexOf(p.name)>-1){var q=MadCap.Utilities.FixLink(p.value,k,t,f);if(q!==p.value){p.value=q;n=true}}}});if(n){$(this).attr("data-mc-processed-link",true)}});return e};MadCap.Utilities.IsRTL=function(){return $("html").css("direction")==="rtl"};MadCap.Utilities.IsTouchDevice=function(){var e=false;(function(f){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(f)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(f.substr(0,4))){e=true}})(navigator.userAgent||navigator.vendor||window.opera);return e};MadCap.Utilities.IsIE=function(){var e=window.navigator.userAgent;return e.indexOf("MSIE ")>0||e.indexOf("Trident/")>0};MadCap.Utilities.IsMicroContentTopic=function(){return $("meta[value='micro-content']").length>0};MadCap.Utilities.ToggleButtonState=function(f){var e=$(f);var g=e.attr("data-current-state")||"1";var h=g=="1"?2:1;MadCap.Utilities.SetButtonState(f,h)};MadCap.Utilities.SetButtonState=function(g,l){var e=$(g);var h=l==1?2:1;var m=e.attr("data-state"+l+"-class");var i=e.attr("data-state"+h+"-class");e.attr("data-current-state",l);e.removeClass(i).addClass(m);e.attr("title",e.attr("data-state"+l+"-title"));var f=e.children("img");f.attr("alt",f.attr("data-state"+l+"-alt"));if(MadCap.Utilities.HasRuntimeFileType("SkinPreview")){var k=e.attr("data-mc-style2");if(k){var j=e.attr("data-mc-style1");if(!j){j=e.attr("data-mc-style");e.attr("data-mc-style1",MadCap.Utilities.EncodeHtml(j))}e.attr("data-mc-style",l==1?j:k)}}};MadCap.Utilities.LoadHandlers=Object.create(null);MadCap.Utilities.InitContent=function(e){for(var f in MadCap.Utilities.LoadHandlers){MadCap.Utilities.LoadHandlers[f](e)}};MadCap.Utilities.LoadScript=function(g,f,e){var h=document.createElement("script");h.src=g;h.type="text/javascript";if(h.addEventListener){$(h).on("error",e);$(h).on("load",f)}else{if(h.readyState){h.onreadystatechange=function(){if(h.readyState=="loaded"||h.readyState=="complete"){f()}}}}document.getElementsByTagName("head")[0].appendChild(h);return h};MadCap.Utilities.LoadRegisteredScript=function(k,j,i,e){var f=false;var l;$("script").each(function(m,n){var o=$(n).attr("src");if(!MadCap.String.IsNullOrEmpty(o)&&o.toLowerCase()==k.toLowerCase()){f=true;l=n}});if(f){var h=new MadCap.Utilities.Url(k).Name;var g=MadCap.Utilities.LoadHandlers[h];if(g){g(e)}j()}};MadCap.Utilities.LoadScripts=function(h,g,f,e){MadCap.Utilities.AsyncForeach(h,function(j,i){if(!MadCap.String.IsNullOrEmpty(j)){MadCap.Utilities.LoadRegisteredScript(j,i,f,e)}else{i()}},g)};MadCap.Utilities.DynamicStylesheets=Object.create(null);MadCap.Utilities.LoadStylesheets=function(f,e){$.each(f,function(h,g){if(!MadCap.String.IsNullOrEmpty(g)){MadCap.Utilities.LoadStylesheet(g,e)}})};MadCap.Utilities.LoadStylesheet=function(g,h){var e=false;$("link").each(function(k,l){var m=$(l).attr("href");if(!MadCap.String.IsNullOrEmpty(m)&&m.toLowerCase()===g.toLowerCase()){e=true}});if(!e){var i='<link rel="stylesheet" type="text/css" href="{0}" data-mc-dynamic="true" />';i=i.replace("{0}",g);var f=$("head")[0];var j=h?$(i).insertAfter(h):$(i).appendTo(f);MadCap.Utilities.DynamicStylesheets[g]=j}};MadCap.Utilities.UpdateDynamicStylesheets=function(e){MadCap.Utilities.RemoveDynamicStylesheets();for(var f=0;f<e.length;f++){MadCap.Utilities.LoadStylesheet(e[f])}};MadCap.Utilities.RemoveDynamicStylesheets=function(){$.each(MadCap.Utilities.DynamicStylesheets,function(e,f){$(f).remove()});MadCap.Utilities.DynamicStylesheets=Object.create(null)};MadCap.Utilities.CombineRelevancy=function(g,h){var e=MadCap.Utilities.CapNumber(g,h,16,0,2);for(var f=2;f<7;f++){e=MadCap.Utilities.CapNumber(e,h,16,f,1)}e=MadCap.Utilities.CapNumber(e,h,16,7,1,7);return e};MadCap.Utilities.CalculateScore=function(g,e,f){return(Math.log(g)/Math.log(2147483647)*f)+(e*(1-f))};MadCap.Utilities.CapNumber=function(k,l,e,m,g,h){if(!h){h=Math.pow(e,g)-1}var f=Math.pow(e,m);var j=f*Math.pow(e,g);var n=~~(k%j/f);var o=~~(l%j/f);var i=Math.min(n+o,h);return k+((i-n)*f)};MadCap.Utilities.Require=function(h,i){if(!MadCap.Utilities._requireCache){MadCap.Utilities._requireCache=Object.create(null)}var e=MadCap.Utilities._requireCache;var g=h[0];var f=e[g];if(f&&f.data){i(f.data)}else{if(f&&f.callbacks){f.callbacks.push(i)}else{e[g]={callbacks:[i]};require([g],function(j){f=e[g];f.data=j;for(var k=0;k<f.callbacks.length;k++){f.callbacks[k](j)}f.callbacks=null;require.undef(g)})}}};MadCap.Utilities.GetChunkId=function(e,j,g){for(var h=0;h<e.length;h++){var k=e[h];var f=g(j,k);if(f===0){return h}else{if(f===-1){return h-1}}}return e.length-1};MadCap.Utilities.GetChunkIds=function(f,l,h){var e=[];var j=false;for(var k=0;k<f.length;k++){var m=f[k];var g=h(l,m);if(g===-1&&k===0){return e}if(g===0){if(k>0&&!j){e.push(k-1)}e.push(k);j=true}else{if(g===-1){if(k>0&&!j){e.push(k-1)}break}}}if(e.length===0){e.push(f.length-1)}return e};MadCap.Utilities.ClearRequireCache=function(){MadCap.Utilities._requireCache=null};MadCap.Utilities.StopWords=Array("a","an","the","to","of","is","for","and","or","do","be","by","he","she","on","in","at","it","not","no","are","as","but","her","his","its","non","only","than","that","then","they","this","we","were","which","with","you","into","about","after","all","also","been","can","come","from","had","has","have","me","made","many","may","more","most","near","over","some","such","their","there","these","under","use","was","when","where","against","among","became","because","between","during","each","early","found","however","include","late","later","med","other","several","through","until","who","your");MadCap.Utilities.Store=(function(){try{if(window.localStorage){return window.localStorage}}catch(g){if(console&&console.log){console.log("window.localStorage not available")}}var i="MadCap";var f=document.createElement("div");f.style.display="none";document.getElementsByTagName("head")[0].appendChild(f);if(typeof f.addBehavior=="function"){f.addBehavior("#default#userdata");f.load(i);return{getItem:function(e){return f.XMLDocument.documentElement.getAttribute(e)},setItem:function(e,j){f.XMLDocument.documentElement.setAttribute(e,j);f.save(i)},removeItem:function(e){f.removeAttribute(e);f.save(i)}}}var h="data-"+i+"-";return{getItem:function(e){var j=f.getAttribute(h+e);return j?decodeURIComponent(j):j},setItem:function(e,j){f.setAttribute(h+e,j?encodeURIComponent(j):null)},removeItem:function(e){f.removeAttribute(h+e)}}})();MadCap.Utilities.SanitizeHtml=function(e){return DOMPurify.sanitize(e,{SAFE_FOR_JQUERY:true,ALLOWED_URI_REGEXP:/^(?:(?:(?:f|ht)tps?|mailto|file):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,ADD_TAGS:["embed","iframe","object","param","madcap:conditionaltext"],ADD_ATTR:["abbr","accesskey","allowfullscreen","autoplay","classid","codebase","data","dirname","form","frameborder","kind","longdesc","muted","pluginspage","rules","sandbox","sorted","target","translate","wmode"]})}})();Array.prototype.Remove=function(a){if(a<0||a>this.length){throw"Index out of bounds."}this.splice(a,1)};Array.prototype.RemoveValue=function(b){for(var a=this.length-1;a>=0;a--){if(this[a]==b){this.Remove(a)}}};Array.prototype.Union=function(c){var a=[].concat(this);if(c){for(var b=0;b<c.length;b++){if(this.indexOf(c[b])===-1){a.push(c[b])}}}return a};Array.prototype.Intersect=function(c){var a=[];for(var b=0;b<c.length;b++){if(this.indexOf(c[b])!==-1){a.push(c[b])}}return a};/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){MadCap.Utilities.Xhr=function(b,d,c){var e=this;this._XmlDoc=null;this._XmlHttp=null;this._Args=b;this._LoadFunc=d;this._LoadContextObj=c;this.OnreadystatechangeLocal=function(){if(e._XmlDoc.readyState==4){e._XmlDoc.onreadystatechange=a._Noop;var f=null;if(e._XmlDoc.documentElement!=null){f=e._XmlDoc}if(e._LoadContextObj==null){e._LoadFunc(f,e._Args)}else{e._LoadFunc.call(e._LoadContextObj,f,e._Args)}}};this.OnreadystatechangeRemote=function(){if(e._XmlHttp.readyState==4){e._XmlHttp.onreadystatechange=a._Noop;var f=null;if(e._XmlHttp.responseXML!=null&&e._XmlHttp.responseXML.documentElement!=null){f=e._XmlHttp.responseXML}if(e._LoadContextObj==null){e._LoadFunc(f,e._Args)}else{e._LoadFunc.call(e._LoadContextObj,f,e._Args)}}}};var a=MadCap.Utilities.Xhr;a.prototype._LoadLocal=function(d,b){if(window.ActiveXObject){this._XmlDoc=a._GetMicrosoftXmlDomObject();this._XmlDoc.async=b;if(this._LoadFunc){this._XmlDoc.onreadystatechange=this.OnreadystatechangeLocal}try{if(!this._XmlDoc.load(d)){this._XmlDoc=null}}catch(c){this._XmlDoc=null}}else{if(window.XMLHttpRequest){this._LoadRemote(d,b)}}return this._XmlDoc};a.prototype._LoadRemote=function(d,b){this._XmlHttp=a._GetXhrObject();if(this._LoadFunc){this._XmlHttp.onreadystatechange=this.OnreadystatechangeRemote}try{this._XmlHttp.open("GET",d,b);this._XmlHttp.send(null);if(!b&&(this._XmlHttp.status==0||this._XmlHttp.status==200)){this._XmlDoc=this._XmlHttp.responseXML}}catch(c){this._XmlHttp.abort();if(this._LoadFunc){if(this._LoadContextObj==null){this._LoadFunc(null,this._Args)}else{this._LoadFunc.call(this._LoadContextObj,null,this._Args)}}}return this._XmlDoc};a.prototype.Load=function(e,b){var d=null;var c=document.location.protocol;if(c=="file:"||c=="mk:"||c=="ms-its:"||c=="app:"){d=this._LoadLocal(e,b)}else{if(c=="http:"||c=="https:"){d=this._LoadRemote(e,b)}}return d};a.LoadXmlString=function(d){var c=null;if(window.ActiveXObject){c=a._GetMicrosoftXmlDomObject();c.async=false;c.loadXML(d)}else{if(DOMParser){var b=new DOMParser();c=b.parseFromString(d,"text/xml")}}return c};a.CreateXmlDocument=function(b){var c="<"+b+" />";var d=a.LoadXmlString(c);return d};a.GetOuterXml=function(d){var c=null;if(window.ActiveXObject){c=d.xml}else{if(window.XMLSerializer){var b=new XMLSerializer();c=b.serializeToString(d)}}return c};a.ImportNode=function(b,c){if(typeof(b.importNode)=="function"){return b.importNode(c,true)}return c.cloneNode(true)};a.CallWebService=function(e,b,d,c){var g=new a(c,d,null);var f=g.Load(e,b);return f};a._MicrosoftXmlDomProgIDs=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument","Microsoft.XMLDOM"];a._MicrosoftXmlHttpProgIDs=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP","Microsoft.XMLHTTP"];a._MicrosoftXmlDomProgID=null;a._MicrosoftXmlHttpProgID=null;a._FilePathToXmlStringMap=new MadCap.Utilities.Dictionary();a._LoadingFilesPathMap=new MadCap.Utilities.Dictionary();a._LoadingFromQueue=false;a.ForceUseJS=false;a.Load=function(m,c,g,b,f){function i(){a._LoadingFilesPathMap.Remove(e.FullPath);var n=a._FilePathToXmlStringMap.GetItem(e.Name);if(n!=null){a._FilePathToXmlStringMap.Remove(e.Name);j=a.LoadXmlString(n)}a._LoadingFilesPathMap.ForEach(function(o,r){var q=new MadCap.Utilities.Url(o);var p=r;if(q.Name==d&&q.FullPath!=e.FullPath){a._LoadingFilesPathMap.Remove(q.FullPath);a._LoadingFromQueue=true;a.Load(q.FullPath,p.async,p.LoadFunc,p.args,p.loadContextObj);return false}return true});if(f==null){g(j,b)}else{g.call(f,j,b)}}var j=null;if(a.ForceUseJS||(Boolean(!window.ActiveXObject)&&MadCap.String.StartsWith(document.location.protocol,"file"))){var k=new MadCap.Utilities.Url(m);var e=k.ToExtension("js");var d=e.Name;a._LoadingFilesPathMap.Add(e.FullPath,{async:c,LoadFunc:g,args:b,loadContextObj:f});var h=false;a._LoadingFilesPathMap.ForEach(function(n,q){var p=new MadCap.Utilities.Url(n);var o=q;if(p.Name==d&&p.FullPath!=e.FullPath){h=true;return false}return true});if(a._LoadingFromQueue||!h){a._LoadingFromQueue=false;MadCap.Utilities.LoadScript(e.FullPath,i,i)}}else{var l=new a(b,g,f);j=l.Load(m,c)}return j};a._Noop=function(){};a._GetMicrosoftXmlDomObject=function(){var d=null;if(a._MicrosoftXmlDomProgID==null){for(var c=0;c<a._MicrosoftXmlDomProgIDs.length;c++){var e=a._MicrosoftXmlDomProgIDs[c];try{d=new ActiveXObject(e);a._MicrosoftXmlDomProgID=e;break}catch(b){}}}else{d=new ActiveXObject(a._MicrosoftXmlDomProgID)}return d};a._GetXhrObject=function(){if(window.XMLHttpRequest){return function(){return new window.XMLHttpRequest()}}else{if(window.ActiveXObject){return function(){var e=null;if(a._MicrosoftXmlHttpProgID==null){for(var c=0;c<a._MicrosoftXmlHttpProgIDs.length;c++){var d=a._MicrosoftXmlHttpProgIDs[c];try{e=new ActiveXObject(d);a._MicrosoftXmlHttpProgID=d;break}catch(b){}}}else{e=new ActiveXObject(a._MicrosoftXmlHttpProgID)}return e}}}}()})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){MadCap.CreateNamespace("TextEffects");var a=MadCap.TextEffects;a.Init=function(b){a.ExpandingControl.Load(b);a.DropDownControl.Load(b);a.TogglerControl.Load(b);a.TextPopupControl.Load(b);a.TopicPopupControl.Load(b)};a.Dispose=function(b){a.ExpandingControl.UnLoad(b);a.DropDownControl.UnLoad(b);a.TogglerControl.UnLoad(b);a.TextPopupControl.UnLoad(b);a.TopicPopupControl.UnLoad(b)};$(function(){MadCap.Utilities.LoadHandlers.MadCapTextEffects=a.Init;a.Init(document)});a.TextEffectControl=function(d,c){if(this._rootEl==null){this._rootEl=d}this._hotSpotEl=null;this._bodyEls=null;this._className=c;var e=this._rootEl.classList.contains("MCToggler")?this._rootEl.parentNode:this._rootEl;this._$rootEl=$(e);a.TextEffectControl.Controls[a.TextEffectControl.Controls.length]=this;var b=this;(function(){b._hotSpotEl=MadCap.Dom.GetElementsByClassName(b._className+"HotSpot",null,b._rootEl)[0];b._bodyEls=MadCap.Dom.GetElementsByClassName(b._className+"Body",null,b._rootEl);var f=MadCap.Dom.GetElementsByClassName(b._className+"HotSpot",null,b._rootEl);for(var g=f.length-1;g>=0;g--){var h=f[g].parentNode;while(h!=null){if($(h).hasClass(b._className)){if(h==b._rootEl){$(f[g]).click(function(i){i.preventDefault();b.Toggle.call(b)})}else{break}}h=h.parentNode}}})()};a.UnbindTextEffectControl=function(d,c){if(this._rootEl==null){this._rootEl=d}this._hotSpotEl=null;this._bodyEls=null;this._className=c;this._$rootEl=$(this._rootEl);var b=this;(function(){b._hotSpotEl=MadCap.Dom.GetElementsByClassName(b._className+"HotSpot",null,b._rootEl)[0];var e=MadCap.Dom.GetElementsByClassName(b._className+"HotSpot",null,b._rootEl);for(var f=e.length-1;f>=0;f--){var g=e[f].parentNode;while(g!=null){if($(g).hasClass(b._className)){if(g==b._rootEl){$(e[f]).unbind()}else{break}}g=g.parentNode}}$(b._hotSpotEl).unbind()})()};a.TextEffectControl.Controls=new Array();a.TextEffectControl.FindControl=function(b){for(var c=0;c<a.TextEffectControl.Controls.length;c++){if(a.TextEffectControl.Controls[c]._rootEl==b){return a.TextEffectControl.Controls[c]}}return null};a.TextEffectControl.ExpandAll=function(e){for(var c=0,d=a.TextEffectControl.Controls.length;c<d;c++){var b=a.TextEffectControl.Controls[c];if(e=="open"){b.Open(false)}else{if(e=="close"){b.Close(false)}}}};a.TextEffectControl.prototype.Open=function(){var d=this._$rootEl;d.removeClass(this._className+"_Closed");d.addClass(this._className+"_Open");var b=d;if(!d.is("a")){b=d.find("a").first()}if(b.hasClass("MCTextPopup")){b.attr("aria-describedby",b.attr("data-aria-describedby"))}else{b.attr("aria-expanded","true")}var e=null;if(d.hasClass("MCToggler")){e=$(".MCToggler_Image_Icon")}else{if(d.hasClass("MCDropDown")){e=$(".MCDropDown_Image_Icon")}else{if(d.hasClass("MCExpanding")){e=$(".MCExpanding_Image_Icon")}}}var c=d.find(e);this.ToggleAltText(c[0],d,"closed");d.attr("data-mc-state","open")};a.TextEffectControl.prototype.Close=function(){var d=this._$rootEl;d.removeClass(this._className+"_Open");d.addClass(this._className+"_Closed");var b=d;if(!d.is("a")){b=d.find("a").first()}if(b.hasClass("MCTextPopup")){b.removeAttr("aria-describedby")}else{b.attr("aria-expanded","false")}var e=null;if(d.hasClass("MCToggler")){e=$(".MCToggler_Image_Icon")}else{if(d.hasClass("MCDropDown")){e=$(".MCDropDown_Image_Icon")}else{if(d.hasClass("MCExpanding")){e=$(".MCExpanding_Image_Icon")}}}var c=d.find(e);this.ToggleAltText(c[0],d,"open");d.attr("data-mc-state","closed")};a.TextEffectControl.prototype.ToggleAltText=function(e,f,g){if(e!=null){var b=$(e);var d=b.attr("data-mc-alt2");var c=b.attr("alt");if(f!=null&&f.attr("data-mc-state")==g){b.attr("alt",d);b.attr("data-mc-alt2",c)}}};a.TextEffectControl.prototype.Toggle=function(){var b=$(this._rootEl);if(b.hasClass("MCToggler")){b=$(this._rootEl.parentNode).find("a.MCToggler")}var d=b.attr("data-mc-state")||"closed";var c=null;if(d=="open"){this.Close(true)}else{if(d=="closed"){this.Open(true)}}$(b.find("a")[0]).focus()};a.TextEffectControl.prototype.ResizeSlideshow=function(d,f){if(d){var b=$(d);var c=b.closest('div[class^="mc-viewport"]');if(c){var e=0;b.children().each(function(){e=e+$(this).outerHeight()});if(f){e=c.height()+Math.max(e,b.outerHeight())}else{e=c.height()-Math.max(e,b.outerHeight())}c.animate({height:e})}}};a.ExpandingControl=function(b){a.TextEffectControl.call(this,b,"MCExpanding")};MadCap.Extend(a.TextEffectControl,a.ExpandingControl);a.ExpandingControl.Load=function(b){var e=$(".MCExpanding",b);for(var f=0,g=e.length;f<g;f++){var d=e[f];var c=new a.ExpandingControl(d);c.Init()}};a.ExpandingControl.UnLoad=function(b){var c=$(".MCExpanding",b);for(var d=0,e=c.length;d<e;d++){a.UnbindTextEffectControl(c[d])}};a.ExpandingControl.prototype.Init=function(){this.Close(false)};a.ExpandingControl.prototype.Open=function(c){this.base.Open.call(this);var b=$(this._bodyEls[0]);this.ResizeSlideshow(b,true);b.show();b.css("display","inline");$(window).trigger("resize")};a.ExpandingControl.prototype.Close=function(b){$(this._bodyEls[0]).hide();$(window).trigger("resize");this.base.Close.call(this)};a.DropDownControl=function(b){a.TextEffectControl.call(this,b,"MCDropDown")};MadCap.Extend(a.TextEffectControl,a.DropDownControl);a.DropDownControl.Load=function(b){var e=$(".MCDropDown",b);for(var f=0,g=e.length;f<g;f++){var d=e[f];var c=new a.DropDownControl(d);c.Init(false)}};a.DropDownControl.UnLoad=function(b){var c=$(".MCDropDown",b);for(var d=0,e=c.length;d<e;d++){a.UnbindTextEffectControl(c[d])}};a.DropDownControl.prototype.Init=function(){this.Close(false)};a.DropDownControl.prototype.Open=function(d){this.base.Open.call(this);var b=$(this._bodyEls[0]);var c=b.find("div.sticky");if(c.length>0){b.slideDown(function(){$(window).trigger("resize")});c.foundation("_calc",true);return}if(d){b.hide().slideDown(function(){$(window).trigger("resize")})}else{b.show();$(window).trigger("resize")}this.ResizeSlideshow(b,true)};a.DropDownControl.prototype.Close=function(e){var b=$(this._bodyEls[0]);if(!e){var c=b.find("div.sticky");if(c.length>0){c.foundation("_calc",true)}b.hide();this.base.Close.call(this);$(window).trigger("resize");return}var d=this;this.ResizeSlideshow(this._bodyEls[0],false);$(this._bodyEls[0]).slideUp(function(){d.base.Close.call(d);$(window).trigger("resize")})};a.TogglerControl=function(b){this._rootEl=b;this._$rootEl=$(b);this._hotSpotEl=b;this._bodyEls=null;this._className="MCToggler";a.TextEffectControl.Controls[a.TextEffectControl.Controls.length]=this};MadCap.Extend(a.TextEffectControl,a.TogglerControl);a.TogglerControl.Load=function(b){var g=$(".MCToggler",b);for(var c=0,d=g.length;c<d;c++){var f=g[c];var e=new a.TogglerControl(f);e.Init(b)}};a.TogglerControl.UnLoad=function(b){var e=$(".MCToggler",b);for(var c=0,d=e.length;c<d;c++){a.UnbindTextEffectControl(e[c])}};a.TogglerControl.prototype.Init=function(b){this._bodyEls=new Array();var j=MadCap.Dom.Dataset(this._rootEl,"mcTargets");var h=j.split(";");for(var d=0,e=h.length;d<e;d++){var g=h[d];var c=MadCap.Dom.GetElementsByAttribute("data-mc-target-name",g,null,b);this._bodyEls=this._bodyEls.concat(c)}var f=this;$(this._rootEl).click(function(i){i.preventDefault();f.Toggle.call(f)});this.Close(false)};a.TogglerControl.prototype.Open=function(b){this.base.Open.call(this);for(var c=0,d=this._bodyEls.length;c<d;c++){if(b){$(this._bodyEls[c]).css({opacity:0,display:""});$(this._bodyEls[c]).animate({opacity:1},200,function(){$(window).trigger("resize")})}else{$(this._bodyEls[c]).css({opacity:1,display:""});$(window).trigger("resize")}}this.ResizeSlideshow(this._bodyEls[0],true)};a.TogglerControl.prototype.Close=function(b){this.base.Close.call(this);this.ResizeSlideshow(this._bodyEls[0],false);function c(g){$(g).css("display","none")}for(var d=0,e=this._bodyEls.length;d<e;d++){var f=this;if(b){$(this._bodyEls[d]).animate({opacity:0},200,function(){c(this);$(window).trigger("resize")})}else{c(this._bodyEls[d]);$(window).trigger("resize")}}};a.TextPopupControl=function(c){this._rootEl=c;this._hotSpotEl=c;this._$rootEl=$(c);this._$hotSpotEl=this._$rootEl;this._bodyEls=null;this._className="MCTextPopup";var b=this;(function(){b._bodyEls=$("."+b._className+"Body",b._rootEl).toArray();if(MadCap.Utilities.IsTouchDevice()){b._$hotSpotEl.click(function(d){if($(this).attr("data-mc-state")==="closed"){b.Open()}else{b.Close()}})}else{b._$hotSpotEl.on("mouseover",function(d){b.Open()});b._$hotSpotEl.on("mouseleave",function(d){b.Close()})}})()};MadCap.Extend(a.TextEffectControl,a.TextPopupControl);a.TextPopupControl.Load=function(b){var g=$(".MCTextPopup",b);for(var c=0,d=g.length;c<d;c++){var f=g[c];var e=new a.TextPopupControl(f);e.Init()}};a.TextPopupControl.UnLoad=function(b){var e=$(".MCTextPopup",b);for(var c=0,d=e.length;c<d;c++){a.UnbindTextEffectControl(e[c])}};a.TextPopupControl.prototype.Init=function(){this.Close(false)};a.TextPopupControl.prototype.Open=function(){this.base.Open.call(this);var f=this._$rootEl;var e=$(this._bodyEls[0]);var d=$(".MCTextPopupArrow",f);var c=$(".title-bar.sticky");var g=$(window);e.css("top","0");e.css("left","0");e.attr("aria-hidden",false);e.css("height","auto");var h=13;var B=g.scrollTop();var A=g.scrollLeft();var s=e.offset().top;var r=e.offset().left;var t=f.offset().top-s;var q=f.offset().left-r;var l=t+this._rootEl.offsetHeight;var y=e.outerWidth();var x=e.outerHeight();var p=q+(f[0].offsetWidth/2);var o=p-(y/2);var z=o+y;var C=l+h;var i=-d.outerWidth()/2;var u=g.width();var n=B+g.height()-l;if(c.length>0){B+=c.innerHeight()}if((x+h)>n){var m=t-B;if((x+h)>m){C=l;var k=parseInt(e.css("border-top-width"));var j=parseInt(e.css("border-bottom-width"));var w=parseInt(e.css("padding-top"));var v=parseInt(e.css("padding-bottom"));e.css("height",(n-k-j-w-v)+"px");e.css("overflow","auto")}else{e.addClass("MCTextPopupBodyBottom");C=t-x-h}}else{e.removeClass("MCTextPopupBodyBottom")}e.css("top",C+"px");if(z>=u+A){i+=(z-u-A)}if(o<A){i+=(o-A)}o=Math.min(o,A+u-y);o=Math.max(o,A);var b=f.closest("body");if(MadCap.HasEpubReadingSystem()){o=f.offset().left;i=-((e[0].offsetWidth/2)-(d[0].offsetWidth/2))}e.css("left",o+"px");e.css("zIndex",1);d.css("margin-left",i+"px");e.animate({opacity:1},200)};a.TextPopupControl.prototype.Close=function(){this.base.Close.call(this);var b=$(this._bodyEls[0]);b.attr("aria-hidden",true);b.css("opacity",0)};a.TopicPopupControl=function(c){this._rootEl=c;this._hotSpotEl=c;this._$rootEl=$(c);this._$hotSpotEl=this._$rootEl;this._bodyEls=null;this._className="MCTopicPopup";var b=this;(function(){b._bodyEls=$("."+b._className+"Body",b._rootEl).toArray();b._$hotSpotEl.click(function(d){b.Open();$(document.documentElement).click(function(f){b.Close();$(document.documentElement).off("click",arguments.callee)});d.stopPropagation();MadCap.Utilities.PreventDefault(d)})})()};MadCap.Extend(a.TextEffectControl,a.TopicPopupControl);a.TopicPopupControl.Load=function(c){var b=$(".MCTopicPopup",c);for(var d=0,e=b.length;d<e;d++){var g=b[d];var f=new a.TopicPopupControl(g);f.Init()}};a.TopicPopupControl.UnLoad=function(c){var b=$(".MCTopicPopup",c);for(var d=0,e=b.length;d<e;d++){a.UnbindTextEffectControl(b[d])}};a.TopicPopupControl.prototype.Init=function(){this.Close(false)};a.TopicPopupControl.prototype.Open=function(){this.base.Open.call(this);var b=$("<div></div>");b.addClass("MCTopicPopupContainer needs-pie");var i=MadCap.Dom.GetAttribute(this._hotSpotEl,"href");var c=$(document.createElement("iframe"));c.addClass("MCTopicPopupBody");c.attr("src",i);c.attr("name","MCPopup");b.append(c);var j=document.body;b.appendTo(j);MadCap.Accessibility.initPopupTopicAccessibility(b,c,this);var d=this._$rootEl;var n=d.attr("data-mc-width");var g=d.attr("data-mc-height");if(n!=null||g!=null){b.css({top:"50%",left:"50%",width:n,height:g});var o=b.width();var h=b.height();var e=$(window);var l=e.width()-100;var k=e.height()-100;if(o>l){b.css({width:l+"px"});o=l}if(h>k){b.css({height:k+"px"});h=k}b.css({"margin-top":(-h/2)+"px","margin-left":(-o/2)+"px"})}c.css("height","100%");if($("html").attr("data-mc-target-type")=="EPUB"){var m=(this._$hotSpotEl.offset().top-b.offset().top)-b[0].offsetHeight/2;b.css({"margin-top":m+"px",left:this._$hotSpotEl.offset().left,"margin-left":this._$hotSpotEl.offset().left})}b.animate({opacity:1},200,function(){c.focus()});var f=a.AddBackgroundTint("dark",j);$(f).animate({opacity:0.5},200)};a.TopicPopupControl.prototype.Close=function(){this.base.Close.call(this);var b=$(".MCTopicPopupContainer");if(b.length==0){return}var c=b.parent();b.remove();a.RemoveBackgroundTint();if($("#topicContent").length>0){c.css("overflow","auto")}this._hotSpotEl.focus()};a.CreateLinkListTree=function(m,o,g,p,n){a.RemoveLinkListTrees();if(!p){p=""}var e=$("<ul class='responsive-link-list tree inner'></ul>");var q=$(g).attr("target");for(var j=0,k=m.length;j<k;j++){var h=m[j];var d=$("<li class='IndexEntry IndexEntryLink tree-node tree-node-leaf'></li>").appendTo(e);var c=$("<div class='IndexTerm'></div>").appendTo(d);var f=$("<span class='label'></span>").appendTo(c);var b=$("<a/>").appendTo(f);b.text(h.Title);var l=h.Link;b.attr("href",p+l);d.click(n)}e.appendTo(o)};a.CreateDummyToolbarDropdown=function(b,d,e,c){var h=[];var i=new MadCap.Utilities.Url(document.location.href);var f={Title:e+"1",Link:i.PlainPath+i.Fragment};var g={Title:e+"2",Link:i.PlainPath+i.Fragment};h[0]=f;h[1]=g;a.CreateToolbarDropdown(h,b[0],d,c)};a.CreateToolbarDropdown=function(g,d,c,e){var b=$(d);var h=2;var f=b.position().left;var j=b.position().top+b.height()+h;var i="";a.CreateLinkListPopup(g,b.closest(".popup-container"),j,f,d,i,"toolbar-button-drop-down "+c,true,false,e)};a.CreateLinkListPopup=function(w,B,J,t,k,E,x,l,m,q){if(typeof x==="undefined"){x="link-list-popup"}if(typeof l==="undefined"){l=true}if(typeof m==="undefined"){m=true}a.RemoveLinkListPopups();if(!E){E=""}var g=$("<div class='"+x+" needs-pie'><ul></ul></div>");var h=g.children("ul");var I=$(k).attr("target");for(var s=0,v=w.length;s<v;s++){var o=w[s];var r=(typeof(o.Image)!="undefined");var f=(r)?$("<li><img><a></a></li>").appendTo(h):$("<li><a></a></li>").appendTo(h);var b=$("a",f);b.attr("target",I);if(I=="_popup"){b.click(a.TopicPopup_Click)}if(r){var d=$("img",f);d.attr("src",o.Image);d.attr("alt",o.Title);b.text(" "+o.Title)}else{b.text(o.Title)}b.attr("href",E+o.Link);f.click(a.Item_Click)}g.appendTo(B);var j=g.closest(".popup-container");if(j.length==0){j=$(window)}if(q){j=$(window)}var A=j.width();var z=j.height();var H=j.scrollTop();var G=j.scrollLeft();var D=g[0].offsetWidth;var C=g[0].offsetHeight;var y=0;if(m){J=Math.min(J,H+y+z-C);J=Math.max(J,H+y)}if(l&&MadCap.Utilities.HasRuntimeFileType("TriPane")){t=Math.min(t,G+A-D);t=Math.max(t,G)}if((J==0&&t==0)||(isNaN(J)&&isNaN(t))||MadCap.IsIBooks()){if(l){t=$(k).offset().left+$(k).width()}if(m){J=$(k).offset().top+$(k).height()}}if(MadCap.IsIBooks()){g.css("display","inline-block");if(l){t=t-k.offsetWidth}if(m){J=J-(g[0].offsetHeight/2)}}if(l&&MadCap.Utilities.IsRTL()){var u=0;if(typeof($(k).offset())!="undefined"){u+=$(k).offset().left}if(typeof($(k).width())!="undefined"){u+=$(k).width()}var p=Math.min($(window).width()-u,g.width());t=t-p}$triggerObject=q?$(k):$([document,k]);MadCap.Accessibility.setAriaControls($triggerObject,g,"link-list-popup");$triggerObject.attr("aria-expanded","true");var n=function(){$triggerObject.attr("aria-expanded","false");$triggerObject.removeAttr("aria-controls")};g.keydown(function(K){var i=K.keyCode||K.which;if(i==27){g.remove();$triggerObject.focus();n()}});var c=g.find("a").first();var e=g.find("a").last();c.keydown(function(K){var i=K.keyCode||K.which;if(event.shiftKey&&i==9){K.preventDefault();e.focus()}});e.keydown(function(K){var i=K.keyCode||K.which;if(!event.shiftKey&&i==9){K.preventDefault();c.focus()}});g.css("top",J);g.css("left",t);g.css("zIndex",1);g.hide().fadeIn(200);$triggerObject.click(function(i){g.remove();$triggerObject.off("click",arguments.callee)});$triggerObject.keydown(function(i){var i=i||windows.event;if(i.keyCode!=27&&i.keyCode!=13){return}if(!g.is(":focus")){return}g.remove();n();$triggerObject.off("keydown",arguments.callee)});if(!q){var F=function(i){a.RemoveLinkListPopups();j.off("click",F);n()};j.click(F)}g.find("a").first().focus()};a.Item_Click=function(c){var b=$("a",this);var f=b.attr("href");var d=b.attr("target");if(f&&!MadCap.String.IsNullOrEmpty(f)){if(d){window.open(f,d)}else{if(document.parentNode!=null&&MadCap.Utilities.HasRuntimeFileType("Topic")&&$("html").attr("data-mc-target-type")=="EPUB"){document.parentNode.open(f)}else{document.location.href=f}}}MadCap.Utilities.PreventDefault(c)};a.RemoveLinkListTrees=function(){$(".responsive-link-list").remove()};a.RemoveLinkListPopups=function(){$(".link-list-popup").remove();$(".toolbar-button-drop-down").remove()};a.AddBackgroundTint=function(d,c){if(!c){c=document.body}var b=$("<div id='mc-background-tint'></div>");b.addClass(d);b.appendTo(c);return b[0]};a.RemoveBackgroundTint=function(){$("#mc-background-tint").remove()}})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(a){a.fn.fitVids=function(e){var c={customSelector:null};var d=document.createElement("div"),b=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];d.className="fit-vids-style";d.innerHTML="<style>.fluid-width-video-wrapper {width: 100%;position: relative;padding: 0;} .fluid-width-video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } </style>";b.parentNode.insertBefore(d,b);if(e){a.extend(c,e)}return this.each(function(){var g=["iframe[src*='player.vimeo.com']","iframe[src*='www.youtube.com']","iframe[src*='www.kickstarter.com']"];if(c.customSelector){g.push(c.customSelector)}var f=a(this).find(g.join(","));f.each(function(){var m=a(this);if(m.parent(".fluid-width-video-wrapper").length){return}var j=m.attr("height")&&!isNaN(parseInt(m.attr("height"),10))?parseInt(m.attr("height"),10):m.height(),k=!isNaN(parseInt(m.attr("width"),10))?parseInt(m.attr("width"),10):m.width(),h=j/k;if(!m.attr("id")){var l="fitvid"+Math.floor(Math.random()*999999);m.attr("id",l)}m.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",h*100+"%");m.removeAttr("height").removeAttr("width")})})}})(jQuery);!function(c){var a={},b={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next Slide",prevText:"Previous Slide",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start Slideshow",stopText:"Stop Slideshow",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4000,autoStart:!0,autoDirection:"next",autoHover:!1,autoDelay:0,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){},slideshowClass:""};c.fn.MCSlider=function(ah){if(0==this.length){return this}if(this.length>1){return this.each(function(){c(this).MCSlider(ah)}),this}var aj={},ao=this;a.el=this;var e=c(window).width(),ad=c(window).height(),J=function(){aj.settings=c.extend({},b,ah),aj.settings.slideWidth=parseInt(aj.settings.slideWidth),aj.children=ao.children(aj.settings.slideSelector),aj.children.length<aj.settings.minSlides&&(aj.settings.minSlides=aj.children.length),aj.children.length<aj.settings.maxSlides&&(aj.settings.maxSlides=aj.children.length),aj.settings.randomStart&&(aj.settings.startSlide=Math.floor(Math.random()*aj.children.length)),aj.active={index:aj.settings.startSlide},aj.carousel=aj.settings.minSlides>1||aj.settings.maxSlides>1,aj.carousel&&(aj.settings.preloadImages="all"),aj.minThreshold=aj.settings.minSlides*aj.settings.slideWidth+(aj.settings.minSlides-1)*aj.settings.slideMargin,aj.maxThreshold=aj.settings.maxSlides*aj.settings.slideWidth+(aj.settings.maxSlides-1)*aj.settings.slideMargin,aj.working=!1,aj.controls={},aj.interval=null,aj.animProp="vertical"==aj.settings.mode?"top":"left",aj.usingCSS=aj.settings.useCSS&&"fade"!=aj.settings.mode&&function(){var g=document.createElement("div"),d=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var f in d){if(void 0!==g.style[d[f]]){return aj.cssPrefix=d[f].replace("Perspective","").toLowerCase(),aj.animProp="-"+aj.cssPrefix+"-transform",!0}}return !1}(),"vertical"==aj.settings.mode&&(aj.settings.maxSlides=aj.settings.minSlides),ao.data("origStyle",ao.attr("style")),ao.children(aj.settings.slideSelector).each(function(){c(this).data("origStyle",c(this).attr("style"))}),F()},F=function(){ao.wrap('<div class="mc-wrapper"><div class="mc-viewport '+aj.settings.slideshowClass+'"></div></div>'),aj.viewport=ao.parent(),aj.loader=c('<div class="mc-loading" />'),aj.viewport.prepend(aj.loader),ao.css({width:"horizontal"==aj.settings.mode?100*aj.children.length+215+"%":"auto",position:"relative"}),aj.usingCSS&&aj.settings.easing?ao.css("-"+aj.cssPrefix+"-transition-timing-function",aj.settings.easing):aj.settings.easing||(aj.settings.easing="swing"),R(),aj.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),aj.viewport.parent().css({maxWidth:at()}),aj.settings.pager||aj.viewport.parent().css({margin:"0 auto 0px"}),aj.children.css({"float":"horizontal"==aj.settings.mode?"left":"none",listStyle:"none",position:"relative"}),aj.children.css("width",ar()),"horizontal"==aj.settings.mode&&aj.settings.slideMargin>0&&aj.children.css("marginRight",aj.settings.slideMargin),"vertical"==aj.settings.mode&&aj.settings.slideMargin>0&&aj.children.css("marginBottom",aj.settings.slideMargin),"fade"==aj.settings.mode&&(aj.children.css({position:"absolute",zIndex:0,display:"none"}),aj.children.eq(aj.settings.startSlide).css({zIndex:50,display:"block"})),aj.controls.el=c('<div class="mc-controls" />'),aj.settings.captions&&am(),aj.active.last=aj.settings.startSlide==ax()-1,aj.settings.video&&ao.fitVids();var d=aj.children.eq(aj.settings.startSlide);"all"==aj.settings.preloadImages&&(d=aj.children),aj.settings.ticker?aj.settings.pager=!1:(aj.settings.pager&&aq(),aj.settings.controls&&G(),aj.settings.auto&&aj.settings.autoControls&&Q(),(aj.settings.controls||aj.settings.autoControls||aj.settings.pager)&&aj.viewport.after(aj.controls.el)),U(d,Z)},U=function(f,d){var g=f.find('img:not([src=""])').length;if(0===g){return void d()}var h=0;f.find('img:not([src=""])').each(function(){$(this).one("load error",function(){++h===g&&d()}).each(function(){this.complete&&$(this).trigger("load")})})},Z=function(){if(aj.settings.infiniteLoop&&"fade"!=aj.settings.mode&&!aj.settings.ticker){var d="vertical"==aj.settings.mode?aj.settings.minSlides:aj.settings.maxSlides,f=aj.children.slice(0,d).clone().addClass("mc-clone").attr("aria-hidden",true),g=aj.children.slice(-d).clone().addClass("mc-clone").attr("aria-hidden",true);ao.append(f).prepend(g)}aj.loader.remove(),ap(),"vertical"==aj.settings.mode&&(aj.settings.adaptiveHeight=!0),aj.viewport.height(al()),ao.redrawSlider(),aj.settings.onSliderLoad(aj.active.index),aj.initialized=!0,aj.settings.responsive&&c(window).on("resize",t),aj.settings.auto&&aj.settings.autoStart&&aa(),aj.settings.ticker&&ae(),aj.settings.pager&&ab(aj.settings.startSlide),aj.settings.controls&&aw(),aj.settings.touchEnabled&&!aj.settings.ticker&&ak()},al=function(){var d=0,g=c();if("vertical"==aj.settings.mode||aj.settings.adaptiveHeight){if(aj.carousel){var f=1==aj.settings.moveSlides?aj.active.index:aj.active.index*af();for(g=aj.children.eq(f),i=1;i<=aj.settings.maxSlides-1;i++){g=f+i>=aj.children.length?g.add(aj.children.eq(i-1)):g.add(aj.children.eq(f+i))}}else{g=aj.children.eq(aj.active.index)}}else{g=aj.children}return"vertical"==aj.settings.mode?(g.each(function(){d+=c(this).outerHeight()}),aj.settings.slideMargin>0&&(d+=aj.settings.slideMargin*(aj.settings.minSlides-1))):d=Math.max.apply(Math,g.map(function(){return c(this).outerHeight(!1)}).get()),d},at=function(){var d="100%";return aj.settings.slideWidth>0&&(d="horizontal"==aj.settings.mode?aj.settings.maxSlides*aj.settings.slideWidth+(aj.settings.maxSlides-1)*aj.settings.slideMargin:aj.settings.slideWidth),d},ar=function(){var f=aj.settings.slideWidth,d=aj.viewport.width();return 0==aj.settings.slideWidth||aj.settings.slideWidth>d&&!aj.carousel||"vertical"==aj.settings.mode?f=(d/aj.settings.minSlides):aj.settings.maxSlides>1&&"horizontal"==aj.settings.mode&&(d>aj.maxThreshold||d<aj.minThreshold&&(f=(d-aj.settings.slideMargin*(aj.settings.minSlides-1))/aj.settings.minSlides)),f},R=function(){var f=1;if("horizontal"==aj.settings.mode&&aj.settings.slideWidth>0){if(aj.viewport.width()<aj.minThreshold){f=aj.settings.minSlides}else{if(aj.viewport.width()>aj.maxThreshold){f=aj.settings.maxSlides}else{var d=aj.children.first().width();f=Math.floor(aj.viewport.width()/d)}}}else{"vertical"==aj.settings.mode&&(f=aj.settings.minSlides)}return f},ax=function(){var g=0;if(aj.settings.moveSlides>0){if(aj.settings.infiniteLoop){g=aj.children.length/af()}else{for(var d=0,f=0;d<aj.children.length;){++g,d=f+R(),f+=aj.settings.moveSlides<=R()?aj.settings.moveSlides:R()}}}else{g=Math.ceil(aj.children.length/R())}return g},af=function(){return aj.settings.moveSlides>0&&aj.settings.moveSlides<=R()?aj.settings.moveSlides:R()},ap=function(){if(aj.children.length>aj.settings.maxSlides&&aj.active.last&&!aj.settings.infiniteLoop){if("horizontal"==aj.settings.mode){var g=aj.children.last(),d=g.position();s(-(d.left-(aj.viewport.width()-g.width())),"reset",0)}else{if("vertical"==aj.settings.mode){var f=aj.children.length-aj.settings.minSlides,d=aj.children.eq(f).position();s(-d.top,"reset",0)}}}else{var d=aj.children.eq(aj.active.index*af()).position();aj.active.index==ax()-1&&(aj.active.last=!0),void 0!=d&&("horizontal"==aj.settings.mode?s(-d.left,"reset",0):"vertical"==aj.settings.mode&&s(-d.top,"reset",0))}},s=function(l,f,g,k){if(aj.usingCSS){var h="vertical"==aj.settings.mode?"translate3d(0, "+l+"px, 0)":"translate3d("+l+"px, 0, 0)";ao.css("-"+aj.cssPrefix+"-transition-duration",g/1000+"s"),"slide"==f?(ao.css(aj.animProp,h),ao.on("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){ao.off("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),K()})):"reset"==f?ao.css(aj.animProp,h):"ticker"==f&&(ao.css("-"+aj.cssPrefix+"-transition-timing-function","linear"),ao.css(aj.animProp,h),ao.on("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){ao.off("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),s(k.resetValue,"reset",0),ai()}))}else{var d={};d[aj.animProp]=l,"slide"==f?ao.animate(d,g,aj.settings.easing,function(){K()}):"reset"==f?ao.css(aj.animProp,l):"ticker"==f&&ao.animate(d,speed,"linear",function(){s(k.resetValue,"reset",0),ai()})}},av=function(){for(var d="",f=ax(),h=0;f>h;h++){var g="";aj.settings.buildPager&&c.isFunction(aj.settings.buildPager)?(g=aj.settings.buildPager(h),aj.pagerEl.addClass("mc-custom-pager")):(g=h+1,aj.pagerEl.addClass("mc-default-pager")),d+='<div class="mc-pager-item"><a data-slide-index="'+h+'" class="mc-pager-link">Slide '+g+"</a></div>"}aj.pagerEl.html(d)},aq=function(){aj.settings.pagerCustom?aj.pagerEl=c(aj.settings.pagerCustom):(aj.pagerEl=c('<div class="mc-pager" />'),aj.settings.pagerSelector?c(aj.settings.pagerSelector).html(aj.pagerEl):aj.controls.el.addClass("mc-has-pager").append(aj.pagerEl),av()),aj.pagerEl.on("click","a",an)},G=function(){aj.controls.next=c('<a class="mc-next">'+aj.settings.nextText+"</a>"),aj.controls.prev=c('<a class="mc-prev">'+aj.settings.prevText+"</a>"),aj.controls.next.on("click",az),aj.controls.prev.on("click",aB),aj.settings.nextSelector&&c(aj.settings.nextSelector).append(aj.controls.next),aj.settings.prevSelector&&c(aj.settings.prevSelector).append(aj.controls.prev),aj.settings.nextSelector||aj.settings.prevSelector||(aj.controls.directionEl=c('<div class="mc-controls-direction" />'),aj.controls.directionEl.append(aj.controls.prev).append(aj.controls.next),aj.controls.el.addClass("mc-has-controls-direction").append(aj.controls.directionEl))},Q=function(){aj.controls.start=c('<div class="mc-controls-auto-item"><a class="mc-start">'+aj.settings.startText+"</a></div>"),aj.controls.stop=c('<div class="mc-controls-auto-item"><a class="mc-stop">'+aj.settings.stopText+"</a></div>"),aj.controls.autoEl=c('<div class="mc-controls-auto" />'),aj.controls.autoEl.on("click",".mc-start",ac),aj.controls.autoEl.on("click",".mc-stop",ag),aj.settings.autoControlsCombine?aj.controls.autoEl.append(aj.controls.start):aj.controls.autoEl.append(aj.controls.start).append(aj.controls.stop),aj.settings.autoControlsSelector?c(aj.settings.autoControlsSelector).html(aj.controls.autoEl):aj.controls.el.addClass("mc-has-controls-auto").append(aj.controls.autoEl),j(aj.settings.autoStart?"stop":"start")},am=function(){aj.children.each(function(){var d=c(this).attr("title");void 0!=d&&(""+d).length&&c(this).append('<div class="mc-caption"><div>'+d+"</div></div>")})},az=function(d){aj.settings.auto&&ao.stopAuto(),ao.goToNextSlide(),d.preventDefault()},aB=function(d){aj.settings.auto&&ao.stopAuto(),ao.goToPrevSlide(),d.preventDefault()},ac=function(d){ao.startAuto(),d.preventDefault()},ag=function(d){ao.stopAuto(),d.preventDefault()},an=function(d){aj.settings.auto&&ao.stopAuto();var f=c(d.currentTarget),g=parseInt(f.attr("data-slide-index"));g!=aj.active.index&&ao.goToSlide(g),d.preventDefault()},ab=function(d){var f=aj.children.length;return"short"==aj.settings.pagerType?(aj.settings.maxSlides>1&&(f=Math.ceil(aj.children.length/aj.settings.maxSlides)),aj.pagerEl.html(d+1+aj.settings.pagerShortSeparator+f),void 0):(aj.pagerEl.find("a").removeClass("active"),aj.pagerEl.each(function(g,h){c(h).find("a").eq(d).addClass("active")}),void 0)},K=function(){if(aj.settings.infiniteLoop){var d="";0==aj.active.index?d=aj.children.eq(0).position():aj.active.index==ax()-1&&aj.carousel?d=aj.children.eq((ax()-1)*af()).position():aj.active.index==aj.children.length-1&&(d=aj.children.eq(aj.children.length-1).position()),"horizontal"==aj.settings.mode?s(-d.left,"reset",0):"vertical"==aj.settings.mode&&s(-d.top,"reset",0)}aj.working=!1,aj.settings.onSlideAfter(aj.children.eq(aj.active.index),aj.oldIndex,aj.active.index)},j=function(d){aj.settings.autoControlsCombine?aj.controls.autoEl.html(aj.controls[d]):(aj.controls.autoEl.find("a").removeClass("active"),aj.controls.autoEl.find("a:not(.mc-"+d+")").addClass("active"))},aw=function(){1==ax()?(aj.controls.prev.addClass("disabled"),aj.controls.next.addClass("disabled")):!aj.settings.infiniteLoop&&aj.settings.hideControlOnEnd&&(0==aj.active.index?(aj.controls.prev.addClass("disabled"),aj.controls.next.removeClass("disabled")):aj.active.index==ax()-1?(aj.controls.next.addClass("disabled"),aj.controls.prev.removeClass("disabled")):(aj.controls.prev.removeClass("disabled"),aj.controls.next.removeClass("disabled")))},aa=function(){aj.settings.autoDelay>0?setTimeout(ao.startAuto,aj.settings.autoDelay):ao.startAuto(),aj.settings.autoHover&&ao.on("hover",function(){aj.interval&&(ao.stopAuto(!0),aj.autoPaused=!0)},function(){aj.autoPaused&&(ao.startAuto(!0),aj.autoPaused=null)})},ae=function(){var d=0;if("next"==aj.settings.autoDirection){ao.append(aj.children.clone().addClass("mc-clone").attr("aria-hidden",true))}else{ao.prepend(aj.children.clone().addClass("mc-clone"));var f=aj.children.first().position();d="horizontal"==aj.settings.mode?-f.left:-f.top}s(d,"reset",0),aj.settings.pager=!1,aj.settings.controls=!1,aj.settings.autoControls=!1,aj.settings.tickerHover&&!aj.usingCSS&&aj.viewport.on("hover",function(){ao.stop()},function(){var g=0;aj.children.each(function(){g+="horizontal"==aj.settings.mode?c(this).outerWidth(!0):c(this).outerHeight(!0)});var h=aj.settings.speed/g,l="horizontal"==aj.settings.mode?"left":"top",k=h*(g-Math.abs(parseInt(ao.css(l))));ai(k)}),ai()},ai=function(l){speed=l?l:aj.settings.speed;var f={left:0,top:0},g={left:0,top:0};"next"==aj.settings.autoDirection?f=ao.find(".mc-clone").first().position():g=aj.children.first().position();var k="horizontal"==aj.settings.mode?-f.left:-f.top,h="horizontal"==aj.settings.mode?-g.left:-g.top,d={resetValue:h};s(k,"ticker",speed,d)},ak=function(){aj.touch={start:{x:0,y:0},end:{x:0,y:0}},aj.viewport.on("touchstart",ay)},ay=function(f){if(aj.working){f.preventDefault()}else{aj.touch.originalPos=ao.position();var d=f.originalEvent;aj.touch.start.x=d.changedTouches[0].pageX,aj.touch.start.y=d.changedTouches[0].pageY,aj.viewport.on("touchmove",aA),aj.viewport.on("touchend",au)}},aA=function(l){var d=l.originalEvent,f=Math.abs(d.changedTouches[0].pageX-aj.touch.start.x),k=Math.abs(d.changedTouches[0].pageY-aj.touch.start.y);if(3*f>k&&aj.settings.preventDefaultSwipeX?l.preventDefault():3*k>f&&aj.settings.preventDefaultSwipeY&&l.preventDefault(),"fade"!=aj.settings.mode&&aj.settings.oneToOneTouch){var g=0;if("horizontal"==aj.settings.mode){var h=d.changedTouches[0].pageX-aj.touch.start.x;g=aj.touch.originalPos.left+h}else{var h=d.changedTouches[0].pageY-aj.touch.start.y;g=aj.touch.originalPos.top+h}s(g,"reset",0)}},au=function(h){aj.viewport.off("touchmove",aA);var d=h.originalEvent,f=0;if(aj.touch.end.x=d.changedTouches[0].pageX,aj.touch.end.y=d.changedTouches[0].pageY,"fade"==aj.settings.mode){var g=Math.abs(aj.touch.start.x-aj.touch.end.x);g>=aj.settings.swipeThreshold&&(aj.touch.start.x>aj.touch.end.x?ao.goToNextSlide():ao.goToPrevSlide(),ao.stopAuto())}else{var g=0;"horizontal"==aj.settings.mode?(g=aj.touch.end.x-aj.touch.start.x,f=aj.touch.originalPos.left):(g=aj.touch.end.y-aj.touch.start.y,f=aj.touch.originalPos.top),!aj.settings.infiniteLoop&&(0==aj.active.index&&g>0||aj.active.last&&0>g)?s(f,"reset",200):Math.abs(g)>=aj.settings.swipeThreshold?(0>g?ao.goToNextSlide():ao.goToPrevSlide(),ao.stopAuto()):s(f,"reset",200)}aj.viewport.off("touchend",au)},t=function(){var d=c(window).width(),f=c(window).height();if(!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))){(e!=d||ad!=f)&&(e=d,ad=f,ao.redrawSlider())}};return ao.goToSlide=function(m,p){if(!aj.working&&aj.active.index!=m){if(aj.working=!0,aj.oldIndex=aj.active.index,aj.active.index=0>m?ax()-1:m>=ax()?0:m,aj.settings.onSlideBefore(aj.children.eq(aj.active.index),aj.oldIndex,aj.active.index),"next"==p?aj.settings.onSlideNext(aj.children.eq(aj.active.index),aj.oldIndex,aj.active.index):"prev"==p&&aj.settings.onSlidePrev(aj.children.eq(aj.active.index),aj.oldIndex,aj.active.index),aj.active.last=aj.active.index>=ax()-1,aj.settings.pager&&ab(aj.active.index),aj.settings.controls&&aw(),"fade"==aj.settings.mode){aj.settings.adaptiveHeight&&aj.viewport.height()!=al()&&aj.viewport.animate({height:al()},aj.settings.adaptiveHeightSpeed),aj.children.filter(":visible").fadeOut(aj.settings.speed).css({zIndex:0}),aj.children.eq(aj.active.index).css("zIndex",51).fadeIn(aj.settings.speed,function(){c(this).css("zIndex",50),K()})}else{aj.settings.adaptiveHeight&&aj.viewport.height()!=al()&&aj.viewport.animate({height:al()},aj.settings.adaptiveHeightSpeed);var u=0,r={left:0,top:0};if(!aj.settings.infiniteLoop&&aj.carousel&&aj.active.last){if("horizontal"==aj.settings.mode){var f=aj.children.eq(aj.children.length-1);r=f.position(),u=aj.viewport.width()-f.outerWidth()}else{var q=aj.children.length-aj.settings.minSlides;r=aj.children.eq(q).position()}}else{if(aj.carousel&&aj.active.last&&"prev"==p){var k=1==aj.settings.moveSlides?aj.settings.maxSlides-af():(ax()-1)*af()-(aj.children.length-aj.settings.maxSlides),f=ao.children(".mc-clone").eq(k);r=f.position()}else{if("next"==p&&0==aj.active.index){r=ao.find("> .mc-clone").eq(aj.settings.maxSlides).position(),aj.active.last=!1}else{if(m>=0){var h=m*af();r=aj.children.eq(h).position()}}}}if("undefined"!=typeof r){var o="horizontal"==aj.settings.mode?-(r.left-u):-r.top;s(o,"slide",aj.settings.speed)}}}},ao.goToNextSlide=function(){if(aj.settings.infiniteLoop||!aj.active.last){var d=parseInt(aj.active.index)+1;ao.goToSlide(d,"next")}},ao.goToPrevSlide=function(){if(aj.settings.infiniteLoop||0!=aj.active.index){var d=parseInt(aj.active.index)-1;ao.goToSlide(d,"prev")}},ao.startAuto=function(d){aj.interval||(aj.interval=setInterval(function(){"next"==aj.settings.autoDirection?ao.goToNextSlide():ao.goToPrevSlide()},aj.settings.pause),aj.settings.autoControls&&1!=d&&j("stop"))},ao.stopAuto=function(d){aj.interval&&(clearInterval(aj.interval),aj.interval=null,aj.settings.autoControls&&1!=d&&j("start"))},ao.getCurrentSlide=function(){return aj.active.index},ao.getSlideCount=function(){return aj.children.length},ao.redrawSlider=function(){aj.children.add(ao.find(".mc-clone")).outerWidth(ar()),aj.viewport.css("height",al()),aj.settings.ticker||ap(),aj.active.last&&(aj.active.index=ax()-1),aj.active.index>=ax()&&(aj.active.last=!0),aj.settings.pager&&!aj.settings.pagerCustom&&(av(),ab(aj.active.index))},ao.destroySlider=function(){aj.initialized&&(aj.initialized=!1,c(".mc-clone",this).remove(),aj.children.each(function(){void 0!=c(this).data("origStyle")?c(this).attr("style",c(this).data("origStyle")):c(this).removeAttr("style")}),void 0!=c(this).data("origStyle")?this.attr("style",c(this).data("origStyle")):c(this).removeAttr("style"),c(this).unwrap().unwrap(),aj.controls.el&&aj.controls.el.remove(),aj.controls.next&&aj.controls.next.remove(),aj.controls.prev&&aj.controls.prev.remove(),aj.pagerEl&&aj.pagerEl.remove(),c(".mc-caption",this).remove(),aj.controls.autoEl&&aj.controls.autoEl.remove(),clearInterval(aj.interval),aj.settings.responsive&&c(window).off("resize",t))},ao.reloadSlider=function(d){void 0!=d&&(ah=d),ao.destroySlider(),J()},J(),this}}(jQuery);(function(){var a=MadCap.CreateNamespace("Slideshow");$(function(){if(MadCap.Utilities!=null&&MadCap.Utilities.LoadHandlers!=null){MadCap.Utilities.LoadHandlers.MadCapSlideshow=a.Init;a.Init(document)}});a.Init=function(b){var c;if($("html").attr("data-mc-target-type")){c=function(d,e){return d.attr("data-mc-"+e)}}else{c=function(d,e){return d.attr("madcap:"+e.replace("-",""))}}$(".MCSlider",b).each(function(r,n){var d=$(n);var w={};var C=n.className;var z=c(d,"random-start");var s=c(d,"infinite-loop");var B=c(d,"show-captions");var m=c(d,"controls");var I=c(d,"slide-width");var p=c(d,"adaptive-height");var A=c(d,"responsive");var v=c(d,"navigation");var x=true;var E=false;w.pagerCustom=null;if(v){if(v=="Thumbnails"){E=true;w.pagerCustom="#mc-pager"+(r+1).toString()}if(v=="None"){x=false}}var j=c(d,"auto-hover");var k=c(d,"auto-start");var f=c(d,"auto-controls");var l=c(d,"combine-controls");var h=c(d,"auto-direction");var g=+c(d,"auto-delay");var u=c(d,"mode");var D=+c(d,"speed");var y=+c(d,"pause");var t=+c(d,"slides-displayed");var H=c(d,"video");if(C){w.slideshowClass=C}if(z){if("true"==z.toString().toLowerCase()){w.randomStart=true}else{if("false"==z.toString().toLowerCase()){w.randomStart=false}}}if(s){if("true"==s.toString().toLowerCase()){w.infiniteLoop=true}else{if("false"==s.toString().toLowerCase()){w.infiniteLoop=false;w.hideControlOnEnd=true}}}if(B){if("true"==B.toString().toLowerCase()){w.captions=true}else{if("false"==B.toString().toLowerCase()){w.captions=false}}}if(m){if("true"==m.toString().toLowerCase()){w.controls=true}else{if("false"==m.toString().toLowerCase()){w.controls=false}}}w.pager=x;w.thumbnails=E;if(I){w.slideWidth=I}if(p){if("true"==p.toString().toLowerCase()){w.adaptiveHeight=true}else{if("false"==p.toString().toLowerCase()){w.adaptiveHeight=false}}}if(A){if("true"==A.toString().toLowerCase()){w.responsive=true}else{if("false"==A.toString().toLowerCase()){w.responsive=false}}}var e=false;if(j){if("true"==j.toString().toLowerCase()){w.autoHover=true;e=true}else{if("false"==j.toString().toLowerCase()){w.autoHover=false}}}if(k){if("true"==k.toString().toLowerCase()){w.autoStart=true;e=true}else{if("false"==k.toString().toLowerCase()){w.autoStart=false}}}if(f){if("true"==f.toString().toLowerCase()){w.autoControls=true;w.autoControlsCombine=true;e=true}else{if("false"==f.toString().toLowerCase()){w.autoControls=false;w.autoControlsCombine=false}}}if(e){w.auto=true}if(h){w.autoDirection=h}if(g){w.autoDelay=g}if(u){w.mode=u}if(D){w.speed=D}if(y){w.pause=y}if(t){w.minSlides=t;w.maxSlides=t;w.moveSlides=1;if(I){var G=I.match(/\d+/);var F=I.replace(/\d/g,"");w.slideWidth=(G/t)+F}}if(navigator.userAgent.indexOf("MSIE")!==-1){w.preloadImages="all"}w.video=true;w.useCSS=false;if(H){w.video=false}w.onSliderLoad=function(J){$(".MCSlide").css("visibility","visible")};var o;var q;if(MadCap.Utilities!=null&&MadCap.Utilities.HasRuntimeFileType("Topic")&&$("html").attr("data-mc-target-type")!="EPUB"&&$("html").attr("data-mc-target-type")!="EclipseHelp"){MadCap.Utilities.MessageBus.PostMessageRequest(parent,"get-href",null,function(J){if(J){var O=new MadCap.Utilities.Url(decodeURIComponent(J[0]));var L=new MadCap.Utilities.Url(O.Fragment.substring(1));o=L.Fragment;q=O.QueryMap.GetItem("Highlight");if(o){o=o.substring(1);o=o.replace(".","\\.");try{w.startSlide=$("[name="+o+"]").closest(".MCSlide").index();if(w.startSlide<0){w.startSlide=0}}catch(K){w.startSlide=0}}else{if(q){var N=q.replace('"',"").split(" ");for(var M=0;M<N.length;M++){if(N[M]==""){N.splice(N[M],1);M--}}$(".MCSlide",b).each(function(R,P){for(var S=0;S<N.length;S++){if(N[S]!=""){var Q=new RegExp("\\b"+N[S]+"\\b","i");var U=$(P).attr("title");if(U!=null&&U.match(Q)){w.startSlide=R;return false}var T=$(P).text();if(T!=null&&T.match(Q)){w.startSlide=R;return false}}}if(w.startSlide<0){w.startSlide=0}})}}}d.MCSlider(w);if(MadCap.Accessibility){MadCap.Accessibility.makeAccessibleMCSlideshow(b)}})}else{d.MCSlider(w);if(MadCap.Accessibility){MadCap.Accessibility.makeAccessibleMCSlideshow(b)}}})}})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){MadCap.Utilities.MessageBus={};var a=MadCap.Utilities.MessageBus;a._MessageHandlerFuncs=[];a._MessageInfos=[];a._MessageID=0;a.AddMessageHandler=function(f,e){var g=a._MessageHandlerFuncs.length;a._MessageHandlerFuncs[g]={HandlerFunc:f,ContextObj:e}};a.PostMessageRequest=function(h,g,f,e){a._MessageInfos[a._MessageID]=e;a._OnMessage("request",g,f,window,a._MessageID);a._MessageID++};a._PostMessageResponse=function(h,f,e,g){a._OnMessage("response",f,e,window,g);a._MessageID++};a._OnMessage=function(i,g,e,f,h){if(i==="request"){b(g,e,f,h)}else{if(i==="response"){if(a._MessageInfos[h]!=null){a._MessageInfos[h](e)}}}};a.GetIsCrossFrame=function(){return false};function b(h,e,f,i){var j=[];var g=d(h,e,j,f,i);if(!g.Handled){g=c(h,e,j)}if(g.FireResponse){a._PostMessageResponse(f,h,j.length>0?j:null,i)}}function d(n,f,p,g,o){var k={Handled:false,FireResponse:false};for(var l=0,m=a._MessageHandlerFuncs.length;l<m;l++){var h=a._MessageHandlerFuncs[l];var j=h.HandlerFunc;var e=h.ContextObj;if(e!=null){k=j.call(e,n,f,p,g,o)}else{k=j(n,f,p,g,o)}handled=k.Handled;if(handled){break}}return k}function c(f,e,i){var j={Handled:false,FireResponse:false};if(f=="DEBUG-AddLine"){f=e[0];MadCap.DEBUG.Log.AddLine(f);j.Handled=true}else{if(f=="url"){i[i.length]=document.location.href;j.Handled=true;j.FireResponse=true}else{if(f=="get-title"){i[i.length]=document.title;j.Handled=true;j.FireResponse=true}else{if(f=="navigate"){var h=e[0];document.location.href=encodeURI(h);j.Handled=true}else{if(f=="get-href"){i[i.length]=document.location.href;j.Handled=true;j.FireResponse=true}else{if(f=="get-return-url"){var l=new MadCap.Utilities.Url(document.location.href);var k=null;if(l.Fragment.length>1){k=l.QueryMap.GetItem("returnUrl")}i[i.length]=k;j.Handled=true;j.FireResponse=true}else{if(f=="get-parent-window-width"){i[i.length]=window.innerWidth;j.Handled=true;j.FireResponse=true}else{if(f=="set-topic-content"){LoadTopicContent(e);j.Handled=true}else{if(f=="hash-changed"){var g=e[0];g=g.substring(1);history.pushState(null,null,document.location.pathname+document.location.hash+"$"+g);j.Handled=true}else{if(f=="get-csh-id"){i[i.length]=MadCap.Default.LoadVarMap().GetItem("cshid");j.Handled=true;j.FireResponse=true}}}}}}}}}}return j}})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){var g=MadCap.Utilities.MessageBus;g._SafeList=[];var f="%%%%%";var c="^^^^^";if(window.postMessage!=="undefined"){$(window).on("message",function(i){g.OnCrossFrameMessage(i)})}g.PostMessageRequest=function(m,k,j,i){g._MessageInfos[g._MessageID]=i;var l=b("request",k,j,g._MessageID);h(m,l);g._MessageID++};g._PostMessageResponse=function(m,j,i,k){var l=b("response",j,i,k);h(m,l);g._MessageID++};g.GetIsCrossFrame=function(){return true};g.OnCrossFrameMessage=function(l){var j=l.originalEvent;if(!g.CheckMessageOrigin(j)){console.warn("Refusing to handle cross-origin message: %s",j.data);return}var k=d(j);var i=e(k.messageDataString);g._OnMessage(k.messageType,k.message,i,j.source,k.messageID)};g.AddVerifiedOrigin=function(i){g._SafeList.push(i)};g.CheckMessageOrigin=function(i){return(i.origin===window.origin)||(i.origin===location.origin)||(i.origin==="file:"&&(i.origin===location.origin.replace(/\//g,"")))||g._SafeList.indexOf(i.origin)>-1};function h(k,j){if(typeof k==="undefined"||k===null){return}if(k.postMessage!=null){k.postMessage(j,"*");return}var i={dataString:j,source:window};k.MadCap.Utilities.MessageBus.OnCrossFrameMessage(i)}function d(i){var j=i.data.split(f);return{messageType:j[0],message:j[1],messageDataString:j[2],messageID:j[3]}}function e(j){var k=null;if(!MadCap.String.IsNullOrEmpty(j)){k=j.split(c);for(var l=0,m=k.length;l<m;l++){if(k[l]=="null"){k[l]=null}}}return k}function a(k){var j="";if(k!=null){for(var l=0,m=k.length;l<m;l++){if(l>0){j+=c}j+=k[l]}}return j}function b(m,k,j,l){var i=a(j);return m+f+k+f+i+f+l}})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){MadCap.Default=MadCap.CreateNamespace("Default");MadCap.Default.LoadVarMap=s;if(!MadCap.Utilities.HasRuntimeFileType("Default")){return}f();var j=MadCap.Utilities.HasRuntimeFileType("TriPane");var h=j||MadCap.Utilities.IsRuntimeFileType("Default");var i=MadCap.Utilities.HasRuntimeFileType("SkinPreview");var g=MadCap.Utilities.HasRuntimeFileType("Central");function x(y){MadCap.DEBUG.Log.AddLine(window.name+"onload");MadCap.DEBUG.Log.AddLine(window.name+"hash: "+document.location.hash);MadCap.DEBUG.Log.AddLine(window.name+"search: "+document.location.search);e();var A=$(document.documentElement).attr("data-mc-path-to-help-system");var z="Data/HelpSystem.xml";if(A){z=A+z}if(MadCap.WebHelp&&MadCap.WebHelp.HelpSystem){MadCap.WebHelp.HelpSystem.LoadHelpSystem(z).done(function(C){a=C;var B=MadCap.Utilities.Url.GetDocumentUrl();if(document.location.hash.length>1){n()}else{m(a.DefaultStartTopic+B.Query)}if(B.QueryMap.GetItem("cshid")!=null){l()}o();v();u();if(!a.IsResponsive){$("body").addClass("web")}d();t(y)})}}function e(){$("input, textarea").placeholder();$("a.logo, a.homeLink, a.GenConceptText, a.GlossaryPageLink").on("click",MadCap.Utilities.Url.OnNavigateTopic)}function d(){if(a&&a.IsCentralHosted){$("html").addClass("central-hosted");$(".central-dropdown-content-settings").attr("href",c(a.CentralSettingsLink));$(".central-dropdown-content-logout").attr("href",c(a.CentralLogoutLink))}}function c(y){var z=new MadCap.Utilities.Url(y);var A;if(!z.IsAbsolute){A=new MadCap.Utilities.Url(document.location.href).LocalPath}else{A=document.location.href}return MadCap.Utilities.Url.EnsureUrlSafety(y+"?returnUrl=")+encodeURIComponent(A)}function f(){MadCap.TriPane=MadCap.CreateNamespace("TriPane");$.extend(MadCap.TriPane,{AdjustTabs:y,ShowPane:y,LoadFile:y,SetActivePane:y,LoadPane:y});function y(){console.error("Warning: TriPane code is being run in non-TriPane skin.")}}function v(){var y=$(".select-skin-button");if(i||(a.IsResponsive&&a.DefaultSkin!=null&&a.GetSkins().length>1)){y.on("click",function(z){var A=[];var B=new MadCap.Utilities.Url(document.location.href);$.each(a.GetSkins(),function(C,E){var D={Title:E.Name,Link:B.PlainPath+"?skinName="+E.SkinID+B.Fragment};A[A.length]=D});MadCap.TextEffects.CreateToolbarDropdown(A,z.currentTarget,"select-skin-drop-down");z.preventDefault();z.stopPropagation()})}else{y.hide()}}function u(){var y=$(".select-language-button");if(i){y.on("click",function(z){MadCap.TextEffects.CreateDummyToolbarDropdown(y,"select-language-drop-down","Language");z.preventDefault();z.stopPropagation()});return}if(!a.IsMultilingual){y.hide();return}require([a.GetPath()+"../languages.js"],function(z){var A=z.data;if(A.length>1){y.on("click",function(B){var D=[];var I=a.GetPath();var G=a.GetCurrentTopicPath();var J=new MadCap.Utilities.Url(document.location.href);for(var C=0;C<A.length;C++){var H="../"+A[C].code+"/";var F=I+H+G;var E={Title:A[C].full,Link:F};D[D.length]=E}MadCap.TextEffects.CreateToolbarDropdown(D,B.currentTarget,"select-language-drop-down");B.preventDefault();B.stopPropagation()})}else{y.hide()}})}var k=window.innerWidth;var b=true;var t=MadCap.Utilities.Debounce(function(){var y=window.innerWidth;MadCap.SkinHelper.OnLayout(k,b);k=y;b=false},50);function w(y){MadCap.DEBUG.Log.AddLine(window.name+"onhashchange: "+document.location.hash);MadCap.Utilities.Url.SanitizeHash();if(document.location.hash.length>1){n()}else{if(a){m(a.DefaultStartTopic)}}}function n(){if(document.location.hash.length==0){return}var y=MadCap.Utilities.Url.GetDocumentUrl();var A=MadCap.Utilities.Url.CurrentHash();var B=MadCap.Utilities.Url.StripInvalidCharacters(A);if(MadCap.String.IsNullOrEmpty(B)){document.location.hash="";return}var z=B.substring(1);var F=decodeURIComponent(z);F=MadCap.Utilities.Url.StripInvalidCharacters(F);if(MadCap.String.Contains(F,"cshid=")||MadCap.String.Contains(F,"searchQuery=")||MadCap.String.Contains(F,"skinName=")){l();return}else{if(MadCap.String.StartsWith(z,MadCap.SearchHelper.SearchPrefixTri)){var D=z.substring(MadCap.SearchHelper.SearchPrefixTri.length);MadCap.SearchHelper.DoSearchOrRedirect(D,null);return}else{if(MadCap.String.StartsWith(F,"communitysearch-")){var E=F.substring("communitysearch-".length);MadCap.SearchHelper.SetSelectedSearchQuery(E);MadCap.SearchHelper.DoSearch(E,null,1,false,true,-1,0);return}else{if(MadCap.String.StartsWith(F,"pulse-")){var C=F.substring("pulse-".length);MadCap.FeedbackHelper.LoadStream(C);return}}}}r(F)}function r(A){var B=new MadCap.Utilities.Url(A);if(a){if(B.IsAbsolute){if(a.PreventExternalUrls){A=a.DefaultStartTopic}else{var y=B.Query.indexOf("?");var z=B.Query.lastIndexOf("?");var C="";if(y!=z){C=B.Query.substr(y,z)}if(B.FullPath.indexOf("http://")!=0){A=a.ContentFolder+B.ToNoQuery().FullPath+(MadCap.String.IsNullOrEmpty(C)?"":C)}else{A=B.ToNoQuery().FullPath+(MadCap.String.IsNullOrEmpty(C)?"":C)}}}else{if(B.QueryMap.GetItem("tocpath")){A=a.ContentFolder+B.PlainPath+B.Fragment+"?";B.QueryMap.ForEach(function(D,E){A+=D+"="+encodeURIComponent(E)+"&"});A=A.slice(0,-1)}else{A=a.ContentFolder+B.ToNoQuery().FullPath}}}m(A)}function m(z){if(!h){return}var y=new MadCap.Utilities.Url(decodeURIComponent(document.location.href));if(!j){var A=new MadCap.Utilities.Url(y.PlainPath);if(!A.IsFolder){A=A.ToFolder()}var B=A.CombinePath(z);MadCap.Utilities.Url.Navigate(B.FullPath)}else{MadCap.TriPane.LoadFile(z,y)}}function o(){p();q()}function p(){var z=MadCap.Utilities.Url.GetDocumentUrl();var y=z.QueryMap.GetItem("q");if(y){MadCap.SearchHelper.DoSearchOrRedirect(z.Query,null)}}function q(){var z=MadCap.Utilities.Url.GetDocumentUrl();var y=z.QueryMap.GetItem("skinName");MadCap.SkinHelper.ApplySkinByName(y,a)}function s(){var y=new MadCap.Utilities.Url(document.location.href);var z=new MadCap.Utilities.Dictionary(true);$.each([y.QueryMap,y.HashMap],function(A,B){B.ForEach(function(C,D){z.Add(C,D)})});return z}function l(){var D=s();var A=D.GetItem("searchQuery".toLowerCase());var B=D.GetItem("skinName".toLowerCase());if(A!=null){MadCap.SearchHelper.SetSelectedSearchQuery(decodeURIComponent(A));var z=MadCap.String.ToBool(D.GetItem("firstPick".toLowerCase()),false);if(z){MadCap.SearchHelper.SearchPane.Search(A,{searchContent:true}).then(function(F){var E=F.content;if(E.length>=1){r(E[0].Link.replace(/^(Content)/,""))}})}else{MadCap.SearchHelper.DoSearchOrRedirect(A,B)}}else{var y=D.GetItem("cshid");if(y!=null){a.LookupCSHID(y,function(F){var L=s();var E=L.GetItem("cshid");var H=L.GetItem("skinName".toLowerCase());if(F.Found){var I=F.Topic;var J=new MadCap.Utilities.Url(I);var K=MadCap.Utilities.Url.GetDocumentUrl();var G="?cshid="+E;G+=H?"&skinName="+H:"";I=new MadCap.Utilities.Url(J.PlainPath+G+J.Fragment).FullPath;m(I)}else{m(a.DefaultStartTopic)}MadCap.SkinHelper.ApplySkinByName(H||F.Skin,a)});return}else{var C=MadCap.Utilities.Url.GetDocumentUrl();m(a.DefaultStartTopic+C.Fragment)}}MadCap.SkinHelper.ApplySkinByName(B,a)}MadCap.Utilities.Url.SanitizeHash();$(x);$(window).on("resize",t);if(j||!i){$(window).on("hashchange",w)}var a=null;if($(document).foundation){$(document).foundation()}})();(function(){MadCap.MediaQueries=MadCap.CreateNamespace("MediaQueries");var g=MadCap.MediaQueries;var b=null;var c=null;var a=null;var f=MadCap.Utilities.HasRuntimeFileType("SkinPreview");var e=1024;var d=760;$(function(){MadCap.WebHelp.HelpSystem.LoadHelpSystemDefault().done(function(j){a=j;if(j.IsResponsive){i()}})});g.ApplyListenerToTabletMediaQuery=function(k,l){if(c==null){var j=f?e:a.Breakpoints.mediums.Tablet;c=h(j)}c.addListener(k);if(l){k(c)}};g.ApplyListenerToMobileMediaQuery=function(k,l){if(b==null){var j=f?d:a.Breakpoints.mediums.Mobile;b=h(j)}b.addListener(k);if(l){k(b)}};function h(j){var k="only screen and (min-width: "+j+"px)";return window.matchMedia(k)}function i(){var m=$(window).width();var k={bubbles:false,detail:{medium:a.getLayout(m)}};var j=MadCap.Utilities.CreateEvent("mc_changeMedium",k);function l(){window.dispatchEvent(j)}g.ApplyListenerToTabletMediaQuery(l);g.ApplyListenerToMobileMediaQuery(l)}})();var KEYCODE_ENTER=13;var KEYCODE_SPACE=32;var KEYCODE_ESC=27;var KEYCODE_ARR_UP=38;var KEYCODE_ARR_DOWN=40;var elsThatNeedTransparentImg=[];var transparentUrl;var helpSystem;var isTriPane;(function(){MadCap.Accessibility=MadCap.CreateNamespace("Accessibility");MadCap.Accessibility.makeAccessibleButton=makeAccessibleButton;MadCap.Accessibility.setAriaControls=setAriaControls;MadCap.Accessibility.appendTransparentImg=appendTransparentImg;MadCap.Accessibility.initTextEffectsAccessibility=initTextEffectsAccessibility;MadCap.Accessibility.initPopupTopicAccessibility=initPopupTopicAccessibility;MadCap.Accessibility.initTopNavMenuButtons=initTopNavMenuButtons;MadCap.Accessibility.initTopNavSubmenuAccessibility=initTopNavSubmenuAccessibility;MadCap.Accessibility.initMenuDropdownAccessibility=initMenuDropdownAccessibility;MadCap.Accessibility.tripaneTopicFrameSkip=tripaneTopicFrameSkip;MadCap.Accessibility.tripaneGlossarySkip=tripaneGlossarySkip;MadCap.Accessibility.makeAccessibleMCSlideshow=makeAccessibleMCSlideshow;MadCap.Accessibility.getPulseLabel=getPulseLabel;MadCap.Accessibility.getElasticSearchHistoryLabel=getElasticSearchHistoryLabel;MadCap.Accessibility.getElasticSearchContentLabel=getElasticSearchContentLabel;$(document).ready(function(){disallowLinkHiddenByNav();makeAccessibleButton($(".search-filter"));makeAccessibleButton($(".search-submit"));initTextEffectsAccessibility();initTableAccessibility();isTriPane=MadCap.Utilities.HasRuntimeFileType("TriPane");if(isTriPane){triPaneSkipToContent();initTripaneSidebarAccessibility();initTripaneSearchAccessibility();makeAccessibleButton($("div.button"));$("#tripane-iframe-title").on("focusout blur",function(){$(this).attr({tabindex:"","aria-hidden":"true"})})}else{var a=$("a.logo");appendTransparentImg(a,a.attr("alt"));a.removeAttr("alt");assureMainContent();nonTripaneSkipToContent()}getHelpSystem(function(){initExpandCollapseAccessibility();transparentUrl=helpSystem.GetTransparentImagePath();elsThatNeedTransparentImg.forEach(function(b){addTransparentImg(b.$el,b.altText)})});initMenuDropdownAccessibility($(".mc-dropdown-item"));initSkipLinks();customTooltip()})})();function initTripaneSearchAccessibility(){var a=$("#search-field");var b=$("#search-field-sidebar");var c=$(".search-submit");tripaneSearchFrameSkip(a,function(){return a.val()},"keyup");tripaneSearchFrameSkip(b,function(){return a.val()},"keyup");tripaneSearchFrameSkip(c,function(){return c.val()},"click")}function initMenuDropdownAccessibility(a){a.on("keydown",function(d){var c=$(this);var b;if(d.keyCode===KEYCODE_ARR_DOWN){b=c.parent().next().children().first()}else{if(d.keyCode===KEYCODE_ARR_UP){b=c.parent().prev().children().first()}}if(b){b.focus()}})}function initTextEffectsAccessibility(a){initDropDownAccessibility(a);initTogglerAccessibility(a);initExpandingAccessibility(a);initPopupAccessibility(a);initConceptLinkAccessibility(a)}function initTableAccessibility(){$("thead th").each(function(){if((typeof $(this).attr("scope"))==="undefined"){$(this).attr("scope","col")}});$("tbody th").each(function(){if((typeof $(this).attr("scope"))==="undefined"){$(this).attr("scope","row")}})}function getHelpSystem(a){if(!a){return}var c=$(document.documentElement).attr("data-mc-path-to-help-system");var b="Data/HelpSystem.xml";if(c){b=c+b}if(MadCap.WebHelp&&MadCap.WebHelp.HelpSystem){MadCap.WebHelp.HelpSystem.LoadHelpSystem(b).done(function(d){helpSystem=d;a()})}}function appendTransparentImg(a,b){if(helpSystem){addTransparentImg(a,b)}else{elsThatNeedTransparentImg.push({$el:a,altText:b})}}function addTransparentImg(a,c){if(helpSystem&&transparentUrl){var b=$("<img></img>").attr({src:transparentUrl,alt:c}).addClass("invisible-label");a.append(b)}else{Console.error("Error: Tried to add transparentImg before helpSystem was initialized.")}}function initPopupTopicAccessibility(b,e,g){var f=getTopicCloseButtonLabel();var a=$("<span class='CloseTopicPopupButtonContainer'></span>");var d=$("<button tabindex='1' class='CloseTopicPopupButton CloseTopicOuter' aria-label='"+f+"'></button>");var c=$("<button tabindex='3' class='CloseTopicPopupButton CloseTopicInner' aria-label='"+f+"'>&#215;</button>");d.on("focus",function(){c.focus()});c.on("click",function(){g.Close()}).on("keydown",function(h){var i=h.keyCode||h.which;if(i==9&&!h.shiftKey){e.focus()}});d.append(c);a.append(d);b.prepend(a);e.attr("tabindex","2");e.focus();e.on("load",function(){MadCap.Utilities.MessageBus.PostMessageRequest(this.contentWindow,"get-title",null,function(h){var i=h[0];if(i){c.attr("aria-label",getTopicCloseButtonLabel(i))}})})}function initConceptLinkAccessibility(b){var a=$(".conceptLink",b);makeAccessibleButton(a);a.attr("aria-expanded",false)}function initDropDownAccessibility(a){$(".MCDropDown",a).each(function(){var d=$(this);var c=d.find(".MCDropDownHead > a").first();var b=d.find(".MCDropDownBody").first();setAriaControls(c,b,"mc-dropdown-body");makeAccessibleButton(c)})}function initTogglerAccessibility(a){$(".MCToggler",a).each(function(){var b=$(this);var c=b.attr("data-mc-targets");b.attr({"aria-expanded":"false","aria-controls":c});makeAccessibleButton(b);$('[data-mc-target-name="'+c+'"]').attr("id",c)})}function initExpandingAccessibility(a){$(".MCExpanding",a).each(function(){var d=$(this);var c=d.find("a.MCExpandingHead").first();var b=d.find(".MCExpandingBody").first();setAriaControls(c,b,"mc-expanding");makeAccessibleButton(c)})}function initPopupAccessibility(a){$(".MCTextPopup",a).each(function(){var c=$(this);var b=c.parent().find(".MCTextPopupBody").first();var d=MadCap.Utilities.GenerateRandomGUID();b.attr({role:"tooltip",id:d});c.attr("data-aria-describedby",d);makeAccessibleButton(c,function(){c.focus();if(b.is(":visible")){c.trigger("mouseleave")}else{c.trigger("mouseenter")}});c.on("focusout keydown",function(g){var f=g.keyCode||g.which;if(f&&f!=KEYCODE_ESC){return}c.trigger("mouseleave")})})}function initTripaneSidebarAccessibility(){var a=$("#home");var b=$(".tab");makeAccessibleButton(a);b.each(function(){var c=$(this);var e=c.find("li").first();var d=c.find(".tabs-panel");setAriaControls(e,d,"tripane-side-tab");e.attr("aria-expanded","false");makeAccessibleButton(e)});$("#sidebarButton").on("click",function(){var c=$("#navigation");var d=((c.is(":hidden"))?"-1":"0");c.attr("tabindex",d).focus();a.attr("tabindex",d);$(".tab > ul > li").attr("tabindex",d)});handleNavExpand($("#sidebarButton"))}function initExpandCollapseAccessibility(){var a=$(".expand-all-button");if(a.length===0){return}var d=a.parents(".mc-component").length>0;var c=getAltText("ToolbarItem.ExpandAll",d,"TopicToolbar");var b=getAltText("ToolbarItem.CollapseAll",d,"TopicToolbar");a.children("img").attr("alt",c);a.on("click",function(){var e=$(this).children("img");var f=e.attr("alt")===c?b:c;e.attr("alt",f)})}function nonTripaneSkipToContent(){var a=$(".skip-to-content");a.attr("href","#mc-main-content");a.on("focusin",function(){var b="-"+a.parent().css("padding-top");a.css("top",b)}).on("focusout",function(){a.css("top","")})}function triPaneSkipToContent(){$(".skip-to-content").on("click",function(b){b.preventDefault();var a=$("#topic");if(a.css("display")=="none"){a=$("#results-heading")}else{if(MadCap.Utilities.IsIE()){tripaneTopicFrameSkipHandler($("title").text());return}}makeTempFocusableAndFocus(a)})}function disallowLinkHiddenByNav(){var a=$(".title-bar.sticky");if(a.length>0){$(".body-container a").on("focus",function(c){var b=$(this);var f=b.offset().top;var d=a.offset().top+a.outerHeight();if(f<d){window.scrollTo({top:f-(a.outerHeight()+20),behavior:"smooth"})}})}}function makeAccessibleButton(a,b){a.attr("role","button");if(!a.is("a")||a.attr("href")===undefined){a.attr("tabindex",0)}if(b){a.on("click",function(c){c.preventDefault();b()})}a.on("keydown",function(d){var c=d.keyCode||d.which;if(c==KEYCODE_ENTER||c==KEYCODE_SPACE){d.preventDefault();$(this).click()}})}function makeAccessibleMCSlideshow(a){appendTransparentImg($(".mc-prev",a),"previous");appendTransparentImg($(".mc-next",a),"next");makeAccessibleButton($(".mc-prev, .mc-next, .mc-stop, .mc-start, .mc-pager-link",a))}function customTooltip(a){if(a===undefined){a=$("[title]:not(.MCSlide)")}a.on("mouseover focusin",function(d){var b=$(this);var f=b.attr("title");if(!f){return}b.data("data-title",f).removeAttr("title");var c=$('<p class="tooltip"></p>').text(f).appendTo("body").css({display:"none"});placeAndShowTooltip(c,b,d)}).on("mouseleave focusout",function(){var b=$(this);var c=b.attr("data-current-state");var d=c?b.attr("data-state"+c+"-title"):b.data("data-title");setTimeout(function(){b.attr("title",d)},50);$(".tooltip").remove()})}function placeAndShowTooltip(b,a,c){if(a.parent()&&a.parent().is("map")){a=$('[usemap="#'+a.parent().attr("id")+'"]')}if(c.type=="mouseover"){placeAndShowMouseTooltip(b,a,c)}else{placeAndShowFocusTooltip(b,a)}}function placeAndShowMouseTooltip(b,a,e){var d=e;setTimeout(function(){a.unbind("mousemove");c();b.fadeIn(250)},350);a.on("mousemove",function(f){d=f});function c(){var h=16;var i=d.pageX;var j=d.pageY+h;function f(){return i-b.outerWidth()}function g(){return j-h*2}applyCoordinatesToTooltip(b,i,j,f,g)}}function placeAndShowFocusTooltip(b,a){var e=a.offset().left;var f=a.offset().top+a.outerHeight()-5;function c(){return e-(b.outerWidth()-a.outerWidth())}function d(){return a.offset().top-b.outerHeight()-15}applyCoordinatesToTooltip(b,e,f,c,d);b.fadeIn(250)}function applyCoordinatesToTooltip(a,h,i,c,d){var e=i+a.outerHeight();var f=h+a.outerWidth();var b=$(window);var g=b.scrollTop()+b.height();if(e>g){i=d()}if(f>b.width()){h=c()}a.css({left:h,top:i})}function handleNavExpand(a){a.on("click",function(){$this=$(this);if($this.attr("aria-expanded")==="true"){$this.attr("aria-expanded","false");$("#navigation").focus()}else{$this.attr("aria-expanded","true")}})}function setAriaControls(b,a,e){var d=MadCap.Utilities.GenerateRandomGUID();var c=e?e+d:d;b.attr("aria-controls",c);a.attr("id",c)}function initSkipLinks(){$("a[href^='#']").on("click",function(){var b=$(this).attr("href").slice(1);if(b===""||b==="!"){return}var a=$("#"+b);if(!a.attr("tabindex")){makeTempFocusable(a)}a.focus()})}function tripaneTopicFrameSkip(a,b){a.on("click",function(){tripaneTopicFrameSkipHandler(b)})}function tripaneTopicFrameSkipHandler(b){var a=$("#tripane-iframe-title");a.attr({tabindex:"-1","aria-hidden":"false"});a.text(getTopicFrameDescriptionLabel(b));a.focus()}function tripaneSearchFrameSkip(a,d,c){var b=$("#tripane-iframe-title");a.on(c,function(f){if(f.type==="keyup"&&f.keyCode!==KEYCODE_ENTER){return}b.attr({tabindex:"-1","aria-hidden":"false"});b.text(getSearchFrameDescriptionLabel(d()));b.focus()})}function tripaneGlossarySkip(a,b){a.attr("aria-label",getGlossarySkipLabel(b));a.removeAttr("role");a.on("blur",function(){a.removeAttr("aria-label")});tripaneTopicFrameSkip(a,"Topic with"+b)}function initTopNavMenuButtons(d,e,b,c){var a=$("<button class='topnav-expand showOnFocus'/>");if(c==2){a.html("&raquo;");a.addClass("topnav-expand-toplevel")}else{if(c>2){a.addClass("topnav-expand-submenu")}}$(d).append(a);a.attr({"aria-label":b.text(),"aria-expanded":"false","aria-haspopup":"true"});a[0].hasExpanded=false;a.on("click",function(g){g.preventDefault();var f=$(this);e.TreeNode_Expand(g);if(!this.hasExpanded){setTimeout(function(){accessibleExpandSubMenu(f)},100);this.hasExpanded=true}else{accessibleExpandSubMenu(f)}}).on("keyup",function(f){if(f.keyCode==KEYCODE_ESC){a.siblings(".sub-menu").removeClass("focus-within-expanded");a.attr("aria-expanded",false)}})}function makeTempFocusable(a){a.attr("tabindex","-1");a.one("focusout blur",function(){$(this).removeAttr("tabindex")});return a}function assureMainContent(){var a=$("#mc-main-content");if(a.length===0){a=$("[role='main']")}if(a.length===0){a=$("main")}if(a.length===0){a=$("body")}a.attr({id:"mc-main-content",role:"main"});return a}function makeTempFocusableAndFocus(a){makeTempFocusable(a);a.focus()}function accessibleExpandSubMenu(a){a.siblings(".sub-menu").addClass("focus-within-expanded");a.attr("aria-expanded",true)}function initTopNavSubmenuAccessibility(b,c){var a=b.children(".topnav-expand").attr("aria-expanded","true");setAriaControls(a,c,"topnav-submenu");c.find("a, button").focus(function(){var d=$(this).parents(".sub-menu");d.addClass("focus-within-expanded");d.siblings("button").attr("aria-expanded","true")}).focusout(function(){$(this).parents(".sub-menu").removeClass("focus-within-expanded");$(this).siblings(".sub-menu").removeClass("focus-within-expanded");b.trigger("mouseleave")}).on("keydown",function(d){if(d.keyCode==KEYCODE_ESC){d.stopImmediatePropagation();a.focus()}})}function getAltText(b,c,a){return helpSystem.GetLanguageString(b,c,a,"AltText")}function getAccessibilityLabel(b,c,a){return helpSystem.GetLanguageString(b,c,a,"Accessibility Label")}function getGlossarySkipLabel(a){return makeAccessibilityLabel("Navigation Panel Item Definition",a,"title")}function getTopicCloseButtonLabel(a){return makeAccessibilityLabel("Topic Popup Close Button",a,"title")}function getPulseLabel(){return getAccessibilityLabel("Pulse Frame")}function getElasticSearchHistoryLabel(c,a){var b=$(a).parents(".mc-component").length>0;return makeAccessibilityLabel("Search Auto-complete Item.Search History",c,"term",b,"SearchBar")}function getElasticSearchContentLabel(c,a){var b=$(a).parents(".mc-component").length>0;return makeAccessibilityLabel("Search Auto-complete Item.Project Content",c,"title",b,"SearchBar")}function getTopicFrameDescriptionLabel(a){return makeAccessibilityLabel("Topic Frame Description",a,"topic title")}function getSearchFrameDescriptionLabel(a){return makeAccessibilityLabel("Search Frame Description",a,"query")}function makeAccessibilityLabel(b,c,g,d,a){var e=getAccessibilityLabel(b,d,a);if(e){var f=e.split("{"+g+"}");if(f.length===2){return f[0]+(c?c:"")+f[1]}}return e};/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
MadCap.WebHelp=MadCap.CreateNamespace("WebHelp");MadCap.WebHelp.HelpSystem=function(G,F,J,I,a){var z=this;var x=G;var y=new MadCap.Utilities.Url(J).ToFolder().ToFolder().FullPath;var j=null;var B=new Array();var D=I;var m=a;var t=null;var u=[];var v=new MadCap.Utilities.Dictionary();var n=null;var E=new MadCap.Utilities.Dictionary();var s=false;var k=new MadCap.WebHelp.AliasFile(y+"Data/Alias.xml",this);var C=new MadCap.WebHelp.TocFile(this,MadCap.WebHelp.TocFile.TocType.Toc);var w=null;var l=new MadCap.WebHelp.TocFile(this,MadCap.WebHelp.TocFile.TocType.BrowseSequence);var A=new MadCap.Utilities.Dictionary();this.TargetType=null;this.DefaultStartTopic=null;this.InPreviewMode=null;this.LiveHelpOutputId=null;this.LiveHelpServer=null;this.LiveHelpEnabled=false;this.IsWebHelpPlus=false;this.ContentFolder=null;this.UseCustomTopicFileExtension=false;this.CustomTopicFileExtension=null;this.IsMultilingual=false;this.GlossaryUrl=null;this.SearchFilterSetUrl=null;this.SyncTOC=null;this.IndexPartialWordSearch=true;this.GlossaryPartialWordSearch=true;this.DefaultSkin=null;this.IsAutoMerged=false;this.LanguageUrl=null;this.BreakpointsUrl=null;this.PreventExternalUrls=false;this.IsResponsive=false;this.SearchUrl=null;this.PulsePage=null;this.ScriptsFolderPath=null;this.LanguageCode=null;this.LanguageName=null;this.IncludeCSHRuntime=null;this.ShowMadCapBacklink=false;this.LiveHelpServerType=null;this.OutputAnalyticsServer=null;this.OutputAnalyticsId=null;this.IsCentralHosted=false;this.CentralLogoutLink=null;this.CentralSettingsLink=null;(function(){})();this.Load=function(K){MadCap.Utilities.Xhr.Load(J,true,function(ab){var P=0;function S(){P++;if(P==B.length){K()}}function Q(ae,ad){if(B.length>0){for(var ac=0;ac<B.length;ac++){B[ac].Load(ae)}}else{ad()}}s=ab!=null;if(!s){K();return}this.LanguageCode=ab.documentElement.getAttribute("xml:lang");this.LanguageName=ab.documentElement.getAttribute("LanguageName");this.TargetType=ab.documentElement.getAttribute("TargetType");this.DefaultStartTopic=ab.documentElement.getAttribute("DefaultUrl");this.InPreviewMode=MadCap.Dom.GetAttributeBool(ab.documentElement,"InPreviewMode",false);this.LiveHelpOutputId=ab.documentElement.getAttribute("LiveHelpOutputId");this.LiveHelpServer=ab.documentElement.getAttribute("LiveHelpServer");this.LiveHelpServerType=ab.documentElement.getAttribute("LiveHelpServerType");this.OutputAnalyticsServer=ab.documentElement.getAttribute("OutputAnalyticsServer");this.OutputAnalyticsId=ab.documentElement.getAttribute("OutputAnalyticsId");this.IsCentralHosted=MadCap.Dom.GetAttributeBool(ab.documentElement,"IsCentralHosted",false);this.CentralLogoutLink=ab.documentElement.getAttribute("CentralLogoutLink");this.CentralSettingsLink=ab.documentElement.getAttribute("CentralSettingsLink");if(this.LiveHelpServerType=="Central"){this.LiveHelpEnabled=this.OutputAnalyticsServer!=null}else{this.LiveHelpEnabled=this.LiveHelpOutputId!=null}this.MoveContentToRoot=MadCap.Dom.GetAttributeBool(ab.documentElement,"MoveOutputContentToRoot",false);this.ReplaceReservedCharacters=MadCap.Dom.GetAttributeBool(ab.documentElement,"ReplaceReservedCharacters",false);this.MakeFileLowerCase=MadCap.Dom.GetAttributeBool(ab.documentElement,"MakeFileLowerCase",false);this.PreventExternalUrls=MadCap.Dom.GetAttributeBool(ab.documentElement,"PreventExternalUrls",false);this.IsResponsive=MadCap.Dom.GetAttributeBool(ab.documentElement,"EnableResponsiveOutput",false);this.IncludeGlossarySearchResults=MadCap.Dom.GetAttributeBool(ab.documentElement,"IncludeGlossarySearchResults",true);this.ResultsPerPage=MadCap.Dom.GetAttributeInt(ab.documentElement,"ResultsPerPage",20);this.SearchEngine=MadCap.Dom.GetAttribute(ab.documentElement,"SearchEngine");this.IncludeCSHRuntime=MadCap.Dom.GetAttributeBool(ab.documentElement,"IncludeCSHRuntime",true);this.DebugMode=MadCap.Dom.GetAttributeBool(ab.documentElement,"DebugMode",false);if(this.SearchEngine=="Elasticsearch"){var N=ab.documentElement.getElementsByTagName("Elasticsearch");this.Elasticsearch=N.item(0)}var T=MadCap.Dom.GetAttributeBool(ab.documentElement,"ServerEnabled",false);this.IsWebHelpPlus=(this.TargetType=="WebHelpPlus"||T)&&MadCap.String.StartsWith(document.location.protocol,"http",false);var M="";if(!this.MoveContentToRoot){M="Content/"}if(this.MakeFileLowerCase){M=M.toLowerCase()}var R="MicroContent/";if(this.MakeFileLowerCase){R=R.toLowerCase()}this.ContentFolder=M;this.MicroContentFolder=R;this.UseCustomTopicFileExtension=MadCap.Dom.GetAttributeBool(ab.documentElement,"UseCustomTopicFileExtension",false);this.CustomTopicFileExtension=MadCap.Dom.GetAttribute(ab.documentElement,"CustomTopicFileExtension");this.IsMultilingual=MadCap.Dom.GetAttributeBool(ab.documentElement,"Multilingual",false);this.ShowMadCapBacklink=MadCap.Dom.GetAttributeBool(ab.documentElement,"ShowMadCapBacklink",false);this.GlossaryUrl=f(ab,"Glossary");this.TocUrl=f(ab,"Toc");this.SearchUrl=f(ab,"SearchUrl");this.PulsePage=f(ab,"PulsePage");this.BrowseSequencesUrl=f(ab,"BrowseSequence");this.IndexUrl=f(ab,"Index");this.SearchFilterSetUrl=f(ab,"SearchFilterSet");this.LanguageUrl=y+"Data/Language.js";this.BreakpointsUrl=y+"Data/Breakpoints.js";this.ScriptsFolderPath=ab.documentElement.getAttribute("PathToScriptsFolder");this.HasBrowseSequences=ab.documentElement.getAttribute("BrowseSequence")!=null;this.HasToc=ab.documentElement.getAttribute("Toc")!=null;this.TopNavTocPath=ab.documentElement.getAttribute("TopNavTocPath")=="true";this.LiveHelpServerType=ab.documentElement.getAttribute("LiveHelpServerType");this.OutputAnalyticsServer=ab.documentElement.getAttribute("OutputAnalyticsServer");b.call(this,ab);this.DefaultSkin=this.GetSkin($(ab.documentElement).attr("SkinID"));this.SyncTOC=this.DefaultSkin!=null&&MadCap.String.ToBool(this.DefaultSkin.AutoSyncTOC,false);this.IndexPartialWordSearch=this.DefaultSkin==null||MadCap.String.ToBool(this.DefaultSkin.IndexPartialWordSearch,true);this.GlossaryPartialWordSearch=this.DefaultSkin==null||MadCap.String.ToBool(this.DefaultSkin.GlossaryPartialWordSearch,true);this.DisplayCommunitySearchResults=this.DefaultSkin==null||MadCap.String.ToBool(this.DefaultSkin.DisplayCommunitySearchResults,true);this.CommunitySearchResultsCount=3;if(this.DefaultSkin!=null){this.CommunitySearchResultsCount=MadCap.String.ToInt(this.DefaultSkin.CommunitySearchResultsCount,3)}var W=ab.getElementsByTagName("Subsystems");if(W.length>0&&W[0].getElementsByTagName("Url").length>0){var aa=ab.getElementsByTagName("Subsystems")[0].getElementsByTagName("Url");for(var O=0;O<aa.length;O++){var Z=aa[O];if(!Z){continue}var Y=Z.getAttribute("Source");var V=Y.substring(0,Y.lastIndexOf("/")+1);var X=Z.getAttribute("TocPath");var L=Z.getAttribute("BrowseSequencePath");var U=new MadCap.WebHelp.HelpSystem(this,y+V,y+V+"Data/HelpSystem.xml",X,L);B.push(U)}}this.LoadBreakpoints(function(){z.LoadLanguage(function(){if(!z.IsAutoMerged&&z.IsWebHelpPlus){MadCap.Utilities.Xhr.CallWebService(z.GetPath()+"Service/Service.asmx/GetSubsystems",true,function(ad,ac){if(ad){$.each(ad.documentElement.childNodes,function(ae,af){if(af.nodeName=="Subsystems"){$.each(af.childNodes,function(ag,ah){if(ah.nodeName=="Url"){var ak=ah.getAttribute("Source");var aj=ak.substring(0,ak.lastIndexOf("/")+1);if(aj){var ai=new MadCap.WebHelp.HelpSystem(z,y+aj,y+aj+"Data/HelpSystem.xml",null,null);ai.IsAutoMerged=true;B.push(ai)}}})}})}Q(S,K)})}else{Q(S,K)}})})},null,this)};this.GetExists=function(){return s};this.GetMasterHelpSystem=function(){var L=this;for(var K=L.GetParentSubsystem();K!=null;K=K.GetParentSubsystem()){L=K}return L};this.GetParentSubsystem=function(){return x};this.GetPath=function(){return y};this.GetCurrentTopicPath=function(){return MadCap.Utilities.Url.GetDocumentUrl().ToRelative(MadCap.Utilities.Url.GetAbsolutePath(y)).FullPath};this.GetAbsolutePath=function(){if(j==null){var K=new MadCap.Utilities.Url(y);j=K.IsAbsolute?K.FullPath:new MadCap.Utilities.Url(document.location.href).Path}return j};this.GetContentPath=function(){return y+this.ContentFolder};this.GetSkin=function(K){return A.GetItem(K)};this.GetSkinByName=function(L){var N=this.GetSkins();for(var K=0;K<N.length;K++){var M=N[K];if(M.Name==L){return M}}return null};this.GetCurrentSkin=function(){var O=MadCap.Utilities.Url.GetDocumentUrl();var N=O.QueryMap.GetItem("skinName")||O.HashMap.GetItem("skinName");if(N){var M=this.GetSkin(N);if(!M){M=this.GetSkinByName(N)}return M}var K=O.QueryMap.GetItem("cshid");if(K){var L=k.LookupID(K);if(L.Skin){var M=this.GetSkin(L.Skin);if(!M){M=this.GetSkinByName(L.Skin)}return M}}return this.DefaultSkin};this.GetTocPath=function(K){return K=="toc"?D:m};this.GetFullTocPath=function(N,L){var M=this.GetHelpSystem(L);if(M==null){return null}var K=new Object();K.tocPath=this.GetTocPath(N);M.ComputeTocPath(N,K);return K.tocPath};this.GetTopicPath=function(N,M){var P=this.GetPath();var O=this.GetMasterHelpSystem();var L=(new MadCap.Utilities.Url(document.location.href)).ToPath();var K=L.CombinePath(P+"Data/").CombinePath(N);var Q=K.ToRelative(L);if(!M&&MadCap.Utilities.HasRuntimeFileType("TriPane")&&!O.MoveContentToRoot){Q=Q.ToRelative(O.ContentFolder)}return Q};this.GetTransparentImagePath=function(){var K=this.GetPath()+"Skins/Default/Stylesheets/Images/transparent.gif";return K};this.GetPatchedPath=function(K){if(this.ReplaceReservedCharacters){K=MadCap.Utilities.Url.ReplaceReservedCharacters(K,"_")}if(this.MakeFileLowerCase){K=K.toLowerCase()}if(this.UseCustomTopicFileExtension){K=new MadCap.Utilities.Url(K).ToExtension(this.CustomTopicFileExtension).FullPath}return K};this.GetAbsoluteTopicPath=function(M){var L=new MadCap.Utilities.Url(M);var K=(new MadCap.Utilities.Url(document.location.href)).ToPlainPath();return K.CombinePath(this.GetTopicPath("../"+L.FullPath).FullPath)};this.ComputeTocPath=function(M,L){if(x){var K=this.GetTocPath(M);if(!MadCap.String.IsNullOrEmpty(K)){L.tocPath=L.tocPath?K+"|"+L.tocPath:K}x.ComputeTocPath(M,L)}};this.GetHelpSystem=function(M){var K=null;for(var L=0;L<B.length;L++){K=B[L].GetHelpSystem(M);if(K!=null){return K}}if(MadCap.String.StartsWith(M,y,false)){return this}return null};this.GetSubsystem=function(K){return B[K]};this.GetMergedAliasIDs=function(K){k.Load(function(){function Q(S){for(var R=0,T=S.length;R<T;R++){P[P.length]=S[R]}L++;if(L==O+1){K(P)}}var P=new Array();var O=B.length;var L=0;var N=k.GetIDs();Q(N);for(var M=0;M<O;M++){B[M].GetMergedAliasIDs(Q)}})};this.GetMergedAliasNames=function(K){k.Load(function(){function Q(T){for(var R=0,S=T.length;R<S;R++){O[O.length]=T[R]}L++;if(L==N+1){K(O)}}var O=new Array();var N=B.length;var L=0;var P=k.GetNames();Q(P);for(var M=0,N=B.length;M<N;M++){B[M].GetMergedAliasNames(Q)}})};this.LookupCSHID=function(K,L){k.Load(function(){function R(S){if(O){return}M++;if(S.Found){O=true;L(S);return}if(M==Q){L(N)}}var N=k.LookupID(K);if(N.Found){N.Topic=z.GetPath()+N.Topic;L(N);return}if(B.length==0){L(N);return}var O=false;var M=0;for(var P=0,Q=B.length;P<Q;P++){B[P].LookupCSHID(K,R)}})};this.GetTocFile=function(){return C};this.GetBrowseSequenceFile=function(){return l};this.IsMerged=function(){return(B.length>0)};this.IsRoot=function(){return x==null};this.IsTabletLayout=function(K){return this.isGivenLayout("Tablet",K)};this.getLayout=function(K){if(this.isGivenLayout("Mobile",K)){return"Mobile"}else{if(this.isGivenLayout("Tablet",K)){return"Tablet"}else{return"Web"}}};this.isGivenLayout=function(L,N){if(this.IsResponsive&&this.Breakpoints){var K=this.Breakpoints.mediums[L];var M=this.Breakpoints.prop;if(M=="max-width"){if(!N){N=window.innerWidth}return N<=K}else{return window.matchMedia("("+M+": "+K+"px)").matches}}return false};this.ProcessMicroContentXhtml=function(M,Q){var P=MadCap.Utilities.SanitizeHtml("<div>"+M+"</div>");var O=new MadCap.Utilities.Url(Q).ToFolder();var N=MadCap.Utilities.HasRuntimeFileType("TriPane");var L=N?"#":"";var K=MadCap.Utilities.FixLinks(P,O,L,this.ContentFolder);return K};this.LoadLanguage=function(L,K){var M=this;require([this.LanguageUrl],function(N){M.Language=N;L.call(K,N)})};this.LoadBreakpoints=function(L,K){if(this.IsResponsive&&this.IsRoot()){var M=this;require([this.BreakpointsUrl],function(N){M.Breakpoints=N;L.call(K,N)})}else{L.call(K,null)}};this.LoadConcepts=function(){var K=$.Deferred();require([y+"Data/Concepts.js"],function(L){n=L;K.resolve(n)});return K.promise()};this.LoadAllConcepts=function(N){function O(){K++;if(K==M+1){N()}}var K=0;var M=B.length;this.LoadConcepts().then(O);for(var L=0;L<M;L++){var P=B[L];if(!P.GetExists()){O();continue}P.LoadAllConcepts(O)}};this.GetConceptsLinks=function(L){var M=$.Deferred();var P=[];if(this.IsWebHelpPlus){function Q(aa,T){var X=aa.documentElement.getElementsByTagName("Url");var W=X.length;for(var U=0;U<W;U++){var V=X[U];var Y=V.getAttribute("Title");var Z=V.getAttribute("Source");Z=y+((Z.charAt(0)=="/")?Z.substring(1,Z.length):Z);P[P.length]={Title:Y,Link:Z}}M.resolve(P)}MadCap.Utilities.Xhr.CallWebService(y+"Service/Service.asmx/GetTopicsForConcepts?Concepts="+L,true,Q)}else{function S(T){P=P.Union(T)}L=L.replace("\\;","%%%%%");if(L==""){M.resolve(P)}else{var K=L.split(";");var N=[];N.push(this.GetConceptsLinksLocal(K).then(S));for(var O=0;O<B.length;O++){var R=B[O];if(R.GetExists()){N.push(R.GetConceptsLinks(L).then(S))}}$.when.apply(this,N).done(function(){M.resolve(P)})}}return M.promise()};this.GetConceptsLinksLocal=function(L){var P=[];var N=[];for(var O=0;O<L.length;O++){var K=L[O];K=K.replace("%%%%%",";");N.push(this.GetConceptLinks(K).then(function(Q){P=P.concat(Q)}))}var M=$.Deferred();$.when.apply(this,N).done(function(){M.resolve(P)});return M.promise()};this.LoadTopicChunk=function(K){var L=$.Deferred();MadCap.Utilities.Require([y+"Data/SearchTopic_Chunk"+K+".js"],function(M){L.resolve(M)});return L.promise()};this.GetSearchChunkIds=function(L){var K=$.Deferred();MadCap.Utilities.Require([y+"Data/Search.js"],function(M){var P=M.t;var O=[];for(var N=0;N<L.length;N++){O.push(MadCap.Utilities.GetChunkId(P,L[N],function(Q,R){if(Q<R){return -1}else{if(Q===R){return 0}else{return 1}}}))}K.resolve(O)});return K.promise()};this.GetConceptLinks=function(K){var L=$.Deferred();var M=this;this.LoadConcepts().done(function(){var N=[];var O=n[K];if(!O){L.resolve(N)}else{M.GetSearchChunkIds(O).then(function(Q){var R=[];for(var S=0;S<Q.length;S++){var P=Q[S];R.push(M.LoadTopicChunk(P).then(function(T){for(var U=0;U<O.length;U++){var V=T[O[U]];if(V){V.Url=M.GetTopicPath(V.u);N.push(V)}}}))}$.when.apply(this,R).done(function(){L.resolve(N)})})}});return L.promise()};this.LoadToc=MadCap.Utilities.Memoize(function(L){var K=$.Deferred();var M=L[0];var N=L[1];this.GetToc(M,N,function(O){K.resolve(O)});return K.promise()});this.GetToc=function(N,M,K){var L=this;var O=this[N+"Url"];if(M){O=e(M)}require([O],function(X){if(typeof X=="undefined"||(L[N]&&X.chunks)){K(X);return}L[N]=X;X.type=N;X.helpSystem=L;X.chunks=[];X.entries=[];X.nodes={};var Q=new MadCap.Utilities.Url(O).ToFolder();for(var P=0;P<X.numchunks;P++){X.chunks[P]={path:Q.AddFile(X.prefix+P+".js").FullPath,loaded:false}}var V=X.tree;var T={};X.automerge=X.tree;while(V!=null){V.toc=X;V.childrenLoaded=false;X.nodes[V.i]=V;if(typeof V.m!=="undefined"){T[V.m]=V}if(typeof V.a!=="undefined"){X.automerge=V}if(typeof V.n!=="undefined"){for(var S=0;S<V.n.length;S++){V.n[S].parent=V;if(S<V.n.length-1){V.n[S].next=V.n[S+1]}if(S>0){V.n[S].previous=V.n[S-1]}}}V=g(V)}var U=[];var R=false;for(var S=0;S<B.length;S++){var W=B[S];if(W.GetExists()){if(!W.IsAutoMerged){W.MergeNode=T[S]}else{R=true}if(W.IsAutoMerged||typeof W.MergeNode!=="undefined"){U.push(W)}}else{H(T[S])}}if(!R&&X.automerge.a=="replace"){H(X.automerge)}if(U.length==0){K(X);return}MadCap.Utilities.AsyncForeach(U,function(Z,Y){r(X,Z,Y)},function(){K(X)})})};function H(M){var N=M.parent;var O=M.previous;var L=M.next;if(O){O.next=L;M.previous=null}if(L){L.previous=O;M.next=null}if(N){var K=M.parent.n.indexOf(M);N.n.splice(K,1);M.parent=null}}function g(L){var K=null;if(typeof L.n!="undefined"){K=L.n[0]}else{if(typeof L.next!="undefined"){K=L.next}else{K=L;while(typeof K.parent!="undefined"){if(typeof K.parent.next!="undefined"){K=K.parent.next;break}else{K=K.parent}}if(typeof K.parent=="undefined"){K=null}}}return K}function h(K){var L=null;if(typeof K.previous!="undefined"){L=K.previous;while(typeof L.n!=="undefined"&&L.n.length>0){L=L.n[L.n.length-1]}}else{if(typeof K.parent!="undefined"){L=K.parent}}return L}function i(O,L){var Q="";var N=-1;var P=L?"%7C":"|";if(O.n&&O.n.length>0){Q=O.toc.entries[O.i].title;if(L){Q=encodeURIComponent(Q)}N=0}else{N=O.parent.n.indexOf(O)+1}if(Q.length>0){Q+=P}Q+=("_____"+N);for(var K=O.parent;K&&typeof K.i!=="undefined";K=K.parent){if(Q==null){Q=""}if(Q.length>0){Q=P+Q}var M=K.toc.entries[K.i];if(M){var R=M.title;if(L){R=encodeURIComponent(R)}Q=R+Q}}return Q}function r(M,L,K){L.GetToc(M.type,null,function(X){if(typeof X=="undefined"){K();return}var U=L.IsAutoMerged?M.automerge:L.MergeNode;var T=X.tree;if(T.n!==undefined&&U!==undefined){var W=U.r==1||(L.IsAutoMerged&&U.a=="replace");var P=W||(L.IsAutoMerged&&(U.a=="before-head"||U.a=="after-head"));var Q=W||(L.IsAutoMerged&&(U.a=="before-head"||U.a=="after-tail"));var V=Q?U.parent:U;if(typeof V.n=="undefined"){V.n=[]}var N=Q?V.n.indexOf(U)+(P?0:1):P?0:V.n.length;var S=T.n.length;for(var O=0;O<S;O++){T.n[O].parent=V;V.n.splice(N+O,0,T.n[O])}if(W){V.n.splice(N+S,1)}if(N>0){V.n[N].previous=V.n[N-1];V.n[N-1].next=V.n[N]}var R=N+S-(W?1:0)-1;if(R>=0&&R+1<V.n.length){V.n[R].next=V.n[R+1];V.n[R+1].previous=V.n[R]}if(L.IsAutoMerged){M.automerge=V.n[N+S-1];M.automerge.a="after-tail"}}K()})}this.LoadTocChunk=function(M,K){var L=$.Deferred();require([M.chunks[K].path],function(N){if(!M.chunks[K].loaded){for(var P in N){for(var O=0;O<N[P].i.length;O++){M.entries[N[P].i[O]]={link:P,title:N[P].t[O],bookmark:N[P].b[O]}}}M.chunks[K].loaded=true}return L.resolve(N)});return L.promise()};this.GetTocEntryHref=function(M,Y,aa,K){var Q=null;var W=M.toc;var L=W.entries[M.i];if(L){var T=L.link+L.bookmark;if(typeof M.m=="undefined"&&T!="___"){var Z=null;var U=new MadCap.Utilities.Url(T);var O=W.helpSystem;var P=O.GetPath();var V=O.GetMasterHelpSystem().GetContentPath();var N=typeof M.f!="undefined";if(!U.IsAbsolute){if(!MadCap.String.IsNullOrEmpty(P)){U=new MadCap.Utilities.Url(P).CombinePath(T);Z=U.ToRelative(V)}else{U=U.ToRelative("/"+V);Z=U}}else{Z=U}if(N||!aa){if(Z.IsAbsolute){Q=Z.FullPath}else{Q=V+Z.FullPath}}else{if(MadCap.Utilities.HasRuntimeFileType("TriPane")){Q="#"+Z.FullPath}else{Q=U.FullPath}}}}if(Q!=null&&Y&&K){var S=window.name=="topic"&&!MadCap.Utilities.HasRuntimeFileType("Default");var X=i(M,true);if(MadCap.Utilities.HasRuntimeFileType("TriPane")){Q+=encodeURI("?"+Y+"Path="+X)}else{var R=new MadCap.Utilities.Url(Q);if(S){Q=R.PlainPath+encodeURI("?"+Y+"Path="+X)+R.Fragment}else{Q=R.PlainPath+"?"+(Y+"Path="+X)+R.Fragment}}}return Q};this.GetTocData=function(L){var S=null,R=null,K=null;var O=MadCap.Utilities.HasRuntimeFileType("TriPane");if(O&&!MadCap.String.IsNullOrEmpty(L.Fragment)&&L.Fragment.length>1||!O){var Q=(O&&!(L.QueryMap.GetItem("TocPath")||L.QueryMap.GetItem("BrowseSequencesPath"))&&!MadCap.String.IsNullOrEmpty(L.Fragment))?new MadCap.Utilities.Url(L.Fragment):L;R=Q.QueryMap.GetItem("TocPath");if(R!=null){S="Toc"}else{K=Q.QueryMap.GetItem("BrowseSequencesPath");if(K!=null){S="BrowseSequences"}}if(L.HashMap.GetItem("cshid")==null){var M=L.Query.indexOf("?");var N=L.Query.lastIndexOf("?");var P="";if(M!=N){P=L.Query.substr(M,N)}if(O){L=new MadCap.Utilities.Url(L.Fragment.substr(1))}if(!MadCap.String.IsNullOrEmpty(P)){L.Query=P}}}else{L=new MadCap.Utilities.Url(this.DefaultStartTopic).ToRelative(this.GetContentPath())}return{TocType:S,TocPath:R,BrowseSequencesPath:K,Href:L}};this.FindTocNode=function(M,K,L,N){z.FindNode("Toc",M,K,L,N)};this.FindBrowseSequenceNode=function(M,K,L){z.FindNode("BrowseSequences",M,K,L)};this.FindNode=function(N,M,K,L,O){z.FindNodeInToc(N,M,K,L,O,true)};this.FindNodeInToc=function(O,N,K,M,P,L){z.LoadToc([O,P]).then(function(U){var T=new MadCap.Utilities.Url(z.GetMasterHelpSystem().GetContentPath());var V=K;var Q=0;var R;if(!K.IsAbsolute){var V=!MadCap.String.IsNullOrEmpty(T.FullPath)?T.CombinePath(K):K;V=V.ToRelative(z.GetPath());V=new MadCap.Utilities.Url("/"+V.FullPath)}for(var S=1;S<U.chunkstart.length;S++){if(U.chunkstart[S]<=decodeURIComponent(V.PlainPath)){Q++}}z.LoadTocChunk(U,Q).then(function(W){var Y=W[decodeURIComponent(V.PlainPath)];if(typeof Y!=="undefined"){var aa=[];if(!R){R=U.nodes[Y.i[0]]}if(N){var ab=MadCap.Utilities.HasRuntimeFileType("TriPane");for(var Z=0;Z<Y.i.length;Z++){var ac=i(U.nodes[Y.i[Z]]);var X=ab||MadCap.Topic.IsEmbeddedTopic()?ac:MadCap.Utilities.Url.GetSafetyProcessedComponent(ac);if(X==N){aa.push(Y.i[Z])}}}else{for(var Z=0;Z<Y.i.length;Z++){if(Y.b[Z].toLowerCase()==decodeURIComponent(V.Fragment).toLowerCase()){aa.push(Y.i[Z])}}}if(aa.length){M(U.nodes[aa.pop()]);return}}if(B.length>0&&L){MadCap.Utilities.AsyncForeach(B,function(ae,ad){ae.FindNode(O,N,K,function(af){if(typeof af!=="undefined"){M(af);return}ad()})},function(){M(R)})}else{M(R)}})})};this.NodeDepth=function(L){var K=1;while(L.parent&&L.c!==undefined){K++;L=L.parent}return K};this.LoadGlossary=function(L,K){if(typeof this.Glossary!="undefined"){L.call(K,this.Glossary);return}var M=this;this.GetGlossary(function(N){if(N&&N.terms){N.termMap=Object.create(null);for(var O=0;O<N.terms.length;O++){var P=N.terms[O];N.termMap[P.t.toLowerCase()]=P}}M.Glossary=N;L.call(K,N)})};this.GetGlossary=function(K){var L=this;require([this.GlossaryUrl],function(P){function S(){N++;if(N==R){K(P)}}if(typeof P=="undefined"){K(P);return}var N=0;var R=0;P.chunks=[];var O=new MadCap.Utilities.Url(z.GlossaryUrl).ToFolder();for(var M=0;M<P.numchunks;M++){P.chunks.push({helpSystem:L,path:O.AddFile(P.prefix+M+".js").FullPath})}for(var Q=0;Q<B.length;Q++){var T=B[Q];if(!T.GetExists()){continue}R++}if(R==0){K(P);return}for(var Q=0;Q<B.length;Q++){var T=B[Q];if(!T.GetExists()){continue}p(P,T,S)}})};this.SearchGlossary=function(L){var K=$.Deferred();var M=this;this.LoadGlossary(function(P){var O=false;if(P&&P.termMap){var Q=P.termMap[L.toLowerCase()];O=typeof Q!="undefined";if(O){var N=P.chunks[Q.c];require([N.path],function(R){var S={term:Q.t,definition:R[Q.t].d,link:R[Q.t].l};if(S.link){var T=N.helpSystem;var U=(new MadCap.Utilities.Url("../")).CombinePath(S.link).FullPath;S.link=T.GetTopicPath(U).FullPath;T.SearchDB.LoadTopicByUrl(U).done(function(W,V){if(V){S.abstractText=V.a}K.resolve(S)})}else{K.resolve(S)}})}}if(!O){K.resolve()}},this);return K.promise()};this.LoadIndex=function(L,K){if(typeof this.Index!=="undefined"){L.call(K,this.Index);return}var M=this;this.GetIndex(function(N){M.Index=N;L.call(K,N)})};this.GetIndex=function(K){var L=this;require([this.IndexUrl],function(Q){function S(){N++;if(N==R){K(Q)}}if(typeof Q=="undefined"){K(Q);return}var N=0;var R=0;Q.chunks=[];var O=new MadCap.Utilities.Url(z.IndexUrl).ToFolder();for(var M=0;M<Q.numchunks;M++){Q.chunks.push({helpSystem:L,path:O.AddFile(Q.prefix+M+".js").FullPath})}for(var P=0;P<B.length;P++){var T=B[P];if(!T.GetExists()){continue}R++}if(R==0){K(Q);return}for(var P=0;P<B.length;P++){var T=B[P];if(!T.GetExists()){continue}q(Q,T,S)}})};this.LoadRootIndexEntry=function(L,K){if(L.loaded){if(K){K(L)}return}this.LoadIndex(function(N){var M=typeof L.c=="number"?[L.c]:L.c;MadCap.Utilities.AsyncForeach(M,function(O,P){var Q=N.chunks[O];require([Q.path],function(R){var S=R[L.t];z.SetIndexEntryHelpSystem(S,Q.helpSystem);z.MergeIndexEntries(L,S);P()})},function(){z.LoadIndexEntry(L);if(K){K(L)}})})};this.SetIndexEntryHelpSystem=function(K,L){if(K.l){$.each(K.l,function(M,N){N.helpSystem=L})}if(K.e){$.each(K.e,function(N,M){z.SetIndexEntryHelpSystem(M,L)})}};this.LoadIndexEntry=function(K){if(K.l){var L=[];$.each(K.l,function(M,N){var O={Title:N.t,Link:N.helpSystem.GetTopicPath(".."+N.u).FullPath};L[L.length]=O});K.linkList=z.SortLinkList(L)}if(K.e){$.each(K.e,function(N,M){z.LoadIndexEntry(M)})}K.loaded=true};this.MergeIndexEntries=function(K,L){if(L.l){if(typeof K.l=="undefined"){K.l=L.l}else{K.l=K.l.concat(L.l)}}if(L.r){if(typeof K.r=="undefined"){K.r=L.r}else{if(K.r=="SeeAlso"||L.r=="SeeAlso"){K.r="SeeAlso"}}if(typeof K.f=="undefined"){K.f=L.f}else{var M=K.f.split(";");var N=L.f.split(";");$.each(N,function(O,P){if($.inArray(M,P)){M.push(P)}});M.sort(function(Q,R){var O=Q.toLowerCase();var P=R.toLowerCase();return O<P?-1:O>P?1:0});K.f=M.join("; ")}}if(L.e){if(typeof K.e=="undefined"){K.e={}}$.each(L.e,function(P,O){if(typeof K.e[P]!=="undefined"){z.MergeIndexEntries(K.e[P],O)}else{K.e[P]=O}})}};this.FindIndexEntry=function(L,K){z.LoadIndex(function(M){if(!M.entries){M.entries={};$.each(M.terms,function(R,Q){M.entries[Q.t]=Q})}var P=L.split(":");var O=P.length;var N=M.entries[P[0]];if(N){z.LoadRootIndexEntry(N,function(S){var Q=S;for(var R=1;R<O;R++){Q=Q.e[P[R]];if(!Q){break}}if(K){K(S,Q)}})}else{if(K){K()}}})};this.SortLinkList=function(K){K.sort(function(L,M){var N=L.Title.toLowerCase();var O=M.Title.toLowerCase();return N<O?-1:N>O?1:0});return K};this.GetSearchDBs=function(K){var L=new Array();var M=this;require([y+"Data/Search.js"],function(P){function Q(T){if(T!=null){for(var S=0;S<T.length;S++){L[L.length]=T[S]}}N++;if(N==O){K(L)}}var N=0;var O=B.length;var R=new MadCap.WebHelp.Search.SearchDB(M);M.SearchDB=R;L[L.length]=R;R.Load(P,function(){var T=P.pm;if(T||O==0){K(L)}else{for(var S=0;S<O;S++){var U=B[S];if(!U.GetExists()){Q(null);continue}U.GetSearchDBs(Q)}}})})};this.GetConcepts=function(){return n};this.GetSearchFilters=function(){return t.map};this.ParseSearchFilterDoc=function(Q){filterMap=Object.create(null);if(Q!=null){var M=Q.getElementsByTagName("SearchFilter");for(var N=0;N<M.length;N++){var L=M[N];var O=L.getAttribute("Name");var P=L.getAttribute("Order");var K=L.getAttribute("Concepts");if(!K){continue}filterMap[O]={c:K,o:P,group:0}}}return filterMap};this.LoadSearchFiltersLocal=function(){var K=$.Deferred();require([this.SearchFilterSetUrl],function(L){var M=null;if(L){M={map:L,count:1}}K.resolve(M)});return K.promise()};this.LoadSearchFilters=function(){var K=$.Deferred();if(!this.IsWebHelpPlus){function O(W){if(W){if(!N){N=W;for(var V in W.map){W.map[V].group=0}}else{for(var V in W.map){if(!N.map[V]){N.map[V]=W.map[V];N.map[V].group+=N.count}else{var T=N.map[V];var U=W.map[V];var R=T.c.split(";");var S=U.c.split(";");T.c=R.Union(S).join(";");if(MadCap.String.IsNullOrEmpty(T.cm)){T.cm=U.cm}}}N.count+=W.count}}}var N;var L=[];L.push(this.LoadSearchFiltersLocal().then(O));for(var M=0;M<B.length;M++){var Q=B[M];if(Q.GetExists()){L.push(Q.LoadSearchFilters().then(O))}}$.when.apply(this,L).done(function(){t=N;K.resolve(N)})}else{var P=this;MadCap.Utilities.Xhr.CallWebService(y+"Service/Service.asmx/GetSearchFilters",true,function(T,R){var S=P.ParseSearchFilterDoc(T);K.resolve({map:S})})}return K.promise()};this.AdvanceTopic=function(Q,O,P,K,N,L){var M=null;z.FindNode(Q,P,N,function(S){if(S){function R(U,T){U=T=="next"?g(U):h(U);if(U&&typeof U.i!=="undefined"){z.LoadTocChunk(U.toc,U.c).then(function(V){var W=U.toc.entries[U.i];var X=z.GetTocEntryHref(U,Q,true,K);if(X){if(MadCap.String.StartsWith(X,"#")){X=X.substring(1)}L(X)}else{R(U,T)}})}}R(S,O)}})};this.SetBrowseSequencePath=function(L,M){var K=$(".current-topic-index-button");if(L!=null){this.FindBrowseSequenceNode(L,M,function(N){if(N&&N.parent){K.removeClass("disabled");$(".sequence-index").text(N.parent.n.indexOf(N)+1);$(".sequence-total").text(N.parent.n.length)}else{K.addClass("disabled")}})}else{K.addClass("disabled")}};this.GetSkins=function(){var K=[];A.ForEach(function(L,M){K.push(M)});return K};this.IsCentralLiveHelpServerType=function(){return this.LiveHelpServerType=="Central"};this.GetLanguageString=function(M,O,K,P,L){if(MadCap.Utilities.HasRuntimeFileType("SkinPreview")){return L}var N=M+"/"+P;if(O&&this.Language.component[K]){return this.Language.component[K][N]}else{if(this.Language.skin["default"]){return this.Language.skin["default"][N]}}return L};function f(M,K){var L=M.documentElement.getAttribute(K);return e(L)}function e(L){if(L==null){return null}var K=new MadCap.Utilities.Url(y);if(!K.IsAbsolute){return y+L}return K.AddFile(L).ToRelative(document.location.href).FullPath}function b(aa){var Z=$("CatapultSkin",aa.documentElement);for(var O=0,R=Z.length;O<R;O++){var Y=Z[O];var K=$(Y);var X=K.attr("SkinID");var W={};for(var P=0,S=Y.attributes.length;P<S;P++){var L=Y.attributes[P];W[L.name]=L.value}var N=K.children();for(var P=0,S=N.length;P<S;P++){var M=N[P];var U=M.nodeName;var V={};W[U]=V;for(var Q=0,T=M.attributes.length;Q<T;Q++){var L=M.attributes[Q];V[L.name]=L.value}}A.Add(X,W)}}function c(N,P){if(N.nodeName.toLowerCase()=="madcap:glossarychunkref"){var K=$(N);var O=K.attr("src");if(!MadCap.String.IsNullOrEmpty(O)){var Q=new MadCap.Utilities.Url(P).CombinePath("../../Data/").CombinePath(O);var L=MadCap.Utilities.EncodeHtml("../"+Q.FullPath);K.attr("src",L)}}else{var M=N.getElementsByTagName("a")[0];var O=$(M).attr("href");if(!MadCap.String.IsNullOrEmpty(O)){var Q=new MadCap.Utilities.Url(P).CombinePath("../../Content/").CombinePath(O);var L=MadCap.Utilities.EncodeHtml("../"+Q.FullPath);$(M).attr("href",L)}}}function d(M){for(var L=0;L<M.childNodes.length;L++){var K=M.childNodes[L];if(K.nodeName=="Entries"){for(var N=0;N<K.childNodes.length;N++){d(K.childNodes[N])}}else{if(K.nodeName=="Links"){for(var N=0;N<K.childNodes.length;N++){if(K.childNodes[N].nodeType==1){var O=MadCap.Dom.GetAttribute(K.childNodes[N],"Link");O=y+((O.charAt(0)=="/")?O.substring(1,O.length):O);K.childNodes[N].setAttribute("Link",O)}}}}}}function o(L,M){if(!M){return}for(var K=0;K<M.length;K++){L[L.length]=M[K]}}function p(K,M,L){M.GetGlossary(function(Q){if(typeof Q=="undefined"){L();return}K.chunks=K.chunks.concat(Q.chunks);for(var R=0,S=0;R<K.terms.length&&S<Q.terms.length;){var O=K.terms[R];var P=Q.terms[S];var T=O.t;var U=P.t;if(T.toLowerCase()==U.toLowerCase()){R++;S++}else{if(T.toLowerCase()>U.toLowerCase()){P.c+=K.numchunks;K.terms.splice(R,0,P);S++}else{R++}}}for(;S<Q.terms.length;S++){var N=Q.terms[S];N.c+=K.numchunks;K.terms.push(N)}K.numchunks=K.chunks.length;L()})}function q(K,M,L){M.GetIndex(function(S){if(typeof S=="undefined"){L();return}K.chunks=K.chunks.concat(S.chunks);for(var R=0,T=0;R<K.terms.length&&T<S.terms.length;){var P=K.terms[R];var Q=S.terms[T];var U=P.s||P.t;var V=Q.s||Q.t;if(U==V&&P.t==Q.t){if(typeof P.c=="number"){P.c=[P.c]}var N=Q.c;if(typeof Q.c=="number"){N=[Q.c]}$.each(N,function(X,W){P.c.push(W+K.numchunks)});P.$=(P.$===1&&Q.$===1)?1:0;R++;T++}else{if(U.toLowerCase()>V.toLowerCase()||(U.toLowerCase()==V.toLowerCase()&&P.t.toLowerCase()>Q.t.toLowerCase())){Q.c+=K.numchunks;K.terms.splice(R,0,Q);T++}else{R++}}}for(;T<S.terms.length;T++){var O=S.terms[T];O.c+=K.numchunks;K.terms.push(O)}K.numchunks=K.chunks.length;L()})}};(function(){MadCap.WebHelp.HelpSystem.LoadHelpSystem=MadCap.Utilities.Memoize(function(c){var a=$.Deferred();var b=new MadCap.WebHelp.HelpSystem(null,null,c,null,null);b.Load(function(){a.resolve(b)});return a.promise()});MadCap.WebHelp.HelpSystem.LoadHelpSystemDefault=function(){var b=$(document.documentElement).attr("data-mc-path-to-help-system");var a="Data/HelpSystem.xml";if(b){a=b+a}return MadCap.WebHelp.HelpSystem.LoadHelpSystem(a)}})();MadCap.WebHelp.TocFile=function(h,s){var o=this;var j=h;var r=s;var k=false;var n=null;var l=new Array();var q=null;var p=null;var m=new Array();(function(){})();this.Init=function(u){if(k){if(u!=null){u()}return}if(u!=null){l.push(u)}var t=null;if(s==MadCap.WebHelp.TocFile.TocType.Toc){t="Toc.xml"}else{if(s==MadCap.WebHelp.TocFile.TocType.BrowseSequence){t="BrowseSequences.xml"}}this.LoadToc(j.GetPath()+"Data/"+t,v);function v(w){k=true;n=w.documentElement;i()}};this.LoadToc=function(v,t){if(r==MadCap.WebHelp.TocFile.TocType.Toc&&j.IsWebHelpPlus){MadCap.Utilities.Xhr.CallWebService(j.GetPath()+"Service/Service.asmx/GetToc",true,u,null)}else{if(r==MadCap.WebHelp.TocFile.TocType.BrowseSequence&&j.IsWebHelpPlus){MadCap.Utilities.Xhr.CallWebService(j.GetPath()+"Service/Service.asmx/GetBrowseSequences",true,u,null)}else{var w=(v.indexOf("/")==-1)?j.GetPath()+"Data/"+v:v;MadCap.Utilities.Xhr.Load(w,false,u,null,null)}}function u(y,x){if(!y||!y.documentElement){if(t!=null){t(y)}return}if(t!=null){t(y)}}};this.LoadChunk=function(v,w,t){var x=(w.indexOf("/")==-1)?j.GetPath()+"Data/"+w:w;MadCap.Utilities.Xhr.Load(w,true,u,null,null);function u(E,y){if(!E||!E.documentElement){if(t!=null){t(v)}return}v.removeAttribute("Chunk");var D=E.documentElement;for(var A=0,C=D.childNodes.length;A<C;A++){var z=D.childNodes[A];if(z.nodeType!=1){continue}var B=null;if(typeof(E.importNode)=="function"){B=E.importNode(z,true)}else{B=z.cloneNode(true)}v.appendChild(B)}if(t!=null){t(v)}}};this.LoadMerge=function(x,u){var t=MadCap.Dom.GetAttributeInt(x,"MergeHint",-1);if(t==-1){u(x,false,null,null);return}x.removeAttribute("MergeHint");var w=f(x);var z=w.GetSubsystem(t);var y=MadCap.Dom.GetAttributeBool(x,"ReplaceMergeNode",false);if(!y){x.setAttribute("ownerHelpSystemIndex",m.length)}m[m.length]=z;var B=z.GetPath()+"Data/"+(r==MadCap.WebHelp.TocFile.TocType.Toc?"Toc.xml":"BrowseSequences.xml");var A=MadCap.Utilities.Xhr.Load(B,true,v);function v(N,C){if(!N||!N.documentElement){if(u!=null){u(x,false,null,null)}return}var M=N.documentElement;var E=null;var I=true;var F=null;var J=null;var L=x.ownerDocument;for(var G=0,K=M.childNodes.length;G<K;G++){var D=M.childNodes[G];if(D.nodeType!=1){continue}var H=null;if(typeof(L.importNode)=="function"){H=L.importNode(D,true)}else{H=D.cloneNode(true)}if(y){H.setAttribute("ownerHelpSystemIndex",m.length-1);if(I){I=false;x.parentNode.replaceChild(H,x);F=H;J=F}else{E.parentNode.insertBefore(H,E.nextSibling);J=H}E=H}else{x.appendChild(H)}}if(u!=null){u(x,y,F,J)}}};this.AdvanceTopic=function(v,x,u,t){this.GetTocNode(x,u,w);function w(A){if(A==null){t(null);return}var y=null;e(v,A,z);function z(D){var B=null;if(D!=null){B=MadCap.Dom.GetAttribute(D,"Link");B=B.substring("/".length);var C=new MadCap.Utilities.Url(B);var F=null;if(r==MadCap.WebHelp.TocFile.TocType.Toc){F="TocPath"}else{if(r==MadCap.WebHelp.TocFile.TocType.BrowseSequence){F="BrowseSequencePath"}}var H=g(D,false);var E=C.ToQuery(F+"="+encodeURIComponent(H));B=E.FullPath;var G=f(D);B=G.GetPath()+B;t(B)}else{t(B)}}}};this.GetRootNode=function(t){this.Init(u);function u(){t(n)}};this.GetTocNode=function(y,v,w){this.Init(x);function x(){q=y;p=v;var G=(y=="")?new Array(0):y.split("|");var D=-1;if(G.length>0){var B=G[G.length-1];if(MadCap.String.StartsWith(B,"_____")){D=parseInt(B.substring("_____".length));G.splice(G.length-1,1)}}var H=n;for(var A=0,C=G.length;A<C;A++){if(t(H)){return}if(u(H)){return}H=b(H,decodeURIComponent(G[A]))}if(H==null){w(null);return}if(t(H)){return}if(u(H)){return}if(D>=0){if(D==0){z=H}else{z=$(H).children("TocEntry")[D-1]}}else{var E=f(H);var F=v.ToRelative(new MadCap.Utilities.Url(E.GetPath()));var z=c(H,F.FullPath.toLowerCase(),true);if(!z){z=c(H,F.PlainPath.toLowerCase(),false)}}q=null;p=null;w(z)}function t(A){var z=MadCap.Dom.GetAttribute(A,"Chunk");if(z!=null){o.LoadChunk(A,z,function(B){o.GetTocNode(q,p,w)});return true}return false}function u(A){var z=$(A).attr("MergeHint")||-1;if(z>=0){o.LoadMerge(A,function(B){o.GetTocNode(q,p,w)});return true}return false}};this.GetEntrySequenceIndex=function(w,t,u){this.GetTocNode(w,t,v);function v(y){var x=-1;if(y!=null){x=a(y)}u(x)}};this.GetIndexTotalForEntry=function(w,t,u){this.GetTocNode(w,t,v);function v(y){var z=-1;if(y!=null){var x=y;while(x.parentNode!=n){x=x.parentNode}z=MadCap.Dom.GetAttributeInt(x,"DescendantCount",-1)}u(z)}};function i(){for(var t=0,u=l.length;t<u;t++){l[t]()}}function b(w,v){var t=null;for(var u=0;u<w.childNodes.length;u++){if(w.childNodes[u].nodeName=="TocEntry"&&MadCap.Dom.GetAttribute(w.childNodes[u],"Title")==v){t=w.childNodes[u];break}}return t}function c(B,t,x){var y=null;var u=MadCap.Dom.GetAttribute(B,"Link");if(u!=null){u=u.substring("/".length);u=u.replace(/%20/g," ");u=u.toLowerCase()}if(u==t){y=B}else{for(var A=0;A<B.childNodes.length;A++){var v=B.childNodes[A];if(v.nodeType!=1){continue}var w=MadCap.Dom.GetAttribute(v,"Link");if(w==null){continue}w=w.substring("/".length);w=w.replace(/%20/g," ");w=w.toLowerCase();if(!x){var z=w.indexOf("#");if(z!=-1){w=w.substring(0,z)}var C=w.indexOf("?");if(C!=-1){w=w.substring(0,C)}}if(w==t){y=v;break}}}return y}function e(x,A,y){if(x=="previous"){w(A)}else{if(x=="next"){v(A)}}function z(F){var G=null;if(F!=null){var C=MadCap.Dom.GetAttribute(F,"Link");if(C==null){e(x,F,y);return}var D=new MadCap.Utilities.Url(C);var B=D.Extension.toLowerCase();var E=j.GetMasterHelpSystem();if(E.UseCustomTopicFileExtension){if(B!=E.CustomTopicFileExtension){e(x,F,y);return}}else{if(B!="htm"&&B!="html"){e(x,F,y);return}}G=F}y(G)}function w(F){function C(H){var G=d(H,"TocEntry");if(G==null){E=H}else{E=G;if(t(G,C)){return}if(u(G,D)){return}}z(E)}function D(J,I,G,H){if(I){C(H)}else{C(J)}}var E=null;for(var B=F.previousSibling;B!=null;B=B.previousSibling){if(B.nodeName=="TocEntry"){E=B;break}}if(E!=null){if(t(E,C)){return}if(u(E,D)){return}C(E);return}else{if(F.parentNode.nodeType==1){E=F.parentNode}}z(E)}function v(E){function C(H){var G=$(H).children("TocEntry")[0];for(var F=H;F!=null&&G==null;F=F.parentNode){G=$(F).next("TocEntry")[0]}z(G)}function D(I,H,F,G){if(H){z(F);return}C(I)}var B=null;if(t(E,C)){return}if(u(E,D)){return}C(E)}function t(D,C){var B=MadCap.Dom.GetAttribute(D,"Chunk");if(B!=null){o.LoadChunk(D,B,C);return true}return false}function u(D,C){var B=$(D).attr("MergeHint")||-1;if(B>=0){o.LoadMerge(D,C);return true}return false}}function d(w,v){var t=$(w).children(v+":last")[0];if(t!=null){var u=d(t,v);if(u!=null){return u}return t}return null}function f(w){var u=null;var t=w;while(true){if(t==t.ownerDocument.documentElement){u=j;break}var v=MadCap.Dom.GetAttributeInt(t,"ownerHelpSystemIndex",-1);if(v>=0){u=m[v];break}t=t.parentNode}return u}function g(w){var x="";var v=-1;var t=$(w).children("TocEntry")[0];if(t!=null){x=encodeURIComponent(MadCap.Dom.GetAttribute(w,"Title"));v=0}else{v=$(w).index()+1}if(x.length>0){x+="|"}x+=("_____"+v);for(var u=w.parentNode;u!=null&&u.parentNode.nodeType==1;u=u.parentNode){if(x==null){x=""}if(x.length>0){x="|"+x}x=encodeURIComponent(MadCap.Dom.GetAttribute(u,"Title"))+x}return x}function a(z){if(z.parentNode==z.ownerDocument.documentElement){return 0}var y=0;var w=MadCap.Dom.GetAttribute(z,"Link");if(w!=null){y++}for(var t=z.previousSibling;t!=null;t=t.previousSibling){if(t.nodeType!=1){continue}var u=MadCap.Dom.GetAttributeInt(t,"DescendantCount",0);y+=u;var w=MadCap.Dom.GetAttribute(t,"Link");if(w!=null){var x=new MadCap.Utilities.Url(w);var v=x.Extension.toLowerCase();if(v=="htm"||v=="html"){y++}}}return y+a(z.parentNode)}};MadCap.WebHelp.TocFile.TocType={Toc:0,BrowseSequence:1};MadCap.WebHelp.IndexEntry=function(b,e){var d=MadCap.Dom.GetChildNodeByTagName(b,"Links",0).childNodes;var g=d.length;var f=0;this.Term=MadCap.Dom.GetAttribute(b,"Term");this.IndexLinks=new Array();this.Level=e;this.GeneratedReferenceType=MadCap.Dom.GetAttribute(b,"GeneratedReferenceType");for(var a=0;a<g;a++){var c=d[a];if(c.nodeType!=1){continue}this.IndexLinks[f]=new MadCap.WebHelp.IndexLink(c);f++}};MadCap.WebHelp.IndexLink=function(a){this.Title=MadCap.Dom.GetAttribute(a,"Title");this.Link=MadCap.Dom.GetAttribute(a,"Link")};/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
MadCap.WebHelp=MadCap.CreateNamespace("WebHelp");MadCap.WebHelp.AliasFile=function(i,c,h){var g=null;var d=c;var f=null;var e=null;(function(){})();this.Load=function(j){MadCap.Utilities.Xhr.Load(i,true,function k(l){if(l){g=l.documentElement}j()})};this.GetIDs=function(){var j=new Array();a();e.ForEach(function(k,l){j[j.length]=k;return true});return j};this.GetNames=function(){var j=new Array();a();f.ForEach(function(k,l){j[j.length]=k;return true});return j};this.LookupID=function(k){var j=false;var o=null;var n=null;if(k){if(typeof(k)=="string"&&k.indexOf(".")!=-1){var m=k.indexOf("|");if(m!=-1){o=k.substring(0,m);n=k.substring(m+1)}else{o=k}j=true}else{var l=b(k);if(l!=null){j=true;o=l.Topic;n=l.Skin}}}else{j=true}if(o){o=d.ContentFolder+o}return{Found:j,Topic:o,Skin:n}};function b(j){var k=null;a();if(f!=null){if(typeof(j)=="string"){k=f.GetItem(j);if(k==null){k=e.GetItem(j)}}else{if(typeof(j)=="number"){k=e.GetItem(j.toString())}}}return k}function a(){if(f==null){if(g){f=new MadCap.Utilities.Dictionary(true);e=new MadCap.Utilities.Dictionary();var l=g.getElementsByTagName("Map");for(var k=0;k<l.length;k++){var p=l[k].getAttribute("Link");var o=l[k].getAttribute("Skin");var j={Topic:p,Skin:o};var m=l[k].getAttribute("Name");if(m!=null){f.Add(m,j)}var n=l[k].getAttribute("ResolvedId");if(n!=null){e.Add(n,j)}}}}}};/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){var c=null;var b=null;var a=false;var d=null;var f=MadCap.Dom.Dataset(document.documentElement,"mcOutputAnalyticsTopicId");var e=null;MadCap.Topic=MadCap.CreateNamespace("Topic");MadCap.WebHelp.HelpSystem.LoadHelpSystemDefault().done(function(s){d=s;if(d&&d.LiveHelpEnabled){MadCap.Utilities.MessageBus.PostMessageRequest(parent,"get-csh-id",null,function(u){var t=u!=null?u[0]:null;if(d.IsCentralLiveHelpServerType()){e=MadCap.WebHelp.LoadOutputAnalyticsController(d.OutputAnalyticsServer);if(f!=null){e.LogTopic(f,t)}}else{k(t)}})}});MadCap.Topic.ShowFeedback=r;function n(){var s=$(document.documentElement).attr("data-mc-community-features");return s&&s.toLowerCase()=="disabled"}function r(){var s=$(".feedback-comments-wrapper");if(d&&d.IsResponsive&&parent!=window){s.addClass("feedback-embedded");MadCap.Utilities.MessageBus.PostMessageRequest(parent,"get-parent-window-width",null,function(t){var u=parseInt(t[0]);if(d.IsTabletLayout(u)){if(!s.hasClass("responsive")){s.addClass("responsive")}}else{if(s.hasClass("responsive")){s.removeClass("responsive")}}})}else{if(s.hasClass("responsive")){s.removeClass("responsive")}}}function k(s){c=MadCap.WebHelp.LoadFeedbackController(d.LiveHelpServer);c.Init(function(){if(c.FeedbackActive){if(_TopicID!=null){$(document.documentElement).addClass("has-topic");c.LogTopic(_TopicID,s,function(){if(!MadCap.Topic.IsTopicPopup()&&!MadCap.Topic.IsTemplateTopic()&&!n()){if(!c.PulseEnabled){l()}else{if(c.PulseActive){m()}}}})}}});r()}function l(){var s=$(".feedback-comment-wrapper");s.removeClass("hidden");b=$("#new-comment-form").attr("data-comment-length-exceeded-message")||"The maximum comment length was exceeded by {n} characters.";c.GetAnonymousEnabled(d.LiveHelpOutputId,function(u){a=u;if(u){$(document.documentElement).addClass("feedback-anonymous-enabled")}});var t=MadCap.Utilities.Store.getItem("LiveHelpUsername");$(".username").val(t);$(".comment-submit").click(i);$(".feedback-comments-wrapper .comments").on("click",".reply-comment-button",p);o()}function m(){j(function(t){if(t){var u=c.PulseServer+t;q(u)}else{c.GetPulseStreamID(_TopicID,function(w){if(w=="00000000-0000-0000-0000-000000000000"){return}var v=c.PulseServer+"streams/"+w+"/activities?frame=stream";q(v)})}});var s=new MadCap.Utilities.Url(c.PulseServer);MadCap.Utilities.MessageBus.AddVerifiedOrigin(s.Origin)}function p(u){u.preventDefault();var s=$(this).closest(".comment");if(s.children(".comment-form-wrapper")[0]!=null){return}var t=$("#new-comment-form").clone();t.attr("id",null);t.children(".comment-submit").click(i);s.children(".buttons").after(t);t.hide().slideDown()}function i(v){var s=$(this).closest(".comment-form-wrapper");var y=null;var z=s.children(".username-field").val();var x=s.children(".subject-field").val();var u=s.find(".body-field").val();var w=null;var t=s.parent();if(t.hasClass("comment")){w=t.attr("data-mc-comment-id")}g(z,x,u,w)}function g(x,w,s,v){if(a){MadCap.Utilities.Store.setItem("LiveHelpUsername",x);try{c.AddComment(_TopicID,null,x,w,s,v,o)}catch(t){var u=b.replace(/{n}/g,t.Data.ExceedAmount);alert(u)}}else{MadCap.Utilities.MessageBus.PostMessageRequest(parent,"login-user",null,function(y){var B=y[0];if(B!=null){try{c.AddComment(_TopicID,B,x,w,s,v,o)}catch(z){var A=b.replace(/{n}/g,z.Data.ExceedAmount);alert(A)}}})}}function o(){MadCap.Utilities.MessageBus.PostMessageRequest(parent,"get-user-guid",null,function(s){var t=s[0];c.GetTopicComments(_TopicID,t,null,function(v){var w=MadCap.Utilities.Xhr.LoadXmlString(v);var u=$(".comments");u.children().not(".mc-template").remove();h(w.documentElement,u)})})}function h(B,w){var v=$(B).children("Comment");var t=$(".comments .comment.mc-template");for(var x=0,y=v.length;x<y;x++){var u=$(v[x]);var E=u.attr("User");var D=u.attr("DateUTC")||u.attr("Date");var C=u.attr("Subject");var A=u.attr("CommentID");var z=u.children("Body").text();var s=t.clone();s.removeClass("mc-template");s.attr("data-mc-comment-id",A);$(".username",s).text(E);$(".timestamp",s).text(D);$(".subject",s).text(C);$(".body",s).text(z);$(w).append(s);h(u.children("Comments")[0],s)}}function j(s){MadCap.Utilities.MessageBus.PostMessageRequest(parent,"get-href",null,function(t){var v=null;if(t){var w=new MadCap.Utilities.Url(decodeURIComponent(t[0]));var u=new MadCap.Utilities.Url(w.Fragment.substring(1));v=w.QueryMap.GetItem("PulsePath")}s(v)})}function q(u){var s=$(".feedback-comments-wrapper");s.empty();var t=$("<iframe name='topiccomments-html5' class='pulse-frame pulse-loading' aria-label='Topic Comments' title='Topic Comments' frameborder='0'></iframe>");t.appendTo(s);t.attr({onload:"this.className='pulse-frame';",src:u,"aria-label":MadCap.Accessibility.getPulseLabel()});if(!MadCap.Topic.GetHideComments()){s.removeClass("hidden")}}})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
var _FeedbackController=null;var _OutputAnalyticsController=null;var _HelpSystem=null;var _UserGuid=null;var _LoginDialog=null;var _TopicID=null;var isTriPane=false;(function(){isTriPane=MadCap.Utilities.HasRuntimeFileType("TriPane");var a=MadCap.Utilities.HasRuntimeFileType("SkinPreview");MadCap.WebHelp.HelpSystem.LoadHelpSystemDefault().done(function(b){if(!b.LiveHelpEnabled&&!a){return}_HelpSystem=b;if(_HelpSystem.LiveHelpEnabled){if(_HelpSystem.IsCentralLiveHelpServerType()){_OutputAnalyticsController=MadCap.WebHelp.LoadOutputAnalyticsController(_HelpSystem.OutputAnalyticsServer)}else{_FeedbackController=MadCap.WebHelp.LoadFeedbackController(_HelpSystem.LiveHelpServer)}}else{if(a){_FeedbackController=new MadCap.WebHelp.MockFeedbackController()}}if(_FeedbackController!=null){InitFeedbackController()}});MadCap.FeedbackHelper=MadCap.CreateNamespace("FeedbackHelper");MadCap.Utilities.MessageBus.AddMessageHandler(FeedbackMessageHandler);$.extend(MadCap.FeedbackHelper,{UpdateLoginButton:UpdateLoginButton,CloseLoginDialog:CloseLoginDialog,InitLoginDialog:InitLoginDialog,LoadStream:LoadStream,NavigateStream:NavigateStream,SetPulseLoginID:SetPulseLoginID,UpdateRating:UpdateRating,UpdateCommentsInTopic:UpdateCommentsInTopic,SetCommunitySource:SetCommunitySource,FeedbackMessageHandler:FeedbackMessageHandler,GetUserGuid:function(){return _UserGuid},GetController:function(){return _FeedbackController}})})();function InitFeedbackController(){_FeedbackController.Init(function(){if(_FeedbackController.PulseActive){$(document.documentElement).addClass("pulse-active");if(isTriPane){MadCap.TriPane.AdjustTabs(parseInt($("#navigation").css("width")))}var a=new MadCap.Utilities.Url(_FeedbackController.PulseServer);MadCap.Utilities.MessageBus.AddVerifiedOrigin(a.Origin)}if(_FeedbackController.FeedbackActive){$(document.documentElement).addClass("feedback-active");InitCommunityFeatures();if(!isTriPane){UpdateRating();if(!MadCap.Utilities.HasRuntimeFileType("Search")){UpdateCommentsInTopic()}}}})}function InitCommunityFeatures(){$(".star-buttons").on("click",FeedbackRating_Click);UpdateLoginButton();$(".buttons").on("click",".login-button",function(a){if(isSkinPreview){MadCap.Utilities.SetButtonState($(".login-button"),2)}else{_LoginDialog=new MadCap.Feedback.LoginDialog(_FeedbackController,_FeedbackController.PulseEnabled?"pulse":"new");if(!_FeedbackController.PulseEnabled){$(_LoginDialog).bind("closed",function(){UpdateLoginButton()})}_LoginDialog.Show()}});$(".buttons").on("click",".edit-user-profile-button",function(a){if(isSkinPreview){MadCap.Utilities.SetButtonState($(".edit-user-profile-button"),1)}else{if(_FeedbackController.PulseEnabled){var b="#!streams/"+(isTriPane?_FeedbackController.PulseUserGuid+"/settings":"my");NavigateStream(b)}else{_LoginDialog=new MadCap.Feedback.LoginDialog(_FeedbackController,"edit");$(_LoginDialog).bind("closed",function(){UpdateLoginButton()});_LoginDialog.Show()}}})}function UpdateCommentsInTopic(){var a=_HelpSystem.GetCurrentSkin();if(a&&a.CommentsInTopic=="false"){if(isTriPane){MadCap.Utilities.MessageBus.PostMessageRequest(frames.topic,"hide-comments")}else{$(".feedback-comments-wrapper").addClass("hidden")}}else{if(isTriPane){MadCap.Utilities.MessageBus.PostMessageRequest(frames.topic,"show-comments")}else{$(".feedback-comments-wrapper").removeClass("hidden")}}}function UpdateRating(){if(_FeedbackController==null){return}$(".star-buttons").addClass("loading");function a(){_FeedbackController.GetAverageRating(_TopicID,function(b,c){$(".star-buttons").removeClass("loading");SetFeedbackRating(b)})}if(_TopicID==null){GetTopicID(function(b){_TopicID=b;SetFeedbackRating(0);a()})}else{a()}}function SetFeedbackRating(f){var b=$(".star-buttons");var c=$(".star-button",b);var h=c.length;var e=Math.ceil(f*h/100);c.css("opacity",0);for(var d=0;d<h;d++){var g=c[d];var a=$(g);window.setTimeout((function(k,j){return function(){if(k<=e-1){MadCap.Utilities.SetButtonState(j[0],2)}else{MadCap.Utilities.SetButtonState(j[0],1)}j.animate({opacity:1})}})(d,a),d*50)}}function FeedbackRating_Click(b){var a=$(b.target);if(b.target.tagName=="IMG"){a=a.closest(".star-button")}if(a.hasClass("star-button")){var d=$(".star-button",this).length;var c=(a.index()+1)*100/d;_FeedbackController.SubmitRating(_TopicID,c,null,function(){UpdateRating()})}}function UpdateLoginButton(){_UserGuid=_FeedbackController.GetUserGuid();var a=$(".login-button");if(a.length==0){a=$(".edit-user-profile-button")}MadCap.Utilities.SetButtonState(a[0],_UserGuid==null?1:2)}function CloseLoginDialog(){if(_LoginDialog!=null){_LoginDialog.Hide(true)}}function InitLoginDialog(a){var b=a=="login-pulse"?"pulse":"new";_LoginDialog=new MadCap.Feedback.LoginDialog(_FeedbackController,b);if(b=="new"){$(_LoginDialog).bind("closed",function(){UpdateLoginButton();responseData[responseData.length]=_UserGuid;MadCap.Utilities.MessageBus._PostMessageResponse(messageSource,a,responseData.length>0?responseData:null,messageID)})}_LoginDialog.Show()}function SetPulseLoginID(a){if(_FeedbackController!=null){_FeedbackController.PulseUserGuid=a}UpdateLoginButton()}function LoadStream(b){$(document.documentElement).removeClass("has-topic");if(isTriPane){MadCap.TriPane.ShowPane("pulse")}var a=b.substring(b.indexOf("#"));MadCap.Utilities.MessageBus.PostMessageRequest(frames["community-frame-html5"],"pulse-hash-changed",[a]);_FeedbackController.Init(function(){if(_FeedbackController.PulseActive&&GetPulseFrame()){GetPulseFrame().location.replace(_FeedbackController.PulseServer+a)}})}function GetPulseFrame(){if(frames.pulse){return frames.pulse}else{if(frames["pulse-full"]){return frames["pulse-full"]}else{return null}}}function NavigateStream(b){var a="pulse-"+b;if(_HelpSystem.PulsePage!=null){MadCap.Utilities.Url.Navigate(_HelpSystem.PulsePage+"#"+a)}else{MadCap.Utilities.Url.NavigateHash(a)}}function GetTopicID(a){if(isTriPane){MadCap.Utilities.MessageBus.PostMessageRequest(frames.topic,"get-topic-id",null,function(b){a(b[0])})}else{a($("html").attr("data-mc-live-help"))}}function SetCommunitySource(a){_FeedbackController.Init(function(){if(_FeedbackController.PulseActive){a.attr("src",_FeedbackController.PulseServer+"streams/my")}})}function FeedbackMessageHandler(f,b,l,h,g){var m={Handled:false,FireResponse:true};switch(f){case"login-user":case"login-pulse":if(_UserGuid==null){MadCap.FeedbackHelper.InitLoginDialog(f);m.Handled=true;m.FireResponse=false}else{l[l.length]=_UserGuid;m.Handled=true;m.FireResponse=true}break;case"get-user-guid":l[l.length]=_UserGuid;m.Handled=true;m.FireResponse=true;break;case"login-complete":case"logout-complete":MadCap.Utilities.MessageBus.PostMessageRequest(GetPulseFrame(),"reload");MadCap.Utilities.MessageBus.PostMessageRequest(frames["community-frame-html5"],"reload");MadCap.Utilities.MessageBus.PostMessageRequest(frames["topiccomments-html5"],"reload");MadCap.Utilities.MessageBus.PostMessageRequest(frames.topic,"reload-pulse");MadCap.FeedbackHelper.CloseLoginDialog();MadCap.FeedbackHelper.UpdateLoginButton();m.Handled=true;m.FireResponse=false;break;case"close-login-dialog":MadCap.FeedbackHelper.CloseLoginDialog();m.Handled=true;m.FireResponse=false;break;case"set-pulse-login-id":MadCap.FeedbackHelper.SetPulseLoginID(b[0]);m.Handled=true;m.FireResponse=false;break;case"get-topic-path-by-stream-id":var p=b[0];_FeedbackController.GetTopicPathByStreamID(p,function(r){l[l.length]=r;MadCap.Utilities.MessageBus._PostMessageResponse(h,f,l.length>0?l:null,g)},null,null);m.Handled=true;m.FireResponse=false;break;case"get-topic-path-by-page-id":var i=b[0];_FeedbackController.GetTopicPathByPageID(i,function(r){l[l.length]=r;MadCap.Utilities.MessageBus._PostMessageResponse(h,f,l.length>0?l:null,g)},null,null);m.Handled=true;m.FireResponse=false;break;case"navigate-pulse":var j=b[0];var d=MadCap.Utilities.Url.CurrentHash();if(d.length>1&&j){var e=j.toLowerCase();if(e==="feedback/account/register"||j.toLowerCase()==="forgotpassword"){var q=new MadCap.Utilities.Url(d.substring(1));var n=q.QueryMap.GetItem("returnUrl");if(n!=null){n=escape(n)}else{n=d.substring(1)}j+="?returnUrl="+n}}if(j){MadCap.FeedbackHelper.NavigateStream(j)}m.Handled=true;break;case"forward-ajax-open-success":var a=b[0];var o=parseInt(b[1]);var c=b[2];ShowPane("pulse");MadCap.Utilities.MessageBus.PostMessageRequest(GetPulseFrame(),"ajax-open-success",[a,o,c]);m.Handled=true;m.FireResponse=false;break;case f=="get-pulse-hash":var k="";var d=MadCap.Utilities.Url.CurrentHash();if(d.indexOf("#pulse-")==0){k=d.substring("#pulse-".length)}l[l.length]=k;m.Handled=true;m.FireResponse=true;break}return m};/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){MadCap.SkinHelper=MadCap.CreateNamespace("SkinHelper");_HelpSystem=null;$.extend(MadCap.SkinHelper,{ApplyLogoUrl:function(c){if(c.LogoUrl){var b=new MadCap.Utilities.Url(c.LogoUrl);if(!b.IsAbsolute&!MadCap.Utilities.HasRuntimeFileType("WebApp")){var a=_HelpSystem.GetPatchedPath(b.FullPath);b=_HelpSystem.GetTopicPath("../"+_HelpSystem.ContentFolder+a)}$("a.logo").attr("href",MadCap.Utilities.EncodeHtml(b.FullPath))}},ApplySkinClass:function(b,a){if(a!=null){$.each(a.GetSkins(),function(c,d){$("html").removeClass(d.SkinClass)})}$("html").addClass(b.SkinClass)},GetPanePosition:function(a){if(a.WebHelpOptions!=null){return a.WebHelpOptions.NavigationPanePosition}return"Left"},ApplySkinByName:function(c,a){var b=null;if(c!=null){b=a.GetSkin(c)||a.GetSkinByName(c)}MadCap.SkinHelper.ApplySkin(b||a.DefaultSkin)},SetSize:function(l){if(!l){return}var n=MadCap.String.ToBool(l.UseBrowserDefaultSize,true);if(n){return}var m=MadCap.String.ToInt(l.Top,0);var j=MadCap.String.ToInt(l.Left,0);var h=MadCap.String.ToInt(l.Bottom,0);var k=MadCap.String.ToInt(l.Right,0);var o=MadCap.String.ToInt(l.Width,800);var i=MadCap.String.ToInt(l.Height,600);var d=l.Anchors;if(d){var f=(d.indexOf("Top")>-1)?true:false;var c=(d.indexOf("Left")>-1)?true:false;var a=(d.indexOf("Bottom")>-1)?true:false;var e=(d.indexOf("Right")>-1)?true:false;var g=(d.indexOf("Width")>-1)?true:false;var b=(d.indexOf("Height")>-1)?true:false}if(c&&e){o=screen.availWidth-(j+k)}else{if(!c&&e){j=screen.availWidth-(o+k)}else{if(g){j=(screen.availWidth/2)-(o/2)}}}if(f&&a){i=screen.availHeight-(m+h)}else{if(!f&&a){m=screen.availHeight-(i+h)}else{if(b){m=(screen.availHeight/2)-(i/2)}}}if(window==top){window.resizeTo(o,i);window.moveTo(j,m)}},ApplySkin:function(){},SwitchPanePosition:function(){},InitFoundationPreviewMenu:function(){},OnLayout:function(){},OnHelpSystemLoad:function(){}});if(MadCap.WebHelp&&MadCap.WebHelp.HelpSystem){MadCap.WebHelp.HelpSystem.LoadHelpSystemDefault().done(function(a){_HelpSystem=a;MadCap.SkinHelper.OnHelpSystemLoad(a)})}})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){MadCap.WebHelp=MadCap.CreateNamespace("WebHelp");var c=typeof CefSharp!=="undefined"||(window.external&&window.external.attached&&window.external.attached());var b=MadCap.Utilities.HasRuntimeFileType("TriPane");MadCap.WebHelp.TocPane=function(i,f,h,e){var g=this;this._Init=false;this._RuntimeFileType=i;this._RootUl=h;this._$RootUl=$(h);this._CanSync=e;this._HelpSystem=f;this._TocFile=this._RuntimeFileType=="Toc"?this._HelpSystem.GetTocFile():this._HelpSystem.GetBrowseSequenceFile();this._LoadedNodes=[];this._NodesWithChildrenLoaded=[];this._NodeElMap={};this._TocType=null;this._TocPath=null;this._TocHref=null;MadCap.Utilities.MessageBus.AddMessageHandler(this.OnMessage,this);this._Initializing=false;this._InitOnCompleteFuncs=new Array();this.TreeNode_Expand=function(s){var z=s.target;var t=g._IsOffCanvasMenu||g._IsSideNavMenu?$(g._RootUl):null;var x=$(z).closest("li")[0];if(x==null){return}var m=$(x);var w=m.hasClass(g._TreeNodeLeafClass);var y=g._LoadedNodes[m.attr("data-mc-id")];var r=g._HelpSystem.GetCurrentSkin();if(g._IsTopNavMenu&&g._HelpSystem.NodeDepth(y)>g._MaxDepth){return}if(!w&&!g._IsTopNavMenu){m.toggleClass(g._TreeNodeExpandedClass).toggleClass(g._TreeNodeCollapsedClass)}var l=m.find("> div img");var q=l.attr("data-mc-alt2");var p=l.attr("alt");if(q!=""){l.attr("alt",q);l.attr("data-mc-alt2",p)}if(g._IncludeIndicator){var k=m.find("> div a");if(k[0]!=null){var v=k.attr("href");if(!MadCap.String.IsNullOrEmpty(v)){g._SelectNode(x)}if(k[0]!=z){var u=k.attr("target");if(!MadCap.String.IsNullOrEmpty(v)){if(u!=null){window.open(v,u)}else{document.location.href=v}}}}}if(typeof y.n=="undefined"||y.n.length==0){y.childrenLoaded=true;g._NodesWithChildrenLoaded.push(y)}if(g._NodesWithChildrenLoaded.indexOf(y)===-1){var j=$("a",m).first();var o=$("<ul/>");var n=$(g._RootUl).attr("data-mc-css-sub-menu")||"tree inner";o.addClass(n);if(c){o.attr("data-mc-style","Navigation Panel Item")}if(g.IsAccordionMenu(r)){o.css("display","none")}g.LoadTocChildren(y,o,function(){m.append(o);g.InitOffCanvasSubMenuKeyboardNavigation(m,o);if(g._IsSideNavMenu&&o.length&&m.hasClass("is-accordion-submenu-parent")){var A=m.find("span.submenu-toggle-container").first().attr("aria-expanded","true");MadCap.Accessibility.setAriaControls(A,o,"sidenav-submenu")}else{if(g._IsTopNavMenu&&o.length&&m.hasClass(g._TreeNodeHasChildrenClass)){var E=o.width();var D=$("html").attr("dir")=="rtl";var B=D?m.offset().left:$(window).width()-m.offset().left-m.width();var C=a(E,B,D);o.toggleClass(C,E>B);m.addClass(g._TreeNodeExpandedClass);MadCap.Accessibility.initTopNavSubmenuAccessibility(m,o)}}if(g._DeferExpandEvent){setTimeout(function(){if(g.IsAccordionMenu(r)){Foundation.Nest.Feather(m.children(".is-accordion-submenu"),"accordion");t.foundation("down",m.children(".is-accordion-submenu"))}else{Foundation.Nest.Feather(t,"drilldown");t.foundation("_show",m)}},100)}});if(g._DeferExpandEvent){s.stopImmediatePropagation();return false}}if(w){if(!b){MadCap.Utilities.Url.OnNavigateTopic.call(z,s)}}else{if(g._IsOffCanvasMenu||g._IsSideNavMenu){if(g.IsAccordionMenu(r)){t.foundation("toggle",m.children(".is-accordion-submenu"))}else{t.foundation("_show",m);m.find("ul.submenu > li > a").first().focus()}return false}else{return true}}};this.InitOffCanvasSubMenuKeyboardNavigation=function(m,n){if(this._IsOffCanvasMenu&&n.length){var j=m.children("a").attr("aria-expanded","true");MadCap.Accessibility.setAriaControls(j,n,"responsive-submenu");if(m.hasClass("is-drilldown-submenu-parent")){var l=n.children("li").children("a");var k=l.first();l.last().on("keydown",function(p){var o=p.keyCode||p.which;if(!p.shiftKey&&o==9){p.preventDefault();k.click()}});k.on("keydown",function(p){var o=p.keyCode||p.which;if(p.shiftKey&&o==9&&k.text()=="Back"){p.preventDefault();k.click()}})}}};this.TopNavigationMenuItem_MouseEnter=function(n){var j=$(n.currentTarget).closest("li");var k=j.children("ul").first();if(k.length){var p=k.width();var o=$("html").attr("dir")=="rtl";var l=o?j.offset().left:$(window).width()-j.offset().left-j.width();var m=a(p,l,o);k.toggleClass(m,p>l);j.addClass(g._TreeNodeExpandedClass);j.children("button").attr("aria-expanded","true")}g.SetTopNavClasses(j,k)};this.TopNavigationMenuItem_MouseLeave=function(k){var j=$(k.currentTarget).closest("li");if(j.hasClass(g._TreeNodeExpandedClass)){j.removeClass(g._TreeNodeExpandedClass)}j.children("button").attr("aria-expanded","false")};this.SetTopNavClasses=function(j,k){if(k.length){var o=k.width();var n=$("html").attr("dir")==="rtl";var l=n?j.offset().left:$(window).width()-j.offset().left-j.width();var m=a(o,l,n);k.removeClass("openLeft openRight").addClass(m);j.addClass(g._TreeNodeExpandedClass)}};this.ExpandCollapseOnArrowPress=function(j){var k=this.TreeNode_Expand;j.on("keydown",function(n){var l=n.keyCode||n.which;var m=$(this).closest(".tree-node").hasClass("tree-node-collapsed");if(l==39&&m||l==37&&!m){n.preventDefault();k(n)}})}};function a(h,e,g){var f=h>e?"openLeft":"openRight";if(g){f=h>e?"openRight":"openLeft"}return f}var d=MadCap.WebHelp.TocPane;d.prototype.OnMessage=function(g,e,h){var i={Handled:false,FireResponse:true};if(g=="sync-toc"){var k=e[0];var j=e[1];var f=new MadCap.Utilities.Url(e[2]);if(this._CanSync&&(k==null||k==this._RuntimeFileType)){this.SyncTOC(j,f);i.Handled=true}}return i};d.prototype.Init=function(g){if(this._Init){if(g!=null){g()}return}if(g!=null){this._InitOnCompleteFuncs.push(g)}if(this._Initializing){return}this._Initializing=true;var e=this._$RootUl;this._IsOffCanvasMenu=e.hasClass("off-canvas-list");this._IsSideNavMenu=MadCap.Dom.GetAttributeBool(this._RootUl,"data-mc-side-nav-menu",false);this._IsTopNavMenu=MadCap.Dom.GetAttributeBool(this._RootUl,"data-mc-top-nav-menu",false);this._IsSideMenu=MadCap.Dom.GetAttributeBool(this._RootUl,"data-mc-side-menu",false);if(this._IsTopNavMenu){this._TreeNodeHasChildrenClass=e.attr("data-mc-css-tree-node-has-children")||"has-children";this._TreeNodeCollapsedClass="";this._TreeNodeExpandedClass="is-expanded"}else{this._TreeNodeClass=e.attr("data-mc-css-tree-node")||"tree-node";this._TreeNodeCollapsedClass=e.attr("data-mc-css-tree-node-collapsed")||"tree-node-collapsed";this._TreeNodeExpandedClass=e.attr("data-mc-css-tree-node-expanded")||"tree-node-expanded";this._TreeNodeLeafClass=e.attr("data-mc-css-tree-node-leaf")||"tree-node-leaf";this._TreeNodeSelectedClass=e.attr("data-mc-css-tree-node-leaf")||"tree-node-selected"}this._SubMenuClass=e.attr("data-mc-css-sub-menu")||"tree inner";this._IncludeBack=MadCap.Dom.GetAttributeBool(this._RootUl,"data-mc-include-back",false);this._IncludeParentLink=MadCap.Dom.GetAttributeBool(this._RootUl,"data-mc-include-parent-link",false);this._IncludeIcon=MadCap.Dom.GetAttributeBool(this._RootUl,"data-mc-include-icon",true);this._IncludeIndicator=MadCap.Dom.GetAttributeBool(this._RootUl,"data-mc-include-indicator",true);this._DeferExpandEvent=MadCap.Dom.GetAttributeBool(this._RootUl,"data-mc-defer-expand-event",false);this._ExpandEvent=e.attr("data-mc-expand-event")||(this._IsSideMenu?null:"click");this._BackLink=e.attr("data-mc-back-link")||"Back";this._MaxDepth=parseInt(e.attr("data-mc-max-depth"))||1;this._IncludeParent=MadCap.Dom.GetAttributeBool(this._RootUl,"data-mc-include-parent",false);this._IncludeSiblings=MadCap.Dom.GetAttributeBool(this._RootUl,"data-mc-include-siblings",false);this._IncludeChildren=MadCap.Dom.GetAttributeBool(this._RootUl,"data-mc-include-children",false);this._IsContextSensitive=MadCap.Dom.GetAttributeBool(this._RootUl,"data-mc-is-context-sensitive",false);this._LinkedToc=e.attr("data-mc-linked-toc");var f=this;e.attr("data-mc-chunk","Data/"+this._RuntimeFileType+".xml");this.CreateToc(this._RootUl,function(){f._Init=true;for(var h=0;h<f._InitOnCompleteFuncs.length;h++){f._InitOnCompleteFuncs[h]()}})};d.prototype.CreateToc=function(g,f){var e=true;if(this._RuntimeFileType=="Toc"){e=this._HelpSystem.HasToc}else{e=this._HelpSystem.HasBrowseSequences}if(!e){if(f!=null){f()}return}var h=this;h._HelpSystem.LoadToc([this._RuntimeFileType,this._LinkedToc]).then(function(l){var j=$(g);var m=[];for(var k=0;k<l.chunks.length;k++){if(!l.chunks[k].loaded){m.push(h._HelpSystem.LoadTocChunk(l,k))}}if(c){j.attr("data-mc-style","Navigation Panel Item")}$.when.apply(this,m).done(function(){if(h._IsSideMenu){if(h._TocType){h._HelpSystem.FindNode(h._TocType,h._TocPath,h._TocHref,function(i){h.TocNodeMenuCallback(i,j,l,f)},h._LinkedToc)}else{h._HelpSystem.FindTocNode(null,h._TocHref,function(i){h.TocNodeMenuCallback(i,j,l,f)},h._LinkedToc)}}else{h.LoadTocChildren(l.tree,j,function(){if((h._IsOffCanvasMenu||h._IsSideNavMenu)&&h._CanSync&&h._HelpSystem.SyncTOC){h.SyncTOC(h._TocPath,h._TocHref)}j.children("li.placeholder").remove();this._Init=true;if(f!=null){f()}})}})})};d.prototype.LoadTocChildren=function(m,h,n){var k=typeof m.n!=="undefined"?m.n.length:0;var l=0;var o=this;if(k==0){m.childrenLoaded=true;this._NodesWithChildrenLoaded.push(m)}if(this._NodesWithChildrenLoaded.indexOf(m)!==-1){if(n){n()}return}if(m.parent){if(this._IncludeBack){var f=$('<li class="js-drilldown-back"/>');f.addClass(this._TreeNodeClass);var e=$('<a href="#"/>');MadCap.Accessibility.makeAccessibleButton(e);e.text(this._BackLink);e.on(this._ExpandEvent,function(q){var i=f.parent("ul");var p=$("ul.menu[data-drilldown]");p.foundation("_back",i);q.preventDefault();i.siblings().first().focus()});f.append(e);h.append(f)}if(this._IncludeParentLink&&this._HelpSystem.GetTocEntryHref(m)!=null){var f=$("<li/>");f.addClass(this._TreeNodeClass);f.addClass(this._TreeNodeLeafClass);h.append(f);this.LoadTocNode(m,f,null)}}for(var j=0;j<k;j++){var g=m.n[j];var f=$("<li/>");f.addClass(this._TreeNodeClass);f.addClass(this._TreeNodeCollapsedClass);if(this._IsTopNavMenu&&(h.hasClass(this._SubMenuClass)||h[0]==this._RootUl)){var o=this;f.mouseenter(this.TopNavigationMenuItem_MouseEnter);f.mouseleave(this.TopNavigationMenuItem_MouseLeave)}h.append(f);this.LoadTocNode(g,f,function(){l++;if(l==k){m.childrenLoaded=true;o._NodesWithChildrenLoaded.push(m);if(n!=null){n()}}})}};d.prototype.LoadTocNode=function(f,e,g){var h=this;var i=f.toc;this._HelpSystem.LoadTocChunk(i,f.c).then(function(r){var u=i.entries[f.i];var w=typeof f.f!="undefined";var y=typeof f.n=="undefined"||f.n.length==0;var v=f.n!==undefined&&f.n.length>0;var B=h._CanSync&&!w?h._RuntimeFileType:null;var q=h._HelpSystem.TopNavTocPath||b;var x=h._HelpSystem.GetTocEntryHref(f,B,h._CanSync,q);var j=$("<a/>");if(w){j.attr("target",f.f)}if(x!=null){j.attr("href",x);if(b){MadCap.Accessibility.tripaneTopicFrameSkip(j,u.title)}}else{j.attr("href","javascript:void(0);");j.attr("role","button")}j.text(u.title);if(b){MadCap.Accessibility.tripaneTopicFrameSkip(j,u.title)}if(typeof f.s!="undefined"){e.addClass(f.s)}if(y){e.removeClass(h._TreeNodeCollapsedClass);e.addClass(h._TreeNodeLeafClass)}if(h._IncludeIcon){var t="default";var z=h._HelpSystem.Language.toc;for(className in z){if(e.hasClass(className)){t=className;break}}var m=$("<img/>");m.attr("src","Skins/Default/Stylesheets/Images/transparent.gif");m.addClass("toc-icon");if(h._IncludeIndicator&&typeof f.w!=="undefined"&&f.w==1){m.attr("alt",z[t]["MarkAsNewIconAlternateText"])}else{if(e.hasClass(h._TreeNodeLeafClass)){m.attr("alt",z[t]["TopicIconAlternateText"])}else{m.attr("alt",z[t]["ClosedBookIconAlternateText"]);m.attr("data-mc-alt2",z[t]["OpenBookIconAlternateText"])}}if(m.prop("src")!=""){j.prepend(m)}}if(h._IncludeIndicator){var k=$("<div/>");if(typeof f.w!=="undefined"&&f.w==1){k.append("<span class='new-indicator'></span>")}var p=$('<span class="label" />');p.append(j);k.append(p);j=k}var l=j;var s=h._HelpSystem.GetCurrentSkin();if(v){if(b){h.ExpandCollapseOnArrowPress(l.children().children())}if(h.IsAccordionMenu(s)){var o=$("<span class='submenu-toggle-container'><span class='submenu-toggle'>&nbsp</span></span>");j.append(o);if(h._IsSideNavMenu&&x!=null){MadCap.Accessibility.makeAccessibleButton(o);var n=$("<span class='invisible-label'></span>").text(j.text());o.append(n);o.attr({"aria-expanded":"false"});l=o}}if(h._IsOffCanvasMenu&&(e.hasClass("is-accordion-submenu-parent")||e.hasClass("is-drilldown-submenu-parent"))){l.attr({"aria-expanded":"false"});MadCap.Accessibility.makeAccessibleButton(l)}}if(!h._IsContextSensitive){l.on(h._ExpandEvent,h.TreeNode_Expand)}h._NodeElMap[h.GetNodeHash(f)]=e;e.append(j);e.attr("data-mc-id",h._LoadedNodes.length);var A=h._HelpSystem.NodeDepth(f);if(v&&(h._IsTopNavMenu&&A<=h._MaxDepth)){e.addClass(h._TreeNodeHasChildrenClass);MadCap.Accessibility.initTopNavMenuButtons(e,h,j,A)}h._LoadedNodes.push(f);if(g!=null){g(f)}})};d.prototype.SyncTOC=function(i,e){var h=this;var g=$("."+this._TreeNodeSelectedClass+" a",this._RootUl);if(g.length>0){var f=g[0];if(f.href===document.location.href){return}}this.Init(function(){function l(o){if(typeof o!=="undefined"&&o!=null){var n=[];var m=o;while(typeof m!=="undefined"&&(h._NodesWithChildrenLoaded.indexOf(m)===-1)){n.unshift(m);m=m.parent}MadCap.Utilities.AsyncForeach(n,function(t,r){var s=h._HelpSystem.GetCurrentSkin();var p=$(h._NodeElMap[h.GetNodeHash(t)]);var q=$("<ul/>");q.addClass(h._SubMenuClass);h.LoadTocChildren(t,q,function(){if(q[0].children.length>0){p.append(q);h.InitOffCanvasSubMenuKeyboardNavigation(p,q);if(h.IsDrillDownMenu(s)){Foundation.Nest.Feather($(h._RootUl),"drilldown");$(h._RootUl).foundation("_show",p)}var u;if(h._IsSideNavMenu){u=p.find("span.submenu-toggle-container").first()}else{if(h._IsOffCanvasMenu){u=p.children("a")}}if(u){u.attr("aria-expanded","true");MadCap.Accessibility.setAriaControls(u,q,"submenu")}}r()})},function(){var p=h._NodeElMap[h.GetNodeHash(o)][0];h._UnhideNode(p);h._SelectNode(p)})}}function k(m){h._HelpSystem.FindNode(h._RuntimeFileType,i,m,function(n){if(!n){if(!MadCap.String.IsNullOrEmpty(m.Fragment)||!MadCap.String.IsNullOrEmpty(m.Query)){var o=new MadCap.Utilities.Url(m.PlainPath);h._HelpSystem.FindNode(h._RuntimeFileType,i,o,l,h._LinkedToc)}}else{l(n)}},h._LinkedToc)}var j=e.HashMap.GetItem("cshid");if(j!=null){h._HelpSystem.LookupCSHID(j,function(m){var n=m.Found?new MadCap.Utilities.Url(m.Topic).ToRelative(h._HelpSystem.GetContentPath()):new MadCap.Utilities.Url(h._HelpSystem.DefaultStartTopic);k(n)})}else{k(e)}})};d.prototype._UnhideNode=function(h){var g=MadCap.Dom.GetAncestorNodeByTagName(h,"li",this._RootUl);var f=this._HelpSystem.GetCurrentSkin();while(g!=null){var e=$(g);if(this.IsAccordionMenu(f)||b){e.removeClass(this._TreeNodeCollapsedClass);e.addClass(this._TreeNodeExpandedClass)}g=MadCap.Dom.GetAncestorNodeByTagName(g,"li",this._RootUl)}};d.prototype._SelectNode=function(f){var e=$(f);$("."+this._TreeNodeSelectedClass,this._RootUl).removeClass(this._TreeNodeSelectedClass);e.addClass(this._TreeNodeSelectedClass);e.find("> a").addClass("selected").attr("aria-current",true);e.scrollintoview()};d.prototype.GetNodeHash=function(e){return e.toc.helpSystem.TocUrl+":c"+e.c+"i"+e.i};d.prototype.IsAccordionMenu=function(e){return this._IsSideNavMenu||(this._IsOffCanvasMenu&&e&&e.WebHelpOptions&&e.WebHelpOptions.OffCanvasMenuStyle=="Accordion")};d.prototype.IsDrillDownMenu=function(e){return this._IsOffCanvasMenu&&!this.IsAccordionMenu(e)}})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){MadCap.WebHelp=MadCap.CreateNamespace("WebHelp");MadCap.WebHelp.Breadcrumbs=function(f,c,e,b){var d=this;this._Init=false;this._RuntimeFileType=f;this._Root=e;this._$Root=$(e);this._CanSync=b;this._HelpSystem=c;this._TocFile=this._RuntimeFileType=="Toc"?this._HelpSystem.GetTocFile():this._HelpSystem.GetBrowseSequenceFile();this._TocType=null;this._TocPath=null;this._TocHref=null};var a=MadCap.WebHelp.Breadcrumbs;a.prototype.Init=function(){var b=this._$Root;this._MaxLevel=b.attr("data-mc-breadcrumbs-count")||"3";this._Divider=b.attr("data-mc-breadcrumbs-divider")||" > ";this._LinkClass="MCBreadcrumbsLink";this._SelfClass="MCBreadcrumbsSelf";this._DividerClass="MCBreadcrumbsDivider";var c=this;b.attr("data-mc-chunk","Data/"+this._RuntimeFileType+".xml");this.CreateToc(this._Root,function(){c._Init=true})};a.prototype.CreateToc=function(d,c){var b=true;if(this._RuntimeFileType=="Toc"){b=this._HelpSystem.HasToc}else{b=this._HelpSystem.HasBrowseSequences}if(!b){if(c!=null){c()}return}var e=this;e._HelpSystem.LoadToc([this._RuntimeFileType,null]).then(function(h){var f=$(d);var j=[];for(var g=0;g<h.chunks.length;g++){if(!h.chunks[g].loaded){j.push(e._HelpSystem.LoadTocChunk(h,g))}}$.when.apply(this,j).done(function(){if(e._TocType){e._HelpSystem.FindNode(e._TocType,e._TocPath,e._TocHref,function(i){if(i){e.LoadTocBreadcrumbs(i,f);if(c!=null){c()}}})}else{e._HelpSystem.FindTocNode(null,e._TocHref,function(i){if(i){e.LoadTocBreadcrumbs(i,f);if(c!=null){c()}}})}})})};a.prototype.LoadTocBreadcrumbs=function(l,f){var p=[];var q=l.parent;var m=this._HelpSystem.NodeDepth(l);p.push(l);m-=2;if(q){for(var h=m;h>=0;h--){if((this._MaxLevel<m&&h<=this._MaxLevel)||this._MaxLevel>=m){p.unshift(q)}if(!q.parent){break}q=q.parent}}for(var j=0;j<p.length;j++){var o=p[j];if(o.i!==undefined){var n=o.toc.entries[o.i];if(n){if(o==l){var d=$("<span>");d.text(n.title);d.addClass(this._SelfClass);f.append(d)}else{if(o.n){var c=$("<span/>");var e=this._HelpSystem.TopNavTocPath;var g=this._HelpSystem.GetTocEntryHref(o,"Toc",false,e);var b;if(g){b=$("<a/>");b.attr("href",MadCap.Utilities.EncodeHtml(g));b.addClass(this._LinkClass)}else{b=$("<span/>");b.addClass(this._SelfClass)}b.text(n.title);f.append(b);c.text(this._Divider);c.addClass(this._DividerClass);f.append(c)}}}}}}})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){MadCap.WebHelp=MadCap.CreateNamespace("WebHelp");MadCap.WebHelp.MiniToc=function(e,b,d){var c=this;this._Init=false;this._RuntimeFileType=e;this._Root=d;this._$Root=$(d);this._HelpSystem=b;this._TocFile=this._RuntimeFileType=="Toc"?this._HelpSystem.GetTocFile():this._HelpSystem.GetBrowseSequenceFile();this._TocType=null;this._TocPath=null;this._TocHref=null};var a=MadCap.WebHelp.MiniToc;a.prototype.Init=function(){var b=this._$Root;this._Depth=b.attr("data-mc-depth")||"3";this._LinkClass="MiniTOC";var c=this;b.attr("data-mc-chunk","Data/"+this._RuntimeFileType+".xml");this.CreateToc(this._Root,function(){c._Init=true})};a.prototype.CreateToc=function(d,c){var b=true;if(this._RuntimeFileType=="Toc"){b=this._HelpSystem.HasToc}else{b=this._HelpSystem.HasBrowseSequences}if(!b){if(c!=null){c()}return}var e=this;e._HelpSystem.LoadToc([this._RuntimeFileType,null]).then(function(h){var f=$(d);var j=[];for(var g=0;g<h.chunks.length;g++){if(!h.chunks[g].loaded){j.push(e._HelpSystem.LoadTocChunk(h,g))}}$.when.apply(this,j).done(function(){if(e._TocType){e._HelpSystem.FindNode(e._TocType,e._TocPath,e._TocHref,function(i){if(i){e.LoadTocMiniTocChildren(i,f,1);if(c!=null){c()}}})}else{e._HelpSystem.FindTocNode(null,e._TocHref,function(i){if(i){e.LoadTocMiniTocChildren(i,f,1);if(c!=null){c()}}})}})})};a.prototype.LoadTocMiniTocChildren=function(f,d,c){if(c<=this._Depth){if(f.n){for(var e=0;e<f.n.length;e++){var b=f.n[e];this.LoadTocMiniToc(b,d,c)}}}};a.prototype.LoadTocMiniToc=function(i,f,e){if(i.i!==undefined){var j=i.toc.entries[i.i];if(j){var d=this._HelpSystem.TopNavTocPath;var g=this._HelpSystem.GetTocEntryHref(i,"Toc",false,d);if(g){var h=this._LinkClass+e;var c=$("<p/>");var b=$("<a/>");b.addClass(h);b.attr("href",MadCap.Utilities.EncodeHtml(g));b.text(j.title);c.append(b);c.addClass(h+"_0");f.append(c)}}}e++;this.LoadTocMiniTocChildren(i,f,e)}})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){var a=MadCap.WebHelp.TocPane;a.prototype.TocNodeMenuCallback=function(c,b,e,d){if(this._IsContextSensitive){if(c){this.LoadTocMenu(c,b,this._MaxDepth,d)}else{$(b).remove();if(d!=null){d()}}}else{this.LoadTocMenuFromRoot(e.tree,c,b,this._MaxDepth,d)}};a.prototype.LoadTocMenuFromRoot=function(l,d,f,e,k){if(l.n&&e!=0){var j=0;var h=l.n.length;if(h==0){if(k!=null){k()}}e--;for(var g=0;g<h;g++){var c=l.n[g];var b=$("<li/>");f.append(b);var m=this;this.LoadTocNode(c,b,function(o){var i=m._NodeElMap[m.GetNodeHash(o)];if(o==d){m.SetTocMenuItemSelected(i)}if(o.n){var n=$("<ul/>");n.attr("class","sub-menu");i.append(n);i.attr("class","has-children");m.LoadTocMenuFromRoot(o,d,n,e,function(){j++;if(j==h){if(k!=null){k()}}})}else{j++;if(j==h){if(k!=null){k()}}}})}}};a.prototype.LoadTocMenu=function(e,d,c,f){if(this._IncludeParent&&e.parent.c!==undefined){var b=$("<li/>");d.append(b);var g=this;this.LoadTocNode(e.parent,b,function(){var h=$("<ul/>");b.append(h);b.attr("class","has-children");h.attr("class","sub-menu");if(g._IncludeSiblings){g.LoadTocMenuSiblings(e,h,c,f)}else{g.LoadTocSelectedMenu(e,h,c,f)}})}else{if(this._IncludeSiblings){this.LoadTocMenuSiblings(e,d,c,f)}else{this.LoadTocSelectedMenu(e,d,c,f)}}};a.prototype.LoadTocSelectedMenu=function(e,d,c,f){var b=$("<li/>");d.append(b);var g=this;this.LoadTocNode(e,b,function(){g.SetTocMenuItemSelected(b);g.AddTocMenuChildren(e,b,c,f)})};a.prototype.LoadTocMenuSiblings=function(j,e,d,k){var g=j.parent.n.length;var h=0;for(var f=0;f<j.parent.n.length;f++){var c=j.parent.n[f];var b=$("<li/>");e.append(b);var l=this;this.LoadTocNode(c,b,function(m){if(m==j){var i=l._NodeElMap[l.GetNodeHash(j)];l.SetTocMenuItemSelected(i);l.AddTocMenuChildren(j,i,d,function(){h++;if(h==g){if(k){k()}}})}else{h++;if(h==g){if(k){k()}}}})}};a.prototype.AddTocMenuChildren=function(e,d,c,f){if(this._IncludeChildren&&e.n){c--;var b=$("<ul/>");d.append(b);d.attr("class","has-children");this.LoadTocMenuChildren(e,b,c,f);b.attr("class","sub-menu")}else{if(f){f()}}};a.prototype.LoadTocMenuChildren=function(j,e,d,k){var g=j.n.length;var h=0;if(g==0){if(k){k()}}for(var f=0;f<g;f++){var c=j.n[f];var b=$("<li/>");e.append(b);var l=this;this.LoadTocNode(c,b,function(m){if(d!=0){var i=l._NodeElMap[l.GetNodeHash(m)];l.AddTocMenuChildren(m,i,d,function(){h++;if(h==g){if(k){k()}}})}else{h++;if(h==g){if(k){k()}}}})}};a.prototype.SetTocMenuItemSelected=function(c){var b=$(c).find("a");b.addClass("selected").attr("aria-current",true)}})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){if(!MadCap.Utilities.HasRuntimeFileType("TriPane")){return}MadCap.WebHelp=MadCap.CreateNamespace("WebHelp");MadCap.WebHelp.IndexPane=function(b){var c=this;this._Init=false;this._ContainerEl=null;this._HelpSystem=b;this._EntryHeight=-1;this._IndexEntryCount=0;this._IndexEntries=Object.create(null);this._IndexDivs=new Array();this._XmlDoc=null;this._Chunks=null;this._AlphaMap=new MadCap.Utilities.Dictionary();this._LiCached=null;this._SeePrefix=null;this._SeeAlsoPrefix=null;this.GetPath=function(d,e){return MadCap.String.IsNullOrEmpty(d)?new MadCap.Utilities.Url(e).ToRelative("/Content/").FullPath:"../"+new MadCap.Utilities.Url(d+e).FullPath};this.LoadRootEntry=function(e,f){var d=$(e);var g=d.data("entry");c._HelpSystem.LoadRootIndexEntry(g,function(i){if(i.e&&!i.childrenLoaded){var h=$("<ul/>");h.addClass("tree inner");c.LoadEntries(h,i.e);d.append(h);c._Terms=c._Terms.add($(".IndexTerm",h));MadCap.Accessibility.setAriaControls(d.find("a").first(),h,"index-dropdown")}i.childrenLoaded=true;d.data("entry",i);if(f){f(i,d)}})};this.LoadEntries=function(d,e){var f=this;if(!$.isArray(e)){var g=[];$.each(e,function(i,h){if(!h.t){h.t=i}g.push(h)});g.sort(function(h,i){var j=(h.s||h.t).toLowerCase();var k=(i.s||i.t).toLowerCase();return MadCap.String.LocaleCompare(j,k,c._HelpSystem.LanguageCode)});e=g}$.each(e,function(r,p){var k=$("<li/>");k.addClass("IndexEntry tree-node tree-node-collapsed");var v=p.t;var s=p.r=="See";var t=p.r=="SeeAlso";var m=$("<div/>");m.addClass("IndexTerm");var j=$("<span/>").addClass("label");m.append(j);var o=true;if(s){v=f._SeePrefix+": "+p.f;m.addClass("see");p.seeAlsoLinks=[p.f]}else{if(t){v=f._SeeAlsoPrefix+": ";p.seeAlsoLinks=[];seeAlsoLinks=p.f.split("; ");if(seeAlsoLinks.length>1){var h=$("<a/>").text(v).attr("href","#");j.append(h);for(var q=0;q<seeAlsoLinks.length;q++){var u=seeAlsoLinks[q];var l=$("<a/>").addClass("seeAlsoLink").text(u).attr("href","#");j.append(l);p.seeAlsoLinks.push(u);if(q<seeAlsoLinks.length-1){j.append("; ")}}o=false}else{v+=p.f;p.seeAlsoLinks.push(p.f)}m.addClass("see-also")}}if(o){var h=$("<a/>").text(v).attr("href","#");h.attr("aria-expanded","false");j.append(h)}k.append(m);p.isRoot=typeof p.$!=="undefined";if(p.e){var n=$("<ul/>");n.addClass("tree inner");f.LoadEntries(n,p.e);k.append(n)}else{if(p.$===1||!p.isRoot){k.removeClass("tree-node-collapsed");k.children(".IndexTerm").find(".label > a").removeAttr("aria-expanded");k.addClass("tree-node-leaf")}}d.append(k);p.el=k[0];k.data("entry",p);if(!s&&!t){if(typeof f._IndexEntries[v]=="undefined"){f._IndexEntries[v]=[p]}else{f._IndexEntries[v].push(p)}}})};this.FindEntry=function(e,d){c._HelpSystem.FindIndexEntry(e,function(g,f){if(!f){return}c.LoadRootEntry(g.el,function(){if(d){d(f)}})})};this.SelectEntry=function(h,i,d,g,j){$(".tree-node-selected",c._ContainerEl).removeClass("tree-node-selected");d.addClass("tree-node-selected");if(!i){$("body").removeClass("active");return}MadCap.TextEffects.RemoveLinkListTrees();var q,m;var p=g.offset();var f=$(h.target);if(h.pageY==0&&h.pageX==0){var o=f.offset();q=o.top+f.height()-p.top;m=o.left+f.width()-p.width}else{q=h.pageY-p.top;m=h.pageX-p.left}var l=!this._HelpSystem.IsTabletLayout()||!this._HelpSystem.IsResponsive;if(i.r&&!j){var k=$(".seeAlsoLink",d).index(h.target);var n=i.seeAlsoLinks[0];if(k>=0){n=i.seeAlsoLinks[k]}n=n.replace(", ",":");this.FindEntry(n,function(e){d=$(e.el);$container=l?$(c._ContainerEl).parent():$("#navigation");c._UnhideNode(d[0]);c.SelectEntry(h,e,d,g,true);$container.animate({scrollTop:$container.scrollTop()+d.offset().top-$container.offset().top})});return}else{if(i.linkList&&i.linkList.length>1&&!j){if(l){MadCap.TextEffects.CreateLinkListPopup(i.linkList,c._ContainerEl,q,m,g,"#");$(".link-list-popup ul li a").filter(":last").on("focusout",function(){MadCap.TextEffects.RemoveLinkListPopups();var e;if(f.closest(".IndexEntry").hasClass("tree-node-collapsed")){e=f.closest(".IndexEntry")}else{e=f.closest(".IndexTerm")}e.next().find(".label > a").first().focus()})}else{MadCap.TextEffects.CreateLinkListTree(i.linkList,d,g,"#",function(r){c.TreeNode_Click(r);MadCap.TextEffects.Item_Click.call($(r.currentTarget),[r])})}MadCap.Utilities.PreventDefault(h);h.stopPropagation()}else{if(i.linkList&&i.linkList.length==1){$("body").removeClass("active");document.location.href="#"+i.linkList[0].Link}}}if(d.hasClass("tree-node-expanded")&&!j){d.removeClass("tree-node-expanded");d.addClass("tree-node-collapsed");d.children(".IndexTerm").find(".label > a").attr("aria-expanded","false")}else{if(d.hasClass("tree-node-collapsed")){d.removeClass("tree-node-collapsed");d.addClass("tree-node-expanded");d.children(".IndexTerm").find(".label > a").attr("aria-expanded","true")}}};this.TreeNode_Click=function(g){var i=MadCap.Dom.GetAncestorNodeByTagName(g.target,"li");if(i==null){return}if($(g.target).closest(".link-list-popup").length>0){return}var f=$(this);var d=$(i);MadCap.Utilities.PreventDefault(g);var h=d.data("entry");if(!d.hasClass("IndexEntryLink")&&(!h||h.isRoot)){c.LoadRootEntry(i,function(j,e){c.SelectEntry(g,j,e,f)})}else{c.SelectEntry(g,h,d,f)}};this.Search=function(){var d=this.value.toLowerCase();c._Terms.each(function(){var e=$(this);var f=c._HelpSystem.IndexPartialWordSearch?c.IsPartialMatch(e,d):MadCap.String.StartsWith(e.text(),d,false);e.css("display",f?"":"none");if(c._HelpSystem.IndexPartialWordSearch){e.removeHighlight("highlightIndex");if(f){e.highlight(d,"highlightIndex")}}})};this.IsPartialMatch=function(d,f){var g=d.find("a");for(var e=0;e<g.length;e++){if(g[e].text.toLowerCase().indexOf(f)!=-1){return true}}return false}};var a=MadCap.WebHelp.IndexPane;a.prototype.Init=function(c,d){if(this._Init){if(d!=null){d()}return}var e=this;e._ContainerEl=c;var b=$(this._ContainerEl.parentNode);this._SeePrefix=b.attr("data-see-prefix")||"See";this._SeeAlsoPrefix=b.attr("data-see-also-prefix")||"See Also";e._HelpSystem.LoadIndex(function(j,i){var h=$("<ul/>");h.addClass("tree");e.LoadEntries(h,j.terms);var f=$(e._ContainerEl);f.click(e.TreeNode_Click);f.append(h);var g=$("#search-index");g.bind("keyup",e.Search);$("#responsive-search-index").bind("keyup",e.Search);e._Terms=$(".IndexTerm",this._ContainerEl);e._Init=true;if(d!=null){d()}},null)};a.prototype._UnhideNode=function(c){var d=MadCap.Dom.GetAncestorNodeByTagName(c,"li",this._ContainerEl);while(d!=null){var b=$(d);b.removeClass("tree-node-collapsed");b.addClass("tree-node-expanded");b.children(".IndexTerm").find(".label > a").attr("aria-expanded","true");d=MadCap.Dom.GetAncestorNodeByTagName(d,"li",this._ContainerEl)}}})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){if(!MadCap.Utilities.HasRuntimeFileType("TriPane")){return}MadCap.WebHelp=MadCap.CreateNamespace("WebHelp");MadCap.WebHelp.GlossaryPane=function(b){var c=this;this._Init=false;this._ContainerEl=null;this._HelpSystem=b;MadCap.Utilities.MessageBus.AddMessageHandler(this.OnMessage,this);this.TreeNode_Click=function(i){var k=MadCap.Dom.GetAncestorNodeByTagName(i.target,"li");if(k==null){return}var f=$(k);var d=$("a",f);var l=d.text();var g=f.attr("data-chunk");var h=c._HelpSystem.Glossary.chunks[g].path;var j=new MadCap.Utilities.Url(h).ToFolder().ToFolder();MadCap.Utilities.PreventDefault(i);require([h],function(o){var q=o[l];$(".tree-node-selected",c._ContainerEl).removeClass("tree-node-selected");f.addClass("tree-node-selected");var n=$(".GlossaryPageTerm",k);if(!MadCap.String.IsNullOrEmpty(q.d)&&!n.hasClass("MCDropDownHead")){n.addClass("MCDropDownHead MCDropDownHotSpot");var m=$("<div/>");m.addClass("GlossaryPageDefinition MCDropDownBody");m.append(q.d);f.addClass("MCDropDown");f.append(n);f.append(m);var p=new MadCap.TextEffects.DropDownControl(f[0]);p.Init(false);p.Open(true)}if(!MadCap.String.IsNullOrEmpty(q.l)){var r=d.attr("href");if(r=="#"){var s=j.CombinePath(q.l).ToRelative(c._HelpSystem.GetContentPath()).FullPath;r=encodeURI(s);d.attr("href",r)}document.location.href="#"+r;MadCap.Accessibility.tripaneGlossarySkip(d,d.text())}else{if(f.hasClass("tree-node-expanded")){f.removeClass("tree-node-expanded");f.addClass("tree-node-collapsed")}else{if(f.hasClass("tree-node-collapsed")){f.removeClass("tree-node-collapsed");f.addClass("tree-node-expanded");if($("li",f.parent()).last()[0]==f[0]){var e=$(c._ContainerEl);e.animate({scrollTop:e[0].scrollHeight},500)}}}}})};this.Search=function(){var d=this.value.toLowerCase();c._Terms.each(function(){var e=$(this);var f=e.closest("li");var g=c._HelpSystem.GlossaryPartialWordSearch?e.text().toLowerCase().indexOf(d)!=-1:MadCap.String.StartsWith(e.text(),d,false);f.css("display",g?"block":"none");if(c._HelpSystem.GlossaryPartialWordSearch){e.removeHighlight("highlightGlossary");if(g){e.highlight(d,"highlightGlossary")}}})}};var a=MadCap.WebHelp.GlossaryPane;a.prototype.OnMessage=function(c,b,d){var e={Handled:false,FireResponse:true};return e};a.prototype.Init=function(b,d){if(this._Init){if(d!=null){d()}return}var c=this;c._ContainerEl=b;c._HelpSystem.LoadGlossary(function(o,m){var l=$("<ul/>");l.addClass("tree");var q=o.terms.sort(function(i,r){return MadCap.String.LocaleCompare(i.s||i.t,r.s||r.t,c._HelpSystem.LanguageCode)});for(var p=0;p<q.length;p++){var n=q[p];var f=$("<li/>");f.addClass("GlossaryPageEntry tree-node tree-node-collapsed");f.attr("data-chunk",n.c);var h=$("<div/>");var j=$('<a href="#" />').text(n.t);var k=$('<span class="label"></span>');MadCap.Accessibility.makeAccessibleButton(j);h.addClass("GlossaryPageTerm");k.append(j);h.append(k);f.append(h);l.append(f)}var e=$(c._ContainerEl);e.click(c.TreeNode_Click);e.append(l);var g=$("#search-glossary");g.bind("keyup",c.Search);$("#responsive-search-glossary").bind("keyup",c.Search);c._Terms=$(".GlossaryPageTerm a",c._ContainerEl);c._Init=true;if(d!=null){d()}},null)};a.prototype._SelectNode=function(b){$(".tree-node-selected",this._ContainerEl).removeClass("tree-node-selected");$(b).addClass("tree-node-selected")}})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){var a=MadCap.CreateNamespace("WebHelp.Search");a.Tokenizer=function(){var c="";var d=-1;var e=new Array();this.Tokenize=function(k){var l=null;c=k;d=-1;for(var j=0;l=h();j++){e[j]=l}return e};function f(){return c.charAt(d+1)}function g(){d++}function i(){var k="";for(;;){var j=f();if(!j){break}if(j=='"'){g();break}else{g();k+=j}}return(k=="")?null:k}function h(){var j=f();var l=null;var m="";if(!j){l=null}else{if(a.IsWhiteSpace(j)){for(j=f();a.IsWhiteSpace(j);j=f()){g();m+=j}l=new a.Token(m,a.Token.WhiteSpace)}else{if(j=="("){g();l=new a.Token(j,a.Token.LeftParen)}else{if(j==")"){g();l=new a.Token(j,a.Token.RightParen)}else{if(j=="^"||j=="!"){g();l=new a.Token(j,a.Token.Not)}else{if(j=="+"||j=="&"){g();l=new a.Token(j,a.Token.And)}else{if(j=="|"){g();l=new a.Token(j,a.Token.Or)}else{if(j=='"'){g();var k=i();l=new a.Token(k,(k==null)?a.Token.Error:a.Token.Phrase)}else{if(a.IsTermSeparator(j)){g();l=new a.Token(j,a.Token.TermSeparator)}else{for(j=f();a.IsNameChar(j);j=f()){g();m+=j}if(m=="and"||m=="AND"){l=new a.Token(m,a.Token.And)}else{if(m=="or"||m=="OR"){l=new a.Token(m,a.Token.Or)}else{if(m=="not"||m=="NOT"){l=new a.Token(m,a.Token.Not)}else{var n=a.Token.Word;if(MadCap.WebHelp.SearchPane.SearchDBs[0].SearchType=="NGram"){n=a.Token.Phrase}l=new a.Token(m,n)}}}}}}}}}}}}return l}};a.Token=function(e,f){var c=e;var d=f;this.GetTokenText=function(){return c};this.GetType=function(){return d}};var b=a.Token;b.Eof=0;b.Error=1;b.WhiteSpace=2;b.Phrase=3;b.Word=4;b.RightParen=5;b.LeftParen=6;b.Not=7;b.And=8;b.Or=9;b.ImplicitAnd=10;b.TermSeparator=11;a.Parser=function(l){var g=this;var e=l;var d=-1;var h=new a.Tokenizer();var f=h.Tokenize(e);this.ParseExpression=function(){var n=i();k();if(j()==a.Token.Eof){return n}else{if(j()==a.Token.And||j()==a.Token.Or||j()==a.Token.Not){c();var m=new a.Node(f[d],n,this.ParseExpression());return m}else{if(j()==a.Token.Word||j()==a.Token.Phrase||j()==a.Token.Not||j()==a.Token.LeftParen){var m=new a.Node(new a.Token(n.GetToken().GetTokenText()+" "+f[d+1].GetTokenText(),a.Token.ImplicitAnd),n,this.ParseExpression());return m}else{if(j()==a.Token.RightParen){return n}}}}throw gInvalidTokenLabel};function c(){d++}function i(){k();if(j()==a.Token.Word){c();return new a.Node(f[d],null,null)}else{if(j()==a.Token.Phrase){c();return new a.Node(f[d],null,null)}else{if(j()==a.Token.LeftParen){c();var n=f[d];var m=new a.Node(n,g.ParseExpression(),null);if(j()!=a.Token.RightParen){throw"Missing right paren ')'."}c();return m}}}throw gInvalidTokenLabel}function j(){if(f[d+1]==null){return a.Token.Eof}else{return f[d+1].GetType()}}function k(){for(;j()==a.Token.WhiteSpace||j()==a.Token.TermSeparator;){c()}}};a.Node=function(h,f,g){var e=h;var c=f;var d=g;this.Evaluate=function(i,j){var k=this;var l=e.GetType();if(l==a.Token.Word||l==a.Token.Phrase){this.EvaluatePhrase(i).then(j)}else{if(l==a.Token.And||l==a.Token.ImplicitAnd||l==a.Token.Or||l==a.Token.Not){c.Evaluate(i,function(m){d.Evaluate(i,function(n){if(e.GetType()==a.Token.And||e.GetType()==a.Token.ImplicitAnd){j(a.IntersectResults(m,n))}else{if(e.GetType()==a.Token.Or){j(a.UnionResults(m,n))}else{if(e.GetType()==a.Token.Not){j(a.SubtractResults(m,n))}}}})})}else{if(l==a.Token.LeftParen){if(c){c.Evaluate(i,j)}else{j(null)}}else{j(null)}}}};this.EvaluatePhrase=function(m){var q=this;var k=$.Deferred();var r=e.GetTokenText();var n=e.GetType()==a.Token.Phrase;var l=[];var i=Object.create(null);i.results=Object.create(null);i.terms=[];i.ignore=MadCap.Utilities.StopWords.indexOf(r)>-1;if(!i.ignore){i.terms.push(r);for(var o=0;o<MadCap.WebHelp.SearchPane.SearchDBs.length;o++){var p=MadCap.WebHelp.SearchPane.SearchDBs[o];l.push(p.LookupPhrase(r,n,m).then(function(j,s){if(s){dbIndex=MadCap.WebHelp.SearchPane.SearchDBs.indexOf(j);i.results[dbIndex]={data:s}}}))}}$.when.apply(this,l).done(function(){k.resolve(i)});return k.promise()};this.GetToken=function(){return e}};a.LoadResultData=function(i){var f=[];var m=0;var d=i.results;for(var c in d){var j=MadCap.WebHelp.SearchPane.SearchDBs[c];var k=d[c];f.push(j.LoadTopics(k).then(function(n){m+=n.count}))}var h=MadCap.WebHelp.SearchPane.SearchDBs[0].RelevanceWeight;var e=$.Deferred();var l=[],g=[];$.when.apply(this,f).done(function(){for(var n in d){var t=MadCap.WebHelp.SearchPane.SearchDBs[n];var v=d[n];for(var w in v.data){var u=v.data[w];var o=u.y;if(o===0){var q=t.HelpSystem.GetTopicPath(u.u).FullPath;var p=u.i*v.count/m;var s=MadCap.Utilities.CalculateScore(u.r,p,h);l.push(new a.SearchResult(s,null,u.t,q,u.a))}else{if(o===1){g.push({db:n,id:u.m,title:u.t,score:u.r,contentLength:u.l})}}}}g.sort(function(y,z){return z.score!==y.score?z.score-y.score:y.contentLength-z.contentLength});if(g.length>0){var x=g[0];var r=MadCap.WebHelp.SearchPane.SearchDBs[x.db];r.LoadMicroContent(x.id).then(function(C,B){var G=r.HelpSystem.GetTopicPath(B.u,true).FullPath;var z=r.HelpSystem.ProcessMicroContentXhtml(B.c,G);var E=!MadCap.String.IsNullOrEmpty(B.l)?r.HelpSystem.GetTopicPath(B.l).FullPath:B.l;var y=["../Skins/Default/Stylesheets/TextEffects.css","../Skins/Default/Stylesheets/Topic.css"];var D=y.concat(B.s);var F=[];for(var A=0;A<D.length;A++){F.push(r.HelpSystem.GetTopicPath(D[A],true).FullPath)}e.resolve(l,i.terms,{url:G,html:z,source:E,sourceTitle:x.title,titles:B.p,truncated:B.tr,stylesheets:F})})}else{e.resolve(l,i.terms)}});return e.promise()};a.IsNameChar=function(d){if(!d){return false}else{if(d=='"'){return false}else{if(d=="+"){return false}else{if(d=="^"){return false}else{if(d=="|"){return false}else{if(d=="&"){return false}else{if(a.IsWhiteSpace(d)){return false}else{if(a.IsTermSeparator(d)){return false}else{return true}}}}}}}}};a.IsWhiteSpace=function(d){if(!d){return false}else{if(d==" "){return true}else{if(d.charCodeAt(0)==12288){return true}else{return false}}}};a.IsTermSeparator=function(d){return(MadCap.String.IsPunctuation(d)&&d!="'"&&d!="_")||d==">"||d=="<"||d=="="};a.SplitPhrase=function(f){var e=null;var d=MadCap.WebHelp.SearchPane.SearchDBs[0];if(d.SearchType=="NGram"){e=new Array(Math.max(0,f.length-(d.NGramSize+1)));for(var c=0;c<f.length-d.NGramSize+1;c++){e[c]=f.substring(c,c+d.NGramSize)}}else{e=MadCap.String.Split(f,function(g){return a.IsWhiteSpace(g)||a.IsTermSeparator(g)})}return e};a.FilterResults=function(j,k,f,g){if((j.ignore&&k.ignore)||k.ignore){return j}else{if(j.ignore){return k}}var i=Object.create(null);i.results=Object.create(null);var h=i.results;for(var e in j.results){h[e]=Object.create(null);h[e].data=Object.create(null);var c=j.results[e].data;var d=k.results[e];if(d){d=d.data}f(c,d,h[e].data)}i.terms=g(j.terms,k.terms);return i};a.UnionResults=function(c,d){return a.FilterResults(c,d,function(e,f,g){for(var j in e){g[j]=e[j]}if(f){for(var j in f){var h=e[j];var i=f[j];if(h){g[j]={r:MadCap.Utilities.CombineRelevancy(h.r,i.r)}}else{g[j]=i}}}},function(e,f){return e.Union(f)})};a.IntersectResults=function(c,d){return a.FilterResults(c,d,function(e,f,g){if(f){for(var i in e){var h=f[i];if(h){g[i]={r:MadCap.Utilities.CombineRelevancy(e[i].r,h.r)}}}}},function(e,f){return e.Union(f)})};a.SubtractResults=function(c,d){if(c.ignore||d.ignore){return c}return a.FilterResults(c,d,function(e,f,g){if(f){for(var i in e){var h=f[i];if(!h){g[i]=e[i]}}}},function(e,f){return e})}})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){MadCap.WebHelp=MadCap.CreateNamespace("WebHelp");MadCap.WebHelp.SearchPane=function(f,e){this._Init=false;this._Container=e;this._HelpSystem=f;this._FeedbackController=null;this._Parser=null;this._Filters=null;this._Set=null;this._FilteredSet=null;this._Highlight="";this._DownloadedSynonymXmlDocRootNode=null};var c=MadCap.WebHelp.SearchPane;c.SearchDBs=new Array();c.prototype.Init=function(f){if(this._Init){if(f){f.call(this)}return}var e=this;if(this._HelpSystem.LiveHelpEnabled&&!this._HelpSystem.IsCentralLiveHelpServerType()){this._FeedbackController=MadCap.WebHelp.LoadFeedbackController(this._HelpSystem.LiveHelpServer);this._FeedbackController.Init(function(){if(e._FeedbackController.FeedbackActive){e._FeedbackController.GetSynonymsFile(e._HelpSystem.LiveHelpOutputId,null,function(j,i){var k=MadCap.Utilities.Xhr.LoadXmlString(j);if(k!=null){e._DownloadedSynonymXmlDocRootNode=k.documentElement}h()},null)}else{h()}})}else{h()}function h(){if(!e._HelpSystem.IsWebHelpPlus){e._HelpSystem.GetSearchDBs(g)}else{g(null)}}function g(i){c.SearchDBs=i;e._Filters=new a.Filters(e._HelpSystem);e._Filters.Load(function(){e._Init=true;if(f){f.call(e)}})}};c.prototype.Search=function(g,f){var e=$.Deferred();if(MadCap.String.IsNullOrEmpty(MadCap.String.Trim(g))){return e.resolve({contentTotal:0})}this._Container.addClass("loading");this.Init(function(){var j={};var h=[];if(f.searchContent){var i=f.content?f.content.filterName:null;var l=!this._HelpSystem.IsWebHelpPlus?this.DoSearch(g,i):this.DoSearchWebHelpPlus(g,i);h.push(l.then(function(o,m,n){j.content=o;j.contentTotal=o!=null?o.length:0;j.includedTerms=m;j.microContent=n;j.clientPaging=true}))}if(f.searchGlossary){h.push(this._HelpSystem.SearchGlossary(g).then(function(m){j.glossary=m}))}if(f.searchCommunity){if(this._FeedbackController&&this._FeedbackController.PulseActive){var k=this._FeedbackController.GetPulseSearchResults(this._HelpSystem.LiveHelpOutputId,g,f.community.pageSize,f.community.pageIndex);h.push(k.then(function(m){j.community=m}))}}$.when.apply(this,h).done($.proxy(function(){this._Container.removeClass("loading");e.resolve(j)},this))});return e.promise()};c.prototype.DoSearch=function(k,g){var e=$.Deferred();this._Parser=new a.Parser(k);var i=null;try{i=this._Parser.ParseExpression()}catch(f){var l=this._HelpSystem.GetLanguageString("Search Format Warning",true,"SearchResults","Label","Ensure that the search string is properly formatted.");alert(l);i=null}if(!i){return e.resolve()}var j=c.SearchDBs[0];if(this._DownloadedSynonymXmlDocRootNode!=null&&j.DownloadedSynonymFile==null){j.DownloadedSynonymFile=new a.SynonymFile(this._DownloadedSynonymXmlDocRootNode,j.Stemmer)}var h=this;i.Evaluate(g,function(m){a.LoadResultData(m).then(function(o,p,n){h._Set=o;if(h._Set){h._Set.sort(function(q,r){return r.Score-q.Score})}MadCap.Utilities.ClearRequireCache();e.resolve(h._Set,p,n)})});return e.promise()};c.prototype.DoSearchWebHelpPlus=function(k,f){var m=this;var e=$.Deferred();function j(A,o){var w=[];if(A){var v=A.getElementsByTagName("Result");var x=v.length;var p=new MadCap.Utilities.Url(document.location.pathname);if(!m._HelpSystem.SearchUrl){if(!MadCap.String.EndsWith(document.location.pathname,"/")){p=p.ToFolder()}p=p.CombinePath(m._HelpSystem.ContentFolder)}for(var q=0;q<x;q++){var u=v[q];var t=MadCap.Dom.GetAttributeInt(u,"Rank",-1);var z=u.getAttribute("Title");var r=u.getAttribute("Link");var s=new MadCap.Utilities.Url(r).ToRelative(p);var n=u.getAttribute("AbstractText");if(MadCap.String.IsNullOrEmpty(z)){z=u.getAttribute("Filename")}var y=new a.SearchResult(t,null,z,s.FullPath,unescape(n));w.push(y)}}e.resolve(w)}MadCap.Utilities.Xhr.CallWebService(m._HelpSystem.GetPath()+"Service/Service.asmx/GetSearchResults?SearchString="+encodeURIComponent(k)+"&FilterName="+encodeURIComponent(f),true,j,null);var l=k.split(" ");var g=true;this._Highlight="?Highlight=";for(var h=0;h<l.length;h++){if(!g){this._Highlight+="||"}else{g=false}this._Highlight+=l[h]}return e.promise()};var a=MadCap.CreateNamespace("WebHelp.Search");MadCap.WebHelp.Search.SearchDB=function(e){this.RelevanceWeight=0;this.TopicChunkMap=null;this.MicroContentChunkMap=null;this.UrlChunkMap=null;this.StemChunkMap=null;this.PhraseChunkMap=null;this.HelpSystem=e;this.SearchType=null;this.NGramSize=0;this.Stemmer=null;this.SynonymFile=null;this.DownloadedSynonymFile=null;this.LoadChunkCompleteFuncs=new MadCap.Utilities.Dictionary()};var b=a.SearchDB;b.prototype.Load=function(e,f){var g=this;this.LoadStemmer(this.HelpSystem.LanguageName,function(){MadCap.Utilities.Xhr.Load(g.HelpSystem.GetPath()+"Data/Synonyms.xml",true,function(h){if(h!=null){g.SynonymFile=new a.SynonymFile(h.documentElement,g.Stemmer)}g._LoadSearchDB(e,f)},null,this)})};b.prototype.LoadStemmer=function(e,f){var j=["danish","dutch","english","finnish","french","german","hungarian","italian","norwegian","portuguese","romanian","russian","spanish"];var i=null;this.Stemmer={stemWord:function(k){if(k!=null){k=k.toLowerCase()}if(i!=null){k=i.stemWord(k)}return k}};if(e!=null&&j.indexOf(e.toLowerCase())!=-1){var g="stemmer-"+e.toLowerCase()+".amd.min.js";var h=MadCap.Utilities.HasRuntimeFileType("SkinPreview")?"../WebHelp2/Scripts/Stemmers/":this.HelpSystem.GetPath()+this.HelpSystem.ScriptsFolderPath;require([h+g],function(k){i=new k[e+"Stemmer"];f()})}else{f()}};b.prototype.GetTermPhrases=function(o,i,n){var j=this;var l=new MadCap.Utilities.Dictionary();var k=this.Stemmer.stemWord(o);var p=new MadCap.Utilities.Dictionary();l.Add(k,true);if(!i){if(this.SynonymFile!=null){this.SynonymFile.AddSynonymStems(o,k,l)}if(this.DownloadedSynonymFile!=null){this.DownloadedSynonymFile.AddSynonymStems(o,k,l)}}var e=Object.create(null);var m=[];l.ForEach(function(r,t){if(j.SearchType=="NGram"){for(var q=0;q<r.length-j.NGramSize+1;q++){var s=r.substring(q,q+j.NGramSize);m.push(s)}}else{m.push(r)}});var g=[];$.each(m,function(q,r){g.push(j.LoadStem(r).then(function(t){var u=[];for(var s in t){if(!i||s==o.toLowerCase()){u.push(h(n,s,t[s]).then(function(v,w){p.Add(v,w)}))}}return $.when.apply(this,u).promise()}))});function h(u,t,w){var r=[];var v=[];if(!u){r=w}else{r=u.Intersect(w);for(var s=0;s<w.length;s++){v.push(j.LoadTopic(w[s]).then(function(y,x){if(x.y==1){r.push(y)}}))}}var q=$.Deferred();$.when.apply(this,v).done(function(){q.resolve(t,r)});return q.promise()}var f=$.Deferred();$.when.apply(this,g).done(function(){f.resolve(o,p)});return f.promise()};b.prototype.LookupPhrase=function(w,p,m){var r=this;var j=$.Deferred();var v=a.SplitPhrase(w);var q=null;var k=[];var u=new MadCap.Utilities.Dictionary();if(w){w=w.trim()}if(!w||MadCap.Utilities.StopWords.indexOf(w)>-1){j.resolve(r,null);return j.promise()}var s;if(m){s=[];var l=this.HelpSystem.GetMasterHelpSystem().GetSearchFilters();if(l){var n=l[m];if(n){var g=n.c;var f=g.split(";");var h=this.HelpSystem.GetConcepts();for(var o=0;o<f.length;o++){var e=f[o];s=s.Union(h[e])}}}}for(var o=0;o<v.length;o++){var t=v[o];k.push(this.GetTermPhrases(t,p,s).then(function(i,x){u.Add(i,x)}))}$.when.apply(r,k).done(function(){var x;u.ForEach(function(C,B){var D=[];B.ForEach(function(E,F){D=D.Union(F)});if(!x){x=D}else{x=x.Intersect(D)}});var y=Object.create(null);var i=[];u.ForEach(function(C,B){y[C]=Object.create(null);B.ForEach(function(D,F){var E=F.Intersect(x);$.each(E,function(G,H){i.push(r.LoadPhrase(D,H).then(function(J,I){var K=y[C][J];if(I){if(!K){y[C][J]=I}else{K.r=MadCap.Utilities.CombineRelevancy(K.r,I.r);$.extend(true,K.w,I.w)}}}))})})});var A=Object.create(null);var z=Object.create(null);$.when.apply(this,i).done(function(){$.each(x,function(B,H){var I=0;if(!p){I=y[v[0]][H].r}else{var L=y[v[0]][H].w;for(var J in L){var F=L[J];for(var G=1;G<v.length;G++){var K=parseInt(J);var C=v[G];var D=y[C][H].w;var E=D[K+G];if(E){F=Math.max(F,E)}else{F=0;break}}I=MadCap.Utilities.CombineRelevancy(I,F)}}if(I>0){z[H]={r:I}}});j.resolve(r,z)})});return j.promise()};b.prototype.LoadTopics=function(h){var g=[];var e=h.data;for(var i in e){g.push(this.LoadTopic(i).then(function(k,j){$.extend(e[k],j)}))}h.count=g.length;var f=$.Deferred();$.when.apply(this,g).done(function(){f.resolve(h)});return f.promise()};b.prototype._LoadSearchDB=function(e,f){this.TopicChunkMap=e.t;this.MicroContentChunkMap=e.m;this.UrlChunkMap=e.u;this.StemChunkMap=e.s;this.PhraseChunkMap=e.p;this.RelevanceWeight=e.r;this.SearchType=e.st;this.NGramSize=e.n;if(f){f()}};b.prototype.LookupPhraseChunkId=function(j,k){var h=this.PhraseChunkMap.length;for(var f=0;f<h;f++){var g=this.PhraseChunkMap[f][0];var e=MadCap.String.Compare(j,g);if(e==0){if(k<this.PhraseChunkMap[f][1]){return f-1}else{if(k==this.PhraseChunkMap[f][1]){return f}}}else{if(e==-1){return f-1}}}return h-1};b.prototype.LoadDocument=function(i,f,g){var h=$.Deferred();var e=MadCap.Utilities.GetChunkId(f,i,function(j,k){if(j<k){return -1}else{if(j==k){return 0}else{return 1}}});if(e==-1){h.resolve()}else{MadCap.Utilities.Require([this.HelpSystem.GetPath()+"Data/"+g+"_Chunk"+e+".js"],function(j){h.resolve(i,j[i])})}return h.promise()};b.prototype.LoadTopic=function(e){return this.LoadDocument(e,this.TopicChunkMap,"SearchTopic")};b.prototype.LoadMicroContent=function(e){return this.LoadDocument(e,this.MicroContentChunkMap,"MicroContent")};b.prototype.LoadUrl=function(g){var f=$.Deferred();var e=MadCap.Utilities.GetChunkId(this.UrlChunkMap,g,function(h,i){return MadCap.String.Compare(h,i)});if(e==-1){f.resolve()}else{MadCap.Utilities.Require([this.HelpSystem.GetPath()+"Data/SearchUrl_Chunk"+e+".js"],function(h){f.resolve(g,h[g])})}return f.promise()};b.prototype.LoadTopicByUrl=function(f){var e=this;return this.LoadUrl(f).then(function(h,g){return e.LoadTopic(g)})};b.prototype.LoadStem=function(j){var i=this;var f=$.Deferred();var e=MadCap.Utilities.GetChunkIds(this.StemChunkMap,j,function(k,l){return MadCap.String.Compare(k,l)});if(e.length===0){f.resolve()}else{var g=[];var h=Object.create(null);$.each(e,function(l,k){g.push(i.LoadStemChunk(k).then(function(m){$.extend(h,m[j])}))});$.when.apply(this,g).done(function(){f.resolve(h)},this)}return f.promise()};b.prototype.LoadStemChunk=function(e){var f=$.Deferred();MadCap.Utilities.Require([this.HelpSystem.GetPath()+"Data/SearchStem_Chunk"+e+".js"],function(g){f.resolve(g)});return f.promise()};b.prototype.LoadPhrase=function(g,h){var f=$.Deferred();var e=this.LookupPhraseChunkId(g,h);MadCap.Utilities.Require([this.HelpSystem.GetPath()+"Data/SearchPhrase_Chunk"+e+".js"],function(i){var j;if(i[g]){j=i[g][h]}f.resolve(h,j)});return f.promise()};a.SearchQuery=function(h,f,g){function e(o,n){var l=MadCap.Utilities.HasRuntimeFileType("TriPane");var j=false;for(var k=0;k<n.length;k++){var m=n[k][0];var p=n[k][1];if(!MadCap.String.IsNullOrEmpty(p)){o+=(!j&&l?"?":"&")+m+"="+p;j=true}}return o}this.Query=h;this.Filter=f;this.PageIndex=g;this.ToString=function(){return e(this.Query,[[a.SearchQuery._filter,this.Filter],[a.SearchQuery._pageIndex,this.PageIndex]])}};a.SearchQuery._query="q";a.SearchQuery._filter="f";a.SearchQuery._pageIndex="p";a.SearchQuery.Parse=function(f){var g=new MadCap.Utilities.Url(f);var i=g.PlainPath;if(MadCap.String.IsNullOrEmpty(i)){i=g.QueryMap.GetItem(a.SearchQuery._query)}if(!MadCap.String.IsNullOrEmpty(i)){i=decodeURIComponent(i)}var h=g.QueryMap.GetItem(a.SearchQuery._filter);if(h){h=decodeURIComponent(h)}var e=g.QueryMap.GetItem(a.SearchQuery._pageIndex);if(e!=null){e=parseInt(e)}return new a.SearchQuery(i,h,e)};a.SearchResult=function(i,h,j,g,e,f){this.Score=i;this.Rank=h;this.Title=j;this.Link=g;this.AbstractText=e;this.Highlighted=f};a.Filters=function(f){var e=f;this.Load=function(g){e.LoadSearchFilters().then(function(){e.LoadAllConcepts(function(){g()})},null,null)}};a.SynonymFile=function(e,f){this.Stemmer=f;this.WordToStem=new MadCap.Utilities.Dictionary(true);this.Directionals=new MadCap.Utilities.Dictionary(true);this.DirectionalStems=new MadCap.Utilities.Dictionary(true);this.Groups=new MadCap.Utilities.Dictionary(true);this.GroupStems=new MadCap.Utilities.Dictionary(true);this.GroupStemSources=new MadCap.Utilities.Dictionary(true);this.LoadSynonymFile(e)};var d=a.SynonymFile;d.prototype.LoadSynonymFile=function(q){var m=MadCap.Dom.GetChildNodeByTagName(q,"Groups",0);var y=MadCap.Dom.GetChildNodeByTagName(q,"Directional",0);if(y!=null){var f=y.childNodes.length;for(var n=0;n<f;n++){var e=y.childNodes[n];if(e.nodeName=="DirectionalSynonym"){var g=MadCap.Dom.GetAttribute(e,"From");var z=MadCap.Dom.GetAttribute(e,"To");var r=MadCap.Dom.GetAttributeBool(e,"Stem",false);var h=MadCap.Dom.GetAttribute(e,"FromStem");var A=MadCap.Dom.GetAttribute(e,"ToStem");if(r){if(h==null){h=this.Stemmer.stemWord(g)}}if(A==null){A=this.Stemmer.stemWord(z)}if(g!=null&&z!=null){if(r){this.DirectionalStems.Add(h,A);this.WordToStem.Add(g,h);this.WordToStem.Add(z,A)}else{this.Directionals.Add(g,A);this.WordToStem.Add(z,A)}}}}}if(m!=null){var f=m.childNodes.length;for(var n=0;n<f;n++){var e=m.childNodes[n];if(e.nodeName=="SynonymGroup"){var E=new Array();var v=new Array();var r=MadCap.Dom.GetAttributeBool(e,"Stem",false);var x=e.childNodes.length;for(var o=0;o<x;o++){var D=e.childNodes[o];if(D.nodeType!=1){continue}E.push(D.firstChild.nodeValue)}for(var o=0;o<x;o++){var D=e.childNodes[o];if(D.nodeType!=1){continue}var s=MadCap.Dom.GetAttribute(D,"Stem");if(s==null){s=this.Stemmer.stemWord(D.firstChild.nodeValue)}this.WordToStem.Add(D.firstChild.nodeValue,s);v.push(s)}var F=E.length;for(var o=0;o<F;o++){var B=E[o];var t=v[o];for(var p=0;p<F;p++){var C=E[p];if(r){var l=this.GroupStemSources.GetItem(B);if(l==null){l=new MadCap.Utilities.Dictionary();this.GroupStemSources.Add(B,l)}l.Add(C,t)}else{var l=this.GroupStemSources.GetItem(B);if(l==null){l=new MadCap.Utilities.Dictionary();this.Groups.Add(B,l)}l.Add(C,t)}}}var w=v.length;for(var o=0;o<w;o++){var t=v[o];for(var p=0;p<w;p++){var u=v[p];var l=this.GroupStems.GetItem(t);if(l==null){l=new MadCap.Utilities.Dictionary();this.GroupStems.Add(t,l)}l.Add(u,t)}}}}}};d.prototype.AddSynonymStems=function(h,i,f){var g=this.Directionals.GetItem(h);if(g!=null){f.AddUnique(g)}g=this.DirectionalStems.GetItem(i);if(g!=null){f.AddUnique(g)}var e=this.Groups.GetItem(h);if(e!=null){e.ForEach(function(j,k){f.AddUnique(j);return true})}e=this.GroupStems.GetItem(i);if(e!=null){e.ForEach(function(j,k){f.AddUnique(j);return true})}}})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){MadCap.CreateNamespace("Topic");var m=MadCap.Utilities.HasRuntimeFileType("Topic");var o=MadCap.Utilities.HasRuntimeFileType("TriPane");var v=MadCap.Topic;var u=MadCap.TextEffects;var e;v.IsTopicPopup=n;v.IsEmbeddedTopic=k;v.IsTemplateTopic=l;v.GetHideComments=function(){return e};v.HelpControl_Click=function(C){var B=this;v.GetHelpControlLinks(this,function(I){var J=new MadCap.Utilities.Url(document.location.href);for(var E=I.length-1;E>=0;E--){var H=I[E];H.Title="t" in H?H.t:"Title" in H?H.Title:null;var F="Url" in H?H.Url:"Link" in H?H.Link:null;if(F!=null&&typeof F!="string"){if(F.FullPath==J.FullPath){I.Remove(E)}F=F.ToRelative(J);H.Link=F.FullPath}}if(!$(B).hasClass("MCHelpControl-Related")){I.sort(function(K,L){return K.Title.localeCompare(L.Title)})}var G=new MadCap.Utilities.Dictionary();for(var E=I.length-1;E>=0;E--){var D=I[E];var F=D.Link;if(G.GetItem(F)){I.Remove(E);continue}G.Add(D.Link,true)}u.CreateLinkListPopup(I,document.body,C.pageY,C.pageX,B)},null);C.preventDefault();C.stopPropagation()};v.GetHelpControlLinks=function(K,C){var J=new Array();var B=$(K);if(d&&!d.InPreviewMode&&k()){var H=B.attr("data-mc-keywords");if(H!=null){F(H);return}else{var E=B.attr("data-mc-concepts");if(E!=null){d.GetConceptsLinks(E).then(C);return}}}var N=B.attr("data-mc-topics");if(N!=null){topicPairs=N.split("||");if(topicPairs==""){C(J)}for(var G=0,I=topicPairs.length;G<I;G++){var M=topicPairs[G].split("|");J[J.length]={Title:M[0],Link:M[1]}}}C(J);function F(O){if(O==""){C(J)}var P=O.split(";");MadCap.Utilities.AsyncForeach(P,D,L)}function D(P,O){d.FindIndexEntry(P,function(R,Q){if(Q!=null&&Q.linkList){J=J.concat(Q.linkList)}O()})}function L(){C(d.SortLinkList(J))}};v.Hyperlink_Onclick=function(C){var B=$(this);if(B.hasClass("MCTopicPopup")||B.hasClass("MCPopupThumbnailLink")||B.hasClass("MCHelpControl")||B.hasClass("MCCentralLink")||B.hasClass("reply-comment-button")){return}var D=MadCap.Dom.GetAttribute(this,"href");if(D==null||MadCap.String.StartsWith(D,"http:")||MadCap.String.StartsWith(D,"https:")){return}var E=MadCap.Dom.GetAttribute(this,"target");if(E!=null){return}if(k()){var F=new MadCap.Utilities.Url(document.location.href);if(MadCap.String.StartsWith(D,"#")){F=new MadCap.Utilities.Url(F.PlainPath+D)}else{if(MadCap.String.Contains(D,"javascript:void(0)")){return}else{F=F.ToFolder().CombinePath(D)}}MadCap.Utilities.MessageBus.PostMessageRequest(parent,"navigate-topic",[F.FullPath],null);C.preventDefault()}else{if(o&&MadCap.String.StartsWith(D,"#")&&!MadCap.Dom.GetAttributeBool(this,"data-mc-processed-link")){if(D.length>1){v.ScrollToBookmark(D.substring(1))}C.preventDefault()}else{MadCap.Utilities.Url.OnNavigateTopic.call(B,C)}}};v.ScrollToBookmark=function(D){D=decodeURI(D).replace(/([ #;?%&,.+*~\':"!^$[\]()=>|\/@])/g,"\\$1");if(!D){return}var C=$("[name = '"+D+"']");if(C.length==0){C=$("#"+D)}if(C.length>0){w(C[0],false);var B=$("ul[data-mc-toc]");var E=0;if(B.length>0){B.each(function(){if(!this.innerHTML.replace(/\s/g,"").length){$(this).on("loaded",function(){E++;if(E===B.length){t(h(C))}})}else{E++;if(E===B.length){t(h(C))}}})}else{t(h(C))}}};function h(B){var D=B.offsetParent().offset().top;var C=B.parents("table").length>0?B.offset().top-D:B[0].offsetTop;if($(".title-bar.sticky.is-stuck").length==0&&!$(".sidenav-container").is(":visible")){C+=D}return C}function t(C){var B=o?$("#contentBodyInner"):$(".sidenav-container").is(":visible")?$(".body-container"):$("html, body");B.scrollTop(C)}function A(B){if(v.ShowFeedback){v.ShowFeedback()}}function z(D){$(window).on("resize",A);$(window).on("hashchange",y);v.Init(document);$(".print-button").on("click",function(G){window.print()});$(".expand-all-button").on("click",function(H){var G=$(this);if(G.hasClass("expand-all-button")){MadCap.TextEffects.TextEffectControl.ExpandAll("open")}else{if(G.hasClass("collapse-all-button")){MadCap.TextEffects.TextEffectControl.ExpandAll("close")}}MadCap.Utilities.ToggleButtonState(this)});$(".remove-highlight-button").on("click",function(G){s()});$(".previous-topic-button").on("click",function(G){MadCap.Utilities.MessageBus.PostMessageRequest(parent,"navigate-previous")});$(".next-topic-button").on("click",function(G){MadCap.Utilities.MessageBus.PostMessageRequest(parent,"navigate-next")});$(".codeSnippetCopyButton").on("click",function(G){G.preventDefault();MadCap.Utilities.CopyToClipboard($("code",$(this).parents(".codeSnippet")))});if(MadCap.String.Contains(navigator.userAgent,"iphone",false)){window.scrollTo(0,1)}if(MadCap.IsIOS()&&o){var B=$("<div id='ios-wrapper'></div>").appendTo(document.body);var F=B[0];for(var E=document.body.childNodes.length-2;E>=0;E--){var C=document.body.childNodes[E];F.insertBefore(C,F.firstChild)}}j();MadCap.WebHelp.HelpSystem.LoadHelpSystemDefault().done(function(G){d=G;q()})}v.Init=function(B){$("input, textarea",B).placeholder();if(k()||n()){$(".MCWebHelpFramesetLink",B).hide()}$(B).on("click","a, area",MadCap.Topic.Hyperlink_Onclick);$(".MCPopupThumbnailPopup",B).on("click",MadCap.Topic.ThumbPopup_Click);$(".MCPopupThumbnailHover",B).on("mouseover",MadCap.Topic.ThumbPopup_Hover);$("a.MCHelpControl",B).on("click",MadCap.Topic.HelpControl_Click)};function q(){var B=MadCap.Utilities.Url.CurrentHash();if(B.length>0){var C=new MadCap.Utilities.Url(B.substring(1));r(C.ToNoQuery().FullPath);if(!$("html").hasClass("pulseTopic")){$(window).trigger("hashchange")}}x()}function y(B){var D=new MadCap.Utilities.Url(document.location.href);if(!MadCap.String.IsNullOrEmpty(D.Fragment)){var C=D.Fragment.substring(1);C=MadCap.Utilities.Url.StripInvalidCharacters(C);v.ScrollToBookmark(C)}}function r(B){B=MadCap.Utilities.Url.StripInvalidCharacters(B);B=B.replace("'","\\'");var C=$("[name='"+B+"']");if(C.length>0){w(C[0],false)}}function k(){return window.name=="topic"&&!MadCap.Utilities.HasRuntimeFileType("Default")}function n(){return window.name=="MCPopup"&&!MadCap.Utilities.HasRuntimeFileType("Default")}function l(){return $("html").hasClass("templateTopic")}function x(){MadCap.Utilities.MessageBus.PostMessageRequest(parent,"get-href",null,function(C){if(C){var E=new MadCap.Utilities.Url(C[0]);var D=new MadCap.Utilities.Url(E.Fragment.substring(1));var B=E.QueryMap.GetItem("BrowseSequencesPath");d.SetBrowseSequencePath(B,D)}})}function s(){for(var B=1;B<=10;B++){$("body").removeHighlight("SearchHighlight"+B)}}function j(){function B(C){if(typeof C.nextElementSibling=="undefined"){return C.nextSibling==null||C.nextSibling.nodeType==1?C.nextSibling:B(C.nextSibling)}else{return C.nextElementSibling}}MadCap.Utilities.MessageBus.PostMessageRequest(parent,"get-href",null,function(C){if(C){var O=new MadCap.Utilities.Url(C[0]);var F=O.QueryMap.GetItem("Highlight");if(MadCap.String.IsNullOrEmpty(F)){return}var J=F.match(/"[^"]*"/g);if(J!=null){for(var I=0;I<J.length;I++){F=F.replace(J[I],"")}}var N=F.replace('"',"").split(" ");for(var K=0;K<N.length;K++){if(N[K]==""){N.splice(N[K],1);K--}}if(J!=null){for(var I=0;I<J.length;I++){N.push(J[I].replace(/"/g,""))}}for(var K=0;K<N.length;K++){if($.inArray(N[K].toLowerCase(),MadCap.Utilities.StopWords)!=-1){N.splice(K,1);K--}}for(var G=0;G<N.length;G++){var M=Array("*[class*='MCExpandingBody']","*[class*='MCDropDownHotSpot']","*[data-mc-target-name]");for(var L=0;L<M.length;L++){var E=$(M[L]);for(var D=0;D<E.length;D++){var H=B(E[D].parentElement);if((E[D].textContent!=null&&E[D].textContent.toLowerCase().indexOf(N[G].toLowerCase())>=0)||(H!=null&&H.textContent!=null&&H.textContent.toLowerCase().indexOf(N[G].toLowerCase())>=0)){w(L!=2?E[D]:E[D].firstChild)}}}$("body").highlight(N[G],"SearchHighlight SearchHighlight"+(G+1))}}})}function i(E,C,B,D){if(E==""){return}g(document.body,E,C,B,D);if(c&&c.offsetTop>document.documentElement.clientHeight){document.documentElement.scrollTop=c.offsetTop}}function p(D){for(var C=D.childNodes.length-1;C>=1;C--){var B=D.childNodes[C];var E=B.previousSibling;if(B.nodeType==3&&E.nodeType==3){E.nodeValue=E.nodeValue+B.nodeValue;D.removeChild(B)}}for(var C=0;C<D.childNodes.length;C++){p(D.childNodes[C])}}function g(L,P,C,B,M){var K=null;if(M=="NGram"){K=new RegExp(P,"g"+(B?"":"i"))}else{var E=P.replace(/([*^$+?.()[\]{}|\\])/g,"\\$1");K=new RegExp("(^|\\s|[.,;!#$/:?'\"()[\\]{}|=+*_\\-\\\\])"+E+"($|\\s|[.,;!#$/:?'\"()[\\]{}|=+*_\\-\\\\])","g"+(B?"":"i"))}for(var F=L.childNodes.length-1;F>=0;F--){var H=L.childNodes[F];g(H,P,C,B,M);if(H.nodeType!=3||H.parentNode.nodeName=="SCRIPT"){continue}var D=H;var Q=D.nodeValue;for(var G=K.exec(Q);G!=null;G=K.exec(Q)){var I=G.index+(M=="NGram"?0:G[1].length);var J=I+P.length;var N=document.createElement("span");N.className="highlight";N.style.fontWeight="bold";N.style.backgroundColor=C.split(",")[0];N.style.color=C.split(",")[1];var O=document.createElement("span");O.className="SearchHighlight"+(a+1);O.appendChild(document.createTextNode(Q.substring(I,J)));N.appendChild(O);D.nodeValue=Q.substring(0,I);D.parentNode.insertBefore(N,D.nextSibling);D.parentNode.insertBefore(document.createTextNode(Q.substring(J,Q.length)),N.nextSibling);D=D.nextSibling.nextSibling;Q=D.nodeValue;if(c==null||N.offsetTop<c.offsetTop){c=N}w(N)}}}function w(G,C){if(typeof C=="undefined"){C=true}var F=false;for(var E=G.parentNode;E.nodeName!="BODY";E=E.parentNode){var B=$(E);if(B.hasClass("MCExpanding")){var D=u.TextEffectControl.FindControl(B[0]);if(D==null){D=new MadCap.Topic.ExpandingControl(E)}D.Open(C);F=true}else{if(B.hasClass("MCDropDown")){var D=u.TextEffectControl.FindControl(B[0]);if(D==null){D=new MadCap.Topic.DropDownControl(E)}D.Open(C);F=true}else{var L=$(E).attr("data-mc-target-name");if(L!=null){var N=MadCap.Dom.GetElementsByClassName("MCToggler",null,document.body);for(var I=0,K=N.length;I<K;I++){var M=$(N[I]).attr("data-mc-targets").split(";");var H=false;for(var J=0;J<M.length;J++){if(M[J]==L){H=true;break}}if(!H){continue}var D=u.TextEffectControl.FindControl(N[I]);if(D==null){D=new MadCap.Topic.TogglerControl(N[I])}D.Open(C);F=true;break}}}}}return F}$(function(B){MadCap.Utilities.LoadHandlers.MadCapTopic=v.Init;if(m){z(B)}});if(m){MadCap.Utilities.MessageBus.AddMessageHandler(function(E,D,F){var G={Handled:false,FireResponse:true};if(E=="print"){window.print();G.Handled=true}else{if(E=="expand-all"){MadCap.TextEffects.TextEffectControl.ExpandAll("open");G.Handled=true}else{if(E=="collapse-all"){MadCap.TextEffects.TextEffectControl.ExpandAll("close");G.Handled=true}else{if(E=="get-topic-id"){F[F.length]=f;G.Handled=true}else{if(E=="get-topic-url"){F[F.length]=document.location.href;G.Handled=true}else{if(E=="remove-highlight"){s();G.Handled=true}else{if(E=="get-bs-path"){var H=new MadCap.Utilities.Url(document.location.href);var C=H.QueryMap.GetItem("BrowseSequencePath");if(C==null){C=MadCap.Dom.Dataset(document.documentElement,"mcBrowseSequencePath")}F[F.length]=C;F[F.length]=H.FullPath;G.Handled=true}else{if(E=="reload-pulse"){MadCap.Utilities.MessageBus.PostMessageRequest(frames["topiccomments-html5"],"reload");G.Handled=true}else{if(E=="logout-complete"){MadCap.Utilities.MessageBus.PostMessageRequest(parent,"logout-complete");G.Handled=true}else{if(E=="set-pulse-login-id"){if(b!=null){b.PulseUserGuid=D[0]}MadCap.Utilities.MessageBus.PostMessageRequest(parent,"set-pulse-login-id",D);G.Handled=true}else{if(E=="resize-pulse"){var B=$(".pulse-frame");B.attr("scrolling","no");B.css("overflow","hidden");B.height(D[1]);G.Handled=true}else{if(E=="show-comments"){e=false;G.Handled=true}else{if(E=="hide-comments"){e=true;G.Handled=true}}}}}}}}}}}}}return G},null)}var a=0;var c=null;var d=null;var b=null;var f=MadCap.Dom.Dataset(document.documentElement,"mcLiveHelp")})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){MadCap.WebHelp=MadCap.CreateNamespace("WebHelp");MadCap.WebHelp.FeedbackController=function(g){var f=this;var d=0;this.Server=g;this.FeedbackServer=c(g);this.Version=-1;this.FeedbackActive=false;this.PulseServer=null;this.PulseEnabled=false;this.PulseActive=false;this.PulseUserGuid=null;function c(i,h){if(i==null){return null}if(typeof h=="undefined"){h=""}var j=new MadCap.Utilities.Url(i);j=j.CombinePath(h+"Service.FeedbackExplorer/FeedbackJsonService.asmx/");return j.FullPath}function b(B,r,q,z){if(typeof MadCap.WebHelp.FeedbackController.Shared=="undefined"){MadCap.WebHelp.FeedbackController.Shared=f}var w=document.createElement("script");var l=document.getElementsByTagName("head")[0];var x="MCLiveHelpScript_"+d++;var y=f.FeedbackServer+B+"?";y+="OnComplete="+r+"&ScriptID="+x+"&UniqueID="+(new Date()).getTime();if(q!=null){for(var m=0,o=q.length;m<o;m++){var s=q[m];var p=s[0];var A=encodeURIComponent(s[1]);y+=("&"+p+"="+A)}}if(document.body.currentStyle!=null){var n=2083;if(y.length>n){var j=y.length-n;var h={ExceedAmount:j};var k=new MadCap.FeedbackException(-1,"URL limit exceeded.",h);throw k}}var u=2048;var v=y.indexOf("?");var t=y.substring(v+1).length;if(t>u){var j=t-u;var h={ExceedAmount:j};var k=new MadCap.FeedbackException(-1,"Query string limit exceeded.",h);throw k}w.id=x;w.setAttribute("type","text/javascript");w.setAttribute("src",y);l.appendChild(w);return x}function e(h){window.setTimeout(function(){var i=document.getElementById(h);i.parentNode.removeChild(i)},10)}this.Init=(function(){var h=false;var j=false;var k=new Array();var l=3000;function i(){for(var m=0;m<k.length;m++){k[m].apply(this,arguments)}h=true}return function(m){if(h){m.apply(this,arguments);return}if(m!=null){k.push(m)}if(j){return}j=true;this.GetVersion(function(){if(this.PulseEnabled){this.GetPulseServerActivated(function(n){this.PulseActive=n&&n.toLowerCase()==="true";i.apply(this,arguments)},null,this)}else{i()}},null,this);window.setTimeout(function(){if(!h){i.apply(this,arguments)}},l)}})();this.GetUserGuid=function(){return f.PulseEnabled?f.PulseUserGuid:MadCap.Utilities.Store.getItem("LiveHelpUserGuid")};this.LogTopic=function(j,h,i){this.LogTopicOnComplete=function(k){if(i!=null){i()}e(k);this.LogTopicOnComplete=null};this.GetVersion(function(k){if(k==1){b("LogTopic","MadCap.WebHelp.FeedbackController.Shared.LogTopicOnComplete",[["TopicID",j]])}else{b("LogTopic2","MadCap.WebHelp.FeedbackController.Shared.LogTopicOnComplete",[["TopicID",j],["CSHID",h]])}})};this.LogSearch=function(i,l,k,h,j){this.LogSearchOnComplete=function(m){e(m);this.LogSearchOnComplete=null};b("LogSearch","MadCap.WebHelp.FeedbackController.Shared.LogSearchOnComplete",[["ProjectID",i],["UserGuid",l],["ResultCount",k],["Language",h],["Query",j]])};this.AddComment=function(l,m,n,k,h,j,i){this.AddCommentOnComplete=function(o){if(i!=null){i()}e(o);this.AddCommentOnComplete=null};b("AddComment","MadCap.WebHelp.FeedbackController.Shared.AddCommentOnComplete",[["TopicID",l],["UserGuid",m],["Username",n],["Subject",k],["Comment",h],["ParentCommentID",j]])};this.GetAverageRating=function(j,i,h){if(j==null){if(i!=null){i(0,0,h)}return}this.GetAverageRatingOnComplete=function(m,k,l){if(i!=null){i(k,l,h)}e(m);this.GetAverageRatingOnComplete=null};b("GetAverageRating","MadCap.WebHelp.FeedbackController.Shared.GetAverageRatingOnComplete",[["TopicID",j]])};this.SubmitRating=function(m,k,h,j,i){this.SubmitRatingOnComplete=function(n){if(j!=null){j(i)}e(n);this.SubmitRatingOnComplete=null};var l=b("SubmitRating","MadCap.WebHelp.FeedbackController.Shared.SubmitRatingOnComplete",[["TopicID",m],["Rating",k],["Comment",h]])};this.GetTopicComments=function(k,l,m,i,h){this.GetTopicCommentsOnComplete=function(o,n){if(i!=null){i(n,h)}e(o);this.GetTopicCommentsOnComplete=null};var j=b("GetTopicComments","MadCap.WebHelp.FeedbackController.Shared.GetTopicCommentsOnComplete",[["TopicID",k],["UserGuid",l],["Username",m]])};this.GetAnonymousEnabled=function(j,i,h){this.GetAnonymousEnabledOnComplete=function(l,k){if(i!=null){i(k,h)}e(l);this.GetAnonymousEnabledOnComplete=null};b("GetAnonymousEnabled","MadCap.WebHelp.FeedbackController.Shared.GetAnonymousEnabledOnComplete",[["ProjectID",j]])};this.StartActivateUser=function(y,s,r){this.StartActivateUserOnComplete=function(A,z){if(s!=null){s(z,r)}e(A);this.StartActivateUserOnComplete=null};var x=FMCGetChildNodeByAttribute(y.documentElement,"Name","Username");var w=FMCGetAttribute(x,"Value");var k=FMCGetChildNodeByAttribute(y.documentElement,"Name","EmailAddress");var j=FMCGetAttribute(k,"Value");var m=FMCGetChildNodeByAttribute(y.documentElement,"Name","FirstName");var l=FMCGetAttribute(m,"Value");var q=FMCGetChildNodeByAttribute(y.documentElement,"Name","LastName");var p=FMCGetAttribute(q,"Value");var i=FMCGetChildNodeByAttribute(y.documentElement,"Name","Country");var h=FMCGetAttribute(i,"Value");var u=FMCGetChildNodeByAttribute(y.documentElement,"Name","PostalCode");var t=FMCGetAttribute(u,"Value");var o=FMCGetChildNodeByAttribute(y.documentElement,"Name","Gender");var n=FMCGetAttribute(o,"Value");var v="";b("StartActivateUser","MadCap.WebHelp.FeedbackController.Shared.StartActivateUserOnComplete",[["Username",w],["EmailAddress",j],["FirstName",l],["LastName",p],["Country",h],["Zip",t],["Gender",n],["UILanguageOrder",v]])};this.StartActivateUser2=function(l,i,h,j){var k=MadCap.Utilities.Xhr.GetOuterXml(l);this.StartActivateUser2OnComplete=function(n,m){if(i!=null){if(j!=null){i.call(j,m,h)}else{i(m,h)}}e(n);this.StartActivateUser2OnComplete=null};b("StartActivateUser2","MadCap.WebHelp.FeedbackController.Shared.StartActivateUser2OnComplete",[["Xml",k]])};this.UpdateUserProfile=function(h,m,j,i,k){var l=MadCap.Utilities.Xhr.GetOuterXml(m);this.UpdateUserProfileOnComplete=function(o,n){if(j!=null){if(k!=null){j.call(k,n,i)}else{j(n,i)}}e(o);this.UpdateUserProfileOnComplete=null};b("UpdateUserProfile","MadCap.WebHelp.FeedbackController.Shared.UpdateUserProfileOnComplete",[["Guid",h],["Xml",l]])};this.GetUserProfile=function(h,j,i,k){this.GetUserProfileOnComplete=function(l,m){if(j!=null){if(k!=null){j.call(k,m,i)}else{j(m,i)}}e(l);this.GetUserProfileOnComplete=null};b("GetUserProfile","MadCap.WebHelp.FeedbackController.Shared.GetUserProfileOnComplete",[["Guid",h]])};this.CheckUserStatus=function(j,i,h){this.CheckUserStatusOnComplete=function(k,l){if(i!=null){i(l,h)}e(k);this.CheckUserStatusOnComplete=null};b("CheckUserStatus","MadCap.WebHelp.FeedbackController.Shared.CheckUserStatusOnComplete",[["PendingGuid",j]])};this.GetSynonymsFile=function(j,k,i,h){this.GetSynonymsFileOnComplete=function(l,m){if(i!=null){i(m,h)}e(l)};b("GetSynonymsFile","MadCap.WebHelp.FeedbackController.Shared.GetSynonymsFileOnComplete",[["ProjectID",j],["UpdatedSince",k]])};this.GetVersion=function(i,h,j){this.GetVersionOnComplete=function(k,l){if(l==null){f.Version=1}else{if(f.Version==-1&&l>4){f.FeedbackServer=c(f.Server,"Feedback/");f.PulseServer=f.Server;f.PulseEnabled=true}f.FeedbackActive=true;f.Version=l}if(i!=null){if(j!=null){i.call(j,f.Version,h)}else{i(f.Version,h)}}if(k!=null){e(k)}this.GetVersionOnComplete=null};if(f.Version==-1){b("GetVersion","MadCap.WebHelp.FeedbackController.Shared.GetVersionOnComplete")}else{this.GetVersionOnComplete(null,f.Version)}};this.GetPulseServerActivated=function(i,h,j){this.GetPulseServerActivatedOnComplete=function(l,k){if(i!=null){if(j!=null){i.call(j,k,h)}else{i(k,h)}}if(l!=null){e(l)}this.GetPulseServerActivatedOnComplete=null};b("GetPulseServerActivated","MadCap.WebHelp.FeedbackController.Shared.GetPulseServerActivatedOnComplete")};this.GetPulseStreamID=function(k,i,h,j){this.GetPulseStreamIDOnComplete=function(l,m){if(i!=null){if(j!=null){i.call(j,m,h)}else{i(m,h)}}if(l!=null){e(l)}this.GetPulseStreamIDOnComplete=null};b("GetPulseStreamID","MadCap.WebHelp.FeedbackController.Shared.GetPulseStreamIDOnComplete",[["TopicID",k]])};this.GetTopicPathByStreamID=function(j,i,h,k){this.GetTopicPathByStreamIDOnComplete=function(l,m){if(i!=null){if(k!=null){i.call(k,m,h)}else{i(m,h)}}if(l!=null){e(l)}this.GetTopicPathByStreamIDOnComplete=null};b("GetTopicPathByStreamID","MadCap.WebHelp.FeedbackController.Shared.GetTopicPathByStreamIDOnComplete",[["StreamID",j]])};this.GetTopicPathByPageID=function(j,i,h,k){this.GetTopicPathByPageIDOnComplete=function(l,m){if(i!=null){if(k!=null){i.call(k,m,h)}else{i(m,h)}}if(l!=null){e(l)}this.GetTopicPathByPageIDOnComplete=null};b("GetTopicPathByPageID","MadCap.WebHelp.FeedbackController.Shared.GetTopicPathByPageIDOnComplete",[["PageID",j]])};this.GetPulseSearchResults=function(k,l,j,i){var h=$.Deferred();this.GetPulseSearchResultsOnComplete=function(m,n){h.resolve(n);if(m!=null){e(m)}this.GetPulseSearchResultsOnComplete=null};b("GetPulseSearchResults","MadCap.WebHelp.FeedbackController.Shared.GetPulseSearchResultsOnComplete",[["ProjectID",k],["SearchQuery",l],["PageSize",j],["PageIndex",i]]);return h.promise()}};MadCap.WebHelp.LoadFeedbackController=MadCap.Utilities.Memoize(function(b){return new MadCap.WebHelp.FeedbackController(b)});MadCap.WebHelp.MockFeedbackController=function(){this.GetVersion=function(c,b,d){this.FeedbackActive=true;this.Version=3;if(c!=null){if(d!=null){c.call(d,this.Version,b)}else{c(this.Version,b)}}};this.GetAverageRating=function(d,c,b){if(c!=null){c(50,10,b)}};this.SubmitRating=function(f,e,b,d,c){if(d!=null){d(c)}};this.GetUserGuid=function(){return null}};MadCap.WebHelp.MockFeedbackController.prototype=new MadCap.WebHelp.FeedbackController(null);MadCap.CreateNamespace("Feedback");MadCap.Feedback.LoginDialog=function(b,c){this._FeedbackController=b;this._TimeoutID=-1;this._Mode=c;this._UserGuid=null;this._El=null};var a=MadCap.Feedback.LoginDialog;a.prototype._Init=function(){var c=this;this._El=$(".login-dialog");$(".login-dialog-buttons .submit-button").click(function(d){c.Submit()});$(".login-dialog-buttons .cancel-button").click(function(d){c.Hide(false)});if(this._Mode=="edit"){this._UserGuid=this._FeedbackController.GetUserGuid();this._FeedbackController.GetUserProfile(this._UserGuid,function(e,d){var f=MadCap.Utilities.Xhr.LoadXmlString(e);$(f.documentElement).children("Item").each(function(k,j){var h=$(this);var l=h.attr("Name");var m=h.attr("Value");var g=$(".login-dialog input[name='"+l+"']");if(g.attr("type")=="checkbox"){var i=MadCap.String.ToBool(m,false);g.prop("checked",i)}else{g.val(m)}})},null,this)}else{if(this._Mode=="pulse"){if(c._El.length==0){$("body").append('<div class="login-dialog pulse" />');c._El=$(".login-dialog")}var b=$("#pulse-login-frame");if(b.length==0){c._El.addClass("pulse");c._El.empty();c._El.append('<iframe id="pulse-login-frame" name="pulse-login-html5" style="visibility:hidden;" onload="this.style.visibility=\'visible\';"></iframe>');c._El.append('<button class="close-dialog"></button>');$(".close-dialog",c._El).click(function(d){c.Hide(true)});$("#pulse-login-frame").attr("src",c._FeedbackController.PulseServer+"Login")}}}};a.prototype._Cleanup=function(){$(".login-dialog-buttons .submit-button").off("click");$(".login-dialog-buttons .cancel-button").off("click");$(".submit-button").attr("disabled",null);$(".status-message-box").hide();$(".profile-item-wrapper.error").removeClass("error");window.clearTimeout(this._TimeoutID)};a.prototype.Show=function(){this._Init();var b=MadCap.TextEffects.AddBackgroundTint("light");$(b).animate({opacity:0.5},200);this._El.fadeIn(200,function(){$(this).attr("tabindex","-1");$(this).focus();$(this).one("blur",function(){$(this).removeAttr("tabindex")})});$("body").css("height","100%");$("body").css("overflow","hidden")};a.prototype.Hide=function(b){this._Cleanup();MadCap.TextEffects.RemoveBackgroundTint();if(b){this._El.fadeOut()}else{this._El.hide()}$("body").css("height","");$("body").css("overflow","");$(this).trigger("closed")};a.prototype.Submit=function(){$(".status-message-box").hide();$(".profile-item-wrapper.error").removeClass("error");if(this._CheckErrors()){this._SetStatusMessage("required-fields-missing-message","error");return}var c=this._LoginItemsToXml();var b=this;if(this._Mode=="new"){this._FeedbackController.StartActivateUser2(c,function(d){b._CheckUserStatus(d)});this._SetStatusMessage("verification-email-sent-message")}else{if(this._Mode=="edit"){this._FeedbackController.UpdateUserProfile(this._UserGuid,c,function(d){if(d=="00000000-0000-0000-0000-000000000000"){b.Hide(true)}else{b._CheckUserStatus(d);b._SetStatusMessage("verification-email-sent-message")}})}}$(".submit-button").attr("disabled","disabled")};a.prototype._CheckUserStatus=function(b){var c=this;this._FeedbackController.CheckUserStatus(b,function(d){if(d=="Pending"){c._TimeoutID=setTimeout(function(){c._CheckUserStatus(b)},5000)}else{MadCap.Utilities.Store.setItem("LiveHelpUserGuid",d);c.Hide(true)}})};a.prototype._CheckErrors=function(){var j=false;var c=$(".login-dialog .profile-item-wrapper input, .login-dialog .profile-item-wrapper select");for(var d=0,f=c.length;d<f;d++){var e=c[d];var b=$(e);var h=b.val();var g=MadCap.String.ToBool(MadCap.Dom.Dataset(e,"required"),false);if(g&&MadCap.String.IsNullOrEmpty(h)){b.closest(".profile-item-wrapper").addClass("error");j=true}}return j};a.prototype._LoginItemsToXml=function(){var m=MadCap.Utilities.Xhr.CreateXmlDocument("FeedbackUserProfile");var j=m.documentElement;var c=$(".login-dialog .profile-item-wrapper input");for(var d=0,g=c.length;d<g;d++){var e=c[d];var b=$(e);var h=b.attr("name");var k=b.attr("type");var l=k=="checkbox"?e.checked:b.val();var f=m.createElement("Item");f.setAttribute("Name",h);f.setAttribute("Value",l.toString());j.appendChild(f)}return m};a.prototype._SetStatusMessage=function(c,d){var b=$(".status-message-box");if(d=="error"){b.addClass("error")}else{b.removeClass("error")}$(".message").hide();$("."+c).show();b.fadeIn()};MadCap.FeedbackException=function(d,c,b){MadCap.Exception.call(this,d,c);this.Data=b};MadCap.FeedbackException.prototype=new MadCap.Exception();MadCap.FeedbackException.prototype.constructor=MadCap.FeedbackException;MadCap.FeedbackException.prototype.base=MadCap.Exception.prototype})();(function(){MadCap.WebHelp.OutputAnalyticsController=function(b){this.Server=b;this.OutputAnalyticsPath=a(b);function a(c){if(c==null){return null}var d=new MadCap.Utilities.Url(c);d=d.CombinePath("api/OutputAnalytics");return d.FullPath}this.LogTopic=function(e,d){var c=this.OutputAnalyticsPath+"/Log/TopicView";var f={TopicID:e,CshId:d,SearchType:0,ScreenHeight:window.innerHeight,ScreenWidth:window.innerWidth};$.post(c,f)};this.LogSearch=function(f,h,e,d,g){var c=this.OutputAnalyticsPath+"/Log/Search";var i={OutputAnalyticsId:f,Language:d,Query:g,Results:h,MicroContentResults:e,SearchType:0};$.post(c,i)}};MadCap.WebHelp.LoadOutputAnalyticsController=MadCap.Utilities.Memoize(function(a){return new MadCap.WebHelp.OutputAnalyticsController(a)})})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
var isTriPane;var isSkinPreview;var _OutputAnalyticsController=null;var _searchPrefixTri="search-";var _searchPrefixTop="q=";var _SearchPane;var _HelpSystem;var timer;(function(){MadCap.SearchHelper=MadCap.CreateNamespace("SearchHelper");$.extend(MadCap.SearchHelper,{SearchFormSubmit:SearchFormSubmit,DoSearch:DoSearch,DoSearchOrRedirect:DoSearchOrRedirect,SearchHandler:SearchHandler,SetSelectedSearchQuery:SetSelectedSearchQuery,SearchPrefixTri:_searchPrefixTri});isTriPane=MadCap.Utilities.HasRuntimeFileType("TriPane");isSkinPreview=MadCap.Utilities.HasRuntimeFileType("SkinPreview");if(MadCap.WebHelp&&MadCap.WebHelp.HelpSystem){MadCap.WebHelp.HelpSystem.LoadHelpSystemDefault().done(function(a){_HelpSystem=a;if(_HelpSystem.LiveHelpEnabled){_OutputAnalyticsController=MadCap.WebHelp.LoadOutputAnalyticsController(_HelpSystem.OutputAnalyticsServer)}LoadSearchFilters();_SearchPane=new MadCap.WebHelp.SearchPane(_HelpSystem,$("#searchPane"));MadCap.SearchHelper.SearchPane=_SearchPane});$(document).ready(function(){SetupSearch()})}else{HookupSearchFilters()}$(SearchHelperOnLoad)})();function SearchHelperOnLoad(){if(isSkinPreview){MicroContentDropDownInit()}}function SearchHandler(c,b,a){return _SearchPane.Search(b,a)}function DoSearch(i,d,g,j,h,b,a){var c=_HelpSystem.GetCurrentSkin();if(typeof j=="undefined"){j=true}if(typeof h=="undefined"){h=(!c&&_HelpSystem.DisplayCommunitySearchResults)||(c&&c.DisplayCommunitySearchResults!="false")}if(typeof b=="undefined"){b=_HelpSystem.CommunitySearchResultsCount}if(typeof a=="undefined"){a=0}if(!g){g=1}$("#resultList, .micro-content-container").remove();if(isTriPane){MadCap.TriPane.ShowPane("search")}var e=g===1;var f={};if(j){f.searchContent=true;f.searchGlossary=_HelpSystem.IncludeGlossarySearchResults&&e;f.content={filterName:d,pageSize:_HelpSystem.ResultsPerPage,pageIndex:g-1}}if(h&&(e||!j)){f.searchCommunity=true;f.community={pageSize:b,pageIndex:a}}MadCap.SearchHelper.SearchHandler(_HelpSystem.TargetName,i,f).then(function(k){BuildSearchResults(i,k,g)});$("body").removeClass("active")}function SearchFormSubmit(a){if(isSkinPreview&&!isTriPane){return}var c=GetSearchQuery(a);if(!MadCap.String.IsNullOrEmpty(c.Query)){var b=_searchPrefixTri+c.ToString();if(isTriPane){document.location.hash=MadCap.Utilities.Url.EnsureUrlSafety(b)}else{b=_searchPrefixTop+c.ToString();MadCap.Utilities.Url.NavigateTopic(new MadCap.Utilities.Url(_HelpSystem.SearchUrl+"?"+b))}}}function DoSearchOrRedirect(a,c){var b=MadCap.WebHelp.Search.SearchQuery.Parse(a);if(!isTriPane&&!MadCap.Utilities.HasRuntimeFileType("Search")){var d;if(c){d=new MadCap.Utilities.Url(_HelpSystem.SearchUrl+"?skinName="+c+"&"+_searchPrefixTop+b.ToString())}else{d=new MadCap.Utilities.Url(_HelpSystem.SearchUrl+"?"+_searchPrefixTop+b.ToString())}MadCap.Utilities.Url.NavigateTopic(d)}else{SetSelectedSearchQuery(b.Query);if(!MadCap.String.IsNullOrEmpty(b.Filter)){SetSelectedSearchFilter(b.Filter);UpdateSearchFilterState(b.Filter,document)}DoSearch(b.Query,b.Filter,b.PageIndex)}}function SetSelectedSearchQuery(b){var a=decodeURIComponent(b);$(".search-field").val(a);$("#search-field-sidebar").val(a)}function RedoSearch(b,a){if(!isTriPane&&isSkinPreview){return}if($("#searchPane").is(":visible")&&!MadCap.String.IsNullOrEmpty(b)){SetSearchHash(new MadCap.WebHelp.Search.SearchQuery(b,GetSearchFilterValue(a),null))}}function SetupSearch(){$(".search-submit").on("click",function(a){SearchFormSubmit(a)});$("#search-field, #search-field-sidebar, .search-field").on("keypress",function(a){if(a.which!=13){return}SearchFormSubmit(a);a.preventDefault()});$(".search-filter-wrapper").on("click",function(c){var b=$(this);var a=$(".search-filter-content",this);if(b.hasClass("open")){CloseSearchFilter(0,0,a,b)}else{$(this).addClass("open");if(window.PIE){$(".search-submit-wrapper").each(function(){PIE.detach(this);PIE.attach(this)})}b.children(".search-filter").attr("aria-expanded","true");a.fadeIn(200);a.css("max-height",$(window).height()-a.offset().top)}});if(!MadCap.Utilities.IsTouchDevice()){$(".search-filter-wrapper").on("mouseenter",function(a){clearTimeout(timer)});$(".search-filter-wrapper").on("mouseleave",function(c){var a=$(this);var b=$(".search-filter-content",this.parentElement);CloseSearchFilter(200,500,b,a)})}}function LoadSearchFilters(){_HelpSystem.LoadSearchFilters().then(function(l){var h=l?l.map:null;var k=[];var n=false;if(h){for(var j in h){var g=h[j];if(!MadCap.String.IsNullOrEmpty(g.c)){k.push(j);n|=g.o!=-1}}}if(k.length==0){if(window.PIE){$(".search-submit-wrapper").each(function(){PIE.attach(this)})}$("#SearchTab").closest("div").empty();return}$(".search-filter-wrapper").show();if(window.PIE){$(".search-filter, .search-submit-wrapper").each(function(){PIE.attach(this)})}var q={};k.forEach(function(s){var i=h[s];if(i.o>-1){q[i.o]=s}});if(n){var r=k.sort(function(i,s){if(h[i].group!=h[s].group){return h[i].group-h[s].group}if(h[i].o!=h[s].o){return h[i].o-h[s].o}return(i<s?-1:i>s?1:0)});k=r}else{var r=k.sort();k=r}if(isTriPane&&$(".search-bar").css("display")=="none"){$("#SearchTab").closest(".tab").remove();return}var f=$("#search ul");for(var o=0,p=k.length;o<p;o++){var m=MadCap.Utilities.GenerateRandomGUID();var b=$("<span></span>").append(k[o]).attr("id",m);var a=$('<button class="mc-dropdown-item"></button>').append(b).attr("aria-labelledby","search-filters-label "+m);MadCap.Accessibility.initMenuDropdownAccessibility(a);$(".search-filter-content ul").append($("<li></li>").append(a));var d=$("<li/>");d.addClass("SearchFilterEntry tree-node tree-node-leaf");var c=$('<div class="SearchFilter" />');var e=$('<span class="label" />');e.text(k[o]);c.append(e);d.append(c);f.append(d)}HookupSearchFilters()})}function HookupSearchFilters(){$(".search-filter-content button").on("click",function(g){g.preventDefault();var d=$(g.target);var h=d.text().trim();var a=d.closest(".search-bar").children(".search-field");var i=a.val();var f=d.closest(".search-filter-wrapper");var b=f.children(".search-filter");var c=d.closest(".search-filter-content");SetSelectedSearchFilter(h);UpdateSearchFilterState(h,f);b.attr("title",h);CloseSearchFilter(0,0,c,b);RedoSearch(i,h)});$(".SearchFilter").on("click",function(c){var b=$(c.target).closest(".SearchFilterEntry");var g=$("#search-field-sidebar").val();$(".SearchFilterEntry.tree-node-selected").removeClass("tree-node-selected");if(b.hasClass("SearchFilterEntry")){b.addClass("tree-node-selected");var f=b.find(".SearchFilter").text().trim();var a=$("#search-field-sidebar");if(!a.attr("data-placeholder")){a.attr("data-placeholder",a.attr("placeholder"))}var d=MadCap.Utilities.EncodeHtml(a.attr("data-placeholder")+" "+f);a.attr("placeholder",d);SetSelectedSearchFilter(f,this);if(g){RedoSearch(g,f)}else{$(".search-filter").focus()}}})}function CloseSearchFilter(b,a,d,c){if(timer){clearTimeout(timer)}timer=setTimeout(function(){$(d).fadeOut(b,function(){$(c).removeClass("open");$(c).children(".search-filter").attr("aria-expanded","false")})},a)}function SetSelectedSearchFilter(c){$(".search-filter").data("filter",c);if(!isTriPane){var a=$(".search-field");if(!a.attr("data-placeholder")){a.attr("data-placeholder",a.attr("placeholder"))}var b=MadCap.Utilities.EncodeHtml(a.attr("data-placeholder")+" "+c);a.attr("placeholder",b);$(".search-filter").attr("title",c)}else{$(".search-filter > span").text(c)}}function UpdateSearchFilterState(e,d){var a=$(".search-filter-content",d);var f=a.children()[0];var b=$(f).children()[0];var c=$(b).text().trim();e!==c?$(".search-filter").addClass("selected"):$(".search-filter").removeClass("selected")}function GetSearchQuery(d){var a=$(d.target).closest(".search-bar-container");var b=$("input",a).first();var c=$(".search-filter",a);var l=b.val();if(l){l=MadCap.Utilities.Url.StripInvalidCharacters(l);l=encodeURIComponent(l)}var k;var i=a.attr("id");if(isTriPane&&i&&i.indexOf("sidebar")!=-1){k=$(".SearchFilterEntry.tree-node-selected").text()}else{k=c.data("filter")}if(!k){var g=MadCap.Utilities.Url.CurrentHash();var h=g.lastIndexOf("?f=");if(h!==-1){var f=g.substr(h+3);if(f){k=f}}}k=k?k.trim():k;var j=GetSearchFilterValue(k,a);return new MadCap.WebHelp.Search.SearchQuery(l,j,null)}function GetSearchFilterValue(b){var a=$.trim($("#sf-content li").first().text());if(b&&b!=a){var c=MadCap.Utilities.Url.StripInvalidCharacters(b);return encodeURIComponent(c)}return null}function CreateSearchPagination(a,m,k){var h=$("#pagination");h.css("display","none");$("a.specificPage",h).remove();if(m>0){var n=Math.ceil(m/_HelpSystem.ResultsPerPage);var c=10;var l=5;var g=Math.max(Math.min(a-l,n-c+1),1);var e=Math.min(g+c-1,n);var j=$("a.previousPage",h);if(a>1){j.off("click");j.on("click",{value:a-1},GoToSearchResults);j.css("display","inline")}else{j.css("display","none")}var d=$("a.nextPage",h);if(a<n){d.off("click");d.on("click",{value:a+1},GoToSearchResults);d.css("display","inline")}else{d.css("display","none")}for(var b=g;b<=e;b++){var f=$('<a href="#" class=\'specificPage\'><span style="display: none;">page</span>'+b+"</a>");if(b==a){f.attr("id","selected")}d.before(f);f.on("click",{value:b},GoToSearchResults)}h.css("display","block")}}function GoToSearchResults(b){b.preventDefault();var a=MadCap.Utilities.Url.GetDocumentUrl();var g=isTriPane?"#"+_searchPrefixTri:"[?&]"+_searchPrefixTop;var c=isTriPane?MadCap.Utilities.Url.CurrentHash():a.Query;var d=c.match(g);if(d){var f=MadCap.WebHelp.Search.SearchQuery.Parse(c.substring(d.index+d[0].length));f.PageIndex=b.data.value;SetSearchHash(f)}}function SetSearchHash(c,b,a){var d;if(isTriPane){d=c.ToString()}else{d=_searchPrefixTop+c.Query;if(c.Filter){d+="&f="+c.Filter}if(c.PageIndex){d+="&p="+c.PageIndex}}d=MadCap.Utilities.Url.StripInvalidCharacters(d);if(isTriPane){document.location.hash=MadCap.Utilities.Url.EnsureUrlSafety("#"+_searchPrefixTri+d)}else{var e=new MadCap.Utilities.Url(_HelpSystem.SearchUrl+"?"+d);MadCap.Utilities.Url.NavigateTopic(e)}}function MicroContentDropDownInit(){var c=$("div.micro-response");if(c.length){var b=$("div.micro-content-expand-transition");var a=$("button.micro-content-expand");var d=0;a.hide();b.hide();setTimeout(function(){d=parseFloat(c.css("max-height"));var e=c.prop("scrollHeight");if(e<d){c.css("max-height","none")}else{a.show();b.show()}},100);a.click(function(){var e=c.prop("scrollHeight");if(a.hasClass("expanded")){c.css("max-height",e);c.animate({"max-height":d},function(){c.css("max-height","")});a.removeClass("expanded");b.show();SetSkinPreviewStyle(a[0],"Search Micro Content Response Expand")}else{b.hide();c.animate({"max-height":e},function(){c.css("max-height","none")});a.addClass("expanded");SetSkinPreviewStyle(a[0],"Search Micro Content Response Collapse")}});$(".codeSnippetCopyButton").on("click",function(f){f.preventDefault();MadCap.Utilities.CopyToClipboard($("code",$(this).parents(".codeSnippet")))})}}function BuildSearchResults(S,Q,r){var s=_HelpSystem.GetCurrentSkin();var u=(!s&&_HelpSystem.DisplayCommunitySearchResults)||(s&&s.DisplayCommunitySearchResults!="false");var E=$("#results-heading")[0];var O=$("#pagination");var H=Q.contentTotal;var q=(u&&Q.community!=null)?Q.community.TotalRecords:0;var C=Q.glossary?1:0;var M=Q.microContent?1:0;var aa=H+q+Math.max(C,M);var K=isTriPane?"#":"";SetSkinPreviewStyle(E,"Search Heading");$(".query",E).text('"'+decodeURIComponent(S)+'"');$(".total-results",E).text(aa);if(r<1||r>Math.ceil(H/_HelpSystem.ResultsPerPage)){O.css("display","none")}if(aa>0){var ab=document.createElement("ul");ab.setAttribute("id","resultList");if(!Q.content){ab.setAttribute("class","communitySearch")}if(Q.glossary){var I=document.createElement("li");ab.appendChild(I);var v=document.createElement("div");$(v).addClass("glossary");SetSkinPreviewStyle(v,"Search Glossary Result");var z=document.createElement("div");$(z).addClass("term");SetSkinPreviewStyle(z,"Search Glossary Term");var X=document.createTextNode(Q.glossary.term);if(Q.glossary.link){var L=document.createElement("a");$(L).attr("href",K+Q.glossary.link);L.appendChild(X);z.appendChild(L)}else{z.appendChild(X)}v.appendChild(z);var t=Q.glossary.definition||Q.glossary.abstractText;if(t){var x=document.createElement("div");$(x).addClass("definition");x.appendChild(document.createTextNode(t));SetSkinPreviewStyle(x,"Search Glossary Definition");v.appendChild(x)}I.appendChild(v)}if(Q.microContent){var l=$("<div>").addClass("micro-content-container").insertAfter($("#results-heading"));var d=$("<div>").addClass("micro-content").appendTo(l);SetSkinPreviewStyle(d[0],"Search Micro Content Result");var g=$("<div>").addClass("micro-response").appendTo(d);SetSkinPreviewStyle(g[0],"Search Micro Content Response");$(Q.microContent.html).appendTo(g);var b=$("<button>").addClass("micro-content-expand").appendTo(d);SetSkinPreviewStyle(b[0],"Search Micro Content Response Expand");var f=$("<div>").addClass("micro-content-expand-transition-wrapper").insertBefore(b);var e=$("<div>").addClass("micro-content-expand-transition").appendTo(f);SetSkinPreviewStyle(e[0],"Search Micro Content Response Fade");if(Q.microContent.source){var Z=K+Q.microContent.source;var j=$("<div>").addClass("micro-response-title").appendTo(d);var h=$("<a>").attr("href",Z).text(Q.microContent.sourceTitle).appendTo(j);SetSkinPreviewStyle(j[0],"Search Micro Content Response Link");var k=$("<div>").addClass("micro-response-url").appendTo(d);var c=$("<cite>").addClass("").text(Q.microContent.source).appendTo(k);SetSkinPreviewStyle(k[0],"Search Micro Content Response Path")}var W=Q.microContent.stylesheets;if(W){var V=[];for(var G=0;G<W.length;G++){var U=new MadCap.Utilities.Url(W[G]);var N=U.ToFolder().AddFile(U.Name+".micro-content."+U.Extension);if(N.IsRootRelative){N=new MadCap.Utilities.Url(".").CombinePath(N.FullPath)}V.push(N.FullPath)}MadCap.Utilities.UpdateDynamicStylesheets(V)}MadCap.Utilities.InitContent(g[0]);MicroContentDropDownInit();MadCap.Accessibility.initTextEffectsAccessibility(d)}else{MadCap.Utilities.RemoveDynamicStylesheets()}if(Q.community!=null&&Q.community.Activities.length>0&&u){BuildCommunitySearchResults(ab,S,Q.community)}var R=_HelpSystem.ResultsPerPage;if(Q.content!=null&&R>0){var T=0,B=Math.min(R,Q.content.length);if(Q.clientPaging){T=(r-1)*R;B=Math.min(T+R,Q.contentTotal)}for(var G=T;G<B;G++){var P=Q.content[G];var Y=P.Title;var J=P.Link;var n=P.AbstractText;var F=P.Highlighted;var I=document.createElement("li");ab.appendChild(I);var D=document.createElement("h3");$(D).addClass("title");I.appendChild(D);var m=document.createElement("a");m.setAttribute("href",K+J+"?Highlight="+encodeURIComponent(S));SetSkinPreviewStyle(m,"Search Result Link");o(F,m,Y,Q);D.appendChild(m);if(n!=null){var y=document.createElement("div");$(y).addClass("description");SetSkinPreviewStyle(y,"Search Result Abstract");o(F,y,n,Q);I.appendChild(y)}if(_HelpSystem.DebugMode){var w=document.createElement("div");$(w).addClass("description");w.innerHTML="<b>Score:</b> "+P.Score+", <b>Rank:</b> "+P.Rank;I.appendChild(w)}var A=document.createElement("div");$(A).addClass("url");I.appendChild(A);var p=document.createElement("cite");SetSkinPreviewStyle(p,"Search Result Path");p.appendChild(document.createTextNode(J));A.appendChild(p)}}O.before(ab)}if(_HelpSystem.LiveHelpEnabled){if(_HelpSystem.IsCentralLiveHelpServerType()){_OutputAnalyticsController.LogSearch(_HelpSystem.OutputAnalyticsId,H,M,null,S)}else{_FeedbackController.LogSearch(_HelpSystem.LiveHelpOutputId,null,H,null,S)}}if(H>_HelpSystem.ResultsPerPage){CreateSearchPagination(r,Q.contentTotal,Q.content)}else{O.css("display","none")}if(MadCap.IsIOS()){$(".off-canvas-wrapper").scrollTop(1)}$("#contentBodyInner, .off-canvas-wrapper").scrollTop(0);function o(i,a,ad,ac){if(i){a.innerHTML=ad}else{a.appendChild(document.createTextNode(ad));BoldSearchTerms(a,ac.includedTerms)}}}function SetSkinPreviewStyle(a,b){if(isSkinPreview){a.setAttribute("data-mc-style",b)}}function BoldSearchTerms(c,d){var a=$(c);if(d){for(var b=0;b<d.length;b++){a.highlight(d[b],null,"b")}}}function BuildCommunitySearchResults(x,u,e){var o=(_HelpSystem.PulsePage||"")+"#pulse-";var v=isTriPane?"#":_HelpSystem.GetTopicPath("../"+_HelpSystem.ContentFolder).FullPath;var n=document.createElement("li");n.setAttribute("id","community-results");x.appendChild(n);var l=document.createElement("h3");l.setAttribute("class","title");var g=document.createElement("a");g.setAttribute("href","#communitysearch-"+encodeURIComponent(u));g.appendChild(document.createTextNode("Community Results"));l.appendChild(g);var f=document.createElement("span");f.appendChild(document.createTextNode(" ("+e.TotalRecords+")"));l.appendChild(f);var h=document.createElement("ul");h.setAttribute("id","communityResultList");n.appendChild(l);n.appendChild(h);var p=new Date();var y=new Date(p.getUTCFullYear(),p.getUTCMonth(),p.getUTCDate(),p.getUTCHours(),p.getUTCMinutes(),p.getUTCSeconds());for(var m=0;m<e.Activities.length;m++){var d=e.Activities[m];var a=document.createElement("li");h.appendChild(a);var b=document.createElement("a");b.setAttribute("class","activityText");b.setAttribute("href",o+"#!streams/"+d.FeedId+"/activities/"+d.Id);b.appendChild(document.createTextNode(d.Text));var c=document.createElement("div");c.setAttribute("class","activityInfo");var j=document.createElement("a");j.setAttribute("class","activityCreator");j.setAttribute("href",o+"#!streams/"+d.CreatedBy+"/activities");j.appendChild(document.createTextNode(d.CreatedByDisplayName));var w=document.createElement("span");w.appendChild(document.createTextNode(" to "));var k=d.FeedUrl!=null?v+d.FeedUrl:o+"#!streams/"+d.FeedId+"/activities";var q=document.createElement("a");q.setAttribute("class","activityFeed");q.setAttribute("href",k);q.appendChild(document.createTextNode(d.FeedName));var r=new MadCap.Utilities.DateTime(d.PostedUtc);var t=new MadCap.Utilities.TimeSpan(r.Date,y);var s=document.createElement("span");s.setAttribute("class","activityTime");s.appendChild(document.createTextNode(t.ToDurationString()));c.appendChild(j);c.appendChild(w);c.appendChild(q);c.appendChild(s);a.appendChild(b);a.appendChild(c)}};/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
var _HelpSystem;(function(){if(!MadCap.Utilities.HasRuntimeFileType("Default")){return}MadCap.WebHelp.HelpSystem.LoadHelpSystemDefault().done(function(a){_HelpSystem=a});$(document).ready(function(){initButtons()});MadCap.Utilities.MessageBus.AddMessageHandler(NavigateMessageHandler)})();function initButtons(){$(".previous-topic-button").on("click",function(a){PreviousTopic();$("#topic").focus()});$(".next-topic-button").on("click",function(a){NextTopic();$("#topic").focus()})}function PreviousTopic(){AdvanceTopic("previous")}function NextTopic(){AdvanceTopic("next")}function AdvanceTopic(a){GetAdvanceUrl(a,function(d){if(d){if(isTriPane){document.location.hash=d}else{var b=new MadCap.Utilities.Url(document.location.href);var c=_HelpSystem.GetCurrentSkin();var e=new MadCap.Utilities.Url(d);var g=e.QueryMap.GetLength()>0?"&":"?";var i=_HelpSystem.DefaultSkin!=c?(g+"skinName="+c.SkinID):"";var f=b.ToFolder().CombinePath(d);var h=f.PlainPath+f.Query+i+f.Fragment;document.location.href=MadCap.Utilities.Url.EnsureUrlSafety(h)}}})}function GetAdvanceUrl(b,a){var c=isTriPane?frames.topic:window;MadCap.Utilities.MessageBus.PostMessageRequest(c,"get-topic-url",null,function(g){var h=new MadCap.Utilities.Url(g[0]);var l=isTriPane?new MadCap.Utilities.Url(decodeURIComponent(document.location.href)):new MadCap.Utilities.Url(document.location.href);var d=isTriPane||_HelpSystem.TopNavTocPath;var k=(isTriPane&&!(l.QueryMap.GetItem("TocPath")||l.QueryMap.GetItem("BrowseSequencesPath"))&&!MadCap.String.IsNullOrEmpty(l.Fragment))?new MadCap.Utilities.Url(l.Fragment):l;var m=k.QueryMap.GetItem("TocPath");var e=k.QueryMap.GetItem("BrowseSequencesPath");l=l.ToPlainPath();if(!l.IsFolder){l=l.ToFolder()}if(isTriPane){var j=h.Query;var i=decodeURIComponent(h.PlainPath);h=new MadCap.Utilities.Url(i+j)}var f=l.CombinePath(_HelpSystem.GetMasterHelpSystem().GetContentPath());h=h.ToRelative(f);if(e!=null){_HelpSystem.AdvanceTopic("BrowseSequences",b,e,d,h,a)}else{_HelpSystem.AdvanceTopic("Toc",b,m,d,h,a)}})}function NavigateMessageHandler(i,d){var l={Handled:false,FireResponse:false};if(i=="navigate"){var k=d[0];if(k){MadCap.Utilities.Url.NavigateHash(k)}l.Handled=true;l.FireResponse=true}else{if(i=="navigate-topic"){var k=d[0];if(!MadCap.Utilities.HasRuntimeFileType("TriPane")){var a=_HelpSystem.GetAbsoluteTopicPath("../"+_HelpSystem.ContentFolder+k);MadCap.Utilities.Url.Navigate(a.FullPath)}var h=new MadCap.Utilities.Url(k);if(h.IsAbsolute){var g=new MadCap.Utilities.Url(document.location.href);g=new MadCap.Utilities.Url(g.PlainPath);var f=MadCap.String.EndsWith(g.FullPath,"/")?g:g.ToFolder();var b=f.CombinePath(_HelpSystem.ContentFolder);h=h.ToRelative(b)}if(h.FullPath){var j=MadCap.Utilities.Url.EnsureUrlSafety(h.FullPath);var c=MadCap.Utilities.Url.CurrentHash();if(c.substring(1)==j){document.location.hash=null}document.location.hash=j}l.Handled=true}else{if(i=="navigate-home"){var e=isTriPane?new MadCap.Utilities.Url(document.location.href):_HelpSystem.GetAbsoluteTopicPath("../"+_HelpSystem.DefaultStartTopic);MadCap.Utilities.Url.Navigate(e.PlainPath);l.Handled=true}else{if(i=="navigate-previous"){PreviousTopic();l.Handled=true}else{if(i=="navigate-next"){NextTopic();l.Handled=true}}}}}return l};/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
(function(){var i=MadCap.Utilities.HasRuntimeFileType("TriPane");if(!MadCap.Utilities.HasRuntimeFileType("Topic")&&!i){return}var o=MadCap.CreateNamespace("Topic");var b=null;var f,h,g,a;MadCap.WebHelp.HelpSystem.LoadHelpSystemDefault().done(function(p){b=p;var q=b.GetCurrentSkin();f=q&&q.TemplateName=="Fluid";h=q&&q.SkinClass.indexOf("topnav")>=0;g=$(".footer").length!=0;a=f?$(".body-container").children().first():$("body");j();k();l();d()});o.Expand=function(q){var p=new TextEffects.ExpandingControl(q.parentNode);p.Toggle()};o.DropDown=function(q){var p=new TextEffects.DropDownControl(q.parentNode.parentNode);p.Toggle()};o.Toggle=function(q){var p=new TextEffects.TogglerControl(q);p.Toggle()};o.ThumbPopup_Click=function(p){var q=o.ShowThumbnailPopup(p,this,"click");if(p.preventDefault){p.preventDefault()}};o.ThumbPopup_Hover=function(p){var q=o.ShowThumbnailPopup(p,this,"mouseleave")};o.ShowThumbnailPopup=function(C,q,T){$(".MCPopupContainer").trigger("popup:dismiss");var w=10;var v=1;var J=10;var U=$(q).children("img")[0];var H=parseInt(MadCap.Dom.Dataset(U,"mcWidth"));var F=parseInt(MadCap.Dom.Dataset(U,"mcHeight"));var I=F/H;var O=document.documentElement.clientWidth-((w+v+J)*2);var M=document.documentElement.clientHeight-((w+v+J)*2);if(F>M){F=M;H=F/I}if(H>O){H=O;F=H*I}var W=$(U).offset().top;var V=$(U).offset().left;var G=MadCap.Dom.GetAttribute(q,"href");var D=MadCap.Dom.GetAttribute(q,"data-mc-popup-alt");var x=F+((v+J)*2);var A=H+((v+J)*2);var z=(W+(U.offsetHeight/2))-(x/2);var y=(V+(U.offsetWidth/2))-(A/2);var S=MadCap.Dom.GetScrollPosition();var u=S.Y;var r=u+document.documentElement.clientHeight;var s=S.X;var t=s+document.documentElement.clientWidth;var Q=u+w;var P=s+w;var L=r-w;var N=t-w;if(z<Q){z=Q}if(y<P){y=P}if(z+x>L){z=L-x}if(y+A>N){y=N-A}if($(".title-bar.sticky.is-stuck")){if(z<$(".title-bar.sticky.is-stuck").innerHeight()){z+=$(".title-bar.sticky.is-stuck").innerHeight()-z+w}}var p=$("<div></div>");p.addClass("MCPopupContainer");var E=document.createElement("img");$(E).addClass("MCPopupFullImage");E.setAttribute("src",G);E.setAttribute("alt",D);E.setAttribute("tabindex","0");var B=function(Y){p.animate({top:X,left:K},200,function(){p.remove()});$(E).animate({width:U.offsetWidth,height:U.offsetHeight},200)};p.on("popup:dismiss",B);p.bind(T,B);p.bind("keydown",function(Y){var Z=Y||window.event;if(Z.keyCode!==27&&Z.keyCode!==13){return}p.trigger("popup:dismiss")});if(T==="click"){var R=C;$(document).on("click.dismissPopup",function(Y){if(Y.originalEvent!==R.originalEvent){B();$(document).off(".dismissPopup")}})}p.append(E);document.body.appendChild(p[0]);var X=W-(v+J);var K=V-(v+J);if(MadCap.IsIBooks()){$idealContainer=$(q).parentsUntil("body").last();H=$idealContainer[0].offsetWidth*0.9;F=H*I;y=$idealContainer.offset().left;p.css({top:X,left:K}).animate({top:z,left:y,width:H,height:F},200)}else{p.css({top:X,left:K}).animate({top:z,left:y},200)}$(E).css({width:U.offsetWidth,height:U.offsetHeight}).animate({width:H,height:F},200);E.focus()};function j(){var p=$("div.breadcrumbs[data-mc-toc]");var q;if(!i){q=m()}p.each(function(){var r=new MadCap.WebHelp.Breadcrumbs("Toc",b,this,true);r._TocType=q.TocType;r._TocPath=q.TocType=="Toc"?q.TocPath:q.BrowseSequencesPath;r._TocHref=q.Href;r.Init()})}function k(){var p=$("ul[data-mc-toc]");var q;if(!i){q=m()}p.each(function(){var r=this;var s=new MadCap.WebHelp.TocPane("Toc",b,this,true);s._TocType=q.TocType;s._TocPath=q.TocType=="Toc"?q.TocPath:q.BrowseSequencesPath;s._TocHref=q.Href;s.Init(function(){if(MadCap.Dom.GetAttributeBool(r,"data-mc-top-nav-menu",false)){$(window).trigger("resize")}n();var t=jQuery.Event("loaded");$(r).trigger(t)})})}function l(){var p=$("div.miniToc[data-mc-toc]");var q;if(!i&&p.length>0){q=m();b.FindNodeInToc("Toc",q.TocPath,q.Href,function(w){if(w){var v="";var s=b.GetTocEntryHref(w,q.TocType,false,true);if(MadCap.Topic.IsEmbeddedTopic()){s=decodeURIComponent(s)}var r=b.GetTocData(new MadCap.Utilities.Url(s));var u=q[q.TocType+"Path"]!=r[q.TocType+"Path"];if(u){var z=w.toc.entries[w.i].title;var x=q[q.TocType+"Path"].split("|");for(var t=0;t<x.length;t++){var y=x[t];if(y==z||v){v+=(t==x.length-1)?y:(y+"|")}}q[q.TocType+"Path"]=v}}e(q)},null,false);return}e(q)}function e(q){var p=$("div.miniToc[data-mc-toc]");p.each(function(){var r=new MadCap.WebHelp.MiniToc("Toc",b,this);r._TocType=q.TocType;r._TocPath=q.TocType=="Toc"?q.TocPath:q.BrowseSequencesPath;r._TocHref=q.Href;r.Init()})}function m(){var t=b.GetMasterHelpSystem();var p=t.GetContentPath();var r=new MadCap.Utilities.Url(document.location.href);if(r.IsFolder){var s=new MadCap.Utilities.Url(t.DefaultStartTopic).Extension;r=r.AddFile("default."+s)}var q=r.ToFolder().CombinePath(p);var u=r.ToRelative(q);return b.GetTocData(new MadCap.Utilities.Url(u.FullPath))}function d(){if(b&&!MadCap.Utilities.HasRuntimeFileType("TriPane")&&!MadCap.Utilities.IsMicroContentTopic()){n();if(b.ShowMadCapBacklink){var p=c();a.append(p)}$(window).on("mc_changeMedium",function(){setTimeout(function(){a.removeClass();n();$(window).trigger("resize.zf")},65)})}}function n(){if(a.length===0){return}var p=a.outerHeight(true)-a.height();if(f){p+=(a.offset().top+parseInt($(".row.outer-row").css("padding-bottom")))}var q="calc(100vh - "+p+"px)";if(f||a.is("body")){a.css("min-height",q)}if(!g){if(f&&!h){a.addClass("height-container-sidenav")}else{a.addClass("height-container-no-footer")}}a.addClass("height-container")}function c(){var q=$('<div class="backlink-container"/>');var p=$('<a href="https://www.madcapsoftware.com/" rel="nofollow" target="_blank" id="mc-backlink">Powered by MadCap<sup>&reg</sup> Software</a>');q.append(p);if(!f||g){return q}var r=h?"backlink-container-topnav":"backlink-container-sidenav";q.addClass(r);return q}})();/*
 * Copyright MadCap Software
 * http://www.madcapsoftware.com/
 * Unlicensed use is strictly prohibited
 *
 * v16.2.7685.28170
 */
var _HelpSystem=null;var _CommunityLoaded=false;var _TocPane=null;var _IndexPane=null;var _GlossaryPane=null;var _BrowseSequencesPane=null;var isTriPane=false;var isSkinPreview;var $lastActiveTab=null;(function(){isTriPane=MadCap.Utilities.HasRuntimeFileType("TriPane");isSkinPreview=MadCap.Utilities.HasRuntimeFileType("SkinPreview");if(!isTriPane){return}MadCap.TriPane=MadCap.CreateNamespace("TriPane");$.extend(MadCap.TriPane,{AdjustTabs:AdjustTabs,ShowPane:ShowPane,LoadFile:LoadFile,SetActivePane:SetActivePane,LoadPane:LoadPane});$.extend(MadCap.SkinHelper,{ApplySkin:ApplySkin,OnLayout:OnLayout,SwitchPanePosition:SwitchPanePosition,OnHelpSystemLoad:OnHelpSystemLoad});$(document).ready(function(){OnDocumentReady()})})();function OnHelpSystemLoad(a){_HelpSystem=a;if(_HelpSystem.DefaultSkin!=null&&!MadCap.String.IsNullOrEmpty(_HelpSystem.DefaultSkin.Tabs)){LoadDefaultPane()}if(!_HelpSystem.IsResponsive&&_HelpSystem.IsTabletLayout()){GoHome()}MadCap.SkinHelper.SetSize(_HelpSystem.DefaultSkin)}function OnDocumentReady(){var a=$("title");a.attr("data-title",document.title);$lastActiveTab=$($(document).find(".tab")[0]);$(".print-button").on("click",function(b){if(!isSkinPreview){MadCap.Utilities.MessageBus.PostMessageRequest(frames.topic,"print")}});$(".expand-all-button").on("click",function(c){var b=$(this);if(b.hasClass("expand-all-button")){MadCap.Utilities.MessageBus.PostMessageRequest(frames.topic,"expand-all")}else{if(b.hasClass("collapse-all-button")){MadCap.Utilities.MessageBus.PostMessageRequest(frames.topic,"collapse-all")}}MadCap.Utilities.ToggleButtonState(this)});$(".remove-highlight-button").on("click",function(b){MadCap.Utilities.MessageBus.PostMessageRequest(frames.topic,"remove-highlight")});$(".tabs .tabs-nav li").on("click",NavTabs_Click);$("#home").on("click",GoHome);$("#navigationResizeBar").on("mousedown",NavigationResizeBar_MouseDown);$("#show-hide-navigation").on("click",ShowHideNavigation_Click);AdjustTabs(parseInt($("#navigation").css("width")));$("#topic").on("load",OnTopicLoad)}function OnTopicLoad(){MadCap.Utilities.MessageBus.PostMessageRequest(frames.topic,"get-title",null,function(b){var a=$("title");var c=a.attr("data-title");var d=c;if(!MadCap.String.IsNullOrEmpty(c)){d+=" - "}document.title=d+b[0]});_TopicID=null;MadCap.FeedbackHelper.UpdateRating();MadCap.FeedbackHelper.UpdateCommentsInTopic()}function LoadTopicContent(h){var e=$("#topicContent");if(e.length==0){var l=$("#topic").parent();l.append("<div id='topicContent'></div>");e=$("#topicContent")}else{e.empty()}e.append(h[2]);var k=$(h[1]);var o=[],g=[],p=[];var q=new MadCap.Utilities.Url(h[0]);var j=new MadCap.Utilities.Url(document.location.href);var m=j.ToFolder().ToRelative(q);$.each(k,function(r,s){if(!MadCap.String.IsNullOrEmpty(s.localName)){var t=s.localName.toLowerCase();if(t=="script"){var u=new MadCap.Utilities.Url($(s).attr("src"));if(!u.IsAbsolute){u=u.ToRelative(m)}o.push(u.FullPath)}else{if(t=="link"){p.push(s)}}}});var n=q.ToFolder().ToRelative(j.PlainPath);FixLinks(p,n,"href");$.each(p,function(s,t){if($(t).attr("mc-topic-css")){var r=$(t).attr("href");r=r.replace(".css","-topic.css");g.push(r)}else{g.push($(t).attr("href"))}});MadCap.Utilities.LoadStylesheets(g,$('link[href*="Styles.css"]')[0]);MadCap.Utilities.LoadScripts(o,function(){},function(){},e);var i=new MadCap.Utilities.Url(document.location.href);m=q.ToFolder().ToRelative(i.PlainPath);var c=e.find('a[href][href!="javascript:void(0);"]');c=c.not('[class*="MCPopupThumbnailLink"]').not('[class*="MCTopicPopup"]');var f=e.find('[class*="MCTopicPopup"]');var d=e.find('a[class="MCPopupThumbnailLink"]');var b=e.find("img[src]");var a=e.find("area[href]");FixLinks(c,m,"href","#");FixLinks(f,m,"href");FixLinks(b,m,"src");FixLinks(d,m,"href");FixLinks(a,m,"href","#");$(".MCWebHelpFramesetLink",e).hide()}function FixLinks(b,d,a,c){$.each(b,function(g,h){var e=$(h);var f=new MadCap.Utilities.Url(e.attr(a));if(!f.IsAbsolute){var i=MadCap.Utilities.FixLink(f,d,c,_HelpSystem.ContentFolder);e.attr(a,MadCap.Utilities.EncodeHtml(i))}})}function AdjustTabs(d){var c=$(".tabs-nav li");if(CalculateTabsWidth()===0){return}$.each(c,function(e,f){var g=$(f);if(g.hasClass("tab-collapsed")){g.removeClass("tab-collapsed")}});if(d<CalculateTabsWidth()+4){for(var a=c.length-1;a>=0;a--){var b=$(c[a]);b.addClass("tab-collapsed");if(d>CalculateTabsWidth()+18){break}}}}function CalculateTabsWidth(){var b=0;var a=$(".tabs-nav li");a.each(function(c,d){var e=$(d);if(e.is(":visible")){b+=parseInt(e.css("width"))}});return b}function LoadDefaultPane(){var a=_HelpSystem.DefaultSkin.DefaultTab;if(a=="TOC"){LoadPane("Toc")}else{LoadPane(a)}}function LoadPane(a){var b=null;if(a=="Toc"){b=LoadToc()}else{if(a=="Index"){b=LoadIndex()}else{if(a=="Glossary"){b=LoadGlossary()}else{if(a=="BrowseSequences"){b=LoadBrowseSequences()}else{if(a=="Community"){b=LoadCommunity()}}}}}if(b||(b&&_HelpSystem.IsResponsive&&!_HelpSystem.IsTabletLayout())){SetActivePane(a,b)}}function SetActivePane(f,e){var a=$(".tabs-nav-active",e);var d=$("#"+f+"Tab");var b=a.closest(".tab");var c=d.closest(".tab");a.removeClass("tabs-nav-active");$(".tabs-nav li").addClass("tabs-nav-inactive").attr("aria-expanded",false);if(b!=null){b.removeClass("active")}d.removeClass("tabs-nav-inactive");d.addClass("tabs-nav-active").attr("aria-expanded",true);if(c!=null){c.addClass("active")}if(_HelpSystem.IsResponsive&&f!="Search"){$lastActiveTab=$(".tab.active")}else{$lastActiveTab=null}}function LoadToc(){if(_TocPane!=null){return}var a=$("#toc");if(!a.length){return}a.addClass("loading");var b=$('<ul class="tree" />');a.append(b);_TocPane=new MadCap.WebHelp.TocPane("Toc",_HelpSystem,b[0],true);_TocPane.Init(function(){a.removeClass("loading")});return a.parent()}function LoadIndex(){if(_IndexPane!=null){return}var a=$("#index");a.addClass("loading");_IndexPane=new MadCap.WebHelp.IndexPane(_HelpSystem);_IndexPane.Init($("#index .index-wrapper")[0],function(){a.removeClass("loading")});return a.parent()}function LoadGlossary(){if(_GlossaryPane!=null){return}var a=$("#glossary");a.addClass("loading");_GlossaryPane=new MadCap.WebHelp.GlossaryPane(_HelpSystem);_GlossaryPane.Init(a[0],function(){a.removeClass("loading")});return a.parent()}function LoadBrowseSequences(){if(_BrowseSequencesPane!=null){return}var a=$("#browseSequences");if(!a.length){return}a.addClass("loading");var b=$('<ul class="tree" />');a.append(b);_BrowseSequencesPane=new MadCap.WebHelp.TocPane("BrowseSequences",_HelpSystem,b[0],true);_BrowseSequencesPane.Init(function(){a.removeClass("loading")});return a.parent()}function OnLayout(f,d){if(_HelpSystem&&_HelpSystem.IsResponsive){var e=_HelpSystem.IsTabletLayout();var g=_HelpSystem.IsTabletLayout(f);if(!e){$("#navigation").removeAttr("role");$("body").removeClass("active");$("body").addClass("web");$("#sidebarButton").attr("aria-expanded","false");if(g){GoHome()}if($lastActiveTab){var b=$($lastActiveTab);if(!b.hasClass("active")){var a=b.find("li");var c=$(a[0]);c.removeClass("tabs-nav-inactive");c.addClass("tabs-nav-active").attr("aria-expanded","true");b.addClass("active")}}else{if(!$lastActiveTab&&$(document).find(".tab.active").length==0){$lastActiveTab=$($(document).find(".tab")[0]);SetActivePane("Toc",$lastActiveTab)}}}else{if($("#navigation").attr("role")!=="undefined"){$("#navigation").attr("role","complementary")}if(!g||d){var b=$(".tab.active");$lastActiveTab=b.length&&b.find("li").text()!="SearchTab"?$(".tab.active"):$lastActiveTab;$(".tab .tabs-nav-active").removeClass("tabs-nav-active");$(".tabs-nav li").addClass("tabs-nav-inactive").attr("aria-expanded","false");$(".tab.active").removeClass("active")}$("body").removeClass("web")}if((e&&!g)||(!e&&g)){RestorePanes()}}AdjustTabs(parseInt($("#navigation").css("width")))}function LoadCommunity(){if(_CommunityLoaded){return}_CommunityLoaded=true;MadCap.FeedbackHelper.SetCommunitySource($("#community-frame-html5"));return $comFrame.parent()}var currentSelection=null;function NavTabs_Click(d){var h=$(this).attr("id");var g=h.substring(0,h.length-"Tab".length);currentSelection=g;SetActivePane(g,$(this).closest(".tabs"));if(_HelpSystem.IsTabletLayout()&&_HelpSystem.IsResponsive){var j=$(document).find(".tab");for(var f=0;f<j.length;f++){var b=$(j[f]);if(!b.hasClass("active")){b.hide()}else{b.show()}}var a=$("#search-sidebar");var c=g.toLowerCase();a.removeClass("index").removeClass("glossary");if(c=="index"||c=="glossary"){a.addClass(c)}}LoadPane(g)}function ShowPane(a){$("#topic").css("display",a=="topic"?"block":"none");$("#topicContent").css("display",a=="topic"?"block":"none");$("#pulse").css("display",a=="pulse"?"block":"none");$("#searchPane").css("display",a=="search"?"block":"none")}function NavigationResizeBar_MouseDown(a){MadCap.DEBUG.Log.AddLine("nav resizeBar : mousedown");if($(a.target).attr("id")=="show-hide-navigation"){return}if($(this).hasClass("nav-closed")){return}var b=document.createElement("div");b.setAttribute("id","mousemove-sheet");document.body.appendChild(b);$(document).mousemove(NavigationResizeBar_MouseMove);$(document).mouseup(NavigationResizeBar_MouseUp);$(document).bind("selectstart",NavigationResizeBar_SelectStart);a.preventDefault()}function NavigationResizeBar_SelectStart(a){return false}function NavigationResizeBar_MouseMove(a){MadCap.DEBUG.Log.AddLine("nav resizeBar : mousemove : "+a.pageX);var b=$(document.documentElement).hasClass("left-layout")?"left":$(document.documentElement).hasClass("right-layout")?"right":"left";var c=a.pageX;if(b=="right"){c=window.innerWidth-a.pageX}ResizeNavigation(c)}function NavigationResizeBar_MouseUp(a){MadCap.DEBUG.Log.AddLine("nav resizeBar : mouseup");$(document).off("mousemove",NavigationResizeBar_MouseMove);$(document).off("mouseup",NavigationResizeBar_MouseUp);$(document).off("selectstart",NavigationResizeBar_SelectStart);var b=$("#mousemove-sheet")[0];window.setTimeout(function(){b.parentNode.removeChild(b)},1)}function ShowHideNavigation_Click(b){var a=$("#navigation");if(!a.hasClass("nav-closed")){ShowHideNavigation("hide")}else{ShowHideNavigation("show")}}function LoadFile(c,b){$(document.documentElement).addClass("has-topic");ShowPane("topic");try{frames.topic.location.replace(c)}catch(a){document.getElementById("topic").src=MadCap.Utilities.EncodeHtml(c)}var d=_HelpSystem.GetTocData(b);_HelpSystem.SetBrowseSequencePath(d.BrowseSequencesPath,d.Href);if(_HelpSystem.SyncTOC){var e=isTriPane?window:parent;MadCap.Utilities.MessageBus.PostMessageRequest(e,"sync-toc",[d.TocType,d.TocType=="Toc"?d.TocPath:d.BrowseSequencesPath,d.Href.FullPath],null)}}function GoHome(){var c=$(document).find(".tab");for(var b=0;b<c.length;b++){var a=$(c[b]);a.show();a.removeClass("active")}$("#search-sidebar").removeClass("index").removeClass("glossary");$(".tabs-nav-active").removeClass("tabs-nav-active");$(".tabs-nav li").addClass("tabs-nav-inactive").attr("aria-expanded",false);$(".responsive-link-list").remove()}function ApplySkin(k){if(k==null){return}MadCap.SkinHelper.SetSize(k);if(!MadCap.String.IsNullOrEmpty(k.Tabs)){if(k.WebHelpOptions!=null&&k.WebHelpOptions.HideNavigationOnStartup!=null&&(MadCap.String.ToBool(k.WebHelpOptions.HideNavigationOnStartup,false))){ShowHideNavigation("hide")}if(k.HideNavOnStartup!=null){if(MadCap.String.ToBool(k.HideNavOnStartup,false)){ShowHideNavigation("hide");$("#contentBody").attr("data-mc-last-width","");$("#navigation").attr("data-mc-last-width","");$("#navigationResizeBar").attr("data-mc-last-width","")}else{ShowHideNavigation("show")}}if(MadCap.SkinHelper.GetPanePosition(k)=="Right"&&!isSkinPreview){$(document.documentElement).removeClass("left-layout").addClass("right-layout")}if(k.NavigationPaneWidth!=null){var j=MadCap.String.ToInt(k.NavigationPaneWidth,300);ResizeNavigation(j)}var n=k.Tabs.split(",");var d=["Toc","Index","Glossary","BrowseSequences","Community"];var c=$(".tabs");for(var g=0,h=d.length;g<h;g++){var l=d[g];var b=$("#"+l+"Tab");if(b.length==0){continue}if(l=="Toc"){l="TOC"}if($.inArray(l,n)>=0){b.css("display","");continue}b.css("display","none");var m=c.children(".tabs-nav").children("li").index(b);var a=c.children(".tabs-panels").children(":eq("+m+")");b.remove();a.remove()}var f=k.DefaultTab;if(f=="TOC"){f="Toc"}SetActivePane(f,c);LoadPane(f)}if(k.Toolbar!=null&&MadCap.String.IsNullOrEmpty(k.Toolbar.Buttons)){$(".buttons").remove()}if(isTriPane&&_HelpSystem&&_HelpSystem.DefaultSkin!=k){var e=$("a.homeLink").attr("href");e+=("?skinName="+k.SkinID);$("a.homeLink").attr("href",e)}MadCap.SkinHelper.ApplySkinClass(k,_HelpSystem);MadCap.SkinHelper.ApplyLogoUrl(k);MadCap.SkinHelper.SwitchPanePosition(k)}function ShowHideNavigation(g){var f=$(document.documentElement).hasClass("left-layout")?"left":$(document.documentElement).hasClass("right-layout")?"right":"left";var c=$("#navigation");var d=$("#navigationResizeBar");var b=$("#contentBody");var a=$("#show-hide-navigation");if(g=="show"){d.css(f,d.attr("data-mc-last-width"));var e=b.attr("data-mc-last-width");if(e==b.css("left")){e=c.innerWidth()+d.innerWidth()+1;b.attr("data-mc-last-width",e+"px")}else{b.css(f,e)}c.removeClass("nav-closed");d.removeClass("nav-closed");b.removeClass("nav-closed");a.attr("aria-expanded","true");if(_HelpSystem.IsResponsive){RestorePanes()}}else{if(g=="hide"){b.attr("data-mc-last-width",b.css(f));b.removeAttr("style");d.attr("data-mc-last-width",d.css(f));d.css(f,0);c.attr("data-mc-last-width",c.css("width"));c.addClass("nav-closed");d.addClass("nav-closed");b.addClass("nav-closed");a.attr("aria-expanded","false")}}}function ResizeNavigation(b){var a=$(document.documentElement).hasClass("left-layout")?"left":$(document.documentElement).hasClass("right-layout")?"right":"left";if(a=="left"){if(b<175||b>(window.innerWidth*0.85)){return}}else{if(a=="right"){if(b<(window.innerWidth*0.15)||b>(window.innerWidth-175)){return}}}AdjustTabs(b);$("#navigationResizeBar").css(a,b+"px");$("#navigation").css("width",b+"px");$("#contentBody").css(a,(b+5)+"px")}function RestorePanes(){var h=$(document.documentElement).hasClass("left-layout")?"left":$(document.documentElement).hasClass("right-layout")?"right":"left";var b=$("#navigation");var a=$("#contentBody");var c=$("#navigationResizeBar");var g=!b.attr("style")||!a.attr("style");var f=!b.attr("data-mc-last-width")||!a.attr("data-mc-last-width");if(g&&f){return}if(!_HelpSystem.IsTabletLayout()){var e=b.attr("data-mc-last-width");if(e){b.css("width",e);var d=a.attr("data-mc-last-width");if(d){a.css(h,d)}}}else{var e=b.css("width");if(e){b.attr("data-mc-last-width",e);b.removeAttr("style");var d=a.css(h);if(d){a.attr("data-mc-last-width",d)}a.removeAttr("style")}}}function SwitchPanePosition(b){var a=MadCap.SkinHelper.GetPanePosition(b);if(isTriPane){if(a=="Right"){$("html").removeClass("left-layout").addClass("right-layout")}else{$("html").removeClass("right-layout").addClass("left-layout")}}};