function ncPopupTips(f,d){var e=f?'':'',F=f?"tips-success":"tips-error",g='
'+e+'
'+d+"
",eb=$(g);$("body").append(eb);$("body").addClass("modal-open");typeof lazyLoadInstance!="undefined"&&lazyLoadInstance.update();setTimeout(function(){$("body").removeClass("modal-open");eb.removeClass("nice-tips-open");eb.addClass("nice-tips-close");setTimeout(function(){eb.removeClass("nice-tips-close");setTimeout(function(){eb.remove()},200)},400)},1200)}function ncPopup(f,d,e,F){var e=e?'style="'+e+'"':"",g="",eb,T,c;f=="big"?g="nice-tips-lg":f=="no-padding"?g="nice-tips-nopd":f=="cover"?g="nice-tips-cover nice-tips-nopd":f=="full"?g="nice-tips-xl":f=="scroll"?g="nice-tips-scroll":f=="middle"?g="nice-tips-md":f=="small"&&(g="nice-tips-sm");eb='\t
\t\t
\t\t
\t\t\t
\t\t\t\t'+d+'\t\t\t
\t\t\t
\t\t\t\t\t\t\t
\t\t
\t
\t';T=$(eb);$("body").append(T);$("body").addClass("modal-open");typeof lazyLoadInstance!="undefined"&&lazyLoadInstance.update();c=function(){$("body").removeClass("modal-open");$(T).removeClass("nice-tips-open");$(T).addClass("nice-tips-close");setTimeout(function(){$(T).removeClass("nice-tips-close");setTimeout(function(){T.remove()},200)},600)};$(T).on("click touchstart",".btn-close-tips, .nice-tips-overlay",function(f){f.preventDefault();c()});return typeof F=="object"&&Object.keys(F).forEach(function(f){$(T).on("click touchstart",f,function(d){var e=F[f](d,c)})}),T}function toggleDarkMode(){$("body").toggleClass("nice-dark-mode");$("body").hasClass("nice-dark-mode")?($(".logo-dark").removeClass("d-none"),$(".logo-dark").addClass("d-inline-block"),$(".logo-light").removeClass("d-inline-block"),$(".logo-light").addClass("d-none")):($(".logo-dark").removeClass("d-inline-block"),$(".logo-dark").addClass("d-none"),$(".logo-light").removeClass("d-none"),$(".logo-light").addClass("d-inline-block"))}function toggleSidebar(){$(".sidebar-close, .mobile-overlay").on("click",function(){$("body").removeClass("modal-open");$(".mobile-sidebar").removeClass("active");$(".mobile-overlay").removeClass("active")});$("#sidebarCollapse").on("click",function(){$("body").addClass("modal-open");$(".mobile-sidebar").addClass("active");$(".mobile-overlay").addClass("active");$(".collapse.in").toggleClass("in");$("a[aria-expanded=true]").attr("aria-expanded","false")})}function switchNightMode(){var f=document.cookie.replace(/(?:(?:^|.*;\s*)night\s*\=\s*([^;]*).*$)|^.*$/,"$1")||"0";f=="0"?(document.body.classList.add("nice-dark-mode"),document.cookie="night=1;path=/",console.log("夜间模式开启")):(document.body.classList.remove("nice-dark-mode"),document.cookie="night=0;path=/",console.log("夜间模式关闭"))}jQuery(document).ready(function(f){function d(f){var d=f.getBoundingClientRect();return d.top>=0&&d.left>=0&&d.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&d.right<=(window.innerWidth||document.documentElement.clientWidth)}var e,F,g,eb;if(toggleSidebar(),e=window.innerHeight,F=f("main").innerHeight(),F>e){g=f(".header").height();f(window).on("scroll",{TopPrev:0},function(){var d=f(window).scrollTop();d0&&f(".header").hasClass("fixed-header")?f(".header").addClass("visible-scroll-up"):f(".header").removeClass("visible-scroll-up fixed-header"):(f(".header").removeClass("visible-scroll-up"),d>g&&!f(".header").hasClass("fixed-header")&&f(".header").addClass("fixed-header"));this.TopPrev=d})}f(window).scroll(function(){var d=f(window),e=d.width();f(this).scrollTop()>200&&e>=1024?f("#scroll_to_top").filter(":hidden").fadeIn("fast"):f("#scroll_to_top").filter(":visible").fadeOut("fast")});f("#scroll_to_top").on("click",function(){return f("html, body").animate({scrollTop:0},"slow"),!1});f('a.js-scroll-trigger[href*="#"]:not([href="#"])').click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var d=f(this.hash);if(d=d.length?d:f("[name="+this.hash.slice(1)+"]"),d.length)return f("html, body").animate({scrollTop:d.offset().top-60},1e3,"easeInOutExpo"),!1}});f('[data-toggle="tooltip"]').tooltip();f('[data-toggle="tooltip"]').on("shown.bs.tooltip",function(){f(".tooltip").addClass("animated fadeIn")});f(".sidebar").theiaStickySidebar({additionalMarginTop:20,additionalMarginBottom:20});f(".sidebar-author").theiaStickySidebar({additionalMarginTop:100,additionalMarginBottom:20});f(".main-menu li").hasClass("menu-item-has-children")&&f(".main-menu .menu-item-has-children").prepend('');f(".mobile-sidebar-menu .menu-item-has-children > a").append('');f(".dropdown-sub-menu").on("click",function(){f(this).parents("li").children(".sub-menu").slideToggle();f(this).parents("li").children(".dropdown-sub-menu").toggleClass("current")});eb=f(".list-banner .owl-carousel");eb.length>0&&eb.owlCarousel({items:1,loop:!0,margin:10,smartSpeed:1e3,autoplay:!0,autoplayTimeout:5e3,autoplayHoverPause:!0,responsiveClass:!0,responsive:{0:{items:1,margin:10,nav:!1},768:{nav:!0,navText:['','']},992:{nav:!0,navText:['','']}}});f(document).on("click",".single-popup",function(d){d.preventDefault();var e=f(this).data("img"),F=f(this).data("title"),g=f(this).data("desc"),eb='
'+F+'
'+g+'
'+F+'
';ncPopup("small",eb)})});jQuery(document).ready(function(f){var d=f("#monavber").attr("data-type");f(".navbar>li ").each(function(){var e,F,g,eb;try{if(e=f(this).attr("id"),"index"==d)e=="nvabar-item-index"&&f("#nvabar-item-index").addClass("current-menu-item");else if("category"==d){if(eb=f("#monavber").attr("data-infoid"),eb!=null)for(F=eb.split(" "),g=0;gli").each(function(){f(this).removeClass("current-menu-item")});f(this).closest("ul")!=null&&f(this).closest("ul").length!=0&&(f(this).closest("ul").attr("id")=="munavber"?f(this).addClass("current-menu-item"):f(this).closest("ul").closest("li").addClass("current-menu-item"))})});!function(f){f.fn.theiaStickySidebar=function(d){function e(d,e){var g=F(d,e);g||(console.log("TSS: Body width smaller than options.minWidth. Init is delayed."),f(document).on("scroll."+d.namespace,function(d,e){return function(g){var eb=F(d,e);eb&&f(this).unbind(g)}}(d,e)),f(window).on("resize."+d.namespace,function(d,e){return function(g){var eb=F(d,e);eb&&f(this).unbind(g)}}(d,e)))}function F(d,e){return d.initialized===!0||!(f("body").width().theiaStickySidebar:after {content: ""; display: table; clear: both;}'));e.each(function(){function e(){g.fixedScrollTop=0;g.sidebar.css({"min-height":"1px"});g.stickySidebar.css({position:"static",width:"",transform:"none"})}function F(d){var e=d.height();return d.children().each(function(){e=Math.max(e,f(this).height())}),e}var g={},T,c,P;(g.sidebar=f(this),g.options=d||{},g.container=f(g.options.containerSelector),0==g.container.length&&(g.container=g.sidebar.parent()),g.sidebar.parents().css("-webkit-transform","none"),g.sidebar.css({position:g.options.defaultPosition,overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),g.stickySidebar=g.sidebar.find(".theiaStickySidebar"),0==g.stickySidebar.length)&&(T=/(?:text|application)\/(?:x-)?(?:javascript|ecmascript)/i,g.sidebar.find("script").filter(function(f,d){return 0===d.type.length||d.type.match(T)}).remove(),g.stickySidebar=f("
").addClass("theiaStickySidebar").append(g.sidebar.children()),g.sidebar.append(g.stickySidebar));g.marginBottom=parseInt(g.sidebar.css("margin-bottom"));g.paddingTop=parseInt(g.sidebar.css("padding-top"));g.paddingBottom=parseInt(g.sidebar.css("padding-bottom"));c=g.stickySidebar.offset().top;P=g.stickySidebar.outerHeight();g.stickySidebar.css("padding-top",1);g.stickySidebar.css("padding-bottom",1);c-=g.stickySidebar.offset().top;P=g.stickySidebar.outerHeight()-P-c;0==c?(g.stickySidebar.css("padding-top",0),g.stickySidebarPaddingTop=0):g.stickySidebarPaddingTop=1;0==P?(g.stickySidebar.css("padding-bottom",0),g.stickySidebarPaddingBottom=0):g.stickySidebarPaddingBottom=1;g.previousScrollTop=null;g.fixedScrollTop=0;e();g.onScroll=function(g){var T,c,P,dX,b,X;if(g.stickySidebar.is(":visible")){if(f("body").width()g.container.width()))return void e();if(c=f(document).scrollTop(),P="static",c>=g.sidebar.offset().top+(g.paddingTop-g.options.additionalMarginTop)){var gf,eC=g.paddingTop+d.additionalMarginTop,eD=g.paddingBottom+g.marginBottom+d.additionalMarginBottom,cS=g.sidebar.offset().top,a=g.sidebar.offset().top+F(g.container),D=0+d.additionalMarginTop,da=g.stickySidebar.outerHeight()+eC+eD0?Math.min(eR,D):Math.max(eR,gf-g.stickySidebar.outerHeight());eR=Math.max(eR,fT);eR=Math.min(eR,eT-g.stickySidebar.outerHeight());dX=g.container.height()==g.stickySidebar.outerHeight();P=(dX||eR!=D)&&(dX||eR!=gf-g.stickySidebar.outerHeight())?c+eR-g.sidebar.offset().top-g.paddingTop<=d.additionalMarginTop?"static":"absolute":"fixed"}"fixed"==P?(b=f(document).scrollLeft(),g.stickySidebar.css({position:"fixed",width:eb(g.stickySidebar)+"px",transform:"translateY("+eR+"px)",left:g.sidebar.offset().left+parseInt(g.sidebar.css("padding-left"))-b+"px",top:"0px"})):"absolute"==P?(X={},"absolute"!=g.stickySidebar.css("position")&&(X.position="absolute",X.transform="translateY("+(c+eR-g.sidebar.offset().top-g.stickySidebarPaddingTop-g.stickySidebarPaddingBottom)+"px)",X.top="0px"),X.width=eb(g.stickySidebar)+"px",X.left="",g.stickySidebar.css(X)):"static"==P&&e();"static"!=P&&1==g.options.updateSidebarHeight&&g.sidebar.css({"min-height":g.stickySidebar.outerHeight()+g.stickySidebar.offset().top-g.sidebar.offset().top+g.paddingBottom});g.previousScrollTop=c}};g.onScroll(g);f(document).on("scroll."+g.options.namespace,function(f){return function(){f.onScroll(f)}}(g));f(window).on("resize."+g.options.namespace,function(f){return function(){f.stickySidebar.css({position:"static"});f.onScroll(f)}}(g));"undefined"!=typeof ResizeSensor&&new ResizeSensor(g.stickySidebar[0],function(f){return function(){f.onScroll(f)}}(g))})}function eb(f){var d;try{d=f[0].getBoundingClientRect().width}catch(f){}return"undefined"==typeof d&&(d=f.width()),d}return d=f.extend({containerSelector:"",additionalMarginTop:0,additionalMarginBottom:0,updateSidebarHeight:!0,minWidth:0,disableOnResponsiveLayouts:!0,sidebarBehavior:"modern",defaultPosition:"relative",namespace:"TSS"},d),d.additionalMarginTop=parseInt(d.additionalMarginTop)||0,d.additionalMarginBottom=parseInt(d.additionalMarginBottom)||0,e(d,this),this}}(jQuery);window.$=jQuery;isApollo=$("meta[name=apollo-enabled]").attr("content")==="1";!function(f,d){"object"==typeof exports&&"undefined"!=typeof module?d(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],d):d((f=f||self).bootstrap={},f.jQuery)}(this,function(f,d){"use strict";function e(f,d){for(var e,F=0;F=e.clientWidth&&F>=e.clientHeight}),b=0this._items.length-1||f<0))if(this._isSliding)d(this._element).one(ebf.SLID,function(){return e.to(f)});else{if(F===f)return this.pause(),void this.cycle();g=FF[f]&&!d.escapeWithReference&&(g=Math.min(b[e],F[f]-("right"===f?b.width:b.height))),uf({},e,g)}};return dX.forEach(function(f){var d=-1!==["left","top"].indexOf(f)?"primary":"secondary";b=vf({},b,gf[d](f))}),f.offsets.popper=b,f},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(f){var d=f.offsets,e=d.popper,F=d.reference,g=f.placement.split("-")[0],eb=Math.floor,T=-1!==["top","bottom"].indexOf(g),c=T?"right":"bottom",P=T?"left":"top",dX=T?"width":"height";return e[c]eb(F[c])&&(f.offsets.popper[P]=eb(F[c])),f}},arrow:{order:500,enabled:!0,fn:function(f,d){var e,F;if(!m(f.instance.modifiers,"arrow","keepTogether"))return f;if(F=d.element,"string"==typeof F){if(!(F=f.instance.popper.querySelector(F)))return f}else if(!f.instance.popper.contains(F))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),f;var g=f.placement.split("-")[0],eb=f.offsets,T=eb.popper,P=eb.reference,dX=-1!==["left","right"].indexOf(g),b=dX?"height":"width",X=dX?"Top":"Left",gf=X.toLowerCase(),eC=dX?"left":"top",eD=dX?"bottom":"right",cS=cH(F)[b];P[eD]-cST[eD]&&(f.offsets.popper[gf]+=P[gf]+cS-T[eD]);f.offsets.popper=da(f.offsets.popper);var a=P[gf]+P[b]/2-cS/2,D=c(f.instance.popper),fT=parseFloat(D["margin"+X],10),eT=parseFloat(D["border"+X+"Width"],10),eR=a-f.offsets.popper[gf]-fT-eT;return eR=Math.max(Math.min(T[b]-cS,eR),0),f.arrowElement=F,f.offsets.arrow=(uf(e={},gf,Math.round(eR)),uf(e,eC,""),e),f},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(f,d){if(ec(f.instance.modifiers,"inner")||f.flipped&&f.placement===f.originalPlacement)return f;var e=gG(f.instance.popper,f.instance.reference,d.padding,d.boundariesElement,f.positionFixed),F=f.placement.split("-")[0],g=dg(F),eb=f.placement.split("-")[1]||"",T=[];switch(d.behavior){case wf:T=[F,g];break;case xf:T=n(F);break;case yf:T=n(F,!0);break;default:T=d.behavior}return T.forEach(function(c,P){if(F!==c||T.length===P+1)return f;F=f.placement.split("-")[0];g=dg(F);var dX,b=f.offsets.popper,X=f.offsets.reference,gf=Math.floor,eC="left"===F&&gf(b.right)>gf(X.left)||"right"===F&&gf(b.left)gf(X.top)||"bottom"===F&&gf(b.top)gf(e.right),a=gf(b.top)gf(e.bottom),da="left"===F&&eD||"right"===F&&cS||"top"===F&&a||"bottom"===F&&D,fT=-1!==["top","bottom"].indexOf(F),eT=!!d.flipVariations&&(fT&&"start"===eb&&eD||fT&&"end"===eb&&cS||!fT&&"start"===eb&&a||!fT&&"end"===eb&&D);(eC||da||eT)&&(f.flipped=!0,(eC||da)&&(F=T[P+1]),eT&&(eb="end"===(dX=eb)?"start":"start"===dX?"end":dX),f.placement=F+(eb?"-"+eb:""),f.offsets.popper=vf({},f.offsets.popper,cg(f.instance.popper,f.offsets.reference,f.placement)),f=W(f.instance.modifiers,f,"flip"))}),f},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(f){var d=f.placement,e=d.split("-")[0],F=f.offsets,g=F.popper,eb=F.reference,T=-1!==["left","right"].indexOf(e),c=-1===["top","left"].indexOf(e);return g[T?"left":"top"]=eb[e]-(c?g[T?"width":"height"]:0),f.placement=dg(d),f.offsets.popper=da(g),f}},hide:{order:800,enabled:!0,fn:function(f){if(!m(f.instance.modifiers,"hide","preventOverflow"))return f;var d=f.offsets.reference,e=cSb(f.instance.modifiers,function(f){return"preventOverflow"===f.name}).boundaries;if(d.bottome.right||d.top>e.bottom||d.right
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}},Dd="show",dad="out",fTd={HIDE:"hide"+dXd,HIDDEN:"hidden"+dXd,SHOW:"show"+dXd,SHOWN:"shown"+dXd,INSERTED:"inserted"+dXd,CLICK:"click"+dXd,FOCUSIN:"focusin"+dXd,FOCUSOUT:"focusout"+dXd,MOUSEENTER:"mouseenter"+dXd,MOUSELEAVE:"mouseleave"+dXd},eTd="fade",eRd="show",gGd=".tooltip-inner",cTd=".arrow",eAd="hover",cHd="focus",dgd="click",cgd="manual",cSbd=function(){function f(f,d){if("undefined"==typeof z)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=f;this.config=this._getConfig(d);this.tip=null;this._setListeners()}var e=f.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(f){if(this._isEnabled)if(f){var e=this.constructor.DATA_KEY,F=d(f.currentTarget).data(e);F||(F=new this.constructor(f.currentTarget,this._getDelegateConfig()),d(f.currentTarget).data(e,F));F._activeTrigger.click=!F._activeTrigger.click;F._isWithActiveTrigger()?F._enter(null,F):F._leave(null,F)}else{if(d(this.getTipElement()).hasClass(eRd))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout);d.removeData(this.element,this.constructor.DATA_KEY);d(this.element).off(this.constructor.EVENT_KEY);d(this.element).closest(".modal").off("hide.bs.modal");this.tip&&d(this.tip).remove();this._isEnabled=null;this._timeout=null;this._hoverState=null;(this._activeTrigger=null)!==this._popper&&this._popper.destroy();this._popper=null;this.element=null;this.config=null;this.tip=null},e.show=function(){var f=this,e,F,g,eb,T,c,P,dX,b,X;if("none"===d(this.element).css("display"))throw new Error("Please use show on visible elements");if(e=d.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(d(this.element).trigger(e),F=r.findShadowRoot(this.element),g=d.contains(null!==F?F:this.element.ownerDocument.documentElement,this.element),e.isDefaultPrevented()||!g)return;eb=this.getTipElement();T=r.getUID(this.constructor.NAME);eb.setAttribute("id",T);this.element.setAttribute("aria-describedby",T);this.setContent();this.config.animation&&d(eb).addClass(eTd);c="function"==typeof this.config.placement?this.config.placement.call(this,eb,this.element):this.config.placement;P=this._getAttachment(c);this.addAttachmentClass(P);dX=this._getContainer();d(eb).data(this.constructor.DATA_KEY,this);d.contains(this.element.ownerDocument.documentElement,this.tip)||d(eb).appendTo(dX);d(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new z(this.element,eb,{placement:P,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:cTd},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(d){d.originalPlacement!==d.placement&&f._handlePopperPlacementChange(d)},onUpdate:function(d){return f._handlePopperPlacementChange(d)}});d(eb).addClass(eRd);"ontouchstart"in document.documentElement&&d(document.body).children().on("mouseover",null,d.noop);b=function(){f.config.animation&&f._fixTransition();var e=f._hoverState;f._hoverState=null;d(f.element).trigger(f.constructor.Event.SHOWN);e===dad&&f._leave(null,f)};d(this.tip).hasClass(eTd)?(X=r.getTransitionDurationFromElement(this.tip),d(this.tip).one(r.TRANSITION_END,b).emulateTransitionEnd(X)):b()}},e.hide=function(f){var e=this,F=this.getTipElement(),g=d.Event(this.constructor.Event.HIDE),eb=function(){e._hoverState!==Dd&&F.parentNode&&F.parentNode.removeChild(F);e._cleanTipClass();e.element.removeAttribute("aria-describedby");d(e.element).trigger(e.constructor.Event.HIDDEN);null!==e._popper&&e._popper.destroy();f&&f()},T;(d(this.element).trigger(g),g.isDefaultPrevented())||((d(F).removeClass(eRd),"ontouchstart"in document.documentElement&&d(document.body).children().off("mouseover",null,d.noop),this._activeTrigger[dgd]=!1,this._activeTrigger[cHd]=!1,this._activeTrigger[eAd]=!1,d(this.tip).hasClass(eTd))?(T=r.getTransitionDurationFromElement(F),d(F).one(r.TRANSITION_END,eb).emulateTransitionEnd(T)):eb(),this._hoverState="")},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(f){d(this.getTipElement()).addClass(Xd+"-"+f)},e.getTipElement=function(){return this.tip=this.tip||d(this.config.template)[0],this.tip},e.setContent=function(){var f=this.getTipElement();this.setElementContent(d(f.querySelectorAll(gGd)),this.getTitle());d(f).removeClass(eTd+" "+eRd)},e.setElementContent=function(f,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=p(e,this.config.whiteList,this.config.sanitizeFn)),f.html(e)):f.text(e):this.config.html?d(e).parent().is(f)||f.empty().append(e):f.text(d(e).text())},e.getTitle=function(){var f=this.element.getAttribute("data-original-title");return f||(f="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),f},e._getOffset=function(){var f=this,d={};return"function"==typeof this.config.offset?d.fn=function(d){return d.offsets=g({},d.offsets,f.config.offset(d.offsets,f.element)||{}),d}:d.offset=this.config.offset,d},e._getContainer=function(){return!1===this.config.container?document.body:r.isElement(this.config.container)?d(this.config.container):d(document).find(this.config.container)},e._getAttachment=function(f){return cSd[f.toUpperCase()]},e._setListeners=function(){var f=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)d(f.element).on(f.constructor.Event.CLICK,f.config.selector,function(d){return f.toggle(d)});else if(e!==cgd){var F=e===eAd?f.constructor.Event.MOUSEENTER:f.constructor.Event.FOCUSIN,g=e===eAd?f.constructor.Event.MOUSELEAVE:f.constructor.Event.FOCUSOUT;d(f.element).on(F,f.config.selector,function(d){return f._enter(d)}).on(g,f.config.selector,function(d){return f._leave(d)})}});d(this.element).closest(".modal").on("hide.bs.modal",function(){f.element&&f.hide()});this.config.selector?this.config=g({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var f=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==f)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(f,e){var F=this.constructor.DATA_KEY;(e=e||d(f.currentTarget).data(F))||(e=new this.constructor(f.currentTarget,this._getDelegateConfig()),d(f.currentTarget).data(F,e));f&&(e._activeTrigger["focusin"===f.type?cHd:eAd]=!0);d(e.getTipElement()).hasClass(eRd)||e._hoverState===Dd?e._hoverState=Dd:(clearTimeout(e._timeout),e._hoverState=Dd,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===Dd&&e.show()},e.config.delay.show):e.show())},e._leave=function(f,e){var F=this.constructor.DATA_KEY;(e=e||d(f.currentTarget).data(F))||(e=new this.constructor(f.currentTarget,this._getDelegateConfig()),d(f.currentTarget).data(F,e));f&&(e._activeTrigger["focusout"===f.type?cHd:eAd]=!1);e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=dad,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===dad&&e.hide()},e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var f in this._activeTrigger)if(this._activeTrigger[f])return!0;return!1},e._getConfig=function(f){var e=d(this.element).data();return Object.keys(e).forEach(function(f){-1!==eCd.indexOf(f)&&delete e[f]}),"number"==typeof(f=g({},this.constructor.Default,e,"object"==typeof f&&f?f:{})).delay&&(f.delay={show:f.delay,hide:f.delay}),"number"==typeof f.title&&(f.title=f.title.toString()),"number"==typeof f.content&&(f.content=f.content.toString()),r.typeCheckConfig(cd,f,this.constructor.DefaultType),f.sanitize&&(f.template=p(f.template,f.whiteList,f.sanitizeFn)),f},e._getDelegateConfig=function(){var f={},d;if(this.config)for(d in this.config)this.constructor.Default[d]!==this.config[d]&&(f[d]=this.config[d]);return f},e._cleanTipClass=function(){var f=d(this.getTipElement()),e=f.attr("class").match(gfd);null!==e&&e.length&&f.removeClass(e.join(""))},e._handlePopperPlacementChange=function(f){var d=f.instance;this.tip=d.popper;this._cleanTipClass();this.addAttachmentClass(this._getAttachment(f.placement))},e._fixTransition=function(){var f=this.getTipElement(),e=this.config.animation;null===f.getAttribute("x-placement")&&(d(f).removeClass(eTd),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},f._jQueryInterface=function(e){return this.each(function(){var F=d(this).data(Pd),g="object"==typeof e&&e;if((F||!/dispose|hide/.test(e))&&(F||(F=new f(this,g),d(this).data(Pd,F)),"string"==typeof e)){if("undefined"==typeof F[e])throw new TypeError('No method named "'+e+'"');F[e]()}})},F(f,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return ad}},{key:"NAME",get:function(){return cd}},{key:"DATA_KEY",get:function(){return Pd}},{key:"Event",get:function(){return fTd}},{key:"EVENT_KEY",get:function(){return dXd}},{key:"DefaultType",get:function(){return eDd}}]),f}();d.fn[cd]=cSbd._jQueryInterface;d.fn[cd].Constructor=cSbd;d.fn[cd].noConflict=function(){return d.fn[cd]=bd,cSbd._jQueryInterface}});