/*! * bootstrap v4.3.1 (https://getbootstrap.com/) * copyright 2011-2019 the bootstrap authors (https://github.com/twbs/bootstrap/graphs/contributors) * licensed under mit (https://github.com/twbs/bootstrap/blob/master/license) */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e((t=t||self).bootstrap={},t.jquery)}(this,function(t,p){"use strict";function i(t,e){for(var n=0;nthis._items.length-1||t<0))if(this._issliding)p(this._element).one(q.slid,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var i=n=i.clientwidth&&n>=i.clientheight}),h=0l[t]&&!i.escapewithreference&&(n=math.min(h[e],l[t]-("right"===t?h.width:h.height))),kt({},e,n)}};return c.foreach(function(t){var e=-1!==["left","top"].indexof(t)?"primary":"secondary";h=qt({},h,u[e](t))}),t.offsets.popper=h,t},priority:["left","right","top","bottom"],padding:5,boundarieselement:"scrollparent"},keeptogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=math.floor,s=-1!==["top","bottom"].indexof(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]r(i[a])&&(t.offsets.popper[l]=r(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!fe(t.instance.modifiers,"arrow","keeptogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.queryselector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("warning: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,s=r.popper,a=r.reference,l=-1!==["left","right"].indexof(o),c=l?"height":"width",h=l?"top":"left",u=h.tolowercase(),f=l?"left":"top",d=l?"bottom":"right",p=zt(i)[c];a[d]-ps[d]&&(t.offsets.popper[u]+=a[u]+p-s[d]),t.offsets.popper=vt(t.offsets.popper);var m=a[u]+a[c]/2-p/2,g=nt(t.instance.popper),_=parsefloat(g["margin"+h],10),v=parsefloat(g["border"+h+"width"],10),y=m-t.offsets.popper[u]-_-v;return y=math.max(math.min(s[c]-p,y),0),t.arrowelement=i,t.offsets.arrow=(kt(n={},u,math.round(y)),kt(n,f,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(p,m){if(oe(p.instance.modifiers,"inner"))return p;if(p.flipped&&p.placement===p.originalplacement)return p;var g=gt(p.instance.popper,p.instance.reference,m.padding,m.boundarieselement,p.positionfixed),_=p.placement.split("-")[0],v=te(_),y=p.placement.split("-")[1]||"",e=[];switch(m.behavior){case ge:e=[_,v];break;case _e:e=me(_);break;case ve:e=me(_,!0);break;default:e=m.behavior}return e.foreach(function(t,e){if(_!==t||e.length===e+1)return p;_=p.placement.split("-")[0],v=te(_);var n,i=p.offsets.popper,o=p.offsets.reference,r=math.floor,s="left"===_&&r(i.right)>r(o.left)||"right"===_&&r(i.left)r(o.top)||"bottom"===_&&r(i.top)r(g.right),c=r(i.top)r(g.bottom),u="left"===_&&a||"right"===_&&l||"top"===_&&c||"bottom"===_&&h,f=-1!==["top","bottom"].indexof(_),d=!!m.flipvariations&&(f&&"start"===y&&a||f&&"end"===y&&l||!f&&"start"===y&&c||!f&&"end"===y&&h);(s||u||d)&&(p.flipped=!0,(s||u)&&(_=e[e+1]),d&&(y="end"===(n=y)?"start":"start"===n?"end":n),p.placement=_+(y?"-"+y:""),p.offsets.popper=qt({},p.offsets.popper,ee(p.instance.popper,p.offsets.reference,p.placement)),p=ie(p.instance.modifiers,p,"flip"))}),p},behavior:"flip",padding:5,boundarieselement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexof(n),a=-1===["top","left"].indexof(n);return o[s?"left":"top"]=r[n]-(a?o[s?"width":"height"]:0),t.placement=te(e),t.offsets.popper=vt(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!fe(t.instance.modifiers,"hide","preventoverflow"))return t;var e=t.offsets.reference,n=ne(t.instance.modifiers,function(t){return"preventoverflow"===t.name}).boundaries;if(e.bottomn.right||e.top>n.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:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackplacement:"flip",boundary:"scrollparent",sanitize:!0,sanitizefn:null,whitelist:vn},ln="show",xn="out",pn={hide:"hide"+tn,hidden:"hidden"+tn,show:"show"+tn,shown:"shown"+tn,inserted:"inserted"+tn,click:"click"+tn,focusin:"focusin"+tn,focusout:"focusout"+tn,mouseenter:"mouseenter"+tn,mouseleave:"mouseleave"+tn},hn="fade",jn="show",rn=".tooltip-inner",fn=".arrow",mn="hover",wn="focus",un="click",bn="manual",qn=function(){function i(t,e){if("undefined"==typeof be)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=t,this.config=this._getconfig(e),this.tip=null,this._setlisteners()}var t=i.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,n=p(t.currenttarget).data(e);n||(n=new this.constructor(t.currenttarget,this._getdelegateconfig()),p(t.currenttarget).data(e,n)),n._activetrigger.click=!n._activetrigger.click,n._iswithactivetrigger()?n._enter(null,n):n._leave(null,n)}else{if(p(this.gettipelement()).hasclass(jn))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){cleartimeout(this._timeout),p.removedata(this.element,this.constructor.data_key),p(this.element).off(this.constructor.event_key),p(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&p(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"===p(this.element).css("display"))throw new error("please use show on visible elements");var t=p.event(this.constructor.event.show);if(this.iswithcontent()&&this._isenabled){p(this.element).trigger(t);var n=m.findshadowroot(this.element),i=p.contains(null!==n?n:this.element.ownerdocument.documentelement,this.element);if(t.isdefaultprevented()||!i)return;var o=this.gettipelement(),r=m.getuid(this.constructor.name);o.setattribute("id",r),this.element.setattribute("aria-describedby",r),this.setcontent(),this.config.animation&&p(o).addclass(hn);var s="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,a=this._getattachment(s);this.addattachmentclass(a);var l=this._getcontainer();p(o).data(this.constructor.data_key,this),p.contains(this.element.ownerdocument.documentelement,this.tip)||p(o).appendto(l),p(this.element).trigger(this.constructor.event.inserted),this._popper=new be(this.element,o,{placement:a,modifiers:{offset:this._getoffset(),flip:{behavior:this.config.fallbackplacement},arrow:{element:fn},preventoverflow:{boundarieselement:this.config.boundary}},oncreate:function(t){t.originalplacement!==t.placement&&e._handlepopperplacementchange(t)},onupdate:function(t){return e._handlepopperplacementchange(t)}}),p(o).addclass(jn),"ontouchstart"in document.documentelement&&p(document.body).children().on("mouseover",null,p.noop);var c=function(){e.config.animation&&e._fixtransition();var t=e._hoverstate;e._hoverstate=null,p(e.element).trigger(e.constructor.event.shown),t===xn&&e._leave(null,e)};if(p(this.tip).hasclass(hn)){var h=m.gettransitiondurationfromelement(this.tip);p(this.tip).one(m.transition_end,c).emulatetransitionend(h)}else c()}},t.hide=function(t){var e=this,n=this.gettipelement(),i=p.event(this.constructor.event.hide),o=function(){e._hoverstate!==ln&&n.parentnode&&n.parentnode.removechild(n),e._cleantipclass(),e.element.removeattribute("aria-describedby"),p(e.element).trigger(e.constructor.event.hidden),null!==e._popper&&e._popper.destroy(),t&&t()};if(p(this.element).trigger(i),!i.isdefaultprevented()){if(p(n).removeclass(jn),"ontouchstart"in document.documentelement&&p(document.body).children().off("mouseover",null,p.noop),this._activetrigger[un]=!1,this._activetrigger[wn]=!1,this._activetrigger[mn]=!1,p(this.tip).hasclass(hn)){var r=m.gettransitiondurationfromelement(n);p(n).one(m.transition_end,o).emulatetransitionend(r)}else o();this._hoverstate=""}},t.update=function(){null!==this._popper&&this._popper.scheduleupdate()},t.iswithcontent=function(){return boolean(this.gettitle())},t.addattachmentclass=function(t){p(this.gettipelement()).addclass(dn+"-"+t)},t.gettipelement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},t.setcontent=function(){var t=this.gettipelement();this.setelementcontent(p(t.queryselectorall(rn)),this.gettitle()),p(t).removeclass(hn+" "+jn)},t.setelementcontent=function(t,e){"object"!=typeof e||!e.nodetype&&!e.jquery?this.config.html?(this.config.sanitize&&(e=bn(e,this.config.whitelist,this.config.sanitizefn)),t.html(e)):t.text(e):this.config.html?p(e).parent().is(t)||t.empty().append(e):t.text(p(e).text())},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._getoffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},t._getcontainer=function(){return!1===this.config.container?document.body:m.iselement(this.config.container)?p(this.config.container):p(document).find(this.config.container)},t._getattachment=function(t){return nn[t.touppercase()]},t._setlisteners=function(){var i=this;this.config.trigger.split(" ").foreach(function(t){if("click"===t)p(i.element).on(i.constructor.event.click,i.config.selector,function(t){return i.toggle(t)});else if(t!==bn){var e=t===mn?i.constructor.event.mouseenter:i.constructor.event.focusin,n=t===mn?i.constructor.event.mouseleave:i.constructor.event.focusout;p(i.element).on(e,i.config.selector,function(t){return i._enter(t)}).on(n,i.config.selector,function(t){return i._leave(t)})}}),p(this.element).closest(".modal").on("hide.bs.modal",function(){i.element&&i.hide()}),this.config.selector?this.config=l({},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 n=this.constructor.data_key;(e=e||p(t.currenttarget).data(n))||(e=new this.constructor(t.currenttarget,this._getdelegateconfig()),p(t.currenttarget).data(n,e)),t&&(e._activetrigger["focusin"===t.type?wn:mn]=!0),p(e.gettipelement()).hasclass(jn)||e._hoverstate===ln?e._hoverstate=ln:(cleartimeout(e._timeout),e._hoverstate=ln,e.config.delay&&e.config.delay.show?e._timeout=settimeout(function(){e._hoverstate===ln&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var n=this.constructor.data_key;(e=e||p(t.currenttarget).data(n))||(e=new this.constructor(t.currenttarget,this._getdelegateconfig()),p(t.currenttarget).data(n,e)),t&&(e._activetrigger["focusout"===t.type?wn:mn]=!1),e._iswithactivetrigger()||(cleartimeout(e._timeout),e._hoverstate=xn,e.config.delay&&e.config.delay.hide?e._timeout=settimeout(function(){e._hoverstate===xn&&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){var e=p(this.element).data();return object.keys(e).foreach(function(t){-1!==an.indexof(t)&&delete e[t]}),"number"==typeof(t=l({},this.constructor.default,e,"object"==typeof t&&t?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()),m.typecheckconfig(wn,t,this.constructor.defaulttype),t.sanitize&&(t.template=bn(t.template,t.whitelist,t.sanitizefn)),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=p(this.gettipelement()),e=t.attr("class").match(in);null!==e&&e.length&&t.removeclass(e.join(""))},t._handlepopperplacementchange=function(t){var e=t.instance;this.tip=e.popper,this._cleantipclass(),this.addattachmentclass(this._getattachment(t.placement))},t._fixtransition=function(){var t=this.gettipelement(),e=this.config.animation;null===t.getattribute("x-placement")&&(p(t).removeclass(hn),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},i._jqueryinterface=function(n){return this.each(function(){var t=p(this).data(cn),e="object"==typeof n&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this,e),p(this).data(cn,t)),"string"==typeof n)){if("undefined"==typeof t[n])throw new typeerror('no method named "'+n+'"');t[n]()}})},s(i,null,[{key:"version",get:function(){return"4.3.1"}},{key:"default",get:function(){return kn}},{key:"name",get:function(){return wn}},{key:"data_key",get:function(){return cn}},{key:"event",get:function(){return pn}},{key:"event_key",get:function(){return tn}},{key:"defaulttype",get:function(){return on}}]),i}();p.fn[wn]=qn._jqueryinterface,p.fn[wn].constructor=qn,p.fn[wn].noconflict=function(){return p.fn[wn]=sn,qn._jqueryinterface};var kn="popover",qn="bs.popover",vn="."+qn,yn=p.fn[kn],zn="bs-popover",xn=new regexp("(^|\\s)"+zn+"\\s+","g"),gn=l({},qn.default,{placement:"right",trigger:"click",content:"",template:''}),$n=l({},qn.defaulttype,{content:"(string|element|function)"}),jn="fade",zn="show",ti=".popover-header",ei=".popover-body",ni={hide:"hide"+vn,hidden:"hidden"+vn,show:"show"+vn,shown:"shown"+vn,inserted:"inserted"+vn,click:"click"+vn,focusin:"focusin"+vn,focusout:"focusout"+vn,mouseenter:"mouseenter"+vn,mouseleave:"mouseleave"+vn},ii=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=object.create(n.prototype),(e.prototype.constructor=e).__proto__=n;var o=i.prototype;return o.iswithcontent=function(){return this.gettitle()||this._getcontent()},o.addattachmentclass=function(t){p(this.gettipelement()).addclass(zn+"-"+t)},o.gettipelement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},o.setcontent=function(){var t=p(this.gettipelement());this.setelementcontent(t.find(ti),this.gettitle());var e=this._getcontent();"function"==typeof e&&(e=e.call(this.element)),this.setelementcontent(t.find(ei),e),t.removeclass(jn+" "+zn)},o._getcontent=function(){return this.element.getattribute("data-content")||this.config.content},o._cleantipclass=function(){var t=p(this.gettipelement()),e=t.attr("class").match(xn);null!==e&&0=this._offsets[o]&&("undefined"==typeof this._offsets[o+1]||t