!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e(t.bootstrap={},t.jQuery)}(this,function(t,e){"use strict";function n(t,e){for(var i=0;ithis._items.length-1||t<0))if(this._isSliding)D(this._element).one(V.SLID,function(){return e.to(t)});else{if(i===t)return this.pause(),void this.cycle();var n=i=n.clientWidth&&i>=n.clientHeight}),h=0o[t]&&!n.escapeWithReference&&(i=Math.min(r[e],o[t]-("right"===t?r.width:r.height))),Yt({},e,i)}};return i.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";r=qt({},r,a[e](t))}),t.offsets.popper=r,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,n=e.reference,o=t.placement.split("-")[0],r=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return i[s]r(n[s])&&(t.offsets.popper[l]=r(n[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!pe(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,a=r.popper,s=r.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",h=l?"Top":"Left",u=h.toLowerCase(),p=l?"left":"top",f=l?"bottom":"right",d=te(n)[c];s[f]-da[f]&&(t.offsets.popper[u]+=s[u]+d-a[f]),t.offsets.popper=Kt(t.offsets.popper);var y=s[u]+s[c]/2-d/2,m=Lt(t.instance.popper),g=parseFloat(m["margin"+h],10),v=parseFloat(m["border"+h+"Width"],10),x=y-t.offsets.popper[u]-g-v;return x=Math.max(Math.min(a[c]-d,x),0),t.arrowElement=n,t.offsets.arrow=(Yt(i={},u,Math.round(x)),Yt(i,p,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(d,y){if(re(d.instance.modifiers,"inner"))return d;if(d.flipped&&d.placement===d.originalPlacement)return d;var m=Xt(d.instance.popper,d.instance.reference,y.padding,y.boundariesElement),g=d.placement.split("-")[0],v=ee(g),x=d.placement.split("-")[1]||"",_=[];switch(y.behavior){case me:_=[g,v];break;case ge:_=ye(g);break;case ve:_=ye(g,!0);break;default:_=y.behavior}return _.forEach(function(t,e){if(g!==t||_.length===e+1)return d;g=d.placement.split("-")[0],v=ee(g);var i,n=d.offsets.popper,o=d.offsets.reference,r=Math.floor,a="left"===g&&r(n.right)>r(o.left)||"right"===g&&r(n.left)r(o.top)||"bottom"===g&&r(n.top)r(m.right),c=r(n.top)r(m.bottom),u="left"===g&&s||"right"===g&&l||"top"===g&&c||"bottom"===g&&h,p=-1!==["top","bottom"].indexOf(g),f=!!y.flipVariations&&(p&&"start"===x&&s||p&&"end"===x&&l||!p&&"start"===x&&c||!p&&"end"===x&&h);(a||u||f)&&(d.flipped=!0,(a||u)&&(g=_[e+1]),f&&(x="end"===(i=x)?"start":"start"===i?"end":i),d.placement=g+(x?"-"+x:""),d.offsets.popper=qt({},d.offsets.popper,ie(d.instance.popper,d.offsets.reference,d.placement)),d=oe(d.instance.modifiers,d,"flip"))}),d},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,o=n.popper,r=n.reference,a=-1!==["left","right"].indexOf(i),s=-1===["top","left"].indexOf(i);return o[a?"left":"top"]=r[i]-(s?o[a?"width":"height"]:0),t.placement=ee(e),t.offsets.popper=Kt(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!pe(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=ne(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomi.right||e.top>i.bottom||e.rightdocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right
',trigger:"hover focus",title:"",delay:0,html:!(Ii={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(Ci={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"}),placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},Mi="out",Oi={HIDE:"hide"+Ai,HIDDEN:"hidden"+Ai,SHOW:(Ti="show")+Ai,SHOWN:"shown"+Ai,INSERTED:"inserted"+Ai,CLICK:"click"+Ai,FOCUSIN:"focusin"+Ai,FOCUSOUT:"focusout"+Ai,MOUSEENTER:"mouseenter"+Ai,MOUSELEAVE:"mouseleave"+Ai},Di="fade",ki="show",Li=".tooltip-inner",zi=".arrow",Ni="hover",ji="focus",Hi="click",Pi="manual",Wi=function(){function c(t,e){if(void 0===Ae)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var t=c.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,i=vi(t.currentTarget).data(e);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),vi(t.currentTarget).data(e,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(vi(this.getTipElement()).hasClass(ki))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),vi.removeData(this.element,this.constructor.DATA_KEY),vi(this.element).off(this.constructor.EVENT_KEY),vi(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&vi(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},t.show=function(){var e=this;if("none"===vi(this.element).css("display"))throw new Error("Please use show on visible elements");var t=vi.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){vi(this.element).trigger(t);var i=vi.contains(this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!i)return;var n=this.getTipElement(),o=bt.getUID(this.constructor.NAME);n.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&vi(n).addClass(Di);var r="function"==typeof this.config.placement?this.config.placement.call(this,n,this.element):this.config.placement,a=this._getAttachment(r);this.addAttachmentClass(a);var s=!1===this.config.container?document.body:vi(this.config.container);vi(n).data(this.constructor.DATA_KEY,this),vi.contains(this.element.ownerDocument.documentElement,this.tip)||vi(n).appendTo(s),vi(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new Ae(this.element,n,{placement:a,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:zi},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){e._handlePopperPlacementChange(t)}}),vi(n).addClass(ki),"ontouchstart"in document.documentElement&&vi("body").children().on("mouseover",null,vi.noop);var l=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,vi(e.element).trigger(e.constructor.Event.SHOWN),t===Mi&&e._leave(null,e)};bt.supportsTransitionEnd()&&vi(this.tip).hasClass(Di)?vi(this.tip).one(bt.TRANSITION_END,l).emulateTransitionEnd(c._TRANSITION_DURATION):l()}},t.hide=function(t){var e=this,i=this.getTipElement(),n=vi.Event(this.constructor.Event.HIDE),o=function(){e._hoverState!==Ti&&i.parentNode&&i.parentNode.removeChild(i),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),vi(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};vi(this.element).trigger(n),n.isDefaultPrevented()||(vi(i).removeClass(ki),"ontouchstart"in document.documentElement&&vi("body").children().off("mouseover",null,vi.noop),this._activeTrigger[Hi]=!1,this._activeTrigger[ji]=!1,this._activeTrigger[Ni]=!1,bt.supportsTransitionEnd()&&vi(this.tip).hasClass(Di)?vi(i).one(bt.TRANSITION_END,o).emulateTransitionEnd(150):o(),this._hoverState="")},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(t){vi(this.getTipElement()).addClass(wi+"-"+t)},t.getTipElement=function(){return this.tip=this.tip||vi(this.config.template)[0],this.tip},t.setContent=function(){var t=vi(this.getTipElement());this.setElementContent(t.find(Li),this.getTitle()),t.removeClass(Di+" "+ki)},t.setElementContent=function(t,e){var i=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?i?vi(e).parent().is(t)||t.empty().append(e):t.text(vi(e).text()):t[i?"html":"text"](e)},t.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},t._getAttachment=function(t){return Ii[t.toUpperCase()]},t._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)vi(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(t!==Pi){var e=t===Ni?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,i=t===Ni?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;vi(n.element).on(e,n.config.selector,function(t){return n._enter(t)}).on(i,n.config.selector,function(t){return n._leave(t)})}vi(n.element).closest(".modal").on("hide.bs.modal",function(){return n.hide()})}),this.config.selector?this.config=h({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(t,e){var i=this.constructor.DATA_KEY;(e=e||vi(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),vi(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusin"===t.type?ji:Ni]=!0),vi(e.getTipElement()).hasClass(ki)||e._hoverState===Ti?e._hoverState=Ti:(clearTimeout(e._timeout),e._hoverState=Ti,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===Ti&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var i=this.constructor.DATA_KEY;(e=e||vi(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),vi(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusout"===t.type?ji:Ni]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=Mi,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===Mi&&e.hide()},e.config.delay.hide):e.hide())},t._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},t._getConfig=function(t){return"number"==typeof(t=h({},this.constructor.Default,vi(this.element).data(),t)).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),bt.typeCheckConfig(xi,t,this.constructor.DefaultType),t},t._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},t._cleanTipClass=function(){var t=vi(this.getTipElement()),e=t.attr("class").match(Ei);null!==e&&0

'}),Ki=h({},Qn.DefaultType,{content:"(string|element|function)"}),Gi="fade",Xi=".popover-header",$i=".popover-body",Zi={HIDE:"hide"+Vi,HIDDEN:"hidden"+Vi,SHOW:(Ji="show")+Vi,SHOWN:"shown"+Vi,INSERTED:"inserted"+Vi,CLICK:"click"+Vi,FOCUSIN:"focusin"+Vi,FOCUSOUT:"focusout"+Vi,MOUSEENTER:"mouseenter"+Vi,MOUSELEAVE:"mouseleave"+Vi},tn=function(t){var e,i;function n(){return t.apply(this,arguments)||this}i=t,(e=n).prototype=Object.create(i.prototype),(e.prototype.constructor=e).__proto__=i;var o=n.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(t){Ri(this.getTipElement()).addClass(Ui+"-"+t)},o.getTipElement=function(){return this.tip=this.tip||Ri(this.config.template)[0],this.tip},o.setContent=function(){var t=Ri(this.getTipElement());this.setElementContent(t.find(Xi),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find($i),e),t.removeClass(Gi+" "+Ji)},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var t=Ri(this.getTipElement()),e=t.attr("class").match(Yi);null!==e&&0=this._offsets[o]&&(void 0===this._offsets[o+1]||t