var Base64,bd,i,bdn,stlib,_all_services,tpcCookiesEnableCheckingDone,tpcCookiesEnabledStatus,customProduct,stWidgetVersion,stButtons,stWidget,product;for(typeof Object.create!="function"&&(Object.create=function(n){function t(){}return t.prototype=n,new t}),function(n,t,i){var r={init:function(t,i){var r=this;r.$elem=n(i);r.options=n.extend({},n.fn.owlCarousel.options,r.$elem.data(),t);r.userOptions=t;r.loadContent()},loadContent:function(){function r(n){var i,r="";if(typeof t.options.jsonSuccess=="function")t.options.jsonSuccess.apply(this,[n]);else{for(i in n.owl)n.owl.hasOwnProperty(i)&&(r+=n.owl[i].item);t.$elem.html(r)}t.logIn()}var t=this,i;typeof t.options.beforeInit=="function"&&t.options.beforeInit.apply(this,[t.$elem]);typeof t.options.jsonPath=="string"?(i=t.options.jsonPath,n.getJSON(i,r)):t.logIn()},logIn:function(){var n=this;n.$elem.data("owl-originalStyles",n.$elem.attr("style"));n.$elem.data("owl-originalClasses",n.$elem.attr("class"));n.$elem.css({opacity:0});n.orignalItems=n.options.items;n.checkBrowser();n.wrapperWidth=0;n.checkVisible=null;n.setVars()},setVars:function(){var n=this;if(n.$elem.children().length===0)return!1;n.baseClass();n.eventTypes();n.$userItems=n.$elem.children();n.itemsAmount=n.$userItems.length;n.wrapItems();n.$owlItems=n.$elem.find(".owl-item");n.$owlWrapper=n.$elem.find(".owl-wrapper");n.playDirection="next";n.prevItem=0;n.prevArr=[0];n.currentItem=0;n.customEvents();n.onStartup()},onStartup:function(){var n=this;n.updateItems();n.calculateAll();n.buildControls();n.updateControls();n.response();n.moveEvents();n.stopOnHover();n.owlStatus();n.options.transitionStyle!==!1&&n.transitionTypes(n.options.transitionStyle);n.options.autoPlay===!0&&(n.options.autoPlay=5e3);n.play();n.$elem.find(".owl-wrapper").css("display","block");n.$elem.is(":visible")?n.$elem.css("opacity",1):n.watchVisibility();n.onstartup=!1;n.eachMoveUpdate();typeof n.options.afterInit=="function"&&n.options.afterInit.apply(this,[n.$elem])},eachMoveUpdate:function(){var n=this;n.options.lazyLoad===!0&&n.lazyLoad();n.options.autoHeight===!0&&n.autoHeight();n.onVisibleItems();typeof n.options.afterAction=="function"&&n.options.afterAction.apply(this,[n.$elem])},updateVars:function(){var n=this;typeof n.options.beforeUpdate=="function"&&n.options.beforeUpdate.apply(this,[n.$elem]);n.watchVisibility();n.updateItems();n.calculateAll();n.updatePosition();n.updateControls();n.eachMoveUpdate();typeof n.options.afterUpdate=="function"&&n.options.afterUpdate.apply(this,[n.$elem])},reload:function(){var n=this;t.setTimeout(function(){n.updateVars()},0)},watchVisibility:function(){var n=this;if(n.$elem.is(":visible")===!1)n.$elem.css({opacity:0}),t.clearInterval(n.autoPlayInterval),t.clearInterval(n.checkVisible);else return!1;n.checkVisible=t.setInterval(function(){n.$elem.is(":visible")&&(n.reload(),n.$elem.animate({opacity:1},200),t.clearInterval(n.checkVisible))},500)},wrapItems:function(){var n=this;n.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"><\/div>');n.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">');n.wrapperOuter=n.$elem.find(".owl-wrapper-outer");n.$elem.css("display","block")},baseClass:function(){var n=this,t=n.$elem.hasClass(n.options.baseClass),i=n.$elem.hasClass(n.options.theme);t||n.$elem.addClass(n.options.baseClass);i||n.$elem.addClass(n.options.theme)},updateItems:function(){var t=this,i,r;if(t.options.responsive===!1)return!1;if(t.options.singleItem===!0)return t.options.items=t.orignalItems=1,t.options.itemsCustom=!1,t.options.itemsDesktop=!1,t.options.itemsDesktopSmall=!1,t.options.itemsTablet=!1,t.options.itemsTabletSmall=!1,t.options.itemsMobile=!1,!1;if(i=n(t.options.responsiveBaseWidth).width(),i>(t.options.itemsDesktop[0]||t.orignalItems)&&(t.options.items=t.orignalItems),t.options.itemsCustom!==!1)for(t.options.itemsCustom.sort(function(n,t){return n[0]-t[0]}),r=0;r<t.options.itemsCustom.length;r+=1)t.options.itemsCustom[r][0]<=i&&(t.options.items=t.options.itemsCustom[r][1]);else i<=t.options.itemsDesktop[0]&&t.options.itemsDesktop!==!1&&(t.options.items=t.options.itemsDesktop[1]),i<=t.options.itemsDesktopSmall[0]&&t.options.itemsDesktopSmall!==!1&&(t.options.items=t.options.itemsDesktopSmall[1]),i<=t.options.itemsTablet[0]&&t.options.itemsTablet!==!1&&(t.options.items=t.options.itemsTablet[1]),i<=t.options.itemsTabletSmall[0]&&t.options.itemsTabletSmall!==!1&&(t.options.items=t.options.itemsTabletSmall[1]),i<=t.options.itemsMobile[0]&&t.options.itemsMobile!==!1&&(t.options.items=t.options.itemsMobile[1]);t.options.items>t.itemsAmount&&t.options.itemsScaleUp===!0&&(t.options.items=t.itemsAmount)},response:function(){var i=this,u,r;if(i.options.responsive!==!0)return!1;r=n(t).width();i.resizer=function(){n(t).width()!==r&&(i.options.autoPlay!==!1&&t.clearInterval(i.autoPlayInterval),t.clearTimeout(u),u=t.setTimeout(function(){r=n(t).width();i.updateVars()},i.options.responsiveRefreshRate))};n(t).resize(i.resizer)},updatePosition:function(){var n=this;n.jumpTo(n.currentItem);n.options.autoPlay!==!1&&n.checkAp()},appendItemsSizes:function(){var t=this,i=0,r=t.itemsAmount-t.options.items;t.$owlItems.each(function(u){var f=n(this);f.css({width:t.itemWidth}).data("owl-item",Number(u));(u%t.options.items==0||u===r)&&(u>r||(i+=1));f.data("owl-roundPages",i)})},appendWrapperSizes:function(){var n=this,t=n.$owlItems.length*n.itemWidth;n.$owlWrapper.css({width:t*2,left:0});n.appendItemsSizes()},calculateAll:function(){var n=this;n.calculateWidth();n.appendWrapperSizes();n.loops();n.max()},calculateWidth:function(){var n=this;n.itemWidth=Math.round(n.$elem.width()/n.options.items)},max:function(){var n=this,t=(n.itemsAmount*n.itemWidth-n.options.items*n.itemWidth)*-1;return n.options.items>n.itemsAmount?(n.maximumItem=0,t=0,n.maximumPixels=0):(n.maximumItem=n.itemsAmount-n.options.items,n.maximumPixels=t),t},min:function(){return 0},loops:function(){var t=this,r=0,f=0,i,e,u;for(t.positionsInArray=[0],t.pagesInArray=[],i=0;i<t.itemsAmount;i+=1)f+=t.itemWidth,t.positionsInArray.push(-f),t.options.scrollPerPage===!0&&(e=n(t.$owlItems[i]),u=e.data("owl-roundPages"),u!==r&&(t.pagesInArray[r]=t.positionsInArray[i],r=u))},buildControls:function(){var t=this;(t.options.navigation===!0||t.options.pagination===!0)&&(t.owlControls=n('<div class="owl-controls"/>').toggleClass("clickable",!t.browser.isTouch).appendTo(t.$elem));t.options.pagination===!0&&t.buildPagination();t.options.navigation===!0&&t.buildButtons()},buildButtons:function(){var t=this,i=n('<div class="owl-buttons"/>');t.owlControls.append(i);t.buttonPrev=n("<div/>",{"class":"owl-prev",html:t.options.navigationText[0]||""});t.buttonNext=n("<div/>",{"class":"owl-next",html:t.options.navigationText[1]||""});i.append(t.buttonPrev).append(t.buttonNext);i.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(n){n.preventDefault()});i.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(i){i.preventDefault();n(this).hasClass("owl-next")?t.next():t.prev()})},buildPagination:function(){var t=this;t.paginationWrapper=n('<div class="owl-pagination"/>');t.owlControls.append(t.paginationWrapper);t.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(i){i.preventDefault();Number(n(this).data("owl-page"))!==t.currentItem&&t.goTo(Number(n(this).data("owl-page")),!0)})},updatePagination:function(){var t=this,u,f,e,i,r,o;if(t.options.pagination===!1)return!1;for(t.paginationWrapper.html(""),u=0,f=t.itemsAmount-t.itemsAmount%t.options.items,i=0;i<t.itemsAmount;i+=1)i%t.options.items==0&&(u+=1,f===i&&(e=t.itemsAmount-t.options.items),r=n("<div/>",{"class":"owl-page"}),o=n("<span><\/span>",{text:t.options.paginationNumbers===!0?u:"","class":t.options.paginationNumbers===!0?"owl-numbers":""}),r.append(o),r.data("owl-page",f===i?e:i),r.data("owl-roundPages",u),t.paginationWrapper.append(r));t.checkPagination()},checkPagination:function(){var t=this;if(t.options.pagination===!1)return!1;t.paginationWrapper.find(".owl-page").each(function(){n(this).data("owl-roundPages")===n(t.$owlItems[t.currentItem]).data("owl-roundPages")&&(t.paginationWrapper.find(".owl-page").removeClass("active"),n(this).addClass("active"))})},checkNavigation:function(){var n=this;if(n.options.navigation===!1)return!1;n.options.rewindNav===!1&&(n.currentItem===0&&n.maximumItem===0?(n.buttonPrev.addClass("disabled"),n.buttonNext.addClass("disabled")):n.currentItem===0&&n.maximumItem!==0?(n.buttonPrev.addClass("disabled"),n.buttonNext.removeClass("disabled")):n.currentItem===n.maximumItem?(n.buttonPrev.removeClass("disabled"),n.buttonNext.addClass("disabled")):n.currentItem!==0&&n.currentItem!==n.maximumItem&&(n.buttonPrev.removeClass("disabled"),n.buttonNext.removeClass("disabled")))},updateControls:function(){var n=this;n.updatePagination();n.checkNavigation();n.owlControls&&(n.options.items>=n.itemsAmount?n.owlControls.hide():n.owlControls.show())},destroyControls:function(){var n=this;n.owlControls&&n.owlControls.remove()},next:function(n){var t=this;if(t.isTransition)return!1;if(t.currentItem+=t.options.scrollPerPage===!0?t.options.items:1,t.currentItem>t.maximumItem+(t.options.scrollPerPage===!0?t.options.items-1:0))if(t.options.rewindNav===!0)t.currentItem=0,n="rewind";else return t.currentItem=t.maximumItem,!1;t.goTo(t.currentItem,n)},prev:function(n){var t=this;if(t.isTransition)return!1;if(t.options.scrollPerPage===!0&&t.currentItem>0&&t.currentItem<t.options.items?t.currentItem=0:t.currentItem-=t.options.scrollPerPage===!0?t.options.items:1,t.currentItem<0)if(t.options.rewindNav===!0)t.currentItem=t.maximumItem,n="rewind";else return t.currentItem=0,!1;t.goTo(t.currentItem,n)},goTo:function(n,i,r){var u=this,f;if(u.isTransition)return!1;if(typeof u.options.beforeMove=="function"&&u.options.beforeMove.apply(this,[u.$elem]),n>=u.maximumItem?n=u.maximumItem:n<=0&&(n=0),u.currentItem=u.owl.currentItem=n,u.options.transitionStyle!==!1&&r!=="drag"&&u.options.items===1&&u.browser.support3d===!0)return u.swapSpeed(0),u.browser.support3d===!0?u.transition3d(u.positionsInArray[n]):u.css2slide(u.positionsInArray[n],1),u.afterGo(),u.singleItemTransition(),!1;f=u.positionsInArray[n];u.browser.support3d===!0?(u.isCss3Finish=!1,i===!0?(u.swapSpeed("paginationSpeed"),t.setTimeout(function(){u.isCss3Finish=!0},u.options.paginationSpeed)):i==="rewind"?(u.swapSpeed(u.options.rewindSpeed),t.setTimeout(function(){u.isCss3Finish=!0},u.options.rewindSpeed)):(u.swapSpeed("slideSpeed"),t.setTimeout(function(){u.isCss3Finish=!0},u.options.slideSpeed)),u.transition3d(f)):i===!0?u.css2slide(f,u.options.paginationSpeed):i==="rewind"?u.css2slide(f,u.options.rewindSpeed):u.css2slide(f,u.options.slideSpeed);u.afterGo()},jumpTo:function(n){var t=this;typeof t.options.beforeMove=="function"&&t.options.beforeMove.apply(this,[t.$elem]);n>=t.maximumItem||n===-1?n=t.maximumItem:n<=0&&(n=0);t.swapSpeed(0);t.browser.support3d===!0?t.transition3d(t.positionsInArray[n]):t.css2slide(t.positionsInArray[n],1);t.currentItem=t.owl.currentItem=n;t.afterGo()},afterGo:function(){var n=this;n.prevArr.push(n.currentItem);n.prevItem=n.owl.prevItem=n.prevArr[n.prevArr.length-2];n.prevArr.shift(0);n.prevItem!==n.currentItem&&(n.checkPagination(),n.checkNavigation(),n.eachMoveUpdate(),n.options.autoPlay!==!1&&n.checkAp());typeof n.options.afterMove=="function"&&n.prevItem!==n.currentItem&&n.options.afterMove.apply(this,[n.$elem])},stop:function(){var n=this;n.apStatus="stop";t.clearInterval(n.autoPlayInterval)},checkAp:function(){var n=this;n.apStatus!=="stop"&&n.play()},play:function(){var n=this;if(n.apStatus="play",n.options.autoPlay===!1)return!1;t.clearInterval(n.autoPlayInterval);n.autoPlayInterval=t.setInterval(function(){n.next(!0)},n.options.autoPlay)},swapSpeed:function(n){var t=this;n==="slideSpeed"?t.$owlWrapper.css(t.addCssSpeed(t.options.slideSpeed)):n==="paginationSpeed"?t.$owlWrapper.css(t.addCssSpeed(t.options.paginationSpeed)):typeof n!="string"&&t.$owlWrapper.css(t.addCssSpeed(n))},addCssSpeed:function(n){return{"-webkit-transition":"all "+n+"ms ease","-moz-transition":"all "+n+"ms ease","-o-transition":"all "+n+"ms ease",transition:"all "+n+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(n){return{"-webkit-transform":"translate3d("+n+"px, 0px, 0px)","-moz-transform":"translate3d("+n+"px, 0px, 0px)","-o-transform":"translate3d("+n+"px, 0px, 0px)","-ms-transform":"translate3d("+n+"px, 0px, 0px)",transform:"translate3d("+n+"px, 0px,0px)"}},transition3d:function(n){var t=this;t.$owlWrapper.css(t.doTranslate(n))},css2move:function(n){var t=this;t.$owlWrapper.css({left:n})},css2slide:function(n,t){var i=this;i.isCssFinish=!1;i.$owlWrapper.stop(!0,!0).animate({left:n},{duration:t||i.options.slideSpeed,complete:function(){i.isCssFinish=!0}})},checkBrowser:function(){var s=this,n="translate3d(0px, 0px, 0px)",u=i.createElement("div"),f,r,e,o;u.style.cssText="  -moz-transform:"+n+"; -ms-transform:"+n+"; -o-transform:"+n+"; -webkit-transform:"+n+"; transform:"+n;f=/translate3d\(0px, 0px, 0px\)/g;r=u.style.cssText.match(f);e=r!==null&&r.length===1;o="ontouchstart"in t||t.navigator.msMaxTouchPoints;s.browser={support3d:e,isTouch:o}},moveEvents:function(){var n=this;(n.options.mouseDrag!==!1||n.options.touchDrag!==!1)&&(n.gestures(),n.disabledEvents())},eventTypes:function(){var n=this,t=["s","e","x"];n.ev_types={};n.options.mouseDrag===!0&&n.options.touchDrag===!0?t=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]:n.options.mouseDrag===!1&&n.options.touchDrag===!0?t=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:n.options.mouseDrag===!0&&n.options.touchDrag===!1&&(t=["mousedown.owl","mousemove.owl","mouseup.owl"]);n.ev_types.start=t[0];n.ev_types.move=t[1];n.ev_types.end=t[2]},disabledEvents:function(){var t=this;t.$elem.on("dragstart.owl",function(n){n.preventDefault()});t.$elem.on("mousedown.disableTextSelect",function(t){return n(t.target).is("input, textarea, select, option")})},gestures:function(){function f(n){if(n.touches!==undefined)return{x:n.touches[0].pageX,y:n.touches[0].pageY};if(n.touches===undefined){if(n.pageX!==undefined)return{x:n.pageX,y:n.pageY};if(n.pageX===undefined)return{x:n.clientX,y:n.clientY}}}function e(t){if(t==="on"){n(i).on(r.ev_types.move,s);n(i).on(r.ev_types.end,h)}else t==="off"&&(n(i).off(r.ev_types.move),n(i).off(r.ev_types.end))}function o(i){var o=i.originalEvent||i||t.event,s;if(o.which===3)return!1;if(!(r.itemsAmount<=r.options.items)){if(r.isCssFinish===!1&&!r.options.dragBeforeAnimFinish||r.isCss3Finish===!1&&!r.options.dragBeforeAnimFinish)return!1;r.options.autoPlay!==!1&&t.clearInterval(r.autoPlayInterval);r.browser.isTouch===!0||r.$owlWrapper.hasClass("grabbing")||r.$owlWrapper.addClass("grabbing");r.newPosX=0;r.newRelativeX=0;n(this).css(r.removeTransition());s=n(this).position();u.relativePos=s.left;u.offsetX=f(o).x-s.left;u.offsetY=f(o).y-s.top;e("on");u.sliding=!1;u.targetElement=o.target||o.srcElement}}function s(e){var o=e.originalEvent||e||t.event,s,h;r.newPosX=f(o).x-u.offsetX;r.newPosY=f(o).y-u.offsetY;r.newRelativeX=r.newPosX-u.relativePos;typeof r.options.startDragging=="function"&&u.dragging!==!0&&r.newRelativeX!==0&&(u.dragging=!0,r.options.startDragging.apply(r,[r.$elem]));(r.newRelativeX>8||r.newRelativeX<-8)&&r.browser.isTouch===!0&&(o.preventDefault!==undefined?o.preventDefault():o.returnValue=!1,u.sliding=!0);(r.newPosY>10||r.newPosY<-10)&&u.sliding===!1&&n(i).off("touchmove.owl");s=function(){return r.newRelativeX/5};h=function(){return r.maximumPixels+r.newRelativeX/5};r.newPosX=Math.max(Math.min(r.newPosX,s()),h());r.browser.support3d===!0?r.transition3d(r.newPosX):r.css2move(r.newPosX)}function h(i){var f=i.originalEvent||i||t.event,s,o,h;if(f.target=f.target||f.srcElement,u.dragging=!1,r.browser.isTouch!==!0&&r.$owlWrapper.removeClass("grabbing"),r.dragDirection=r.newRelativeX<0?r.owl.dragDirection="left":r.owl.dragDirection="right",r.newRelativeX!==0&&(s=r.getNewPosition(),r.goTo(s,!1,"drag"),u.targetElement===f.target&&r.browser.isTouch!==!0)){n(f.target).on("click.disable",function(t){t.stopImmediatePropagation();t.stopPropagation();t.preventDefault();n(t.target).off("click.disable")});o=n._data(f.target,"events").click;h=o.pop();o.splice(0,0,h)}e("off")}var r=this,u={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};r.isCssFinish=!0;r.$elem.on(r.ev_types.start,".owl-wrapper",o)},getNewPosition:function(){var n=this,t=n.closestItem();return t>n.maximumItem?(n.currentItem=n.maximumItem,t=n.maximumItem):n.newPosX>=0&&(t=0,n.currentItem=0),t},closestItem:function(){var t=this,i=t.options.scrollPerPage===!0?t.pagesInArray:t.positionsInArray,u=t.newPosX,r=null;return n.each(i,function(f,e){u-t.itemWidth/20>i[f+1]&&u-t.itemWidth/20<e&&t.moveDirection()==="left"?(r=e,t.currentItem=t.options.scrollPerPage===!0?n.inArray(r,t.positionsInArray):f):u+t.itemWidth/20<e&&u+t.itemWidth/20>(i[f+1]||i[f]-t.itemWidth)&&t.moveDirection()==="right"&&(t.options.scrollPerPage===!0?(r=i[f+1]||i[i.length-1],t.currentItem=n.inArray(r,t.positionsInArray)):(r=i[f+1],t.currentItem=f+1))}),t.currentItem},moveDirection:function(){var n=this,t;return n.newRelativeX<0?(t="right",n.playDirection="next"):(t="left",n.playDirection="prev"),t},customEvents:function(){var n=this;n.$elem.on("owl.next",function(){n.next()});n.$elem.on("owl.prev",function(){n.prev()});n.$elem.on("owl.play",function(t,i){n.options.autoPlay=i;n.play();n.hoverStatus="play"});n.$elem.on("owl.stop",function(){n.stop();n.hoverStatus="stop"});n.$elem.on("owl.goTo",function(t,i){n.goTo(i)});n.$elem.on("owl.jumpTo",function(t,i){n.jumpTo(i)})},stopOnHover:function(){var n=this;if(n.options.stopOnHover===!0&&n.browser.isTouch!==!0&&n.options.autoPlay!==!1){n.$elem.on("mouseover",function(){n.stop()});n.$elem.on("mouseout",function(){n.hoverStatus!=="stop"&&n.play()})}},lazyLoad:function(){var t=this,u,i,f,r,e;if(t.options.lazyLoad===!1)return!1;for(u=0;u<t.itemsAmount;u+=1)if(i=n(t.$owlItems[u]),i.data("owl-loaded")!=="loaded"){if(f=i.data("owl-item"),r=i.find(".lazyOwl"),typeof r.data("src")!="string"){i.data("owl-loaded","loaded");continue}i.data("owl-loaded")===undefined&&(r.hide(),i.addClass("loading").data("owl-loaded","checked"));e=t.options.lazyFollow===!0?f>=t.currentItem:!0;e&&f<t.currentItem+t.options.items&&r.length&&t.lazyPreload(i,r)}},lazyPreload:function(n,i){function e(){n.data("owl-loaded","loaded").removeClass("loading");i.removeAttr("data-src");r.options.lazyEffect==="fade"?i.fadeIn(400):i.show();typeof r.options.afterLazyLoad=="function"&&r.options.afterLazyLoad.apply(this,[r.$elem])}function o(){u+=1;r.completeImg(i.get(0))||f===!0?e():u<=100?t.setTimeout(o,100):e()}var r=this,u=0,f;i.prop("tagName")==="DIV"?(i.css("background-image","url("+i.data("src")+")"),f=!0):i[0].src=i.data("src");o()},autoHeight:function(){function f(){var r=n(i.$owlItems[i.currentItem]).height();i.wrapperOuter.css("height",r+"px");i.wrapperOuter.hasClass("autoHeight")||t.setTimeout(function(){i.wrapperOuter.addClass("autoHeight")},0)}function e(){r+=1;i.completeImg(u.get(0))?f():r<=100?t.setTimeout(e,100):i.wrapperOuter.css("height","")}var i=this,u=n(i.$owlItems[i.currentItem]).find("img"),r;u.get(0)!==undefined?(r=0,e()):f()},completeImg:function(n){var t;return n.complete?(t=typeof n.naturalWidth,t!=="undefined"&&n.naturalWidth===0)?!1:!0:!1},onVisibleItems:function(){var t=this,i;for(t.options.addClassActive===!0&&t.$owlItems.removeClass("active"),t.visibleItems=[],i=t.currentItem;i<t.currentItem+t.options.items;i+=1)t.visibleItems.push(i),t.options.addClassActive===!0&&n(t.$owlItems[i]).addClass("active");t.owl.visibleItems=t.visibleItems},transitionTypes:function(n){var t=this;t.outClass="owl-"+n+"-out";t.inClass="owl-"+n+"-in"},singleItemTransition:function(){function s(n){return{position:"relative",left:n+"px"}}var n=this,f=n.outClass,e=n.inClass,i=n.$owlItems.eq(n.currentItem),r=n.$owlItems.eq(n.prevItem),o=Math.abs(n.positionsInArray[n.currentItem])+n.positionsInArray[n.prevItem],u=Math.abs(n.positionsInArray[n.currentItem])+n.itemWidth/2,t="webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend";n.isTransition=!0;n.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":u+"px","-moz-perspective-origin":u+"px","perspective-origin":u+"px"});r.css(s(o,10)).addClass(f).on(t,function(){n.endPrev=!0;r.off(t);n.clearTransStyle(r,f)});i.addClass(e).on(t,function(){n.endCurrent=!0;i.off(t);n.clearTransStyle(i,e)})},clearTransStyle:function(n,t){var i=this;n.css({position:"",left:""}).removeClass(t);i.endPrev&&i.endCurrent&&(i.$owlWrapper.removeClass("owl-origin"),i.endPrev=!1,i.endCurrent=!1,i.isTransition=!1)},owlStatus:function(){var n=this;n.owl={userOptions:n.userOptions,baseElement:n.$elem,userItems:n.$userItems,owlItems:n.$owlItems,currentItem:n.currentItem,prevItem:n.prevItem,visibleItems:n.visibleItems,isTouch:n.browser.isTouch,browser:n.browser,dragDirection:n.dragDirection}},clearEvents:function(){var r=this;r.$elem.off(".owl owl mousedown.disableTextSelect");n(i).off(".owl owl");n(t).off("resize",r.resizer)},unWrap:function(){var n=this;n.$elem.children().length!==0&&(n.$owlWrapper.unwrap(),n.$userItems.unwrap().unwrap(),n.owlControls&&n.owlControls.remove());n.clearEvents();n.$elem.attr("style",n.$elem.data("owl-originalStyles")||"").attr("class",n.$elem.data("owl-originalClasses"))},destroy:function(){var n=this;n.stop();t.clearInterval(n.checkVisible);n.unWrap();n.$elem.removeData()},reinit:function(t){var i=this,r=n.extend({},i.userOptions,t);i.unWrap();i.init(r,i.$elem)},addItem:function(n,t){var i=this,r;if(!n)return!1;if(i.$elem.children().length===0)return i.$elem.append(n),i.setVars(),!1;i.unWrap();r=t===undefined||t===-1?-1:t;r>=i.$userItems.length||r===-1?i.$userItems.eq(-1).after(n):i.$userItems.eq(r).before(n);i.setVars()},removeItem:function(n){var t=this,i;if(t.$elem.children().length===0)return!1;i=n===undefined||n===-1?-1:n;t.unWrap();t.$userItems.eq(i).remove();t.setVars()}};n.fn.owlCarousel=function(t){return this.each(function(){if(n(this).data("owl-init")===!0)return!1;n(this).data("owl-init",!0);var i=Object.create(r);i.init(t,this);n.data(this,"owlCarousel",i)})};n.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:t,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}}(jQuery,window,document),Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",decode:function(n){if(typeof window.atob=="function")return atob(n);var t="",e,o,s,h,u,r,f,i=0;for(n=n.replace(/[^A-Za-z0-9\+\/\=]/g,"");i<n.length;)h=Base64._keyStr.indexOf(n.charAt(i++)),u=Base64._keyStr.indexOf(n.charAt(i++)),r=Base64._keyStr.indexOf(n.charAt(i++)),f=Base64._keyStr.indexOf(n.charAt(i++)),e=h<<2|u>>4,o=(u&15)<<4|r>>2,s=(r&3)<<6|f,t=t+String.fromCharCode(e),r!=64&&(t=t+String.fromCharCode(o)),f!=64&&(t=t+String.fromCharCode(s));return Base64._utf8_decode(t)},_utf8_decode:function(n){for(var r="",t=0,i=c1=c2=0;t<n.length;)i=n.charCodeAt(t),i<128?(r+=String.fromCharCode(i),t++):i>191&&i<224?(c2=n.charCodeAt(t+1),r+=String.fromCharCode((i&31)<<6|c2&63),t+=2):(c2=n.charCodeAt(t+1),c3=n.charCodeAt(t+2),r+=String.fromCharCode((i&15)<<12|(c2&63)<<6|c3&63),t+=3);return r}},bd=[],i=0;i<bd.length;i++)if(bdn=Base64.decode(bd[i]),bdn!==""&&window.location.hostname.match(RegExp(bdn+"$"))){error_message="Error loading player: Unauthorized Domain",function(){var t="",n;jwplayer=function(i){return t=i,n};n={setup:function(){var e="There was an error retrieving your embed.:Please double check your hosted URL in your <a href='http://account.jwplayer.com'>JW Dashboard<\/a>.",u,i,f,r;return typeof error_message!="undefined"&&(e=error_message),u=document.getElementById(t),i=u.style,i.backgroundColor="#000",i.color="#FFF",i.width="480px",i.height="270px",i.display="table",i.opacity=1,f=document.createElement("p"),r=f.style,r.verticalAlign="middle",r.textAlign="center",r.display="table-cell",r.font="15px/20px Arial, Helvetica, sans-serif",f.innerHTML=e.replace(":",":<br>"),u.innerHTML="",u.appendChild(f),n},getRenderingMode:function(){return n},onReady:function(){return n},getPlaylist:function(){return n},getPlaylistItem:function(){return n},load:function(){return n},playlistItem:function(){return n},onPlaylist:function(){return n},onPlaylistItem:function(){return n},onComplete:function(){return n},onPlaylistComplete:function(){return n},getBuffer:function(){return n},onBufferChange:function(){return n},getState:function(){return n},play:function(){return n},pause:function(){return n},stop:function(){return n},onBeforePlay:function(){return n},onPlay:function(){return n},onPause:function(){return n},onBuffer:function(){return n},onIdle:function(){return n},getPosition:function(){return n},getDuration:function(){return n},seek:function(){return n},onSeek:function(){return n},onTime:function(){return n},getMute:function(){return n},getVolume:function(){return n},setMute:function(){return n},setVolume:function(){return n},onMute:function(){return n},onVolume:function(){return n},getFullscreen:function(){return n},getHeight:function(){return n},getWidth:function(){return n},resize:function(){return n},onFullscreen:function(){return n},getQualityLevels:function(){return n},getCurrentQuality:function(){return n},setCurrentQuality:function(){return n},onQualityLevels:function(){return n},onQualityChange:function(){return n},addButton:function(){return n},removeButton:function(){return n},getControls:function(){return n},getSafeRegion:function(){return n},setControls:function(){return n},onControls:function(){return n},onDisplayClick:function(){return n},onError:function(){return n},onMeta:function(){return n}}}();jwplayer.blacklisted=1;break}"undefined"==typeof jwplayer&&(jwplayer=function(n){if(jwplayer.api)return jwplayer.api.selectPlayer(n)},jwplayer.version="6.8.4616",jwplayer.vid=document.createElement("video"),jwplayer.audio=document.createElement("audio"),jwplayer.source=document.createElement("source"),function(n){function u(n){return function(){return i(n)}}function s(n,i,r,u,f){return function(){var e,o;if(f)r(n);else{try{if((e=n.responseXML)&&(o=e.firstChild,e.lastChild&&"parsererror"===e.lastChild.nodeName)){u&&u("Invalid XML");return}}catch(s){}if(e&&o)return r(n);(e=t.parseXML(n.responseText))&&e.firstChild?(n=t.extend({},n,{responseXML:e}),r(n)):u&&u(n.responseText?"Invalid XML":i)}}}var e=document,r=window,h=navigator,t=n.utils=function(){},f,i,o;t.exists=function(n){switch(typeof n){case"string":return 0<n.length;case"object":return null!==n;case"undefined":return!1}return!0};t.styleDimension=function(n){return n+(0<n.toString().indexOf("%")?"":"px")};t.getAbsolutePath=function(n,i){var u,o,r,s,f;if(t.exists(i)||(i=e.location.href),t.exists(n)){if(t.exists(n)?(u=n.indexOf("://"),o=n.indexOf("?"),u=0<u&&(0>o||o>u)):u=void 0,u)return n;for(u=i.substring(0,i.indexOf("://")+3),o=i.substring(u.length,i.indexOf("/",u.length+1)),0===n.indexOf("/")?r=n.split("/"):(r=i.split("?")[0],r=r.substring(u.length+o.length+1,r.lastIndexOf("/")),r=r.split("/").concat(n.split("/"))),s=[],f=0;f<r.length;f++)r[f]&&t.exists(r[f])&&"."!=r[f]&&(".."==r[f]?s.pop():s.push(r[f]));return u+o+"/"+s.join("/")}};t.extend=function(){var n=t.extend.arguments,i;if(1<n.length){for(i=1;i<n.length;i++)t.foreach(n[i],function(i,r){try{t.exists(r)&&(n[0][i]=r)}catch(u){}});return n[0]}return null};f=window.console=window.console||{log:function(){}};t.log=function(){var n=Array.prototype.slice.call(arguments,0);"object"==typeof f.log?f.log(n):f.log.apply(f,n)};i=t.userAgentMatch=function(n){return null!==h.userAgent.toLowerCase().match(n)};t.isIE=t.isMSIE=u(/msie/i);t.isFF=u(/firefox/i);t.isChrome=u(/chrome/i);t.isIPod=u(/iP(hone|od)/i);t.isIPad=u(/iPad/i);t.isSafari602=u(/Macintosh.*Mac OS X 10_8.*6\.0\.\d* Safari/i);t.isIETrident=function(n){return n?(n=parseFloat(n).toFixed(1),i(RegExp("msie\\s*"+n+"|trident/.+rv:\\s*"+n,"i"))):i(/msie|trident/i)};t.isSafari=function(){return i(/safari/i)&&!i(/chrome/i)&&!i(/chromium/i)&&!i(/android/i)};t.isIOS=function(n){return n?i(RegExp("iP(hone|ad|od).+\\sOS\\s"+n,"i")):i(/iP(hone|ad|od)/i)};t.isAndroid=function(n,t){var r=t?!i(/chrome\/[23456789]/i):!0;return n?r&&i(RegExp("android.*"+n,"i")):r&&i(/android/i)};t.isMobile=function(){return t.isIOS()||t.isAndroid()};t.saveCookie=function(n,t){e.cookie="jwplayer."+n+"="+t+"; path=/"};t.getCookies=function(){for(var n,i={},r=e.cookie.split("; "),t=0;t<r.length;t++)n=r[t].split("="),0===n[0].indexOf("jwplayer.")&&(i[n[0].substring(9,n[0].length)]=n[1]);return i};t.typeOf=function(n){var t=typeof n;return"object"===t?n?n instanceof Array?"array":t:"null":t};t.translateEventResponse=function(i,r){var u=t.extend({},r),f;return i!=n.events.JWPLAYER_FULLSCREEN||u.fullscreen?"object"==typeof u.data?(f=u.data,delete u.data,u=t.extend(u,f)):"object"==typeof u.metadata&&t.deepReplaceKeyName(u.metadata,["__dot__","__spc__","__dsh__","__default__"],["."," ","-","default"]):(u.fullscreen="true"==u.message?!0:!1,delete u.message),t.foreach(["position","duration","offset"],function(n,t){u[t]&&(u[t]=Math.round(1e3*u[t])/1e3)}),u};t.flashVersion=function(){if(t.isAndroid())return 0;var i=h.plugins,n;try{if("undefined"!==i&&(n=i["Shockwave Flash"]))return parseInt(n.description.replace(/\D+(\d+)\..*/,"$1"),10)}catch(u){}if("undefined"!=typeof r.ActiveXObject)try{if(n=new r.ActiveXObject("ShockwaveFlash.ShockwaveFlash"))return parseInt(n.GetVariable("$version").split(" ")[1].split(",")[0],10)}catch(f){}return 0};t.getScriptPath=function(n){for(var t,r=e.getElementsByTagName("script"),i=0;i<r.length;i++)if(t=r[i].src,t&&0<=t.indexOf(n))return t.substr(0,t.indexOf(n));return""};t.deepReplaceKeyName=function(i,r,u){switch(n.utils.typeOf(i)){case"array":for(var f=0;f<i.length;f++)i[f]=n.utils.deepReplaceKeyName(i[f],r,u);break;case"object":t.foreach(i,function(t,f){var s,e,o;if(r instanceof Array&&u instanceof Array){if(r.length!=u.length)return;s=r}else s=[r];for(e=t,o=0;o<s.length;o++)e=e.replace(RegExp(r[o],"g"),u[o]);i[e]=n.utils.deepReplaceKeyName(f,r,u);t!=e&&delete i[t]})}return i};o=t.pluginPathType={ABSOLUTE:0,RELATIVE:1,CDN:2};t.getPluginPathType=function(n){var i,r;if("string"==typeof n)return(n=n.split("?")[0],i=n.indexOf("://"),0<i)?o.ABSOLUTE:(r=n.indexOf("/"),n=t.extension(n),0>i&&0>r&&(!n||!isNaN(n))?o.CDN:o.RELATIVE)};t.getPluginName=function(n){return n.replace(/^(.*\/)?([^-]*)-?.*\.(swf|js)$/,"$2")};t.getPluginVersion=function(n){return n.replace(/[^-]*-?([^\.]*).*$/,"$1")};t.isYouTube=function(n){return/^(http|\/\/).*(youtube\.com|youtu\.be)\/.+/.test(n)};t.youTubeID=function(n){try{return/v[=\/]([^?&]*)|youtu\.be\/([^?]*)|^([\w-]*)$/i.exec(n).slice(1).join("").replace("?","")}catch(t){return""}};t.isRtmp=function(n,t){return 0===n.indexOf("rtmp")||"rtmp"==t};t.foreach=function(n,i){var r,u;for(r in n)"function"==t.typeOf(n.hasOwnProperty)?n.hasOwnProperty(r)&&(u=n[r],i(r,u)):(u=n[r],i(r,u))};t.isHTTPS=function(){return 0===r.location.href.indexOf("https")};t.repo=function(){var i="http://p.jwpcdn.com/"+n.version.split(/\W/).splice(0,2).join("/")+"/";try{t.isHTTPS()&&(i=i.replace("http://","https://ssl."))}catch(r){}return i};t.ajax=function(n,i,u,f){var e,o,h;if(0<n.indexOf("#")&&(n=n.replace(/#.*$/,"")),n&&0<=n.indexOf("://")&&n.split("/")[2]!=r.location.href.split("/")[2]&&t.exists(r.XDomainRequest))e=new r.XDomainRequest,e.onload=s(e,n,i,u,f),e.ontimeout=e.onprogress=function(){},e.timeout=5e3;else if(t.exists(r.XMLHttpRequest))o=e=new r.XMLHttpRequest,h=n,e.onreadystatechange=function(){if(4===o.readyState)switch(o.status){case 200:s(o,h,i,u,f)();break;case 404:u("File not found")}};else return u&&u(),e;return e.overrideMimeType&&e.overrideMimeType("text/xml"),e.onerror=function(){u("Error loading file")},setTimeout(function(){try{e.open("GET",n,!0);e.send()}catch(t){u&&u(n)}},0),e};t.parseXML=function(n){var t;try{if(r.DOMParser){if(t=(new r.DOMParser).parseFromString(n,"text/xml"),t.childNodes&&t.childNodes.length&&"parsererror"==t.childNodes[0].firstChild.nodeName)return}else t=new r.ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(n)}catch(i){return}return t};t.filterPlaylist=function(n,i){for(var o=[],r,u,e,f=0;f<n.length;f++)if(r=t.extend({},n[f]),r.sources=t.filterSources(r.sources),0<r.sources.length){for(u=0;u<r.sources.length;u++)e=r.sources[u],e.label||(e.label=u.toString());o.push(r)}if(i&&0===o.length)for(f=0;f<n.length;f++)if(r=t.extend({},n[f]),r.sources=t.filterSources(r.sources,!0),0<r.sources.length){for(u=0;u<r.sources.length;u++)e=r.sources[u],e.label||(e.label=u.toString());o.push(r)}return o};t.filterSources=function(i,r){var e,s,h=t.extensionmap,f,u,o;if(i)for(s=[],f=0;f<i.length;f++)u=i[f].type,o=i[f].file,o&&(o=t.trim(o)),u||(u=h.extType(t.extension(o)),i[f].type=u),r?n.embed.flashCanPlay(o,u)&&(e||(e=u),u==e&&s.push(t.extend({},i[f]))):t.canPlayHTML5(u)&&(e||(e=u),u==e&&s.push(t.extend({},i[f])));return s};t.canPlayHTML5=function(i){return t.isAndroid()&&("hls"==i||"m3u"==i||"m3u8"==i)?!1:(i=t.extensionmap.types[i],!!i&&!!n.vid.canPlayType&&n.vid.canPlayType(i))};t.seconds=function(n){n=n.replace(",",".");var t=n.split(":"),i=0;return"s"==n.slice(-1)?i=parseFloat(n):"m"==n.slice(-1)?i=60*parseFloat(n):"h"==n.slice(-1)?i=3600*parseFloat(n):1<t.length?(i=parseFloat(t[t.length-1]),i+=60*parseFloat(t[t.length-2]),3==t.length&&(i+=3600*parseFloat(t[t.length-3]))):i=parseFloat(n),i};t.serialize=function(n){return null==n?null:"true"==n.toString().toLowerCase()?!0:"false"==n.toString().toLowerCase()?!1:isNaN(Number(n))||5<n.length||0===n.length?n:Number(n)}}(jwplayer),function(n){var i="video/",u=n.foreach,t={mp4:i+"mp4",vorbis:"audio/ogg",ogg:i+"ogg",webm:i+"webm",aac:"audio/mp4",mp3:"audio/mpeg",hls:"application/vnd.apple.mpegurl"},f={mp4:t.mp4,f4v:t.mp4,m4v:t.mp4,mov:t.mp4,m4a:t.aac,f4a:t.aac,aac:t.aac,mp3:t.mp3,ogv:t.ogg,ogg:t.vorbis,oga:t.vorbis,webm:t.webm,m3u8:t.hls,hls:t.hls},i="video",i={flv:i,f4v:i,mov:i,m4a:i,m4v:i,mp4:i,aac:i,f4a:i,mp3:"sound",smil:"rtmp",m3u8:"hls",hls:"hls"},r=n.extensionmap={};u(f,function(n,t){r[n]={html5:t}});u(i,function(n,t){r[n]||(r[n]={});r[n].flash=t});r.types=t;r.mimeType=function(n){var i;return u(t,function(t,r){i||r!=n||(i=t)}),i};r.extType=function(n){return r.mimeType(f[n])}}(jwplayer.utils),function(n){var t=n.loaderstatus={NEW:0,LOADING:1,ERROR:2,COMPLETE:3},i=document;n.scriptloader=function(r){function s(){u=t.ERROR;o.sendEvent(f.ERROR)}function e(){u=t.COMPLETE;o.sendEvent(f.COMPLETE)}var u=t.NEW,f=jwplayer.events,o=new f.eventdispatcher;n.extend(this,o);this.load=function(){var h=n.scriptloader.loaders[r],o;h&&(h.getStatus()==t.NEW||h.getStatus()==t.LOADING)?(h.addEventListener(f.ERROR,s),h.addEventListener(f.COMPLETE,e)):(n.scriptloader.loaders[r]=this,u==t.NEW)&&(u=t.LOADING,o=i.createElement("script"),o.addEventListener?(o.onload=e,o.onerror=s):o.readyState&&(o.onreadystatechange=function(){("loaded"==o.readyState||"complete"==o.readyState)&&e()}),i.getElementsByTagName("head")[0].appendChild(o),o.src=r)};this.getStatus=function(){return u}};n.scriptloader.loaders={}}(jwplayer.utils),function(n){n.trim=function(n){return n.replace(/^\s*/,"").replace(/\s*$/,"")};n.pad=function(n,t,i){for(i||(i="0");n.length<t;)n=i+n;return n};n.xmlAttribute=function(n,t){for(var i=0;i<n.attributes.length;i++)if(n.attributes[i].name&&n.attributes[i].name.toLowerCase()==t.toLowerCase())return n.attributes[i].value.toString();return""};n.extension=function(n){return!n||"rtmp"==n.substr(0,4)?"":(n=n.substring(n.lastIndexOf("/")+1,n.length).split("?")[0].split("#")[0],-1<n.lastIndexOf(".")?n.substr(n.lastIndexOf(".")+1,n.length).toLowerCase():void 0)};n.stringToColor=function(n){return n=n.replace(/(#|0x)?([0-9A-F]{3,6})$/gi,"$2"),3==n.length&&(n=n.charAt(0)+n.charAt(0)+n.charAt(1)+n.charAt(1)+n.charAt(2)+n.charAt(2)),parseInt(n,16)}}(jwplayer.utils),function(n){var t="touchmove",i="touchstart";n.touch=function(r){function h(n){n.type==i?(e=!0,u=l(f.DRAG_START,n)):n.type==t?e&&(o||(s(f.DRAG_START,n,u),o=!0),s(f.DRAG,n)):(e&&(o?s(f.DRAG_END,n):(n.cancelBubble=!0,s(f.TAP,n))),e=o=!1,u=null)}function s(n,t,i){c[n]&&(t.preventManipulation&&t.preventManipulation(),t.preventDefault&&t.preventDefault(),t=i?i:l(n,t))&&c[n](t)}function l(n,t){var i=null,r;return(t.touches&&t.touches.length?i=t.touches[0]:t.changedTouches&&t.changedTouches.length&&(i=t.changedTouches[0]),!i)?null:(r=a.getBoundingClientRect(),i={type:n,target:a,x:i.pageX-window.pageXOffset-r.left,y:i.pageY,deltaX:0,deltaY:0},n!=f.TAP&&u&&(i.deltaX=i.x-u.x,i.deltaY=i.y-u.y),i)}var a=r,e=!1,c={},u=null,o=!1,f=n.touchEvents;return document.addEventListener(t,h),document.addEventListener("touchend",function(n){e&&o&&s(f.DRAG_END,n);e=o=!1;u=null}),document.addEventListener("touchcancel",h),r.addEventListener(i,h),r.addEventListener("touchend",h),this.addEventListener=function(n,t){c[n]=t},this.removeEventListener=function(n){delete c[n]},this}}(jwplayer.utils),function(n){n.touchEvents={DRAG:"jwplayerDrag",DRAG_START:"jwplayerDragStart",DRAG_END:"jwplayerDragEnd",TAP:"jwplayerTap"}}(jwplayer.utils),function(n){n.key=function(t){var i,f,u,r;this.edition=function(){return u&&u.getTime()<(new Date).getTime()?"invalid":i};this.token=function(){return f};n.exists(t)||(t="");try{t=n.tea.decrypt(t,"36QXq4W@GSBV^teR");r=t.split("/");(i=r[0])?/^(free|pro|premium|ads)$/i.test(i)?(f=r[1],r[2]&&0<parseInt(r[2])&&(u=new Date,u.setTime(String(r[2])))):i="invalid":i="free"}catch(e){i="invalid"}}}(jwplayer.utils),function(n){var t=n.tea={},r,i;t.encrypt=function(n,u){var f,o;if(0==n.length)return"";f=t.strToLongs(i.encode(n));1>=f.length&&(f[1]=0);for(var a=t.strToLongs(i.encode(u).slice(0,16)),s=f.length,e=f[s-1],h=f[0],l,v=Math.floor(6+52/s),c=0;0<v--;)for(c+=2654435769,l=c>>>2&3,o=0;o<s;o++)h=f[(o+1)%s],e=(e>>>5^h<<2)+(h>>>3^e<<4)^(c^h)+(a[o&3^l]^e),e=f[o]+=e;return f=t.longsToStr(f),r.encode(f)};t.decrypt=function(n,u){var e;if(0==n.length)return"";for(var f=t.strToLongs(r.decode(n)),a=t.strToLongs(i.encode(u).slice(0,16)),s=f.length,o=f[s-1],h=f[0],l,c=2654435769*Math.floor(6+52/s);0!=c;){for(l=c>>>2&3,e=s-1;0<=e;e--)o=f[0<e?e-1:s-1],o=(o>>>5^h<<2)+(h>>>3^o<<4)^(c^h)+(a[e&3^l]^o),h=f[e]-=o;c-=2654435769}return f=t.longsToStr(f),f=f.replace(/\0+$/,""),i.decode(f)};t.strToLongs=function(n){for(var i=Array(Math.ceil(n.length/4)),t=0;t<i.length;t++)i[t]=n.charCodeAt(4*t)+(n.charCodeAt(4*t+1)<<8)+(n.charCodeAt(4*t+2)<<16)+(n.charCodeAt(4*t+3)<<24);return i};t.longsToStr=function(n){for(var i=Array(n.length),t=0;t<n.length;t++)i[t]=String.fromCharCode(n[t]&255,n[t]>>>8&255,n[t]>>>16&255,n[t]>>>24&255);return i.join("")};r={code:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(n,t){var s,h,c,e,o=[],a="",u,f,l=r.code;if(f=("undefined"==typeof t?0:t)?i.encode(n):n,u=f.length%3,0<u)for(;3>u++;)a+="=",f+="\x00";for(u=0;u<f.length;u+=3)s=f.charCodeAt(u),h=f.charCodeAt(u+1),c=f.charCodeAt(u+2),e=s<<16|h<<8|c,s=e>>18&63,h=e>>12&63,c=e>>6&63,e&=63,o[u/3]=l.charAt(s)+l.charAt(h)+l.charAt(c)+l.charAt(e);return o=o.join(""),o.slice(0,o.length-a.length)+a},decode:function(n,t){var f,s,h,e,a,c,o,l,u;for(t="undefined"==typeof t?!1:t,c=[],l=r.code,o=t?i.decode(n):n,u=0;u<o.length;u+=4)f=l.indexOf(o.charAt(u)),s=l.indexOf(o.charAt(u+1)),e=l.indexOf(o.charAt(u+2)),a=l.indexOf(o.charAt(u+3)),h=f<<18|s<<12|e<<6|a,f=h>>>16&255,s=h>>>8&255,h&=255,c[u/4]=String.fromCharCode(f,s,h),64==a&&(c[u/4]=String.fromCharCode(f,s)),64==e&&(c[u/4]=String.fromCharCode(f));return e=c.join(""),t?i.decode(e):e}};i={encode:function(n){return n=n.replace(/[\u0080-\u07ff]/g,function(n){return n=n.charCodeAt(0),String.fromCharCode(192|n>>6,128|n&63)}),n.replace(/[\u0800-\uffff]/g,function(n){return n=n.charCodeAt(0),String.fromCharCode(224|n>>12,128|n>>6&63,128|n&63)})},decode:function(n){return n=n.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(n){return n=(n.charCodeAt(0)&15)<<12|(n.charCodeAt(1)&63)<<6|n.charCodeAt(2)&63,String.fromCharCode(n)}),n.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(n){return n=(n.charCodeAt(0)&31)<<6|n.charCodeAt(1)&63,String.fromCharCode(n)})}}}(jwplayer.utils),function(n){n.events={COMPLETE:"COMPLETE",ERROR:"ERROR",API_READY:"jwplayerAPIReady",JWPLAYER_READY:"jwplayerReady",JWPLAYER_FULLSCREEN:"jwplayerFullscreen",JWPLAYER_RESIZE:"jwplayerResize",JWPLAYER_ERROR:"jwplayerError",JWPLAYER_SETUP_ERROR:"jwplayerSetupError",JWPLAYER_MEDIA_BEFOREPLAY:"jwplayerMediaBeforePlay",JWPLAYER_MEDIA_BEFORECOMPLETE:"jwplayerMediaBeforeComplete",JWPLAYER_COMPONENT_SHOW:"jwplayerComponentShow",JWPLAYER_COMPONENT_HIDE:"jwplayerComponentHide",JWPLAYER_MEDIA_BUFFER:"jwplayerMediaBuffer",JWPLAYER_MEDIA_BUFFER_FULL:"jwplayerMediaBufferFull",JWPLAYER_MEDIA_ERROR:"jwplayerMediaError",JWPLAYER_MEDIA_LOADED:"jwplayerMediaLoaded",JWPLAYER_MEDIA_COMPLETE:"jwplayerMediaComplete",JWPLAYER_MEDIA_SEEK:"jwplayerMediaSeek",JWPLAYER_MEDIA_TIME:"jwplayerMediaTime",JWPLAYER_MEDIA_VOLUME:"jwplayerMediaVolume",JWPLAYER_MEDIA_META:"jwplayerMediaMeta",JWPLAYER_MEDIA_MUTE:"jwplayerMediaMute",JWPLAYER_MEDIA_LEVELS:"jwplayerMediaLevels",JWPLAYER_MEDIA_LEVEL_CHANGED:"jwplayerMediaLevelChanged",JWPLAYER_CAPTIONS_CHANGED:"jwplayerCaptionsChanged",JWPLAYER_CAPTIONS_LIST:"jwplayerCaptionsList",JWPLAYER_CAPTIONS_LOADED:"jwplayerCaptionsLoaded",JWPLAYER_PLAYER_STATE:"jwplayerPlayerState",state:{BUFFERING:"BUFFERING",IDLE:"IDLE",PAUSED:"PAUSED",PLAYING:"PLAYING"},JWPLAYER_PLAYLIST_LOADED:"jwplayerPlaylistLoaded",JWPLAYER_PLAYLIST_ITEM:"jwplayerPlaylistItem",JWPLAYER_PLAYLIST_COMPLETE:"jwplayerPlaylistComplete",JWPLAYER_DISPLAY_CLICK:"jwplayerViewClick",JWPLAYER_CONTROLS:"jwplayerViewControls",JWPLAYER_USER_ACTION:"jwplayerUserAction",JWPLAYER_INSTREAM_CLICK:"jwplayerInstreamClicked",JWPLAYER_INSTREAM_DESTROYED:"jwplayerInstreamDestroyed",JWPLAYER_AD_TIME:"jwplayerAdTime",JWPLAYER_AD_ERROR:"jwplayerAdError",JWPLAYER_AD_CLICK:"jwplayerAdClicked",JWPLAYER_AD_COMPLETE:"jwplayerAdComplete",JWPLAYER_AD_IMPRESSION:"jwplayerAdImpression",JWPLAYER_AD_COMPANIONS:"jwplayerAdCompanions",JWPLAYER_AD_SKIPPED:"jwplayerAdSkipped"}}(jwplayer),function(n){var t=n.utils;n.events.eventdispatcher=function(i,r){function e(n,i,r){var u,f;if(n)for(u=0;u<n.length;u++)if(f=n[u],f){null!==f.count&&0==--f.count&&delete n[u];try{f.listener(i)}catch(e){t.log('Error handling "'+r+'" event listener ['+u+"]: "+e.toString(),f.listener,i)}}}var u,f;this.resetEventListeners=function(){u={};f=[]};this.resetEventListeners();this.addEventListener=function(n,i,r){try{t.exists(u[n])||(u[n]=[]);"string"==t.typeOf(i)&&(i=new Function("return "+i)());u[n].push({listener:i,count:r||null})}catch(f){t.log("error",f)}return!1};this.removeEventListener=function(n,i){if(u[n]){try{for(var r=0;r<u[n].length;r++)if(u[n][r].listener.toString()==i.toString()){u[n].splice(r,1);break}}catch(f){t.log("error",f)}return!1}};this.addGlobalListener=function(n,i){try{"string"==t.typeOf(n)&&(n=new Function("return "+n)());f.push({listener:n,count:i||null})}catch(r){t.log("error",r)}return!1};this.removeGlobalListener=function(n){if(n){try{for(var i=f.length;i--;)f[i].listener.toString()==n.toString()&&f.splice(i,1)}catch(r){t.log("error",r)}return!1}};this.sendEvent=function(o,s){t.exists(s)||(s={});t.extend(s,{id:i,version:n.version,type:o});r&&t.log(o,s);e(u[o],s,o);e(f,s,o)}}}(window.jwplayer),function(n){var t={},i={};n.plugins=function(){};n.plugins.loadPlugins=function(r,u){return i[r]=new n.plugins.pluginloader(new n.plugins.model(t),u),i[r]};n.plugins.registerPlugin=function(i,r,u,f){var e=n.utils.getPluginName(i);t[e]||(t[e]=new n.plugins.plugin(i));t[e].registerPlugin(i,r,u,f)}}(jwplayer),function(n){n.plugins.model=function(t){this.addPlugin=function(i){var r=n.utils.getPluginName(i);return t[r]||(t[r]=new n.plugins.plugin(i)),t[r]};this.getPlugins=function(){return t}}}(jwplayer),function(n){var t=jwplayer.utils,i=jwplayer.events;n.pluginmodes={FLASH:0,JAVASCRIPT:1,HYBRID:2};n.plugin=function(r){function h(){switch(t.getPluginPathType(r)){case t.pluginPathType.ABSOLUTE:return r;case t.pluginPathType.RELATIVE:return t.getAbsolutePath(r,window.location.href)}}function l(){s=setTimeout(function(){f=t.loaderstatus.COMPLETE;o.sendEvent(i.COMPLETE)},1e3)}function a(){f=t.loaderstatus.ERROR;o.sendEvent(i.ERROR)}var f=t.loaderstatus.NEW,u,e,c,s,o=new i.eventdispatcher;t.extend(this,o);this.load=function(){if(f==t.loaderstatus.NEW)if(0<r.lastIndexOf(".swf"))u=r,f=t.loaderstatus.COMPLETE,o.sendEvent(i.COMPLETE);else if(t.getPluginPathType(r)==t.pluginPathType.CDN)f=t.loaderstatus.COMPLETE,o.sendEvent(i.COMPLETE);else{f=t.loaderstatus.LOADING;var n=new t.scriptloader(h());n.addEventListener(i.COMPLETE,l);n.addEventListener(i.ERROR,a);n.load()}};this.registerPlugin=function(n,r,h,l){s&&(clearTimeout(s),s=void 0);c=r;h&&l?(u=l,e=h):"string"==typeof h?u=h:"function"==typeof h?e=h:!h&&!l&&(u=n);f=t.loaderstatus.COMPLETE;o.sendEvent(i.COMPLETE)};this.getStatus=function(){return f};this.getPluginName=function(){return t.getPluginName(r)};this.getFlashPath=function(){if(u)switch(t.getPluginPathType(u)){case t.pluginPathType.ABSOLUTE:return u;case t.pluginPathType.RELATIVE:return 0<r.lastIndexOf(".swf")?t.getAbsolutePath(u,window.location.href):t.getAbsolutePath(u,h())}return null};this.getJS=function(){return e};this.getTarget=function(){return c};this.getPluginmode=function(){return"undefined"!=typeof u&&"undefined"!=typeof e?n.pluginmodes.HYBRID:"undefined"!=typeof u?n.pluginmodes.FLASH:"undefined"!=typeof e?n.pluginmodes.JAVASCRIPT:void 0};this.getNewInstance=function(n,t,i){return new e(n,t,i)};this.getURL=function(){return r}}}(jwplayer.plugins),function(n){var t=n.utils,i=n.events,r=t.foreach;n.plugins.pluginloader=function(u,f){function o(){e?l.sendEvent(i.ERROR,{message:c}):h||(h=!0,s=t.loaderstatus.COMPLETE,l.sendEvent(i.COMPLETE))}function a(){if(v||o(),!h&&!e){var i=0,r=u.getPlugins();t.foreach(v,function(u){var s,f;u=t.getPluginName(u);f=r[u];u=f.getJS();s=f.getTarget();f=f.getStatus();f==t.loaderstatus.LOADING||f==t.loaderstatus.NEW?i++:u&&(!s||parseFloat(s)>parseFloat(n.version))&&(e=!0,c="Incompatible player version",o())});0==i&&o()}}var s=t.loaderstatus.NEW,h=!1,e=!1,c,v=f,l=new i.eventdispatcher,y;t.extend(this,l);this.setupPlugins=function(n,i,f){var e={length:0,plugins:{}},s=0,o={},h=u.getPlugins();return r(i.plugins,function(r,u){var l=t.getPluginName(r),a=h[l],v=a.getFlashPath(),p=a.getJS(),y=a.getURL(),c;v&&(e.plugins[v]=t.extend({},u),e.plugins[v].pluginmode=a.getPluginmode(),e.length++);try{if(p&&i.plugins&&i.plugins[y]){c=document.createElement("div");c.id=n.id+"_"+l;c.style.position="absolute";c.style.top=0;c.style.zIndex=s+10;o[l]=a.getNewInstance(n,t.extend({},i.plugins[y]),c);s++;n.onReady(f(o[l],c,!0));n.onResize(f(o[l],c))}}catch(w){t.log("ERROR: Failed to load "+l+".")}}),n.plugins=o,e};this.load=function(){if(!(t.exists(f)&&"object"!=t.typeOf(f))){s=t.loaderstatus.LOADING;r(f,function(n){t.exists(n)&&(n=u.addPlugin(n),n.addEventListener(i.COMPLETE,a),n.addEventListener(i.ERROR,y))});var n=u.getPlugins();r(n,function(n,t){t.load()})}a()};y=this.pluginFailed=function(){e||(e=!0,c="File not found",o())};this.getStatus=function(){return s}}}(jwplayer),function(){jwplayer.parsers={localName:function(n){return n?n.localName?n.localName:n.baseName?n.baseName:"":""},textContent:function(n){return n?n.textContent?jwplayer.utils.trim(n.textContent):n.text?jwplayer.utils.trim(n.text):"":""},getChildNode:function(n,t){return n.childNodes[t]},numChildren:function(n){return n.childNodes?n.childNodes.length:0}}}(jwplayer),function(n){var t=n.parsers;(t.jwparser=function(){}).parseEntry=function(i,r){for(var e,h,o=[],f=[],s=n.utils.xmlAttribute,u=0;u<i.childNodes.length;u++)e=i.childNodes[u],"jwplayer"==e.prefix&&(h=t.localName(e),"source"==h?(delete r.sources,o.push({file:s(e,"file"),"default":s(e,"default"),label:s(e,"label"),type:s(e,"type")})):"track"==h?(delete r.tracks,f.push({file:s(e,"file"),"default":s(e,"default"),kind:s(e,"kind"),label:s(e,"label")})):(r[h]=n.utils.serialize(t.textContent(e)),"file"==h&&r.sources&&delete r.sources)),r.file||(r.file=r.link);if(o.length)for(r.sources=[],u=0;u<o.length;u++)0<o[u].file.length&&(o[u]["default"]="true"==o[u]["default"]?!0:!1,o[u].label.length||delete o[u].label,r.sources.push(o[u]));if(f.length)for(r.tracks=[],u=0;u<f.length;u++)0<f[u].file.length&&(f[u]["default"]="true"==f[u]["default"]?!0:!1,f[u].kind=f[u].kind.length?f[u].kind:"captions",f[u].label.length||delete f[u].label,r.tracks.push(f[u]));return r}}(jwplayer),function(n){var u=jwplayer.utils,t=u.xmlAttribute,f=n.localName,i=n.textContent,e=n.numChildren,r=n.mediaparser=function(){};r.parseGroup=function(n,o){for(var s,l=[],c,v,a,h=0;h<e(n);h++)if(s=n.childNodes[h],"media"==s.prefix&&f(s))switch(f(s).toLowerCase()){case"content":t(s,"duration")&&(o.duration=u.seconds(t(s,"duration")));0<e(s)&&(o=r.parseGroup(s,o));t(s,"url")&&(o.sources||(o.sources=[]),o.sources.push({file:t(s,"url"),type:t(s,"type"),width:t(s,"width"),label:t(s,"label")}));break;case"title":o.title=i(s);break;case"description":o.description=i(s);break;case"guid":o.mediaid=i(s);break;case"thumbnail":o.image||(o.image=t(s,"url"));break;case"group":r.parseGroup(s,o);break;case"subtitle":c={};c.file=t(s,"url");c.kind="captions";0<t(s,"lang").length&&(v=c,s=t(s,"lang"),a={zh:"Chinese",nl:"Dutch",en:"English",fr:"French",de:"German",it:"Italian",ja:"Japanese",pt:"Portuguese",ru:"Russian",es:"Spanish"},s=a[s]?a[s]:s,v.label=s);l.push(c)}for(o.hasOwnProperty("tracks")||(o.tracks=[]),h=0;h<l.length;h++)o.tracks.push(l[h]);return o}}(jwplayer.parsers),function(n){function f(r){for(var f,s,u={},o=0;o<r.childNodes.length;o++)if(f=r.childNodes[o],s=i(f),s)switch(s.toLowerCase()){case"enclosure":u.file=e.xmlAttribute(f,"url");break;case"title":u.title=t(f);break;case"guid":u.mediaid=t(f);break;case"pubdate":u.date=t(f);break;case"description":u.description=t(f);break;case"link":u.link=t(f);break;case"category":u.tags=u.tags?u.tags+t(f):t(f)}return u=n.mediaparser.parseGroup(r,u),u=n.jwparser.parseEntry(r,u),new jwplayer.playlist.item(u)}var e=jwplayer.utils,t=n.textContent,r=n.getChildNode,u=n.numChildren,i=n.localName;n.rssparser={};n.rssparser.parse=function(n){for(var e,o,h,s=[],t=0;t<u(n);t++)if(e=r(n,t),"channel"==i(e).toLowerCase())for(o=0;o<u(e);o++)h=r(e,o),"item"==i(h).toLowerCase()&&s.push(f(h));return s}}(jwplayer.parsers),function(n){n.playlist=function(t){var r=[],i;if("array"==n.utils.typeOf(t))for(i=0;i<t.length;i++)r.push(new n.playlist.item(t[i]));else r.push(new n.playlist.item(t));return r}}(jwplayer),function(n){var t=n.item=function(i){var f=jwplayer.utils,r=f.extend({},t.defaults,i),u,e;for(r.tracks=i&&f.exists(i.tracks)?i.tracks:[],0==r.sources.length&&(r.sources=[new n.source(r)]),u=0;u<r.sources.length;u++)e=r.sources[u]["default"],r.sources[u]["default"]=e?"true"==e.toString():!1,r.sources[u]=new n.source(r.sources[u]);if(r.captions&&!f.exists(i.tracks)){for(i=0;i<r.captions.length;i++)r.tracks.push(r.captions[i]);delete r.captions}for(u=0;u<r.tracks.length;u++)r.tracks[u]=new n.track(r.tracks[u]);return r};t.defaults={description:"",image:"",mediaid:"",title:"",sources:[],tracks:[]}}(jwplayer.playlist),function(n){var t=jwplayer,u=t.utils,i=t.events,r=t.parsers;n.loader=function(){function e(u){var o,e,s;try{for(o=u.responseXML.childNodes,u="",e=0;e<o.length&&!(u=o[e],8!=u.nodeType);e++);"xml"==r.localName(u)&&(u=u.nextSibling);"rss"!=r.localName(u)?t("Not a valid RSS feed"):(s=new n(r.rssparser.parse(u)),f.sendEvent(i.JWPLAYER_PLAYLIST_LOADED,{playlist:s}))}catch(h){t()}}function o(n){t(n.match(/invalid/i)?"Not a valid RSS feed":"")}function t(n){f.sendEvent(i.JWPLAYER_ERROR,{message:n?n:"Error loading file"})}var f=new i.eventdispatcher;u.extend(this,f);this.load=function(n){u.ajax(n,e,o)}}}(jwplayer.playlist),function(n){var t=jwplayer.utils,i={file:void 0,label:void 0,type:void 0,"default":void 0};n.source=function(n){var r=t.extend({},i);return t.foreach(i,function(i){t.exists(n[i])&&(r[i]=n[i],delete n[i])}),r.type&&0<r.type.indexOf("/")&&(r.type=t.extensionmap.mimeType(r.type)),"m3u8"==r.type&&(r.type="hls"),"smil"==r.type&&(r.type="rtmp"),r}}(jwplayer.playlist),function(n){var t=jwplayer.utils,i={file:void 0,label:void 0,kind:"captions","default":!1};n.track=function(n){var r=t.extend({},i);return n||(n={}),t.foreach(i,function(i){t.exists(n[i])&&(r[i]=n[i],delete n[i])}),r}}(jwplayer.playlist),function(n){function e(n,i,r){var u=n.style;u.backgroundColor="#000";u.color="#FFF";u.width=t.styleDimension(r.width);u.height=t.styleDimension(r.height);u.display="table";u.opacity=1;r=document.createElement("p");u=r.style;u.verticalAlign="middle";u.textAlign="center";u.display="table-cell";u.font="15px/20px Arial, Helvetica, sans-serif";r.innerHTML=i.replace(":",":<br>");n.innerHTML="";n.appendChild(r)}var t=n.utils,i=n.events,u=!0,r=!1,o=document,f=n.embed=function(s){function rt(n,i){t.foreach(i,function(t,i){"function"==typeof n[t]&&n[t].call(n,i)})}function nt(){var e,p,a,o;if(!b)if("array"==t.typeOf(h.playlist)&&2>h.playlist.length&&(0==h.playlist.length||!h.playlist[0].sources||0==h.playlist[0].sources.length))k();else if(!w)if("string"==t.typeOf(h.playlist))e=new n.playlist.loader,e.addEventListener(i.JWPLAYER_PLAYLIST_LOADED,function(n){h.playlist=n.playlist;w=r;nt()}),e.addEventListener(i.JWPLAYER_ERROR,function(n){w=r;k(n)}),w=u,e.load(h.playlist);else if(v.getStatus()==t.loaderstatus.COMPLETE){for(e=0;e<h.modes.length;e++)if(h.modes[e].type&&f[h.modes[e].type]&&(p=t.extend({},h),a=new f[h.modes[e].type](c,h.modes[e],p,v,s),a.supportsConfig()))return a.addEventListener(i.ERROR,ut),a.embed(),rt(s,p.events),s;h.fallback?(o="No suitable players found and fallback enabled",l=setTimeout(function(){y(o,u)},10),t.log(o),new f.download(c,h,k)):(o="No suitable players found and fallback disabled",y(o,r),t.log(o),c.parentNode.replaceChild(tt,c))}}function ut(n){a(it+n.message)}function ft(n){a("Could not load plugins: "+n.message)}function k(n){n&&n.message?a("Error loading playlist: "+n.message):a(it+"No playable sources found")}function y(n,t){l&&(clearTimeout(l),l=null);l=setTimeout(function(){l=null;s.dispatchEvent(i.JWPLAYER_SETUP_ERROR,{message:n,fallback:t})},0)}function a(n){b||(h.fallback?(b=u,e(c,n,h),y(n,u)):y(n,r))}var h=new f.config(s.config),c,p,tt,d=h.width,g=h.height,it="Error loading player: ",v=n.plugins.loadPlugins(s.id,h.plugins),w=r,b=r,l=null;return h.fallbackDiv&&(tt=h.fallbackDiv,delete h.fallbackDiv),h.id=s.id,p=o.getElementById(s.id),h.aspectratio?s.config.aspectratio=h.aspectratio:delete s.config.aspectratio,c=o.createElement("div"),c.id=p.id,c.style.width=0<d.toString().indexOf("%")?d:d+"px",c.style.height=0<g.toString().indexOf("%")?g:g+"px",p.parentNode.replaceChild(c,p),this.embed=function(){b||(v.addEventListener(i.COMPLETE,nt),v.addEventListener(i.ERROR,ft),v.load())},this.errorScreen=a,this};n.embed.errorScreen=e}(jwplayer),function(n){function u(n){var u,f;if(n.playlist)for(u=0;u<n.playlist.length;u++)n.playlist[u]=new r(n.playlist[u]);else f={},t.foreach(r.defaults,function(t){i(n,f,t)}),f.sources||(n.levels?(f.sources=n.levels,delete n.levels):(u={},i(n,u,"file"),i(n,u,"type"),f.sources=u.file?[u]:[])),n.playlist=[new r(f)]}function i(n,i,r){t.exists(n[r])&&(i[r]=n[r],delete n[r])}var t=n.utils,r=n.playlist.item;(n.embed.config=function(i){var r={fallback:!0,height:270,primary:"html5",width:480,base:i.base?i.base:t.getScriptPath("jwplayer.js"),aspectratio:""},f,e;return i=t.extend(r,n.defaults,i),r={type:"html5",src:i.base+"jwplayer.html5.js"},f={type:"flash",src:i.base+"jwplayer.flash.swf"},i.modes="flash"==i.primary?[f,r]:[r,f],i.listbar&&(i.playlistsize=i.listbar.size,i.playlistposition=i.listbar.position,i.playlistlayout=i.listbar.layout),i.flashplayer&&(f.src=i.flashplayer),i.html5player&&(r.src=i.html5player),u(i),f=i.aspectratio,"string"==typeof f&&t.exists(f)?(e=f.indexOf(":"),-1==e?r=0:(r=parseFloat(f.substr(0,e)),f=parseFloat(f.substr(e+1)),r=0>=r||0>=f?0:100*(f/r)+"%")):r=0,-1==i.width.toString().indexOf("%")?delete i.aspectratio:r?i.aspectratio=r:delete i.aspectratio,i}).addConfig=function(n,i){return u(i),t.extend(n,i)}}(jwplayer),function(n){var t=n.utils,i=document;n.embed.download=function(n,r,u){function s(n,r){for(var f=i.querySelectorAll(n),u=0;u<f.length;u++)t.foreach(r,function(n,t){f[u].style[n]=t})}function h(n,t,r){return n=i.createElement(n),t&&(n.className="jwdownload"+t),r&&r.appendChild(n),n}var f=t.extend({},r),y=f.width?f.width:480,p=f.height?f.height:320,o,c,w,l,a,v,e,b;if(r=r.logo?r.logo:{prefix:t.repo(),file:"logo.png",margin:10},f=f.playlist,v=["mp4","aac","mp3"],f&&f.length){for(a=f[0],o=a.sources,f=0;f<o.length;f++)e=o[f],b=e.type?e.type:t.extensionmap.extType(t.extension(e.file)),e.file&&t.foreach(v,function(n){b==v[n]?(c=e.file,w=a.image):t.isYouTube(e.file)&&(l=e.file)});c?(o=c,u=w,n&&(f=h("a","display",n),h("div","icon",f),h("div","logo",f),o&&f.setAttribute("href",t.getAbsolutePath(o))),f="#"+n.id+" .jwdownload",n.style.width="",n.style.height="",s(f+"display",{width:t.styleDimension(Math.max(320,y)),height:t.styleDimension(Math.max(180,p)),background:"black center no-repeat "+(u?"url("+u+")":""),backgroundSize:"contain",position:"relative",border:"none",display:"block"}),s(f+"display div",{position:"absolute",width:"100%",height:"100%"}),s(f+"logo",{top:r.margin+"px",right:r.margin+"px",background:"top right no-repeat url("+r.prefix+r.file+")"}),s(f+"icon",{background:"center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgNJREFUeNrs28lqwkAYB/CZqNVDDj2r6FN41QeIy8Fe+gj6BL275Q08u9FbT8ZdwVfotSBYEPUkxFOoks4EKiJdaDuTjMn3wWBO0V/+sySR8SNSqVRKIR8qaXHkzlqS9jCfzzWcTCYp9hF5o+59sVjsiRzcegSckFzcjT+ruN80TeSlAjCAAXzdJSGPFXRpAAMYwACGZQkSdhG4WCzehMNhqV6vG6vVSrirKVEw66YoSqDb7cqlUilE8JjHd/y1MQefVzqdDmiaJpfLZWHgXMHn8F6vJ1cqlVAkEsGuAn83J4gAd2RZymQygX6/L1erVQt+9ZPWb+CDwcCC2zXGJaewl/DhcHhK3DVj+KfKZrMWvFarcYNLomAv4aPRSFZVlTlcSPA5fDweW/BoNIqFnKV53JvncjkLns/n/cLdS+92O7RYLLgsKfv9/t8XlDn4eDyiw+HA9Jyz2eyt0+kY2+3WFC5hluej0Ha7zQQq9PPwdDq1Et1sNsx/nFBgCqWJ8oAK1aUptNVqcYWewE4nahfU0YQnk4ntUEfGMIU2m01HoLaCKbTRaDgKtaVLk9tBYaBcE/6Artdr4RZ5TB6/dC+9iIe/WgAMYADDpAUJAxjAAAYwgGFZgoS/AtNNTF7Z2bL0BYPBV3Jw5xFwwWcYxgtBP5OkE8i9G7aWGOOCruvauwADALMLMEbKf4SdAAAAAElFTkSuQmCC)"})):l?(r=l,n=h("iframe","",n),n.src="http://www.youtube.com/embed/"+t.youTubeID(r),n.width=y,n.height=p,n.style.border="none"):u()}}}(jwplayer),function(n){var t=n.utils,u=n.events,i={},r;(n.embed.flash=function(f,e,o,s,h){function c(n,t,i){var r=document.createElement("param");r.setAttribute("name",t);r.setAttribute("value",i);n.appendChild(r)}function v(n,t,i){return function(){try{i&&document.getElementById(h.id+"_wrapper").appendChild(t);var r=document.getElementById(h.id).getPluginConfig("display");"function"==typeof n.resize&&n.resize(r.width,r.height);t.style.left=r.x;t.style.top=r.h}catch(u){}}}function y(n){if(!n)return{};var i={},r=[];return t.foreach(n,function(n,u){var f=t.getPluginName(n);r.push(n);t.foreach(u,function(n,t){i[f+"."+n]=t})}),i.plugins=r.join(","),i}var l=new n.events.eventdispatcher,a=t.flashVersion();t.extend(this,l);this.embed=function(){var r,n,w,p,b;if(o.id=h.id,10>a)return l.sendEvent(u.ERROR,{message:"Flash version must be 10.0 or greater"}),!1;for(w=h.config.listbar,p=t.extend({},o),f.id+"_wrapper"==f.parentNode.id?r=document.getElementById(f.id+"_wrapper"):(r=document.createElement("div"),n=document.createElement("div"),n.style.display="none",n.id=f.id+"_aspect",r.id=f.id+"_wrapper",r.style.position="relative",r.style.display="block",r.style.width=t.styleDimension(p.width),r.style.height=t.styleDimension(p.height),h.config.aspectratio&&(b=parseFloat(h.config.aspectratio),n.style.display="block",n.style.marginTop=h.config.aspectratio,r.style.height="auto",r.style.display="inline-block",w&&("bottom"==w.position?n.style.paddingBottom=w.size+"px":"right"==w.position&&(n.style.marginBottom=-1*w.size*(b/100)+"px"))),f.parentNode.replaceChild(r,f),r.appendChild(f),r.appendChild(n)),r=s.setupPlugins(h,p,v),0<r.length?t.extend(p,y(r.plugins)):delete p.plugins,"undefined"!=typeof p["dock.position"]&&"false"==p["dock.position"].toString().toLowerCase()&&(p.dock=p["dock.position"],delete p["dock.position"]),r=p.wmode?p.wmode:p.height&&40>=p.height?"transparent":"opaque",n="height width modes events primary base fallback volume".split(" "),w=0;w<n.length;w++)delete p[n[w]];n=t.getCookies();t.foreach(n,function(n,t){"undefined"==typeof p[n]&&(p[n]=t)});n=window.location.href.split("/");n.splice(n.length-1,1);n=n.join("/");p.base=n+"/";i[f.id]=p;t.isIE()?(n='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" " width="100%" height="100%"id="'+f.id+'" name="'+f.id+'" tabindex=0"">',n+='<param name="movie" value="'+e.src+'">',n+='<param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always">',n+='<param name="seamlesstabbing" value="true">',n+='<param name="wmode" value="'+r+'">',n+='<param name="bgcolor" value="#000000">',n+="<\/object>",f.outerHTML=n,r=document.getElementById(f.id)):(n=document.createElement("object"),n.setAttribute("type","application/x-shockwave-flash"),n.setAttribute("data",e.src),n.setAttribute("width","100%"),n.setAttribute("height","100%"),n.setAttribute("bgcolor","#000000"),n.setAttribute("id",f.id),n.setAttribute("name",f.id),n.setAttribute("tabindex",0),c(n,"allowfullscreen","true"),c(n,"allowscriptaccess","always"),c(n,"seamlesstabbing","true"),c(n,"wmode",r),f.parentNode.replaceChild(n,f),r=n);h.config.aspectratio&&(r.style.position="absolute");h.container=r;h.setPlayer(r,"flash")};this.supportsConfig=function(){var n,i;if(a)if(o){if("string"==t.typeOf(o.playlist))return!0;try{if(n=o.playlist[0].sources,"undefined"==typeof n)return!0;for(i=0;i<n.length;i++)if(n[i].file&&r(n[i].file,n[i].type))return!0}catch(u){}}else return!0;return!1}}).getVars=function(n){return i[n]};r=n.embed.flashCanPlay=function(n,i){if(t.isYouTube(n)||t.isRtmp(n,i)||"hls"==i)return!0;var r=t.extensionmap[i?i:t.extension(n)];return r?!!r.flash:!1}}(jwplayer),function(n){var t=n.utils,r=t.extensionmap,i=n.events;n.embed.html5=function(u,f,e,o,s){function c(n,t,i){return function(){try{var r=document.querySelector("#"+u.id+" .jwmain");i&&r.appendChild(t);"function"==typeof n.resize&&(n.resize(r.clientWidth,r.clientHeight),setTimeout(function(){n.resize(r.clientWidth,r.clientHeight)},400));t.left=r.style.left;t.top=r.style.top}catch(f){}}}function l(n){h.sendEvent(n.type,{message:"HTML5 player not found"})}var h=this,a=new i.eventdispatcher;t.extend(h,a);h.embed=function(){if(n.html5){o.setupPlugins(s,e,c);u.innerHTML="";var r=n.utils.extend({},e);delete r.volume;r=new n.html5.player(r);s.container=document.getElementById(s.id);s.setPlayer(r,"html5")}else r=new t.scriptloader(f.src),r.addEventListener(i.ERROR,l),r.addEventListener(i.COMPLETE,h.embed),r.load()};h.supportsConfig=function(){var s,i,c,u,h,f,o,l,a;if(n.vid.canPlayType)try{if("string"==t.typeOf(e.playlist))return!0;for(s=e.playlist[0].sources,i=0;i<s.length;i++){if(u=s[i].file,h=s[i].type,null!==navigator.userAgent.match(/BlackBerry/i)||t.isAndroid()&&("m3u"==t.extension(u)||"m3u8"==t.extension(u))||t.isRtmp(u,h))c=!1;else{if(f=r[h?h:t.extension(u)],f&&(!f.flash||f.html5))if(l=f.html5,a=n.vid,l)try{o=a.canPlayType(l)?!0:!1}catch(v){o=!1}else o=!0;else o=!1;c=o}if(c)return!0}}catch(y){}return!1}}}(jwplayer),function(n){var r=n.embed,t=n.utils,i=/\.(js|swf)$/;n.embed=t.extend(function(u){function v(){a="Adobe SiteCatalyst Error: Could not find Media Module"}var h=t.repo(),c=t.extend({},n.defaults),f=t.extend({},c,u.config),o=u.config,e=f.plugins,s=f.analytics,y=h+"jwpsrv.js",p=h+"sharing.js",w=h+"related.js",b=h+"gapro.js",c=n.key?n.key:c.key,l=new n.utils.key(c).edition(),a,e=e?e:{};"ads"==l&&f.advertising&&(i.test(f.advertising.client)?e[f.advertising.client]=f.advertising:e[h+f.advertising.client+".js"]=f.advertising);delete o.advertising;o.key=c;f.analytics&&i.test(f.analytics.client)&&(y=f.analytics.client);delete o.analytics;s&&"ads"!==l&&delete s.enabled;"free"!=l&&s&&!1===s.enabled||(e[y]=s?s:{});delete e.sharing;delete e.related;switch(l){case"ads":if(o.sitecatalyst)try{window.s&&window.s.hasOwnProperty("Media")?new n.embed.sitecatalyst(u):v()}catch(k){v()}case"premium":f.related&&(i.test(f.related.client)&&(w=f.related.client),e[w]=f.related);f.ga&&(i.test(f.ga.client)&&(b=f.ga.client),e[b]=f.ga);case"pro":f.sharing&&(i.test(f.sharing.client)&&(p=f.sharing.client),e[p]=f.sharing);f.skin&&(o.skin=f.skin.replace(/^(beelden|bekle|five|glow|modieus|roundster|stormtrooper|vapor)$/i,t.repo()+"skins/$1.xml"))}return o.plugins=e,u.config=o,u=new r(u),a&&u.errorScreen(a),u},n.embed)}(jwplayer),function(n){var t=jwplayer.utils;n.sitecatalyst=function(n){function r(n){f.debug&&t.log(n)}function y(n){return n=n.split("/"),n=n[n.length-1],n=n.split("?"),n[0]}function c(){if(!h){h=!0;var n=u.getPosition();r("stop: "+i+" : "+n);s.Media.stop(i,n)}}function l(){v||(c(),v=!0,r("close: "+i),s.Media.close(i),o=!0,e=0)}var u=n,f=t.extend({},u.config.sitecatalyst),p={onPlay:function(){if(!o){var n=u.getPosition();h=!1;r("play: "+i+" : "+n);s.Media.play(i,n)}},onPause:c,onBuffer:c,onIdle:l,onPlaylistItem:function(n){var s,r;try{o=!0;l();e=0;f.mediaName?s=f.mediaName:(r=u.getPlaylistItem(n.index),s=r.title?r.title:r.file?y(r.file):r.sources&&r.sources.length?y(r.sources[0].file):"");i=s;a=f.playerName?f.playerName:u.id}catch(h){t.log(h)}},onTime:function(){var n,t;if(o){if(n=u.getDuration(),-1==n)return;v=h=o=!1;r("open: "+i+" : "+n+" : "+a);s.Media.open(i,n,a);r("play: "+i+" : 0");s.Media.play(i,0)}n=u.getPosition();3<=Math.abs(n-e)&&(t=e,r("seek: "+t+" to "+n),r("stop: "+i+" : "+t),s.Media.stop(i,t),r("play: "+i+" : "+n),s.Media.play(i,n));e=n},onComplete:l},i,a,e,h=!0,v=!0,o;t.foreach(p,function(n){u[n](p[n])})}}(jwplayer.embed),function(n,t){var u=[],r=n.utils,i=n.events,e=i.state,o=document,f=n.api=function(u){function nt(n,t){return function(i){return t(n,i)}}function it(n,t){return p[n]||(p[n]=[],y(i.JWPLAYER_PLAYER_STATE,function(t){var u=t.newstate,i,r,f;if(t=t.oldstate,u==n&&(i=p[u],i))for(r=0;r<i.length;r++)f=i[r],"function"==typeof f&&f.call(this,{oldstate:t,newstate:u})})),p[n].push(t),s}function tt(n,t){try{n.jwAddEventListener(t,'function(dat) { jwplayer("'+s.id+'").dispatchEvent("'+t+'", dat); }')}catch(i){r.log("Could not add internal listener")}}function y(n,t){return l[n]||(l[n]=[],c&&w&&tt(c,n)),l[n].push(t),s}function h(){if(w){if(c){var n=Array.prototype.slice.call(arguments,0),t=n.shift();if("function"==typeof c[t]){switch(n.length){case 6:return c[t](n[0],n[1],n[2],n[3],n[4],n[5]);case 5:return c[t](n[0],n[1],n[2],n[3],n[4]);case 4:return c[t](n[0],n[1],n[2],n[3]);case 3:return c[t](n[0],n[1],n[2]);case 2:return c[t](n[0],n[1]);case 1:return c[t](n[0])}return c[t]()}}return null}v.push(arguments)}var s=this,l={},p={},c,w=!1,v=[],a,b={},k={},d,g;return s.container=u,s.id=u.id,s.getBuffer=function(){return h("jwGetBuffer")},s.getContainer=function(){return s.container},s.addButton=function(n,t,i,u){try{k[u]=i;h("jwDockAddButton",n,t,"jwplayer('"+s.id+"').callback('"+u+"')",u)}catch(f){r.log("Could not add dock button"+f.message)}},s.removeButton=function(n){h("jwDockRemoveButton",n)},s.callback=function(n){k[n]&&k[n]()},s.forceState=function(n){return h("jwForceState",n),s},s.releaseState=function(){return h("jwReleaseState")},s.getDuration=function(){return h("jwGetDuration")},s.getFullscreen=function(){return h("jwGetFullscreen")},s.getHeight=function(){return h("jwGetHeight")},s.getLockState=function(){return h("jwGetLockState")},s.getMeta=function(){return s.getItemMeta()},s.getMute=function(){return h("jwGetMute")},s.getPlaylist=function(){var n=h("jwGetPlaylist");return"flash"==s.renderingMode&&r.deepReplaceKeyName(n,["__dot__","__spc__","__dsh__","__default__"],["."," ","-","default"]),n},s.getPlaylistItem=function(n){return r.exists(n)||(n=s.getPlaylistIndex()),s.getPlaylist()[n]},s.getPlaylistIndex=function(){return h("jwGetPlaylistIndex")},s.getPosition=function(){return h("jwGetPosition")},s.getRenderingMode=function(){return s.renderingMode},s.getState=function(){return h("jwGetState")},s.getVolume=function(){return h("jwGetVolume")},s.getWidth=function(){return h("jwGetWidth")},s.setFullscreen=function(n){return r.exists(n)?h("jwSetFullscreen",n):h("jwSetFullscreen",!h("jwGetFullscreen")),s},s.setMute=function(n){return r.exists(n)?h("jwSetMute",n):h("jwSetMute",!h("jwGetMute")),s},s.lock=function(){return s},s.unlock=function(){return s},s.load=function(n){return h("jwLoad",n),s},s.playlistItem=function(n){return h("jwPlaylistItem",parseInt(n,10)),s},s.playlistPrev=function(){return h("jwPlaylistPrev"),s},s.playlistNext=function(){return h("jwPlaylistNext"),s},s.resize=function(n,t){if("flash"!==s.renderingMode)h("jwResize",n,t);else{var i=o.getElementById(s.id+"_wrapper"),u=o.getElementById(s.id+"_aspect");u&&(u.style.display="none");i&&(i.style.display="block",i.style.width=r.styleDimension(n),i.style.height=r.styleDimension(t))}return s},s.play=function(n){return n===t?(n=s.getState(),n==e.PLAYING||n==e.BUFFERING?h("jwPause"):h("jwPlay")):h("jwPlay",n),s},s.pause=function(n){return n===t?(n=s.getState(),n==e.PLAYING||n==e.BUFFERING?h("jwPause"):h("jwPlay")):h("jwPause",n),s},s.stop=function(){return h("jwStop"),s},s.seek=function(n){return h("jwSeek",n),s},s.setVolume=function(n){return h("jwSetVolume",n),s},s.createInstream=function(){return new f.instream(this,c)},s.setInstream=function(n){return a=n},s.loadInstream=function(n,t){return a=s.setInstream(s.createInstream()).init(t),a.loadItem(n),a},s.getQualityLevels=function(){return h("jwGetQualityLevels")},s.getCurrentQuality=function(){return h("jwGetCurrentQuality")},s.setCurrentQuality=function(n){h("jwSetCurrentQuality",n)},s.getCaptionsList=function(){return h("jwGetCaptionsList")},s.getCurrentCaptions=function(){return h("jwGetCurrentCaptions")},s.setCurrentCaptions=function(n){h("jwSetCurrentCaptions",n)},s.getControls=function(){return h("jwGetControls")},s.getSafeRegion=function(){return h("jwGetSafeRegion")},s.setControls=function(n){h("jwSetControls",n)},s.destroyPlayer=function(){h("jwPlayerDestroy")},s.playAd=function(t){var i=n(s.id).plugins;i.vast&&i.vast.jwPlayAd(t)},s.pauseAd=function(){var t=n(s.id).plugins;t.vast?t.vast.jwPauseAd():h("jwPauseAd")},d={onBufferChange:i.JWPLAYER_MEDIA_BUFFER,onBufferFull:i.JWPLAYER_MEDIA_BUFFER_FULL,onError:i.JWPLAYER_ERROR,onSetupError:i.JWPLAYER_SETUP_ERROR,onFullscreen:i.JWPLAYER_FULLSCREEN,onMeta:i.JWPLAYER_MEDIA_META,onMute:i.JWPLAYER_MEDIA_MUTE,onPlaylist:i.JWPLAYER_PLAYLIST_LOADED,onPlaylistItem:i.JWPLAYER_PLAYLIST_ITEM,onPlaylistComplete:i.JWPLAYER_PLAYLIST_COMPLETE,onReady:i.API_READY,onResize:i.JWPLAYER_RESIZE,onComplete:i.JWPLAYER_MEDIA_COMPLETE,onSeek:i.JWPLAYER_MEDIA_SEEK,onTime:i.JWPLAYER_MEDIA_TIME,onVolume:i.JWPLAYER_MEDIA_VOLUME,onBeforePlay:i.JWPLAYER_MEDIA_BEFOREPLAY,onBeforeComplete:i.JWPLAYER_MEDIA_BEFORECOMPLETE,onDisplayClick:i.JWPLAYER_DISPLAY_CLICK,onControls:i.JWPLAYER_CONTROLS,onQualityLevels:i.JWPLAYER_MEDIA_LEVELS,onQualityChange:i.JWPLAYER_MEDIA_LEVEL_CHANGED,onCaptionsList:i.JWPLAYER_CAPTIONS_LIST,onCaptionsChange:i.JWPLAYER_CAPTIONS_CHANGED,onAdError:i.JWPLAYER_AD_ERROR,onAdClick:i.JWPLAYER_AD_CLICK,onAdImpression:i.JWPLAYER_AD_IMPRESSION,onAdTime:i.JWPLAYER_AD_TIME,onAdComplete:i.JWPLAYER_AD_COMPLETE,onAdCompanions:i.JWPLAYER_AD_COMPANIONS,onAdSkipped:i.JWPLAYER_AD_SKIPPED},r.foreach(d,function(n){s[n]=nt(d[n],y)}),g={onBuffer:e.BUFFERING,onPause:e.PAUSED,onPlay:e.PLAYING,onIdle:e.IDLE},r.foreach(g,function(n){s[n]=nt(g[n],it)}),s.remove=function(){if(!w)throw"Cannot call remove() before player is ready";v=[];f.destroyPlayer(this.id)},s.setup=function(t){if(n.embed){var i=o.getElementById(s.id);return i&&(t.fallbackDiv=i),i=s,v=[],f.destroyPlayer(i.id),i=n(s.id),i.config=t,new n.embed(i).embed(),i}return s},s.registerPlugin=function(t,i,r,u){n.plugins.registerPlugin(t,i,r,u)},s.setPlayer=function(n,t){c=n;s.renderingMode=t},s.detachMedia=function(){if("html5"==s.renderingMode)return h("jwDetachMedia")},s.attachMedia=function(n){if("html5"==s.renderingMode)return h("jwAttachMedia",n)},s.removeEventListener=function(n,t){var i=l[n],r;if(i)for(r=i.length;r--;)i[r]===t&&i.splice(r,1)},s.dispatchEvent=function(n,t){var u=l[n],e;if(u)for(var u=u.slice(0),o=r.translateEventResponse(n,t),f=0;f<u.length;f++)if(e=u[f],"function"==typeof e)try{n===i.JWPLAYER_PLAYLIST_LOADED&&r.deepReplaceKeyName(o.playlist,["__dot__","__spc__","__dsh__","__default__"],["."," ","-","default"]);e.call(this,o)}catch(s){r.log("There was an error calling back an event handler")}},s.dispatchInstreamEvent=function(n){a&&a.dispatchEvent(n,arguments)},s.callInternal=h,s.playerReady=function(n){for(w=!0,c||s.setPlayer(o.getElementById(n.id)),s.container=o.getElementById(s.id),r.foreach(l,function(n){tt(c,n)}),y(i.JWPLAYER_PLAYLIST_ITEM,function(){b={}}),y(i.JWPLAYER_MEDIA_META,function(n){r.extend(b,n.metadata)}),s.dispatchEvent(i.API_READY);0<v.length;)h.apply(this,v.shift())},s.getItemMeta=function(){return b},s.isBeforePlay=function(){return h("jwIsBeforePlay")},s.isBeforeComplete=function(){return h("jwIsBeforeComplete")},s};f.selectPlayer=function(n){var t;return r.exists(n)||(n=0),n.nodeType?t=n:"string"==typeof n&&(t=o.getElementById(n)),t?(n=f.playerById(t.id))?n:f.addPlayer(new f(t)):"number"==typeof n?u[n]:null};f.playerById=function(n){for(var t=0;t<u.length;t++)if(u[t].id==n)return u[t];return null};f.addPlayer=function(n){for(var t=0;t<u.length;t++)if(u[t]==n)return n;return u.push(n),n};f.destroyPlayer=function(n){for(var f=-1,i,t=0;t<u.length;t++)u[t].id==n&&(f=t,i=u[t]);return 0<=f&&(n=i.id,t=o.getElementById(n+("flash"==i.renderingMode?"_wrapper":"")),r.clearCss&&r.clearCss("#"+n),t&&("html5"==i.renderingMode&&i.destroyPlayer(),i=o.createElement("div"),i.id=n,t.parentNode.replaceChild(i,t)),u.splice(f,1)),null};n.playerReady=function(t){var i=n.api.playerById(t.id);i?i.playerReady(t):n.api.selectPlayer(t.id).playerReady(t)}}(window.jwplayer),function(n){var t=n.events,r=n.utils,i=t.state;n.api.instream=function(n,u){function e(t,i){return o[t]||(o[t]=[],u.jwInstreamAddEventListener(t,'function(dat) { jwplayer("'+n.id+'").dispatchInstreamEvent("'+t+'", dat); }')),o[t].push(i),this}function h(n,i){return s[n]||(s[n]=[],e(t.JWPLAYER_PLAYER_STATE,function(t){var u=t.newstate,e=t.oldstate,i,r,f;if(u==n&&(i=s[u],i))for(r=0;r<i.length;r++)f=i[r],"function"==typeof f&&f.call(this,{oldstate:e,newstate:u,type:t.type})})),s[n].push(i),this}var c,l,o={},s={},f=this;f.type="instream";f.init=function(){return n.callInternal("jwInitInstream"),f};f.loadItem=function(t,i){c=t;l=i||{};"array"==r.typeOf(t)?n.callInternal("jwLoadArrayInstream",c,l):n.callInternal("jwLoadItemInstream",c,l)};f.removeEvents=function(){o=s={}};f.removeEventListener=function(n,t){var i=o[n],r;if(i)for(r=i.length;r--;)i[r]===t&&i.splice(r,1)};f.dispatchEvent=function(n,t){var i=o[n],f;if(i)for(var i=i.slice(0),e=r.translateEventResponse(n,t[1]),u=0;u<i.length;u++)f=i[u],"function"==typeof f&&f.call(this,e)};f.onError=function(n){return e(t.JWPLAYER_ERROR,n)};f.onMediaError=function(n){return e(t.JWPLAYER_MEDIA_ERROR,n)};f.onFullscreen=function(n){return e(t.JWPLAYER_FULLSCREEN,n)};f.onMeta=function(n){return e(t.JWPLAYER_MEDIA_META,n)};f.onMute=function(n){return e(t.JWPLAYER_MEDIA_MUTE,n)};f.onComplete=function(n){return e(t.JWPLAYER_MEDIA_COMPLETE,n)};f.onPlaylistComplete=function(n){return e(t.JWPLAYER_PLAYLIST_COMPLETE,n)};f.onPlaylistItem=function(n){return e(t.JWPLAYER_PLAYLIST_ITEM,n)};f.onTime=function(n){return e(t.JWPLAYER_MEDIA_TIME,n)};f.onBuffer=function(n){return h(i.BUFFERING,n)};f.onPause=function(n){return h(i.PAUSED,n)};f.onPlay=function(n){return h(i.PLAYING,n)};f.onIdle=function(n){return h(i.IDLE,n)};f.onClick=function(n){return e(t.JWPLAYER_INSTREAM_CLICK,n)};f.onInstreamDestroyed=function(n){return e(t.JWPLAYER_INSTREAM_DESTROYED,n)};f.onAdSkipped=function(n){return e(t.JWPLAYER_AD_SKIPPED,n)};f.play=function(n){u.jwInstreamPlay(n)};f.pause=function(n){u.jwInstreamPause(n)};f.hide=function(){n.callInternal("jwInstreamHide")};f.destroy=function(){f.removeEvents();n.callInternal("jwInstreamDestroy")};f.setText=function(n){u.jwInstreamSetText(n?n:"")};f.getState=function(){return u.jwInstreamState()};f.setClick=function(n){u.jwInstreamClick&&u.jwInstreamClick(n)}}}(window.jwplayer),function(n){var t=n.api,i=t.selectPlayer;t.selectPlayer=function(t){return(t=i(t))?t:{registerPlugin:function(t,i,r){n.plugins.registerPlugin(t,i,r)}}}}(jwplayer));jwplayer.key="rfoh1z97F9cDD/s4bXp7YjjE9EcB5mkqCcpV3g==";jwplayer.defaults=location.protocol==="https:"?{flashplayer:"https://ssl.p.jwpcdn.com/6/8/jwplayer.flash.swf",html5player:"https://ssl.p.jwpcdn.com/6/8/jwplayer.html5.js",ph:1}:{flashplayer:"http://p.jwpcdn.com/6/8/jwplayer.flash.swf",html5player:"http://p.jwpcdn.com/6/8/jwplayer.html5.js",ph:1},function(){window.ShareThisEvent={};ShareThisEvent.listen=function(n,t){document.addEventListener?document.addEventListener(n,t,!1):document.documentElement.attachEvent("onpropertychange",function(i){i.propertyName==n&&t()})};ShareThisEvent.trigger=function(n){if(document.createEvent){var t=document.createEvent("Event");t.initEvent(n,!0,!0);document.dispatchEvent(t)}else document.documentElement[n]++}}(),function(n){var t=document.createElement(n),r="async-buttons",i;document.getElementById(r)||(t.type="text/javascript",t.id=r,t.src=("https:"==document.location.protocol?"https://ws.":"http://w.")+"sharethis.com/button/async-buttons.js",i=document.getElementsByTagName("script")[0],i.parentNode.insertBefore(t,i))}("script");stlib=stlib||{functions:[],functionCount:0,util:{prop:function(n,t){return t?t[n]:function(t){return t[n]}}},dynamicOn:!0,setPublisher:function(n){stlib.publisher=n},setProduct:function(n){stlib.product=n},parseQuery:function(n){var u={},f,i,t,e,r;if(!n)return u;for(f=n.split(/[;&]/),i=0;i<f.length;i++)(t=f[i].split("="),t&&t.length==2)&&(e=unescape(t[0]),r=unescape(t[1]),r=r.replace(/\+/g," "),u[e]=r);return u},getQueryParams:function(){var n=document.getElementById("st_insights_js"),i,t;n&&n.src&&(i=n.src.replace(/^[^\?]+\??/,""),t=stlib.parseQuery(i),stlib.setPublisher(t.publisher),stlib.setProduct(t.product))}};stlib.global={hash:stlib.util.prop("hash",document.location).substr(1)};stlib.getQueryParams();stlib.debugOn=!1;stlib.debug={count:0,messages:[],debug:function(n,t){t&&typeof console!="undefined"&&console.log(n);stlib.debug.messages.push(n)},show:function(n){for(message in stlib.debug.messages)typeof console!="undefined"&&(n?/ERROR/.test(stlib.debug.messages[message])?console.log(stlib.debug.messages[message]):null:console.log(stlib.debug.messages[message]))},showError:function(){stlib.debug.show(!0)}};var _$d=function(n){stlib.debug.debug(n,stlib.debugOn)},_$d0=function(){_$d(" ")},_$d_=function(){_$d("___________________________________________")},_$d1=function(n){_$d(_$dt()+"| "+n)},_$d2=function(n){_$d(_$dt()+"|  * "+n)},_$de=function(n){_$d(_$dt()+"ERROR: "+n)},_$dt=function(){var n=new Date,t=n.getHours(),i=n.getMinutes(),r=n.getSeconds();return t+":"+i+":"+r+" > "};stlib.allServices={adfty:{title:"Adfty"},allvoices:{title:"Allvoices"},amazon_wishlist:{title:"Amazon Wishlist"},arto:{title:"Arto"},att:{title:"AT&T"},baidu:{title:"Baidu"},blinklist:{title:"Blinklist"},blip:{title:"Blip"},blogmarks:{title:"Blogmarks"},blogger:{title:"Blogger",type:"post"},buddymarks:{title:"BuddyMarks"},buffer:{title:"Buffer"},care2:{title:"Care2"},chiq:{title:"chiq"},citeulike:{title:"CiteULike"},chiq:{title:"chiq"},corkboard:{title:"Corkboard"},dealsplus:{title:"Dealspl.us"},delicious:{title:"Delicious"},digg:{title:"Digg"},diigo:{title:"Diigo"},dzone:{title:"DZone"},edmodo:{title:"Edmodo"},email:{title:"Email"},embed_ly:{title:"Embed.ly"},evernote:{title:"Evernote"},facebook:{title:"Facebook"},fark:{title:"Fark"},fashiolista:{title:"Fashiolista"},flipboard:{title:"Flipboard"},folkd:{title:"folkd.com"},foodlve:{title:"FoodLve"},fresqui:{title:"Fresqui"},friendfeed:{title:"FriendFeed"},funp:{title:"Funp"},fwisp:{title:"fwisp"},google:{title:"Google"},googleplus:{title:"Google +"},google_bmarks:{title:"Bookmarks"},google_reader:{title:"Google Reader"},google_translate:{title:"Google Translate"},hatena:{title:"Hatena"},instapaper:{title:"Instapaper"},jumptags:{title:"Jumptags"},kaboodle:{title:"Kaboodle"},kik:{title:"Kik"},linkagogo:{title:"linkaGoGo"},linkedin:{title:"LinkedIn"},livejournal:{title:"LiveJournal",type:"post"},mail_ru:{title:"mail.ru"},meneame:{title:"Meneame"},messenger:{title:"Messenger"},mister_wong:{title:"Mr Wong"},moshare:{title:"moShare"},myspace:{title:"MySpace"},n4g:{title:"N4G"},netlog:{title:"Netlog"},netvouz:{title:"Netvouz"},newsvine:{title:"Newsvine"},nujij:{title:"NUjij"},odnoklassniki:{title:"Odnoklassniki"},oknotizie:{title:"Oknotizie"},pinterest:{title:"Pinterest"},pocket:{title:"Pocket"},print:{title:"Print"},raise_your_voice:{title:"Raise Your Voice"},reddit:{title:"Reddit"},segnalo:{title:"Segnalo"},sharethis:{title:"ShareThis"},sina:{title:"Sina"},sonico:{title:"Sonico"},startaid:{title:"Startaid"},startlap:{title:"Startlap"},stumbleupon:{title:"StumbleUpon"},stumpedia:{title:"Stumpedia"},typepad:{title:"TypePad",type:"post"},tumblr:{title:"Tumblr"},twitter:{title:"Twitter"},viadeo:{title:"Viadeo"},virb:{title:"Virb"},vkontakte:{title:"Vkontakte"},voxopolis:{title:"VOXopolis"},whatsapp:{title:"WhatsApp"},weheartit:{title:"We Heart It"},wordpress:{title:"WordPress",type:"post"},xerpi:{title:"Xerpi"},xing:{title:"Xing"},yammer:{title:"Yammer"}};stlib.allOauthServices={twitter:{title:"Twitter"},linkedIn:{title:"LinkedIn"},facebook:{title:"Facebook"}};stlib.allNativeServices={fblike:{title:"Facebook Like"},fbrec:{title:"Facebook Recommend"},fbsend:{title:"Facebook Send"},fbsub:{title:"Facebook Subscribe"},foursquaresave:{title:"Foursquare Save"},foursquarefollow:{title:"Foursquare Follow"},instagram:{title:"Instagram Badge"},plusone:{title:"Google +1"},pinterestfollow:{title:"Pinterest Follow"},twitterfollow:{title:"Twitter Follow"},youtube:{title:"Youtube Subscribe"}};stlib.allDeprecatedServices={google_bmarks:{title:"Google Bookmarks"},yahoo_bmarks:{title:"Yahoo Bookmarks"}};stlib.allOtherServices={copy:{title:"Copy Paste"},sharenow:{title:"ShareNow"},sharenow_auto:{title:"Frictionless Sharing"},fbunlike:{title:"Facebook Unlike"}};_all_services=stlib.allServices;stlib.buttonInfo={buttonList:[],addButton:function(n){stlib.buttonInfo.buttonList.push(n)},getButton:function(n){if(isNaN(n))for(c=0;c<stlib.buttonInfo.buttonList.length;c++)stlib.buttonInfo.buttonList[c].service==n&&debug(stlib.buttonInfo.buttonList[c]);else return n>=stlib.buttonInfo.buttonList.length?!1:stlib.buttonInfo.buttonList[n]},clickButton:function(n){if(isNaN(n)){for(c=0;c<stlib.buttonInfo.buttonList.length;c++)if(stlib.buttonInfo.buttonList[c].service==n){if(stlib.buttonInfo.getButton(c).service=="sharethis"||stlib.buttonInfo.getButton(c).service=="email"||stlib.buttonInfo.getButton(c).service=="wordpress")return stlib.buttonInfo.getButton(c).popup(),!0;stlib.buttonInfo.getButton(c).element.childNodes[0].onclick()}}else{if(n>=stlib.buttonInfo.buttonList.length)return!1;stlib.buttonInfo.getButton(n).service=="sharethis"||stlib.buttonInfo.getButton(n).service=="email"||stlib.buttonInfo.getButton(n).service=="wordpress"?stlib.buttonInfo.getButton(n).popup():stlib.buttonInfo.getButton(n).element.childNodes[0].onclick()}},resetButton:function(){stlib.buttonInfo.buttonList=[]},listButton:function(){for(c=0;c<stlib.buttonInfo.buttonList.length;c++)debug(stlib.buttonInfo.buttonList[c])}};stlib.buttonInfo.resetButton();stlib.messageQueue=function(){var n=this;this.pumpInstance=null;this.queue=[];this.dependencies=["data"];this.sending=!0;this.setPumpInstance=function(n){this.pumpInstance=n};this.send=function(t,i){var r,u;if(typeof t=="string"&&typeof i=="string"&&(_$d_(),_$d1("Queueing message: "+i+": "+t)),typeof t=="string"&&typeof i=="string"?this.queue.push([i,t]):null,this.sending==!1||stlib.browser.ieFallback)if(this.pumpInstance!=null)if(this.dependencies.length>0)for(messageSet in this.queue)this.queue.hasOwnProperty(messageSet)&&this.queue[messageSet][0]==this.dependencies[0]&&this.queue.length>0&&(_$d1("Current Queue Length: "+this.queue.length),r=this.queue.shift(),this.pumpInstance.broadcastSendMessage(r[1]),this.dependencies.shift(),this.sending=!0);else this.queue.length>0&&(_$d1("Current Queue Length: "+this.queue.length),r=this.queue.shift(),this.pumpInstance.broadcastSendMessage(r[1]),this.sending=!0);else _$d_(),_$d1("Pump is null");stlib.browser.ieFallback&&this.queue.length>0&&(u="process"+stlib.functionCount,stlib.functionCount++,stlib.functions[u]=n.process,setTimeout("stlib.functions['"+u+"']()",500))};this.process=function(){_$d1("Processing MessageQueue");n.sending=!1;_$d(this.queue);n.send()}};stlib.sharer={sharerUrl:("https:"==document.location.protocol?"https://ws.":"http://wd.")+"sharethis.com/api/sharer.php",regAuto:new RegExp(/(.*?)_auto$/),constructParamString:function(){stlib.data.validate();stlib.hash.checkURL();var t=stlib.data.pageInfo,i="?",n;for(n in t)i+=n+"="+encodeURIComponent(t[n])+"&",_$d1("constructParamStringPageInfo: "+n+": "+t[n]);t=stlib.data.shareInfo;for(n in t)i+=n+"="+encodeURIComponent(t[n])+"&",_$d1("constructParamStringShareInfo: "+n+": "+t[n]);return i+="ts="+(new Date).getTime()+"&",i.substring(0,i.length-1)},stPrint:function(){window.print()},incrementShare:function(){var n=stlib.data.get("url","shareInfo"),t=stlib.data.get("destination","shareInfo"),u="https:"==document.location.protocol?"https://":"http://",i,r;n=n.split("#sthash")[0];i="&service="+encodeURIComponent(t)+"&url="+encodeURIComponent(n);r=u+"count-server.sharethis.com/increment_shares?countType=share&output=false"+i;t!="copy"&&stlib.scriptLoader.loadJavascript(r,function(){})},sharePinterest:function(){if(stlib.sharer.incrementShare(),stlib.data.get("image","shareInfo")==!1||stlib.data.get("image","shareInfo")==null||stlib.data.get("pinterest_native","shareInfo")=="true"){typeof stWidget!="undefined"&&typeof stWidget.closeWidget=="function"&&stWidget.closeWidget();typeof stcloseWidget=="function"&&stcloseWidget();typeof stToolbar!="undefined"&&typeof stToolbar.closeWidget=="function"&&stToolbar.closeWidget();var n=document.createElement("script");n.setAttribute("type","text/javascript");n.setAttribute("charset","UTF-8");n.setAttribute("src","//assets.pinterest.com/js/pinmarklet.js?r="+Math.random()*99999999);document.body.appendChild(n)}},share:function(n,t){var i=stlib.sharer.constructParamString(),r;_$d_();_$d1("Initiating a Share with the following url:");_$d2(stlib.sharer.sharerUrl+i);stlib.sharer.incrementShare();stlib.data.get("destination","shareInfo")=="print"||stlib.data.get("destination","shareInfo")=="email"||stlib.data.get("destination","shareInfo")=="pinterest"&&stlib.data.get("source","shareInfo").match(/share4xmobile/)==null&&stlib.data.get("source","shareInfo").match(/share4xpage/)==null&&stlib.data.get("source","shareInfo").match(/5xpage/)==null&&(stlib.data.get("image","shareInfo")==!1||stlib.data.get("image","shareInfo")==null)||stlib.data.get("destination","shareInfo")=="snapsets"||stlib.data.get("destination","shareInfo")=="copy"||stlib.data.get("destination","shareInfo")=="plusone"||stlib.data.get("destination","shareInfo").match(stlib.sharer.regAuto)||typeof stlib.nativeButtons!="undefined"&&stlib.nativeButtons.checkNativeButtonSupport(stlib.data.get("destination","shareInfo"))||stlib.data.get("pinterest_native","shareInfo")!=!1&&stlib.data.get("pinterest_native","shareInfo")!=null?(r=new Image(1,1),r.src=stlib.sharer.sharerUrl+i,r.onload=function(){return}):typeof t!="undefined"&&t==!0?window.open(stlib.sharer.sharerUrl+i,(new Date).valueOf(),"scrollbars=1, status=1, height=480, width=640, resizable=1"):window.open(stlib.sharer.sharerUrl+i);n?n():null}};stlib.browser={iemode:null,firefox:null,firefoxVersion:null,safari:null,chrome:null,opera:null,windows:null,mac:null,ieFallback:/MSIE [6789]/.test(navigator.userAgent),init:function(){var n=navigator.userAgent.toString().toLowerCase();/msie|trident/i.test(n)&&(document.documentMode?stlib.browser.iemode=document.documentMode:(stlib.browser.iemode=5,document.compatMode&&document.compatMode=="CSS1Compat"&&(stlib.browser.iemode=7)));stlib.browser.firefox=n.indexOf("firefox")!=-1&&typeof InstallTrigger!="undefined"?!0:!1;stlib.browser.firefoxVersion=n.indexOf("firefox/5.0")!=-1||n.indexOf("firefox/9.0")!=-1?!1:!0;stlib.browser.safari=n.indexOf("safari")!=-1&&n.indexOf("chrome")==-1?!0:!1;stlib.browser.chrome=n.indexOf("safari")!=-1&&n.indexOf("chrome")!=-1?!0:!1;stlib.browser.opera=window.opera||n.indexOf(" opr/")>=0?!0:!1;stlib.browser.windows=n.indexOf("windows")!=-1?!0:!1;stlib.browser.mac=n.indexOf("macintosh")!=-1?!0:!1},getIEVersion:function(){return stlib.browser.iemode},isFirefox:function(){return stlib.browser.firefox},firefox8Version:function(){return stlib.browser.firefoxVersion},isSafari:function(){return stlib.browser.safari},isWindows:function(){return stlib.browser.windows},isChrome:function(){return stlib.browser.chrome},isOpera:function(){return stlib.browser.opera},isMac:function(){return stlib.browser.mac}};stlib.browser.init();stlib.browser.mobile={mobile:!1,uagent:null,android:null,iOs:null,silk:null,windows:null,kindle:null,url:null,sharCreated:!1,sharUrl:null,isExcerptImplementation:!1,iOsVer:0,init:function(){this.uagent=navigator.userAgent.toLowerCase();this.isAndroid()?this.mobile=!0:this.isIOs()?this.mobile=!0:this.isSilk()?this.mobile=!0:this.isWindowsPhone()?this.mobile=!0:this.isKindle()&&(this.mobile=!0)},isMobile:function(){return this.mobile},isAndroid:function(){return this.android===null&&(this.android=this.uagent.indexOf("android")>-1),this.android},isKindle:function(){return this.kindle===null&&(this.kindle=this.uagent.indexOf("kindle")>-1),this.kindle},isIOs:function(){return this.iOs===null&&(this.iOs=this.uagent.indexOf("ipad")>-1||this.uagent.indexOf("ipod")>-1||this.uagent.indexOf("iphone")>-1),this.iOs},isSilk:function(){return this.silk===null&&(this.silk=this.uagent.indexOf("silk")>-1),this.silk},getIOSVersion:function(){return this.isIOs()&&(this.iOsVer=this.uagent.substr(this.uagent.indexOf("os ")+3,5).replace(/\_/g,".")),this.iOsVer},isWindowsPhone:function(){return this.windows===null&&(this.windows=this.uagent.indexOf("windows phone")>-1),this.windows}};stlib.browser.mobile.init();stlib=stlib||{};stlib.browser=stlib.browser||{};stlib.browser.mobile=stlib.browser.mobile||{};stlib.browser.mobile.handleForMobileFriendly=function(n,t,i){var u,r,o,f,e,y,s,p,w,c,h;if(!this.isMobile())return!1;typeof stLight=="undefined"&&(stLight={},stLight.publisher=t.publisher,stLight.sessionID=t.sessionID,stLight.fpc="");var l=typeof n.title!="undefined"?n.title:encodeURIComponent(document.title),a=typeof n.url!="undefined"?n.url:document.URL,v=t.short_url!=""&&t.short_url!=null?t.short_url:"";if(t.service=="sharethis"){var l=typeof n.title!="undefined"?n.title:encodeURIComponent(document.title),a=typeof n.url!="undefined"?n.url:document.URL,b="";typeof n.summary!="undefined"&&n.summary!=null&&(b=n.summary);u=document.createElement("form");u.setAttribute("method","GET");u.setAttribute("action","http://edge.sharethis.com/share4x/mobile.html");u.setAttribute("target","_blank");r={url:a,title:l,summary:b,destination:t.service,publisher:stLight.publisher,fpc:stLight.fpc,sessionID:stLight.sessionID,short_url:v};typeof n.image!="undefined"&&n.image!=null&&(r.image=n.image);typeof n.summary!="undefined"&&n.summary!=null&&(r.desc=n.summary);typeof i!="undefined"&&typeof i.exclusive_services!="undefined"&&i.exclusive_services!=null&&(r.exclusive_services=i.exclusive_services);typeof t.exclusive_services!="undefined"&&t.exclusive_services!=null&&(r.exclusive_services=t.exclusive_services);typeof i!="undefined"&&typeof i.services!="undefined"&&i.services!=null&&(r.services=i.services);typeof t.services!="undefined"&&t.services!=null&&(r.services=t.services);o=t;typeof i!="undefined"&&(o=i);typeof o.doNotHash!="undefined"&&o.doNotHash!=null&&(r.doNotHash=o.doNotHash);typeof n.via!="undefined"&&n.via!=null&&(r.via=n.via);r.service=t.service;r.type=t.type;stlib.data&&(f=stlib.json.encode(stlib.data.pageInfo),e=stlib.json.encode(stlib.data.shareInfo),stlib.browser.isFirefox()&&!stlib.browser.firefox8Version()?(f=encodeURIComponent(encodeURIComponent(f)),e=encodeURIComponent(encodeURIComponent(e))):(f=encodeURIComponent(f),e=encodeURIComponent(e)),r.pageInfo=f,r.shareInfo=e);for(y in r)s=document.createElement("input"),s.setAttribute("type","hidden"),s.setAttribute("name",y),s.setAttribute("value",r[y]),u.appendChild(s);return document.body.appendChild(u),u.submit(),!0}return t.service=="email"&&(w=0,stlib.browser.mobile.url=a,stlib.browser.mobile.sharUrl==null&&stlib.browser.mobile.createSharOnPage(),c=v!=""?v+"%0A%0a":"{sharURLValue}%0A%0a",typeof n.summary!="undefined"&&n.summary!=null&&(c+=n.summary+"%0A%0a"),c+="Sent using ShareThis",h="mailto:?",h+="subject="+l,h+="&body="+c,p=setInterval(function(){stlib.browser.mobile.sharUrl!=null&&(clearInterval(p),window.location.href=h.replace("{sharURLValue}",stlib.browser.mobile.sharUrl));w>500&&(clearInterval(p),window.location.href=h.replace("{sharURLValue}",stlib.browser.mobile.sharUrl));w++},100)),!0};stlib.browser.mobile.createSharOnPage=function(){if(stlib.browser.mobile.url!==""&&stlib.browser.mobile.url!==" "&&stlib.browser.mobile.url!==null&&!stlib.browser.mobile.sharCreated){var n=["return=json","cb=stlib.browser.mobile.createSharOnPage_onSuccess","service=createSharURL","url="+encodeURIComponent(stlib.browser.mobile.url)];n=n.join("&");stlib.scriptLoader.loadJavascript(("https:"==document.location.protocol?"https://ws.":"http://wd.")+"sharethis.com/api/getApi.php?"+n,function(){})}};stlib.browser.mobile.createSharOnPage_onSuccess=function(n){n.status=="SUCCESS"?(stlib.browser.mobile.sharCreated=!0,stlib.browser.mobile.sharUrl=n.data.sharURL):stlib.browser.mobile.sharUrl=stlib.browser.mobile.url};tpcCookiesEnableCheckingDone=!1;tpcCookiesEnabledStatus=!0;stlib.cookie={setCookie:function(n,t,i){var y=navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")==-1,p=navigator.userAgent.indexOf("MSIE")!=-1,v,s,l,r,u,f,e,o,h,c,a;if(y||p){v=i?i*86400:0;s=document.createElement("div");s.setAttribute("id",n);s.setAttribute("type","hidden");document.body.appendChild(s);l=document.getElementById(n);r=document.createElement("form");try{u=document.createElement('<iframe name="'+n+'" ><\/iframe>')}catch(w){u=document.createElement("iframe")}u.name=n;u.src="javascript:false";u.style.display="none";l.appendChild(u);r.action=("https:"==document.location.protocol?"https://sharethis.com/":"http://sharethis.com/")+"account/setCookie.php";r.method="POST";f=document.createElement("input");f.setAttribute("type","hidden");f.setAttribute("name","name");f.setAttribute("value",n);r.appendChild(f);e=document.createElement("input");e.setAttribute("type","hidden");e.setAttribute("name","value");e.setAttribute("value",t);r.appendChild(e);o=document.createElement("input");o.setAttribute("type","hidden");o.setAttribute("name","time");o.setAttribute("value",v);r.appendChild(o);r.target=n;l.appendChild(r);r.submit()}else i?(h=new Date,h.setTime(h.getTime()+i*864e5),c="; expires="+h.toGMTString()):c="",a=n+"="+escape(t)+c,a+="; domain="+escape(".sharethis.com")+";path=/",document.cookie=a},setTempCookie:function(n,t,i){var r,u,f;i?(r=new Date,r.setTime(r.getTime()+i*864e5),u="; expires="+r.toGMTString()):u="";f=n+"="+escape(t)+u;f+="; domain="+escape(".sharethis.com")+";path=/";document.cookie=f},getCookie:function(n){var t=document.cookie.match("(^|;) ?"+n+"=([^;]*)(;|$)");return t?unescape(t[2]):!1},deleteCookie:function(n){var e="/",o=".sharethis.com",s,h,u,f,t,i,r;if(document.cookie=n.replace(/^\s+|\s+$/g,"")+"="+(e?";path="+e:"")+(o?";domain="+o:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT",s=navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")==-1,h=navigator.userAgent.indexOf("MSIE")!=-1,s||h){u=document.createElement("div");u.setAttribute("id",n);u.setAttribute("type","hidden");document.body.appendChild(u);f=document.getElementById(n);t=document.createElement("form");try{i=document.createElement('<iframe name="'+n+'" ><\/iframe>')}catch(c){i=document.createElement("iframe")}i.name=n;i.src="javascript:false";i.style.display="none";f.appendChild(i);t.action=("https:"==document.location.protocol?"https://sharethis.com/":"http://sharethis.com/")+"account/deleteCookie.php";t.method="POST";r=document.createElement("input");r.setAttribute("type","hidden");r.setAttribute("name","name");r.setAttribute("value",n);t.appendChild(r);t.target=n;f.appendChild(t);t.submit()}},deleteAllSTCookie:function(){for(var t=document.cookie,n,t=t.split(";"),i=0;i<t.length;i++)if(n=t[i],n=n.split("="),!/st_optout/.test(n[0])){var r=n[0];document.cookie=r+"=;path=/;domain=.edge.sharethis.com;expires=Thu, 01-Jan-1970 00:00:01 GMT"}},setFpcCookie:function(n,t){var i=new Date,u=i.getFullYear(),o=i.getMonth()+9,s=i.getDate(),r=n+"="+escape(t),f,e;u&&(f=new Date(u,o,s),r+="; expires="+f.toGMTString());e=stlib.cookie.getDomain();r+="; domain="+escape(e)+";path=/";document.cookie=r},getFpcCookie:function(n){var t=document.cookie.match("(^|;) ?"+n+"=([^;]*)(;|$)");return t?unescape(t[2]):!1},getDomain:function(){var n=document.domain.split(/\./),t="";return n.length>1&&(t="."+n[n.length-2]+"."+n[n.length-1]),t},checkCookiesEnabled:function(){return tpcCookiesEnableCheckingDone?tpcCookiesEnabledStatus:(stlib.cookie.setTempCookie("STPC","yes",1),tpcCookiesEnabledStatus=stlib.cookie.getCookie("STPC")=="yes"?!0:!1,tpcCookiesEnableCheckingDone=!0,tpcCookiesEnabledStatus)},hasLocalStorage:function(){try{return localStorage.setItem("stStorage","yes"),localStorage.removeItem("stStorage"),!0}catch(n){return!1}}};stlib.fpc={cookieName:"__unam",cookieValue:"",createFpc:function(){var n,i,r,u,f,o,t,e;if(stlib.fpc.setOptout(),!document.domain||document.domain.search(/\.gov/)>0)return!1;if(n=stlib.cookie.getFpcCookie(stlib.fpc.cookieName),n==!1){if(i=Math.round(Math.random()*2147483647),i=i.toString(16),r=(new Date).getTime(),r=r.toString(16),u=window.location.hostname.split(/\./)[1],!u)return!1;f="";f=stlib.fpc.determineHash(u)+"-"+r+"-"+i+"-1";n=f}else o=n,t=o.split(/\-/),t.length==4&&(e=Number(t[3]),e++,n=t[0]+"-"+t[1]+"-"+t[2]+"-"+e);return stlib.cookie.setFpcCookie(stlib.fpc.cookieName,n),stlib.fpc.cookieValue=n,n},setOptout:function(){opt_out=stlib.cookie.getCookie("st_optout");stlib.data.set("st_optout",opt_out,"pageInfo")},determineHash:function(n){for(var t=0,u=0,r,i=n.length-1;i>=0;i--)r=parseInt(n.charCodeAt(i)),t=(t<<8&268435455)+r+(r<<12),(u=t&161119850)!=0&&(t=t^u>>20);return t.toString(16)}};stlib.validate={regexes:{notEncoded:/(%[^0-7])|(%[0-7][^0-9a-f])|["{}\[\]\<\>\\\^`\|]/gi,tooEncoded:/%25([0-7][0-9a-f])/gi,publisher:/^(([a-z]{2}(-|\.))|)[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,url:/^(http|https):\/\/([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*)/i,fpc:/^[0-9a-f]{7}-[0-9a-f]{11}-[0-9a-f]{7,8}-[0-9]*$/i,sessionID:/^[0-9]*\.[0-9a-f]*$/i,title:/.*/,description:/.*/,buttonType:/^(chicklet|vcount|hcount|large|custom|button|)$/,comment:/.*/,destination:/.*/,source:/.*/,image:/(^(http|https):\/\/([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*))|^$/i,sourceURL:/^(http|https):\/\/([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*)/i,sharURL:/(^(http|https):\/\/([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*))|^$/i}};stlib.html={encode:function(n){return stlib.html.startsWith(n,"http")?String(n).replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;"):String(n).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},startsWith:function(n,t){return n.match("^"+t)==t}};stlib.stfp={screenResolutionDepthHash:"ERROR",pluginsListHash:"ERROR",fontsListHash:"ERROR",timezoneoffsetHash:"ERROR",checkIEPlugins:["ShockwaveFlash.ShockwaveFlash","AcroPDF.PDF","PDF.PdfCtrl","QuickTime.QuickTime","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","RealPlayer","SWCtl.SWCtl","WMPlayer.OCX","AgControl.AgControl","Skype.Detection"],getPluginsHash:function(){var t="",n;if(stlib.browser.getIEVersion()!=null)for(n=0;n<stlib.stfp.checkIEPlugins.length;n++)try{new ActiveXObject(stlib.stfp.checkIEPlugins[n]);t+=stlib.stfp.checkIEPlugins[n]+":"}catch(i){}if((stlib.browser.getIEVersion()==null||stlib.browser.getIEVersion()>=11)&&(typeof navigator!="undefined"||navigator!=null)&&(typeof navigator.plugins!="undefined"||navigator.plugins!=null))for(n=0;n<navigator.plugins.length;n++)t+=navigator.plugins[n].name+":";t.length>0&&(stlib.stfp.pluginsListHash=stlib.stfp.getFpHash(t))},getResolutionDepthHash:function(){screen&&(stlib.stfp.screenResolutionDepthHash=stlib.stfp.getFpHash((typeof screen.width!="undefined"?screen.width:"NA")+":"+(typeof screen.height!="undefined"?screen.height:"NA")+":"+(typeof screen.colorDepth!="undefined"?screen.colorDepth:"NA")))},getTimezoneOffsetHash:function(){var n=new Date,t=n.getTimezoneOffset();stlib.stfp.timezoneoffsetHash=stlib.stfp.getFpHash(t.toString())},getFontsHash:function(){var u=!1,i=document,n=i.createElement("iframe"),r,t;n.id="st_ifr";n.style.width="0px";n.style.height="0px";n.src="about:blank";r=stlib.browser.isChrome();t='<html><head><title>st_bf<\/title><script type="text/javascript">var stlib1={};stlib1.stfp={fontStr:"",fontsListHash:"ERROR",checkFonts:["Aharoni","algerian","Andalus","\'Angsana New\'","\'Apple Symbols\'","\'Arabic Typesetting\'","Arial","\'Baskerville Old Face\'","Batang","BatangChe","\'Bell MT\'","\'Berlin Sans FB\'","\'Bitstream Charter\'","\'Book Antiqua\'","\'Bookman Old Style\'","\'Bradley Hand ITC\'","Calibri","\'Californian FB\'","\'Cambria Math\'","\'Century Schoolbook\'","\'Century Schoolbook L\'","Charter","\'colonna mt\'","Consolas","Corbel","\'Cordia New\'","Courier","cursive","David","default","DFKai-SB","DilleniaUPC","DotumChe","Ebrima","\'Estrangelo Edessa\'","fantasy","FrankRuehl","Garamond","Gentium","Gungsuh","GungsuhChe","Haettenschweiler","\'Heiti TC\'","\'High Tower Text\'","\'Informal Roman\'","IrisUPC","\'Juice ITC\'","KaiTi","Kalinga","Kartika","Kokonor","Leelawadee","\'Liberation Mono\'","\'Liberation Sans\'","Loma","Magneto","\'Malgun Gothic\'","\'matura mt script capitals\'","\'Microsoft Himalaya\'","\'Microsoft JhengHei\'","\'Microsoft Sans Serif\'","\'Microsoft Uighur\'","\'Microsoft YaHei\'","\'Microsoft Yi Baiti\'","MingLiU","Mistral","Modena","\'Mongolian Baiti\'","\'Monotype Corsiva\'","\'MS Mincho\'","\'MS Outlook\'","\'MS PGothic\'","\'MS PMincho\'","\'MT Extra\'","\'Nimbus Mono L\'","\'Nimbus Sans L\'","NSimSun","Optima","Papyrus","PMingLiU-ExtB","Saab","\'Segoe Print\'","\'Segoe Script\'","\'Showcard Gothic\'","SimHei","\'Simplified Arabic\'","\'Simplified Arabic Fixed\'","SimSun","SimSun-ExtB","Tahoma","\'Traditional Arabic\'","Tunga","Ubuntu","\'URW Gothic L\'","\'URW Palladio L\'","Utopia","Verona","\'Viner Hand ITC\'","Vrinda","webdings","\'wide latin\'","Zapfino"],checkFontsLength:0,baseFonts:["monospace","sans-serif","serif"],baseFontsLength:0,testString:"mmmmmmmmmmlli",testSize:"72px",s:document.createElement("span"),sty:document.createElement("style"),hd:document.head||document.getElementsByTagName("head")[0],defaultWidth:{},defaultHeight:{},';t+=r?"checkFontForCrome:function(checkFontIndex){var detected = false;var checkElement;for(var baseFontIndex=0;baseFontIndex<stlib1.stfp.baseFontsLength;baseFontIndex++){checkElement = document.getElementById(\"st_check_fonts_\" + checkFontIndex + \"_\" + baseFontIndex);var matched = checkElement.offsetWidth!=stlib1.stfp.defaultWidth[baseFontIndex]||checkElement.offsetHeight!=stlib1.stfp.defaultHeight[baseFontIndex];detected = detected || matched;}return detected;},createFragments:function(){var span, fragment = document.createDocumentFragment();var doc = document;var d = doc.createElement('div');d.className = 'st_fontDetect';var baseFontName, checkFontName, baseElement, checkElement;for(var baseFontIndex=0;baseFontIndex<stlib1.stfp.baseFontsLength;baseFontIndex++){baseFontName = stlib1.stfp.baseFonts[baseFontIndex];baseElement = document.createElement('span');baseElement.style.fontFamily=baseFontName;baseElement.id = \"st_base_fonts_\" + baseFontIndex;baseElement.innerHTML = stlib1.stfp.testString;baseElement.style.fontSize = stlib1.stfp.testSize;fragment.appendChild(baseElement);}for(var checkFontIndex=0;checkFontIndex<stlib1.stfp.checkFontsLength;checkFontIndex++){checkFontName = stlib1.stfp.checkFonts[checkFontIndex];for(var baseFontIndex=0;baseFontIndex<stlib1.stfp.baseFontsLength;baseFontIndex++){baseFontName = stlib1.stfp.baseFonts[baseFontIndex];checkElement = document.createElement('span');checkElement.style.fontFamily= checkFontName + ',' + baseFontName;checkElement.id = \"st_check_fonts_\" + checkFontIndex + \"_\" + baseFontIndex;checkElement.innerHTML = stlib1.stfp.testString;checkElement.style.fontSize = stlib1.stfp.testSize;fragment.appendChild(checkElement);}}d.appendChild(fragment);doc.body.appendChild(d);},":'checkFont:function(font){var detected = false;for(var baseFontIndex=0;baseFontIndex<stlib1.stfp.baseFontsLength;baseFontIndex++){stlib1.stfp.s.style.fontFamily = font +"," + stlib1.stfp.baseFonts[baseFontIndex];var matched = stlib1.stfp.s.offsetWidth!=stlib1.stfp.defaultWidth[stlib1.stfp.baseFonts[baseFontIndex]]||stlib1.stfp.s.offsetHeight!=stlib1.stfp.defaultHeight[stlib1.stfp.baseFonts[baseFontIndex]];detected = detected || matched;}return detected;},';t+='createStyle:function(){var css =".st_fontDetect{display:inline !important}";stlib1.stfp.sty.type="text/css";stlib1.stfp.sty.id="st_style";if(stlib1.stfp.sty.styleSheet){stlib1.stfp.sty.styleSheet.cssText = css;}else{stlib1.stfp.sty.appendChild(document.createTextNode(css))}stlib1.stfp.hd.appendChild(stlib1.stfp.sty)},getFontsHash:function(){var isBodyStyleSet = false;stlib1.stfp.s.className="st_fontDetect";stlib1.stfp.createStyle();stlib1.stfp.s.style.fontSize=stlib1.stfp.testSize;stlib1.stfp.s.innerHTML=stlib1.stfp.testString;stlib1.stfp.baseFontsLength = stlib1.stfp.baseFonts.length;stlib1.stfp.checkFontsLength = stlib1.stfp.checkFonts.length;var bodyDisplay = null;var bodyVisibility = null;if(document.body.style.display==="none"){isBodyStyleSet = true;bodyDisplay = document.body.style.display;bodyVisibility = document.body.style.visibility;document.body.style.display="block";document.body.style.visibility="hidden";}';t+=r?"stlib1.stfp.createFragments();stlib1.stfp.defaultWidth[0] = document.getElementById('st_base_fonts_0').offsetWidth;stlib1.stfp.defaultHeight[0] = document.getElementById('st_base_fonts_0').offsetHeight;stlib1.stfp.defaultWidth[1] = document.getElementById('st_base_fonts_1').offsetWidth;stlib1.stfp.defaultHeight[1] = document.getElementById('st_base_fonts_1').offsetHeight;stlib1.stfp.defaultWidth[2] = document.getElementById('st_base_fonts_2').offsetWidth;stlib1.stfp.defaultHeight[2] = document.getElementById('st_base_fonts_2').offsetHeight;for(var checkFontIndex=0;checkFontIndex<stlib1.stfp.checkFontsLength;checkFontIndex++){var tempCheckFontName = stlib1.stfp.checkFonts[checkFontIndex];if(stlib1.stfp.checkFontForCrome(checkFontIndex)){stlib1.stfp.fontStr += tempCheckFontName +\":\";}}":'for(var baseFontIndex=0;baseFontIndex<stlib1.stfp.baseFontsLength;baseFontIndex++){var tempBaseFontName = stlib1.stfp.baseFonts[baseFontIndex];stlib1.stfp.s.style.fontFamily = tempBaseFontName;document.body.appendChild(stlib1.stfp.s);stlib1.stfp.defaultWidth[tempBaseFontName]=stlib1.stfp.s.offsetWidth;stlib1.stfp.defaultHeight[tempBaseFontName]=stlib1.stfp.s.offsetHeight;document.body.removeChild(stlib1.stfp.s)}stlib1.stfp.s.style.fontFamily="st_font";document.body.appendChild(stlib1.stfp.s);for(var checkFontIndex=0;checkFontIndex<stlib1.stfp.checkFontsLength;checkFontIndex++){var tempCheckFontName = stlib1.stfp.checkFonts[checkFontIndex];if(stlib1.stfp.checkFont(tempCheckFontName)){stlib1.stfp.fontStr += tempCheckFontName +":"}}var sheet = document.getElementById("st_style");sheet.parentNode.removeChild(sheet);document.body.removeChild(stlib1.stfp.s);';t+='if(isBodyStyleSet){document.body.style.display = bodyDisplay;document.body.style.visibility = bodyVisibility;}}};<\/script><\/head><body id="st_ifr"><div><script type="text/javascript">stlib1.stfp.getFontsHash();<\/script><\/div><\/body><\/html>';i.body.appendChild(n);try{n.contentWindow.document.open("text/html","replace")}catch(f){stlib.browser.getIEVersion()!=null&&stlib.browser.getIEVersion()<11&&f.message.match(/denied/g)&&(i.body.removeChild(n),u=!0)}u||(n.contentWindow.document.write(t),n.contentWindow.document.close(),stlib.stfp.fontsListHash=stlib.stfp.getFpHash(document.getElementById("st_ifr").contentWindow.stlib1.stfp.fontStr),i.body.removeChild(n))},init:function(){stlib.stfp.getFontsHash()},getFpHash:function(n){for(var t=0,u=0,r,i=n.length-1;i>=0;i--)r=parseInt(n.charCodeAt(i)),t=(t<<8&268435455)+r+(r<<12),(u=t&161119850)!=0&&(t=t^u>>20);return t.toString(16)}};typeof stlib.data=="undefined"&&(stlib.data={bInit:!1,publisherKeySet:!1,pageInfo:{},shareInfo:{},resetPageData:function(){stlib.data.pageInfo.fpc="ERROR";stlib.data.pageInfo.sessionID="ERROR";stlib.data.pageInfo.hostname="ERROR";stlib.data.pageInfo.location="ERROR";stlib.data.pageInfo.product="widget";stlib.data.pageInfo.stid=""},resetShareData:function(){stlib.data.shareInfo={};stlib.data.shareInfo.url="ERROR";stlib.data.shareInfo.sharURL="";stlib.data.shareInfo.buttonType="ERROR";stlib.data.shareInfo.destination="ERROR";stlib.data.shareInfo.source="ERROR"},resetData:function(){stlib.data.resetPageData();stlib.data.resetShareData()},validate:function(){function r(n,t){t!=encodeURIComponent(t)&&(i.notEncoded.test(t)?_$de(n+" not encoded"):null,i.tooEncoded.test(t)?_$de(n+" has too much encoding"):null);var r=i[n]?i[n].test(decodeURIComponent(t)):!0;r||_$de(n+" failed validation")}var i=stlib.validate.regexes,t=stlib.data.pageInfo,n;for(n in t)r(n,t[n]);t=stlib.data.shareInfo;for(n in t)r(n,t[n])},init:function(){if(!stlib.data.bInit){stlib.data.bInit=!0;stlib.data.resetData();stlib.publisher&&stlib.data.setPublisher(stlib.publisher);stlib.data.set("product",stlib.product,"pageInfo");var t=document.location.href,i="",r="",n=[],f="",u="",e="",o="";n=stlib.data.getRefDataFromUrl(t);n.length>0?(i=typeof n[0]!="undefined"?n[0]:"",r=typeof n[1]!="undefined"?n[1]:"",u=stlib.data.removeRefDataFromUrl(t),stlib.data.showModifiedUrl(u),stlib.data.set("url",u,"shareInfo")):(f=document.referrer,n=f.replace("http://","").replace("https://","").split("/"),i=n.shift(),r=n.join("/"),stlib.data.set("url",t,"shareInfo"));stlib.stfp.getPluginsHash();stlib.stfp.getResolutionDepthHash();stlib.stfp.getTimezoneOffsetHash();stlib.data.set("title",document.title,"shareInfo");stlib.data.publisherKeySet!=!0&&stlib.data.set("publisher","ur.00000000-0000-0000-0000-000000000000","pageInfo");stlib.fpc.createFpc();stlib.data.set("fpc",stlib.fpc.cookieValue,"pageInfo");e=(new Date).getTime().toString();o=Number(Math.random().toPrecision(5).toString().substr(2)).toString();stlib.data.set("sessionID",e+"."+o,"pageInfo");stlib.data.set("hostname",document.location.hostname,"pageInfo");stlib.data.set("location",document.location.pathname,"pageInfo");stlib.data.set("refDomain",i,"pageInfo");stlib.data.set("refQuery",r,"pageInfo")}},showModifiedUrl:function(n){if(window.history&&history.replaceState)history.replaceState(null,document.title,n);else if(/MSIE/.test(navigator.userAgent)){var t=0,i=window.location.hash,u=new RegExp("(&st_refDomain=?)[^&|]+"),f=new RegExp("(#st_refDomain=?)[^&|]+"),r=document.location.href;u.test(r)?(t=i.indexOf("&st_refDomain"),window.location.hash=i.substr(0,t)):f.test(r)&&window.location.replace("#")}else document.location.replace(n)},getRefDataFromUrl:function(n){var u=new RegExp("st_refDomain="),i="",r="",t=[];return u.test(n)&&(i=n.match(/(st_refDomain=?)[^\&|]+/g),t.push(i[0].split("=")[1]),r=n.match(/(st_refQuery=?)[^\&|]+/g),t.push(r[0].replace("st_refQuery=",""))),t},removeRefDataFromUrl:function(n){var t=new RegExp("(&st_refDomain=?)[^&|]+"),i=new RegExp("(#st_refDomain=?)[^&|]+");return t.test(n)?n.replace(/\&st_refDomain=(.*)/g,""):i.test(n)?n.replace(/\#st_refDomain=(.*)/g,""):n},setPublisher:function(n){stlib.data.set("publisher",n,"pageInfo");stlib.data.publisherKeySet=!0},setSource:function(n,t){var i="";i=t?t.toolbar?"toolbar"+n:t.page&&t.page!="home"&&t.page!=""?"chicklet"+n:"button"+n:n;stlib.data.set("source",i,"shareInfo")},set:function(n,t,i){if(typeof t=="number"||typeof t=="boolean")stlib.data[i][n]=t;else if(typeof t!="undefined"&&t!=null&&(stlib.data[i][n]=encodeURIComponent(decodeURIComponent(unescape(t.replace(/<[^<>]*>/gi," ")).replace(/%/gi,"%25"))),n=="url"||n=="location"||n=="image"))try{stlib.data[i][n]=encodeURIComponent(decodeURIComponent(decodeURI(t.replace(/<[^<>]*>/gi," ")).replace(/%/gi,"%25")))}catch(r){stlib.data[i][n]=encodeURIComponent(decodeURIComponent(unescape(t.replace(/<[^<>]*>/gi," ")).replace(/%/gi,"%25")))}},get:function(n,t){try{return stlib.data[t]&&stlib.data[t][n]?decodeURIComponent(stlib.data[t][n]):!1}catch(i){return!1}},unset:function(n,t){stlib.data[t]&&typeof stlib.data[t][n]!="undefined"&&delete stlib.data[t][n]}},stlib.data.resetData());typeof stlib.pixels=="undefined"&&(stlib.pixels={stid:"__stid",getCurrentURL:function(){return window.location.href},trimURL:function(n){return n.split(/\?|\&|\#/)[0]},getReferrerDomain:function(){var n=document.createElement("a");return n.href=document.referrer,n.hostname},getPxcelParams:function(n,t,i){var r=stlib.pixels.getCurrentURL(),u=stlib.pixels.trimURL(r),f=i=="simpleshare"?", htmdmn: 'tm.sharethis.com', htmdmn2: 't.sharethis.com'":"";return"var pxcelData = { v0: '"+encodeURIComponent(n)+"', v1: '"+encodeURIComponent(stlib.pixels.getReferrerDomain())+"', v2: '"+encodeURIComponent("http://seg.sharethis.com/getSegment.php?purl="+encodeURIComponent(u)+"&rnd="+t)+"', v3: '"+encodeURIComponent(u)+"', v4: '"+encodeURIComponent(r)+"'"+f+" };"},getRnd:function(){return(new Date).getTime()},getPxcelTag:function(n,t){var i=stlib.pixels.getRnd(),r=stlib.pixels.getPxcelParams(n,i,t),u=window.top.location===window.location?window.location.toString():document.referrer,f=u.split("/")[2],e=t=="simpleshare"?"tm":"t";return"<script>"+r+"(function() { var pxscrpt = document.createElement('script'); pxscrpt.id = 'pxscrpt'; pxscrpt.async = true; pxscrpt.defer = true; pxscrpt.src = '//"+e+".sharethis.com/1/d/t.dhj?rnd="+i+"&cid=c010&dmn="+f+"';document.body.appendChild(pxscrpt);})();<\/script>"},getComscoreTag:function(){return'<script type="text/javascript">var ref=document.referrer;var lurl = (("https:" == document.location.protocol) ? "https://sb." : "http://b.")+"scorecardresearch.com/";lurl+="b?";lurl+="c1=7"+"&c2=8097938"+"&rn=" +Math.round(Math.random() * 2147483647 )+ "&c7=" + encodeURIComponent(document.location.href)+ "&c3=8097938"+ "&c8="+encodeURIComponent(document.title)+ ( (ref)? "&c9="+encodeURIComponent(document.referrer) :  "" )+ "&cv=2.2"+ "&cs=js";var logger = new Image(1,1);logger.src = lurl;logger.onload = function(){return;};<\/script>'},getCookie:function(n){var t="(?:(?:^|.*;)\\s*"+n+"\\s*\\=\\s*([^;]*).*$)|^.*$",i=new RegExp(t,"g");return document.cookie.replace(i,"$1")},isCookieSet:function(n){return stlib.pixels.getCookie(n)!==""},hasStid:function(){return stlib.pixels.isCookieSet(stlib.pixels.stid)},getIframeContents:function(n,t){return"<!DOCTYPE html><html><head><title>ShareThis Segmenter<\/title><\/head><body>"+stlib.pixels.getPxcelTag(n,t)+stlib.pixels.getComscoreTag()+"<\/body><\/html>"},createSegmentFrame:function(n){var t,i,r;if(!stlib.pixels.segmentframe&&!document.getElementById("stSegmentFrame")){try{stlib.pixels.segmentframe=document.createElement('<iframe name="stframe" allowTransparency="true" style="body{background:transparent;}" ><\/iframe>')}catch(u){stlib.pixels.segmentframe=document.createElement("iframe")}stlib.pixels.segmentframe.id="stSegmentFrame";stlib.pixels.segmentframe.name="stSegmentFrame";t=document.head;stlib.pixels.segmentframe.frameBorder="0";stlib.pixels.segmentframe.scrolling="no";stlib.pixels.segmentframe.width="0px";stlib.pixels.segmentframe.height="0px";stlib.pixels.segmentframe.sandbox="allow-scripts allow-same-origin";stlib.pixels.segmentframe.setAttribute("style","display:none;");i=stlib.data.get("stid","pageInfo");i?(r=stlib.pixels.getIframeContents(i,n),t.appendChild(stlib.pixels.segmentframe),stlib.pixels.segmentframe.contentWindow.document.open(),stlib.pixels.segmentframe.contentWindow.document.write(r),stlib.pixels.segmentframe.contentWindow.document.close()):(stlib.pixels.segmentframe.src=("https:"==document.location.protocol?"https://seg.":"http://seg.")+"sharethis.com/getSegment.php?purl="+encodeURIComponent(document.location.href)+"&jsref="+encodeURIComponent(document.referrer)+"&product="+n+"&rnd="+(new Date).getTime(),t.appendChild(stlib.pixels.segmentframe))}}});stlib.hash={doNotHash:!0,hashAddressBar:!1,doNotCopy:!0,prefix:"sthash",shareHash:"",incomingHash:"",validChars:["1","2","3","4","5","6","7","8","9","0","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],servicePreferences:{linkedin:"param",stumbleupon:"param",bebo:"param"},hashDestination:function(n){if(n=="copy")return"dpuf";var t=n.substring(0,2)+n.substring(n.length-2,n.length),i=function(n,t){return n.charCodeAt(t)==122?"a":String.fromCharCode(n.charCodeAt(t)+1)};return i(t,0)+i(t,1)+i(t,2)+i(t,3)},getHash:function(){var i=!1,r="",t=document.location.href,n;if(t=t.split("#").shift(),n=t.split("?"),n.length>1){n=n[1].split("&");for(arg in n)try{n[arg].substring(0,6)=="sthash"&&(i=!0,r=n[arg])}catch(u){}return i?r:document.location.hash.substring(1)}return document.location.hash.substring(1)},stripHash:function(n){var t=n;return t=t.split("#"),t.length>1?t[1]:""},clearHash:function(){if(stlib.hash.validateHash(document.location.hash)){var n=document.location.href.split("#").shift();window.history&&history.replaceState?history.replaceState(null,document.title,n):/MSIE/.test(navigator.userAgent)?window.location.replace("#"):document.location.hash=""}},init:function(){for(var n="",u=stlib.hash.validChars.length,i,r,t=0;t<8;t++)n+=stlib.hash.validChars[Math.random()*u|0];stlib.hash.getHash()==""?stlib.hash.shareHash=stlib.hash.prefix+"."+n:(i=stlib.hash.getHash().split("."),r=i.shift(),r==stlib.hash.prefix||r==stlib.hash.prefix?(stlib.hash.incomingHash=stlib.hash.getHash(),stlib.hash.shareHash=stlib.hash.prefix+"."+i.shift()+"."+n):stlib.hash.shareHash=stlib.hash.prefix+"."+n);!stlib.hash.doNotHash&&stlib.hash.hashAddressBar?(document.location.hash==""||stlib.hash.validateHash(document.location.hash))&&(window.history&&history.replaceState?history.replaceState(null,"ShareThis","#"+stlib.hash.shareHash+".dpbs"):/MSIE/.test(navigator.userAgent)?window.location.replace("#"+stlib.hash.shareHash+".dpbs"):document.location.hash=stlib.hash.shareHash+".dpbs"):stlib.hash.clearHash();stlib.hash.doNotHash||stlib.hash.doNotCopy||stlib.hash.copyPasteInit();stlib.hash.copyPasteLog()},checkURL:function(){var t=stlib.data.get("destination","shareInfo"),n=stlib.hash.updateParams(t),o="."+stlib.hash.hashDestination(t),e,r,u,f,i;if(stlib.hash.updateDestination(o),!stlib.hash.doNotHash&&typeof stlib.data.pageInfo.shareHash!="undefined"&&(e=stlib.data.get("url","shareInfo"),r=stlib.hash.stripHash(e),stlib.hash.validateHash(r)||r==""))if(typeof stlib.hash.servicePreferences[t]!="undefined")if(stlib.hash.servicePreferences[t]=="param"){if(_$d1("Don't use hash, use params"),_$d2(n),n.split("?").length>1){for(u=n.split("?")[1].split("&"),f=!1,i=0;i<u.length;i++)u[i].split(".")[0]=="sthash"&&(f=!0);f?stlib.data.set("url",n,"shareInfo"):stlib.data.set("url",n+"&"+stlib.data.pageInfo.shareHash,"shareInfo")}else stlib.data.set("url",n+"?"+stlib.data.pageInfo.shareHash,"shareInfo");t=="linkedin"&&stlib.data.get("sharURL","shareInfo")!=""&&stlib.data.set("sharURL",stlib.data.get("url","shareInfo"),"shareInfo")}else _$d1("Using Hash"),stlib.data.set("url",n+"#"+stlib.data.pageInfo.shareHash,"shareInfo");else _$d1("Not using custom destination hash type"),stlib.data.set("url",n+"#"+stlib.data.pageInfo.shareHash,"shareInfo")},updateParams:function(){var n=stlib.data.get("url","shareInfo").split("#").shift(),t=/(\?)sthash\.[a-zA-z0-9]{8}\.[a-zA-z0-9]{8}/,i=/(&)sthash\.[a-zA-z0-9]{8}\.[a-zA-z0-9]{8}/,r=/(\?)sthash\.[a-zA-z0-9]{8}/,u=/(&)sthash\.[a-zA-z0-9]{8}/;return t.test(n)?n=n.replace(t,"?"+stlib.data.pageInfo.shareHash):i.test(n)?n=n.replace(i,"&"+stlib.data.pageInfo.shareHash):r.test(n)?n=n.replace(r,"?"+stlib.data.pageInfo.shareHash):u.test(n)&&(n=n.replace(u,"&"+stlib.data.pageInfo.shareHash)),n},updateDestination:function(n){_$d_();_$d1("Updating Destination");/sthash\.[a-zA-z0-9]{8}\.[a-zA-z0-9]{8}\.[a-z]{4}/.test(stlib.data.pageInfo.shareHash)?(_$d2(stlib.data.pageInfo.shareHash.substring(0,24)),stlib.data.pageInfo.shareHash=stlib.data.pageInfo.shareHash.substring(0,24)+n):/sthash\.[a-zA-z0-9]{8}\.[a-z]{4}/.test(stlib.data.pageInfo.shareHash)?(_$d2(stlib.data.pageInfo.shareHash.substring(0,15)),stlib.data.pageInfo.shareHash=stlib.data.pageInfo.shareHash.substring(0,15)+n):stlib.data.pageInfo.shareHash+=n},validateHash:function(n){return/[\?#&]?sthash\.[a-zA-z0-9]{8}$/.test(n)||/[\?#&]?sthash\.[a-zA-z0-9]{8}\.[a-z]{4}$/.test(n)||/[\?#&]?sthash\.[a-zA-z0-9]{8}\.[a-zA-z0-9]{8}\.[a-z]{4}$/.test(n)||/[\?#&]?sthash\.[a-zA-z0-9]{8}\.[a-zA-z0-9]{8}$/.test(n)},appendHash:function(n){var t=stlib.hash.stripHash(n);return stlib.data.pageInfo.shareHash&&(stlib.hash.validateHash(t)||t=="")&&(n=n.replace("#"+t,"")+"#"+stlib.data.pageInfo.shareHash),n},copyPasteInit:function(){var t=document.getElementsByTagName("body")[0],n=document.createElement("div"),i,r;n.id="stcpDiv";n.style.position="absolute";n.style.top="-1999px";n.style.left="-1988px";t.appendChild(n);n.innerHTML="ShareThis Copy and Paste";i=document.location.href.split("#").shift();r="#"+stlib.hash.shareHash;document.addEventListener?t.addEventListener("copy",function(){var t,r,i,u;typeof Tynt=="undefined"&&((t=document.getSelection(),t.isCollapsed)||(r=t.getRangeAt(0).cloneContents(),n.innerHTML="",n.appendChild(r),n.textContent.trim().length!=0)&&((t+"").trim().length==0||(n.innerHTML==t+""||n.textContent==t+""?n.innerHTML=stlib.html.encode(stlib.hash.selectionModify(t)):n.innerHTML+=stlib.html.encode(stlib.hash.selectionModify(t,!0))),i=document.createRange(),i.selectNodeContents(n),u=t.getRangeAt(0),t.removeAllRanges(),t.addRange(i),setTimeout(function(){t.removeAllRanges();t.addRange(u)},0)))},!1):document.attachEvent},copyPasteLog:function(){var n=window.addEventListener?"addEventListener":"attachEvent",i=n=="attachEvent"?"oncopy":"copy",t=document.getElementsByTagName("body")[0];t&&t[n](i,function(){var n=!0;stlib.data.resetShareData();stlib.data.set("url",document.location.href,"shareInfo");stlib.data.setSource("copy");stlib.data.set("destination","copy","shareInfo");stlib.data.set("buttonType","custom","shareInfo");typeof Tynt!="undefined"&&(stlib.data.set("result","tynt","shareInfo"),stlib.logger.log("debug"),n=!1);typeof addthis_config!="undefined"&&(stlib.data.set("result","addThis","shareInfo"),typeof addthis_config.data_track_textcopy=="undefined"||addthis_config.data_track_textcopy?(stlib.data.set("enabled","true","shareInfo"),n=!1):stlib.data.set("enabled","false","shareInfo"),stlib.logger.log("debug"));n&&(stlib.data.set("result","pass","shareInfo"),stlib.logger.log("debug"))},!1)},logCopy:function(n,t){stlib.data.resetShareData();stlib.data.set("url",n,"shareInfo");stlib.data.setSource("copy");stlib.data.set("destination","copy","shareInfo");stlib.data.set("buttonType","custom","shareInfo");t&&stlib.data.set("description",t,"shareInfo");stlib.sharer.share()},selectionModify:function(n,t){n=""+n;_$d_();_$d1("Copy Paste");var e=document.location.href.split("#").shift(),f="#"+stlib.hash.shareHash,u="",i="",r="";return typeof t=="undefined"&&(/^((http|https):\/\/([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*))/i.test(n)||/^([a-z0-9!'\(\)\*\.\-\+:]*(\.)[a-z0-9!'\(\)\*\.\-\+:]*)((\/[a-z0-9!'\(\)\*\.\-\+:]*)*)/i.test(n))&&!/[\s@]/.test(n.trim())?(_$d2("is Url"),n.match(/#/)==null||stlib.hash.validateHash(n)?(i=n.split("#")[0]+f+".dpuf",r=i):(i=n,r=i)):(_$d2("is Not Url"),i=document.location.hash==""||/^#$/.test(document.location.hash)||stlib.hash.validateHash(document.location.hash)?e+f+".dpuf":document.location.href,r=n,n.length>50&&(u=" - See more at: "+i+"",/^\+?1?[\.\-\\)_\s]?[\\(]?[0-9]{3}[\.\-\\)_\s]?[0-9]{3}[\.\-_\s]?[0-9]{4}$|^[0-9]{3}[\.\-_\s]?[0-9]{4}$/.test(n)||/^[0-9]{3}[\.\-_\s]?[0-9]{8}$/.test(n)||/^[0-9]{2}[\.\-_\s]?[0-9]{4}[\.\-_\s]?[0-9]{4}$/.test(n)||/[\-_\.a-z0-9]+@[\-_\.a-z0-9]+\.[\-_\.a-z0-9]+/i.test(n)||(r+=u))),n.length>140&&(n=n.substring(0,137)+"..."),stlib.hash.logCopy(i,n),t&&t==!0?u:r}};stlib.pump=function(n,t,i){var r=this;this.isIframeReady=!1;this.isIframeSending=!1;this.getHash=function(n){var t=n.split("#");return t.shift(),t.join("#")};this.broadcastInit=function(n){this.destination=n;_$d_("---------------------");_$d1("Initiating broadcaster:");_$d(this.destination)};this.broadcastSendMessage=function(n){if(_$d_("---------------------"),_$d1("Initiating Send:"),this.destination===window){if(stlib.browser.ieFallback){window.location.replace(window.location.href.split("#")[0]+"#"+n);_$d2("child can't communicate with parent");return}_$d2("Iframe to publisher: "+n);parent.postMessage("#"+n,document.referrer)}else{if(_$d2("Publisher to Iframe: "+n),stlib.browser.ieFallback){this.destination.contentWindow&&(this.destination.contentWindow.location.replace(this.destination.src+"#"+n),this.isIframeSending=!0);return}this.destination.contentWindow.postMessage("#"+n,this.destination.src)}};this.receiverInit=function(n,t){var u,f,i,r;if(_$d_("---------------------"),_$d1("Initiating Receiver:"),_$d(n),stlib.browser.ieFallback){this.callback=t;this.source=n;n===window&&(window.location.replace(window.location.href.split("#")[0]+"#"),this.currentIframe=window.location.hash,u="receiver"+stlib.functionCount,stlib.functions[u]=function(n){if(""!=window.location.hash&&"#"!=window.location.hash){var t=window.location.hash;n(t);window.location.replace(window.location.href.split("#")[0]+"#")}},stlib.functionCount++,f="callback"+stlib.functionCount,stlib.functions[f]=t,stlib.functionCount++,setInterval("stlib.functions['"+u+"'](stlib.functions['"+f+"'])",200));i=window.addEventListener?"addEventListener":"attachEvent";r=i=="attachEvent"?"onmessage":"message";window[i](r,function(t){n==window||t.origin.indexOf("sharethis.com")!=-1&&(t.data.match(/#Pinterest Click/)&&stlib.sharer.sharePinterest(),t.data.match(/#Print Click/)&&stlib.sharer.stPrint())},!1);return}i=window.addEventListener?"addEventListener":"attachEvent";r=i=="attachEvent"?"onmessage":"message";window[i](r,function(i){n==window?(_$d1("arrived in iframe from:"),_$d(i.origin),(i.data.match(/#fragmentPump/)||i.data.match(/#Buttons Ready/)||i.data.match(/#Widget Ready/)||i.data.indexOf("#light")==0||i.data.indexOf("#widget")==0||i.data.indexOf("#popup")==0||i.data.indexOf("#show")==0||i.data.indexOf("#init")==0||i.data.indexOf("#test")==0||i.data.indexOf("#data")==0)&&t(i.data)):i.origin.indexOf("sharethis.com")!=-1?(_$d1("arrived in parent from:"),_$d(i.origin),i.data.match(/#fragmentPump/)||i.data.match(/#Buttons Ready/)||i.data.match(/#Widget Ready/)||i.data.indexOf("#light")==0||i.data.indexOf("#widget")==0||i.data.indexOf("#popup")==0||i.data.indexOf("#show")==0||i.data.indexOf("#init")==0||i.data.indexOf("#test")==0||i.data.indexOf("#data")==0?t(i.data):i.data.match(/#Pinterest Click/)?stlib.sharer.sharePinterest():i.data.match(/#Print Click/)&&stlib.sharer.stPrint()):(_$d1("discarded event from:"),_$d(i.origin))},!1)};this.broadcastInit(n);this.receiverInit(t,i)};stlib.json={c:{"\b":"b","\t":"t","\n":"n","\f":"f","\r":"r",'"':'"',"\\":"\\","/":"/"},d:function(n){return n<10?"0".concat(n):n},e:function(c,f,e){return e=eval,delete eval,typeof eval=="undefined"&&(eval=e),f=eval(""+c),eval=e,f},i:function(n,t,i){return 1*n.substr(t,i)},p:["","000","00","0",""],rc:null,rd:/^[0-9]{4}\-[0-9]{2}\-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}$/,rs:/(\x5c|\x2F|\x22|[\x0c-\x0d]|[\x08-\x0a])/g,rt:/^([0-9]+|[0-9]+[,\.][0-9]{1,3})$/,ru:/([\x00-\x07]|\x0b|[\x0e-\x1f])/g,s:function(n,t){return"\\".concat(stlib.json.c[t])},u:function(n,t){var i=t.charCodeAt(0).toString(16);return"\\u".concat(stlib.json.p[i.length],i)},v:function(n,t){return stlib.json.types[typeof result](result)!==Function&&(t.hasOwnProperty?t.hasOwnProperty(n):t.constructor.prototype[n]!==t[n])},types:{boolean:function(){return Boolean},"function":function(){return Function},number:function(){return Number},object:function(n){return n instanceof n.constructor?n.constructor:null},string:function(){return String},undefined:function(){return null}},$$:function(n){function t(t,i){i=t[n];delete t[n];try{stlib.json.e(t)}catch(r){return t[n]=i,1}}return t(Array)&&t(Object)},encode:function(){var n=arguments.length?arguments[0]:this,t,i,r,f;if(n===null)t="null";else if(n!==undefined&&(i=stlib.json.types[typeof n](n)))switch(i){case Array:t=[];for(var r=0,u=0,e=n.length;u<e;u++)n[u]!==undefined&&(i=stlib.json.encode(n[u]))&&(t[r++]=i);t="[".concat(t.join(","),"]");break;case Boolean:t=String(n);break;case Date:t='"'.concat(n.getFullYear(),"-",stlib.json.d(n.getMonth()+1),"-",stlib.json.d(n.getDate()),"T",stlib.json.d(n.getHours()),":",stlib.json.d(n.getMinutes()),":",stlib.json.d(n.getSeconds()),'"');break;case Function:break;case Number:t=isFinite(n)?String(n):"null";break;case String:t='"'.concat(n.replace(stlib.json.rs,stlib.json.s).replace(stlib.json.ru,stlib.json.u),'"');break;default:r=0;t=[];for(f in n)n[f]!==undefined&&(i=stlib.json.encode(n[f]))&&(t[r++]='"'.concat(f.replace(stlib.json.rs,stlib.json.s).replace(stlib.json.ru,stlib.json.u),'":',i));t="{".concat(t.join(","),"}")}return t},decode:function(n){if(typeof n=="string")try{return/^[\],:{}\s]*$/.test(n.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))?window.JSON&&window.JSON.parse?window.JSON.parse(n):new Function("return "+n)():null}catch(t){}}};try{stlib.json.rc=new RegExp('^("(\\\\.|[^"\\\\\\n\\r])*?"|[,:{}\\[\\]0-9.\\-+Eaeflnr-u \\n\\r\\t])+?$')}catch(z){stlib.json.rc=/^(true|false|null|\[.*\]|\{.*\}|".*"|\d+|\d+\.\d+)$/}stlib.logger={loggerUrl:("https:"==document.location.protocol?"https://":"http://")+"l.sharethis.com/",l2LoggerUrl:("https:"==document.location.protocol?"https://":"http://")+"l2.sharethis.com/",productArray:[],version:"",lang:"en",isFpEvent:!1,constructParamString:function(){var t=stlib.data.pageInfo,i="",n;for(n in t)(stlib.logger.isFpEvent||n!="ufa"&&n!="ufb"&&n!="ufc"&&n!="ufd")&&(i+=n+"="+t[n]+"&");t=stlib.data.shareInfo;for(n in t)i+=n+"="+t[n]+"&";return i.substring(0,i.length-1)},log:function(n,t,i){var f,s,e,u,r,o;n=="pview"||n=="share"||n=="onload"?(stlib.logger.isFpEvent=!0,stlib.stfp.screenResolutionDepthHash!="ERROR"&&stlib.data.set("ufa",stlib.stfp.screenResolutionDepthHash,"pageInfo"),stlib.stfp.pluginsListHash!="ERROR"&&stlib.data.set("ufb",stlib.stfp.pluginsListHash,"pageInfo"),stlib.stfp.fontsListHash!="ERROR"&&stlib.data.set("ufc",stlib.stfp.fontsListHash,"pageInfo"),stlib.stfp.timezoneoffsetHash!="ERROR"&&stlib.data.set("ufd",stlib.stfp.timezoneoffsetHash,"pageInfo")):stlib.logger.isFpEvent=!1;typeof stlib.data.get("counter","shareInfo")!="undefined"?(f=0,stlib.data.get("counter","shareInfo")&&(f=stlib.data.get("counter","shareInfo")),stlib.data.set("ts"+(new Date).getTime()+"."+f,"","shareInfo"),stlib.data.unset("counter","shareInfo")):stlib.data.set("ts"+(new Date).getTime(),"","shareInfo");n=="widget"&&(s="."+stlib.hash.hashDestination(stlib.data.shareInfo.destination),stlib.hash.updateDestination(s));t&&(t==stlib.logger.loggerUrl||t==stlib.logger.l2LoggerUrl)||(t=stlib.logger.loggerUrl);e=n=="pview"?n:n=="debug"?"cns":"log";u=n=="pview"?t+e+"?event="+n+"&version="+stlib.logger.version+"&lang="+stlib.logger.lang+"&"+stlib.logger.constructParamString():t+e+"?event="+n+"&"+stlib.logger.constructParamString();try{r=new XMLHttpRequest;r.open("GET",u,!0);r.withCredentials=!0;r.onreadystatechange=function(){if(this.readyState==this.HEADERS_RECEIVED){var n=r.getResponseHeader("stid");stlib.data.set("stid",n,"pageInfo");i?i():null}};r.send()}catch(h){o=new Image(1,1);o.src=u;o.onload=function(){return};i?i():null}}};stlib.logger.version="buttons.js";customProduct="widget";typeof stLight=="undefined"&&typeof SHARETHIS=="undefined"&&(stWidgetVersion=!1,typeof switchTo5x=="undefined"?stWidgetVersion="4x":(switchTo5x==!1&&(stWidgetVersion="4x"),switchTo5x==!0&&(stWidgetVersion="5xa")),stLight=new function(){this.version=!1;this.publisher=null;this.sessionID_time=(new Date).getTime().toString();this.sessionID_rand=Number(Math.random().toPrecision(5).toString().substr(2)).toString();this.sessionID=this.sessionID_time+"."+this.sessionID_rand;this.fpc=null;this.counter=0;this.readyRun=!1;this.meta={hostname:document.location.host,location:document.location.pathname};this.loadedFromBar=!1;this.clickCallBack=!1},stLight.loadDefault=function(){this.product=typeof customProduct=="undefined"?"DOS2":customProduct;this.source="DOS2";this.version="st_insights.js"},stLight.options=function(n){this.loadDefault();n&&n.publisher&&stLight.setPublisher(n.publisher);n&&n.refDomain&&stLight.setRefDomain(n.refDomain);stlib.logger.productArray=[];n&&n.product?stLight.setProduct(n.product):stLight.setProduct(stLight.product);n&&typeof n.hashAddressBar!="undefined"&&(stlib.hash.hashAddressBar=n.hashAddressBar);n&&typeof n.doNotHash!="undefined"&&(stlib.hash.doNotHash=n.doNotHash);n&&typeof n.doNotCopy!="undefined"&&(stlib.hash.doNotCopy=n.doNotCopy);stlib.stLightOptionsObj=n},stLight.onReady=function(){if(stLight.readyRun==!0)return!1;if(stLight.loadFromScript(),stLight.readyRun=!0,stlib.data.init(),stlib.stfp.init(),stLight.fpc=stlib.data.get("fpc","pageInfo"),stLight.publisher==null&&typeof window.console!="undefined")try{console.debug("Please specify a ShareThis Publisher Key \nFor help, contact support@sharethis.com")}catch(n){}stLight.setProduct(stLight.product);stlib.logger.lang="en"},stLight.log=function(n){stlib.data.resetShareData();stlib.data.setSource(stLight.getSource());stlib.data.set("url",document.location.href,"shareInfo");stlib.data.set("title",document.title,"shareInfo");stlib.data.set("counter",stLight.counter++,"shareInfo");stlib.logger.log(n)},window.document.readyState=="completed"?stLight.onReady():typeof window.addEventListener!="undefined"?window.addEventListener("load",stLight.onReady,!1):typeof document.addEventListener!="undefined"?document.addEventListener("load",stLight.onReady,!1):typeof window.attachEvent!="undefined"&&window.attachEvent("onload",stLight.onReady),stLight.setPublisher=function(n){stlib.data.setPublisher(n);stLight.publisher=n},stLight.setRefDomain=function(n){stlib.data.setRefDomain(n)},stLight.setProduct=function(n){this.product=n;stlib.data.set("product",n,"pageInfo")},stLight.getProduct=function(){return this.product},stLight.getSource=function(){var n="share4x";return stWidgetVersion=="5xa"&&(n="share5x"),n});stLight.getUrlSearchParam=function(){var n=window.location.search.substring(1);return n.split("&")};stLight.getUrlQueryParams=function(n){var t={},i=n.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(n,i,r){t[i]=r});return t};stLight.getScriptSrcParams=function(n){var t=document.getElementById(n);if(t)return stLight.getUrlQueryParams(t.src)};stLight.setParams=function(n){n&&(n.refdomain&&stLight.setRefDomain(n.refdomain),n.publisher&&stLight.setPublisher(n.publisher),n.product&&stLight.setProduct(n.product))};stLight.loadFromScript=function(){var n=stLight.getScriptSrcParams("st_insights_js");stLight.setParams(n)};stLight.loadFromWindowLocation=function(){var n=stLight.getUrlSearchParam();stLight.setParams(n)};stLight.onDomContentLoaded=function(){stLight.onReady()};stLight.domReady=function(){stLight.onReady()};st_showing=!1;stLight.clickSubscribers=[];stLight.nonClickSubscribers=[];window.document.readyState=="completed"?stLight.domReady():typeof window.addEventListener!="undefined"?window.addEventListener("load",stLight.domReady,!1):typeof document.addEventListener!="undefined"?document.addEventListener("load",stLight.domReady,!1):typeof window.attachEvent!="undefined"&&window.attachEvent("onload",stLight.domReady);typeof __st_loadLate=="undefined"?typeof window.addEventListener!="undefined"?window.addEventListener("DOMContentLoaded",stLight.onDomContentLoaded,!1):typeof document.addEventListener!="undefined"&&document.addEventListener("DOMContentLoaded",stLight.onDomContentLoaded,!1):typeof window.addEventListener!="undefined"?window.addEventListener("DOMContentLoaded",stLight.onDomContentLoadedLazy,!1):typeof document.addEventListener!="undefined"&&document.addEventListener("DOMContentLoaded",stLight.onDomContentLoadedLazy,!1);document.readyState=="complete"&&stLight.readyRun==!1&&stLight.domReady();stButtons=stButtons||{};stButtons.getCount=function(n,t,i){if(i&&i!==null)while(i.childNodes.length>=1)try{i.removeChild(i.firstChild)}catch(r){}ShareThisEvent.listen("on_async_buttons_load",function(){stButtons=async_buttons.stButtons;stButtons.cbQueue.push({url:n,service:t,element:i});stButtons.getCountsFromService(n,t,i)},!1)};stButtons.locateElements=function(n){ShareThisEvent.listen("on_async_buttons_load",function(){async_buttons.stButtons.locateElements(n)},!1)};stWidget=stWidget||{};typeof stWidget.readyRun=="undefined"&&(stWidget.addEntry=function(n){ShareThisEvent.listen("on_async_buttons_load",function(){stWidget=async_buttons.stWidget;stWidget.addEntry(n)},!1)});stLight.subscribe=function(n,t){ShareThisEvent.listen("on_async_buttons_load",function(){stButtonsLib.subscribe(n,t)},!1)};stlib.onscriptload||document.URL.indexOf("edge.sharethis.com")!=-1||(stlib.data.init(),stlib.onscriptload=!0,product=stlib.data.get("product","pageInfo"),stlib.logger.version=="buttons.js"||product=="simpleshare"?stlib.logger.log("pview",null,function(){stlib.pixels.createSegmentFrame(product)}):stlib.logger.log("pview"));stlib.scriptLoader={loadJavascript:function(n,t){_$d_();_$d1("Loading JS: "+n);var i=stlib.scriptLoader;i.head=document.getElementsByTagName("head")[0];i.scriptSrc=n;i.script=document.createElement("script");i.script.setAttribute("type","text/javascript");i.script.setAttribute("src",i.scriptSrc);i.script.async=!0;window.attachEvent&&document.all?i.script.onreadystatechange=function(){(this.readyState=="complete"||this.readyState=="loaded")&&t()}:i.script.onload=t;i.s=document.getElementsByTagName("script")[0];i.s.parentNode.insertBefore(i.script,i.s)},loadCSS:function(n,t){_$d_();_$d1("Loading CSS: "+n);var i=stlib.scriptLoader,r;i.head=document.getElementsByTagName("head")[0];i.cssSrc=n;i.css=document.createElement("link");i.css.setAttribute("rel","stylesheet");i.css.setAttribute("type","text/css");i.css.setAttribute("href",n);i.css.setAttribute("id",n);setTimeout(function(){t();document.getElementById(n)||(r=setInterval(function(){document.getElementById(n)&&(clearInterval(r),t())},100))},100);i.head.appendChild(i.css)}},function(n){n.fn.rwdImageMaps=function(){var t=this,i=function(){t.each(function(){if(typeof n(this).attr("usemap")!="undefined"){var i=this,t=n(i);n("<img />").on("load",function(){var r=t.attr("width"),u=t.attr("height"),f;r&&u||(f=new Image,f.src=t.attr("src"),r||(r=f.width),u||(u=f.height));var e=t.width()/100,o=t.height()/100,s=t.attr("usemap").replace("#",""),i="coords";n('map[name="'+s+'"]').find("area").each(function(){var f=n(this),s,h,t;for(f.data(i)||f.data(i,f.attr(i)),s=f.data(i).split(","),h=new Array(s.length),t=0;t<h.length;++t)h[t]=t%2==0?parseInt(s[t]/r*100*e):parseInt(s[t]/u*100*o);f.attr(i,h.toString())})}).attr("src",t.attr("src"))}})};return n(window).resize(i).trigger("resize"),this}}(jQuery)