Última hora

Países emergentes

News

Presidente da Tunísia, Béji Caïd Essebsi: "Esperamos que a Primavera Árabe se realize em todos os países árabes"

Por ocasião do primeira cimeira entre a União Europeia e a Tunísia em Bruxelas, o presidente da Tunísia, Béji Caïd Essebsi, falou em exclusivo à euronews sobre os seus planos para os três anos que res

Por ocasião do primeira cimeira entre a União Europeia e a Tunísia em Bruxelas, o presidente da Tunísia, Béji Caïd Essebsi, falou em exclusivo à euronews sobre os seus planos para os três anos que res

Business

Burkina Faso: Uma oportunidade de ouro

Ouro, manganês, fosfatos... O governo do Burkina Faso assumiu o desafio de transformar o setor mineiro num dos motores de desenvolvimento social do país.

Ouro, manganês, fosfatos... O governo do Burkina Faso assumiu o desafio de transformar o setor mineiro num dos motores de desenvolvimento social do país.

Business

Teknopark Istambul: Turquia aposta na inovação

Para atrair novas oportunidades, um grande número de empresas internacionais estabeleceram as matrizes regionais e os centros de inovação na Turquia.

Para atrair novas oportunidades, um grande número de empresas internacionais estabeleceram as matrizes regionais e os centros de inovação na Turquia.

Business

Os contornos dos investimentos externos na Turquia

A posição geoestratégica da Turquia, historicamente considerada como a ponte física e simbólica entre a Europa e a Ásia, suscita o interesse de multinacionais que apostam no futuro económico deste…

A posição geoestratégica da Turquia, historicamente considerada como a ponte física e simbólica entre a Europa e a Ásia, suscita o interesse de multinacionais que apostam no futuro económico deste…

Business

O Ouro Negro de Madagáscar

Target Madagáscar concentrou-se nos recursos energéticos e foi até à primeira exploração de petróleo em atividade no país.

Target Madagáscar concentrou-se nos recursos energéticos e foi até à primeira exploração de petróleo em atividade no país.

Business

Madagáscar aposta na exploração mineira

Target foi até Fort Dauphin, no sudeste de Madagáscar, à descoberta de uma mina impressionante com 2800 hectares.

Target foi até Fort Dauphin, no sudeste de Madagáscar, à descoberta de uma mina impressionante com 2800 hectares.

News

Lagarde: "Não estamos em estado de alarme, mas estamos alerta"

Há muito poucos motivos para sorrir quando olhamos para o estado da economia global: os escândalos de corrupção sucedem-se, os países europeus

Há muito poucos motivos para sorrir quando olhamos para o estado da economia global: os escândalos de corrupção sucedem-se, os países europeus

News

Cazaquistão: Diversificar para sobreviver à crise do petróleo

Diversificar para sobreviver. Este ditado tradicional usado pelos países habituados a exportar matérias-primas é agora o principal programa político no Cazaquistão para fazer face à descida dos preços

Diversificar para sobreviver. Este ditado tradicional usado pelos países habituados a exportar matérias-primas é agora o principal programa político no Cazaquistão para fazer face à descida dos preços

News

Os motores do futuro económico de África

Como tornar a agricultura num motor de crescimento económico em África? Foi apenas uma das questões em debate no fórum internacional que decorreu em

Como tornar a agricultura num motor de crescimento económico em África? Foi apenas uma das questões em debate no fórum internacional que decorreu em

News

Depois do ouro negro, Angola vira-se para o "ouro verde"

O setor agrícola angolano foi radicalmente afetado por décadas de guerra civil. Aquele que se tornou no segundo maior produtor africano de petróleo procura agora de novo diversificar a sua economia.

O setor agrícola angolano foi radicalmente afetado por décadas de guerra civil. Aquele que se tornou no segundo maior produtor africano de petróleo procura agora de novo diversificar a sua economia.

Science_technology

Gana produz cogumelos a partir de resíduos de mandioca

Uma empresa do ramo alimentar no Gana, na África Ocidental, transforma, aproximadamente, 400 toneladas de mandioca em subprodutos, por mês. Até ao

Uma empresa do ramo alimentar no Gana, na África Ocidental, transforma, aproximadamente, 400 toneladas de mandioca em subprodutos, por mês. Até ao

Business

Economia africana deverá crescer 4,5% este ano

Enquanto a Europa se debate com uma economia em estagnação, ou quase, os países africanos apresentam taxas de crescimento de 4,5% para este ano e de

Enquanto a Europa se debate com uma economia em estagnação, ou quase, os países africanos apresentam taxas de crescimento de 4,5% para este ano e de

Business

União Económica Eurasiática: A resposta de leste à União Europeia

Esta semana, desvendamos o novo espaço comum euro-asiático, um projeto concebido por Rússia, Bilerrússia e o Cazaquistão, ao qual se juntaram Arménia e Quirguistão.

Esta semana, desvendamos o novo espaço comum euro-asiático, um projeto concebido por Rússia, Bilerrússia e o Cazaquistão, ao qual se juntaram Arménia e Quirguistão.

News

Economista Esther Duflo vence Prémio Princesa das Astúrias nas Ciências Sociais

Medalha John Clark https://www.aeaweb.org/articles.php?doi=10.1257/jep.25.3.197 Conferência em 2011 sobre a pobreza <iframe width="606" height="341" src="https://www.youtube.com/embed/4vzvSaDlhyM" fr

