text: !function(t){var e=function(){var t,e,i={hidden:"visibilitychange",webkitHidden:"webkitvisibilitychange",mozHidden:"mozvisibilitychange",msHidden:"msvisibilitychange"};for(t in i)if(t in document){e=i[t];break}return function(i){return i&&document.addEventListener(e,i),!document[t]}}();t.fn.TabWindowVisibilityManager=function(i){var o={onFocusCallback:function(){},onBlurCallback:function(){}},n=t.extend(o,i),s=void 0===document.documentMode,r=window.chrome;return this.each(function(){e(function(){e()?setTimeout(function(){n.onFocusCallback()},300):n.onBlurCallback()}),s&&!r?t(window).on("focusin",function(){setTimeout(function(){n.onFocusCallback()},300)}).on("focusout",function(){n.onBlurCallback()}):window.addEventListener?(window.addEventListener("focus",function(){setTimeout(function(){n.onFocusCallback()},300)},!1),window.addEventListener("blur",function(){n.onBlurCallback()},!1)):(window.attachEvent("focus",function(){setTimeout(function(){n.onFocusCallback()},300)}),window.attachEvent("blur",function(){n.onBlurCallback()}))}),this}}(jQuery),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():e()}(this,function(){"use strict";function t(t){if(null===f){for(var e=t.length,i=0,o=document.getElementById(r),n="<ul>";e>i;)n+="<li>"+t[i]+"</li>",i++;n+="</ul>",o.innerHTML=n}else f(t)}function e(t){return t.replace(/<b[^>]*>(.*?)<\/b>/gi,function(t,e){return e}).replace(/class=".*?"|data-query-source=".*?"|dir=".*?"|rel=".*?"/gi,"")}function i(t){var e=["January","February","March","April","May","June","July","August","September","October","November","December"],i=t.getHours(),o=t.getMinutes(),n=i>=12?"PM":"AM";i%=12,i=i?i:12,o=10>o?"0"+o:o;var s=i+":"+o+" "+n;return s+" - "+t.getDate()+" "+e[t.getMonth()]+" "+t.getFullYear()}function o(t){for(var e=t.getElementsByTagName("a"),i=e.length-1;i>=0;i--)e[i].setAttribute("target","_blank")}function n(t,e){for(var i=[],o=new RegExp("(^| )"+e+"( |$)"),n=t.getElementsByTagName("*"),s=0,r=n.length;r>s;s++)o.test(n[s].className)&&i.push(n[s]);return i}function s(t){if(void 0!==t){var e=t.innerHTML.match(/data-srcset="([A-z0-9%_\.-]+)/i)[0];return decodeURIComponent(e).split('"')[1]}}var r="",a=20,l=!0,_=[],c=!1,p=!0,h=!0,u=null,d=!0,g=!0,f=null,m=!0,v=!1,y=!0,w=!0,b=null,C={fetch:function(t){void 0===t.maxTweets&&(t.maxTweets=20),void 0===t.enableLinks&&(t.enableLinks=!0),void 0===t.showUser&&(t.showUser=!0),void 0===t.showTime&&(t.showTime=!0),void 0===t.dateFunction&&(t.dateFunction="default"),void 0===t.showRetweet&&(t.showRetweet=!0),void 0===t.customCallback&&(t.customCallback=null),void 0===t.showInteraction&&(t.showInteraction=!0),void 0===t.showImages&&(t.showImages=!1),void 0===t.linksInNewWindow&&(t.linksInNewWindow=!0),void 0===t.showPermalinks&&(t.showPermalinks=!0),c?_.push(t):(c=!0,r=t.domId,a=t.maxTweets,l=t.enableLinks,h=t.showUser,p=t.showTime,g=t.showRetweet,u=t.dateFunction,f=t.customCallback,m=t.showInteraction,v=t.showImages,y=t.linksInNewWindow,w=t.showPermalinks,null!==b&&head.removeChild(b),$.ajax({url:"http://pixelmatters.com/twitter.php",success:function(t){console.log("success",t)}}).done(function(t){console.log("YO",t),C.callback(t)}).error(function(t){console.log("error",t)}))},callback:function(r){var f=document.createElement("div");f.innerHTML=r.body,"undefined"==typeof f.getElementsByClassName&&(d=!1);var b=[],T=[],x=[],$=[],E=[],O=[],I=[],z=0;if(d)for(var P=f.getElementsByClassName("timeline-Tweet");z<P.length;)E.push(P[z].getElementsByClassName("timeline-Tweet-retweetCredit").length>0?!0:!1),(!E[z]||E[z]&&g)&&(b.push(P[z].getElementsByClassName("timeline-Tweet-text")[0]),O.push(P[z].getAttribute("data-tweet-id")),T.push(P[z].getElementsByClassName("timeline-Tweet-author")[0]),x.push(P[z].getElementsByClassName("dt-updated")[0]),I.push(P[z].getElementsByClassName("timeline-Tweet-timestamp")[0].href),$.push(void 0!==P[z].getElementsByClassName("inline-media")[0]?P[z].getElementsByClassName("inline-media")[0]:void 0)),z++;else for(var P=n(f,"timeline-Tweet");z<P.length;)b.push(n(P[z],"e-entry-title")[0]),O.push(P[z].getAttribute("data-tweet-id")),T.push(n(P[z],"timeline-Tweet-author")[0]),x.push(n(P[z],"dt-updated")[0]),I.push(n(P[z],"timeline-Tweet-timestamp")[0].href),$.push(void 0!==n(P[z],"inline-media")[0]?n(P[z],"inline-media")[0]:void 0),E.push(n(P[z],"timeline-Tweet-retweetCredit").length>0?!0:!1),z++;b.length>a&&(b.splice(a,b.length-a),T.splice(a,T.length-a),x.splice(a,x.length-a),E.splice(a,E.length-a),$.splice(a,$.length-a),I.splice(a,I.length-a));for(var k=[],z=b.length,L=0;z>L;){var M=new Date(x[L].getAttribute("datetime").replace(/-/g,"/").replace("T"," ").split("+")[0]);if("string"!=typeof u){var D=x[L].getAttribute("datetime"),S=u(M,D);if(x[L].setAttribute("aria-label",S),b[L].innerText)if(d)x[L].innerText=S;else{var A=document.createElement("p"),B=document.createTextNode(S);A.appendChild(B),A.setAttribute("aria-label",S),x[L]=A}else x[L].textContent=S}var F="";if(l){if(y&&(o(b[L]),h&&o(T[L])),h){var R,N=T[L].getElementsByTagName("img")[0];R=N.getAttribute(2===window.devicePixelRatio?"data-src-2x":"data-src-1x"),N.setAttribute("src",R),F+='<div class="twitterFeed__user">'+T[L].innerHTML+"</div>",F+='<a class="hidden-xxs twitterFeed__button button button--follow" href="https://twitter.com/intent/follow?screen_name='+T[L].getElementsByClassName("TweetAuthor-screenName")[0].innerHTML.substring(1)+'" target="_blank"><svg class="pixel--twitter"><use xlink:href="images/icons.svg#pixel--twitter"></use></svg><span class="twitterFeed__button__text"> Follow</span></a>'}F+='<p class="twitterFeed__tweet">'+e(b[L].innerHTML)+"</p>",p&&(F+=w?'<time class="twitterFeed__timePosted"><a class="link link--gray" href="'+I[L]+'" target="_blank">'+i(M)+"</a></time>":'<time class="twitterFeed__timePosted">'+i(M)+"</time>")}else b[L].innerText?(h&&(F+='<p class="twitterFeed__user">'+T[L].innerText+"</p>"),F+='<p class="twitterFeed__tweet">'+b[L].innerText+"</p>",p&&(F+='<p class="twitterFeed__timePosted">'+x[L].innerText+"</p>")):(h&&(F+='<p class="twitterFeed__user">'+T[L].textContent+"</p>"),F+='<p class="twitterFeed__tweet">'+b[L].textContent+"</p>",p&&(F+='<p class="twitterFeed__timePosted">'+x[L].textContent+"</p>"));m&&(F+='<p class="twitterFeed__interact"><a class="link link--gray link--noUnderline" href="https://twitter.com/intent/tweet?in_reply_to='+O[L]+'" class="twitter_reply_icon"'+(y?' target="_blank">':">")+'<svg class="pixel--reply"><use xlink:href="images/icons.svg#pixel--reply"></use></svg></a><a class="link link--gray link--noUnderline" href="https://twitter.com/intent/retweet?tweet_id='+O[L]+'" class="twitter_retweet_icon"'+(y?' target="_blank">':">")+'<svg class="pixel--refresh"><use xlink:href="images/icons.svg#pixel--refresh"></use></svg></a><a class="link link--gray link--heart link--noUnderline" href="https://twitter.com/intent/favorite?tweet_id='+O[L]+'" class="twitter_fav_icon"'+(y?' target="_blank">':">")+'<svg class="pixel--heart"><use xlink:href="images/icons.svg#pixel--heart"></use></svg></a></p>'),v&&void 0!==$[L]&&(F+='<div class="twitterFeed__media"><img src="'+s($[L])+'" alt="Image from tweet" /></div>'),k.push(F),L++}t(k),c=!1,_.length>0&&(C.fetch(_[0]),_.splice(0,1))}};return window.twitterFetcher=C,C}),function(t){"use strict";function e(t){return RegExp("(^|\\s+)"+t+"(\\s+|$)")}function i(t,e){var i=o(t,e)?s:n;i(t,e)}var o,n,s;"classList"in document.documentElement?(o=function(t,e){return t.classList.contains(e)},n=function(t,e){t.classList.add(e)},s=function(t,e){t.classList.remove(e)}):(o=function(t,i){return e(i).test(t.className)},n=function(t,e){o(t,e)||(t.className=t.className+" "+e)},s=function(t,i){t.className=t.className.replace(e(i)," ")});var r={hasClass:o,addClass:n,removeClass:s,toggleClass:i,has:o,add:n,remove:s,toggle:i};"function"==typeof define&&define.amd?define(r):t.classie=r}(window),function(t){"use strict";var e=document.documentElement,i=function(){};e.addEventListener?i=function(t,e,i){t.addEventListener(e,i,!1)}:e.attachEvent&&(i=function(e,i,o){e[i+o]=o.handleEvent?function(){var e=t.event;e.target=e.target||e.srcElement,o.handleEvent.call(o,e)}:function(){var i=t.event;i.target=i.target||i.srcElement,o.call(e,i)},e.attachEvent("on"+i,e[i+o])});var o=function(){};e.removeEventListener?o=function(t,e,i){t.removeEventListener(e,i,!1)}:e.detachEvent&&(o=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(o){t[e+i]=void 0}});var n={bind:i,unbind:o};"function"==typeof define&&define.amd?define(n):t.eventie=n}(this),function(){"use strict";function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function i(t){return function(){return this[t].apply(this,arguments)}}var o=t.prototype;o.getListeners=function(t){var e,i,o=this._getEvents();if("object"==typeof t){e={};for(i in o)o.hasOwnProperty(i)&&t.test(i)&&(e[i]=o[i])}else e=o[t]||(o[t]=[]);return e},o.flattenListeners=function(t){var e,i=[];for(e=0;t.length>e;e+=1)i.push(t[e].listener);return i},o.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&(e={},e[t]=i),e||i},o.addListener=function(t,i){var o,n=this.getListenersAsObject(t),s="object"==typeof i;for(o in n)n.hasOwnProperty(o)&&-1===e(n[o],i)&&n[o].push(s?i:{listener:i,once:!1});return this},o.on=i("addListener"),o.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},o.once=i("addOnceListener"),o.defineEvent=function(t){return this.getListeners(t),this},o.defineEvents=function(t){for(var e=0;t.length>e;e+=1)this.defineEvent(t[e]);return this},o.removeListener=function(t,i){var o,n,s=this.getListenersAsObject(t);for(n in s)s.hasOwnProperty(n)&&(o=e(s[n],i),-1!==o&&s[n].splice(o,1));return this},o.off=i("removeListener"),o.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},o.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},o.manipulateListeners=function(t,e,i){var o,n,s=t?this.removeListener:this.addListener,r=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(o=i.length;o--;)s.call(this,e,i[o]);else for(o in e)e.hasOwnProperty(o)&&(n=e[o])&&("function"==typeof n?s.call(this,o,n):r.call(this,o,n));return this},o.removeEvent=function(t){var e,i=typeof t,o=this._getEvents();if("string"===i)delete o[t];else if("object"===i)for(e in o)o.hasOwnProperty(e)&&t.test(e)&&delete o[e];else delete this._events;return this},o.emitEvent=function(t,e){var i,o,n,s,r=this.getListenersAsObject(t);for(n in r)if(r.hasOwnProperty(n))for(o=r[n].length;o--;)i=r[n][o],s=i.listener.apply(this,e||[]),(s===this._getOnceReturnValue()||i.once===!0)&&this.removeListener(t,i.listener);return this},o.trigger=i("emitEvent"),o.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},o.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},o._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},o._getEvents=function(){return this._events||(this._events={})},"function"==typeof define&&define.amd?define(function(){return t}):"object"==typeof module&&module.exports?module.exports=t:this.EventEmitter=t}.call(this),function(t){"use strict";function e(t){if(t){if("string"==typeof o[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,n=0,s=i.length;s>n;n++)if(e=i[n]+t,"string"==typeof o[e])return e}}var i="Webkit Moz ms Ms O".split(" "),o=document.documentElement.style;"function"==typeof define&&define.amd?define(function(){return e}):t.getStyleProperty=e}(window),function(t){"use strict";function e(t){var e=parseFloat(t),i=-1===t.indexOf("%")&&!isNaN(e);return i&&e}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,i=r.length;i>e;e++){var o=r[e];t[o]=0}return t}function o(t){function o(t){if("string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var o=s(t);if("none"===o.display)return i();var l={};l.width=t.offsetWidth,l.height=t.offsetHeight;for(var _=l.isBorderBox=!(!a||!o[a]||"border-box"!==o[a]),c=0,p=r.length;p>c;c++){var h=r[c],u=o[h],d=parseFloat(u);l[h]=isNaN(d)?0:d}var g=l.paddingLeft+l.paddingRight,f=l.paddingTop+l.paddingBottom,m=l.marginLeft+l.marginRight,v=l.marginTop+l.marginBottom,y=l.borderLeftWidth+l.borderRightWidth,w=l.borderTopWidth+l.borderBottomWidth,b=_&&n,C=e(o.width);C!==!1&&(l.width=C+(b?0:g+y));var T=e(o.height);return T!==!1&&(l.height=T+(b?0:f+w)),l.innerWidth=l.width-(g+y),l.innerHeight=l.height-(f+w),l.outerWidth=l.width+m,l.outerHeight=l.height+v,l}}var n,a=t("boxSizing");return function(){if(a){var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style[a]="border-box";var i=document.body||document.documentElement;i.appendChild(t);var o=s(t);n=200===e(o.width),i.removeChild(t)}}(),o}var n=document.defaultView,s=n&&n.getComputedStyle?function(t){return n.getComputedStyle(t,null)}:function(t){return t.currentStyle},r=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define(["get-style-property/get-style-property"],o):t.getSize=o(t.getStyleProperty)}(window),function(t){"use strict";function e(t,e){for(var i in e)t[i]=e[i];return t}function i(){}function o(o,n,r,_,c){function h(t,i){this.element=t,this.options=e({},this.options),e(this.options,i),this._create()}function u(){return!1}function d(t,e){t.x=void 0!==e.pageX?e.pageX:e.clientX,t.y=void 0!==e.pageY?e.pageY:e.clientY}var g=_("transform"),f=!!_("perspective");e(h.prototype,n.prototype),h.prototype.options={},h.prototype._create=function(){this.position={},this._getPosition(),this.startPoint={x:0,y:0},this.dragPoint={x:0,y:0},this.startPosition=e({},this.position);var t=a(this.element);"relative"!==t.position&&"absolute"!==t.position&&(this.element.style.position="relative"),this.enable(),this.setHandles()},h.prototype.setHandles=function(){this.handles=this.options.handle?this.element.querySelectorAll(this.options.handle):[this.element];for(var t=0,e=this.handles.length;e>t;t++){var i=this.handles[t];r.bind(i,"mousedown",this),r.bind(i,"touchstart",this),v(i)}};var m="attachEvent"in s.documentElement,v=m?function(t){"IMG"===t.nodeName&&(t.ondragstart=u);for(var e=t.querySelectorAll("img"),i=0,o=e.length;o>i;i++){var n=e[i];n.ondragstart=u}}:i;h.prototype._getPosition=function(){var t=a(this.element),e=parseInt(t.left,10),i=parseInt(t.top,10);this.position.x=isNaN(e)?0:e,this.position.y=isNaN(i)?0:i,this._addTransformPosition(t)},h.prototype._addTransformPosition=function(t){if(g){var e=t[g];if(0===e.indexOf("matrix")){var i=e.split(","),o=0===e.indexOf("matrix3d")?12:4,n=parseInt(i[o],10),s=parseInt(i[o+1],10);this.position.x+=n,this.position.y+=s}}},h.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},h.prototype.getTouch=function(t){for(var e=0,i=t.length;i>e;e++){var o=t[e];if(o.identifier===this.pointerIdentifier)return o}},h.prototype.onmousedown=function(t){var e=t.button;e&&0!==e&&1!==e||this.dragStart(t,t)},h.prototype.ontouchstart=function(t){this.isDragging||this.dragStart(t,t.changedTouches[0])},h.prototype.dragStart=function(e,i){if(this.isEnabled){e.preventDefault?e.preventDefault():e.returnValue=!1;var n="touchstart"===e.type;this.pointerIdentifier=i.identifier,this._getPosition(),this.measureContainment(),d(this.startPoint,i),this.startPosition.x=this.position.x,this.startPosition.y=this.position.y,this.setLeftTop(),this.dragPoint.x=0,this.dragPoint.y=0,this._bindEvents({events:n?["touchmove","touchend","touchcancel"]:["mousemove","mouseup"],node:e.preventDefault?t:s}),o.add(this.element,"is-dragging"),this.isDragging=!0,this.emitEvent("dragStart",[this,e,i]),this.animate()}},h.prototype._bindEvents=function(t){for(var e=0,i=t.events.length;i>e;e++){var o=t.events[e];r.bind(t.node,o,this)}this._boundEvents=t},h.prototype._unbindEvents=function(){var t=this._boundEvents;if(t&&t.events){for(var e=0,i=t.events.length;i>e;e++){var o=t.events[e];r.unbind(t.node,o,this)}delete this._boundEvents}},h.prototype.measureContainment=function(){var t=this.options.containment;if(t){this.size=c(this.element);var e=this.element.getBoundingClientRect(),i=l(t)?t:"string"==typeof t?s.querySelector(t):this.element.parentNode;this.containerSize=c(i);var o=i.getBoundingClientRect();this.relativeStartPosition={x:e.left-o.left,y:e.top-o.top}}},h.prototype.onmousemove=function(t){this.dragMove(t,t)},h.prototype.ontouchmove=function(t){var e=this.getTouch(t.changedTouches);e&&this.dragMove(t,e)},h.prototype.dragMove=function(t,e){if(d(this.dragPoint,e),this.dragPoint.x-=this.startPoint.x,this.dragPoint.y-=this.startPoint.y,this.options.containment){var i=this.relativeStartPosition.x,o=this.relativeStartPosition.y;this.dragPoint.x=Math.max(this.dragPoint.x,-i),this.dragPoint.y=Math.max(this.dragPoint.y,-o),this.dragPoint.x=Math.min(this.dragPoint.x,this.containerSize.width-i-this.size.width),this.dragPoint.y=Math.min(this.dragPoint.y,this.containerSize.height-o-this.size.height)}this.position.x=this.startPosition.x+this.dragPoint.x,this.position.y=this.startPosition.y+this.dragPoint.y,this.emitEvent("dragMove",[this,t,e])},h.prototype.onmouseup=function(t){this.dragEnd(t,t)},h.prototype.ontouchend=function(t){var e=this.getTouch(t.changedTouches);e&&this.dragEnd(t,e)},h.prototype.dragEnd=function(t,e){this.isDragging=!1,delete this.pointerIdentifier,g&&(this.element.style[g]="",this.setLeftTop()),this._unbindEvents(),o.remove(this.element,"is-dragging"),this.emitEvent("dragEnd",[this,t,e])},h.prototype.ontouchcancel=function(t){var e=this.getTouch(t.changedTouches);this.dragEnd(t,e)},h.prototype.animate=function(){if(this.isDragging){this.positionDrag();var t=this;p(function(){t.animate()})}};var y=f?function(t,e){return"translate3d( "+t+"px, "+e+"px, 0)"}:function(t,e){return"translate( "+t+"px, "+e+"px)"};return h.prototype.setLeftTop=function(){this.element.style.left=this.position.x+"px",this.element.style.top=this.position.y+"px"},h.prototype.positionDrag=g?function(){this.element.style[g]=y(this.dragPoint.x,this.dragPoint.y)}:h.prototype.setLeftTop,h.prototype.enable=function(){this.isEnabled=!0},h.prototype.disable=function(){this.isEnabled=!1,this.isDragging&&this.dragEnd()},h}for(var n,s=t.document,r=s.defaultView,a=r&&r.getComputedStyle?function(t){return r.getComputedStyle(t,null)}:function(t){return t.currentStyle},l="object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&1===t.nodeType&&"string"==typeof t.nodeName},_=0,c="webkit moz ms o".split(" "),p=t.requestAnimationFrame,h=t.cancelAnimationFrame,u=0;c.length>u&&(!p||!h);u++)n=c[u],p=p||t[n+"RequestAnimationFrame"],h=h||t[n+"CancelAnimationFrame"]||t[n+"CancelRequestAnimationFrame"];p&&h||(p=function(e){var i=(new Date).getTime(),o=Math.max(0,16-(i-_)),n=t.setTimeout(function(){e(i+o)},o);return _=i+o,n},h=function(e){t.clearTimeout(e)}),"function"==typeof define&&define.amd?define(["classie/classie","eventEmitter/EventEmitter","eventie/eventie","get-style-property/get-style-property","get-size/get-size"],o):t.Draggabilly=o(t.classie,t.EventEmitter,t.eventie,t.getStyleProperty,t.getSize)}(window),function(t){"use strict";function e(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function i(t,i){this.container=t,this.options=e({},this.options),e(this.options,i),this.init()}!!getStyleProperty("perspective");i.prototype.options={distDragBack:200,distDragMax:450,slidingTime:450,onUpdateStack:function(){return!1}},i.prototype.init=function(){this.items=[].slice.call(this.container.children),this.itemsCount=this.items.length,this.current=0,this.slideInterval=0,this.setStackStyle(),this.itemsCount<=1||(this.initDragg(),this.initEvents(),this.initSliding())},i.prototype.initEvents=function(){var t=this;this.draggie.on("dragStart",function(e,i,o){t.onDragStart(e,i,o)}),this.draggie.on("dragMove",function(e,i,o){t.onDragMove(e,i,o)}),this.draggie.on("dragEnd",function(e,i,o){t.onDragEnd(e,i,o)})},i.prototype.setStackStyle=function(){var t=this.firstItem(),e=this.secondItem(),i=this.thirdItem();t&&(t.style.zIndex=400,classie.add(t,"isFirst"),classie.remove(t,"isDisabled"),TweenLite.set(t,{visibility:"visible"}),TweenLite.to(t,.3,{opacity:"1",x:0,y:0,z:0})),e&&(e.style.zIndex=300,classie.add(e,"isDisabled"),TweenLite.set(e,{visibility:"visible"}),TweenLite.to(e,.3,{opacity:"1",x:0,y:-30,z:-60})),i&&(i.style.zIndex=200,classie.add(i,"isDisabled"),TweenLite.set(i,{visibility:"visible"}),TweenLite.to(i,.3,{opacity:"1",x:0,y:-62,z:-120}))},i.prototype.reset=function(){this.current=this.current<this.itemsCount-1?this.current+1:0;var t=(this.firstItem(),this.secondItem(),this.thirdItem(),this);t.setStackStyle(),TweenLite.set(t.lastItem(),{left:0,top:0,x:0,y:-90,z:-180}),TweenLite.to(t.lastItem(),.3,{opacity:"1",x:0,y:-62,z:-120}),this.initDragg(),this.initEvents(),this.options.onUpdateStack(this.current)},i.prototype.moveAway=function(t){var e=t.element,i=this.getTranslateVal(t),o=this;this.disableDragg(),o.reset(),TweenLite.to(e,.3,{opacity:0,x:i.x,y:i.y,z:0,onComplete:function(){TweenLite.set(e,{left:0,top:0,x:0,y:-90,z:-180,visibility:"hidden"}),e.style.zIndex=-100,classie.remove(e,"isFirst")}})},i.prototype.moveBack=function(t){var e=this.secondItem(),i=this.thirdItem();TweenLite.to(t.element,.3,{left:0,top:0,x:0,y:0,z:0}),e&&TweenLite.to(e,.3,{x:0,y:-30,z:-60}),i&&TweenLite.to(i,.3,{x:0,y:-62,z:-120})},i.prototype.onDragStart=function(){clearInterval(this.slideInterval)},i.prototype.onDragMove=function(t){clearInterval(this.slideInterval),this.outOfBounds(t)&&this.moveAway(t)},i.prototype.onDragEnd=function(t){this.initSliding(),this.outOfBounds(t)||(this.outOfSight(t)?this.moveAway(t):this.moveBack(t))},i.prototype.initDragg=function(){this.draggie=new Draggabilly(this.items[this.current],{handle:".twitterFeed__user,.twitterFeed__tweet, .twitterFeed__timePosted, .twitterFeed__item__drag-area"})},i.prototype.disableDragg=function(){this.draggie.disable()},i.prototype.initSliding=function(){var t=this;this.slideInterval=setInterval(function(){t.nextItem()},this.options.slidingTime)},i.prototype.nextItem=function(){var t=this.firstItem(),e=this;return this.isAnimating?!1:(t.style.zIndex=500,this.isAnimating=!0,this.disableDragg(),this.reset(),void TweenLite.to(t,.3,{opacity:0,x:0,y:32,z:360,onComplete:function(){TweenLite.set(t,{x:0,y:-94,z:-180,visibility:"hidden"}),t.style.zIndex=-100,e.isAnimating=!1}}))},i.prototype.outOfBounds=function(t){return Math.abs(t.position.x)>this.options.distDragMax||Math.abs(t.position.y)>this.options.distDragMax},i.prototype.outOfSight=function(t){return Math.abs(t.position.x)>this.options.distDragBack||Math.abs(t.position.y)>this.options.distDragBack},i.prototype.getTranslateVal=function(t){var e=Math.sqrt(Math.pow(t.position.x,2)+Math.pow(t.position.y,2)),i=Math.asin(Math.abs(t.position.y)/e)/(Math.PI/180),o=e+this.options.distDragBack,n=Math.cos(i*(Math.PI/180))*o,s=Math.sin(i*(Math.PI/180))*o,r=n-Math.abs(t.position.x),a=s-Math.abs(t.position.y);return{x:t.position.x>0?r:-1*r,y:t.position.y>0?a:-1*a}},i.prototype.firstItem=function(){return this.items[this.current]},i.prototype.secondItem=function(){return this.itemsCount>=2?this.current+1<this.itemsCount?this.items[this.current+1]:this.items[Math.abs(this.itemsCount-(this.current+1))]:void 0},i.prototype.thirdItem=function(){return this.itemsCount>=3?this.current+2<this.itemsCount?this.items[this.current+2]:this.items[Math.abs(this.itemsCount-(this.current+2))]:void 0},i.prototype.lastItem=function(){return this.itemsCount>=3?this.thirdItem():this.secondItem()},t.SlidingStack=i}(window),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(this,function(t){function e(t){this.$container,this.constraints=null,this.__$tooltip,this.__init(t)}function i(e,i){var o=!0;return t.each(e,function(t){return void 0===i[t]||e[t]!==i[t]?(o=!1,!1):void 0}),o}function o(e){var i=e.attr("id"),o=i?a.window.document.getElementById(i):null;return o?o===e[0]:t.contains(a.window.document.body,e[0])}function n(){if(!r)return!1;var t=r.document.body||r.document.documentElement,e=t.style,i="transition",o=["Moz","Webkit","Khtml","O","ms"];if("string"==typeof e[i])return!0;i=i.charAt(0).toUpperCase()+i.substr(1);for(var n=0;n<o.length;n++)if("string"==typeof e[o[n]+i])return!0;return!1}var s={animation:"fade",animationDuration:350,content:null,contentAsHTML:!1,contentCloning:!1,debug:!0,delay:300,delayTouch:[300,500],functionInit:null,functionBefore:null,functionReady:null,functionAfter:null,functionFormat:null,IEmin:6,interactive:!1,multiple:!1,parent:"body",plugins:["sideTip"],repositionOnScroll:!1,restoration:"none",selfDestruction:!0,theme:[],timer:0,trackerInterval:500,trackOrigin:!1,trackTooltip:!1,trigger:"hover",triggerClose:{click:!1,mouseleave:!1,originClick:!1,scroll:!1,tap:!1,touchleave:!1},triggerOpen:{click:!1,mouseenter:!1,tap:!1,touchstart:!1},updateAnimation:"rotate",zIndex:9999999},r="undefined"!=typeof window?window:null,a={hasTouchCapability:!(!r||!("ontouchstart"in r||r.DocumentTouch&&r.document instanceof r.DocumentTouch||r.navigator.maxTouchPoints)),hasTransitions:n(),IE:!1,semVer:"4.1.2",window:r},l=function(){this.__$emitterPrivate=t({}),this.__$emitterPublic=t({}),this.__instancesLatestArr=[],this.__plugins={},this._env=a};l.prototype={__bridge:function(e,i,o){if(!i[o]){var n=function(){};n.prototype=e;var r=new n;r.__init&&r.__init(i),t.each(e,function(t){0!=t.indexOf("__")&&(i[t]?s.debug&&console.log("The "+t+" method of the "+o+" plugin conflicts with another plugin or native methods"):(i[t]=function(){return r[t].apply(r,Array.prototype.slice.apply(arguments))},i[t].bridged=r))}),i[o]=r}return this},__setWindow:function(t){return a.window=t,this},_getRuler:function(t){return new e(t)},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_plugin:function(e){var i=this;if("string"==typeof e){var o=e,n=null;return o.indexOf(".")>0?n=i.__plugins[o]:t.each(i.__plugins,function(t,e){return e.name.substring(e.name.length-o.length-1)=="."+o?(n=e,!1):void 0}),n}if(e.name.indexOf(".")<0)throw new Error("Plugins must be namespaced");return i.__plugins[e.name]=e,e.core&&i.__bridge(e.core,i,e.name),this},_trigger:function(){var t=Array.prototype.slice.apply(arguments);return"string"==typeof t[0]&&(t[0]={type:t[0]}),this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,t),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,t),this},instances:function(e){var i=[],o=e||".tooltipstered";return t(o).each(function(){var e=t(this),o=e.data("tooltipster-ns");o&&t.each(o,function(t,o){i.push(e.data(o))})}),i},instancesLatest:function(){return this.__instancesLatestArr},off:function(){return this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},origins:function(e){var i=e?e+" ":"";return t(i+".tooltipstered").toArray()},setDefaults:function(e){return t.extend(s,e),this},triggerHandler:function(){return this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},t.tooltipster=new l,t.Tooltipster=function(e,i){this.__callbacks={close:[],open:[]},this.__closingTime,this.__Content,this.__contentBcr,this.__destroyed=!1,this.__destroying=!1,this.__$emitterPrivate=t({}),this.__$emitterPublic=t({}),this.__enabled=!0,this.__garbageCollector,this.__Geometry,this.__lastPosition,this.__namespace="tooltipster-"+Math.round(1e6*Math.random()),this.__options,this.__$originParents,this.__pointerIsOverOrigin=!1,this.__previousThemes=[],this.__state="closed",this.__timeouts={close:[],open:null},this.__touchEvents=[],this.__tracker=null,this._$origin,this._$tooltip,this.__init(e,i)},t.Tooltipster.prototype={__init:function(e,i){var o=this;if(o._$origin=t(e),o.__options=t.extend(!0,{},s,i),o.__optionsFormat(),!a.IE||a.IE>=o.__options.IEmin){var n=null;if(void 0===o._$origin.data("tooltipster-initialTitle")&&(n=o._$origin.attr("title"),void 0===n&&(n=null),o._$origin.data("tooltipster-initialTitle",n)),null!==o.__options.content)o.__contentSet(o.__options.content);else{var r,l=o._$origin.attr("data-tooltip-content");l&&(r=t(l)),o.__contentSet(r&&r[0]?r.first():n)}o._$origin.removeAttr("title").addClass("tooltipstered"),o.__prepareOrigin(),o.__prepareGC(),t.each(o.__options.plugins,function(t,e){o._plug(e)}),a.hasTouchCapability&&t("body").on("touchmove."+o.__namespace+"-triggerOpen",function(t){o._touchRecordEvent(t)}),o._on("created",function(){o.__prepareTooltip()})._on("repositioned",function(t){o.__lastPosition=t.position})}else o.__options.disabled=!0},__contentInsert:function(){var t=this,e=t._$tooltip.find(".tooltipster-content"),i=t.__Content,o=function(t){i=t};return t._trigger({type:"format",content:t.__Content,format:o}),t.__options.functionFormat&&(i=t.__options.functionFormat.call(t,t,{origin:t._$origin[0]},t.__Content)),"string"!=typeof i||t.__options.contentAsHTML?e.empty().append(i):e.text(i),t},__contentSet:function(e){return e instanceof t&&this.__options.contentCloning&&(e=e.clone(!0)),this.__Content=e,this._trigger({type:"updated",content:e}),this},__destroyError:function(){throw new Error("This tooltip has been destroyed and cannot execute your method call.")},__geometry:function(){var e=this,i=e._$origin,o=e._$origin.is("area");if(o){var n=e._$origin.parent().attr("name");i=t('img[usemap="#'+n+'"]')}var s=i[0].getBoundingClientRect(),r=t(a.window.document),l=t(a.window),_=i,c={available:{document:null,window:null},document:{size:{height:r.height(),width:r.width()}},window:{scroll:{left:a.window.scrollX||a.window.document.documentElement.scrollLeft,top:a.window.scrollY||a.window.document.documentElement.scrollTop},size:{height:l.height(),width:l.width()}},origin:{fixedLineage:!1,offset:{},size:{height:s.bottom-s.top,width:s.right-s.left},usemapImage:o?i[0]:null,windowOffset:{bottom:s.bottom,left:s.left,right:s.right,top:s.top}}};if(o){var p=e._$origin.attr("shape"),h=e._$origin.attr("coords");if(h&&(h=h.split(","),t.map(h,function(t,e){h[e]=parseInt(t)})),"default"!=p)switch(p){case"circle":var u=h[0],d=h[1],g=h[2],f=d-g,m=u-g;c.origin.size.height=2*g,c.origin.size.width=c.origin.size.height,c.origin.windowOffset.left+=m,c.origin.windowOffset.top+=f;break;case"rect":var v=h[0],y=h[1],w=h[2],b=h[3];c.origin.size.height=b-y,c.origin.size.width=w-v,c.origin.windowOffset.left+=v,c.origin.windowOffset.top+=y;break;case"poly":for(var C=0,T=0,x=0,$=0,E="even",O=0;O<h.length;O++){var I=h[O];"even"==E?(I>x&&(x=I,0===O&&(C=x)),C>I&&(C=I),E="odd"):(I>$&&($=I,1==O&&(T=$)),T>I&&(T=I),E="even")}c.origin.size.height=$-T,c.origin.size.width=x-C,c.origin.windowOffset.left+=C,c.origin.windowOffset.top+=T}}var z=function(t){c.origin.size.height=t.height,c.origin.windowOffset.left=t.left,c.origin.windowOffset.top=t.top,c.origin.size.width=t.width};for(e._trigger({type:"geometry",edit:z,geometry:{height:c.origin.size.height,left:c.origin.windowOffset.left,top:c.origin.windowOffset.top,width:c.origin.size.width}}),c.origin.windowOffset.right=c.origin.windowOffset.left+c.origin.size.width,c.origin.windowOffset.bottom=c.origin.windowOffset.top+c.origin.size.height,c.origin.offset.left=c.origin.windowOffset.left+a.window.scrollX,c.origin.offset.top=c.origin.windowOffset.top+a.window.scrollY,c.origin.offset.bottom=c.origin.offset.top+c.origin.size.height,c.origin.offset.right=c.origin.offset.left+c.origin.size.width,c.available.document={bottom:{height:c.document.size.height-c.origin.offset.bottom,width:c.document.size.width},left:{height:c.document.size.height,width:c.origin.offset.left},right:{height:c.document.size.height,width:c.document.size.width-c.origin.offset.right},top:{height:c.origin.offset.top,width:c.document.size.width}},c.available.window={bottom:{height:Math.max(c.window.size.height-Math.max(c.origin.windowOffset.bottom,0),0),width:c.window.size.width},left:{height:c.window.size.height,width:Math.max(c.origin.windowOffset.left,0)},right:{height:c.window.size.height,width:Math.max(c.window.size.width-Math.max(c.origin.windowOffset.right,0),0)},top:{height:Math.max(c.origin.windowOffset.top,0),width:c.window.size.width}};"html"!=_[0].tagName.toLowerCase();){if("fixed"==_.css("position")){c.origin.fixedLineage=!0;
  break}_=_.parent()}return c},__optionsFormat:function(){return"number"==typeof this.__options.animationDuration&&(this.__options.animationDuration=[this.__options.animationDuration,this.__options.animationDuration]),"number"==typeof this.__options.delay&&(this.__options.delay=[this.__options.delay,this.__options.delay]),"number"==typeof this.__options.delayTouch&&(this.__options.delayTouch=[this.__options.delayTouch,this.__options.delayTouch]),"string"==typeof this.__options.theme&&(this.__options.theme=[this.__options.theme]),"string"==typeof this.__options.parent&&(this.__options.parent=t(this.__options.parent)),"hover"==this.__options.trigger?(this.__options.triggerOpen={mouseenter:!0,touchstart:!0},this.__options.triggerClose={mouseleave:!0,originClick:!0,touchleave:!0}):"click"==this.__options.trigger&&(this.__options.triggerOpen={click:!0,tap:!0},this.__options.triggerClose={click:!0,tap:!0}),this._trigger("options"),this},__prepareGC:function(){var e=this;return e.__options.selfDestruction?e.__garbageCollector=setInterval(function(){var i=(new Date).getTime();e.__touchEvents=t.grep(e.__touchEvents,function(t){return i-t.time>6e4}),o(e._$origin)||e.destroy()},2e4):clearInterval(e.__garbageCollector),e},__prepareOrigin:function(){var t=this;if(t._$origin.off("."+t.__namespace+"-triggerOpen"),a.hasTouchCapability&&t._$origin.on("touchstart."+t.__namespace+"-triggerOpen touchend."+t.__namespace+"-triggerOpen touchcancel."+t.__namespace+"-triggerOpen",function(e){t._touchRecordEvent(e)}),t.__options.triggerOpen.click||t.__options.triggerOpen.tap&&a.hasTouchCapability){var e="";t.__options.triggerOpen.click&&(e+="click."+t.__namespace+"-triggerOpen "),t.__options.triggerOpen.tap&&a.hasTouchCapability&&(e+="touchend."+t.__namespace+"-triggerOpen"),t._$origin.on(e,function(e){t._touchIsMeaningfulEvent(e)&&t._open(e)})}if(t.__options.triggerOpen.mouseenter||t.__options.triggerOpen.touchstart&&a.hasTouchCapability){var e="";t.__options.triggerOpen.mouseenter&&(e+="mouseenter."+t.__namespace+"-triggerOpen "),t.__options.triggerOpen.touchstart&&a.hasTouchCapability&&(e+="touchstart."+t.__namespace+"-triggerOpen"),t._$origin.on(e,function(e){(t._touchIsTouchEvent(e)||!t._touchIsEmulatedEvent(e))&&(t.__pointerIsOverOrigin=!0,t._openShortly(e))})}if(t.__options.triggerClose.mouseleave||t.__options.triggerClose.touchleave&&a.hasTouchCapability){var e="";t.__options.triggerClose.mouseleave&&(e+="mouseleave."+t.__namespace+"-triggerOpen "),t.__options.triggerClose.touchleave&&a.hasTouchCapability&&(e+="touchend."+t.__namespace+"-triggerOpen touchcancel."+t.__namespace+"-triggerOpen"),t._$origin.on(e,function(e){t._touchIsMeaningfulEvent(e)&&(t.__pointerIsOverOrigin=!1)})}return t},__prepareTooltip:function(){var e=this,i=e.__options.interactive?"auto":"";return e._$tooltip.attr("id",e.__namespace).css({"pointer-events":i,zIndex:e.__options.zIndex}),t.each(e.__previousThemes,function(t,i){e._$tooltip.removeClass(i)}),t.each(e.__options.theme,function(t,i){e._$tooltip.addClass(i)}),e.__previousThemes=t.merge([],e.__options.theme),e},__scrollHandler:function(e){var i=this;if(i.__options.triggerClose.scroll)i._close(e);else{if(e.target===a.window.document)i.__Geometry.origin.fixedLineage||i.__options.repositionOnScroll&&i.reposition(e);else{var o=i.__geometry(),n=!1;if("fixed"!=i._$origin.css("position")&&i.__$originParents.each(function(e,i){var s=t(i),r=s.css("overflow-x"),a=s.css("overflow-y");if("visible"!=r||"visible"!=a){var l=i.getBoundingClientRect();if("visible"!=r&&(o.origin.windowOffset.left<l.left||o.origin.windowOffset.right>l.right))return n=!0,!1;if("visible"!=a&&(o.origin.windowOffset.top<l.top||o.origin.windowOffset.bottom>l.bottom))return n=!0,!1}return"fixed"==s.css("position")?!1:void 0}),n)i._$tooltip.css("visibility","hidden");else if(i._$tooltip.css("visibility","visible"),i.__options.repositionOnScroll)i.reposition(e);else{var s=o.origin.offset.left-i.__Geometry.origin.offset.left,r=o.origin.offset.top-i.__Geometry.origin.offset.top;i._$tooltip.css({left:i.__lastPosition.coord.left+s,top:i.__lastPosition.coord.top+r})}}i._trigger({type:"scroll",event:e})}return i},__stateSet:function(t){return this.__state=t,this._trigger({type:"state",state:t}),this},__timeoutsClear:function(){return clearTimeout(this.__timeouts.open),this.__timeouts.open=null,t.each(this.__timeouts.close,function(t,e){clearTimeout(e)}),this.__timeouts.close=[],this},__trackerStart:function(){var t=this,e=t._$tooltip.find(".tooltipster-content");return t.__options.trackTooltip&&(t.__contentBcr=e[0].getBoundingClientRect()),t.__tracker=setInterval(function(){if(o(t._$origin)&&o(t._$tooltip)){if(t.__options.trackOrigin){var n=t.__geometry(),s=!1;i(n.origin.size,t.__Geometry.origin.size)&&(t.__Geometry.origin.fixedLineage?i(n.origin.windowOffset,t.__Geometry.origin.windowOffset)&&(s=!0):i(n.origin.offset,t.__Geometry.origin.offset)&&(s=!0)),s||(t.__options.triggerClose.mouseleave?t._close():t.reposition())}if(t.__options.trackTooltip){var r=e[0].getBoundingClientRect();(r.height!==t.__contentBcr.height||r.width!==t.__contentBcr.width)&&(t.reposition(),t.__contentBcr=r)}}else t._close()},t.__options.trackerInterval),t},_close:function(e,i){var o=this,n=!0;if(o._trigger({type:"close",event:e,stop:function(){n=!1}}),n||o.__destroying){i&&o.__callbacks.close.push(i),o.__callbacks.open=[],o.__timeoutsClear();var s=function(){t.each(o.__callbacks.close,function(t,i){i.call(o,o,{event:e,origin:o._$origin[0]})}),o.__callbacks.close=[]};if("closed"!=o.__state){var r=!0,l=new Date,_=l.getTime(),c=_+o.__options.animationDuration[1];if("disappearing"==o.__state&&c>o.__closingTime&&(r=!1),r){o.__closingTime=c,"disappearing"!=o.__state&&o.__stateSet("disappearing");var p=function(){clearInterval(o.__tracker),o._trigger({type:"closing",event:e}),o._$tooltip.off("."+o.__namespace+"-triggerClose").removeClass("tooltipster-dying"),t(a.window).off("."+o.__namespace+"-triggerClose"),o.__$originParents.each(function(e,i){t(i).off("scroll."+o.__namespace+"-triggerClose")}),o.__$originParents=null,t("body").off("."+o.__namespace+"-triggerClose"),o._$origin.off("."+o.__namespace+"-triggerClose"),o._off("dismissable"),o.__stateSet("closed"),o._trigger({type:"after",event:e}),o.__options.functionAfter&&o.__options.functionAfter.call(o,o,{event:e}),s()};a.hasTransitions?(o._$tooltip.css({"-moz-animation-duration":o.__options.animationDuration[1]+"ms","-ms-animation-duration":o.__options.animationDuration[1]+"ms","-o-animation-duration":o.__options.animationDuration[1]+"ms","-webkit-animation-duration":o.__options.animationDuration[1]+"ms","animation-duration":o.__options.animationDuration[1]+"ms","transition-duration":o.__options.animationDuration[1]+"ms"}),o._$tooltip.clearQueue().removeClass("tooltipster-show").addClass("tooltipster-dying"),o.__options.animationDuration[1]>0&&o._$tooltip.delay(o.__options.animationDuration[1]),o._$tooltip.queue(p)):o._$tooltip.stop().fadeOut(o.__options.animationDuration[1],p)}}else s()}return o},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_open:function(e,i){var n=this;if(!n.__destroying&&o(n._$origin)&&n.__enabled){var s=!0;if("closed"==n.__state&&(n._trigger({type:"before",event:e,stop:function(){s=!1}}),s&&n.__options.functionBefore&&(s=n.__options.functionBefore.call(n,n,{event:e,origin:n._$origin[0]}))),s!==!1&&null!==n.__Content){i&&n.__callbacks.open.push(i),n.__callbacks.close=[],n.__timeoutsClear();var r,l=function(){"stable"!=n.__state&&n.__stateSet("stable"),t.each(n.__callbacks.open,function(t,e){e.call(n,n,{origin:n._$origin[0],tooltip:n._$tooltip[0]})}),n.__callbacks.open=[]};if("closed"!==n.__state)r=0,"disappearing"===n.__state?(n.__stateSet("appearing"),a.hasTransitions?(n._$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-show"),n.__options.animationDuration[0]>0&&n._$tooltip.delay(n.__options.animationDuration[0]),n._$tooltip.queue(l)):n._$tooltip.stop().fadeIn(l)):"stable"==n.__state&&l();else{if(n.__stateSet("appearing"),r=n.__options.animationDuration[0],n.__contentInsert(),n.reposition(e,!0),a.hasTransitions?(n._$tooltip.addClass("tooltipster-"+n.__options.animation).addClass("tooltipster-initial").css({"-moz-animation-duration":n.__options.animationDuration[0]+"ms","-ms-animation-duration":n.__options.animationDuration[0]+"ms","-o-animation-duration":n.__options.animationDuration[0]+"ms","-webkit-animation-duration":n.__options.animationDuration[0]+"ms","animation-duration":n.__options.animationDuration[0]+"ms","transition-duration":n.__options.animationDuration[0]+"ms"}),setTimeout(function(){"closed"!=n.__state&&(n._$tooltip.addClass("tooltipster-show").removeClass("tooltipster-initial"),n.__options.animationDuration[0]>0&&n._$tooltip.delay(n.__options.animationDuration[0]),n._$tooltip.queue(l))},0)):n._$tooltip.css("display","none").fadeIn(n.__options.animationDuration[0],l),n.__trackerStart(),t(a.window).on("resize."+n.__namespace+"-triggerClose",function(t){n.reposition(t)}).on("scroll."+n.__namespace+"-triggerClose",function(t){n.__scrollHandler(t)}),n.__$originParents=n._$origin.parents(),n.__$originParents.each(function(e,i){t(i).on("scroll."+n.__namespace+"-triggerClose",function(t){n.__scrollHandler(t)})}),n.__options.triggerClose.mouseleave||n.__options.triggerClose.touchleave&&a.hasTouchCapability){n._on("dismissable",function(t){t.dismissable?t.delay?(h=setTimeout(function(){n._close(t.event)},t.delay),n.__timeouts.close.push(h)):n._close(t):clearTimeout(h)});var _=n._$origin,c="",p="",h=null;n.__options.interactive&&(_=_.add(n._$tooltip)),n.__options.triggerClose.mouseleave&&(c+="mouseenter."+n.__namespace+"-triggerClose ",p+="mouseleave."+n.__namespace+"-triggerClose "),n.__options.triggerClose.touchleave&&a.hasTouchCapability&&(c+="touchstart."+n.__namespace+"-triggerClose",p+="touchend."+n.__namespace+"-triggerClose touchcancel."+n.__namespace+"-triggerClose"),_.on(p,function(t){if(n._touchIsTouchEvent(t)||!n._touchIsEmulatedEvent(t)){var e="mouseleave"==t.type?n.__options.delay:n.__options.delayTouch;n._trigger({delay:e[1],dismissable:!0,event:t,type:"dismissable"})}}).on(c,function(t){(n._touchIsTouchEvent(t)||!n._touchIsEmulatedEvent(t))&&n._trigger({dismissable:!1,event:t,type:"dismissable"})})}n.__options.triggerClose.originClick&&n._$origin.on("click."+n.__namespace+"-triggerClose",function(t){n._touchIsTouchEvent(t)||n._touchIsEmulatedEvent(t)||n._close(t)}),(n.__options.triggerClose.click||n.__options.triggerClose.tap&&a.hasTouchCapability)&&setTimeout(function(){if("closed"!=n.__state){var e="";n.__options.triggerClose.click&&(e+="click."+n.__namespace+"-triggerClose "),n.__options.triggerClose.tap&&a.hasTouchCapability&&(e+="touchend."+n.__namespace+"-triggerClose"),t("body").on(e,function(e){n._touchIsMeaningfulEvent(e)&&(n._touchRecordEvent(e),n.__options.interactive&&t.contains(n._$tooltip[0],e.target)||n._close(e))}),n.__options.triggerClose.tap&&a.hasTouchCapability&&t("body").on("touchstart."+n.__namespace+"-triggerClose",function(t){n._touchRecordEvent(t)})}},0),n._trigger("ready"),n.__options.functionReady&&n.__options.functionReady.call(n,n,{origin:n._$origin[0],tooltip:n._$tooltip[0]})}if(n.__options.timer>0){var h=setTimeout(function(){n._close()},n.__options.timer+r);n.__timeouts.close.push(h)}}}return n},_openShortly:function(t){var e=this,i=!0;if("stable"!=e.__state&&"appearing"!=e.__state&&!e.__timeouts.open&&(e._trigger({type:"start",event:t,stop:function(){i=!1}}),i)){var o=0==t.type.indexOf("touch")?e.__options.delayTouch:e.__options.delay;o[0]?e.__timeouts.open=setTimeout(function(){e.__timeouts.open=null,e.__pointerIsOverOrigin&&e._touchIsMeaningfulEvent(t)?(e._trigger("startend"),e._open(t)):e._trigger("startcancel")},o[0]):(e._trigger("startend"),e._open(t))}return e},_optionsExtract:function(e,i){var o=this,n=t.extend(!0,{},i),s=o.__options[e];return s||(s={},t.each(i,function(t){var e=o.__options[t];void 0!==e&&(s[t]=e)})),t.each(n,function(e,i){void 0!==s[e]&&("object"!=typeof i||i instanceof Array||null==i||"object"!=typeof s[e]||s[e]instanceof Array||null==s[e]?n[e]=s[e]:t.extend(n[e],s[e]))}),n},_plug:function(e){var i=t.tooltipster._plugin(e);if(!i)throw new Error('The "'+e+'" plugin is not defined');return i.instance&&t.tooltipster.__bridge(i.instance,this,i.name),this},_touchIsEmulatedEvent:function(t){for(var e=!1,i=(new Date).getTime(),o=this.__touchEvents.length-1;o>=0;o--){var n=this.__touchEvents[o];if(!(i-n.time<500))break;n.target===t.target&&(e=!0)}return e},_touchIsMeaningfulEvent:function(t){return this._touchIsTouchEvent(t)&&!this._touchSwiped(t.target)||!this._touchIsTouchEvent(t)&&!this._touchIsEmulatedEvent(t)},_touchIsTouchEvent:function(t){return 0==t.type.indexOf("touch")},_touchRecordEvent:function(t){return this._touchIsTouchEvent(t)&&(t.time=(new Date).getTime(),this.__touchEvents.push(t)),this},_touchSwiped:function(t){for(var e=!1,i=this.__touchEvents.length-1;i>=0;i--){var o=this.__touchEvents[i];if("touchmove"==o.type){e=!0;break}if("touchstart"==o.type&&t===o.target)break}return e},_trigger:function(){var e=Array.prototype.slice.apply(arguments);return"string"==typeof e[0]&&(e[0]={type:e[0]}),e[0].instance=this,e[0].origin=this._$origin?this._$origin[0]:null,e[0].tooltip=this._$tooltip?this._$tooltip[0]:null,this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,e),t.tooltipster._trigger.apply(t.tooltipster,e),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,e),this},_unplug:function(e){var i=this;if(i[e]){var o=t.tooltipster._plugin(e);o.instance&&t.each(o.instance,function(t){i[t]&&i[t].bridged===i[e]&&delete i[t]}),i[e].__destroy&&i[e].__destroy(),delete i[e]}return i},close:function(t){return this.__destroyed?this.__destroyError():this._close(null,t),this},content:function(t){var e=this;if(void 0===t)return e.__Content;if(e.__destroyed)e.__destroyError();else if(e.__contentSet(t),null!==e.__Content){if("closed"!==e.__state&&(e.__contentInsert(),e.reposition(),e.__options.updateAnimation))if(a.hasTransitions){var i=e.__options.updateAnimation;e._$tooltip.addClass("tooltipster-update-"+i),setTimeout(function(){"closed"!=e.__state&&e._$tooltip.removeClass("tooltipster-update-"+i)},1e3)}else e._$tooltip.fadeTo(200,.5,function(){"closed"!=e.__state&&e._$tooltip.fadeTo(200,1)})}else e._close();return e},destroy:function(){var e=this;return e.__destroyed?e.__destroyError():e.__destroying||(e.__destroying=!0,e._close(null,function(){e._trigger("destroy"),e.__destroying=!1,e.__destroyed=!0,e._$origin.removeData(e.__namespace).off("."+e.__namespace+"-triggerOpen"),t("body").off("."+e.__namespace+"-triggerOpen");var i=e._$origin.data("tooltipster-ns");if(i)if(1===i.length){var o=null;"previous"==e.__options.restoration?o=e._$origin.data("tooltipster-initialTitle"):"current"==e.__options.restoration&&(o="string"==typeof e.__Content?e.__Content:t("<div></div>").append(e.__Content).html()),o&&e._$origin.attr("title",o),e._$origin.removeClass("tooltipstered"),e._$origin.removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else i=t.grep(i,function(t){return t!==e.__namespace}),e._$origin.data("tooltipster-ns",i);e._trigger("destroyed"),e._off(),e.off(),e.__Content=null,e.__$emitterPrivate=null,e.__$emitterPublic=null,e.__options.parent=null,e._$origin=null,e._$tooltip=null,t.tooltipster.__instancesLatestArr=t.grep(t.tooltipster.__instancesLatestArr,function(t){return e!==t}),clearInterval(e.__garbageCollector)})),e},disable:function(){return this.__destroyed?(this.__destroyError(),this):(this._close(),this.__enabled=!1,this)},elementOrigin:function(){return this.__destroyed?void this.__destroyError():this._$origin[0]},elementTooltip:function(){return this._$tooltip?this._$tooltip[0]:null},enable:function(){return this.__enabled=!0,this},hide:function(t){return this.close(t)},instance:function(){return this},off:function(){return this.__destroyed||this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},open:function(t){return this.__destroyed||this.__destroying?this.__destroyError():this._open(null,t),this},option:function(e,i){return void 0===i?this.__options[e]:(this.__destroyed?this.__destroyError():(this.__options[e]=i,this.__optionsFormat(),t.inArray(e,["trigger","triggerClose","triggerOpen"])>=0&&this.__prepareOrigin(),"selfDestruction"===e&&this.__prepareGC()),this)},reposition:function(t,e){var i=this;return i.__destroyed?i.__destroyError():(o(i._$tooltip)||e)&&(e||i._$tooltip.detach(),i.__Geometry=i.__geometry(),i._trigger({type:"reposition",event:t,helper:{geo:i.__Geometry}})),i},show:function(t){return this.open(t)},status:function(){return{destroyed:this.__destroyed,destroying:this.__destroying,enabled:this.__enabled,open:"closed"!==this.__state,state:this.__state}},triggerHandler:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},t.fn.tooltipster=function(){var e=Array.prototype.slice.apply(arguments),i="You are using a single HTML element as content for several tooltips. You probably want to set the contentCloning option to TRUE.";if(0===this.length)return this;if("string"==typeof e[0]){var o="#*$~&";return this.each(function(){var n=t(this).data("tooltipster-ns"),s=n?t(this).data(n[0]):null;if(!s)throw new Error("You called Tooltipster's \""+e[0]+'" method on an uninitialized element');if("function"!=typeof s[e[0]])throw new Error('Unknown method "'+e[0]+'"');this.length>1&&"content"==e[0]&&(e[1]instanceof t||"object"==typeof e[1]&&null!=e[1]&&e[1].tagName)&&!s.__options.contentCloning&&s.__options.debug&&console.log(i);var r=s[e[0]](e[1],e[2]);return r!==s||"instance"===e[0]?(o=r,!1):void 0}),"#*$~&"!==o?o:this}t.tooltipster.__instancesLatestArr=[];var n=e[0]&&void 0!==e[0].multiple,r=n&&e[0].multiple||!n&&s.multiple,a=e[0]&&void 0!==e[0].content,l=a&&e[0].content||!a&&s.content,_=e[0]&&void 0!==e[0].contentCloning,c=_&&e[0].contentCloning||!_&&s.contentCloning,p=e[0]&&void 0!==e[0].debug,h=p&&e[0].debug||!p&&s.debug;return this.length>1&&(l instanceof t||"object"==typeof l&&null!=l&&l.tagName)&&!c&&h&&console.log(i),this.each(function(){var i=!1,o=t(this),n=o.data("tooltipster-ns"),s=null;n?r?i=!0:h&&(console.log("Tooltipster: one or more tooltips are already attached to the element below. Ignoring."),console.log(this)):i=!0,i&&(s=new t.Tooltipster(this,e[0]),n||(n=[]),n.push(s.__namespace),o.data("tooltipster-ns",n),o.data(s.__namespace,s),s.__options.functionInit&&s.__options.functionInit.call(s,s,{origin:this}),s._trigger("init")),t.tooltipster.__instancesLatestArr.push(s)}),this},e.prototype={__init:function(e){this.__$tooltip=e,this.__$tooltip.css({left:0,overflow:"hidden",position:"absolute",top:0}).find(".tooltipster-content").css("overflow","auto"),this.$container=t('<div class="tooltipster-ruler"></div>').append(this.__$tooltip).appendTo("body")},__forceRedraw:function(){var t=this.__$tooltip.parent();this.__$tooltip.detach(),this.__$tooltip.appendTo(t)},constrain:function(t,e){return this.constraints={width:t,height:e},this.__$tooltip.css({display:"block",height:"",overflow:"auto",width:t}),this},destroy:function(){this.__$tooltip.detach().find(".tooltipster-content").css({display:"",overflow:""}),this.$container.remove()},free:function(){return this.constraints=null,this.__$tooltip.css({display:"",height:"",overflow:"visible",width:""}),this},measure:function(){this.__forceRedraw();var t=this.__$tooltip[0].getBoundingClientRect(),e={size:{height:t.height||t.bottom,width:t.width||t.right}};if(this.constraints){var i=this.__$tooltip.find(".tooltipster-content"),o=this.__$tooltip.outerHeight(),n=i[0].getBoundingClientRect(),s={height:o<=this.constraints.height,width:t.width<=this.constraints.width&&n.width>=i[0].scrollWidth-1};e.fits=s.height&&s.width}return a.IE&&a.IE<=11&&(e.size.width=Math.ceil(e.size.width)+1),e}};var _=navigator.userAgent.toLowerCase();-1!=_.indexOf("msie")?a.IE=parseInt(_.split("msie")[1]):-1!==_.toLowerCase().indexOf("trident")&&-1!==_.indexOf(" rv:11")?a.IE=11:-1!=_.toLowerCase().indexOf("edge/")&&(a.IE=parseInt(_.toLowerCase().split("edge/")[1]));var c="tooltipster.sideTip";return t.tooltipster._plugin({name:c,instance:{__defaults:function(){return{arrow:!0,distance:6,functionPosition:null,maxWidth:null,minIntersection:16,minWidth:0,position:null,side:"top",viewportAware:!0}},__init:function(t){var e=this;e.__instance=t,e.__namespace="tooltipster-sideTip-"+Math.round(1e6*Math.random()),e.__previousState="closed",e.__options,e.__optionsFormat(),e.__instance._on("state."+e.__namespace,function(t){"closed"==t.state?e.__close():"appearing"==t.state&&"closed"==e.__previousState&&e.__create(),e.__previousState=t.state}),e.__instance._on("options."+e.__namespace,function(){e.__optionsFormat()}),e.__instance._on("reposition."+e.__namespace,function(t){e.__reposition(t.event,t.helper)})},__close:function(){this.__instance.content()instanceof t&&this.__instance.content().detach(),this.__instance._$tooltip.remove(),this.__instance._$tooltip=null},__create:function(){var e=t('<div class="tooltipster-base tooltipster-sidetip"><div class="tooltipster-box"><div class="tooltipster-content"></div></div><div class="tooltipster-arrow"><div class="tooltipster-arrow-uncropped"><div class="tooltipster-arrow-border"></div><div class="tooltipster-arrow-background"></div></div></div></div>');this.__options.arrow||e.find(".tooltipster-box").css("margin",0).end().find(".tooltipster-arrow").hide(),this.__options.minWidth&&e.css("min-width",this.__options.minWidth+"px"),this.__options.maxWidth&&e.css("max-width",this.__options.maxWidth+"px"),this.__instance._$tooltip=e,this.__instance._trigger("created")},__destroy:function(){this.__instance._off("."+self.__namespace)},__optionsFormat:function(){var e=this;if(e.__options=e.__instance._optionsExtract(c,e.__defaults()),e.__options.position&&(e.__options.side=e.__options.position),"object"!=typeof e.__options.distance&&(e.__options.distance=[e.__options.distance]),e.__options.distance.length<4&&(void 0===e.__options.distance[1]&&(e.__options.distance[1]=e.__options.distance[0]),void 0===e.__options.distance[2]&&(e.__options.distance[2]=e.__options.distance[0]),void 0===e.__options.distance[3]&&(e.__options.distance[3]=e.__options.distance[1]),e.__options.distance={top:e.__options.distance[0],right:e.__options.distance[1],bottom:e.__options.distance[2],left:e.__options.distance[3]}),"string"==typeof e.__options.side){var i={top:"bottom",right:"left",bottom:"top",left:"right"};e.__options.side=[e.__options.side,i[e.__options.side]],"left"==e.__options.side[0]||"right"==e.__options.side[0]?e.__options.side.push("top","bottom"):e.__options.side.push("right","left")}6===t.tooltipster._env.IE&&e.__options.arrow!==!0&&(e.__options.arrow=!1)},__reposition:function(e,i){var o,n=this,s=n.__targetFind(i),r=[];n.__instance._$tooltip.detach();var a=n.__instance._$tooltip.clone(),l=t.tooltipster._getRuler(a),_=!1;switch(t.each(["window","document"],function(o,c){var p=null;if(n.__instance._trigger({container:c,helper:i,satisfied:_,takeTest:function(t){p=t},results:r,type:"positionTest"}),1==p||0!=p&&0==_&&("window"!=c||n.__options.viewportAware))for(var o=0;o<n.__options.side.length;o++){var h={horizontal:0,vertical:0},u=n.__options.side[o];"top"==u||"bottom"==u?h.vertical=n.__options.distance[u]:h.horizontal=n.__options.distance[u],n.__sideChange(a,u),t.each(["natural","constrained"],function(t,o){if(p=null,n.__instance._trigger({container:c,event:e,helper:i,mode:o,results:r,satisfied:_,side:u,takeTest:function(t){p=t},type:"positionTest"}),1==p||0!=p&&0==_){var a={container:c,distance:h,fits:null,mode:o,outerSize:null,side:u,size:null,target:s[u],whole:null},d="natural"==o?l.free():l.constrain(i.geo.available[c][u].width-h.horizontal,i.geo.available[c][u].height-h.vertical),g=d.measure();if(a.size=g.size,a.outerSize={height:g.size.height+h.vertical,width:g.size.width+h.horizontal},a.fits="natural"==o?i.geo.available[c][u].width>=a.outerSize.width&&i.geo.available[c][u].height>=a.outerSize.height?!0:!1:g.fits,"window"==c&&(a.whole=a.fits?"top"==u||"bottom"==u?i.geo.origin.windowOffset.right>=n.__options.minIntersection&&i.geo.window.size.width-i.geo.origin.windowOffset.left>=n.__options.minIntersection:i.geo.origin.windowOffset.bottom>=n.__options.minIntersection&&i.geo.window.size.height-i.geo.origin.windowOffset.top>=n.__options.minIntersection:!1),r.push(a),a.whole)_=!0;else if("natural"==a.mode&&(a.fits||a.size.width<=i.geo.available[c][u].width))return!1}})}}),n.__instance._trigger({edit:function(t){r=t},event:e,helper:i,results:r,type:"positionTested"}),r.sort(function(t,e){if(t.whole&&!e.whole)return-1;if(!t.whole&&e.whole)return 1;if(t.whole&&e.whole){var i=n.__options.side.indexOf(t.side),o=n.__options.side.indexOf(e.side);return o>i?-1:i>o?1:"natural"==t.mode?-1:1}if(t.fits&&!e.fits)return-1;if(!t.fits&&e.fits)return 1;if(t.fits&&e.fits){var i=n.__options.side.indexOf(t.side),o=n.__options.side.indexOf(e.side);return o>i?-1:i>o?1:"natural"==t.mode?-1:1}return"document"==t.container&&"bottom"==t.side&&"natural"==t.mode?-1:1}),o=r[0],o.coord={},o.side){case"left":case"right":o.coord.top=Math.floor(o.target-o.size.height/2);break;case"bottom":case"top":o.coord.left=Math.floor(o.target-o.size.width/2)}switch(o.side){case"left":o.coord.left=i.geo.origin.windowOffset.left-o.outerSize.width;break;case"right":o.coord.left=i.geo.origin.windowOffset.right+o.distance.horizontal;break;case"top":o.coord.top=i.geo.origin.windowOffset.top-o.outerSize.height;break;case"bottom":o.coord.top=i.geo.origin.windowOffset.bottom+o.distance.vertical}"window"==o.container?"top"==o.side||"bottom"==o.side?o.coord.left<0?o.coord.left=i.geo.origin.windowOffset.right-this.__options.minIntersection>=0?0:i.geo.origin.windowOffset.right-this.__options.minIntersection-1:o.coord.left>i.geo.window.size.width-o.size.width&&(o.coord.left=i.geo.origin.windowOffset.left+this.__options.minIntersection<=i.geo.window.size.width?i.geo.window.size.width-o.size.width:i.geo.origin.windowOffset.left+this.__options.minIntersection+1-o.size.width):o.coord.top<0?o.coord.top=i.geo.origin.windowOffset.bottom-this.__options.minIntersection>=0?0:i.geo.origin.windowOffset.bottom-this.__options.minIntersection-1:o.coord.top>i.geo.window.size.height-o.size.height&&(o.coord.top=i.geo.origin.windowOffset.top+this.__options.minIntersection<=i.geo.window.size.height?i.geo.window.size.height-o.size.height:i.geo.origin.windowOffset.top+this.__options.minIntersection+1-o.size.height):(o.coord.left>i.geo.window.size.width-o.size.width&&(o.coord.left=i.geo.window.size.width-o.size.width),o.coord.left<0&&(o.coord.left=0)),n.__sideChange(a,o.side),i.tooltipClone=a[0],i.tooltipParent=n.__instance.option("parent").parent[0],i.mode=o.mode,i.whole=o.whole,i.origin=n.__instance._$origin[0],i.tooltip=n.__instance._$tooltip[0],delete o.container,delete o.fits,delete o.mode,delete o.outerSize,delete o.whole,o.distance=o.distance.horizontal||o.distance.vertical;var c=t.extend(!0,{},o);if(n.__instance._trigger({edit:function(t){o=t},event:e,helper:i,position:c,type:"position"}),n.__options.functionPosition){var p=n.__options.functionPosition.call(n,n.__instance,i,c);p&&(o=p)}l.destroy();var h,u;"top"==o.side||"bottom"==o.side?(h={prop:"left",val:o.target-o.coord.left},u=o.size.width-this.__options.minIntersection):(h={prop:"top",val:o.target-o.coord.top},u=o.size.height-this.__options.minIntersection),h.val<this.__options.minIntersection?h.val=this.__options.minIntersection:h.val>u&&(h.val=u);var d;d=i.geo.origin.fixedLineage?i.geo.origin.windowOffset:{left:i.geo.origin.windowOffset.left+i.geo.window.scroll.left,top:i.geo.origin.windowOffset.top+i.geo.window.scroll.top},o.coord={left:d.left+(o.coord.left-i.geo.origin.windowOffset.left),top:d.top+(o.coord.top-i.geo.origin.windowOffset.top)},n.__sideChange(n.__instance._$tooltip,o.side),i.geo.origin.fixedLineage?n.__instance._$tooltip.css("position","fixed"):n.__instance._$tooltip.css("position",""),n.__instance._$tooltip.css({left:o.coord.left,top:o.coord.top,height:o.size.height,width:o.size.width}).find(".tooltipster-arrow").css({left:"",top:""}).css(h.prop,h.val),n.__instance._$tooltip.appendTo(n.__instance.option("parent")),n.__instance._trigger({type:"repositioned",event:e,position:o})},__sideChange:function(t,e){t.removeClass("tooltipster-bottom").removeClass("tooltipster-left").removeClass("tooltipster-right").removeClass("tooltipster-top").addClass("tooltipster-"+e)},__targetFind:function(t){var e={},i=this.__instance._$origin[0].getClientRects();if(i.length>1){var o=this.__instance._$origin.css("opacity");1==o&&(this.__instance._$origin.css("opacity",.99),i=this.__instance._$origin[0].getClientRects(),this.__instance._$origin.css("opacity",1))}if(i.length<2)e.top=Math.floor(t.geo.origin.windowOffset.left+t.geo.origin.size.width/2),e.bottom=e.top,e.left=Math.floor(t.geo.origin.windowOffset.top+t.geo.origin.size.height/2),e.right=e.left;else{var n=i[0];e.top=Math.floor(n.left+(n.right-n.left)/2),n=i.length>2?i[Math.ceil(i.length/2)-1]:i[0],e.right=Math.floor(n.top+(n.bottom-n.top)/2),n=i[i.length-1],e.bottom=Math.floor(n.left+(n.right-n.left)/2),n=i.length>2?i[Math.ceil((i.length+1)/2)-1]:i[i.length-1],e.left=Math.floor(n.top+(n.bottom-n.top)/2)}return e}}}),t});