/*
* Copyright MadCap Software
* http://www.madcapsoftware.com/
* Unlicensed use is strictly prohibited
*
* v16.0.7426.25547
*/
window.MadCap={};MadCap.CreateNamespace=function(c){var d=c.split(".");var e=MadCap;for(var a=0,b=d.length;a1){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=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 de?1:0};a.Compare=function(g,h){var e=g.length;var f=h.length;for(var d=0;dc){return 1}}}if(ef){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.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.0.7426.25547
*/
(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;e0){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.0.7426.25547
*/
(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=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=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=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.StripInvalidCharacters=function(e){return e.replace(/(javascript:|data:|[<>])/gi,"")};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;f127||e[f].match(h)){e[f]=g}}return e.join("")};d.Navigate=function(e){document.location=d.StripInvalidCharacters(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;f1&&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(;ee){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=$("");var g=f.html(e.html().replace(/
/g,"\n")).text();f=$("
");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=$("");var q=$(g).attr("target");for(var j=0,k=m.length;j").appendTo(e);var c=$("").appendTo(d);var f=$("").appendTo(c);var b=$("").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,C,K,t,k,F,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(!F){F=""}var g=$("");var h=g.children("ul");var J=$(k).attr("target");var L=$("#mc-backlink").length>0;for(var s=0,v=w.length;s
").appendTo(h):$("").appendTo(h);var b=$("a",f);b.attr("target",J);if(J=="_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",F+o.Link);f.click(a.Item_Click)}g.appendTo(C);var j=g.closest(".popup-container");if(j.length==0){j=$(window)}if(q){j=$(window)}var B=j.width();var A=j.height();var I=j.scrollTop();var H=j.scrollLeft();var E=g[0].offsetWidth;var D=g[0].offsetHeight;var z=0;var y=0;if(typeof(j[0].classList)!="undefined"&&j[0].classList.contains("topicToolbarProxy")){if(typeof(j.offset())!="undefined"&&!L){z=j.offset().top;y=j.offset().left}}if(m){K=Math.min(K,I+z+A-D);K=Math.max(K,I+z)}if(l&&!L){t=Math.min(t,H+y+B-E);t=Math.max(t,H+y)}if((K==0&&t==0)||(isNaN(K)&&isNaN(t))||MadCap.IsIBooks()){if(l){t=$(k).offset().left+$(k).width()}if(m){K=$(k).offset().top+$(k).height()}}if(MadCap.IsIBooks()){g.css("display","inline-block");if(l){t=t-k.offsetWidth}if(m){K=K-(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(M){var i=M.keyCode||M.which;if(i==27){g.remove();$triggerObject.focus();n()}});var c=g.find("a").first();var e=g.find("a").last();c.keydown(function(M){var i=M.keyCode||M.which;if(event.shiftKey&&i==9){M.preventDefault();e.focus()}});e.keydown(function(M){var i=M.keyCode||M.which;if(!event.shiftKey&&i==9){M.preventDefault();c.focus()}});g.css("top",K);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 G=function(i){a.RemoveLinkListPopups();j.off("click",G);n()};j.click(G)}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=$("");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.0.7426.25547
*/
(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="";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('').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.length1||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(''),aj.viewport=ao.parent(),aj.loader=c(''),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(''),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||d0){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;d0&&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+='"}aj.pagerEl.html(d)},aq=function(){aj.settings.pagerCustom?aj.pagerEl=c(aj.settings.pagerCustom):(aj.pagerEl=c(''),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(''+aj.settings.nextText+""),aj.controls.prev=c(''+aj.settings.prevText+""),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(''),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('"),aj.controls.stop=c('"),aj.controls.autoEl=c(''),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('")})},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;M0?j:null,i)}}function d(n,f,p,g,o){var k={Handled:false,FireResponse:false};for(var l=0,m=a._MessageHandlerFuncs.length;l1){k=l.QueryMap.GetItem("returnUrl")}j[j.length]=k;f=true}else{if(g=="get-parent-window-width"){j[j.length]=window.innerWidth;f=true}else{if(g=="set-topic-content"){LoadTopicContent(e);f=true}else{if(g=="hash-changed"){var h=e[0];h=h.substring(1);history.pushState(null,null,document.location.pathname+document.location.hash+"$"+h);f=true}else{if(g=="get-csh-id"){j[j.length]=MadCap.Default.LoadVarMap().GetItem("cshid");f=true}}}}}}}}}}return f}})();/*
* Copyright MadCap Software
* http://www.madcapsoftware.com/
* Unlicensed use is strictly prohibited
*
* v16.0.7426.25547
*/
(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.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;l0){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.0.7426.25547
*/
(function(){MadCap.Default=MadCap.CreateNamespace("Default");MadCap.Default.LoadVarMap=r;if(!MadCap.Utilities.HasRuntimeFileType("Default")){return}e();var i=MadCap.Utilities.HasRuntimeFileType("TriPane");var g=i||MadCap.Utilities.IsRuntimeFileType("Default");var h=MadCap.Utilities.HasRuntimeFileType("SkinPreview");var f=MadCap.Utilities.HasRuntimeFileType("Central");function y(z){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);d();var B=$(document.documentElement).attr("data-mc-path-to-help-system");var A="Data/HelpSystem.xml";if(B){A=B+A}if(MadCap.WebHelp&&MadCap.WebHelp.HelpSystem){MadCap.WebHelp.HelpSystem.LoadHelpSystem(A).done(function(D){a=D;var C=MadCap.Utilities.Url.GetDocumentUrl();if(document.location.hash.length>1){m()}else{l(a.DefaultStartTopic+C.Query)}if(C.QueryMap.GetItem("cshid")!=null){k()}n();u();t();if(!a.IsResponsive){$("body").addClass("web")}s(z)})}else{if(f&&h){v()}}}function d(){$("input, textarea").placeholder();$("a.logo, a.homeLink, a.GenConceptText, a.GlossaryPageLink").on("click",MadCap.Utilities.Url.OnNavigateTopic)}function v(){var z=$(".navigation").is(":visible");var A=!i&&!z&&!$(".sidenav-container").is(":visible");w(document.getElementsByClassName("central-dropdown"),z&&!i,A);w(document.getElementsByClassName("central-dropdown-proxy"),false,false);if(a&&a.IsCentralHosted){$(".central-dropdown-content-settings").attr("href",c(a.CentralSettingsLink));$(".central-dropdown-content-logout").attr("href",c(a.CentralLogoutLink))}}function c(z){var A=new MadCap.Utilities.Url(z);var B;if(!A.IsAbsolute){B=new MadCap.Utilities.Url(document.location.href).LocalPath}else{B=document.location.href}return z+"?returnUrl="+encodeURIComponent(B)}function w(A,E,G){for(var B=0,D=A.length;B1)){z.on("click",function(A){var B=[];var C=new MadCap.Utilities.Url(document.location.href);$.each(a.GetSkins(),function(D,F){var E={Title:F.Name,Link:C.PlainPath+"?skinName="+F.SkinID+C.Fragment};B[B.length]=E});MadCap.TextEffects.CreateToolbarDropdown(B,A.currentTarget,"select-skin-drop-down");A.preventDefault();A.stopPropagation()})}else{z.hide()}}function t(){var z=$(".select-language-button");if(h){z.on("click",function(A){MadCap.TextEffects.CreateDummyToolbarDropdown(z,"select-language-drop-down","Language");A.preventDefault();A.stopPropagation()});return}if(!a.IsMultilingual){z.hide();return}require([a.GetPath()+"../languages.js"],function(A){var B=A.data;if(B.length>1){z.on("click",function(C){var E=[];var J=a.GetPath();var H=a.GetCurrentTopicPath();var K=new MadCap.Utilities.Url(document.location.href);for(var D=0;D1){m()}else{if(a){l(a.DefaultStartTopic)}}}function m(){if(document.location.hash.length==0){return}var z=MadCap.Utilities.Url.GetDocumentUrl();var B=MadCap.Utilities.Url.CurrentHash();var C=MadCap.Utilities.Url.StripInvalidCharacters(B);if(MadCap.String.IsNullOrEmpty(C)){document.location.hash="";return}var A=C.substring(1);var G=decodeURIComponent(A);G=MadCap.Utilities.Url.StripInvalidCharacters(G);if(MadCap.String.Contains(G,"cshid=")||MadCap.String.Contains(G,"searchQuery=")||MadCap.String.Contains(G,"skinName=")){k();return}else{if(MadCap.String.StartsWith(A,MadCap.SearchHelper.SearchPrefixTri)){var E=A.substring(MadCap.SearchHelper.SearchPrefixTri.length);MadCap.SearchHelper.DoSearchOrRedirect(E,null);return}else{if(MadCap.String.StartsWith(G,"communitysearch-")){var F=G.substring("communitysearch-".length);MadCap.SearchHelper.SetSelectedSearchQuery(F);MadCap.SearchHelper.DoSearch(F,null,1,false,true,-1,0);return}else{if(MadCap.String.StartsWith(G,"pulse-")){var D=G.substring("pulse-".length);MadCap.FeedbackHelper.LoadStream(D);return}}}}q(G)}function q(B){var C=new MadCap.Utilities.Url(B);if(a){if(C.IsAbsolute){if(a.PreventExternalUrls){B=a.DefaultStartTopic}else{var z=C.Query.indexOf("?");var A=C.Query.lastIndexOf("?");var D="";if(z!=A){D=C.Query.substr(z,A)}if(C.FullPath.indexOf("http://")!=0){B=a.ContentFolder+C.ToNoQuery().FullPath+(MadCap.String.IsNullOrEmpty(D)?"":D)}else{B=C.ToNoQuery().FullPath+(MadCap.String.IsNullOrEmpty(D)?"":D)}}}else{if(C.QueryMap.GetItem("tocpath")){B=a.ContentFolder+C.PlainPath+C.Fragment+"?";C.QueryMap.ForEach(function(E,F){B+=E+"="+encodeURIComponent(F)+"&"});B=B.slice(0,-1)}else{B=a.ContentFolder+C.ToNoQuery().FullPath}}}l(B)}function l(A){if(!g){return}var z=new MadCap.Utilities.Url(decodeURIComponent(document.location.href));if(!i){var B=new MadCap.Utilities.Url(z.PlainPath);if(!B.IsFolder){B=B.ToFolder()}var C=B.CombinePath(A);MadCap.Utilities.Url.Navigate(C.FullPath)}else{MadCap.TriPane.LoadFile(A,z)}}function n(){o();p()}function o(){var A=MadCap.Utilities.Url.GetDocumentUrl();var z=A.QueryMap.GetItem("q");if(z){MadCap.SearchHelper.DoSearchOrRedirect(A.Query,null)}}function p(){var A=MadCap.Utilities.Url.GetDocumentUrl();var z=A.QueryMap.GetItem("skinName");MadCap.SkinHelper.ApplySkinByName(z,a)}function r(){var z=new MadCap.Utilities.Url(document.location.href);var A=new MadCap.Utilities.Dictionary(true);$.each([z.QueryMap,z.HashMap],function(B,C){C.ForEach(function(D,E){A.Add(D,E)})});return A}function k(){var E=r();var B=E.GetItem("searchQuery".toLowerCase());var C=E.GetItem("skinName".toLowerCase());if(B!=null){MadCap.SearchHelper.SetSelectedSearchQuery(decodeURIComponent(B));var A=MadCap.String.ToBool(E.GetItem("firstPick".toLowerCase()),false);if(A){MadCap.SearchHelper.SearchPane.Search(B,{searchContent:true}).then(function(G){var F=G.content;if(F.length>=1){q(F[0].Link.replace(/^(Content)/,""))}})}else{MadCap.SearchHelper.DoSearchOrRedirect(B,C)}}else{var z=E.GetItem("cshid");if(z!=null){a.LookupCSHID(z,function(G){var M=r();var F=M.GetItem("cshid");var I=M.GetItem("skinName".toLowerCase());if(G.Found){var J=G.Topic;var K=new MadCap.Utilities.Url(J);var L=MadCap.Utilities.Url.GetDocumentUrl();var H="?cshid="+F;H+=I?"&skinName="+I:"";J=new MadCap.Utilities.Url(K.PlainPath+H+K.Fragment).FullPath;l(J)}else{l(a.DefaultStartTopic)}MadCap.SkinHelper.ApplySkinByName(I||G.Skin,a)});return}else{var D=MadCap.Utilities.Url.GetDocumentUrl();l(a.DefaultStartTopic+D.Fragment)}}MadCap.SkinHelper.ApplySkinByName(C,a)}MadCap.Utilities.Url.SanitizeHash();$(y);$(window).on("resize",s);if(i||!h){$(window).on("hashchange",x)}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();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 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=$("
").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=$("");var d=$("");var c=$("");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
').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=$("");if(c==2){a.html("»");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 getLanguageString(b,c,a,"AltText")}function getAccessibilityLabel(b,c,a){return getLanguageString(b,c,a,"Accessibility Label")}function getLanguageString(b,e,a,g){if(MadCap.Utilities.HasRuntimeFileType("SkinPreview")){return""}var d;if(helpSystem){var f;var c=b+"/"+g;if(e&&helpSystem.Language.component[a]){f=helpSystem.Language.component[a][c]}else{if(helpSystem.Language.skin["default"]){f=helpSystem.Language.skin["default"][c]}else{return}}if(f){return f}d="Invalid element property: "+c}else{d="Help System Not Loaded"}console.error(d)}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.0.7426.25547
*/
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;ac0&&W[0].getElementsByTagName("Url").length>0){var aa=ab.getElementsByTagName("Subsystems")[0].getElementsByTagName("Url");for(var O=0;O0)};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(""+M+"
");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;L0){V.n[S].previous=V.n[S-1]}}}V=g(V)}var U=[];var R=false;for(var S=0;S0){L=L.n[L.n.length-1]}}else{if(typeof K.parent!="undefined"){L=K.parent}}return L}function i(P,M){var Q="";var O=-1;var K=null;if(P.n&&P.n.length>0){Q=P.toc.entries[P.i].title;if(M){Q=encodeURIComponent(Q)}O=0}else{O=P.parent.n.indexOf(P)+1}if(Q.length>0){Q+="|"}Q+=("_____"+O);for(var L=P.parent;L&&typeof L.i!=="undefined";L=L.parent){if(Q==null){Q=""}if(Q.length>0){Q="|"+Q}var N=L.toc.entries[L.i];if(N){var R=N.title;if(M){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;O0){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+11||!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;S0&&L){MadCap.Utilities.AsyncForeach(B,function(ab,aa){ab.FindNode(O,N,K,function(ac){if(typeof ac!=="undefined"){M(ac);return}aa()})},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;OP?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;RO?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;SU.toLowerCase()){P.c+=K.numchunks;K.terms.splice(R,0,P);S++}else{R++}}}for(;SV.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(;T0){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=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=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");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.0.7426.25547
*/
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;d0?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.0.7426.25547
*/
(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.0.7426.25547
*/
(function(){MadCap.WebHelp=MadCap.CreateNamespace("WebHelp");var c=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=$("");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.addClass(this._TreeNodeClass);var e=$('');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=$("");f.addClass(this._TreeNodeClass);f.addClass(this._TreeNodeLeafClass);h.append(f);this.LoadTocNode(m,f,null)}}for(var j=0;j");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=$("");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=$("
");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=$("");if(typeof f.w!=="undefined"&&f.w==1){k.append("")}var p=$('');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=$("");j.append(o);if(h._IsSideNavMenu&&x!=null){MadCap.Accessibility.makeAccessibleButton(o);var n=$("").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=$("");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");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.0.7426.25547
*/
(function(){MadCap.WebHelp=MadCap.CreateNamespace("WebHelp");var b=window.external&&window.external.attached&&window.external.attached();MadCap.WebHelp.Breadcrumbs=function(g,d,f,c){var e=this;this._Init=false;this._RuntimeFileType=g;this._Root=f;this._$Root=$(f);this._CanSync=c;this._HelpSystem=d;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 c=this._$Root;this._MaxLevel=c.attr("data-mc-breadcrumbs-count")||"3";this._Divider=c.attr("data-mc-breadcrumbs-divider")||" > ";this._LinkClass="MCBreadcrumbsLink";this._SelfClass="MCBreadcrumbsSelf";this._DividerClass="MCBreadcrumbsDivider";var d=this;c.attr("data-mc-chunk","Data/"+this._RuntimeFileType+".xml");this.CreateToc(this._Root,function(){d._Init=true})};a.prototype.CreateToc=function(e,d){var c=true;if(this._RuntimeFileType=="Toc"){c=this._HelpSystem.HasToc}else{c=this._HelpSystem.HasBrowseSequences}if(!c){if(d!=null){d()}return}var f=this;f._HelpSystem.LoadToc([this._RuntimeFileType,null]).then(function(j){var g=$(e);var k=[];for(var h=0;h=0;j--){if((this._MaxLevel=n){q.unshift(r)}if(!r.parent){break}r=r.parent}}for(var l=0;l");e.text(o.title);e.addClass(this._SelfClass);g.append(e)}else{if(p.n){var d=$("");var f=this._HelpSystem.TopNavTocPath;var h=this._HelpSystem.GetTocEntryHref(p,"Toc",false,f);var c;if(h){c=$("");c.attr("href",MadCap.Utilities.EncodeHtml(h));c.addClass(this._LinkClass)}else{c=$("");c.addClass(this._SelfClass)}c.text(o.title);g.append(c);d.text(this._Divider);d.addClass(this._DividerClass);g.append(d)}}}}}}})();/*
* Copyright MadCap Software
* http://www.madcapsoftware.com/
* Unlicensed use is strictly prohibited
*
* v16.0.7426.25547
*/
(function(){MadCap.WebHelp=MadCap.CreateNamespace("WebHelp");var b=window.external&&window.external.attached&&window.external.attached();MadCap.WebHelp.MiniToc=function(f,c,e){var d=this;this._Init=false;this._RuntimeFileType=f;this._Root=e;this._$Root=$(e);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.MiniToc;a.prototype.Init=function(){var c=this._$Root;this._Depth=c.attr("data-mc-depth")||"3";this._LinkClass="MiniTOC";var d=this;c.attr("data-mc-chunk","Data/"+this._RuntimeFileType+".xml");this.CreateToc(this._Root,function(){d._Init=true})};a.prototype.CreateToc=function(e,d){var c=true;if(this._RuntimeFileType=="Toc"){c=this._HelpSystem.HasToc}else{c=this._HelpSystem.HasBrowseSequences}if(!c){if(d!=null){d()}return}var f=this;f._HelpSystem.LoadToc([this._RuntimeFileType,null]).then(function(j){var g=$(e);var k=[];for(var h=0;h");var c=$("");c.addClass(i);c.attr("href",MadCap.Utilities.EncodeHtml(h));c.text(k.title);d.append(c);d.addClass(i+"_0");g.append(d)}}}f++;this.LoadTocMiniTocChildren(j,g,f)}})();/*
* Copyright MadCap Software
* http://www.madcapsoftware.com/
* Unlicensed use is strictly prohibited
*
* v16.0.7426.25547
*/
(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");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=$("");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=$("");d.append(b);var g=this;this.LoadTocNode(e.parent,b,function(){var h=$("");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=$("");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");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=$("");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");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")}})();/*
* Copyright MadCap Software
* http://www.madcapsoftware.com/
* Unlicensed use is strictly prohibited
*
* v16.0.7426.25547
*/
(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=$("");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=$("");k.addClass("IndexEntry tree-node tree-node-collapsed");var v=p.t;var s=p.r=="See";var t=p.r=="SeeAlso";var m=$("");m.addClass("IndexTerm");var j=$("").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=$("").text(v).attr("href","#");j.append(h);for(var q=0;q").addClass("seeAlsoLink").text(u).attr("href","#");j.append(l);p.seeAlsoLinks.push(u);if(q").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=$("");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");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.0.7426.25547
*/
(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=$("");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=$("");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");f.addClass("GlossaryPageEntry tree-node tree-node-collapsed");f.attr("data-chunk",n.c);var h=$("");var j=$('').text(n.t);var k=$('');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.0.7426.25547
*/
(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;o0){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=="<"||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-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;o0){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=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;G1){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=$("#"+D);if(C.length==0){C=$("[name = '"+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){return B.parents("table").length>0?B.offset().top:B[0].offsetTop}function t(D){var B=o?$("#contentBodyInner"):$(".sidenav-container").is(":visible")?$(".body-container"):$("html, body");var C=$(".title-bar.sticky.is-stuck").length>0||$(".sidenav-container").is(":visible")?D-$(".title-bar").innerHeight():D;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=$("").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=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=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.offsetTopn){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;m4){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('');c._El=$(".login-dialog")}var b=$("#pulse-login-frame");if(b.length==0){c._El.addClass("pulse");c._El.empty();c._El.append('');c._El.append('');$(".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-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(is?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").append(k[o]).attr("id",m);var a=$('').append(b).attr("aria-labelledby","search-filters-label "+m);MadCap.Accessibility.initMenuDropdownAccessibility(a);$(".search-filter-content ul").append($("
").append(a));var d=$("");d.addClass("SearchFilterEntry tree-node tree-node-leaf");var c=$('');var e=$('');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(apage'+b+"");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="#"+_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(eMath.ceil(H/_HelpSystem.ResultsPerPage)){O.css("display","none")}if(ab>0){var ac=document.createElement("ul");ac.setAttribute("id","resultList");if(!R.content){ac.setAttribute("class","communitySearch")}if(R.glossary){var I=document.createElement("li");ac.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 Y=document.createTextNode(R.glossary.term);if(R.glossary.link){var L=document.createElement("a");$(L).attr("href",K+R.glossary.link);L.appendChild(Y);z.appendChild(L)}else{z.appendChild(Y)}v.appendChild(z);var t=R.glossary.definition||R.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(R.microContent){var l=$("").addClass("micro-content-container").insertAfter($("#results-heading"));var d=$("
").addClass("micro-content").appendTo(l);SetSkinPreviewStyle(d[0],"Search Micro Content Result");var g=$("
").addClass("micro-response").appendTo(d);SetSkinPreviewStyle(g[0],"Search Micro Content Response");$(R.microContent.html).appendTo(g);var b=$("