Medalha John Clark https://www.aeaweb.org/articles.php?doi=10.1257/jep.25.3.197 Conferência em 2011 sobre a pobreza '),u.close(),l=u.w.frames[0].document,n=l.createElement("div")}catch(e){n=o.createElement("div"),l=o.body}var c=function(e){return function(){var t=Array.prototype.slice.call(arguments,0);t.unshift(n),l.appendChild(n),n.addBehavior("#default#userData"),n.load(a);var r=e.apply(i,t);return l.removeChild(n),r}},d=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g"),f=function(e){return e.replace(/^d/,"___$&").replace(d,"___")};i.set=c(function(e,t,n){return t=f(t),void 0===n?i.remove(t):(e.setAttribute(t,i.serialize(n)),e.save(a),n)}),i.get=c(function(e,t,n){t=f(t);var r=i.deserialize(e.getAttribute(t));return void 0===r?n:r}),i.remove=c(function(e,t){t=f(t),e.removeAttribute(t),e.save(a)}),i.clear=c(function(e){var t=e.XMLDocument.documentElement.attributes;e.load(a);for(var n=t.length-1;n>=0;n--)e.removeAttribute(t[n].name);e.save(a)}),i.getAll=function(e){var t={};return i.forEach(function(e,n){t[e]=n}),t},i.forEach=c(function(e,t){for(var n,r=e.XMLDocument.documentElement.attributes,o=0;n=r[o];++o)t(n.name,i.deserialize(e.getAttribute(n.name)))})}try{var p="__storejs__";i.set(p,p),i.get(p)!=p&&(i.disabled=!0),i.remove(p)}catch(e){i.disabled=!0}return i.enabled=!i.disabled,i})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],78:[function(e,t,n){!function(){"use strict";function e(e){e.fn.swiper=function(t){var i;return e(this).each(function(){var e=new n(this,t);i||(i=e)}),i}}var t,n=function(e,r){function o(e){return Math.floor(e)}function a(){w.autoplayTimeoutId=setTimeout(function(){w.params.loop?(w.fixLoop(),w._slideNext(),w.emit("onAutoplay",w)):w.isEnd?r.autoplayStopOnLast?w.stopAutoplay():(w._slideTo(0),w.emit("onAutoplay",w)):(w._slideNext(),w.emit("onAutoplay",w))},w.params.autoplay)}function s(e,n){var i=t(e.target);if(!i.is(n))if("string"==typeof n)i=i.parents(n);else if(n.nodeType){var r;return i.parents().each(function(e,t){t===n&&(r=n)}),r?n:void 0}if(0!==i.length)return i[0]}function l(e,t){t=t||{};var n=window.MutationObserver||window.WebkitMutationObserver,i=new n(function(e){e.forEach(function(e){w.onResize(!0),w.emit("onObserverUpdate",w,e)})});i.observe(e,{attributes:"undefined"==typeof t.attributes||t.attributes,childList:"undefined"==typeof t.childList||t.childList,characterData:"undefined"==typeof t.characterData||t.characterData}),w.observers.push(i)}function u(e){e.originalEvent&&(e=e.originalEvent);var t=e.keyCode||e.charCode;if(!w.params.allowSwipeToNext&&(w.isHorizontal()&&39===t||!w.isHorizontal()&&40===t))return!1;if(!w.params.allowSwipeToPrev&&(w.isHorizontal()&&37===t||!w.isHorizontal()&&38===t))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||document.activeElement&&document.activeElement.nodeName&&("input"===document.activeElement.nodeName.toLowerCase()||"textarea"===document.activeElement.nodeName.toLowerCase()))){if(37===t||39===t||38===t||40===t){var n=!1;if(w.container.parents(".swiper-slide").length>0&&0===w.container.parents(".swiper-slide-active").length)return;var i={left:window.pageXOffset,top:window.pageYOffset},r=window.innerWidth,o=window.innerHeight,a=w.container.offset();w.rtl&&(a.left=a.left-w.container[0].scrollLeft);for(var s=[[a.left,a.top],[a.left+w.width,a.top],[a.left,a.top+w.height],[a.left+w.width,a.top+w.height]],l=0;l=i.left&&u[0]<=i.left+r&&u[1]>=i.top&&u[1]<=i.top+o&&(n=!0)}if(!n)return}w.isHorizontal()?(37!==t&&39!==t||(e.preventDefault?e.preventDefault():e.returnValue=!1),(39===t&&!w.rtl||37===t&&w.rtl)&&w.slideNext(),(37===t&&!w.rtl||39===t&&w.rtl)&&w.slidePrev()):(38!==t&&40!==t||(e.preventDefault?e.preventDefault():e.returnValue=!1),40===t&&w.slideNext(),38===t&&w.slidePrev())}}function c(e){e.originalEvent&&(e=e.originalEvent);var t=w.mousewheel.event,n=0,i=w.rtl?-1:1;if("mousewheel"===t)if(w.params.mousewheelForceToAxis)if(w.isHorizontal()){if(!(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)))return;n=e.wheelDeltaX*i}else{if(!(Math.abs(e.wheelDeltaY)>Math.abs(e.wheelDeltaX)))return;n=e.wheelDeltaY}else n=Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)?-e.wheelDeltaX*i:-e.wheelDeltaY;else if("DOMMouseScroll"===t)n=-e.detail;else if("wheel"===t)if(w.params.mousewheelForceToAxis)if(w.isHorizontal()){if(!(Math.abs(e.deltaX)>Math.abs(e.deltaY)))return;n=-e.deltaX*i}else{if(!(Math.abs(e.deltaY)>Math.abs(e.deltaX)))return;n=-e.deltaY}else n=Math.abs(e.deltaX)>Math.abs(e.deltaY)?-e.deltaX*i:-e.deltaY;if(0!==n){if(w.params.mousewheelInvert&&(n=-n),w.params.freeMode){var r=w.getWrapperTranslate()+n*w.params.mousewheelSensitivity,o=w.isBeginning,a=w.isEnd;if(r>=w.minTranslate()&&(r=w.minTranslate()),r<=w.maxTranslate()&&(r=w.maxTranslate()),w.setWrapperTransition(0),w.setWrapperTranslate(r),w.updateProgress(),w.updateActiveIndex(),(!o&&w.isBeginning||!a&&w.isEnd)&&w.updateClasses(),w.params.freeModeSticky?(clearTimeout(w.mousewheel.timeout), w.mousewheel.timeout=setTimeout(function(){w.slideReset()},300)):w.params.lazyLoading&&w.lazy&&w.lazy.load(),0===r||r===w.maxTranslate())return}else{if((new window.Date).getTime()-w.mousewheel.lastScrollTime>60)if(n<0)if(w.isEnd&&!w.params.loop||w.animating){if(w.params.mousewheelReleaseOnEdges)return!0}else w.slideNext();else if(w.isBeginning&&!w.params.loop||w.animating){if(w.params.mousewheelReleaseOnEdges)return!0}else w.slidePrev();w.mousewheel.lastScrollTime=(new window.Date).getTime()}return w.params.autoplay&&w.stopAutoplay(),e.preventDefault?e.preventDefault():e.returnValue=!1,!1}}function d(e,n){e=t(e);var i,r,o,a=w.rtl?-1:1;i=e.attr("data-swiper-parallax")||"0",r=e.attr("data-swiper-parallax-x"),o=e.attr("data-swiper-parallax-y"),r||o?(r=r||"0",o=o||"0"):w.isHorizontal()?(r=i,o="0"):(o=i,r="0"),r=r.indexOf("%")>=0?parseInt(r,10)*n*a+"%":r*n*a+"px",o=o.indexOf("%")>=0?parseInt(o,10)*n+"%":o*n+"px",e.transform("translate3d("+r+", "+o+",0px)")}function f(e){return 0!==e.indexOf("on")&&(e=e[0]!==e[0].toUpperCase()?"on"+e[0].toUpperCase()+e.substring(1):"on"+e),e}if(!(this instanceof n))return new n(e,r);var p={direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flip:{slideShadows:!0,limitRotation:!0},cube:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fade:{crossFade:!1},parallax:!1,scrollbar:null,scrollbarHide:!0,scrollbarDraggable:!1,scrollbarSnapOnRelease:!1,keyboardControl:!1,mousewheelControl:!1,mousewheelReleaseOnEdges:!1,mousewheelInvert:!1,mousewheelForceToAxis:!1,mousewheelSensitivity:1,hashnav:!1,breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,onlyExternal:!1,threshold:0,touchMoveStopPropagation:!0,uniqueNavElements:!0,pagination:null,paginationElement:"span",paginationClickable:!1,paginationHide:!1,paginationBulletRender:null,paginationProgressRender:null,paginationFractionRender:null,paginationCustomRender:null,paginationType:"bullets",resistance:!0,resistanceRatio:.85,nextButton:null,prevButton:null,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,lazyLoading:!1,lazyLoadingInPrevNext:!1,lazyLoadingInPrevNextAmount:1,lazyLoadingOnTransitionStart:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,control:void 0,controlInverse:!1,controlBy:"slide",allowSwipeToPrev:!0,allowSwipeToNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",buttonDisabledClass:"swiper-button-disabled",paginationCurrentClass:"swiper-pagination-current",paginationTotalClass:"swiper-pagination-total",paginationHiddenClass:"swiper-pagination-hidden",paginationProgressbarClass:"swiper-pagination-progressbar",observer:!1,observeParents:!1,a11y:!1,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",runCallbacksOnInit:!0},h=r&&r.virtualTranslate;r=r||{};var m={};for(var v in r)if("object"!=typeof r[v]||null===r[v]||(r[v].nodeType||r[v]===window||r[v]===document||"undefined"!=typeof i&&r[v]instanceof i||"undefined"!=typeof jQuery&&r[v]instanceof jQuery))m[v]=r[v];else{m[v]={};for(var g in r[v])m[v][g]=r[v][g]}for(var y in p)if("undefined"==typeof r[y])r[y]=p[y];else if("object"==typeof r[y])for(var b in p[y])"undefined"==typeof r[y][b]&&(r[y][b]=p[y][b]);var w=this;if(w.params=r,w.originalParams=m,w.classNames=[],"undefined"!=typeof t&&"undefined"!=typeof i&&(t=i),("undefined"!=typeof t||(t="undefined"==typeof i?window.Dom7||window.Zepto||window.jQuery:i))&&(w.$=t,w.currentBreakpoint=void 0,w.getActiveBreakpoint=function(){if(!w.params.breakpoints)return!1;var e,t=!1,n=[];for(e in w.params.breakpoints)w.params.breakpoints.hasOwnProperty(e)&&n.push(e);n.sort(function(e,t){return parseInt(e,10)>parseInt(t,10)});for(var i=0;i=window.innerWidth&&!t&&(t=e);return t||"max"},w.setBreakpoint=function(){var e=w.getActiveBreakpoint();if(e&&w.currentBreakpoint!==e){var t=e in w.params.breakpoints?w.params.breakpoints[e]:w.originalParams,n=w.params.loop&&t.slidesPerView!==w.params.slidesPerView;for(var i in t)w.params[i]=t[i];w.currentBreakpoint=e,n&&w.destroyLoop&&w.reLoop(!0)}},w.params.breakpoints&&w.setBreakpoint(),w.container=t(e),0!==w.container.length)){if(w.container.length>1){var _=[];return w.container.each(function(){_.push(new n(this,r))}),_}w.container[0].swiper=w,w.container.data("swiper",w),w.classNames.push("swiper-container-"+w.params.direction),w.params.freeMode&&w.classNames.push("swiper-container-free-mode"),w.support.flexbox||(w.classNames.push("swiper-container-no-flexbox"),w.params.slidesPerColumn=1),w.params.autoHeight&&w.classNames.push("swiper-container-autoheight"),(w.params.parallax||w.params.watchSlidesVisibility)&&(w.params.watchSlidesProgress=!0),["cube","coverflow","flip"].indexOf(w.params.effect)>=0&&(w.support.transforms3d?(w.params.watchSlidesProgress=!0,w.classNames.push("swiper-container-3d")):w.params.effect="slide"),"slide"!==w.params.effect&&w.classNames.push("swiper-container-"+w.params.effect),"cube"===w.params.effect&&(w.params.resistanceRatio=0,w.params.slidesPerView=1,w.params.slidesPerColumn=1,w.params.slidesPerGroup=1,w.params.centeredSlides=!1,w.params.spaceBetween=0,w.params.virtualTranslate=!0,w.params.setWrapperSize=!1),"fade"!==w.params.effect&&"flip"!==w.params.effect||(w.params.slidesPerView=1,w.params.slidesPerColumn=1,w.params.slidesPerGroup=1,w.params.watchSlidesProgress=!0,w.params.spaceBetween=0,w.params.setWrapperSize=!1,"undefined"==typeof h&&(w.params.virtualTranslate=!0)),w.params.grabCursor&&w.support.touch&&(w.params.grabCursor=!1),w.wrapper=w.container.children("."+w.params.wrapperClass),w.params.pagination&&(w.paginationContainer=t(w.params.pagination),w.params.uniqueNavElements&&"string"==typeof w.params.pagination&&w.paginationContainer.length>1&&1===w.container.find(w.params.pagination).length&&(w.paginationContainer=w.container.find(w.params.pagination)),"bullets"===w.params.paginationType&&w.params.paginationClickable?w.paginationContainer.addClass("swiper-pagination-clickable"):w.params.paginationClickable=!1,w.paginationContainer.addClass("swiper-pagination-"+w.params.paginationType)),(w.params.nextButton||w.params.prevButton)&&(w.params.nextButton&&(w.nextButton=t(w.params.nextButton),w.params.uniqueNavElements&&"string"==typeof w.params.nextButton&&w.nextButton.length>1&&1===w.container.find(w.params.nextButton).length&&(w.nextButton=w.container.find(w.params.nextButton))),w.params.prevButton&&(w.prevButton=t(w.params.prevButton),w.params.uniqueNavElements&&"string"==typeof w.params.prevButton&&w.prevButton.length>1&&1===w.container.find(w.params.prevButton).length&&(w.prevButton=w.container.find(w.params.prevButton)))),w.isHorizontal=function(){return"horizontal"===w.params.direction},w.rtl=w.isHorizontal()&&("rtl"===w.container[0].dir.toLowerCase()||"rtl"===w.container.css("direction")),w.rtl&&w.classNames.push("swiper-container-rtl"),w.rtl&&(w.wrongRTL="-webkit-box"===w.wrapper.css("display")),w.params.slidesPerColumn>1&&w.classNames.push("swiper-container-multirow"),w.device.android&&w.classNames.push("swiper-container-android"),w.container.addClass(w.classNames.join(" ")),w.translate=0,w.progress=0,w.velocity=0,w.lockSwipeToNext=function(){w.params.allowSwipeToNext=!1},w.lockSwipeToPrev=function(){w.params.allowSwipeToPrev=!1},w.lockSwipes=function(){w.params.allowSwipeToNext=w.params.allowSwipeToPrev=!1},w.unlockSwipeToNext=function(){w.params.allowSwipeToNext=!0},w.unlockSwipeToPrev=function(){w.params.allowSwipeToPrev=!0},w.unlockSwipes=function(){w.params.allowSwipeToNext=w.params.allowSwipeToPrev=!0},w.params.grabCursor&&(w.container[0].style.cursor="move",w.container[0].style.cursor="-webkit-grab",w.container[0].style.cursor="-moz-grab",w.container[0].style.cursor="grab"),w.imagesToLoad=[],w.imagesLoaded=0,w.loadImage=function(e,t,n,i,r){function o(){r&&r()}var a;e.complete&&i?o():t?(a=new window.Image,a.onload=o,a.onerror=o,n&&(a.srcset=n),t&&(a.src=t)):o()},w.preloadImages=function(){function e(){"undefined"!=typeof w&&null!==w&&(void 0!==w.imagesLoaded&&w.imagesLoaded++,w.imagesLoaded===w.imagesToLoad.length&&(w.params.updateOnImagesReady&&w.update(),w.emit("onImagesReady",w)))}w.imagesToLoad=w.container.find("img");for(var t=0;t=0&&(t=parseFloat(t.replace("%",""))/100*w.size),w.virtualSize=-t,w.rtl?w.slides.css({marginLeft:"",marginTop:""}):w.slides.css({marginRight:"",marginBottom:""});var a;w.params.slidesPerColumn>1&&(a=Math.floor(w.slides.length/w.params.slidesPerColumn)===w.slides.length/w.params.slidesPerColumn?w.slides.length:Math.ceil(w.slides.length/w.params.slidesPerColumn)*w.params.slidesPerColumn,"auto"!==w.params.slidesPerView&&"row"===w.params.slidesPerColumnFill&&(a=Math.max(a,w.params.slidesPerView*w.params.slidesPerColumn)));var s,l=w.params.slidesPerColumn,u=a/l,c=u-(w.params.slidesPerColumn*u-w.slides.length);for(e=0;e1){var f,p,h;"column"===w.params.slidesPerColumnFill?(p=Math.floor(e/l),h=e-p*l,(p>c||p===c&&h===l-1)&&++h>=l&&(h=0,p++),f=p+h*a/l,d.css({"-webkit-box-ordinal-group":f,"-moz-box-ordinal-group":f,"-ms-flex-order":f,"-webkit-order":f,order:f})):(h=Math.floor(e/u),p=e-h*u),d.css({"margin-top":0!==h&&w.params.spaceBetween&&w.params.spaceBetween+"px"}).attr("data-swiper-column",p).attr("data-swiper-row",h)}"none"!==d.css("display")&&("auto"===w.params.slidesPerView?(s=w.isHorizontal()?d.outerWidth(!0):d.outerHeight(!0),w.params.roundLengths&&(s=o(s))):(s=(w.size-(w.params.slidesPerView-1)*t)/w.params.slidesPerView,w.params.roundLengths&&(s=o(s)),w.isHorizontal()?w.slides[e].style.width=s+"px":w.slides[e].style.height=s+"px"),w.slides[e].swiperSlideSize=s,w.slidesSizesGrid.push(s),w.params.centeredSlides?(n=n+s/2+i/2+t,0===e&&(n=n-w.size/2-t),Math.abs(n)<.001&&(n=0),r%w.params.slidesPerGroup===0&&w.snapGrid.push(n),w.slidesGrid.push(n)):(r%w.params.slidesPerGroup===0&&w.snapGrid.push(n),w.slidesGrid.push(n),n=n+s+t),w.virtualSize+=s+t,i=s,r++)}w.virtualSize=Math.max(w.virtualSize,w.size)+w.params.slidesOffsetAfter;var m;if(w.rtl&&w.wrongRTL&&("slide"===w.params.effect||"coverflow"===w.params.effect)&&w.wrapper.css({width:w.virtualSize+w.params.spaceBetween+"px"}),w.support.flexbox&&!w.params.setWrapperSize||(w.isHorizontal()?w.wrapper.css({width:w.virtualSize+w.params.spaceBetween+"px"}):w.wrapper.css({height:w.virtualSize+w.params.spaceBetween+"px"})),w.params.slidesPerColumn>1&&(w.virtualSize=(s+w.params.spaceBetween)*a,w.virtualSize=Math.ceil(w.virtualSize/w.params.slidesPerColumn)-w.params.spaceBetween,w.wrapper.css({width:w.virtualSize+w.params.spaceBetween+"px"}),w.params.centeredSlides)){for(m=[],e=0;e1&&w.snapGrid.push(w.virtualSize-w.size)}0===w.snapGrid.length&&(w.snapGrid=[0]),0!==w.params.spaceBetween&&(w.isHorizontal()?w.rtl?w.slides.css({marginLeft:t+"px"}):w.slides.css({marginRight:t+"px"}):w.slides.css({marginBottom:t+"px"})),w.params.watchSlidesProgress&&w.updateSlidesOffset()}},w.updateSlidesOffset=function(){for(var e=0;e=0&&o0&&a<=w.size||o<=0&&a>=w.size;s&&w.slides.eq(n).addClass(w.params.slideVisibleClass)}i.progress=w.rtl?-r:r}}},w.updateProgress=function(e){"undefined"==typeof e&&(e=w.translate||0);var t=w.maxTranslate()-w.minTranslate(),n=w.isBeginning,i=w.isEnd;0===t?(w.progress=0,w.isBeginning=w.isEnd=!0):(w.progress=(e-w.minTranslate())/t,w.isBeginning=w.progress<=0,w.isEnd=w.progress>=1),w.isBeginning&&!n&&w.emit("onReachBeginning",w),w.isEnd&&!i&&w.emit("onReachEnd",w),w.params.watchSlidesProgress&&w.updateSlidesProgress(e),w.emit("onProgress",w,w.progress)},w.updateActiveIndex=function(){var e,t,n,i=w.rtl?w.translate:-w.translate;for(t=0;t=w.slidesGrid[t]&&i=w.slidesGrid[t]&&i=w.slidesGrid[t]&&(e=t);(e<0||"undefined"==typeof e)&&(e=0),n=Math.floor(e/w.params.slidesPerGroup),n>=w.snapGrid.length&&(n=w.snapGrid.length-1),e!==w.activeIndex&&(w.snapIndex=n,w.previousIndex=w.activeIndex,w.activeIndex=e,w.updateClasses())},w.updateClasses=function(){w.slides.removeClass(w.params.slideActiveClass+" "+w.params.slideNextClass+" "+w.params.slidePrevClass);var e=w.slides.eq(w.activeIndex);e.addClass(w.params.slideActiveClass);var n=e.next("."+w.params.slideClass).addClass(w.params.slideNextClass);w.params.loop&&0===n.length&&w.slides.eq(0).addClass(w.params.slideNextClass);var i=e.prev("."+w.params.slideClass).addClass(w.params.slidePrevClass);if(w.params.loop&&0===i.length&&w.slides.eq(-1).addClass(w.params.slidePrevClass),w.paginationContainer&&w.paginationContainer.length>0){var r,o=w.params.loop?Math.ceil((w.slides.length-2*w.loopedSlides)/w.params.slidesPerGroup):w.snapGrid.length;if(w.params.loop?(r=Math.ceil((w.activeIndex-w.loopedSlides)/w.params.slidesPerGroup),r>w.slides.length-1-2*w.loopedSlides&&(r-=w.slides.length-2*w.loopedSlides),r>o-1&&(r-=o),r<0&&"bullets"!==w.params.paginationType&&(r=o+r)):r="undefined"!=typeof w.snapIndex?w.snapIndex:w.activeIndex||0,"bullets"===w.params.paginationType&&w.bullets&&w.bullets.length>0&&(w.bullets.removeClass(w.params.bulletActiveClass),w.paginationContainer.length>1?w.bullets.each(function(){t(this).index()===r&&t(this).addClass(w.params.bulletActiveClass)}):w.bullets.eq(r).addClass(w.params.bulletActiveClass)),"fraction"===w.params.paginationType&&(w.paginationContainer.find("."+w.params.paginationCurrentClass).text(r+1),w.paginationContainer.find("."+w.params.paginationTotalClass).text(o)),"progress"===w.params.paginationType){var a=(r+1)/o,s=a,l=1;w.isHorizontal()||(l=a,s=1),w.paginationContainer.find("."+w.params.paginationProgressbarClass).transform("translate3d(0,0,0) scaleX("+s+") scaleY("+l+")").transition(w.params.speed)}"custom"===w.params.paginationType&&w.params.paginationCustomRender&&(w.paginationContainer.html(w.params.paginationCustomRender(w,r+1,o)),w.emit("onPaginationRendered",w,w.paginationContainer[0]))}w.params.loop||(w.params.prevButton&&w.prevButton&&w.prevButton.length>0&&(w.isBeginning?(w.prevButton.addClass(w.params.buttonDisabledClass),w.params.a11y&&w.a11y&&w.a11y.disable(w.prevButton)):(w.prevButton.removeClass(w.params.buttonDisabledClass),w.params.a11y&&w.a11y&&w.a11y.enable(w.prevButton))),w.params.nextButton&&w.nextButton&&w.nextButton.length>0&&(w.isEnd?(w.nextButton.addClass(w.params.buttonDisabledClass),w.params.a11y&&w.a11y&&w.a11y.disable(w.nextButton)):(w.nextButton.removeClass(w.params.buttonDisabledClass),w.params.a11y&&w.a11y&&w.a11y.enable(w.nextButton))))},w.updatePagination=function(){if(w.params.pagination&&w.paginationContainer&&w.paginationContainer.length>0){var e="";if("bullets"===w.params.paginationType){for(var t=w.params.loop?Math.ceil((w.slides.length-2*w.loopedSlides)/w.params.slidesPerGroup):w.snapGrid.length,n=0;n";w.paginationContainer.html(e),w.bullets=w.paginationContainer.find("."+w.params.bulletClass),w.params.paginationClickable&&w.params.a11y&&w.a11y&&w.a11y.initPagination()}"fraction"===w.params.paginationType&&(e=w.params.paginationFractionRender?w.params.paginationFractionRender(w,w.params.paginationCurrentClass,w.params.paginationTotalClass):' / ',w.paginationContainer.html(e)),"progress"===w.params.paginationType&&(e=w.params.paginationProgressRender?w.params.paginationProgressRender(w,w.params.paginationProgressbarClass):'',w.paginationContainer.html(e)),"custom"!==w.params.paginationType&&w.emit("onPaginationRendered",w,w.paginationContainer[0])}},w.update=function(e){function t(){i=Math.min(Math.max(w.translate,w.maxTranslate()),w.minTranslate()),w.setWrapperTranslate(i),w.updateActiveIndex(),w.updateClasses()}if(w.updateContainerSize(),w.updateSlidesSize(),w.updateProgress(),w.updatePagination(),w.updateClasses(),w.params.scrollbar&&w.scrollbar&&w.scrollbar.set(),e){var n,i;w.controller&&w.controller.spline&&(w.controller.spline=void 0),w.params.freeMode?(t(),w.params.autoHeight&&w.updateAutoHeight()):(n=("auto"===w.params.slidesPerView||w.params.slidesPerView>1)&&w.isEnd&&!w.params.centeredSlides?w.slideTo(w.slides.length-1,0,!1,!0):w.slideTo(w.activeIndex,0,!1,!0),n||t())}else w.params.autoHeight&&w.updateAutoHeight()},w.onResize=function(e){w.params.breakpoints&&w.setBreakpoint();var t=w.params.allowSwipeToPrev,n=w.params.allowSwipeToNext;w.params.allowSwipeToPrev=w.params.allowSwipeToNext=!0,w.updateContainerSize(),w.updateSlidesSize(),("auto"===w.params.slidesPerView||w.params.freeMode||e)&&w.updatePagination(),w.params.scrollbar&&w.scrollbar&&w.scrollbar.set(),w.controller&&w.controller.spline&&(w.controller.spline=void 0);var i=!1;if(w.params.freeMode){var r=Math.min(Math.max(w.translate,w.maxTranslate()),w.minTranslate());w.setWrapperTranslate(r),w.updateActiveIndex(),w.updateClasses(),w.params.autoHeight&&w.updateAutoHeight()}else w.updateClasses(),i=("auto"===w.params.slidesPerView||w.params.slidesPerView>1)&&w.isEnd&&!w.params.centeredSlides?w.slideTo(w.slides.length-1,0,!1,!0):w.slideTo(w.activeIndex,0,!1,!0);w.params.lazyLoading&&!i&&w.lazy&&w.lazy.load(),w.params.allowSwipeToPrev=t,w.params.allowSwipeToNext=n};var x=["mousedown","mousemove","mouseup"];window.navigator.pointerEnabled?x=["pointerdown","pointermove","pointerup"]:window.navigator.msPointerEnabled&&(x=["MSPointerDown","MSPointerMove","MSPointerUp"]),w.touchEvents={start:w.support.touch||!w.params.simulateTouch?"touchstart":x[0],move:w.support.touch||!w.params.simulateTouch?"touchmove":x[1],end:w.support.touch||!w.params.simulateTouch?"touchend":x[2]},(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&("container"===w.params.touchEventsTarget?w.container:w.wrapper).addClass("swiper-wp8-"+w.params.direction),w.initEvents=function(e){var t=e?"off":"on",n=e?"removeEventListener":"addEventListener",i="container"===w.params.touchEventsTarget?w.container[0]:w.wrapper[0],o=w.support.touch?i:document,a=!!w.params.nested;w.browser.ie?(i[n](w.touchEvents.start,w.onTouchStart,!1),o[n](w.touchEvents.move,w.onTouchMove,a),o[n](w.touchEvents.end,w.onTouchEnd,!1)):(w.support.touch&&(i[n](w.touchEvents.start,w.onTouchStart,!1),i[n](w.touchEvents.move,w.onTouchMove,a),i[n](w.touchEvents.end,w.onTouchEnd,!1)),!r.simulateTouch||w.device.ios||w.device.android||(i[n]("mousedown",w.onTouchStart,!1),document[n]("mousemove",w.onTouchMove,a),document[n]("mouseup",w.onTouchEnd,!1))),window[n]("resize",w.onResize),w.params.nextButton&&w.nextButton&&w.nextButton.length>0&&(w.nextButton[t]("click",w.onClickNext),w.params.a11y&&w.a11y&&w.nextButton[t]("keydown",w.a11y.onEnterKey)),w.params.prevButton&&w.prevButton&&w.prevButton.length>0&&(w.prevButton[t]("click",w.onClickPrev),w.params.a11y&&w.a11y&&w.prevButton[t]("keydown",w.a11y.onEnterKey)),w.params.pagination&&w.params.paginationClickable&&(w.paginationContainer[t]("click","."+w.params.bulletClass,w.onClickIndex),w.params.a11y&&w.a11y&&w.paginationContainer[t]("keydown","."+w.params.bulletClass,w.a11y.onEnterKey)),(w.params.preventClicks||w.params.preventClicksPropagation)&&i[n]("click",w.preventClicks,!0)},w.attachEvents=function(){w.initEvents()},w.detachEvents=function(){w.initEvents(!0)},w.allowClick=!0,w.preventClicks=function(e){w.allowClick||(w.params.preventClicks&&e.preventDefault(),w.params.preventClicksPropagation&&w.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))},w.onClickNext=function(e){e.preventDefault(),w.isEnd&&!w.params.loop||w.slideNext()},w.onClickPrev=function(e){e.preventDefault(),w.isBeginning&&!w.params.loop||w.slidePrev()},w.onClickIndex=function(e){e.preventDefault();var n=t(this).index()*w.params.slidesPerGroup;w.params.loop&&(n+=w.loopedSlides),w.slideTo(n)},w.updateClickedSlide=function(e){var n=s(e,"."+w.params.slideClass),i=!1;if(n)for(var r=0;rw.slides.length-w.loopedSlides+w.params.slidesPerView/2?(w.fixLoop(),a=w.wrapper.children("."+w.params.slideClass+'[data-swiper-slide-index="'+o+'"]:not(.swiper-slide-duplicate)').eq(0).index(),setTimeout(function(){w.slideTo(a)},0)):w.slideTo(a):a>w.slides.length-w.params.slidesPerView?(w.fixLoop(),a=w.wrapper.children("."+w.params.slideClass+'[data-swiper-slide-index="'+o+'"]:not(.swiper-slide-duplicate)').eq(0).index(),setTimeout(function(){w.slideTo(a)},0)):w.slideTo(a)}else w.slideTo(a)}};var T,C,E,k,S,A,O,N,D,P,j="input, select, textarea, button",$=Date.now(),L=[];w.animating=!1,w.touches={startX:0,startY:0,currentX:0,currentY:0,diff:0};var I,M;if(w.onTouchStart=function(e){if(e.originalEvent&&(e=e.originalEvent),I="touchstart"===e.type,I||!("which"in e)||3!==e.which){if(w.params.noSwiping&&s(e,"."+w.params.noSwipingClass))return void(w.allowClick=!0);if(!w.params.swipeHandler||s(e,w.params.swipeHandler)){var n=w.touches.currentX="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i=w.touches.currentY="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY;if(!(w.device.ios&&w.params.iOSEdgeSwipeDetection&&n<=w.params.iOSEdgeSwipeThreshold)){if(T=!0,C=!1,E=!0,S=void 0,M=void 0,w.touches.startX=n,w.touches.startY=i,k=Date.now(),w.allowClick=!0,w.updateContainerSize(),w.swipeDirection=void 0,w.params.threshold>0&&(N=!1),"touchstart"!==e.type){var r=!0;t(e.target).is(j)&&(r=!1),document.activeElement&&t(document.activeElement).is(j)&&document.activeElement.blur(),r&&e.preventDefault()}w.emit("onTouchStart",w,e)}}}},w.onTouchMove=function(e){if(e.originalEvent&&(e=e.originalEvent),!I||"mousemove"!==e.type){if(e.preventedByNestedSwiper)return w.touches.startX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,void(w.touches.startY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY);if(w.params.onlyExternal)return w.allowClick=!1,void(T&&(w.touches.startX=w.touches.currentX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,w.touches.startY=w.touches.currentY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,k=Date.now()));if(I&&document.activeElement&&e.target===document.activeElement&&t(e.target).is(j))return C=!0,void(w.allowClick=!1);if(E&&w.emit("onTouchMove",w,e),!(e.targetTouches&&e.targetTouches.length>1)){if(w.touches.currentX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,w.touches.currentY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,"undefined"==typeof S){var n=180*Math.atan2(Math.abs(w.touches.currentY-w.touches.startY),Math.abs(w.touches.currentX-w.touches.startX))/Math.PI;S=w.isHorizontal()?n>w.params.touchAngle:90-n>w.params.touchAngle}if(S&&w.emit("onTouchMoveOpposite",w,e),"undefined"==typeof M&&w.browser.ieTouch&&(w.touches.currentX===w.touches.startX&&w.touches.currentY===w.touches.startY||(M=!0)),T){if(S)return void(T=!1);if(M||!w.browser.ieTouch){w.allowClick=!1,w.emit("onSliderMove",w,e),e.preventDefault(),w.params.touchMoveStopPropagation&&!w.params.nested&&e.stopPropagation(),C||(r.loop&&w.fixLoop(),O=w.getWrapperTranslate(),w.setWrapperTransition(0),w.animating&&w.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"),w.params.autoplay&&w.autoplaying&&(w.params.autoplayDisableOnInteraction?w.stopAutoplay():w.pauseAutoplay()),P=!1,w.params.grabCursor&&(w.container[0].style.cursor="move",w.container[0].style.cursor="-webkit-grabbing",w.container[0].style.cursor="-moz-grabbin",w.container[0].style.cursor="grabbing")),C=!0;var i=w.touches.diff=w.isHorizontal()?w.touches.currentX-w.touches.startX:w.touches.currentY-w.touches.startY;i*=w.params.touchRatio,w.rtl&&(i=-i),w.swipeDirection=i>0?"prev":"next",A=i+O;var o=!0;if(i>0&&A>w.minTranslate()?(o=!1,w.params.resistance&&(A=w.minTranslate()-1+Math.pow(-w.minTranslate()+O+i,w.params.resistanceRatio))):i<0&&AO&&(A=O),w.params.followFinger){if(w.params.threshold>0){if(!(Math.abs(i)>w.params.threshold||N))return void(A=O);if(!N)return N=!0,w.touches.startX=w.touches.currentX,w.touches.startY=w.touches.currentY,A=O,void(w.touches.diff=w.isHorizontal()?w.touches.currentX-w.touches.startX:w.touches.currentY-w.touches.startY)}(w.params.freeMode||w.params.watchSlidesProgress)&&w.updateActiveIndex(),w.params.freeMode&&(0===L.length&&L.push({position:w.touches[w.isHorizontal()?"startX":"startY"],time:k}),L.push({position:w.touches[w.isHorizontal()?"currentX":"currentY"],time:(new window.Date).getTime()})),w.updateProgress(A),w.setWrapperTranslate(A)}}}}}},w.onTouchEnd=function(e){if(e.originalEvent&&(e=e.originalEvent),E&&w.emit("onTouchEnd",w,e),E=!1,T){w.params.grabCursor&&C&&T&&(w.container[0].style.cursor="move",w.container[0].style.cursor="-webkit-grab",w.container[0].style.cursor="-moz-grab",w.container[0].style.cursor="grab");var n=Date.now(),i=n-k;if(w.allowClick&&(w.updateClickedSlide(e),w.emit("onTap",w,e),i<300&&n-$>300&&(D&&clearTimeout(D),D=setTimeout(function(){w&&(w.params.paginationHide&&w.paginationContainer.length>0&&!t(e.target).hasClass(w.params.bulletClass)&&w.paginationContainer.toggleClass(w.params.paginationHiddenClass),w.emit("onClick",w,e))},300)),i<300&&n-$<300&&(D&&clearTimeout(D),w.emit("onDoubleTap",w,e))),$=Date.now(),setTimeout(function(){w&&(w.allowClick=!0)},0),!T||!C||!w.swipeDirection||0===w.touches.diff||A===O)return void(T=C=!1);T=C=!1;var r;if(r=w.params.followFinger?w.rtl?w.translate:-w.translate:-A,w.params.freeMode){if(r<-w.minTranslate())return void w.slideTo(w.activeIndex);if(r>-w.maxTranslate())return void(w.slides.length1){var o=L.pop(),a=L.pop(),s=o.position-a.position,l=o.time-a.time;w.velocity=s/l,w.velocity=w.velocity/2,Math.abs(w.velocity)150||(new window.Date).getTime()-o.time>300)&&(w.velocity=0)}else w.velocity=0;L.length=0;var u=1e3*w.params.freeModeMomentumRatio,c=w.velocity*u,d=w.translate+c;w.rtl&&(d=-d);var f,p=!1,h=20*Math.abs(w.velocity)*w.params.freeModeMomentumBounceRatio;if(dw.minTranslate())w.params.freeModeMomentumBounce?(d-w.minTranslate()>h&&(d=w.minTranslate()+h),f=w.minTranslate(),p=!0,P=!0):d=w.minTranslate();else if(w.params.freeModeSticky){var m,v=0;for(v=0;v-d){m=v;break}d=Math.abs(w.snapGrid[m]-d)=w.params.longSwipesMs)&&(w.updateProgress(),w.updateActiveIndex()))}var g,y=0,b=w.slidesSizesGrid[0];for(g=0;g=w.slidesGrid[g]&&r=w.slidesGrid[g]&&(y=g,b=w.slidesGrid[w.slidesGrid.length-1]-w.slidesGrid[w.slidesGrid.length-2]);var _=(r-w.slidesGrid[y])/b;if(i>w.params.longSwipesMs){if(!w.params.longSwipes)return void w.slideTo(w.activeIndex);"next"===w.swipeDirection&&(_>=w.params.longSwipesRatio?w.slideTo(y+w.params.slidesPerGroup):w.slideTo(y)),"prev"===w.swipeDirection&&(_>1-w.params.longSwipesRatio?w.slideTo(y+w.params.slidesPerGroup):w.slideTo(y))}else{if(!w.params.shortSwipes)return void w.slideTo(w.activeIndex);"next"===w.swipeDirection&&w.slideTo(y+w.params.slidesPerGroup),"prev"===w.swipeDirection&&w.slideTo(y)}}},w._slideTo=function(e,t){return w.slideTo(e,t,!0,!0)},w.slideTo=function(e,t,n,i){"undefined"==typeof n&&(n=!0),"undefined"==typeof e&&(e=0),e<0&&(e=0),w.snapIndex=Math.floor(e/w.params.slidesPerGroup),w.snapIndex>=w.snapGrid.length&&(w.snapIndex=w.snapGrid.length-1);var r=-w.snapGrid[w.snapIndex];w.params.autoplay&&w.autoplaying&&(i||!w.params.autoplayDisableOnInteraction?w.pauseAutoplay(t):w.stopAutoplay()),w.updateProgress(r);for(var o=0;o=Math.floor(100*w.slidesGrid[o])&&(e=o);return!(!w.params.allowSwipeToNext&&rw.translate&&r>w.maxTranslate()&&(w.activeIndex||0)!==e)&&("undefined"==typeof t&&(t=w.params.speed),w.previousIndex=w.activeIndex||0,w.activeIndex=e,w.rtl&&-r===w.translate||!w.rtl&&r===w.translate?(w.params.autoHeight&&w.updateAutoHeight(),w.updateClasses(),"slide"!==w.params.effect&&w.setWrapperTranslate(r),!1):(w.updateClasses(),w.onTransitionStart(n),0===t?(w.setWrapperTranslate(r),w.setWrapperTransition(0),w.onTransitionEnd(n)):(w.setWrapperTranslate(r),w.setWrapperTransition(t),w.animating||(w.animating=!0,w.wrapper.transitionEnd(function(){w&&w.onTransitionEnd(n)}))),!0)))},w.onTransitionStart=function(e){"undefined"==typeof e&&(e=!0),w.params.autoHeight&&w.updateAutoHeight(),w.lazy&&w.lazy.onTransitionStart(),e&&(w.emit("onTransitionStart",w),w.activeIndex!==w.previousIndex&&(w.emit("onSlideChangeStart",w),w.activeIndex>w.previousIndex?w.emit("onSlideNextStart",w):w.emit("onSlidePrevStart",w)))},w.onTransitionEnd=function(e){w.animating=!1,w.setWrapperTransition(0),"undefined"==typeof e&&(e=!0),w.lazy&&w.lazy.onTransitionEnd(),e&&(w.emit("onTransitionEnd",w),w.activeIndex!==w.previousIndex&&(w.emit("onSlideChangeEnd",w),w.activeIndex>w.previousIndex?w.emit("onSlideNextEnd",w):w.emit("onSlidePrevEnd",w))),w.params.hashnav&&w.hashnav&&w.hashnav.setHash()},w.slideNext=function(e,t,n){if(w.params.loop){if(w.animating)return!1;w.fixLoop();w.container[0].clientLeft;return w.slideTo(w.activeIndex+w.params.slidesPerGroup,t,e,n)}return w.slideTo(w.activeIndex+w.params.slidesPerGroup,t,e,n)},w._slideNext=function(e){return w.slideNext(!0,e,!0)},w.slidePrev=function(e,t,n){if(w.params.loop){if(w.animating)return!1;w.fixLoop();w.container[0].clientLeft;return w.slideTo(w.activeIndex-1,t,e,n)}return w.slideTo(w.activeIndex-1,t,e,n)},w._slidePrev=function(e){return w.slidePrev(!0,e,!0)},w.slideReset=function(e,t,n){return w.slideTo(w.activeIndex,t,e)},w.setWrapperTransition=function(e,t){w.wrapper.transition(e),"slide"!==w.params.effect&&w.effects[w.params.effect]&&w.effects[w.params.effect].setTransition(e),w.params.parallax&&w.parallax&&w.parallax.setTransition(e),w.params.scrollbar&&w.scrollbar&&w.scrollbar.setTransition(e),w.params.control&&w.controller&&w.controller.setTransition(e,t),w.emit("onSetTransition",w,e)},w.setWrapperTranslate=function(e,t,n){var i=0,r=0,a=0;w.isHorizontal()?i=w.rtl?-e:e:r=e,w.params.roundLengths&&(i=o(i),r=o(r)),w.params.virtualTranslate||(w.support.transforms3d?w.wrapper.transform("translate3d("+i+"px, "+r+"px, "+a+"px)"):w.wrapper.transform("translate("+i+"px, "+r+"px)")),w.translate=w.isHorizontal()?i:r;var s,l=w.maxTranslate()-w.minTranslate();s=0===l?0:(e-w.minTranslate())/l,s!==w.progress&&w.updateProgress(e),t&&w.updateActiveIndex(),"slide"!==w.params.effect&&w.effects[w.params.effect]&&w.effects[w.params.effect].setTranslate(w.translate),w.params.parallax&&w.parallax&&w.parallax.setTranslate(w.translate),w.params.scrollbar&&w.scrollbar&&w.scrollbar.setTranslate(w.translate),w.params.control&&w.controller&&w.controller.setTranslate(w.translate,n),w.emit("onSetTranslate",w,w.translate)},w.getTranslate=function(e,t){var n,i,r,o;return"undefined"==typeof t&&(t="x"),w.params.virtualTranslate?w.rtl?-w.translate:w.translate:(r=window.getComputedStyle(e,null),window.WebKitCSSMatrix?(i=r.transform||r.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),o=new window.WebKitCSSMatrix("none"===i?"":i)):(o=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),"x"===t&&(i=window.WebKitCSSMatrix?o.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(i=window.WebKitCSSMatrix?o.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),w.rtl&&i&&(i=-i),i||0)},w.getWrapperTranslate=function(e){return"undefined"==typeof e&&(e=w.isHorizontal()?"x":"y"),w.getTranslate(w.wrapper[0],e)},w.observers=[],w.initObservers=function(){if(w.params.observeParents)for(var e=w.container.parents(),t=0;te.length&&(w.loopedSlides=e.length);var n,i=[],r=[];for(e.each(function(n,o){var a=t(this);n=e.length-w.loopedSlides&&i.push(o),a.attr("data-swiper-slide-index",n)}),n=0;n=0;n--)w.wrapper.prepend(t(i[n].cloneNode(!0)).addClass(w.params.slideDuplicateClass))},w.destroyLoop=function(){w.wrapper.children("."+w.params.slideClass+"."+w.params.slideDuplicateClass).remove(),w.slides.removeAttr("data-swiper-slide-index")},w.reLoop=function(e){var t=w.activeIndex-w.loopedSlides;w.destroyLoop(),w.createLoop(),w.updateSlidesSize(),e&&w.slideTo(t+w.loopedSlides,0,!1)},w.fixLoop=function(){var e;w.activeIndex=2*w.loopedSlides||w.activeIndex>w.slides.length-2*w.params.slidesPerView)&&(e=-w.slides.length+w.activeIndex+w.loopedSlides,e+=w.loopedSlides,w.slideTo(e,0,!1,!0))},w.appendSlide=function(e){if(w.params.loop&&w.destroyLoop(),"object"==typeof e&&e.length)for(var t=0;t

