/*! * ipcamlive v2.0.0 (https://ipcamlive.com) * * ipcamlive.com * * Build: 2017-10-10 14:20:06 * Author: IPCamLive team */ function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e(require,exports,module):t.Tether=e()}(this,function(t,e,i){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t){var e=t.getBoundingClientRect(),i={};for(var o in e)i[o]=e[o];if(t.ownerDocument!==document){var s=t.ownerDocument.defaultView.frameElement;if(s){var r=n(s);i.top+=r.top,i.bottom+=r.top,i.left+=r.left,i.right+=r.left}}return i}function s(t){var e=(getComputedStyle(t)||{}).position,i=[];if("fixed"===e)return[t];for(var o=t;(o=o.parentNode)&&o&&1===o.nodeType;){var n=void 0;try{n=getComputedStyle(o)}catch(t){}if(void 0===n||null===n)return i.push(o),i;var s=n,r=s.overflow,a=s.overflowX,l=s.overflowY;/(auto|scroll)/.test(r+l+a)&&("absolute"!==e||["relative","absolute","fixed"].indexOf(n.position)>=0)&&i.push(o)}return i.push(t.ownerDocument.body),t.ownerDocument!==document&&i.push(t.ownerDocument.defaultView),i}function r(){E&&document.body.removeChild(E),E=null}function a(t){var e=void 0;t===document?(e=document,t=document.documentElement):e=t.ownerDocument;var i=e.documentElement,o=n(t),s=_();return o.top-=s.top,o.left-=s.left,void 0===o.width&&(o.width=document.body.scrollWidth-o.left-o.right),void 0===o.height&&(o.height=document.body.scrollHeight-o.top-o.bottom),o.top=o.top-i.clientTop,o.left=o.left-i.clientLeft,o.right=e.body.clientWidth-o.width-o.left,o.bottom=e.body.clientHeight-o.height-o.top,o}function l(t){return t.offsetParent||document.documentElement}function d(){if($)return $;var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");c(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var i=t.offsetWidth;e.style.overflow="scroll";var o=t.offsetWidth;i===o&&(o=e.clientWidth),document.body.removeChild(e);var n=i-o;return $={width:n,height:n}}function c(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=[];return Array.prototype.push.apply(e,arguments),e.slice(1).forEach(function(e){if(e)for(var i in e)({}).hasOwnProperty.call(e,i)&&(t[i]=e[i])}),t}function p(t,e){if(void 0!==t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.remove(e)});else{var i=new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi"),o=f(t).replace(i," ");g(t,o)}}function h(t,e){if(void 0!==t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.add(e)});else{p(t,e);var i=f(t)+" "+e;g(t,i)}}function u(t,e){if(void 0!==t.classList)return t.classList.contains(e);var i=f(t);return new RegExp("(^| )"+e+"( |$)","gi").test(i)}function f(t){return t.className instanceof t.ownerDocument.defaultView.SVGAnimatedString?t.className.baseVal:t.className}function g(t,e){t.setAttribute("class",e)}function v(t,e,i){i.forEach(function(i){-1===e.indexOf(i)&&u(t,i)&&p(t,i)}),e.forEach(function(e){u(t,e)||h(t,e)})}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function y(t,e){var i=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return t+i>=e&&e>=t-i}function w(){return"undefined"!=typeof performance&&void 0!==performance.now?performance.now():+new Date}function b(){for(var t={top:0,left:0},e=arguments.length,i=Array(e),o=0;o1?i-1:0),n=1;n16)return e=Math.min(e-16,250),void(i=setTimeout(o,250));void 0!==t&&w()-t<10||(null!=i&&(clearTimeout(i),i=null),t=w(),z(),e=w()-t)};"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach(function(t){window.addEventListener(t,o)})}();var j={center:"center",left:"right",right:"left"},U={middle:"middle",top:"bottom",bottom:"top"},F={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},R=function(t,e){var i=t.left,o=t.top;return"auto"===i&&(i=j[e.left]),"auto"===o&&(o=U[e.top]),{left:i,top:o}},B=function(t){var e=t.left,i=t.top;return void 0!==F[t.left]&&(e=F[t.left]),void 0!==F[t.top]&&(i=F[t.top]),{left:e,top:i}},Y=function(t){var e=t.split(" "),i=P(e,2);return{top:i[0],left:i[1]}},q=Y,X=function(t){function e(t){var i=this;o(this,e),L(Object.getPrototypeOf(e.prototype),"constructor",this).call(this),this.position=this.position.bind(this),M.push(this),this.history=[],this.setOptions(t,!1),k.modules.forEach(function(t){void 0!==t.initialize&&t.initialize.call(i)}),this.position()}return m(e,I),C(e,[{key:"getClass",value:function(){var t=arguments.length<=0||void 0===arguments[0]?"":arguments[0],e=this.options.classes;return void 0!==e&&e[t]?this.options.classes[t]:this.options.classPrefix?this.options.classPrefix+"-"+t:t}},{key:"setOptions",value:function(t){var e=this,i=arguments.length<=1||void 0===arguments[1]||arguments[1],o={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=c(o,t);var n=this.options,r=n.element,a=n.target,l=n.targetModifier;if(this.element=r,this.target=a,this.targetModifier=l,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach(function(t){if(void 0===e[t])throw new Error("Tether Error: Both element and target must be defined");void 0!==e[t].jquery?e[t]=e[t][0]:"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))}),h(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&h(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=q(this.options.targetAttachment),this.attachment=q(this.options.attachment),this.offset=Y(this.options.offset),this.targetOffset=Y(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=s(this.target),!1!==this.options.enabled&&this.enable(i)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return a(this.target);if("visible"===this.targetModifier)return this.target===document.body?{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}:((s={height:(t=a(this.target)).height,width:t.width,top:t.top,left:t.left}).height=Math.min(s.height,t.height-(pageYOffset-t.top)),s.height=Math.min(s.height,t.height-(t.top+t.height-(pageYOffset+innerHeight))),s.height=Math.min(innerHeight,s.height),s.height-=2,s.width=Math.min(s.width,t.width-(pageXOffset-t.left)),s.width=Math.min(s.width,t.width-(t.left+t.width-(pageXOffset+innerWidth))),s.width=Math.min(innerWidth,s.width),s.width-=2,s.tope.clientWidth||[i.overflow,i.overflowX].indexOf("scroll")>=0||this.target!==document.body)&&(o=15);var n=t.height-parseFloat(i.borderTopWidth)-parseFloat(i.borderBottomWidth)-o,s={width:15,height:.975*n*(n/e.scrollHeight),left:t.left+t.width-parseFloat(i.borderLeftWidth)-15},r=0;n<408&&this.target===document.body&&(r=-11e-5*Math.pow(n,2)-.00727*n+22.58),this.target!==document.body&&(s.height=Math.max(s.height,24));var l=this.target.scrollTop/(e.scrollHeight-n);return s.top=l*(n-s.height-r)+t.top+parseFloat(i.borderTopWidth),this.target===document.body&&(s.height=Math.max(s.height,24)),s}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(t,e){return void 0===this._cache&&(this._cache={}),void 0===this._cache[t]&&(this._cache[t]=e.call(this)),this._cache[t]}},{key:"enable",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&h(this.target,this.getClass("enabled")),h(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach(function(e){e!==t.target.ownerDocument&&e.addEventListener("scroll",t.position)}),e&&this.position()}},{key:"disable",value:function(){var t=this;p(this.target,this.getClass("enabled")),p(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.position)})}},{key:"destroy",value:function(){var t=this;this.disable(),M.forEach(function(e,i){e===t&&M.splice(i,1)}),0===M.length&&r()}},{key:"updateAttachClasses",value:function(t,e){var i=this;t=t||this.attachment,e=e||this.targetAttachment;var o=["left","top","bottom","right","middle","center"];void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var n=this._addAttachClasses;t.top&&n.push(this.getClass("element-attached")+"-"+t.top),t.left&&n.push(this.getClass("element-attached")+"-"+t.left),e.top&&n.push(this.getClass("target-attached")+"-"+e.top),e.left&&n.push(this.getClass("target-attached")+"-"+e.left);var s=[];o.forEach(function(t){s.push(i.getClass("element-attached")+"-"+t),s.push(i.getClass("target-attached")+"-"+t)}),D(function(){void 0!==i._addAttachClasses&&(v(i.element,i._addAttachClasses,s),!1!==i.options.addTargetClasses&&v(i.target,i._addAttachClasses,s),delete i._addAttachClasses)})}},{key:"position",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var i=R(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,i);var o=this.cache("element-bounds",function(){return a(t.element)}),n=o.width,s=o.height;if(0===n&&0===s&&void 0!==this.lastSize){var r=this.lastSize;n=r.width,s=r.height}else this.lastSize={width:n,height:s};var c=this.cache("target-bounds",function(){return t.getTargetBounds()}),p=c,h=T(B(this.attachment),{width:n,height:s}),u=T(B(i),p),f=T(this.offset,{width:n,height:s}),g=T(this.targetOffset,p);h=b(h,f),u=b(u,g);for(var v=c.left+u.left-h.left,m=c.top+u.top-h.top,y=0;yC.documentElement.clientHeight&&(A=this.cache("scrollbar-size",d),S.viewport.bottom-=A.height),E.innerWidth>C.documentElement.clientWidth&&(A=this.cache("scrollbar-size",d),S.viewport.right-=A.width),-1!==["","static"].indexOf(C.body.style.position)&&-1!==["","static"].indexOf(C.body.parentElement.style.position)||(S.page.bottom=C.body.scrollHeight-m-s,S.page.right=C.body.scrollWidth-v-n),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var e=t.cache("target-offsetparent",function(){return l(t.target)}),i=t.cache("target-offsetparent-bounds",function(){return a(e)}),o=getComputedStyle(e),n=i,s={};if(["Top","Left","Bottom","Right"].forEach(function(t){s[t.toLowerCase()]=parseFloat(o["border"+t+"Width"])}),i.right=C.body.scrollWidth-i.left-n.width+s.right,i.bottom=C.body.scrollHeight-i.top-n.height+s.bottom,S.page.top>=i.top+s.top&&S.page.bottom>=i.bottom&&S.page.left>=i.left+s.left&&S.page.right>=i.right){var r=e.scrollTop,d=e.scrollLeft;S.offset={top:S.page.top-i.top+r-s.top,left:S.page.left-i.left+d-s.left}}}(),this.move(S),this.history.unshift(S),this.history.length>3&&this.history.pop(),e&&H(),!0}}},{key:"move",value:function(t){var e=this;if(void 0!==this.element.parentNode){var i={};for(var o in t){i[o]={};for(var n in t[o]){for(var s=!1,r=0;r=0){var f=a.split(" "),v=P(f,2);p=v[0],c=v[1]}else c=p=a;var w=S(e,s);"target"!==p&&"both"!==p||(iw[3]&&"bottom"===m.top&&(i-=h,m.top="top")),"together"===p&&("top"===m.top&&("bottom"===y.top&&iw[3]&&i-(r-h)>=w[1]&&(i-=r-h,m.top="bottom",y.top="bottom")),"bottom"===m.top&&("top"===y.top&&i+r>w[3]?(i-=h,m.top="top",i-=r,y.top="bottom"):"bottom"===y.top&&iw[3]&&"top"===y.top?(i-=r,y.top="bottom"):iw[2]&&"right"===m.left&&(o-=u,m.left="left")),"together"===c&&(ow[2]&&"right"===m.left?"left"===y.left?(o-=u,m.left="left",o-=l,y.left="right"):"right"===y.left&&(o-=u,m.left="left",o+=l,y.left="left"):"center"===m.left&&(o+l>w[2]&&"left"===y.left?(o-=l,y.left="right"):ow[3]&&"top"===y.top&&(i-=r,y.top="bottom")),"element"!==c&&"both"!==c||(ow[2]&&("left"===y.left?(o-=l,y.left="right"):"center"===y.left&&(o-=l/2,y.left="right"))),"string"==typeof d?d=d.split(",").map(function(t){return t.trim()}):!0===d&&(d=["top","left","right","bottom"]),d=d||[];var b=[],T=[];i=0?(i=w[1],b.push("top")):T.push("top")),i+r>w[3]&&(d.indexOf("bottom")>=0?(i=w[3]-r,b.push("bottom")):T.push("bottom")),o=0?(o=w[0],b.push("left")):T.push("left")),o+l>w[2]&&(d.indexOf("right")>=0?(o=w[2]-l,b.push("right")):T.push("right")),b.length&&function(){var t=void 0;t=void 0!==e.options.pinnedClass?e.options.pinnedClass:e.getClass("pinned"),g.push(t),b.forEach(function(e){g.push(t+"-"+e)})}(),T.length&&function(){var t=void 0;t=void 0!==e.options.outOfBoundsClass?e.options.outOfBoundsClass:e.getClass("out-of-bounds"),g.push(t),T.forEach(function(e){g.push(t+"-"+e)})}(),(b.indexOf("left")>=0||b.indexOf("right")>=0)&&(y.left=m.left=!1),(b.indexOf("top")>=0||b.indexOf("bottom")>=0)&&(y.top=m.top=!1),m.top===n.top&&m.left===n.left&&y.top===e.attachment.top&&y.left===e.attachment.left||(e.updateAttachClasses(y,m),e.trigger("update",{attachment:y,targetAttachment:m}))}),D(function(){!1!==e.options.addTargetClasses&&v(e.target,g,f),v(e.element,g,f)}),{top:i,left:o}}});var a=(W=k.Utils).getBounds,v=W.updateClasses,D=W.defer;k.modules.push({position:function(t){var e=this,i=t.top,o=t.left,n=this.cache("element-bounds",function(){return a(e.element)}),s=n.height,r=n.width,l=this.getTargetBounds(),d=i+s,c=o+r,p=[];i<=l.bottom&&d>=l.top&&["left","right"].forEach(function(t){var e=l[t];e!==o&&e!==c||p.push(t)}),o<=l.right&&c>=l.left&&["top","bottom"].forEach(function(t){var e=l[t];e!==i&&e!==d||p.push(t)});var h=[],u=[],f=["left","top","right","bottom"];return h.push(this.getClass("abutted")),f.forEach(function(t){h.push(e.getClass("abutted")+"-"+t)}),p.length&&u.push(this.getClass("abutted")),p.forEach(function(t){u.push(e.getClass("abutted")+"-"+t)}),D(function(){!1!==e.options.addTargetClasses&&v(e.target,u,h),v(e.element,u,h)}),!0}});P=function(){function t(t,e){var i=[],o=!0,n=!1,s=void 0;try{for(var r,a=t[Symbol.iterator]();!(o=(r=a.next()).done)&&(i.push(r.value),!e||i.length!==e);o=!0);}catch(t){n=!0,s=t}finally{try{!o&&a.return&&a.return()}finally{if(n)throw s}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();return k.modules.push({position:function(t){var e=t.top,i=t.left;if(this.options.shift){var o=this.options.shift;"function"==typeof this.options.shift&&(o=this.options.shift.call(this,{top:e,left:i}));var n=void 0,s=void 0;if("string"==typeof o){(o=o.split(" "))[1]=o[1]||o[0];var r=P(o,2);n=r[0],s=r[1],n=parseFloat(n,10),s=parseFloat(s,10)}else n=o.top,s=o.left;return e+=n,i+=s,{top:e,left:i}}}}),K});var Util=function(t){function e(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function i(t){return(t[0]||t).nodeType}function o(){return{bindType:r.end,delegateType:r.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}}function n(){if(window.QUnit)return!1;var t=document.createElement("bootstrap");for(var e in a)if(void 0!==t.style[e])return{end:a[e]};return!1}function s(e){var i=this,o=!1;return t(this).one(l.TRANSITION_END,function(){o=!0}),setTimeout(function(){o||l.triggerTransitionEnd(i)},e),this}var r=!1,a={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},l={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");return e||(e=t.getAttribute("href")||"",e=/^#[a-z]/i.test(e)?e:null),e},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(e){t(e).trigger(r.end)},supportsTransitionEnd:function(){return Boolean(r)},typeCheckConfig:function(t,o,n){for(var s in n)if(n.hasOwnProperty(s)){var r=n[s],a=o[s],l=a&&i(a)?"element":e(a);if(!new RegExp(r).test(l))throw new Error(t.toUpperCase()+': Option "'+s+'" provided type "'+l+'" but expected type "'+r+'".')}}};return r=n(),t.fn.emulateTransitionEnd=s,l.supportsTransitionEnd()&&(t.event.special[l.TRANSITION_END]=o()),l}(jQuery),_createClass=function(){function t(t,e){for(var i=0;i0&&d--,40===i.which&&d
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:"0 0",constraints:[],container:!1},s={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"string",constraints:"array",container:"(string|element|boolean)"},r={TOP:"bottom center",RIGHT:"middle left",BOTTOM:"top center",LEFT:"middle right"},a={SHOW:"show",OUT:"out"},l={HIDE:"hide"+i,HIDDEN:"hidden"+i,SHOW:"show"+i,SHOWN:"shown"+i,INSERTED:"inserted"+i,CLICK:"click"+i,FOCUSIN:"focusin"+i,FOCUSOUT:"focusout"+i,MOUSEENTER:"mouseenter"+i,MOUSELEAVE:"mouseleave"+i},d={FADE:"fade",SHOW:"show"},c={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner"},p={element:!1,enabled:!1},h={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},u=function(){function o(t,e){_classCallCheck(this,o),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._isTransitioning=!1,this._tether=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}return o.prototype.enable=function(){this._isEnabled=!0},o.prototype.disable=function(){this._isEnabled=!1},o.prototype.toggleEnabled=function(){this._isEnabled=!this._isEnabled},o.prototype.toggle=function(e){if(e){var i=this.constructor.DATA_KEY,o=t(e.currentTarget).data(i);o||(o=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,o)),o._activeTrigger.click=!o._activeTrigger.click,o._isWithActiveTrigger()?o._enter(null,o):o._leave(null,o)}else{if(t(this.getTipElement()).hasClass(d.SHOW))return void this._leave(null,this);this._enter(null,this)}},o.prototype.dispose=function(){clearTimeout(this._timeout),this.cleanupTether(),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),t(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._tether=null,this.element=null,this.config=null,this.tip=null},o.prototype.show=function(){var e=this;if("none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");var i=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){if(this._isTransitioning)throw new Error("Tooltip is transitioning");t(this.element).trigger(i);var n=t.contains(this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!n)return;var s=this.getTipElement(),r=Util.getUID(this.constructor.NAME);s.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&t(s).addClass(d.FADE);var l="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,c=this._getAttachment(l),h=!1===this.config.container?document.body:t(this.config.container);t(s).data(this.constructor.DATA_KEY,this).appendTo(h),t(this.element).trigger(this.constructor.Event.INSERTED),this._tether=new Tether({attachment:c,element:s,target:this.element,classes:p,classPrefix:"bs-tether",offset:this.config.offset,constraints:this.config.constraints,addTargetClasses:!1}),Util.reflow(s),this._tether.position(),t(s).addClass(d.SHOW);var u=function(){var i=e._hoverState;e._hoverState=null,e._isTransitioning=!1,t(e.element).trigger(e.constructor.Event.SHOWN),i===a.OUT&&e._leave(null,e)};if(Util.supportsTransitionEnd()&&t(this.tip).hasClass(d.FADE))return this._isTransitioning=!0,void t(this.tip).one(Util.TRANSITION_END,u).emulateTransitionEnd(o._TRANSITION_DURATION);u()}},o.prototype.hide=function(e){var i=this,o=this.getTipElement(),n=t.Event(this.constructor.Event.HIDE);if(this._isTransitioning)throw new Error("Tooltip is transitioning");var s=function(){i._hoverState!==a.SHOW&&o.parentNode&&o.parentNode.removeChild(o),i.element.removeAttribute("aria-describedby"),t(i.element).trigger(i.constructor.Event.HIDDEN),i._isTransitioning=!1,i.cleanupTether(),e&&e()};t(this.element).trigger(n),n.isDefaultPrevented()||(t(o).removeClass(d.SHOW),this._activeTrigger[h.CLICK]=!1,this._activeTrigger[h.FOCUS]=!1,this._activeTrigger[h.HOVER]=!1,Util.supportsTransitionEnd()&&t(this.tip).hasClass(d.FADE)?(this._isTransitioning=!0,t(o).one(Util.TRANSITION_END,s).emulateTransitionEnd(150)):s(),this._hoverState="")},o.prototype.isWithContent=function(){return Boolean(this.getTitle())},o.prototype.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0]},o.prototype.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(c.TOOLTIP_INNER),this.getTitle()),e.removeClass(d.FADE+" "+d.SHOW),this.cleanupTether()},o.prototype.setElementContent=function(e,i){var o=this.config.html;"object"===(void 0===i?"undefined":_typeof(i))&&(i.nodeType||i.jquery)?o?t(i).parent().is(e)||e.empty().append(i):e.text(t(i).text()):e[o?"html":"text"](i)},o.prototype.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},o.prototype.cleanupTether=function(){this._tether&&this._tether.destroy()},o.prototype._getAttachment=function(t){return r[t.toUpperCase()]},o.prototype._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach(function(i){if("click"===i)t(e.element).on(e.constructor.Event.CLICK,e.config.selector,function(t){return e.toggle(t)});else if(i!==h.MANUAL){var o=i===h.HOVER?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,n=i===h.HOVER?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;t(e.element).on(o,e.config.selector,function(t){return e._enter(t)}).on(n,e.config.selector,function(t){return e._leave(t)})}t(e.element).closest(".modal").on("hide.bs.modal",function(){return e.hide()})}),this.config.selector?this.config=t.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},o.prototype._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",""))},o.prototype._enter=function(e,i){var o=this.constructor.DATA_KEY;(i=i||t(e.currentTarget).data(o))||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(o,i)),e&&(i._activeTrigger["focusin"===e.type?h.FOCUS:h.HOVER]=!0),t(i.getTipElement()).hasClass(d.SHOW)||i._hoverState===a.SHOW?i._hoverState=a.SHOW:(clearTimeout(i._timeout),i._hoverState=a.SHOW,i.config.delay&&i.config.delay.show?i._timeout=setTimeout(function(){i._hoverState===a.SHOW&&i.show()},i.config.delay.show):i.show())},o.prototype._leave=function(e,i){var o=this.constructor.DATA_KEY;(i=i||t(e.currentTarget).data(o))||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(o,i)),e&&(i._activeTrigger["focusout"===e.type?h.FOCUS:h.HOVER]=!1),i._isWithActiveTrigger()||(clearTimeout(i._timeout),i._hoverState=a.OUT,i.config.delay&&i.config.delay.hide?i._timeout=setTimeout(function(){i._hoverState===a.OUT&&i.hide()},i.config.delay.hide):i.hide())},o.prototype._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},o.prototype._getConfig=function(i){return(i=t.extend({},this.constructor.Default,t(this.element).data(),i)).delay&&"number"==typeof i.delay&&(i.delay={show:i.delay,hide:i.delay}),Util.typeCheckConfig(e,i,this.constructor.DefaultType),i},o.prototype._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},o._jQueryInterface=function(e){return this.each(function(){var i=t(this).data("bs.tooltip"),n="object"===(void 0===e?"undefined":_typeof(e))&&e;if((i||!/dispose|hide/.test(e))&&(i||(i=new o(this,n),t(this).data("bs.tooltip",i)),"string"==typeof e)){if(void 0===i[e])throw new Error('No method named "'+e+'"');i[e]()}})},_createClass(o,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return n}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return l}},{key:"EVENT_KEY",get:function(){return i}},{key:"DefaultType",get:function(){return s}}]),o}();return t.fn[e]=u._jQueryInterface,t.fn[e].Constructor=u,t.fn[e].noConflict=function(){return t.fn[e]=o,u._jQueryInterface},u}(jQuery),_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_createClass=function(){function t(t,e){for(var i=0;i .show, .card > .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},c=function(){function o(e,i){_classCallCheck(this,o),this._isTransitioning=!1,this._element=e,this._config=this._getConfig(i),this._triggerArray=t.makeArray(t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]')),this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}return o.prototype.toggle=function(){t(this._element).hasClass(a.SHOW)?this.hide():this.show()},o.prototype.show=function(){var e=this;if(this._isTransitioning)throw new Error("Collapse is transitioning");if(!t(this._element).hasClass(a.SHOW)){var n=void 0,s=void 0;if(this._parent&&((n=t.makeArray(t(this._parent).find(d.ACTIVES))).length||(n=null)),!(n&&(s=t(n).data(i))&&s._isTransitioning)){var l=t.Event(r.SHOW);if(t(this._element).trigger(l),!l.isDefaultPrevented()){n&&(o._jQueryInterface.call(t(n),"hide"),s||t(n).data(i,null));var c=this._getDimension();t(this._element).removeClass(a.COLLAPSE).addClass(a.COLLAPSING),this._element.style[c]=0,this._element.setAttribute("aria-expanded",!0),this._triggerArray.length&&t(this._triggerArray).removeClass(a.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var p=function(){t(e._element).removeClass(a.COLLAPSING).addClass(a.COLLAPSE).addClass(a.SHOW),e._element.style[c]="",e.setTransitioning(!1),t(e._element).trigger(r.SHOWN)};if(Util.supportsTransitionEnd()){var h="scroll"+(c[0].toUpperCase()+c.slice(1));t(this._element).one(Util.TRANSITION_END,p).emulateTransitionEnd(600),this._element.style[c]=this._element[h]+"px"}else p()}}}},o.prototype.hide=function(){var e=this;if(this._isTransitioning)throw new Error("Collapse is transitioning");if(t(this._element).hasClass(a.SHOW)){var i=t.Event(r.HIDE);if(t(this._element).trigger(i),!i.isDefaultPrevented()){var o=this._getDimension(),n=o===l.WIDTH?"offsetWidth":"offsetHeight";this._element.style[o]=this._element[n]+"px",Util.reflow(this._element),t(this._element).addClass(a.COLLAPSING).removeClass(a.COLLAPSE).removeClass(a.SHOW),this._element.setAttribute("aria-expanded",!1),this._triggerArray.length&&t(this._triggerArray).addClass(a.COLLAPSED).attr("aria-expanded",!1),this.setTransitioning(!0);var s=function(){e.setTransitioning(!1),t(e._element).removeClass(a.COLLAPSING).addClass(a.COLLAPSE).trigger(r.HIDDEN)};this._element.style[o]="",Util.supportsTransitionEnd()?t(this._element).one(Util.TRANSITION_END,s).emulateTransitionEnd(600):s()}}},o.prototype.setTransitioning=function(t){this._isTransitioning=t},o.prototype.dispose=function(){t.removeData(this._element,i),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},o.prototype._getConfig=function(i){return i=t.extend({},n,i),i.toggle=Boolean(i.toggle),Util.typeCheckConfig(e,i,s),i},o.prototype._getDimension=function(){return t(this._element).hasClass(l.WIDTH)?l.WIDTH:l.HEIGHT},o.prototype._getParent=function(){var e=this,i=t(this._config.parent)[0],n='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return t(i).find(n).each(function(t,i){e._addAriaAndCollapsedClass(o._getTargetFromElement(i),[i])}),i},o.prototype._addAriaAndCollapsedClass=function(e,i){if(e){var o=t(e).hasClass(a.SHOW);e.setAttribute("aria-expanded",o),i.length&&t(i).toggleClass(a.COLLAPSED,!o).attr("aria-expanded",o)}},o._getTargetFromElement=function(e){var i=Util.getSelectorFromElement(e);return i?t(i)[0]:null},o._jQueryInterface=function(e){return this.each(function(){var s=t(this),r=s.data(i),a=t.extend({},n,s.data(),"object"===(void 0===e?"undefined":_typeof(e))&&e);if(!r&&a.toggle&&/show|hide/.test(e)&&(a.toggle=!1),r||(r=new o(this,a),s.data(i,r)),"string"==typeof e){if(void 0===r[e])throw new Error('No method named "'+e+'"');r[e]()}})},_createClass(o,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return n}}]),o}();return t(document).on(r.CLICK_DATA_API,d.DATA_TOGGLE,function(e){e.preventDefault();var o=c._getTargetFromElement(this),n=t(o).data(i)?"toggle":t(this).data();c._jQueryInterface.call(t(o),n)}),t.fn[e]=c._jQueryInterface,t.fn[e].Constructor=c,t.fn[e].noConflict=function(){return t.fn[e]=o,c._jQueryInterface},c}(jQuery);!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){"use strict";var e=window.Slick||{};(e=function(){var e=0;return function(i,o){var n,s=this;s.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:t(i),appendDots:t(i),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,i){return t('