8889841c!function(t){"use strict";var e={init:function(){this.anchors(),this.clipboard(),this.initScrollSpy(),this.documentSearch()},anchors:function(){anchors.options={icon:"#"},anchors.add(".bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5"),t(".bd-content").children("h2, h3, h4, h5").wrapInner('')},clipboard:function(){t("figure.highlight, div.highlight").each(function(){t(this).before('
'),t(".btn-clipboard").tooltip().on("mouseleave",function(){t(this).tooltip("hide")})});var e=new ClipboardJS(".btn-clipboard",{target:function(t){return t.parentNode.nextElementSibling}});e.on("success",function(e){t(e.trigger).attr("title","Copied!").tooltip("_fixTitle").tooltip("show").attr("title","Copy to clipboard").tooltip("_fixTitle"),e.clearSelection()}),e.on("error",function(e){var i="Press "+(/mac/i.test(navigator.userAgent)?"⌘":"Ctrl-")+"C to copy";t(e.trigger).attr("title",i).tooltip("_fixTitle").tooltip("show").attr("title","Copy to clipboard").tooltip("_fixTitle")})},initScrollSpy:function(){t(".toc-nav").length<1||(t(".toc-nav .nav-item > a").addClass("nav-link"),t("body").scrollspy({target:".toc-nav",offset:200}))},documentSearch:function(){var e,i,n=t(".search-input");n.length<1||(n.on("keyup",function(n){var a,o,l=t(".bd-sidenav").find("li"),s=[],c=t(this).val().toUpperCase(),r=t(".search-result");if(40!==n.which&&38!==n.which){for(r.addClass("show"),a=0;a-1&&""!==c&&-1===h.href.indexOf("#")&&(s.push({link:h.href,text:d}),r.html(""))}for(a=0;a"+s[a].text+" ")}if(e=r.find("li"),13===n.which&&(window.location.href=i.find("a").attr("href")),40===n.which){if(i){i.removeClass("active");var p=i.next();p.length>0?(i=p.addClass("active"),o=p.text()):(i=e.eq(0).addClass("active"),o=e.eq(0).text())}else(i=e.eq(0)).addClass("active"),o=e.eq(0).text();""!==o&&t(this).val(o.replace(/[ {4}\t\n\r]/gm," ").replace(/\s+/g," "))}else 38===n.which&&(i?(i.removeClass("active"),(p=i.prev()).length>0?(i=p.addClass("active"),o=p.text()):(i=e.last().addClass("active"),o=e.last().text())):(i=e.last().addClass("active"),o=e.last().text()),""!==o&&t(this).val(o.replace(/[ {4}\t\n\r]/gm," ").replace(/\s+/g," ")))}),t(document).on("click",function(){t(".search-result").removeClass("show")}))}};t(document).ready(function(){e.init()})}(jQuery);