'),n.append(c)),0===d.length&&(d=t('
'),n.append(d)),c.length&&(c[0].style.opacity=Math.max(-i,0)),d.length&&(d[0].style.opacity=Math.max(i,0))}n.transform("translate3d("+l+"px, "+u+"px, 0px) rotateX("+s+"deg) rotateY("+a+"deg)")}},setTransition:function(e){if(w.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),w.params.virtualTranslate&&0!==e){var n=!1;w.slides.eq(w.activeIndex).transitionEnd(function(){if(!n&&w&&t(this).hasClass(w.params.slideActiveClass)){n=!0,w.animating=!1;for(var e=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],i=0;i
'),w.wrapper.append(e)),e.css({height:w.width+"px"})):(e=w.container.find(".swiper-cube-shadow"),0===e.length&&(e=t('
'),w.container.append(e))));for(var i=0;i-1&&(n=90*i+90*s,w.rtl&&(n=90*-i-90*s)),r.transform(d),w.params.cube.slideShadows){var f=w.isHorizontal()?r.find(".swiper-slide-shadow-left"):r.find(".swiper-slide-shadow-top"),p=w.isHorizontal()?r.find(".swiper-slide-shadow-right"):r.find(".swiper-slide-shadow-bottom");0===f.length&&(f=t('
'),r.append(f)),0===p.length&&(p=t('
'),r.append(p)),f.length&&(f[0].style.opacity=Math.max(-s,0)),p.length&&(p[0].style.opacity=Math.max(s,0))}}if(w.wrapper.css({"-webkit-transform-origin":"50% 50% -"+w.size/2+"px","-moz-transform-origin":"50% 50% -"+w.size/2+"px","-ms-transform-origin":"50% 50% -"+w.size/2+"px","transform-origin":"50% 50% -"+w.size/2+"px"}),w.params.cube.shadow)if(w.isHorizontal())e.transform("translate3d(0px, "+(w.width/2+w.params.cube.shadowOffset)+"px, "+-w.width/2+"px) rotateX(90deg) rotateZ(0deg) scale("+w.params.cube.shadowScale+")");else{var h=Math.abs(n)-90*Math.floor(Math.abs(n)/90),m=1.5-(Math.sin(2*h*Math.PI/360)/2+Math.cos(2*h*Math.PI/360)/2),v=w.params.cube.shadowScale,g=w.params.cube.shadowScale/m,y=w.params.cube.shadowOffset;e.transform("scale3d("+v+", 1, "+g+") translate3d(0px, "+(w.height/2+y)+"px, "+-w.height/2/g+"px) rotateX(-90deg)")}var b=w.isSafari||w.isUiWebView?-w.size/2:0;w.wrapper.transform("translate3d(0px,0,"+b+"px) rotateX("+(w.isHorizontal()?0:n)+"deg) rotateY("+(w.isHorizontal()?-n:0)+"deg)")},setTransition:function(e){w.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),w.params.cube.shadow&&!w.isHorizontal()&&w.container.find(".swiper-cube-shadow").transition(e)}},coverflow:{setTranslate:function(){for(var e=w.translate,n=w.isHorizontal()?-e+w.width/2:-e+w.height/2,i=w.isHorizontal()?w.params.coverflow.rotate:-w.params.coverflow.rotate,r=w.params.coverflow.depth,o=0,a=w.slides.length;o
'),s.append(g)),0===y.length&&(y=t('
'),s.append(y)),g.length&&(g[0].style.opacity=c>0?c:0),y.length&&(y[0].style.opacity=-c>0?-c:0)}}if(w.browser.ie){var b=w.wrapper[0].style;b.perspectiveOrigin=n+"px 50%"}},setTransition:function(e){w.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}}},w.lazy={initialImageLoaded:!1,loadImageInSlide:function(e,n){if("undefined"!=typeof e&&("undefined"==typeof n&&(n=!0),0!==w.slides.length)){var i=w.slides.eq(e),r=i.find(".swiper-lazy:not(.swiper-lazy-loaded):not(.swiper-lazy-loading)");!i.hasClass("swiper-lazy")||i.hasClass("swiper-lazy-loaded")||i.hasClass("swiper-lazy-loading")||(r=r.add(i[0])),0!==r.length&&r.each(function(){var e=t(this);e.addClass("swiper-lazy-loading");var r=e.attr("data-background"),o=e.attr("data-src"),a=e.attr("data-srcset");w.loadImage(e[0],o||r,a,!1,function(){if(r?(e.css("background-image",'url("'+r+'")'),e.removeAttr("data-background")):(a&&(e.attr("srcset",a),e.removeAttr("data-srcset")),o&&(e.attr("src",o),e.removeAttr("data-src"))),e.addClass("swiper-lazy-loaded").removeClass("swiper-lazy-loading"),i.find(".swiper-lazy-preloader, .preloader").remove(),w.params.loop&&n){var t=i.attr("data-swiper-slide-index");if(i.hasClass(w.params.slideDuplicateClass)){var s=w.wrapper.children('[data-swiper-slide-index="'+t+'"]:not(.'+w.params.slideDuplicateClass+")");w.lazy.loadImageInSlide(s.index(),!1)}else{var l=w.wrapper.children("."+w.params.slideDuplicateClass+'[data-swiper-slide-index="'+t+'"]');w.lazy.loadImageInSlide(l.index(),!1)}}w.emit("onLazyImageReady",w,i[0],e[0])}),w.emit("onLazyImageLoad",w,i[0],e[0])})}},load:function(){var e;if(w.params.watchSlidesVisibility)w.wrapper.children("."+w.params.slideVisibleClass).each(function(){w.lazy.loadImageInSlide(t(this).index())});else if(w.params.slidesPerView>1)for(e=w.activeIndex;e1||w.params.lazyLoadingInPrevNextAmount&&w.params.lazyLoadingInPrevNextAmount>1){var n=w.params.lazyLoadingInPrevNextAmount,i=w.params.slidesPerView,r=Math.min(w.activeIndex+i+Math.max(n,i),w.slides.length),o=Math.max(w.activeIndex-Math.max(i,n),0);for(e=w.activeIndex+w.params.slidesPerView;e0&&w.lazy.loadImageInSlide(a.index());var s=w.wrapper.children("."+w.params.slidePrevClass);s.length>0&&w.lazy.loadImageInSlide(s.index())}},onTransitionStart:function(){w.params.lazyLoading&&(w.params.lazyLoadingOnTransitionStart||!w.params.lazyLoadingOnTransitionStart&&!w.lazy.initialImageLoaded)&&w.lazy.load()},onTransitionEnd:function(){w.params.lazyLoading&&!w.params.lazyLoadingOnTransitionStart&&w.lazy.load()}},w.scrollbar={isTouched:!1,setDragPosition:function(e){var t=w.scrollbar,n=w.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY,i=n-t.track.offset()[w.isHorizontal()?"left":"top"]-t.dragSize/2,r=-w.minTranslate()*t.moveDivider,o=-w.maxTranslate()*t.moveDivider;io&&(i=o),i=-i/t.moveDivider,w.updateProgress(i),w.setWrapperTranslate(i,!0)},dragStart:function(e){var t=w.scrollbar;t.isTouched=!0,e.preventDefault(),e.stopPropagation(),t.setDragPosition(e),clearTimeout(t.dragTimeout),t.track.transition(0),w.params.scrollbarHide&&t.track.css("opacity",1),w.wrapper.transition(100),t.drag.transition(100),w.emit("onScrollbarDragStart",w)},dragMove:function(e){var t=w.scrollbar;t.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),w.wrapper.transition(0),t.track.transition(0),t.drag.transition(0),w.emit("onScrollbarDragMove",w))},dragEnd:function(e){var t=w.scrollbar;t.isTouched&&(t.isTouched=!1,w.params.scrollbarHide&&(clearTimeout(t.dragTimeout),t.dragTimeout=setTimeout(function(){t.track.css("opacity",0),t.track.transition(400)},1e3)),w.emit("onScrollbarDragEnd",w),w.params.scrollbarSnapOnRelease&&w.slideReset())},enableDraggable:function(){var e=w.scrollbar,n=w.support.touch?e.track:document;t(e.track).on(w.touchEvents.start,e.dragStart),t(n).on(w.touchEvents.move,e.dragMove),t(n).on(w.touchEvents.end,e.dragEnd)},disableDraggable:function(){var e=w.scrollbar,n=w.support.touch?e.track:document;t(e.track).off(w.touchEvents.start,e.dragStart),t(n).off(w.touchEvents.move,e.dragMove),t(n).off(w.touchEvents.end,e.dragEnd)},set:function(){if(w.params.scrollbar){var e=w.scrollbar;e.track=t(w.params.scrollbar),w.params.uniqueNavElements&&"string"==typeof w.params.scrollbar&&e.track.length>1&&1===w.container.find(w.params.scrollbar).length&&(e.track=w.container.find(w.params.scrollbar)),e.drag=e.track.find(".swiper-scrollbar-drag"),0===e.drag.length&&(e.drag=t('
'),e.track.append(e.drag)),e.drag[0].style.width="",e.drag[0].style.height="",e.trackSize=w.isHorizontal()?e.track[0].offsetWidth:e.track[0].offsetHeight,e.divider=w.size/w.virtualSize,e.moveDivider=e.divider*(e.trackSize/w.size),e.dragSize=e.trackSize*e.divider,w.isHorizontal()?e.drag[0].style.width=e.dragSize+"px":e.drag[0].style.height=e.dragSize+"px",e.divider>=1?e.track[0].style.display="none":e.track[0].style.display="",w.params.scrollbarHide&&(e.track[0].style.opacity=0)}},setTranslate:function(){if(w.params.scrollbar){var e,t=w.scrollbar,n=(w.translate||0,t.dragSize);e=(t.trackSize-t.dragSize)*w.progress,w.rtl&&w.isHorizontal()?(e=-e,e>0?(n=t.dragSize-e,e=0):-e+t.dragSize>t.trackSize&&(n=t.trackSize+e)):e<0?(n=t.dragSize+e,e=0):e+t.dragSize>t.trackSize&&(n=t.trackSize-e),w.isHorizontal()?(w.support.transforms3d?t.drag.transform("translate3d("+e+"px, 0, 0)"):t.drag.transform("translateX("+e+"px)"),t.drag[0].style.width=n+"px"):(w.support.transforms3d?t.drag.transform("translate3d(0px, "+e+"px, 0)"):t.drag.transform("translateY("+e+"px)"),t.drag[0].style.height=n+"px"),w.params.scrollbarHide&&(clearTimeout(t.timeout),t.track[0].style.opacity=1,t.timeout=setTimeout(function(){t.track[0].style.opacity=0,t.track.transition(400)},1e3))}},setTransition:function(e){w.params.scrollbar&&w.scrollbar.drag.transition(e)}},w.controller={LinearSpline:function(e,t){this.x=e,this.y=t,this.lastIndex=e.length-1;var n,i;this.x.length;this.interpolate=function(e){return e?(i=r(this.x,e),n=i-1,(e-this.x[n])*(this.y[i]-this.y[n])/(this.x[i]-this.x[n])+this.y[n]):0};var r=function(){var e,t,n;return function(i,r){for(t=-1,e=i.length;e-t>1;)i[n=e+t>>1]<=r?t=n:e=n;return e}}()},getInterpolateFunction:function(e){w.controller.spline||(w.controller.spline=w.params.loop?new w.controller.LinearSpline(w.slidesGrid,e.slidesGrid):new w.controller.LinearSpline(w.snapGrid,e.snapGrid))},setTranslate:function(e,t){function i(t){e=t.rtl&&"horizontal"===t.params.direction?-w.translate:w.translate,"slide"===w.params.controlBy&&(w.controller.getInterpolateFunction(t),o=-w.controller.spline.interpolate(-e)),o&&"container"!==w.params.controlBy||(r=(t.maxTranslate()-t.minTranslate())/(w.maxTranslate()-w.minTranslate()),o=(e-w.minTranslate())*r+t.minTranslate()),w.params.controlInverse&&(o=t.maxTranslate()-o),t.updateProgress(o),t.setWrapperTranslate(o,!1,w),t.updateActiveIndex()}var r,o,a=w.params.control;if(w.isArray(a))for(var s=0;s'),notify:function(e){var t=w.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},init:function(){w.params.nextButton&&w.nextButton&&w.nextButton.length>0&&(w.a11y.makeFocusable(w.nextButton),w.a11y.addRole(w.nextButton,"button"),w.a11y.addLabel(w.nextButton,w.params.nextSlideMessage)),w.params.prevButton&&w.prevButton&&w.prevButton.length>0&&(w.a11y.makeFocusable(w.prevButton),w.a11y.addRole(w.prevButton,"button"),w.a11y.addLabel(w.prevButton,w.params.prevSlideMessage)),t(w.container).append(w.a11y.liveRegion)},initPagination:function(){w.params.pagination&&w.params.paginationClickable&&w.bullets&&w.bullets.length&&w.bullets.each(function(){var e=t(this);w.a11y.makeFocusable(e),w.a11y.addRole(e,"button"),w.a11y.addLabel(e,w.params.paginationBulletMessage.replace(/{{index}}/,e.index()+1))})},destroy:function(){w.a11y.liveRegion&&w.a11y.liveRegion.length>0&&w.a11y.liveRegion.remove()}},w.init=function(){w.params.loop&&w.createLoop(),w.updateContainerSize(),w.updateSlidesSize(),w.updatePagination(),w.params.scrollbar&&w.scrollbar&&(w.scrollbar.set(),w.params.scrollbarDraggable&&w.scrollbar.enableDraggable()),"slide"!==w.params.effect&&w.effects[w.params.effect]&&(w.params.loop||w.updateProgress(),w.effects[w.params.effect].setTranslate()),w.params.loop?w.slideTo(w.params.initialSlide+w.loopedSlides,0,w.params.runCallbacksOnInit):(w.slideTo(w.params.initialSlide,0,w.params.runCallbacksOnInit),0===w.params.initialSlide&&(w.parallax&&w.params.parallax&&w.parallax.setTranslate(),w.lazy&&w.params.lazyLoading&&(w.lazy.load(),w.lazy.initialImageLoaded=!0))),w.attachEvents(),w.params.observer&&w.support.observer&&w.initObservers(),w.params.preloadImages&&!w.params.lazyLoading&&w.preloadImages(),w.params.autoplay&&w.startAutoplay(),w.params.keyboardControl&&w.enableKeyboardControl&&w.enableKeyboardControl(),w.params.mousewheelControl&&w.enableMousewheelControl&&w.enableMousewheelControl(),w.params.hashnav&&w.hashnav&&w.hashnav.init(),w.params.a11y&&w.a11y&&w.a11y.init(),w.emit("onInit",w)},w.cleanupStyles=function(){w.container.removeClass(w.classNames.join(" ")).removeAttr("style"),w.wrapper.removeAttr("style"),w.slides&&w.slides.length&&w.slides.removeClass([w.params.slideVisibleClass,w.params.slideActiveClass,w.params.slideNextClass,w.params.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-column").removeAttr("data-swiper-row"),w.paginationContainer&&w.paginationContainer.length&&w.paginationContainer.removeClass(w.params.paginationHiddenClass),w.bullets&&w.bullets.length&&w.bullets.removeClass(w.params.bulletActiveClass),w.params.prevButton&&t(w.params.prevButton).removeClass(w.params.buttonDisabledClass),w.params.nextButton&&t(w.params.nextButton).removeClass(w.params.buttonDisabledClass),w.params.scrollbar&&w.scrollbar&&(w.scrollbar.track&&w.scrollbar.track.length&&w.scrollbar.track.removeAttr("style"),w.scrollbar.drag&&w.scrollbar.drag.length&&w.scrollbar.drag.removeAttr("style"))},w.destroy=function(e,t){w.detachEvents(),w.stopAutoplay(),w.params.scrollbar&&w.scrollbar&&w.params.scrollbarDraggable&&w.scrollbar.disableDraggable(),w.params.loop&&w.destroyLoop(),t&&w.cleanupStyles(),w.disconnectObservers(),w.params.keyboardControl&&w.disableKeyboardControl&&w.disableKeyboardControl(),w.params.mousewheelControl&&w.disableMousewheelControl&&w.disableMousewheelControl(),w.params.a11y&&w.a11y&&w.a11y.destroy(),w.emit("onDestroy"),e!==!1&&(w=null)},w.init(),w}};n.prototype={isSafari:function(){var e=navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},browser:{ie:window.navigator.pointerEnabled||window.navigator.msPointerEnabled,ieTouch:window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints>1||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints>1},device:function(){var e=navigator.userAgent,t=e.match(/(Android);?[\s\/]+([\d.]+)?/),n=e.match(/(iPad).*OS\s([\d_]+)/),i=e.match(/(iPod)(.*OS\s([\d_]+))?/),r=!n&&e.match(/(iPhone\sOS)\s([\d_]+)/);return{ios:n||r||i,android:t}}(),support:{touch:window.Modernizr&&Modernizr.touch===!0||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&Modernizr.csstransforms3d===!0||function(){var e=document.createElement("div").style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=document.createElement("div").style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),n=0;n=0&&s.indexOf(">")>=0){var l="div";for(0===s.indexOf(":~]/)?(n||document).querySelectorAll(t):[document.getElementById(t.split("#")[1])],r=0;r0&&t[0].nodeType)for(r=0;r0?parseFloat(this.css("width")):null},outerWidth:function(e){return this.length>0?e?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null},height:function(){return this[0]===window?window.innerHeight:this.length>0?parseFloat(this.css("height")):null},outerHeight:function(e){return this.length>0?e?this[0].offsetHeight+parseFloat(this.css("margin-top"))+parseFloat(this.css("margin-bottom")):this[0].offsetHeight:null},offset:function(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),n=document.body,i=e.clientTop||n.clientTop||0,r=e.clientLeft||n.clientLeft||0,o=window.pageYOffset||e.scrollTop,a=window.pageXOffset||e.scrollLeft;return{top:t.top+o-i,left:t.left+a-r}}return null},css:function(e,t){var n;if(1===arguments.length){if("string"!=typeof e){for(n=0;ni-1?new e([]):t<0?(n=i+t,new e(n<0?[]:[this[n]])):new e([this[t]])},append:function(t){var n,i;for(n=0;n=0;i--)this[n].insertBefore(r.childNodes[i],this[n].childNodes[0])}else if(t instanceof e)for(i=0;i1)for(var r=0;r1)for(var r=0;r0?n?this[0].nextElementSibling&&t(this[0].nextElementSibling).is(n)?[this[0].nextElementSibling]:[]:this[0].nextElementSibling?[this[0].nextElementSibling]:[]:[])},nextAll:function(n){var i=[],r=this[0];if(!r)return new e([]);for(;r.nextElementSibling;){var o=r.nextElementSibling;n?t(o).is(n)&&i.push(o):i.push(o),r=o}return new e(i)},prev:function(n){return new e(this.length>0?n?this[0].previousElementSibling&&t(this[0].previousElementSibling).is(n)?[this[0].previousElementSibling]:[]:this[0].previousElementSibling?[this[0].previousElementSibling]:[]:[])},prevAll:function(n){var i=[],r=this[0];if(!r)return new e([]);for(;r.previousElementSibling;){var o=r.previousElementSibling;n?t(o).is(n)&&i.push(o):i.push(o),r=o}return new e(i)},parent:function(e){for(var n=[],i=0;i=200&&e.status<300,e})}},{"../../promise":95,"../../util":102,"./xhr":83}],81:[function(e,t,n){var i=e("../../util"),r=e("../../promise");t.exports=function(e){return new r(function(t){var n,r,o="_jsonp"+Math.random().toString(36).substr(2),a={request:e,data:null};e.params[e.jsonp]=o,e.cancel=function(){n({type:"cancel"})},r=document.createElement("script"),r.src=i.url(e),r.type="text/javascript",r.async=!0,window[o]=function(e){a.data=e},n=function(e){"load"===e.type&&null!==a.data?a.status=200:"error"===e.type?a.status=404:a.status=0,t(a),delete window[o],document.body.removeChild(r)},r.onload=n,r.onerror=n,document.body.appendChild(r)})}},{"../../promise":95,"../../util":102}],82:[function(e,t,n){var i=e("../../util"),r=e("../../promise");t.exports=function(e){return new r(function(t){var n,r=new XDomainRequest,o={request:e};e.cancel=function(){r.abort()},r.open(e.method,i.url(e),!0),n=function(e){o.data=r.responseText,o.status=r.status,o.statusText=r.statusText,t(o)},r.timeout=0,r.onload=n,r.onabort=n,r.onerror=n,r.ontimeout=function(){},r.onprogress=function(){},r.send(e.data)})}},{"../../promise":95,"../../util":102}],83:[function(e,t,n){var i=e("../../util"),r=e("../../promise");t.exports=function(e){return new r(function(t){var n,r=new XMLHttpRequest,o={request:e};e.cancel=function(){r.abort()},r.open(e.method,i.url(e),!0),n=function(e){o.data=r.responseText,o.status=r.status,o.statusText=r.statusText,o.headers=r.getAllResponseHeaders(),t(o)},r.timeout=0,r.onload=n,r.onabort=n,r.onerror=n,r.ontimeout=function(){},r.onprogress=function(){},i.isPlainObject(e.xhr)&&i.extend(r,e.xhr),i.isPlainObject(e.upload)&&i.extend(r.upload,e.upload),i.each(e.headers||{},function(e,t){r.setRequestHeader(t,e)}),r.send(e.data)})}},{"../../promise":95,"../../util":102}],84:[function(e,t,n){function i(e){var t=r.url.parse(r.url(e));return t.protocol!==s.protocol||t.host!==s.host}var r=e("../util"),o=e("./client/xdr"),a="withCredentials"in new XMLHttpRequest,s=r.url.parse(location.href);t.exports={request:function(e){return null===e.crossOrigin&&(e.crossOrigin=i(e)),e.crossOrigin&&(a||(e.client=o),e.emulateHTTP=!1),e}}},{"../util":102,"./client/xdr":82}],85:[function(e,t,n){var i=e("../util");t.exports={request:function(e){return e.method=e.method.toUpperCase(),e.headers=i.extend({},i.http.headers.common,e.crossOrigin?{}:i.http.headers.custom,i.http.headers[e.method.toLowerCase()],e.headers),i.isPlainObject(e.data)&&/^(GET|JSONP)$/i.test(e.method)&&(i.extend(e.params,e.data),delete e.data),e}}},{"../util":102}],86:[function(e,t,n){function i(e,t){var n,l,u=o;return i.interceptors.forEach(function(e){u=s(e,this.$vm)(u)},this),t=r.isObject(e)?e:r.extend({url:e},t),n=r.merge({},i.options,this.$options,t),l=u(n).bind(this.$vm).then(function(e){return e.ok?e:a.reject(e)},function(e){return e instanceof Error&&r.error(e),a.reject(e)}),n.success&&l.success(n.success),n.error&&l.error(n.error),l}var r=e("../util"),o=e("./client"),a=e("../promise"),s=e("./interceptor"),l={"Content-Type":"application/json"};i.options={method:"get",data:"",params:{},headers:{},xhr:null,upload:null,jsonp:"callback",beforeSend:null,crossOrigin:null,emulateHTTP:!1,emulateJSON:!1,timeout:0},i.interceptors=[e("./before"),e("./timeout"),e("./jsonp"),e("./method"),e("./mime"),e("./header"),e("./cors")],i.headers={put:l,post:l,patch:l,delete:l,common:{Accept:"application/json, text/plain, */*"},custom:{"X-Requested-With":"XMLHttpRequest"}},["get","put","post","patch","delete","jsonp"].forEach(function(e){i[e]=function(t,n,i,o){return r.isFunction(n)&&(o=i,i=n,n=void 0),r.isObject(i)&&(o=i,i=void 0),this(t,r.extend({method:e,data:n,success:i},o))}}),t.exports=r.http=i},{"../promise":95,"../util":102,"./before":79,"./client":80,"./cors":84,"./header":85,"./interceptor":87,"./jsonp":88,"./method":89,"./mime":90,"./timeout":91}],87:[function(e,t,n){function i(e,t,n){var i=o.resolve(e);return arguments.length<2?i:i.then(t,n)}var r=e("../util"),o=e("../promise");t.exports=function(e,t){return function(n){return r.isFunction(e)&&(e=e.call(t,o)),function(o){return r.isFunction(e.request)&&(o=e.request.call(t,o)),i(o,function(o){return i(n(o),function(n){return r.isFunction(e.response)&&(n=e.response.call(t,n)),n})})}}}},{"../promise":95,"../util":102}],88:[function(e,t,n){var i=e("./client/jsonp");t.exports={request:function(e){return"JSONP"==e.method&&(e.client=i),e}}},{"./client/jsonp":81}],89:[function(e,t,n){t.exports={request:function(e){return e.emulateHTTP&&/^(PUT|PATCH|DELETE)$/i.test(e.method)&&(e.headers["X-HTTP-Method-Override"]=e.method,e.method="POST"),e}}},{}],90:[function(e,t,n){var i=e("../util");t.exports={request:function(e){return e.emulateJSON&&i.isPlainObject(e.data)&&(e.headers["Content-Type"]="application/x-www-form-urlencoded",e.data=i.url.params(e.data)),i.isObject(e.data)&&/FormData/i.test(e.data.toString())&&delete e.headers["Content-Type"],i.isPlainObject(e.data)&&(e.data=JSON.stringify(e.data)),e},response:function(e){try{e.data=JSON.parse(e.data)}catch(e){}return e}}},{"../util":102}],91:[function(e,t,n){t.exports=function(){var e;return{request:function(t){return t.timeout&&(e=setTimeout(function(){t.cancel()},t.timeout)),t},response:function(t){return clearTimeout(e),t}}}},{}],92:[function(e,t,n){function i(t){var n=e("./util");n.config=t.config,n.warning=t.util.warn,n.nextTick=t.util.nextTick,t.url=e("./url"),t.http=e("./http"),t.resource=e("./resource"),t.Promise=e("./promise"),Object.defineProperties(t.prototype,{$url:{get:function(){return n.options(t.url,this,this.$options.url)}},$http:{get:function(){return n.options(t.http,this,this.$options.http)}},$resource:{get:function(){return t.resource.bind(this)}},$promise:{get:function(){return function(e){return new t.Promise(e,this)}.bind(this)}}})}window.Vue&&Vue.use(i),t.exports=i},{"./http":86,"./promise":95,"./resource":96,"./url":97,"./util":102}],93:[function(e,t,n){function i(e){this.state=s,this.value=void 0,this.deferred=[];var t=this;try{e(function(e){t.resolve(e)},function(e){t.reject(e)})}catch(e){t.reject(e)}}var r=e("../util"),o=0,a=1,s=2;i.reject=function(e){return new i(function(t,n){n(e)})},i.resolve=function(e){return new i(function(t,n){t(e)})},i.all=function(e){return new i(function(t,n){function r(n){return function(i){a[n]=i,o+=1,o===e.length&&t(a)}}var o=0,a=[];0===e.length&&t(a);for(var s=0;s1?e.apply(t,arguments):e.call(t,n):e.call(t)}}function g(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function y(e,t){for(var n=Object.keys(t),i=n.length;i--;)e[n[i]]=t[n[i]];return e}function b(e){return null!==e&&"object"==typeof e}function w(e){return In.call(e)===Mn}function _(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}function x(e,t){var n,i,r,o,a,s=function s(){var l=Date.now()-o;l=0?n=setTimeout(s,t-l):(n=null,a=e.apply(r,i),n||(r=i=null))};return function(){return r=this,i=arguments,o=Date.now(),n||(n=setTimeout(s,t)),a}}function T(e,t){for(var n=e.length;n--;)if(e[n]===t)return n;return-1}function C(e){var t=function t(){if(!t.cancelled)return e.apply(this,arguments)};return t.cancel=function(){t.cancelled=!0},t}function E(e,t){return e==t||!(!b(e)||!b(t))&&JSON.stringify(e)===JSON.stringify(t)}function k(e){this.size=0,this.limit=e,this.head=this.tail=void 0,this._keymap=Object.create(null)}function S(){var e,t=Zn.slice(oi,ii).trim();if(t){e={};var n=t.match(fi);e.name=n[0],n.length>1&&(e.args=n.slice(1).map(A))}e&&(ei.filters=ei.filters||[]).push(e),oi=ii+1}function A(e){if(pi.test(e))return{value:u(e),dynamic:!1};var t=d(e),n=t===e;return{value:n?e:t,dynamic:n}}function O(e){var t=di.get(e);if(t)return t;for(Zn=e,ai=si=!1,li=ui=ci=0,oi=0,ei={},ii=0,ri=Zn.length;iiu&&l.push({value:e.slice(u,i)}),r=yi.test(n[0]),o=r?n[1]:n[2],a=o.charCodeAt(0),s=42===a,o=s?o.slice(1):o,l.push({tag:!0,value:o.trim(),html:r,oneTime:s}),u=i+n[0].length;return u1?e.map(function(e){return $(e,t)}).join("+"):$(e[0],t,!0)}function $(e,t,n){return e.tag?e.oneTime&&t?'"'+t.$eval(e.value)+'"':L(e.value,n):'"'+e.value+'"'}function L(e,t){if(bi.test(e)){var n=O(e);return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+e+")"}return t?e:"("+e+")"}function I(e,t,n,i){z(e,1,function(){t.appendChild(e)},n,i)}function M(e,t,n,i){z(e,1,function(){q(e,t)},n,i)}function R(e,t,n){z(e,-1,function(){X(e)},t,n)}function z(e,t,n,i,r){var o=e.__v_trans;if(!o||!o.hooks&&!Yn||!i._isCompiled||i.$parent&&!i.$parent._isCompiled)return n(),void(r&&r());var a=t>0?"enter":"leave";o[a](n,r)}function B(t){if("string"==typeof t){var n=t;t=document.querySelector(t),t||"production"!==e.env.NODE_ENV&&Ci("Cannot find element: "+n)}return t}function F(e){var t=document.documentElement,n=e&&e.parentNode;return t===e||t===n||!(!n||1!==n.nodeType||!t.contains(n))}function H(e,t){var n=e.getAttribute(t);return null!==n&&e.removeAttribute(t),n}function W(e,t){var n=H(e,":"+t);return null===n&&(n=H(e,"v-bind:"+t)),n}function V(e,t){return e.hasAttribute(t)||e.hasAttribute(":"+t)||e.hasAttribute("v-bind:"+t)}function q(e,t){t.parentNode.insertBefore(e,t)}function Y(e,t){t.nextSibling?q(e,t.nextSibling):t.parentNode.appendChild(e)}function X(e){e.parentNode.removeChild(e)}function U(e,t){t.firstChild?q(e,t.firstChild):t.appendChild(e)}function G(e,t){var n=e.parentNode;n&&n.replaceChild(t,e)}function K(e,t,n,i){e.addEventListener(t,n,i)}function J(e,t,n){e.removeEventListener(t,n)}function Q(e){var t=e.className;return"object"==typeof t&&(t=t.baseVal||""),t}function Z(e,t){Wn&&!/svg$/.test(e.namespaceURI)?e.className=t:e.setAttribute("class",t); }function ee(e,t){if(e.classList)e.classList.add(t);else{var n=" "+Q(e)+" ";n.indexOf(" "+t+" ")<0&&Z(e,(n+t).trim())}}function te(e,t){if(e.classList)e.classList.remove(t);else{for(var n=" "+Q(e)+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");Z(e,n.trim())}e.className||e.removeAttribute("class")}function ne(e,t){var n,i;if(oe(e)&&ce(e.content)&&(e=e.content),e.hasChildNodes())for(ie(e),i=t?document.createDocumentFragment():document.createElement("div");n=e.firstChild;)i.appendChild(n);return i}function ie(e){for(var t;t=e.firstChild,re(t);)e.removeChild(t);for(;t=e.lastChild,re(t);)e.removeChild(t)}function re(e){return e&&(3===e.nodeType&&!e.data.trim()||8===e.nodeType)}function oe(e){return e.tagName&&"template"===e.tagName.toLowerCase()}function ae(e,t){var n=Ti.debug?document.createComment(e):document.createTextNode(t?" ":"");return n.__v_anchor=!0,n}function se(e){if(e.hasAttributes())for(var t=e.attributes,n=0,i=t.length;n=l.length){for(var e=0;e - did you mean <"+a+">? HTML is case-insensitive, remember to use kebab-case in templates."):Ni(t,i)&&Ci("Unknown custom element: <"+i+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.')}}}function pe(e){var t=H(e,"is");return null!=t?{id:t}:(t=W(e,"is"),null!=t?{id:t,dynamic:!0}:void 0)}function he(e,t){var n,r,a;for(n in t)r=e[n],a=t[n],o(e,n)?b(r)&&b(a)&&he(r,a):i(e,n,a);return e}function me(e,t){var n=Object.create(e);return t?y(n,ye(t)):n}function ve(t){if(t.components){var n,i=t.components=ye(t.components),r=Object.keys(i);if("production"!==e.env.NODE_ENV)var o=t._componentNameMap={};for(var a=0,s=r.length;a=97&&t<=122||t>=65&&t<=90?"ident":t>=49&&t<=57?"number":"else"}function Ne(e){var t=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(a(t)?d(t):"*"+t)}function De(e){function t(){var t=e[c+1];if(d===Ki&&"'"===t||d===Ji&&'"'===t)return c++,i="\\"+t,p[Fi](),!0}var n,i,r,o,a,s,l,u=[],c=-1,d=qi,f=0,p=[];for(p[Hi]=function(){void 0!==r&&(u.push(r),r