PageSourceSearch

https://www-static.sif.com/static/js/chunk-swiperLess.f7d330bf.js

js sif.com collected 2026-10-01 16:30:39 UTC 273,054 bytes, 1 lines download raw bytes

vendor: 14,057 bytes, line 1
1(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{"0JBz":function(e,t,i){e.exports=function(){"use strict";var e="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,t="undefined"==typeof window?{document:e,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,i=function(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this};function n(n,s){var r=[],a=0;if(n&&!s&&n instanceof i)return n;if(n)if("string"==typeof n){var o,l,h=n.trim();if(h.indexOf("<")>=0&&h.indexOf(">")>=0){var u="div";for(0===h.indexOf("<li")&&(u="ul"),0===h.indexOf("<tr")&&(u="tbody"),0!==h.indexOf("<td")&&0!==h.indexOf("<th")||(u="tr"),0===h.indexOf("<tbody")&&(u="table"),0===h.indexOf("<option")&&(u="select"),(l=e.createElement(u)).innerHTML=h,a=0;a<l.childNodes.length;a+=1)r.push(l.childNodes[a])}else for(o=s||"#"!==n[0]||n.match(/[ .<>:~]/)?(s||e).querySelectorAll(n.trim()):[e.getElementById(n.trim().split("#")[1])],a=0;a<o.length;a+=1)o[a]&&r.push(o[a])}else if(n.nodeType||n===t||n===e)r.push(n);else if(n.length>0&&n[0].nodeType)for(a=0;a<n.length;a+=1)r.push(n[a]);return new i(r)}function s(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}n.fn=i.prototype,n.Class=i,n.Dom7=i;var r={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.add(t[i]);return this},removeClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.remove(t[i]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.toggle(t[i]);return this},attr:function(e,t){var i=arguments;if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(2===i.length)this[n].setAttribute(e,t);else for(var s in e)this[n][s]=e[s],this[n].setAttribute(s,e[s]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var i;if(void 0===t)return(i=this[0])?i.dom7ElementDataStorage&&e in i.dom7ElementDataStorage?i.dom7ElementDataStorage[e]:i.getAttribute("data-"+e)||void 0:void 0;for(var n=0;n<this.length;n+=1)(i=this[n]).dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[e]=t;return this},transform:function(e){for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransform=e,i.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransitionDuration=e,i.transitionDuration=e}return this},on:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];var s=t[0],r=t[1],a=t[2],o=t[3];function l(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),n(t).is(r))a.apply(t,i);else for(var s=n(t).parents(),o=0;o<s.length;o+=1)n(s[o]).is(r)&&a.apply(s[o],i)}}function h(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),a.apply(this,t)}"function"==typeof t[1]&&(s=(e=t)[0],a=e[1],o=e[2],r=void 0),o||(o=!1);for(var u,c=s.split(" "),d=0;d<this.length;d+=1){var p=this[d];if(r)for(u=0;u<c.length;u+=1){var f=c[u];p.dom7LiveListeners||(p.dom7LiveListeners={}),p.dom7LiveListeners[f]||(p.dom7LiveListeners[f]=[]),p.dom7LiveListeners[f].push({listener:a,proxyListener:l}),p.addEventListener(f,l,o)}else for(u=0;u<c.length;u+=1){var v=c[u];p.dom7Listeners||(p.dom7Listeners={}),p.dom7Listeners[v]||(p.dom7Listeners[v]=[]),p.dom7Listeners[v].push({listener:a,proxyListener:h}),p.addEventListener(v,h,o)}}return this},off:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];var n=t[0],s=t[1],r=t[2],a=t[3];"function"==typeof t[1]&&(n=(e=t)[0],r=e[1],a=e[2],s=void 0),a||(a=!1);for(var o=n.split(" "),l=0;l<o.length;l+=1)for(var h=o[l],u=0;u<this.length;u+=1){var c=this[u],d=void 0;if(!s&&c.dom7Listeners?d=c.dom7Listeners[h]:s&&c.dom7LiveListeners&&(d=c.dom7LiveListeners[h]),d&&d.length)for(var p=d.length-1;p>=0;p-=1){var f=d[p];r&&f.listener===r||r&&f.listener&&f.listener.dom7proxy&&f.listener.dom7proxy===r?(c.removeEventListener(h,f.proxyListener,a),d.splice(p,1)):r||(c.removeEventListener(h,f.proxyListener,a),d.splice(p,1))}}return this},trigger:function(){for(var i=[],n=arguments.length;n--;)i[n]=arguments[n];for(var s=i[0].split(" "),r=i[1],a=0;a<s.length;a+=1)for(var o=s[a],l=0;l<this.length;l+=1){var h=this[l],u=void 0;try{u=new t.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0})}catch(t){(u=e.createEvent("Event")).initEvent(o,!0,!0),u.detail=r}h.dom7EventData=i.filter((function(e,t){return t>0})),h.dispatchEvent(u),h.dom7EventData=[],delete h.dom7EventData}return this},transitionEnd:function(e){var t,i=["webkitTransitionEnd","transitionend"],n=this;function s(r){if(r.target===this)for(e.call(this,r),t=0;t<i.length;t+=1)n.off(i[t],s)}if(e)for(t=0;t<i.length;t+=1)n.on(i[t],s);return this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var i=this[0],n=i.getBoundingClientRect(),s=e.body,r=i.clientTop||s.clientTop||0,a=i.clientLeft||s.clientLeft||0,o=i===t?t.scrollY:i.scrollTop,l=i===t?t.scrollX:i.scrollLeft;return{top:n.top+o-r,left:n.left+l-a}}return null},css:function(e,i){var n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n+=1)for(var s in e)this[n].style[s]=e[s];return this}if(this[0])return t.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=i;return this}return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(s){var r,a,o=this[0];if(!o||void 0===s)return!1;if("string"==typeof s){if(o.matches)return o.matches(s);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(s);if(o.msMatchesSelector)return o.msMatchesSelector(s);for(r=n(s),a=0;a<r.length;a+=1)if(r[a]===o)return!0;return!1}if(s===e)return o===e;if(s===t)return o===t;if(s.nodeType||s instanceof i){for(r=s.nodeType?[s]:s,a=0;a<r.length;a+=1)if(r[a]===o)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,n=this.length;return new i(e>n-1?[]:e<0?(t=n+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var t,n=[],s=arguments.length;s--;)n[s]=arguments[s];for(var r=0;r<n.length;r+=1){t=n[r];for(var a=0;a<this.length;a+=1)if("string"==typeof t){var o=e.createElement("div");for(o.innerHTML=t;o.firstChild;)this[a].appendChild(o.firstChild)}else if(t instanceof i)for(var l=0;l<t.length;l+=1)this[a].appendChild(t[l]);else this[a].appendChild(t)}return this},prepend:function(t){var n,s;for(n=0;n<this.length;n+=1)if("string"==typeof t){var r=e.createElement("div");for(r.innerHTML=t,s=r.childNodes.length-1;s>=0;s-=1)this[n].insertBefore(r.childNodes[s],this[n].childNodes[0])}else if(t instanceof i)for(s=0;s<t.length;s+=1)this[n].insertBefore(t[s],this[n].childNodes[0]);else this[n].insertBefore(t,this[n].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&n(this[0].nextElementSibling).is(e)?new i([this[0].nextElementSibling]):new i([]):this[0].nextElementSibling?new i([this[0].nextElementSibling]):new i([]):new i([])},nextAll:function(e){var t=[],s=this[0];if(!s)return new i([]);for(;s.nextElementSibling;){var r=s.nextElementSibling;e?n(r).is(e)&&t.push(r):t.push(r),s=r}return new i(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&n(t.previousElementSibling).is(e)?new i([t.previousElementSibling]):new i([]):t.previousElementSibling?new i([t.previousElementSibling]):new i([])}return new i([])},prevAll:function(e){var t=[],s=this[0];if(!s)return new i([]);for(;s.previousElementSibling;){var r=s.previousElementSibling;e?n(r).is(e)&&t.push(r):t.push(r),s=r}return new i(t)},parent:function(e){for(var t=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?n(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return n(s(t))},parents:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var r=this[i].parentNode;r;)e?n(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return n(s(t))},closest:function(e){var t=this;return void 0===e?new i([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var s=this[n].querySelectorAll(e),r=0;r<s.length;r+=1)t.push(s[r]);return new i(t)},children:function(e){for(var t=[],r=0;r<this.length;r+=1)for(var a=this[r].childNodes,o=0;o<a.length;o+=1)e?1===a[o].nodeType&&n(a[o]).is(e)&&t.push(a[o]):1===a[o].nodeType&&t.push(a[o]);return new i(s(t))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e,t,i=[],s=arguments.length;s--;)i[s]=arguments[s];for(e=0;e<i.length;e+=1){var r=n(i[e]);for(t=0;t<r.length;t+=1)this[this.length]=r[t],this.length+=1}return this},styles:function(){return this[0]?t.getComputedStyle(this[0],null):{}}};Object.keys(r).forEach((function(e){n.fn[e]=n.fn[e]||r[e]}));var a={deleteProps:function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,i){var n,s,r;void 0===i&&(i="x");var a=t.getComputedStyle(e,null);return t.WebKitCSSMatrix?((s=a.transform||a.webkitTransform).split(",").length>6&&(s=s.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),r=new t.WebKitCSSMatrix("none"===s?"":s)):n=(r=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===i&&(s=t.WebKitCSSMatrix?r.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===i&&(s=t.WebKitCSSMatrix?r.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),s||0},parseUrlQuery:function(e){var i,n,s,r,a={},o=e||t.location.href;if("string"==typeof o&&o.length)for(r=(n=(o=o.indexOf("?")>-1?o.replace(/\S*\?/,""):"").split("&").filter((function(e){return""!==e}))).length,i=0;i<r;i+=1)s=n[i].replace(/#\S+/g,"").split("="),a[decodeURIComponent(s[0])]=void 0===s[1]?void 0:decodeURIComponent(s[1])||"";return a},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=Object(e[0]),n=1;n<e.length;n+=1){var s=e[n];if(null!=s)for(var r=Object.keys(Object(s)),o=0,l=r.length;o<l;o+=1){var h=r[o],u=Object.getOwnPropertyDescriptor(s,h);void 0!==u&&u.enumerable&&(a.isObject(i[h])&&a.isObject(s[h])?a.extend(i[h],s[h]):!a.isObject(i[h])&&a.isObject(s[h])?(i[h]={},a.extend(i[h],s[h])):i[h]=s[h])}}return i}},o=function(){var i=e.createElement("div");return{touch:t.Modernizr&&!0===t.Modernizr.touch||!!(t.navigator.maxTouchPoints>0||"ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),pointerEvents:!!(t.navigator.pointerEnabled||t.PointerEvent||"maxTouchPoints"in t.navigator&&t.navigator.maxTouchPoints>0),prefixedPointerEvents:!!t.navigator.msPointerEnabled,transition:function(){var e=i.style;return"transition"in e||"webkitTransition"in e||"MozTransition"in e}(),transforms3d:t.Modernizr&&!0===t.Modernizr.csstransforms3d||function(){var e=i.style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=i.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),n=0;n<t.length;n+=1)if(t[n]in e)return!0;return!1}(),observer:"MutationObserver"in t||"WebkitMutationObserver"in t,passiveListener:function(){var e=!1;try{var i=Object.defineProperty({},"passive",{get:function(){e=!0}});t.addEventListener("testPassiveListener",null,i)}catch(e){}return e}(),gestures:"ongesturestart"in t}}(),l={isIE:!!t.navigator.userAgent.match(/Trident/g)||!!t.navigator.userAgent.match(/MSIE/g),isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:function(){var e=t.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}
1(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)},h=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach((function(e){t.on(e,t.params.on[e])}))},u={components:{configurable:!0}};h.prototype.on=function(e,t,i){var n=this;if("function"!=typeof t)return n;var s=i?"unshift":"push";return e.split(" ").forEach((function(e){n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][s](t)})),n},h.prototype.once=function(e,t,i){var n=this;if("function"!=typeof t)return n;function s(){for(var i=[],r=arguments.length;r--;)i[r]=arguments[r];t.apply(n,i),n.off(e,s),s.f7proxy&&delete s.f7proxy}return s.f7proxy=t,n.on(e,s,i)},h.prototype.off=function(e,t){var i=this;return i.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].length&&i.eventsListeners[e].forEach((function(n,s){(n===t||n.f7proxy&&n.f7proxy===t)&&i.eventsListeners[e].splice(s,1)}))})),i):i},h.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,n,s,r=this;if(!r.eventsListeners)return r;"string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],n=e.slice(1,e.length),s=r):(i=e[0].events,n=e[0].data,s=e[0].context||r);var a=Array.isArray(i)?i:i.split(" ");return a.forEach((function(e){if(r.eventsListeners&&r.eventsListeners[e]){var t=[];r.eventsListeners[e].forEach((function(e){t.push(e)})),t.forEach((function(e){e.apply(s,n)}))}})),r},h.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var n=t.modules[i];n.params&&a.extend(e,n.params)}))},h.prototype.useModules=function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var n=t.modules[i],s=e[i]||{};n.instance&&Object.keys(n.instance).forEach((function(e){var i=n.instance[e];t[e]="function"==typeof i?i.bind(t):i})),n.on&&t.on&&Object.keys(n.on).forEach((function(e){t.on(e,n.on[e])})),n.create&&n.create.bind(t)(s)}))},u.components.set=function(e){this.use&&this.use(e)},h.installModule=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var n=this;n.prototype.modules||(n.prototype.modules={});var s=e.name||Object.keys(n.prototype.modules).length+"_"+a.now();return n.prototype.modules[s]=e,e.proto&&Object.keys(e.proto).forEach((function(t){n.prototype[t]=e.proto[t]})),e.static&&Object.keys(e.static).forEach((function(t){n[t]=e.static[t]})),e.install&&e.install.apply(n,t),n},h.use=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var n=this;return Array.isArray(e)?(e.forEach((function(e){return n.installModule(e)})),n):n.installModule.apply(n,[e].concat(t))},Object.defineProperties(h,u);var c={updateSize:function(){var e,t,i=this.$el;e=void 0!==this.params.width?this.params.width:i[0].clientWidth,t=void 0!==this.params.height?this.params.height:i[0].clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),a.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var e=this.params,i=this.$wrapperEl,n=this.size,s=this.rtlTranslate,r=this.wrongRTL,h=this.virtual&&e.virtual.enabled,u=h?this.virtual.slides.length:this.slides.length,c=i.children("."+this.params.slideClass),d=h?this.virtual.slides.length:c.length,p=[],f=[],v=[],m=e.slidesOffsetBefore;"function"==typeof m&&(m=e.slidesOffsetBefore.call(this));var g=e.slidesOffsetAfter;"function"==typeof g&&(g=e.slidesOffsetAfter.call(this));var y,b,w=this.snapGrid.length,x=this.snapGrid.length,S=e.spaceBetween,C=-m,E=0,T=0;if(void 0!==n){"string"==typeof S&&S.indexOf("%")>=0&&(S=parseFloat(S.replace("%",""))/100*n),this.virtualSize=-S,s?c.css({marginLeft:"",marginTop:""}):c.css({marginRight:"",marginBottom:""}),e.slidesPerColumn>1&&(y=Math.floor(d/e.slidesPerColumn)===d/this.params.slidesPerColumn?d:Math.ceil(d/e.slidesPerColumn)*e.slidesPerColumn,"auto"!==e.slidesPerView&&"row"===e.slidesPerColumnFill&&(y=Math.max(y,e.slidesPerView*e.slidesPerColumn)));for(var M,k=e.slidesPerColumn,I=y/k,P=Math.floor(d/e.slidesPerColumn),$=0;$<d;$+=1){b=0;var L=c.eq($);if(e.slidesPerColumn>1){var A=void 0,z=void 0,F=void 0;if("column"===e.slidesPerColumnFill||"row"===e.slidesPerColumnFill&&e.slidesPerGroup>1){if("column"===e.slidesPerColumnFill)F=$-(z=Math.floor($/k))*k,(z>P||z===P&&F===k-1)&&(F+=1)>=k&&(F=0,z+=1);else{var D=Math.floor($/e.slidesPerGroup);z=$-(F=Math.floor($/e.slidesPerView)-D*e.slidesPerColumn)*e.slidesPerView-D*e.slidesPerView}A=z+F*y/k,L.css({"-webkit-box-ordinal-group":A,"-moz-box-ordinal-group":A,"-ms-flex-order":A,"-webkit-order":A,order:A})}else z=$-(F=Math.floor($/I))*I;L.css("margin-"+(this.isHorizontal()?"top":"left"),0!==F&&e.spaceBetween&&e.spaceBetween+"px").attr("data-swiper-column",z).attr("data-swiper-row",F)}if("none"!==L.css("display")){if("auto"===e.slidesPerView){var R=t.getComputedStyle(L[0],null),O=L[0].style.transform,_=L[0].style.webkitTransform;if(O&&(L[0].style.transform="none"),_&&(L[0].style.webkitTransform="none"),e.roundLengths)b=this.isHorizontal()?L.outerWidth(!0):L.outerHeight(!0);
1else if(this.isHorizontal()){var V=parseFloat(R.getPropertyValue("width")),B=parseFloat(R.getPropertyValue("padding-left")),N=parseFloat(R.getPropertyValue("padding-right")),H=parseFloat(R.getPropertyValue("margin-left")),q=parseFloat(R.getPropertyValue("margin-right")),j=R.getPropertyValue("box-sizing");b=j&&"border-box"===j&&!l.isIE?V+H+q:V+B+N+H+q}else{var G=parseFloat(R.getPropertyValue("height")),X=parseFloat(R.getPropertyValue("padding-top")),Y=parseFloat(R.getPropertyValue("padding-bottom")),U=parseFloat(R.getPropertyValue("margin-top")),W=parseFloat(R.getPropertyValue("margin-bottom")),K=R.getPropertyValue("box-sizing");b=K&&"border-box"===K&&!l.isIE?G+U+W:G+X+Y+U+W}O&&(L[0].style.transform=O),_&&(L[0].style.webkitTransform=_),e.roundLengths&&(b=Math.floor(b))}else b=(n-(e.slidesPerView-1)*S)/e.slidesPerView,e.roundLengths&&(b=Math.floor(b)),c[$]&&(this.isHorizontal()?c[$].style.width=b+"px":c[$].style.height=b+"px");c[$]&&(c[$].swiperSlideSize=b),v.push(b),e.centeredSlides?(C=C+b/2+E/2+S,0===E&&0!==$&&(C=C-n/2-S),0===$&&(C=C-n/2-S),Math.abs(C)<.001&&(C=0),e.roundLengths&&(C=Math.floor(C)),T%e.slidesPerGroup==0&&p.push(C),f.push(C)):(e.roundLengths&&(C=Math.floor(C)),T%e.slidesPerGroup==0&&p.push(C),f.push(C),C=C+b+S),this.virtualSize+=b+S,E=b,T+=1}}if(this.virtualSize=Math.max(this.virtualSize,n)+g,s&&r&&("slide"===e.effect||"coverflow"===e.effect)&&i.css({width:this.virtualSize+e.spaceBetween+"px"}),o.flexbox&&!e.setWrapperSize||(this.isHorizontal()?i.css({width:this.virtualSize+e.spaceBetween+"px"}):i.css({height:this.virtualSize+e.spaceBetween+"px"})),e.slidesPerColumn>1&&(this.virtualSize=(b+e.spaceBetween)*y,this.virtualSize=Math.ceil(this.virtualSize/e.slidesPerColumn)-e.spaceBetween,this.isHorizontal()?i.css({width:this.virtualSize+e.spaceBetween+"px"}):i.css({height:this.virtualSize+e.spaceBetween+"px"}),e.centeredSlides)){M=[];for(var J=0;J<p.length;J+=1){var Z=p[J];e.roundLengths&&(Z=Math.floor(Z)),p[J]<this.virtualSize+p[0]&&M.push(Z)}p=M}if(!e.centeredSlides){M=[];for(var Q=0;Q<p.length;Q+=1){var ee=p[Q];e.roundLengths&&(ee=Math.floor(ee)),p[Q]<=this.virtualSize-n&&M.push(ee)}p=M,Math.floor(this.virtualSize-n)-Math.floor(p[p.length-1])>1&&p.push(this.virtualSize-n)}if(0===p.length&&(p=[0]),0!==e.spaceBetween&&(this.isHorizontal()?s?c.css({marginLeft:S+"px"}):c.css({marginRight:S+"px"}):c.css({marginBottom:S+"px"})),e.centerInsufficientSlides){var te=0;if(v.forEach((function(t){te+=t+(e.spaceBetween?e.spaceBetween:0)})),(te-=e.spaceBetween)<n){var ie=(n-te)/2;p.forEach((function(e,t){p[t]=e-ie})),f.forEach((function(e,t){f[t]=e+ie}))}}a.extend(this,{slides:c,snapGrid:p,slidesGrid:f,slidesSizesGrid:v}),d!==u&&this.emit("slidesLengthChange"),p.length!==w&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),f.length!==x&&this.emit("slidesGridLengthChange"),(e.watchSlidesProgress||e.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(e){var t,i=[],n=0;if("number"==typeof e?this.setTransition(e):!0===e&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&this.params.slidesPerView>1)for(t=0;t<Math.ceil(this.params.slidesPerView);t+=1){var s=this.activeIndex+t;if(s>this.slides.length)break;i.push(this.slides.eq(s)[0])}else i.push(this.slides.eq(this.activeIndex)[0]);for(t=0;t<i.length;t+=1)if(void 0!==i[t]){var r=i[t].offsetHeight;n=r>n?r:n}n&&this.$wrapperEl.css("height",n+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,i=this.slides,s=this.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();var r=-e;s&&(r=e),i.removeClass(t.slideVisibleClass),this.visibleSlidesIndexes=[],this.visibleSlides=[];for(var a=0;a<i.length;a+=1){var o=i[a],l=(r+(t.centeredSlides?this.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+t.spaceBetween);if(t.watchSlidesVisibility){var h=-(r-o.swiperSlideOffset),u=h+this.slidesSizesGrid[a];(h>=0&&h<this.size-1||u>1&&u<=this.size||h<=0&&u>=this.size)&&(this.visibleSlides.push(o),this.visibleSlidesIndexes.push(a),i.eq(a).addClass(t.slideVisibleClass))}o.progress=s?-l:l}this.visibleSlides=n(this.visibleSlides)}},updateProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,i=this.maxTranslate()-this.minTranslate(),n=this.progress,s=this.isBeg
1inning,r=this.isEnd,o=s,l=r;0===i?(n=0,s=!0,r=!0):(s=(n=(e-this.minTranslate())/i)<=0,r=n>=1),a.extend(this,{progress:n,isBeginning:s,isEnd:r}),(t.watchSlidesProgress||t.watchSlidesVisibility)&&this.updateSlidesProgress(e),s&&!o&&this.emit("reachBeginning toEdge"),r&&!l&&this.emit("reachEnd toEdge"),(o&&!s||l&&!r)&&this.emit("fromEdge"),this.emit("progress",n)},updateSlidesClasses:function(){var e,t=this.slides,i=this.params,n=this.$wrapperEl,s=this.activeIndex,r=this.realIndex,a=this.virtual&&i.virtual.enabled;t.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(e=a?this.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+s+'"]'):t.eq(s)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?n.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass):n.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass));var o=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===o.length&&(o=t.eq(0)).addClass(i.slideNextClass);var l=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);
1i.loop&&0===l.length&&(l=t.eq(-1)).addClass(i.slidePrevClass),i.loop&&(o.hasClass(i.slideDuplicateClass)?n.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):n.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),l.hasClass(i.slideDuplicateClass)?n.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):n.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,i=this.rtlTranslate?this.translate:-this.translate,n=this.slidesGrid,s=this.snapGrid,r=this.params,o=this.activeIndex,l=this.realIndex,h=this.snapIndex,u=e;if(void 0===u){for(var c=0;c<n.length;c+=1)void 0!==n[c+1]?i>=n[c]&&i<n[c+1]-(n[c+1]-n[c])/2?u=c:i>=n[c]&&i<n[c+1]&&(u=c+1):i>=n[c]&&(u=c);r.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if((t=s.indexOf(i)>=0?s.indexOf(i):Math.floor(u/r.slidesPerGroup))>=s.length&&(t=s.length-1),u!==o){var d=parseInt(this.slides.eq(u).attr("data-swiper-slide-index")||u,10);a.extend(this,{snapIndex:t,realIndex:d,previousIndex:o,activeIndex:u}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),l!==d&&this.emit("realIndexChange"),(this.initialized||this.runCallbacksOnInit)&&this.emit("slideChange")}else t!==h&&(this.snapIndex=t,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this.params,i=n(e.target).closest("."+t.slideClass)[0],s=!1;if(i)for(var r=0;r<this.slides.length;r+=1)this.slides[r]===i&&(s=!0);if(!i||!s)return this.clickedSlide=void 0,void(this.clickedIndex=void 0);this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(n(i).attr("data-swiper-slide-index"),10):this.clickedIndex=n(i).index(),t.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},d={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,i=this.rtlTranslate,n=this.translate,s=this.$wrapperEl;if(t.virtualTranslate)return i?-n:n;var r=a.getTranslate(s[0],e);return i&&(r=-r),r||0},setTranslate:function(e,t){var i=this.rtlTranslate,n=this.params,s=this.$wrapperEl,r=this.progress,a=0,l=0;this.isHorizontal()?a=i?-e:e:l=e,n.roundLengths&&(a=Math.floor(a),l=Math.floor(l)),n.virtualTranslate||(o.transforms3d?s.transform("translate3d("+a+"px, "+l+"px, 0px)"):s.transform("translate("+a+"px, "+l+"px)")),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?a:l;var h=this.maxTranslate()-this.minTranslate();(0===h?0:(e-this.minTranslate())/h)!==r&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}},p={slideTo:function(e,t,i,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var s=this,r=e;r<0&&(r=0);var a=s.params,l=s.snapGrid,h=s.slidesGrid,u=s.previousIndex,c=s.activeIndex,d=s.rtlTranslate;if(s.animating&&a.preventInteractionOnTransition)return!1;var p=Math.floor(r/a.slidesPerGroup);p>=l.length&&(p=l.length-1),(c||a.initialSlide||0)===(u||0)&&i&&s.emit("beforeSlideChangeStart");var f,v=-l[p];if(s.updateProgress(v),a.normalizeSlideIndex)for(var m=0;m<h.length;m+=1)-Math.floor(100*v)>=Math.floor(100*h[m])&&(r=m);if(s.initialized&&r!==c){if(!s.allowSlideNext&&v<s.translate&&v<s.minTranslate())return!1;if(!s.allowSlidePrev&&v>s.translate&&v>s.maxTranslate()&&(c||0)!==r)return!1}return f=r>c?"next":r<c?"prev":"reset",d&&-v===s.translate||!d&&v===s.translate?(s.updateActiveIndex(r),a.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==a.effect&&s.setTranslate(v),"reset"!==f&&(s.transitionStart(i,f),s.transitionEnd(i,f)),!1):(0!==t&&o.transition?(s.setTransition(t),s.setTranslate(v),s.updateActiveIndex(r),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,n),s.transitionStart(i,f),s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(i,f))}),s.$wrapperEl[0].addEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd))):(s.setTransition(0),s.setTranslate(v),s.updateActiveIndex(r),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,n),s.transitionStart(i,f),s.transitionEnd(i,f)),!0)},slideToLoop:function(e,t,i,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var s=e;return this.params.loop&&(s+=this.loopedSlides),this.slideTo(s,t,i,n)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this.params,s=this.animating;return n.loop?!s&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,this.slideTo(this.activeIndex+n.slidesPerGroup,e,t,i)):this.slideTo(this.activeIndex+n.slidesPerGroup,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this.params,s=this.animating,r=this.snapGrid,a=this.slidesGrid,o=this.rtlTranslate;if(n.loop){if(s)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}function l(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var h,u=l(o?this.translate:-this.translate),c=r.map((function(e){return l(e)})),d=(a.map((function(e){return l(e)})),r[c.indexOf(u)],r[c.indexOf(u)-1]);return void 0!==d&&(h=a.indexOf(d))<0&&(h=this.activeIndex-1),this.slideTo(h,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this.activeIndex,s=Math.floor(n/this.params.slidesPerGroup);if(s<this.snapGrid.length-1){var r=this.rtlTranslate?this.translate:-this.translate,a=this.snapGrid[s];r-a>(this.snapGrid[s+1]-a)/2&&(n=this.params.slidesPerGroup)}return this.slideTo(n,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,s=t.$wrapperEl,r="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,o=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(n(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?o<t.loopedSlides-r/2||o>t.slides.length-t.loopedSlides+r/2?(t.loopFix(),o=s.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),a.nextTick((function(){t.slideTo(o)}))):t.slideTo(o):o>t.slides.length-r?(t.loopFix(),o=s.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),a.nextTick((function(){t.slideTo(o)}))):t.slideTo(o)}else t.slideTo(o)}},f={loopCreate:function(){var t=this,i=t.params,s=t.$wrapperEl;s.children("."+i.slideClass+"."+i.slideDuplicateClass).remove();var r=s.children("."+i.slideClass);if(i.loopFillGroupWithBlank){var a=i.slidesPerGroup-r.length%i.slidesPerGroup;if(a!==i.slidesPerGroup){for(var o=0;o<a;o+=1){var l=n(e.createElement("div")).addClass(i.slideClass+" "+i.slideBlankClass);s.append(l)}r=s.children("."+i.slideClass)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=r.length),t.loopedSlides=parseInt(i.loopedSlides||i.slidesPerView,10),t.loopedSlides+=i.loopAdditionalSlides,t.loopedSlides>r.length&&(t.loopedSlides=r.length);var h=[],u=[];r.each((function(e,i){var s=n(i);e<t.loopedSlides&&u.push(i),e<r.length&&e>=r.length-t.loopedSlides&&h.push(i),s.attr("data-swiper-slide-index",e)}));for(var c=0;c<u.length;c+=1)s.append(n(u[c].cloneNode(!0)).addClass(i.slideDuplicateClass));for(var d=h.length-1;d>=0;d-=1)s.prepend(n(h[d].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){var e,t=this.params,i=this.activeIndex,n=this.slides,s=this.loopedSlides,r=this.allowSlidePrev,a=this.allowSlideNext,o=this.snapGrid,l=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var h=-o[i]-this.getTranslate();i<s?(e=n.length-3*s+i,e+=s,this.slideTo(e,0,!1,!0)&&0!==h&&this.setTranslate((l?-this.translate:this.translate)-h)):("auto"===t.slidesPerView&&i>=2*s||i>=n.length-s)&&(e=-n.length+i+s,e+=s,this.slideTo(e,0,!1,!0)&&0!==h&&this.setTranslate((l?-this.translate:this.translate)-h)),this.allowSlidePrev=r,this.allowSlideNext=a},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}},v={setGrabCursor:function(e){if(!(o.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){o.touch||this.params.watchOverflow&&this.isLocked||(this.el.style.cursor="")}},m={appendSlide:function(e){var t=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var n=0;n<e.length;n+=1)e[n]&&t.append(e[n]);else t.append(e);i.loop&&this.loopCreate(),i.observer&&o.observer||this.update()},prependSlide:function(e){var t=this.params,i=this.$wrapperEl,n=this.activeIndex;t.loop&&this.loopDestroy();var s=n+1;if("object"==typeof e&&"length"in e){for(var r=0;r<e.length;r+=1)e[r]&&i.prepend(e[r]);s=n+e.length}else i.prepend(e);t.loop&&this.loopCreate(),t.observer&&o.observer||this.update(),this.slideTo(s,0,!1)},addSlide:function(e,t){var i=this.$wrapperEl,n=this.params,s=this.activeIndex;n.loop&&(s-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+n.slideClass));var r=this.slides.length;if(e<=0)this.prependSlide(t);else if(e>=r)this.appendSlide(t);else{for(var a=s>e?s+1:s,l=[],h=r-1;h>=e;h-=1){var u=this.slides.eq(h);u.remove(),l.unshift(u)}if("object"==typeof t&&"length"in t){for(var c=0;c<t.length;c+=1)t[c]&&i.append(t[c]);a=s>e?s+t.length:s}else i.append(t);for(var d=0;d<l.length;d+=1)i.append(l[d]);n.loop&&this.loopCreate(),n.observer&&o.observer||this.update(),n.loop?this.slideTo(a+this.loopedSlides,0,!1):this.slideTo(a,0,!1)}},removeSlide:function(e){var t=this.params,i=this.$wrapperEl,n=this.activeIndex;t.loop&&(n-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+t.slideClass));var s,r=n;if("object"==typeof e&&"length"in e){for(var a=0;a<e.length;a+=1)s=e[a],this.slides[s]&&this.slides.eq(s).remove(),s<r&&(r-=1);r=Math.max(r,0)}else s=e,this.slides[s]&&this.slides.eq(s).remove(),s<r&&(r-=1),r=Math.max(r,0);t.loop&&this.loopCreate(),t.observer&&o.observer||this.update(),t.loop?this.slideTo(r+this.loopedSlides,0,!1):this.slideTo(r,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},g=function(){var i=t.navigator.userAgent,n={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:t.cordova||t.phonegap,phonegap:t.cordova||t.phonegap},s=i.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),r=i.match(/(Android);?[\s\/]+([\d.]+)?/),a=i.match(/(iPad).*OS\s([\d_]+)/),o=i.match(/(iPod)(.*OS\s([\d_]+))?/),l=!a&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(s&&(n.os="windows",n.osVersion=s[2],n.windows=!0),r&&!s&&(n.os="android",n.osVersion=r[2],n.android=!0,n.androidChrome=i.toLowerCase().indexOf("chrome")>=0),(a||l||o)&&(n.os="ios",n.ios=!0),l&&!o&&(n.osVersion=l[2].replace(/_/g,"."),n.iphone=!0),a&&(n.osVersion=a[2].replace(/_/g,"."),n.ipad=!0),o&&(n.osVersion=o[3]?o[3].replace(/_/g,"."):null,n.iphone=!0),n.ios&&n.osVersion&&i.indexOf("Version/")>=0&&"10"===n.osVersion.split(".")[0]&&(n.osVersion=i.toLowerCase().split("version/")[1].split(" ")[0]),n.desktop=!(n.os||n.android||n.webView),n.webView=(l||a||o)&&i.match(/.*AppleWeb
1Kit(?!.*Safari)/i),n.os&&"ios"===n.os){var h=n.osVersion.split("."),u=e.querySelector('meta[name="viewport"]');n.minimalUi=!n.webView&&(o||l)&&(1*h[0]==7?1*h[1]>=1:1*h[0]>7)&&u&&u.getAttribute("content").indexOf("minimal-ui")>=0}return n.pixelRatio=t.devicePixelRatio||1,n}();function y(){var e=this.params,t=this.el;if(!t||0!==t.offsetWidth){e.breakpoints&&this.setBreakpoint();var i=this.allowSlideNext,n=this.allowSlidePrev,s=this.snapGrid;if(this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),e.freeMode){var r=Math.min(Math.max(this.translate,this.maxTranslate()),this.minTranslate());this.setTranslate(r),this.updateActiveIndex(),this.updateSlidesClasses(),e.autoHeight&&this.updateAutoHeight()}else this.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0);this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=n,this.allowSlideNext=i,this.params.watchOverflow&&s!==this.snapGrid&&this.checkOverflow()}}var b={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},w={update:c,translate:d,transition:{setTransition:function(e,t){this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,n=this.params,s=this.previousIndex;n.autoHeight&&this.updateAutoHeight();var r=t;if(r||(r=i>s?"next":i<s?"prev":"reset"),this.emit("transitionStart"),e&&i!==s){if("reset"===r)return void this.emit("slideResetTransitionStart");this.emit("slideChangeTransitionStart"),"next"===r?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart")}},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,n=this.previousIndex;this.animating=!1,this.setTransition(0);var s=t;if(s||(s=i>n?"next":i<n?"prev":"reset"),this.emit("transitionEnd"),e&&i!==n){if("reset"===s)return void this.emit("slideResetTransitionEnd");this.emit("slideChangeTransitionEnd"),"next"===s?this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd")}}},slide:p,loop:f,grabCursor:v,manipulation:m,events:{attachEvents:function(){var i=this.params,s=this.touchEvents,r=this.el,l=this.wrapperEl;this.onTouchStart=function(i){var s=this.touchEventsData,r=this.params,o=this.touches;if(!this.animating||!r.preventInteractionOnTransition){var l=i;
1if(l.originalEvent&&(l=l.originalEvent),s.isTouchEvent="touchstart"===l.type,(s.isTouchEvent||!("which"in l)||3!==l.which)&&!(!s.isTouchEvent&&"button"in l&&l.button>0||s.isTouched&&s.isMoved))if(r.noSwiping&&n(l.target).closest(r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass)[0])this.allowClick=!0;else if(!r.swipeHandler||n(l).closest(r.swipeHandler)[0]){o.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,o.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;var h=o.currentX,u=o.currentY,c=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,d=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(!c||!(h<=d||h>=t.screen.width-d)){if(a.extend(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=h,o.startY=u,s.touchStartTime=a.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,r.threshold>0&&(s.allowThresholdMove=!1),"touchstart"!==l.type){var p=!0;n(l.target).is(s.formElements)&&(p=!1),e.activeElement&&n(e.activeElement).is(s.formElements)&&e.activeElement!==l.target&&e.activeElement.blur();var f=p&&this.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||f)&&l.preventDefault()}this.emit("touchStart",l)}}}}.bind(this),this.onTouchMove=function(t){var i=this.touchEventsData,s=this.params,r=this.touches,o=this.rtlTranslate,l=t;if(l.originalEvent&&(l=l.originalEvent),i.isTouched){if(!i.isTouchEvent||"mousemove"!==l.type){var h="touchmove"===l.type?l.targetTouches[0].pageX:l.pageX,u="touchmove"===l.type?l.targetTouches[0].pageY:l.pageY;if(l.preventedByNestedSwiper)return r.startX=h,void(r.startY=u);if(!this.allowTouchMove)return this.allowClick=!1,void(i.isTouched&&(a.extend(r,{startX:h,startY:u,currentX:h,currentY:u}),i.touchStartTime=a.now()));if(i.isTouchEvent&&s.touchReleaseOnEdges&&!s.loop)if(this.isVertical()){if(u<r.startY&&this.translate<=this.maxTranslate()||u>r.startY&&this.translate>=this.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(h<r.startX&&this.translate<=this.maxTranslate()||h>r.startX&&this.translate>=this.minTranslate())return;if(i.isTouchEvent&&e.activeElement&&l.target===e.activeElement&&n(l.target).is(i.formElements))return i.isMoved=!0,void(this.allowClick=!1);if(i.allowTouchCallbacks&&this.emit("touchMove",l),!(l.targetTouches&&l.targetTouches.length>1)){r.currentX=h,r.currentY=u;var c,d=r.currentX-r.startX,p=r.currentY-r.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(d,2)+Math.pow(p,2))<this.params.threshold))if(void 0===i.isScrolling&&(this.isHorizontal()&&r.currentY===r.startY||this.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:d*d+p*p>=25&&(c=180*Math.atan2(Math.abs(p),Math.abs(d))/Math.PI,i.isScrolling=this.isHorizontal()?c>s.touchAngle:90-c>s.touchAngle)),i.isScrolling&&this.emit("touchMoveOpposite",l),void 0===i.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else if(i.startMoving){this.allowClick=!1,l.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&l.stopPropagation(),i.isMoved||(s.loop&&this.loopFix(),i.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!s.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",l)),this.emit("sliderMove",l),i.isMoved=!0;var f=this.isHorizontal()?d:p;r.diff=f,f*=s.touchRatio,o&&(f=-f),this.swipeDirection=f>0?"prev":"next",i.currentTranslate=f+i.startTranslate;var v=!0,m=s.resistanceRatio;if(s.touchReleaseOnEdges&&(m=0),f>0&&i.currentTranslate>this.minTranslate()?(v=!1,s.resistance&&(i.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+i.startTranslate+f,m))):f<0&&i.currentTranslate<this.maxTranslate()&&(v=!1,s.resistance&&(i.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-i.startTranslate-f,m))),v&&(l.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),s.threshold>0){if(!(Math.abs(f)>s.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);
1if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=this.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}s.followFinger&&((s.freeMode||s.watchSlidesProgress||s.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),s.freeMode&&(0===i.velocities.length&&i.velocities.push({position:r[this.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:r[this.isHorizontal()?"currentX":"currentY"],time:a.now()})),this.updateProgress(i.currentTranslate),this.setTranslate(i.currentTranslate))}}}}else i.startMoving&&i.isScrolling&&this.emit("touchMoveOpposite",l)}.bind(this),this.onTouchEnd=function(e){var t=this,i=t.touchEventsData,n=t.params,s=t.touches,r=t.rtlTranslate,o=t.$wrapperEl,l=t.slidesGrid,h=t.snapGrid,u=e;if(u.originalEvent&&(u=u.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",u),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&n.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);n.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var c,d=a.now(),p=d-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(u),t.emit("tap",u),p<300&&d-i.lastClickTime>300&&(i.clickTimeout&&clearTimeout(i.clickTimeout),i.clickTimeout=a.nextTick((function(){t&&!t.destroyed&&t.emit("click",u)}),300)),p<300&&d-i.lastClickTime<300&&(i.clickTimeout&&clearTimeout(i.clickTimeout),t.emit("doubleTap",u))),i.lastClickTime=a.now(),a.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===s.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,c=n.followFinger?r?t.translate:-t.translate:-i.currentTranslate,n.freeMode){if(c<-t.minTranslate())return void t.slideTo(t.activeIndex);if(c>-t.maxTranslate())return void(t.slides.length<h.length?t.slideTo(h.length-1):t.slideTo(t.slides.length-1));if(n.freeModeMomentum){if(i.velocities.length>1){var f=i.velocities.pop(),v=i.velocities.pop(),m=f.position-v.position,g=f.time-v.time;t.velocity=m/g,t.velocity/=2,Math.abs(t.velocity)<n.freeModeMinimumVelocity&&(t.velocity=0),(g>150||a.now()-f.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=n.freeModeMomentumVelocityRatio,i.velocities.length=0;
1var y=1e3*n.freeModeMomentumRatio,b=t.velocity*y,w=t.translate+b;r&&(w=-w);var x,S,C=!1,E=20*Math.abs(t.velocity)*n.freeModeMomentumBounceRatio;if(w<t.maxTranslate())n.freeModeMomentumBounce?(w+t.maxTranslate()<-E&&(w=t.maxTranslate()-E),x=t.maxTranslate(),C=!0,i.allowMomentumBounce=!0):w=t.maxTranslate(),n.loop&&n.centeredSlides&&(S=!0);else if(w>t.minTranslate())n.freeModeMomentumBounce?(w-t.minTranslate()>E&&(w=t.minTranslate()+E),x=t.minTranslate(),C=!0,i.allowMomentumBounce=!0):w=t.minTranslate(),n.loop&&n.centeredSlides&&(S=!0);else if(n.freeModeSticky){for(var T,M=0;M<h.length;M+=1)if(h[M]>-w){T=M;break}w=-(w=Math.abs(h[T]-w)<Math.abs(h[T-1]-w)||"next"===t.swipeDirection?h[T]:h[T-1])}if(S&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity)y=r?Math.abs((-w-t.translate)/t.velocity):Math.abs((w-t.translate)/t.velocity);else if(n.freeModeSticky)return void t.slideToClosest();n.freeModeMomentumBounce&&C?(t.updateProgress(x),t.setTransition(y),t.setTranslate(w),t.transitionStart(!0,t.swipeDirection),t.animating=!0,o.transitionEnd((function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(n.speed),t.setTranslate(x),o.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))}))):t.velocity?(t.updateProgress(w),t.setTransition(y),t.setTranslate(w),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,o.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(w),t.updateActiveIndex(),t.updateSlidesClasses()}else if(n.freeModeSticky)return void t.slideToClosest();(!n.freeModeMomentum||p>=n.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var k=0,I=t.slidesSizesGrid[0],P=0;P<l.length;P+=n.slidesPerGroup)void 0!==l[P+n.slidesPerGroup]?c>=l[P]&&c<l[P+n.slidesPerGroup]&&(k=P,I=l[P+n.slidesPerGroup]-l[P]):c>=l[P]&&(k=P,I=l[l.length-1]-l[l.length-2]);var $=(c-l[k])/I;if(p>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&($>=n.longSwipesRatio?t.slideTo(k+n.slidesPerGroup):t.slideTo(k)),"prev"===t.swipeDirection&&($>1-n.longSwipesRatio?t.slideTo(k+n.slidesPerGroup):t.slideTo(k))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(k+n.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(k)}}}.bind(this),this.onClick=function(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}.bind(this);var h="container"===i.touchEventsTarget?r:l,u=!!i.nested;if(o.touch||!o.pointerEvents&&!o.prefixedPointerEvents){if(o.touch){var c=!("touchstart"!==s.start||!o.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};h.addEventListener(s.start,this.onTouchStart,c),h.addEventListener(s.move,this.onTouchMove,o.passiveListener?{passive:!1,capture:u}:u),h.addEventListener(s.end,this.onTouchEnd,c)}(i.simulateTouch&&!g.ios&&!g.android||i.simulateTouch&&!o.touch&&g.ios)&&(h.addEventListener("mousedown",this.onTouchStart,!1),e.addEventListener("mousemove",this.onTouchMove,u),e.addEventListener("mouseup",this.onTouchEnd,!1))}else h.addEventListener(s.start,this.onTouchStart,!1),e.addEventListener(s.move,this.onTouchMove,u),e.addEventListener(s.end,this.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&h.addEventListener("click",this.onClick,!0),this.on(g.ios||g.android?"resize orientationchange observerUpdate":"resize observerUpdate",y,!0)},detachEvents:function(){var t=this.params,i=this.touchEvents,n=this.el,s=this.wrapperEl,r="container"===t.touchEventsTarget?n:s,a=!!t.nested;if(o.touch||!o.pointerEvents&&!o.prefixedPointerEvents){if(o.touch){var l=!("onTouchStart"!==i.start||!o.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.removeEventListener(i.start,this.onTouchStart,l),r.removeEventListener(i.move,this.onTouchMove,a),r.removeEventListener(i.end,this.onTouchEnd,l)}(t.simulateTouch&&!g.ios&&!g.android||t.simulateTouch&&!o.touch&&g.ios)&&(r.removeEventListener("mousedown",this.onTouchStart,!1),e.removeEventListener("mousemove",this.onTouchMove,a),e.removeEventListener("mouseup",this.onTouchEnd,!1))}else r.removeEventListener(i.start,this.onTouchStart,!1),e.removeEventListener(i.move,this.onTouchMove,a),e.removeEventListener(i.end,this.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&r.removeEventListener("click",this.onClick,!0),this.off(g.ios||g.android?"resize orientationchange observerUpdate":"resize observerUpdate",y)}},breakpoints:{setBreakpoint:function(){var e=this.activeIndex,t=this.initialized,i=this.loopedSlides;void 0===i&&(i=0);var n=this.params,s=n.breakpoints;
1if(s&&(!s||0!==Object.keys(s).length)){var r=this.getBreakpoint(s);if(r&&this.currentBreakpoint!==r){var o=r in s?s[r]:void 0;o&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach((function(e){var t=o[e];void 0!==t&&(o[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var l=o||this.originalParams,h=l.direction&&l.direction!==n.direction,u=n.loop&&(l.slidesPerView!==n.slidesPerView||h);h&&t&&this.changeDirection(),a.extend(this.params,l),a.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=r,u&&t&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(e-i+this.loopedSlides,0,!1)),this.emit("breakpoint",l)}}},getBreakpoint:function(e){if(e){var i=!1,n=[];Object.keys(e).forEach((function(e){n.push(e)})),n.sort((function(e,t){return parseInt(e,10)-parseInt(t,10)}));for(var s=0;s<n.length;s+=1){var r=n[s];this.params.breakpointsInverse?r<=t.innerWidth&&(i=r):r>=t.innerWidth&&!i&&(i=r)}return i||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.isLocked;this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),e&&e!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var e=this.classNames,t=this.params,i=this.rtl,n=this.$el,s=[];s.push("initialized"),s.push(t.direction),t.freeMode&&s.push("free-mode"),o.flexbox||s.push("no-flexbox"),t.autoHeight&&s.push("autoheight"),i&&s.push("rtl"),t.slidesPerColumn>1&&s.push("multirow"),g.android&&s.push("android"),g.ios&&s.push("ios"),(l.isIE||l.isEdge)&&(o.pointerEvents||o.prefixedPointerEvents)&&s.push("wp8-"+t.direction),s.forEach((function(i){e.push(t.containerModifierClass+i)})),n.addClass(e.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,i,n,s,r,a){var o;function l(){a&&a()}e.complete&&r?l():i?((o=new t.Image).onload=l,o.onerror=l,s&&(o.sizes=s),n&&(o.srcset=n),i&&(o.src=i)):l()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var i=0;i<e.imagesToLoad.length;i+=1){var n=e.imagesToLoad[i];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,t)}}}},x={},S=function(e){function t(){for(var i,s,r,l=[],h=arguments.length;h--;)l[h]=arguments[h];1===l.length&&l[0].constructor&&l[0].constructor===Object?r=l[0]:(s=(i=l)[0],r=i[1]),r||(r={}),r=a.extend({}
1,r),s&&!r.el&&(r.el=s),e.call(this,r),Object.keys(w).forEach((function(e){Object.keys(w[e]).forEach((function(i){t.prototype[i]||(t.prototype[i]=w[e][i])}))}));var u=this;void 0===u.modules&&(u.modules={}),Object.keys(u.modules).forEach((function(e){var t=u.modules[e];if(t.params){var i=Object.keys(t.params)[0],n=t.params[i];if("object"!=typeof n||null===n)return;if(!(i in r)||!("enabled"in n))return;!0===r[i]&&(r[i]={enabled:!0}),"object"!=typeof r[i]||"enabled"in r[i]||(r[i].enabled=!0),r[i]||(r[i]={enabled:!1})}}));var c=a.extend({},b);u.useModulesParams(c),u.params=a.extend({},c,x,r),u.originalParams=a.extend({},u.params),u.passedParams=a.extend({},r),u.$=n;var d=n(u.params.el);if(s=d[0]){if(d.length>1){var p=[];return d.each((function(e,i){var n=a.extend({},r,{el:i});p.push(new t(n))})),p}s.swiper=u,d.data("swiper",u);var f=d.children("."+u.params.wrapperClass);return a.extend(u,{$el:d,el:s,$wrapperEl:f,wrapperEl:f[0],classNames:[],slides:n(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===u.params.direction},isVertical:function(){return"vertical"===u.params.direction},rtl:"rtl"===s.dir.toLowerCase()||"rtl"===d.css("direction"),rtlTranslate:"horizontal"===u.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===d.css("direction")),wrongRTL:"-webkit-box"===f.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:u.params.allowSlideNext,allowSlidePrev:u.params.allowSlidePrev,touchEvents:function(){var e=["touchstart","touchmove","touchend"],t=["mousedown","mousemove","mouseup"];return o.pointerEvents?t=["pointerdown","pointermove","pointerup"]:o.prefixedPointerEvents&&(t=["MSPointerDown","MSPointerMove","MSPointerUp"]),u.touchEventsTouch={start:e[0],move:e[1],end:e[2]},u.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},o.touch||!u.params.simulateTouch?u.touchEventsTouch:u.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:a.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:u.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),u.useModules(),u.params.init&&u.init(),u}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return t.prototype.slidesPerViewDynamic=function(){var e=this.params,t=this.slides,i=this.slidesGrid,n=this.size,s=this.activeIndex,r=1;if(e.centeredSlides){for(var a,o=t[s].swiperSlideSize,l=s+1;l<t.length;l+=1)t[l]&&!a&&(r+=1,(o+=t[l].swiperSlideSize)>n&&(a=!0));for(var h=s-1;h>=0;h-=1)t[h]&&!a&&(r+=1,(o+=t[h].swiperSlideSize)>n&&(a=!0))}else for(var u=s+1;u<t.length;u+=1)i[u]-i[s]<n&&(r+=1);return r},t.prototype.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,i=e.params;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(n(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||n(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function n(){var t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}},t.prototype.changeDirection=function(e,t){void 0===t&&(t=!0);var i=this.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(this.$el.removeClass(""+this.params.containerModifierClass+i+" wp8-"+i).addClass(""+this.params.containerModifierClass+e),(l.isIE||l.isEdge)&&(o.pointerEvents||o.prefixedPointerEvents)&&this.$el.addClass(this.params.containerModifierClass+"wp8-"+e),this.params.direction=e,this.slides.each((function(t,i){"vertical"===e?i.style.width="":i.style.height=""}
1)),this.emit("changeDirection"),t&&this.update()),this},t.prototype.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))},t.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i=this,n=i.params,s=i.$el,r=i.$wrapperEl,o=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),s.removeAttr("style"),r.removeAttr("style"),o&&o.length&&o.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((function(e){i.off(e)})),!1!==e&&(i.$el[0].swiper=null,i.$el.data("swiper",null),a.deleteProps(i)),i.destroyed=!0),null},t.extendDefaults=function(e){a.extend(x,e)},i.extendedDefaults.get=function(){return x},i.defaults.get=function(){return b},i.Class.get=function(){return e},i.$.get=function(){return n},Object.defineProperties(t,i),t}(h),C={name:"device",proto:{device:g},static:{device:g}},E={name:"support",proto:{support:o},static:{support:o}},T={name:"browser",proto:{browser:l},static:{browser:l}},M={name:"resize",create:function(){var e=this;a.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){t.addEventListener("resize",this.resize.resizeHandler),t.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){t.removeEventListener("resize",this.resize.resizeHandler),t.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},k={func:t.MutationObserver||t.WebkitMutationObserver,attach:function(e,i){void 0===i&&(i={});var n=this,s=new(0,k.func)((function(e){if(1!==e.length){var i=function(){n.emit("observerUpdate",e[0])};t.requestAnimationFrame?t.requestAnimationFrame(i):t.setTimeout(i,0)}else n.emit("observerUpdate",e[0])}));s.observe(e,{attributes:void 0===i.attributes||i.attributes,childList:void 0===i.childList||i.childList,characterData:void 0===i.characterData||i.characterData}),n.observer.observers.push(s)},init:function(){if(o.observer&&this.params.observer){if(this.params.observeParents)for(var e=this.$el.parents(),t=0;t<e.length;t+=1)this.observer.attach(e[t]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach((function(e){e.disconnect()})),this.observer.observers=[]}},I={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){a.extend(this,{observer:{init:k.init.bind(this),attach:k.attach.bind(this),destroy:k.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},P={update:function(e){var t=this,i=t.params,n=i.slidesPerView,s=i.slidesPerGroup,r=i.centeredSlides,o=t.params.virtual,l=o.addSlidesBefore,h=o.addSlidesAfter,u=t.virtual,c=u.from,d=u.to,p=u.slides,f=u.slidesGrid,v=u.renderSlide,m=u.offset;t.updateActiveIndex();var g,y,b,w=t.activeIndex||0;g=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",r?(y=Math.floor(n/2)+s+l,b=Math.floor(n/2)+s+h):(y=n+(s-1)+l,b=s+h);var x=Math.max((w||0)-b,0),S=Math.min((w||0)+y,p.length-1),C=(t.slidesGrid[x]||0)-(t.slidesGrid[0]||0);function E(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}
1if(a.extend(t.virtual,{from:x,to:S,offset:C,slidesGrid:t.slidesGrid}),c===x&&d===S&&!e)return t.slidesGrid!==f&&C!==m&&t.slides.css(g,C+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:C,from:x,to:S,slides:function(){for(var e=[],t=x;t<=S;t+=1)e.push(p[t]);return e}()}),void E();var T=[],M=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var k=c;k<=d;k+=1)(k<x||k>S)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+k+'"]').remove();for(var I=0;I<p.length;I+=1)I>=x&&I<=S&&(void 0===d||e?M.push(I):(I>d&&M.push(I),I<c&&T.push(I)));M.forEach((function(e){t.$wrapperEl.append(v(p[e],e))})),T.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(v(p[e],e))})),t.$wrapperEl.children(".swiper-slide").css(g,C+"px"),E()},renderSlide:function(e,t){var i=this.params.virtual;if(i.cache&&this.virtual.cache[t])return this.virtual.cache[t];var s=i.renderSlide?n(i.renderSlide.call(this,e,t)):n('<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return s.attr("data-swiper-slide-index")||s.attr("data-swiper-slide-index",t),i.cache&&(this.virtual.cache[t]=s),s},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var t=this.activeIndex,i=t+1,n=1;if(Array.isArray(e)){for(var s=0;s<e.length;s+=1)e[s]&&this.virtual.slides.unshift(e[s]);i=t+e.length,n=e.length}else this.virtual.slides.unshift(e);if(this.params.virtual.cache){var r=this.virtual.cache,a={};Object.keys(r).forEach((function(e){a[parseInt(e,10)+n]=r[e]})),this.virtual.cache=a}this.virtual.update(!0),this.slideTo(i,0)},removeSlide:function(e){if(null!=e){var t=this.activeIndex;if(Array.isArray(e))for(var i=e.length-1;i>=0;i-=1)this.virtual.slides.splice(e[i],1),this.params.virtual.cache&&delete this.virtual.cache[e[i]],e[i]<t&&(t-=1),t=Math.max(t,0);else this.virtual.slides.splice(e,1),this.params.virtual.cache&&delete this.virtual.cache[e],e<t&&(t-=1),t=Math.max(t,0);this.virtual.update(!0),this.slideTo(t,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},$={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){a.extend(this,{virtual:{update:P.update.bind(this),appendSlide:P.appendSlide.bind(this),prependSlide:P.prependSlide.bind(this),removeSlide:P.removeSlide.bind(this),removeAllSlides:P.removeAllSlides.bind(this),renderSlide:P.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){if(this.params.virtual.enabled){this.classNames.push(this.params.containerModifierClass+"virtual");var e={watchSlidesProgress:!0};a.extend(this.params,e),a.extend(this.originalParams,e),this.params.initialSlide||this.virtual.update(
1)}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},L={handle:function(i){var n=this.rtlTranslate,s=i;s.originalEvent&&(s=s.originalEvent);var r=s.keyCode||s.charCode;if(!this.allowSlideNext&&(this.isHorizontal()&&39===r||this.isVertical()&&40===r||34===r))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&37===r||this.isVertical()&&38===r||33===r))return!1;if(!(s.shiftKey||s.altKey||s.ctrlKey||s.metaKey||e.activeElement&&e.activeElement.nodeName&&("input"===e.activeElement.nodeName.toLowerCase()||"textarea"===e.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(33===r||34===r||37===r||39===r||38===r||40===r)){var a=!1;if(this.$el.parents("."+this.params.slideClass).length>0&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var o=t.innerWidth,l=t.innerHeight,h=this.$el.offset();n&&(h.left-=this.$el[0].scrollLeft);for(var u=[[h.left,h.top],[h.left+this.width,h.top],[h.left,h.top+this.height],[h.left+this.width,h.top+this.height]],c=0;c<u.length;c+=1){var d=u[c];d[0]>=0&&d[0]<=o&&d[1]>=0&&d[1]<=l&&(a=!0)}if(!a)return}this.isHorizontal()?(33!==r&&34!==r&&37!==r&&39!==r||(s.preventDefault?s.preventDefault():s.returnValue=!1),(34!==r&&39!==r||n)&&(33!==r&&37!==r||!n)||this.slideNext(),(33!==r&&37!==r||n)&&(34!==r&&39!==r||!n)||this.slidePrev()):(33!==r&&34!==r&&38!==r&&40!==r||(s.preventDefault?s.preventDefault():s.returnValue=!1),34!==r&&40!==r||this.slideNext(),33!==r&&38!==r||this.slidePrev()),this.emit("keyPress",r)}},enable:function(){this.keyboard.enabled||(n(e).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(n(e).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},A={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){a.extend(this,{keyboard:{enabled:!1,enable:L.enable.bind(this),disable:L.disable.bind(this),handle:L.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},z={lastScrollTime:a.now(),event:t.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var t="onwheel"in e;if(!t){var i=e.createElement("div");i.setAttribute("onwheel","return;"),t="function"==typeof i.onwheel}return!t&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(t=e.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel",normalize:function(e){var t=0,i=0,n=0,s=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),n=10*t,s=10*i,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||s)&&e.deltaMode&&(1===e.deltaMode?(n*=40,s*=40):(n*=800,s*=800)),n&&!t&&(t=n<1?-1:1),s&&!i&&(i=s<1?-1:1),{spinX:t,spinY:i,pixelX:n,pixelY:s}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var i=e,n=this,s=n.params.mousewheel;if(!n.mouseEntered&&!s.releaseOnEdges)return!0;i.originalEvent&&(i=i.originalEvent);var r=0,o=n.rtlTranslate?-1:1,l=z.normalize(i);if(s.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(l.pixelX)>Math.abs(l.pixelY)))return!0;r=l.pixelX*o}else{if(!(Math.abs(l.pixelY)>Math.abs(l.pixelX)))return!0;r=l.pixelY}else r=Math.abs(l.pixelX)>Math.abs(l.pixelY)?-l.pixelX*o:-l.pixelY;if(0===r)return!0;if(s.invert&&(r=-r),n.params.freeMode){n.params.loop&&n.loopFix();var h=n.getTranslate()+r*s.sensitivity,u=n.isBeginning,c=n.isEnd;if(h>=n.minTranslate()&&(h=n.minTranslate()),h<=n.maxTranslate()&&(h=n.maxTranslate()),n.setTransition(0),n.setTranslate(h),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!u&&n.isBeginning||!c&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky&&(clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=a.nextTick((function(){n.slideToClosest()}),300)),n.emit("scroll",i),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),h===n.minTranslate()||h===n.maxTranslate())return!0}else{if(a.now()-n.mousewheel.lastScrollTime>60)if(r<0)if(n.isEnd&&!n.params.loop||n.animating){if(s.releaseOnEdges)return!0}else n.slideNext(),n.emit("scroll",i);else if(n.isBeginning&&!n.params.loop||n.animating){if(s.releaseOnEdges)return!0}else n.slidePrev(),n.emit("scroll",i);n.mousewheel.lastScrollTime=(new t.Date).getTime()}return i.preventDefault?i.preventDefault():i.returnValue=!1,!1},enable:function(){if(!z.event)return!1;if(this.mousewheel.enabled)return!1;var e=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(e=n(this.params.mousewheel.eventsTarged)),e.on("mouseenter",this.mousewheel.handleMouseEnter),e.on("mouseleave",this.mousewheel.handleMouseLeave),e.on(z.event,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){if(!z.event)return!1;if(!this.mousewheel.enabled)return!1;var e=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(e=n(this.params.mousewheel.eventsTarged)),e.off(z.event,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},F={update:function(){var e=this.params.navigation;if(!this.params.loop){var t=this.navigation,i=t.$nextEl,n=t.$prevEl;n&&n.length>
10&&(this.isBeginning?n.addClass(e.disabledClass):n.removeClass(e.disabledClass),n[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)),i&&i.length>0&&(this.isEnd?i.addClass(e.disabledClass):i.removeClass(e.disabledClass),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass))}},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,i=this.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=n(i.nextEl),this.params.uniqueNavElements&&"string"==typeof i.nextEl&&e.length>1&&1===this.$el.find(i.nextEl).length&&(e=this.$el.find(i.nextEl))),i.prevEl&&(t=n(i.prevEl),this.params.uniqueNavElements&&"string"==typeof i.prevEl&&t.length>1&&1===this.$el.find(i.prevEl).length&&(t=this.$el.find(i.prevEl))),e&&e.length>0&&e.on("click",this.navigation.onNextClick),t&&t.length>0&&t.on("click",this.navigation.onPrevClick),a.extend(this.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;t&&t.length&&(t.off("click",this.navigation.onNextClick),t.removeClass(this.params.navigation.disabledClass)),i&&i.length&&(i.off("click",this.navigation.onPrevClick),i.removeClass(this.params.navigation.disabledClass))}},D={update:function(){var e=this.rtl,t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var i,s=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,r=this.pagination.$el,a=this.params.loop?Math.ceil((s-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((i=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>s-1-2*this.loopedSlides&&(i-=s-2*this.loopedSlides),i>a-1&&(i-=a),i<0&&"bullets"!==this.params.paginationType&&(i=a+i)):i=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===t.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var o,l,h,u=this.pagination.bullets;if(t.dynamicBullets&&(this.pagination.bulletSize=u.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(t.dynamicMainBullets+4)+"px"),t.dynamicMainBullets>1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=i-this.previousIndex,this.pagination.dynamicBulletIndex>t.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=t.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),o=i-this.pagination.dynamicBulletIndex,h=((l=o+(Math.min(u.length,t.dynamicMainBullets)-1))+o)/2),u.removeClass(t.bulletActiveClass+" "+t.bulletActiveClass+"-next "+t.bulletActiveClass+"-next-next "+t.bulletActiveClass+"-prev "+t.bulletActiveClass+"-prev-prev "+t.bulletActiveClass+"-main"),r.length>1)u.each((function(e,s){var r=n(s),a=r.index();a===i&&r.addClass(t.bulletActiveClass),t.dynamicBullets&&(a>=o&&a<=l&&r.addClass(t.bulletActiveClass+"-main"),a===o&&r.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),a===l&&r.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next"))}));else if(u.eq(i).addClass(t.bulletActiveClass),t.dynamicBullets){for(var c=u.eq(o),d=u.eq(l),p=o;p<=l;p+=1)u.eq(p).addClass(t.bulletActiveClass+"-main");c.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),d.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next")}if(t.dynamicBullets){var f=Math.min(u.length,t.dynamicMainBullets+4),v=(this.pagination.bulletSize*f-this.pagination.bulletSize)/2-h*this.pagination.bulletSize,m=e?"right":"left";u.css(this.isHorizontal()?m:"top",v+"px")}}if("fraction"===t.type&&(r.find("."+t.currentClass).text(t.formatFractionCurrent(i+1)),r.find("."+t.totalClass).text(t.formatFractionTotal(a))),"progressbar"===t.type){var g;g=t.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical";
1var y=(i+1)/a,b=1,w=1;"horizontal"===g?b=y:w=y,r.find("."+t.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+b+") scaleY("+w+")").transition(this.params.speed)}"custom"===t.type&&t.renderCustom?(r.html(t.renderCustom(this,i+1,a)),this.emit("paginationRender",this,r[0])):this.emit("paginationUpdate",this,r[0]),r[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass)}},render:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,i=this.pagination.$el,n="";if("bullets"===e.type){for(var s=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,r=0;r<s;r+=1)e.renderBullet?n+=e.renderBullet.call(this,r,e.bulletClass):n+="<"+e.bulletElement+' class="'+e.bulletClass+'"></'+e.bulletElement+">";i.html(n),this.pagination.bullets=i.find("."+e.bulletClass)}"fraction"===e.type&&(n=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):'<span class="'+e.currentClass+'"></span> / <span class="'+e.totalClass+'"></span>',i.html(n)),"progressbar"===e.type&&(n=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'<span class="'+e.progressbarFillClass+'"></span>',i.html(n)),"custom"!==e.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var i=n(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&1===e.$el.find(t.el).length&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click","."+t.bulletClass,(function(t){t.preventDefault();var i=n(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)})),a.extend(e.pagination,{$el:i,el:i[0]}))}},destroy:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}}},R={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=this.rtlTranslate,i=this.progress,n=e.dragSize,s=e.trackSize,r=e.$dragEl,a=e.$el,l=this.params.scrollbar,h=n,u=(s-n)*i;t?(u=-u)>0?(h=n-u,u=0):-u+n>s&&(h=s+u):u<0?(h=n+u,u=0):u+n>s&&(h=s-u),this.isHorizontal()?(o.transforms3d?r.transform("translate3d("+u+"px, 0, 0)"):r.transform("translateX("+u+"px)"),r[0].style.width=h+"px"):(o.transforms3d?r.transform("translate3d(0px, "+u+"px, 0)"):r.transform("translateY("+u+"px)"),r[0].style.height=h+"px"),l.hide&&(clearTimeout(this.scrollbar.timeout),a[0].style.opacity=1,this.scrollbar.timeout=setTimeout((function(){a[0].style.opacity=0,a.transition(400)}),1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=e.$dragEl,i=e.$el;t[0].style.width="",t[0].style.height="";var n,s=this.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,r=this.size/this.virtualSize,o=r*(s/this.size);n="auto"===this.params.scrollbar.dragSize?s*r:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=n+"px":t[0].style.height=n+"px",i[0].style.display=r>=1?"none":"",this.params.scrollbar.hide&&(i[0].style.opacity=0),a.extend(e,{trackSize:s,divider:r,moveDivider:o,dragSize:n}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.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},setDragPosition:function(e){var t,i=this.scrollbar,n=this.rtlTranslate,s=i.$el,r=i.dragSize,a=i.trackSize,o=i.dragStartPos;t=(i.getPointerPosition(e)-s.offset()[this.isHorizontal()?"left":"top"]-(null!==o?o:r/2))/(a-r),t=Math.max(Math.min(t,1),0),n&&(t=1-t);var l=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t;this.updateProgress(l),this.setTranslate(l),this.updateActiveIndex(),this.updateSlidesClasses()}
1,onDragStart:function(e){var t=this.params.scrollbar,i=this.scrollbar,n=this.$wrapperEl,s=i.$el,r=i.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===r[0]||e.target===r?i.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),n.transition(100),r.transition(100),i.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),s.transition(0),t.hide&&s.css("opacity",1),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,i=this.$wrapperEl,n=t.$el,s=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),i.transition(0),n.transition(0),s.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,i=this.scrollbar.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=a.nextTick((function(){i.css("opacity",0),i.transition(400)}),1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var t=this.scrollbar,i=this.touchEventsTouch,n=this.touchEventsDesktop,s=this.params,r=t.$el[0],a=!(!o.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},l=!(!o.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};o.touch?(r.addEventListener(i.start,this.scrollbar.onDragStart,a),r.addEventListener(i.move,this.scrollbar.onDragMove,a),r.addEventListener(i.end,this.scrollbar.onDragEnd,l)):(r.addEventListener(n.start,this.scrollbar.onDragStart,a),e.addEventListener(n.move,this.scrollbar.onDragMove,a),e.addEventListener(n.end,this.scrollbar.onDragEnd,l))}},disableDraggable:function(){if(this.params.scrollbar.el){var t=this.scrollbar,i=this.touchEventsTouch,n=this.touchEventsDesktop,s=this.params,r=t.$el[0],a=!(!o.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},l=!(!o.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};o.touch?(r.removeEventListener(i.start,this.scrollbar.onDragStart,a),r.removeEventListener(i.move,this.scrollbar.onDragMove,a),r.removeEventListener(i.end,this.scrollbar.onDragEnd,l)):(r.removeEventListener(n.start,this.scrollbar.onDragStart,a),e.removeEventListener(n.move,this.scrollbar.onDragMove,a),e.removeEventListener(n.end,this.scrollbar.onDragEnd,l))}},init:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.$el,i=this.params.scrollbar,s=n(i.el);this.params.uniqueNavElements&&"string"==typeof i.el&&s.length>1&&1===t.find(i.el).length&&(s=t.find(i.el));var r=s.find("."+this.params.scrollbar.dragClass);0===r.length&&(r=n('<div class="'+this.params.scrollbar.dragClass+'"></div>'),s.append(r)),a.extend(e,{$el:s,el:s[0],$dragEl:r,dragEl:r[0]}),i.draggable&&e.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},O={setTransform:function(e,t){var i=this.rtl,s=n(e),r=i?-1:1,a=s.attr("data-swiper-parallax")||"0",o=s.attr("data-swiper-parallax-x"),l=s.attr("data-swiper-parallax-y"),h=s.attr("data-swiper-parallax-scale"),u=s.attr("data-swiper-parallax-opacity");if(o||l?(o=o||"0",l=l||"0"):this.isHorizontal()?(o=a,l="0"):(l=a,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*t*r+"%":o*t*r+"px",l=l.indexOf("%")>=0?parseInt(l,10)*t+"%":l*t+"px",null!=u){var c=u-(u-1)*(1-Math.abs(t));s[0].style.opacity=c}if(null==h)s.transform("translate3d("+o+", "+l+", 0px)");else{var d=h-(h-1)*(1-Math.abs(t));s.transform("translate3d("+o+", "+l+", 0px) scale("+d+")")}},setTranslate:function(){var e=this,t=e.$el,i=e.slides,s=e.progress,r=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){e.parallax.setTransform(i,s)})),i.each((function(t,i){var a=i.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(a+=Math.ceil(t/2)-s*(r.length-1)),a=Math.min(Math.max(a,-1),1),n(i).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){e.parallax.setTransform(i,a)}))}))},setTransition:function(e){void 0===e&&(e=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){var s=n(i),r=parseInt(s.attr("data-swiper-parallax-duration"),10)||e;0===e&&(r=0),s.transition(r)}))}},_={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,s=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(n-t,2)+Math.pow(s-i,2))},onGestureStart:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!o.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,s.scaleStart=_.getDistanceBetweenTouches(e)}s.$slideEl&&s.$slideEl.length||(s.$slideEl=n(e.target).closest(".swiper-slide"),0===s.$slideEl.length&&(s.$slideEl=this.slides.eq(this.activeIndex)),s.$imageEl=s.$slideEl.find("img, svg, canvas"),s.$imageWrapEl=s.$imageEl.parent("."+t.containerClass),s.maxRatio=s.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==s.$imageWrapEl.length)?(s.$imageEl.transition(0),this.zoom.isScaling=!0):s.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,i=this.zoom,n=i.gesture;if(!o.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,n.scaleMove=_.getDistanceBetweenTouches(e)}n.$imageEl&&0!==n.$imageEl.length&&(o.gestures?i.scale=e.scale*i.currentScale:i.scale=n.scaleMove/n.scaleStart*i.currentScale,i.scale>n.maxRatio&&(i.scale=n.maxRatio-1+Math.pow(i.scale-n.maxRatio+1,.5)),i.scale<t.minRatio&&(i.scale=t.minRatio+1-Math.pow(t.minRatio-i.scale+1,.5)),n.$imageEl.transform("translate3d(0,
10,0) scale("+i.scale+")"))},onGestureEnd:function(e){var t=this.params.zoom,i=this.zoom,n=i.gesture;if(!o.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!g.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}n.$imageEl&&0!==n.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,n.maxRatio),t.minRatio),n.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+i.scale+")"),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(n.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,i=t.gesture,n=t.image;i.$imageEl&&0!==i.$imageEl.length&&(n.isTouched||(g.android&&e.preventDefault(),n.isTouched=!0,n.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,n.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this.zoom,i=t.gesture,n=t.image,s=t.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(this.allowClick=!1,n.isTouched&&i.$slideEl)){n.isMoved||(n.width=i.$imageEl[0].offsetWidth,n.height=i.$imageEl[0].offsetHeight,n.startX=a.getTranslate(i.$imageWrapEl[0],"x")||0,n.startY=a.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),this.rtl&&(n.startX=-n.startX,n.startY=-n.startY));var r=n.width*t.scale,o=n.height*t.scale;if(!(r<i.slideWidth&&o<i.slideHeight)){if(n.minX=Math.min(i.slideWidth/2-r/2,0),n.maxX=-n.minX,n.minY=Math.min(i.slideHeight/2-o/2,0),n.maxY=-n.minY,n.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,n.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!n.isMoved&&!t.isScaling){if(this.isHorizontal()&&(Math.floor(n.minX)===Math.floor(n.startX)&&n.touchesCurrent.x<n.touchesStart.x||Math.floor(n.maxX)===Math.floor(n.startX)&&n.touchesCurrent.x>n.touchesStart.x))return void(n.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(n.minY)===Math.floor(n.startY)&&n.touchesCurrent.y<n.touchesStart.y||Math.floor(n.maxY)===Math.floor(n.startY)&&n.touchesCurrent.y>n.touchesStart.y))return void(n.isTouched=!1)}e.preventDefault(),e.stopPropagation(),n.isMoved=!0,n.currentX=n.touchesCurrent.x-n.touchesStart.x+n.startX,n.currentY=n.touchesCurrent.y-n.touchesStart.y+n.startY,n.currentX<n.minX&&(n.currentX=n.minX+1-Math.pow(n.minX-n.currentX+1,.8)),n.currentX>n.maxX&&(n.currentX=n.maxX-1+Math.pow(n.currentX-n.maxX+1,.8)),n.currentY<n.minY&&(n.currentY=n.minY+1-Math.pow(n.minY-n.currentY+1,.8)),n.currentY>n.maxY&&(n.currentY=n.maxY-1+Math.pow(n.currentY-n.maxY+1,.8)),s.prevPositionX||(s.prevPositionX=n.touchesCurrent.x),s.prevPositionY||(s.prevPositionY=n.touchesCurrent.y),s.prevTime||(s.prevTime=Date.now()),s.x=(n.touchesCurrent.x-s.prevPositionX)/(Date.now()-s.prevTime)/2,s.y=(n.touchesCurrent.y-s.prevPositionY)/(Date.now()-s.prevTime)/2,Math.abs(n.touchesCurrent.x-s.prevPositionX)<2&&(s.x=0),Math.abs(n.touchesCurrent.y-s.prevPositionY)<2&&(s.y=0),s.prevPositionX=n.touchesCurrent.x,s.prevPositionY=n.touchesCurrent.y,s.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,n=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var s=300,r=300,a=n.x*s,o=i.currentX+a,l=n.y*r,h=i.currentY+l;0!==n.x&&(s=Math.abs((o-i.currentX)/n.x)),0!==n.y&&(r=Math.abs((h-i.currentY)/n.y));var u=Math.max(s,r);i.currentX=o,i.currentY=h;var c=i.width*e.scale,d=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-c/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-d/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(u).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,
10,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,s,r,a,o,l,h,u,c,d,p,f,v,m,g,y=this.zoom,b=this.params.zoom,w=y.gesture,x=y.image;w.$slideEl||(w.$slideEl=this.clickedSlide?n(this.clickedSlide):this.slides.eq(this.activeIndex),w.$imageEl=w.$slideEl.find("img, svg, canvas"),w.$imageWrapEl=w.$imageEl.parent("."+b.containerClass)),w.$imageEl&&0!==w.$imageEl.length&&(w.$slideEl.addClass(""+b.zoomedSlideClass),void 0===x.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=x.touchesStart.x,i=x.touchesStart.y),y.scale=w.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio,y.currentScale=w.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio,e?(m=w.$slideEl[0].offsetWidth,g=w.$slideEl[0].offsetHeight,s=w.$slideEl.offset().left+m/2-t,r=w.$slideEl.offset().top+g/2-i,l=w.$imageEl[0].offsetWidth,h=w.$imageEl[0].offsetHeight,u=l*y.scale,c=h*y.scale,f=-(d=Math.min(m/2-u/2,0)),v=-(p=Math.min(g/2-c/2,0)),(a=s*y.scale)<d&&(a=d),a>f&&(a=f),(o=r*y.scale)<p&&(o=p),o>v&&(o=v)):(a=0,o=0),w.$imageWrapEl.transition(300).transform("translate3d("+a+"px, "+o+"px,0)"),w.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+y.scale+")"))},out:function(){var e=this.zoom,t=this.params.zoom,i=e.gesture;i.$slideEl||(i.$slideEl=this.clickedSlide?n(this.clickedSlide):this.slides.eq(this.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent("."+t.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(e.scale=1,e.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+t.zoomedSlideClass),i.$slideEl=void 0)},enable:function(){var e=this.zoom;if(!e.enabled){e.enabled=!0;var t=!("touchstart"!==this.touchEvents.start||!o.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};o.gestures?(this.$wrapperEl.on("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove)}},disable:function(){var e=this.zoom;if(e.enabled){this.zoom.enabled=!1;var t=!("touchstart"!==this.touchEvents.start||!o.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};o.gestures?(this.$wrapperEl.off("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove)}}},V={loadInSlide:function(e,t){void 0===t&&(t=!0);var i=this,s=i.params.lazy;if(void 0!==e&&0!==i.slides.length){var r=i.virtual&&i.params.virtual.enabled?i.$wrapperEl.children("."+i.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):i.slides.eq(e),a=r.find("."+s.elementClass+":not(."+s.loadedClass+"):not(."+s.loadingClass+")");!r.hasClass(s.elementClass)||r.hasClass(s.loadedClass)||r.hasClass(s.loadingClass)||(a=a.add(r[0])),0!==a.length&&a.each((function(e,a){var o=n(a);o.addClass(s.loadingClass);var l=o.attr("data-background"),h=o.attr("data-src"),u=o.attr("data-srcset"),c=o.attr("data-sizes");i.loadImage(o[0],h||l,u,c,!1,(function(){if(null!=i&&i&&(!i||i.params)&&!i.destroyed){
1if(l?(o.css("background-image",'url("'+l+'")'),o.removeAttr("data-background")):(u&&(o.attr("srcset",u),o.removeAttr("data-srcset")),c&&(o.attr("sizes",c),o.removeAttr("data-sizes")),h&&(o.attr("src",h),o.removeAttr("data-src"))),o.addClass(s.loadedClass).removeClass(s.loadingClass),r.find("."+s.preloaderClass).remove(),i.params.loop&&t){var e=r.attr("data-swiper-slide-index");if(r.hasClass(i.params.slideDuplicateClass)){var n=i.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+i.params.slideDuplicateClass+")");i.lazy.loadInSlide(n.index(),!1)}else{var a=i.$wrapperEl.children("."+i.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');i.lazy.loadInSlide(a.index(),!1)}}i.emit("lazyImageReady",r[0],o[0])}})),i.emit("lazyImageLoad",r[0],o[0])}))}},load:function(){var e=this,t=e.$wrapperEl,i=e.params,s=e.slides,r=e.activeIndex,a=e.virtual&&i.virtual.enabled,o=i.lazy,l=i.slidesPerView;function h(e){if(a){if(t.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(s[e])return!0;return!1}function u(e){return a?n(e).attr("data-swiper-slide-index"):n(e).index()}if("auto"===l&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+i.slideVisibleClass).each((function(t,i){var s=a?n(i).attr("data-swiper-slide-index"):n(i).index();e.lazy.loadInSlide(s)}));else if(l>1)for(var c=r;c<r+l;c+=1)h(c)&&e.lazy.loadInSlide(c);else e.lazy.loadInSlide(r);if(o.loadPrevNext)if(l>1||o.loadPrevNextAmount&&o.loadPrevNextAmount>1){for(var d=o.loadPrevNextAmount,p=l,f=Math.min(r+p+Math.max(d,p),s.length),v=Math.max(r-Math.max(p,d),0),m=r+l;m<f;m+=1)h(m)&&e.lazy.loadInSlide(m);for(var g=v;g<r;g+=1)h(g)&&e.lazy.loadInSlide(g)}else{var y=t.children("."+i.slideNextClass);y.length>0&&e.lazy.loadInSlide(u(y));var b=t.children("."+i.slidePrevClass);b.length>0&&e.lazy.loadInSlide(u(b))}}},B={LinearSpline:function(e,t){var i,n,s=function(){var e,t,i;return function(n,s){for(t=-1,e=n.length;e-t>1;)n[i=e+t>>1]<=s?t=i:e=i;return e}}();return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=s(this.x,e),i=n-1,(e-this.x[i])*(this.y[n]-this.y[i])/(this.x[n]-this.x[i])+this.y[i]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new B.LinearSpline(this.slidesGrid,e.slidesGrid):new B.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var i,n,s=this,r=s.controller.control;function a(e){var t=s.rtlTranslate?-s.translate:s.translate;"slide"===s.params.controller.by&&(s.controller.getInterpolateFunction(e),n=-s.controller.spline.interpolate(-t)),n&&"container"!==s.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(s.maxTranslate()-s.minTranslate()),n=(t-s.minTranslate())*i+e.minTranslate()),s.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,s),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var o=0;o<r.length;o+=1)r[o]!==t&&r[o]instanceof S&&a(r[o]);else r instanceof S&&t!==r&&a(r)},setTransition:function(e,t){var i,n=this,s=n.controller.control;function r(t){t.setTransition(e,n),0!==e&&(t.transitionStart(),t.params.autoHeight&&a.nextTick((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){s&&(t.params.loop&&"slide"===n.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(s))for(i=0;i<s.length;i+=1)s[i]!==t&&s[i]instanceof S&&r(s[i]);else s instanceof S&&t!==s&&r(s)}},N={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this.params.a11y;if(13===e.keyCode){var i=n(e.target);this.navigation&&this.navigation.$nextEl&&i.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.isEnd?this.a11y.notify(t.lastSlideMessage):this.a11y.notify(t.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&i.is(this.navigation.$prevEl)&&(this.isBeg
1inning&&!this.params.loop||this.slidePrev(),this.isBeginning?this.a11y.notify(t.firstSlideMessage):this.a11y.notify(t.prevSlideMessage)),this.pagination&&i.is("."+this.params.pagination.bulletClass)&&i[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){if(!this.params.loop){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;i&&i.length>0&&(this.isBeginning?this.a11y.disableEl(i):this.a11y.enableEl(i)),t&&t.length>0&&(this.isEnd?this.a11y.disableEl(t):this.a11y.enableEl(t))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(i,s){var r=n(s);e.a11y.makeElFocusable(r),e.a11y.addElRole(r,"button"),e.a11y.addElLabel(r,t.paginationBulletMessage.replace(/{{index}}/,r.index()+1))}))},init:function(){this.$el.append(this.a11y.liveRegion);var e,t,i=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,i.nextSlideMessage),e.on("keydown",this.a11y.onEnterKey)),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,i.prevSlideMessage),t.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var e,t;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},H={init:function(){if(this.params.history){if(!t.history||!t.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var e=this.history;e.initialized=!0,e.paths=H.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||t.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||t.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=H.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=t.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),i=e.length;return{key:e[i-2],value:e[i-1]}},setHistory:function(e,i){if(this.history.initialized&&this.params.history.enabled){var n=this.slides.eq(i),s=H.slugify(n.attr("data-history"));t.location.pathname.includes(e)||(s=e+"/"+s);var r=t.history.state;r&&r.value===s||(this.params.history.replaceState?t.history.replaceState({value:s},null,s):t.history.pushState({value:s},null,s))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){if(t)for(var n=0,s=this.slides.length;n<s;n+=1){var r=this.slides.eq(n);if(H.slugify(r.attr("data-history"))===t&&!r.hasClass(this.params.slideDuplicateClass)){var a=r.index();this.slideTo(a,e,i)}}else this.slideTo(0,e,i)}},q={onHashCange:function(){var t=e.location.hash.replace("#","");if(t!==this.slides.eq(this.activeIndex).attr("data-hash")){var i=this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+t+'"]').index();if(void 0===i)return;this.slideTo(i)}},setHash:function(){if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled)if(this.params.hashNavigation.replaceState&&t.history&&t.history.replaceState)t.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||!1);else{var i=this.slides.eq(this.activeIndex),n=i.attr("data-hash")||i.attr("data-history");e.location.hash=n||""}},init:function(){if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var i=e.location.hash.replace("#","");if(i)for(var s=0,r=this.slides.length;s<r;s+=1){var a=this.slides.eq(s);if((a.attr("data-hash")||a.attr("data-history"))===i&&!a.hasClass(this.params.slideDuplicateClass)){var o=a.index();this.slideTo(o,0,this.params.runCallbacksOnInit,!0)}}this.params.hashNavigation.watchState&&n(t).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&n(t).off("hashchange",this.hashNavigation.onHashCange)}},j={run:function(){var e=this,t=e.slides.eq(e.activeIndex),i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=a.nextTick((function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,
1!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))}),i)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(e){this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==e&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run())))}},G={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var i=this.slides.eq(t),n=-i[0].swiperSlideOffset;this.params.virtualTranslate||(n-=this.translate);var s=0;this.isHorizontal()||(s=n,n=0);var r=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:r}).transform("translate3d("+n+"px, "+s+"px, 0px)")}},setTransition:function(e){var t=this,i=t.slides,n=t.$wrapperEl;if(i.transition(e),t.params.virtualTranslate&&0!==e){var s=!1;i.transitionEnd((function(){if(!s&&t&&!t.destroyed){s=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)n.trigger(e[i])}}))}}},X={setTranslate:function(){var e,t=this.$el,i=this.$wrapperEl,s=this.slides,r=this.width,a=this.height,o=this.rtlTranslate,h=this.size,u=this.params.cubeEffect,c=this.isHorizontal(),d=this.virtual&&this.params.virtual.enabled,p=0;u.shadow&&(c?(0===(e=i.find(".swiper-cube-shadow")).length&&(e=n('<div class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:r+"px"})):0===(e=t.find(".swiper-cube-shadow")).length&&(e=n('<div class="swiper-cube-shadow"></div>'),t.append(e)));for(var f=0;f<s.length;f+=1){var v=s.eq(f),m=f;d&&(m=parseInt(v.attr("data-swiper-slide-index"),10));var g=90*m,y=Math.floor(g/360);o&&(g=-g,y=Math.floor(-g/360));var b=Math.max(Math.min(v[0].progress,1),-1),w=0,x=0,S=0;m%4==0?(w=4*-y*h,S=0):(m-1)%4==0?(w=0,S=4*-y*h):(m-2)%4==0?(w=h+4*y*h,S=h):(m-3)%4==0&&(w=-h,S=3*h+4*h*y),o&&(w=-w),c||(x=w,w=0);var C="rotateX("+(c?0:-g)+"deg) rotateY("+(c?g:0)+"deg) translate3d("+w+"px, "+x+"px, "+S+"px)";if(b<=1&&b>-1&&(p=90*m+90*b,o&&(p=90*-m-90*b)),v.transform(C),u.slideShadows){var E=c?v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),T=c?v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom");0===E.length&&(E=n('<div class="swiper-slide-shadow-'+(c?"left":"top")+'"></div>'),v.append(E)),0===T.length&&(T=n('<div class="swiper-slide-shadow-'+(c?"right":"bottom")+'"></div>'),v.append(T)),E.length&&(E[0].style.opacity=Math.max(-b,0)),T.length&&(T[0].style.opacity=Math.max(b,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -"+h/2+"px","-moz-transform-origin":"50% 50% -"+h/2+"px","-ms-transform-origin":"50% 50% -"+h/2+"px","transform-origin":"50% 50% -"+h/2+"px"}),u.shadow)if(c)e.transform("translate3d(0px, "+(r/2+u.shadowOffset)+"px, "+-r/2+"px) rotateX(90deg) rotateZ(0deg) scale("+u.shadowScale+")");else{var M=Math.abs(p)-90*Math.floor(Math.abs(p)/90),k=1.5-(Math.sin(2*M*Math.PI/360)/2+Math.cos(2*M*Math.PI/360)/2),I=u.shadowScale,P=u.shadowScale/k,$=u.shadowOffset;e.transform("scale3d("+I+", 1, "+P+") translate3d(0px, "+(a/2+$)+"px, "+-a/2/P+"px) rotateX(-90deg)")}var L=l.isSafari||l.isUiWebView?-h/2:0;i.transform("translate3d(0px,0,"+L+"px) rotateX("+(this.isHorizontal()?0:p)+"deg) rotateY("+(this.isHorizontal()?-p:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},Y={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,i=0;i<e.length;i+=1){var s=e.eq(i),r=s[0].progress;this.params.flipEffect.limitRotation&&(r=Math.max(Math.min(s[0].progress,
11),-1));var a=-180*r,o=0,l=-s[0].swiperSlideOffset,h=0;if(this.isHorizontal()?t&&(a=-a):(h=l,l=0,o=-a,a=0),s[0].style.zIndex=-Math.abs(Math.round(r))+e.length,this.params.flipEffect.slideShadows){var u=this.isHorizontal()?s.find(".swiper-slide-shadow-left"):s.find(".swiper-slide-shadow-top"),c=this.isHorizontal()?s.find(".swiper-slide-shadow-right"):s.find(".swiper-slide-shadow-bottom");0===u.length&&(u=n('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),s.append(u)),0===c.length&&(c=n('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),s.append(c)),u.length&&(u[0].style.opacity=Math.max(-r,0)),c.length&&(c[0].style.opacity=Math.max(r,0))}s.transform("translate3d("+l+"px, "+h+"px, 0px) rotateX("+o+"deg) rotateY("+a+"deg)")}},setTransition:function(e){var t=this,i=t.slides,n=t.activeIndex,s=t.$wrapperEl;if(i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var r=!1;i.eq(n).transitionEnd((function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)s.trigger(e[i])}}))}}},U={setTranslate:function(){for(var e=this.width,t=this.height,i=this.slides,s=this.$wrapperEl,r=this.slidesSizesGrid,a=this.params.coverflowEffect,l=this.isHorizontal(),h=this.translate,u=l?e/2-h:t/2-h,c=l?a.rotate:-a.rotate,d=a.depth,p=0,f=i.length;p<f;p+=1){var v=i.eq(p),m=r[p],g=(u-v[0].swiperSlideOffset-m/2)/m*a.modifier,y=l?c*g:0,b=l?0:c*g,w=-d*Math.abs(g),x=l?0:a.stretch*g,S=l?a.stretch*g:0;Math.abs(S)<.001&&(S=0),Math.abs(x)<.001&&(x=0),Math.abs(w)<.001&&(w=0),Math.abs(y)<.001&&(y=0),Math.abs(b)<.001&&(b=0);var C="translate3d("+S+"px,"+x+"px,"+w+"px)  rotateX("+b+"deg) rotateY("+y+"deg)";if(v.transform(C),v[0].style.zIndex=1-Math.abs(Math.round(g)),a.slideShadows){var E=l?v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),T=l?v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom");
10===E.length&&(E=n('<div class="swiper-slide-shadow-'+(l?"left":"top")+'"></div>'),v.append(E)),0===T.length&&(T=n('<div class="swiper-slide-shadow-'+(l?"right":"bottom")+'"></div>'),v.append(T)),E.length&&(E[0].style.opacity=g>0?g:0),T.length&&(T[0].style.opacity=-g>0?-g:0)}}(o.pointerEvents||o.prefixedPointerEvents)&&(s[0].style.perspectiveOrigin=u+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},W={init:function(){var e=this.params.thumbs,t=this.constructor;e.swiper instanceof t?(this.thumbs.swiper=e.swiper,a.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),a.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):a.isObject(e.swiper)&&(this.thumbs.swiper=new t(a.extend({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick:function(){var e=this.thumbs.swiper;if(e){var t=e.clickedIndex,i=e.clickedSlide;if(!(i&&n(i).hasClass(this.params.thumbs.slideThumbActiveClass)||null==t)){var s;if(s=e.params.loop?parseInt(n(e.clickedSlide).attr("data-swiper-slide-index"),10):t,this.params.loop){var r=this.activeIndex;this.slides.eq(r).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,r=this.activeIndex);var a=this.slides.eq(r).prevAll('[data-swiper-slide-index="'+s+'"]').eq(0).index(),o=this.slides.eq(r).nextAll('[data-swiper-slide-index="'+s+'"]').eq(0).index();s=void 0===a?o:void 0===o?a:o-r<r-a?o:a}this.slideTo(s)}}},update:function(e){var t=this.thumbs.swiper;if(t){var i="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():t.params.slidesPerView;if(this.realIndex!==t.realIndex){var n,s=t.activeIndex;if(t.params.loop){t.slides.eq(s).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,s=t.activeIndex);var r=t.slides.eq(s).prevAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index(),a=t.slides.eq(s).nextAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index();n=void 0===r?a:void 0===a?r:a-s==s-r?s:a-s<s-r?a:r}else n=this.realIndex;t.visibleSlidesIndexes&&t.visibleSlidesIndexes.indexOf(n)<0&&(t.params.centeredSlides?n=n>s?n-Math.floor(i/2)+1:n+Math.floor(i/2)-1:n>s&&(n=n-i+1),t.slideTo(n,e?0:void 0))}var o=1,l=this.params.thumbs.slideThumbActiveClass;if(this.params.slidesPerView>1&&!this.params.centeredSlides&&(o=this.params.slidesPerView),t.slides.removeClass(l),t.params.loop||t.params.virtual)for(var h=0;h<o;h+=1)t.$wrapperEl.children('[data-swiper-slide-index="'+(this.realIndex+h)+'"]').addClass(l);else for(var u=0;u<o;u+=1)t.slides.eq(this.realIndex+u).addClass(l)}}},K=[C,E,T,M,I,$,A,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){a.extend(this,{mousewheel:{enabled:!1,enable:z.enable.bind(this),disable:z.disable.bind(this),handle:z.handle.bind(this),handleMouseEnter:z.handleMouseEnter.bind(this),handleMouseLeave:z.handleMouseLeave.bind(this),lastScrollTime:a.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){a.extend(this,{navigation:{init:F.init.bind(this),update:F.update.bind(this),destroy:F.destroy.bind(this),onNextClick:F.onNextClick.bind(this),onPrevClick:F.onPrevClick.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,i=this.navigation,s=i.$nextEl,r=i.$prevEl;!this.params.navigation.hideOnClick||n(e.target).is(r)||n(e.target).is(s)||(s?t=s.hasClass(this.params.navigation.hiddenClass):r&&(t=r.hasClass(this.params.navigation.hiddenClass)),!0===t?this.emit
1("navigationShow",this):this.emit("navigationHide",this),s&&s.toggleClass(this.params.navigation.hiddenClass),r&&r.toggleClass(this.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){a.extend(this,{pagination:{init:D.init.bind(this),render:D.render.bind(this),update:D.update.bind(this),destroy:D.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){(this.params.loop||void 0===this.snapIndex)&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){this.params.pagination.el&&this.params.pagination.hideOnClick&&this.pagination.$el.length>0&&!n(e.target).hasClass(this.params.pagination.bulletClass)&&(!0===this.pagination.$el.hasClass(this.params.pagination.hiddenClass)?this.emit("paginationShow",this):this.emit("paginationHide",this),this.pagination.$el.toggleClass(this.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){a.extend(this,{scrollbar:{init:R.init.bind(this),destroy:R.destroy.bind(this),updateSize:R.updateSize.bind(this),setTranslate:R.setTranslate.bind(this),setTransition:R.setTransition.bind(this),enableDraggable:R.enableDraggable.bind(this),disableDraggable:R.disableDraggable.bind(this),setDragPosition:R.setDragPosition.bind(this),getPointerPosition:R.getPointerPosition.bind(this),onDragStart:R.onDragStart.bind(this),onDragMove:R.onDragMove.bind(this),onDragEnd:R.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){a.extend(this,{parallax:{setTransform:O.setTransform.bind(this),setTranslate:O.setTranslate.bind(this),setTransition:O.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(i){t[i]=_[i].bind(e)})),a.extend(e,{zoom:t});var i=1;Object.defineProperty(e.zoom,"scale",{get:function(){return i},set:function(t){if(i!==t){var n=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,s=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,n,s)}i=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){a.extend(this,{lazy:{initialImageLoaded:!1,load:V.load.bind(this),loadInSlide:V.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){a.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:B.getInterpolateFunction.bind(this),setTranslate:B.setTranslate.bind(this),setTransition:B.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var e=this;a.extend(e,{a11y:{liveRegion:n('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}
1),Object.keys(N).forEach((function(t){e.a11y[t]=N[t].bind(e)}))},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){a.extend(this,{history:{init:H.init.bind(this),setHistory:H.setHistory.bind(this),setHistoryPopState:H.setHistoryPopState.bind(this),scrollToSlide:H.scrollToSlide.bind(this),destroy:H.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){a.extend(this,{hashNavigation:{initialized:!1,init:q.init.bind(this),destroy:q.destroy.bind(this),setHash:q.setHash.bind(this),onHashCange:q.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;a.extend(e,{autoplay:{running:!1,paused:!1,run:j.run.bind(e),start:j.start.bind(e),stop:j.stop.bind(e),pause:j.pause.bind(e),onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){a.extend(this,{fadeEffect:{setTranslate:G.setTranslate.bind(this),setTransition:G.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"fade");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};a.extend(this.params,e),a.extend(this.originalParams,e)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){a.extend(this,{cubeEffect:{setTranslate:X.setTranslate.bind(this),setTransition:X.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};a.extend(this.params,e),a.extend(this.originalParams,e)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){a.extend(this,{flipEffect:{setTranslate:Y.setTranslate.bind(this),setTransition:Y.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};a.extend(this.params,e),a.extend(this.originalParams,e)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){a.extend(this,{coverflowEffect:{setTranslate:U.setTranslate.bind(this),setTransition:U.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){a.extend(this,{thumbs:{swiper:null,init:W.init.bind(this),update:W.update.bind(this),onThumbClick:W.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===S.use&&(S.use=S.Class.use,S.installModule=S.Class.installModule),S.use(K),S}()},"36R9":function(e,t,i){},H5Sr:function(e,t,i){(function(t){e.exports=function e(t,i,n){function s(a,o){if(!i[a]){if(!t[a]){if(r)return r(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var h=i[a]={exports:{}};
1t[a][0].call(h.exports,(function(e){return s(t[a][1][e]||e)}),h,h.exports,e,t,i,n)}return i[a].exports}for(var r=!1,a=0;a<n.length;a++)s(n[a]);return s}({1:[function(e,t,i){var n=e("./utils").addDataAttr,s=e("./browser");t.exports=function(e,t){n(t,s.currentScript(e)),void 0===t.isFileProtocol&&(t.isFileProtocol=/^(file|(chrome|safari)(-extension)?|resource|qrc|app):/.test(e.location.protocol)),t.async=t.async||!1,t.fileAsync=t.fileAsync||!1,t.poll=t.poll||(t.isFileProtocol?1e3:1500),t.env=t.env||("127.0.0.1"==e.location.hostname||"0.0.0.0"==e.location.hostname||"localhost"==e.location.hostname||e.location.port&&e.location.port.length>0||t.isFileProtocol?"development":"production");var i=/!dumpLineNumbers:(comments|mediaquery|all)/.exec(e.location.hash);i&&(t.dumpLineNumbers=i[1]),void 0===t.useFileCache&&(t.useFileCache=!0),void 0===t.onReady&&(t.onReady=!0)}},{"./browser":3,"./utils":10}],2:[function(e,t,i){e("promise/polyfill.js");var n=window.less||{};e("./add-default-options")(window,n);var s,r,a,o=t.exports=e("./index")(window,n);function l(e){e.filename&&console.warn(e),n.async||r.removeChild(a)}window.less=o,n.onReady&&(/!watch/.test(window.location.hash)&&o.watch(),n.async||(s="body { display: none !important }",r=document.head||document.getElementsByTagName("head")[0],(a=document.createElement("style")).type="text/css",a.styleSheet?a.styleSheet.cssText=s:a.appendChild(document.createTextNode(s)),r.appendChild(a)),o.registerStylesheetsImmediately(),o.pageLoadFinished=o.refresh("development"===o.env).then(l,l))},{"./add-default-options":1,"./index":8,"promise/polyfill.js":97}],3:[function(e,t,i){var n=e("./utils");t.exports={createCSS:function(e,t,i){var s=i.href||"",r="less:"+(i.title||n.extractId(s)),a=e.getElementById(r),o=!1,l=e.createElement("style");l.setAttribute("type","text/css"),i.media&&l.setAttribute("media",i.media),l.id=r,l.styleSheet||(l.appendChild(e.createTextNode(t)),o=null!==a&&a.childNodes.length>0&&l.childNodes.length>0&&a.firstChild.nodeValue===l.firstChild.nodeValue);var h=e.getElementsByTagName("head")[0];if(null===a||!1===o){var u=i&&i.nextSibling||null;u?u.parentNode.insertBefore(l,u):h.appendChild(l)}if(a&&!1===o&&a.parentNode.removeChild(a),l.styleSheet)try{l.styleSheet.cssText=t}catch(e){throw new Error("Couldn't reassign styleSheet.cssText.")}},currentScript:function(e){var t=e.document;return t.currentScript||function(){var e=t.getElementsByTagName("script");return e[e.length-1]}()}}},{"./utils":10}],4:[function(e,t,i){t.exports=function(e,t,i){var n=null;if("development"!==t.env)try{n=void 0===e.localStorage?null:e.localStorage}catch(e){}return{setCSS:function(e,t,s,r){if(n){i.info("saving "+e+" to cache.");try{n.setItem(e,r),n.setItem(e+":timestamp",t),s&&n.setItem(e+":vars",JSON.stringify(s))}catch(t){i.error('failed to save "'+e+'" to local storage for caching.')}}},getCSS:function(e,t,i){var s=n&&n.getItem(e),r=n&&n.getItem(e+":timestamp"),a=n&&n.getItem(e+":vars");if(i=i||{},r&&t.lastModified&&new Date(t.lastModified).valueOf()===new Date(r).valueOf()&&(!i&&!a||JSON.stringify(i)===a))return s}}}},{}],5:[function(e,t,i){var n=e("./utils"),s=e("./browser");t.exports=function(e,t,i){return{add:function(r,a){i.errorReporting&&"html"!==i.errorReporting?"console"===i.errorReporting?function(e,n){var s=e.filename||n,r=[],a=(e.type||"Syntax")+"Error: "+(e.message||"There is an error in your .less file")+" in "+s+" ",o=function(e,t,i){void 0!==e.extract[t]&&r.push("{line} {content}".replace(/\{line\}/,(parseInt(e.line,10)||0)+(t-1)).replace(/\{class\}/,i).replace(/\{content\}/,e.extract[t]))};e.extract&&(o(e,0,""),o(e,1,"line"),o(e,2,""),a+="on line "+e.line+", column "+(e.column+1)+":\n"+r.join("\n")),e.stack&&(e.extract||i.logLevel>=4)&&(a+="\nStack Trace\n"+e.stack),t.logger.error(a)}(r,a):"function"==typeof i.errorReporting&&i.errorReporting("add",r,a):function(t,r){var a,o,l="less-error-message:"+n.extractId(r||""),h=e.document.createElement("div"),u=[],c=t.filename||r,d=c.match(/([^\/]+(\?.*)?)$/)[1];h.id=l,h.className="less-error-message",o="<h3>"+(t.type||"Syntax")+"Error: "+(t.message||"There is an error in your .less file")+'</h3><p>in <a href="'+c+'">'+d+"</a> ";var p=function(e,t,i){void 0!==e.extract[t]&&u.push('<li><label>{line}</label><pre class="{class}">{content}</pre></li>'.replace(/\{line\}
1/,(parseInt(e.line,10)||0)+(t-1)).replace(/\{class\}/,i).replace(/\{content\}/,e.extract[t]))};t.extract&&(p(t,0,""),p(t,1,"line"),p(t,2,""),o+="on line "+t.line+", column "+(t.column+1)+":</p><ul>"+u.join("")+"</ul>"),t.stack&&(t.extract||i.logLevel>=4)&&(o+="<br/>Stack Trace</br />"+t.stack.split("\n").slice(1).join("<br/>")),h.innerHTML=o,s.createCSS(e.document,[".less-error-message ul, .less-error-message li {","list-style-type: none;","margin-right: 15px;","padding: 4px 0;","margin: 0;","}",".less-error-message label {","font-size: 12px;","margin-right: 15px;","padding: 4px 0;","color: #cc7777;","}",".less-error-message pre {","color: #dd6666;","padding: 4px 0;","margin: 0;","display: inline-block;","}",".less-error-message pre.line {","color: #ff0000;","}",".less-error-message h3 {","font-size: 20px;","font-weight: bold;","padding: 15px 0 5px 0;","margin: 0;","}",".less-error-message a {","color: #10a","}",".less-error-message .error {","color: red;","font-weight: bold;","padding-bottom: 2px;","border-bottom: 1px dashed red;","}"].join("\n"),{title:"error-message"}),h.style.cssText=["font-family: Arial, sans-serif","border: 1px solid #e00","background-color: #eee","border-radius: 5px","-webkit-border-radius: 5px","-moz-border-radius: 5px","color: #e
100","padding: 15px","margin-bottom: 15px"].join(";"),"development"===i.env&&(a=setInterval((function(){var t=e.document,i=t.body;i&&(t.getElementById(l)?i.replaceChild(h,t.getElementById(l)):i.insertBefore(h,i.firstChild),clearInterval(a))}),10))}(r,a)},remove:function(t){i.errorReporting&&"html"!==i.errorReporting?"console"===i.errorReporting||"function"==typeof i.errorReporting&&i.errorReporting("remove",t):function(t){var i=e.document.getElementById("less-error-message:"+n.extractId(t));i&&i.parentNode.removeChild(i)}(t)}}}},{"./browser":3,"./utils":10}],6:[function(e,t,i){t.exports=function(t,i){var n=e("../less/environment/abstract-file-manager.js"),s={},r=function(){};return(r.prototype=new n).alwaysMakePathsAbsolute=function(){return!0},r.prototype.join=function(e,t){return e?this.extractUrlParts(t,e).path:t},r.prototype.doXHR=function(e,n,s,r){var a=function(){if(window.XMLHttpRequest&&("file:"!==window.location.protocol||!("ActiveXObject"in window)))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){return i.error("browser doesn't support AJAX."),null}}(),o=!t.isFileProtocol||t.fileAsync;function l(t,i,n){t.status>=200&&t.status<300?i(t.responseText,t.getResponseHeader("Last-Modified")):"function"==typeof n&&n(t.status,e)}"function"==typeof a.overrideMimeType&&a.overrideMimeType("text/css"),i.debug("XHR: Getting '"+e+"'"),a.open("GET",e,o),a.setRequestHeader("Accept",n||"text/x-less, text/css; q=0.9, */*; q=0.5"),a.send(null),t.isFileProtocol&&!t.fileAsync?0===a.status||a.status>=200&&a.status<300?s(a.responseText):r(a.status,e):o?a.onreadystatechange=function(){4==a.readyState&&l(a,s,r)}:l(a,s,r)},r.prototype.supports=function(e,t,i,n){return!0},r.prototype.clearFileCache=function(){s={}},r.prototype.loadFile=function(e,t,i,n,r){t&&!this.isPathAbsolute(e)&&(e=t+e),i=i||{};var a=this.extractUrlParts(e,window.location.href).url;if(i.useFileCache&&s[a])try{var o=s[a];r(null,{contents:o,filename:a,webInfo:{lastModified:new Date}})}catch(e){r({filename:a,message:"Error loading file "+a+" error was "+e.message})}else this.doXHR(a,i.mime,(function(e,t){s[a]=e,r(null,{contents:e,filename:a,webInfo:{lastModified:t}})}),(function(e,t){r({type:"File",message:"'"+t+"' wasn't found ("+e+")",href:a})}))},r}},{"../less/environment/abstract-file-manager.js":15}],7:[function(e,t,i){t.exports=function(){function t(){throw{type:"Runtime",message:"Image size functions are not supported in browser version of less"}}var i={"image-size":function(e){return t(),-1},"image-width":function(e){return t(),-1},"image-height":function(e){return t(),-1}};e("./../less/functions/function-registry").addMultiple(i)}},{"./../less/functions/function-registry":22}],8:[function(e,t,i){var n=e("./utils").addDataAttr,s=e("./browser");t.exports=function(t,i){var r=t.document,a=e("../less")();a.options=i;var o=a.environment,l=e("./file-manager")(i,a.logger),h=new l;o.addFileManager(h),a.FileManager=l,e("./log-listener")(a,i);var u=e("./error-reporting")(t,a,i),c=a.cache=i.cache||e("./cache")(t,i,a.logger);e("./image-size")(a.environment),i.functions&&a.functions.functionRegistry.addMultiple(i.functions);var d=/^text\/(x-)?less$/;function p(e){var t={};for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function f(e,t){var i=Array.prototype.slice.call(arguments,2);return function(){var n=i.concat(Array.prototype.slice.call(arguments,0));return e.apply(t,n)}}function v(e){for(var t,n=r.getElementsByTagName("style"),s=0;s<n.length;s++)if((t=n[s]).type.match(d)){var o=p(i);o.modifyVars=e;var l=t.innerHTML||"";o.filename=r.location.href.replace(/#.*$/,""),a.render(l,o,f((function(e,t,i){t?u.add(t,"inline"):(e.type="text/css",e.styleSheet?e.styleSheet.cssText=i.css:e.innerHTML=i.css)}),null,t))}}function m(e,t,s,r,l){var d=p(i);function f(n){var o=n.contents,l=n.filename,p=n.webInfo,f={currentDirectory:h.getPath(l),filename:l,rootFilename:l,relativeUrls:d.relativeUrls};if(f.entryPath=f.currentDirectory,f.rootpath=d.rootpath||f.currentDirectory,p){p.remaining=r;var v=c.getCSS(l,p,d.modifyVars);if(!s&&v)return p.local=!0,void t(null,v,o,e,p,l)}u.remove(l),d.rootFileInfo=f,a.render(o,d,(function(n,s){n?(n.href=l,t(n)):(s.css=function(e){return i.postProcessor&&"function"==typeof i.postProcessor&&(e=i.postProcessor.call(e,e)||e),e}(s.css),c.setCSS(e.href,p.lastModified,d.modifyVars,s.css),t(null,s.css,o,e,p,l))}))}n(d,e),d.mime=e.type,l&&(d.modifyVars=l),h.loadFile(e.href,null,d,o,(function(e,i){e?t(e):f(i)}))}function g(e,t,i){for(var n=0;n<a.sheets.length;n++)m(a.sheets[n],e,t,a.sheets.length-(n+1),i)}return a.watch=function(){return a.watchMode||(a.env="development","development"===a.env&&(a.watchTimer=setInterval((function(){a.watchMode&&(h.clearFileCache(),g((function(e,i,n,r,a){e?u.add(e,e.href||r.href):i&&s.createCSS(t.document,i,r)})))}),i.poll))),this.watchMode=!0,!0},a.unwatch=function(){return clearInterval(a.watchTimer),this.watchMode=!1,!1},a.registerStylesheetsImmediately=function(){var e=r.getElementsByTagName("link");a.sheets=[];for(var t=0;t<e.length;t++)("stylesheet/less"===e[t].rel||e[t].rel.match(/stylesheet/)&&e[t].type.match(d))&&a.sheets.push(e[t])},a.registerStylesheets=function(){return new Promise((function(e,t){a.registerStylesheetsImmediately(),e()}))},a.modifyVars=function(e){return a.refresh(!0,e,!1)},a.refresh=function(e,i,n){return(e||n)&&!1!==n&&h.clearFileCache(),new Promise((function(n,r){var o,l,h,c;o=l=new Date,0===(c=a.sheets.length)?(l=new Date,h=l-o,a.logger.info("Less has finished and no sheets were loaded."),n({startTime:o,endTime:l,totalMilliseconds:h,sheets:a.sheets.length})):g((function(e,i,d,p,f){if(e)return u.add(e,e.href||p.href),void r(e);f.local?a.logger.info("Loading "+p.href+" from cache."):a.logger.info("Rendered "+p.href+" successfully."),s.createCSS(t.document,i,p),a.logger.info("CSS for "+p.href+" generated in "+(new Date-l)+"ms"),0==--c&&(h=new Date-o,a.logger.info("Less has finished. CSS generated in "+h+"ms"),n({startTime:o,endTime:l,totalMilliseconds:h,sheets:a.sheets.length})),l=new Date}),e,i),v(i)}))},a.refreshStyles=v,a}},{"../less":31,"./browser":3,"./cache":4,"./error-reporting":5,"./file-manager"
1:6,"./image-size":7,"./log-listener":9,"./utils":10}],9:[function(e,t,i){t.exports=function(e,t){t.logLevel=void 0!==t.logLevel?t.logLevel:"development"===t.env?3:1,t.loggers||(t.loggers=[{debug:function(e){t.logLevel>=4&&console.log(e)},info:function(e){t.logLevel>=3&&console.log(e)},warn:function(e){t.logLevel>=2&&console.warn(e)},error:function(e){t.logLevel>=1&&console.error(e)}}]);for(var i=0;i<t.loggers.length;i++)e.logger.addListener(t.loggers[i])}},{}],10:[function(e,t,i){t.exports={extractId:function(e){return e.replace(/^[a-z-]+:\/+?[^\/]+/,"").replace(/[\?\&]livereload=\w+/,"").replace(/^\//,"").replace(/\.[a-zA-Z]+$/,"").replace(/[^\.\w-]+/g,"-").replace(/\./g,":")},addDataAttr:function(e,t){for(var i in t.dataset)if(t.dataset.hasOwnProperty(i))if("env"===i||"dumpLineNumbers"===i||"rootpath"===i||"errorReporting"===i)e[i]=t.dataset[i];else try{e[i]=JSON.parse(t.dataset[i])}catch(e){}}}},{}],11:[function(e,t,i){var n={};t.exports=n;var s=function(e,t,i){if(e)for(var n=0;n<i.length;n++)e.hasOwnProperty(i[n])&&(t[i[n]]=e[i[n]])},r=["paths","relativeUrls","rootpath","strictImports","insecure","dumpLineNumbers","compress","syncImport","chunkInput","mime","useFileCache","processImports","pluginManager"];n.Parse=function(e){s(e,this,r),"string"==typeof this.paths&&(this.paths=[this.paths])};var a=["paths","compress","ieCompat","strictMath","strictUnits","sourceMap","importMultiple","urlArgs","javascriptEnabled","pluginManager","importantScope"];n.Eval=function(e,t){s(e,this,a),"string"==typeof this.paths&&(this.paths=[this.paths]),this.frames=t||[],this.importantScope=this.importantScope||[]},n.Eval.prototype.inParenthesis=function(){this.parensStack||(this.parensStack=[]),this.parensStack.push(!0)},n.Eval.prototype.outOfParenthesis=function(){this.parensStack.pop()},n.Eval.prototype.isMathOn=function(){return!this.strictMath||this.parensStack&&this.parensStack.length},n.Eval.prototype.isPathRelative=function(e){return!/^(?:[a-z-]+:|\/|#)/i.test(e)},n.Eval.prototype.normalizePath=function(e){var t,i=e.split("/").reverse();for(e=[];0!==i.length;)switch(t=i.pop()){case".":break;case"..":0===e.length||".."===e[e.length-1]?e.push(t):e.pop();break;default:e.push(t)}return e.join("/")}},{}],12:[function(e,t,i){t.exports={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",s
1almon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},{}],13:[function(e,t,i){t.exports={colors:e("./colors"),unitConversions:e("./unit-conversions")}},{"./colors":12,"./unit-conversions":14}],14:[function(e,t,i){t.exports={length:{m:1,cm:.01,mm:.001,in:.0254,px:.0254/96,pt:.0254/72,pc:.0254/72*12},duration:{s:1,ms:.001},angle:{rad:1/(2*Math.PI),deg:1/360,grad:.0025,turn:1}}},{}],15:[function(e,t,i){var n=function(){};n.prototype.getPath=function(e){var t=e.lastIndexOf("?");return t>0&&(e=e.slice(0,t)),(t=e.lastIndexOf("/"))<0&&(t=e.lastIndexOf("\\")),t<0?"":e.slice(0,t+1)},n.prototype.tryAppendExtension=function(e,t){return/(\.[a-z]*$)|([\?;].*)$/.test(e)?e:e+t},n.prototype.tryAppendLessExtension=function(e){return this.tryAppendExtension(e,".less")},n.prototype.supportsSync=function(){return!1},n.prototype.alwaysMakePathsAbsolute=function(){return!1},n.prototype.isPathAbsolute=function(e){return/^(?:[a-z-]+:|\/|\\|#)/i.test(e)},n.prototype.join=function(e,t){return e?e+t:t},n.prototype.pathDiff=function(e,t){var i,n,s,r,a=this.extractUrlParts(e),o=this.extractUrlParts(t),l="";if(a.hostPart!==o.hostPart)return"";for(n=Math.max(o.directories.length,a.directories.length),i=0;i<n&&o.directories[i]===a.directories[i];i++);for(r=o.directories.slice(i),s=a.directories.slice(i),i=0;i<r.length-1;i++)l+="../";for(i=0;i<s.length-1;i++)l+=s[i]+"/";return l},n.prototype.extractUrlParts=function(e,t){var i,n,s=/^((?:[a-z-]+:)?\/{2}(?:[^\/\?#]*\/)|([\/\\]))?((?:[^\/\\\?#]*[\/\\])*)([^\/\\\?#]*)([#\?].*)?$/i,r=e.match(s),a={},o=[];if(!r)throw new Error("Could not parse sheet href - '"+e+"'");if(t&&(!r[1]||r[2])){if(!(n=t.match(s)))throw new Error("Could not parse page url - '"+t+"'");r[1]=r[1]||n[1]||"",r[2]||(r[3]=n[3]+r[3])}if(r[3]){for(o=r[3].replace(/\\/g,"/").split("/"),i=0;i<o.length;i++)"."===o[i]&&(o.splice(i,1),i-=1);for(i=0;i<o.length;i++)".."===o[i]&&i>0&&(o.splice(i-1,2),i-=2)}return a.hostPart=r[1],a.directories=o,a.path=(r[1]||"")+o.join("/"),a.fileUrl=a.path+(r[4]||""),a.url=a.fileUrl+(r[5]||""),a},t.exports=n},{}],16:[function(e,t,i){var n=e("../logger"),s=function(e,t){this.fileManagers=t||[],e=e||{};for(var i=[],n=i.concat(["encodeBase64","mimeLookup","charsetLookup","getSourceMapGenerator"]),s=0;s<n.length;s++){var r=n[s],a=e[r];a?this[r]=a.bind(e):s<i.length&&this.warn("missing required function in environment - "+r)}};s.prototype.getFileManager=function(e,t,i,s,r){e||n.warn("getFileManager called with no filename.. Please report this issue. continuing."),null==t&&n.warn("getFileManager called with null directory.. Please report this issue. continuing.");var a=this.fileManagers;i.pluginManager&&(a=[].concat(a).concat(i.pluginManager.getFileManagers()));for(var o=a.length-1;o>=0;o--){var l=a[o];if(l[r?"supportsSync":"supports"](e,t,i,s))return l}return null},s.prototype.addFileManager=function(e){this.fileManagers.push(e)},s.prototype.clearFileManagers=function(){this.fileManagers=[]},t.exports=s},{"../logger":33}],17:[function(e,t,i){var n=e("../tree/color"),s=e("./function-registry");function r(e,t,i){var s,r,a,o,l=t.alpha,h=i.alpha,u=[];a=h+l*(1-h);for(var c=0;c<3;c++)o=e(s=t.rgb[c]/255,r=i.rgb[c]/255),a&&(o=(h*r+l*(s-h*(s+r-o)))/a),u[c]=255*o;return new n(u,a)}var a={multiply:function(e,t){return e*t},screen:function(e,t){return e+t-e*t},overlay:function(e,t){return(e*=2)<=1?a.multiply(e,t):a.screen(e-1,t)},softlight:function(e,t){var i=1,n=e;return t>.5&&(n=1,i=e>.25?Math.sqrt(e):((16*e-12)*e+4)*e),e-(1-2*t)*n*(i-e)},hardlight:function(e,t){return a.overlay(t,e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t},average:function(e,t){return(e+t)/2},negation:function(e,t){return 1-Math.abs(e+t-1)}};for(var o in a)a.hasOwnProperty(o)&&(r[o]=r.bind(null,a[o]));s.addMultiple(r)},{"../tree/color":50,"./function-registry":22}],18:[function(e,t,i){var n,s=e("../tree/dimension"),r=e("../tree/color"),a=e("../tree/quoted"),o=e("../tree/anonymous"),l=e("./function-registry");function h(e){return Math.min(1,Math.max(0,e))}function u(e){return n.hsla(e.h,e.s,e.l,e.a)}function c(e){if(e instanceof s)return parseFloat(e.unit.is("%")?e.value/100:e.value);if("number"==typeof e)return e;throw{type:"Argument",message:"color functions take numbers as parameters"}}n={rgb:function(e,t,i){return n.rgba(e,t,i,1)},rgba:function(e,t,i,n){var a=[e,t,i].map((function(e){return function(e,t){return e instanceof s&&e.unit.is("%")?parseFloat(255*e.value/100):c(e)}(e)}));return n=c(n),new r(a,n)},hsl:function(e,t,i){return n.hsla(e,t,i,1)},hsla:function(e,t,i,s){var r,a;function o(e){return 6*(e=e<0?e+1:e>1?e-1:e)<1?r+(a-r)*e*6:2*e<1?a:3*e<2?r+(a-r)*(2/3-e)*6:r}return e=c(e)%360/360,t=h(c(t)),i=h(c(i)),s=h(c(s)),r=2*i-(a=i<=.5?i*(t+1):i+t-i*t),n.rgba(255*o(e+1/3),255*
1o(e),255*o(e-1/3),s)},hsv:function(e,t,i){return n.hsva(e,t,i,1)},hsva:function(e,t,i,s){var r,a;e=c(e)%360/360*360,t=c(t),i=c(i),s=c(s);var o=[i,i*(1-t),i*(1-(a=e/60-(r=Math.floor(e/60%6)))*t),i*(1-(1-a)*t)],l=[[0,3,1],[2,0,1],[1,0,3],[1,2,0],[3,1,0],[0,1,2]];return n.rgba(255*o[l[r][0]],255*o[l[r][1]],255*o[l[r][2]],s)},hue:function(e){return new s(e.toHSL().h)},saturation:function(e){return new s(100*e.toHSL().s,"%")},lightness:function(e){return new s(100*e.toHSL().l,"%")},hsvhue:function(e){return new s(e.toHSV().h)},hsvsaturation:function(e){return new s(100*e.toHSV().s,"%")},hsvvalue:function(e){return new s(100*e.toHSV().v,"%")},red:function(e){return new s(e.rgb[0])},green:function(e){return new s(e.rgb[1])},blue:function(e){return new s(e.rgb[2])},alpha:function(e){return new s(e.toHSL().a)},luma:function(e){return new s(e.luma()*e.alpha*100,"%")},luminance:function(e){var t=.2126*e.rgb[0]/255+.7152*e.rgb[1]/255+.0722*e.rgb[2]/255;return new s(t*e.alpha*100,"%")},saturate:function(e,t,i){if(!e.rgb)return null;var n=e.toHSL();return void 0!==i&&"relative"===i.value?n.s+=n.s*t.value/100:n.s+=t.value/100,n.s=h(n.s),u(n)},desaturate:function(e,t,i){var n=e.toHSL();return void 0!==i&&"relative"===i.value?n.s-=n.s*t.value/100:n.s-=t.value/100,n.s=h(n.s),u(n)},lighten:function(e,t,i){var n=e.toHSL();return void 0!==i&&"relative"===i.value?n.l+=n.l*t.value/100:n.l+=t.value/100,n.l=h(n.l),u(n)},darken:function(e,t,i){var n=e.toHSL();return void 0!==i&&"relative"===i.value?n.l-=n.l*t.value/100:n.l-=t.value/100,n.l=h(n.l),u(n)},fadein:function(e,t,i){var n=e.toHSL();return void 0!==i&&"relative"===i.value?n.a+=n.a*t.value/100:n.a+=t.value/100,n.a=h(n.a),u(n)},fadeout:function(e,t,i){var n=e.toHSL();return void 0!==i&&"relative"===i.value?n.a-=n.a*t.value/100:n.a-=t.value/100,n.a=h(n.a),u(n)},fade:function(e,t){var i=e.toHSL();return i.a=t.value/100,i.a=h(i.a),u(i)},spin:function(e,t){var i=e.toHSL(),n=(i.h+t.value)%360;return i.h=n<0?360+n:n,u(i)},mix:function(e,t,i){e.toHSL&&t.toHSL||(console.log(t.type),console.dir(t)),i||(i=new s(50));var n=i.value/100,a=2*n-1,o=e.toHSL().a-t.toHSL().a,l=((a*o==-1?a:(a+o)/(1+a*o))+1)/2,h=1-l,u=[e.rgb[0]*l+t.rgb[0]*h,e.rgb[1]*l+t.rgb[1]*h,e.rgb[2]*l+t.rgb[2]*h],c=e.alpha*n+t.alpha*(1-n);return new r(u,c)},greyscale:function(e){return n.desaturate(e,new s(100))},contrast:function(e,t,i,s){if(!e.rgb)return null;if(void 0===i&&(i=n.rgba(255,255,255,1)),void 0===t&&(t=n.rgba(0,0,0,1)),t.luma()>i.luma()){var r=i;i=t,t=r}return s=void 0===s?.43:c(s),e.luma()<s?i:t},argb:function(e){return new o(e.toARGB())},color:function(e){if(e instanceof a&&/^#([a-f0-9]{6}|[a-f0-9]{3})$/i.test(e.value))return new r(e.value.slice(1));if(e instanceof r||(e=r.fromKeyword(e.value)))return e.value=void 0,e;throw{type:"Argument",message:"argument must be a color keyword or 3/6 digit hex e.g. #FFF"}}
1,tint:function(e,t){return n.mix(n.rgb(255,255,255),e,t)},shade:function(e,t){return n.mix(n.rgb(0,0,0),e,t)}},l.addMultiple(n)},{"../tree/anonymous":46,"../tree/color":50,"../tree/dimension":56,"../tree/quoted":73,"./function-registry":22}],19:[function(e,t,i){t.exports=function(t){var i=e("../tree/quoted"),n=e("../tree/url"),s=e("./function-registry"),r=function(e,t){return new n(t,e.index,e.currentFileInfo).eval(e.context)},a=e("../logger");s.add("data-uri",(function(e,s){s||(s=e,e=null);var o=e&&e.value,l=s.value,h=this.currentFileInfo,u=h.relativeUrls?h.currentDirectory:h.entryPath,c=l.indexOf("#"),d="";-1!==c&&(d=l.slice(c),l=l.slice(0,c));var p=t.getFileManager(l,u,this.context,t,!0);if(!p)return r(this,s);var f=!1;if(e)f=/;base64$/.test(o);else{if("image/svg+xml"===(o=t.mimeLookup(l)))f=!1;else{var v=t.charsetLookup(o);f=["US-ASCII","UTF-8"].indexOf(v)<0}f&&(o+=";base64")}var m=p.loadFileSync(l,u,this.context,t);if(!m.contents)return a.warn("Skipped data-uri embedding of "+l+" because file not found"),r(this,s||e);var g=m.contents;if(f&&!t.encodeBase64)return r(this,s);var y="data:"+o+","+(g=f?t.encodeBase64(g):encodeURIComponent(g))+d;return y.length>=32768&&!1!==this.context.ieCompat?(a.warn("Skipped data-uri embedding of "+l+" because its size ("+y.length+" characters) exceeds IE8-safe 32768 characters!"),r(this,s||e)):new n(new i('"'+y+'"',y,!1,this.index,this.currentFileInfo),this.index,this.currentFileInfo)}))}},{"../logger":33,"../tree/quoted":73,"../tree/url":80,"./function-registry":22}],20:[function(e,t,i){var n=e("../tree/keyword"),s={eval:function(){var e=this.value_,t=this.error_;if(t)throw t;if(null!=e)return e?n.True:n.False},value:function(e){this.value_=e},error:function(e){this.error_=e},reset:function(){this.value_=this.error_=null}};e("./function-registry").add("default",s.eval.bind(s)),t.exports=s},{"../tree/keyword":65,"./function-registry":22}],21:[function(e,t,i){var n=e("../tree/expression"),s=function(e,t,i,n){this.name=e.toLowerCase(),this.index=i,this.context=t,this.currentFileInfo=n,this.func=t.frames[0].functionRegistry.get(this.name)};s.prototype.isValid=function(){return Boolean(this.func)},s.prototype.call=function(e){return Array.isArray(e)&&(e=e.filter((function(e){return"Comment"!==e.type})).map((function(e){if("Expression"===e.type){var t=e.value.filter((function(e){return"Comment"!==e.type}));return 1===t.length?t[0]:new n(t)}return e}))),this.func.apply(this,e)},t.exports=s},{"../tree/expression":59}],22:[function(e,t,i){t.exports=function e(t){return{_data:{},add:function(e,t){e=e.toLowerCase(),this._data.hasOwnProperty(e),this._data[e]=t},addMultiple:function(e){Object.keys(e).forEach(function(t){this.add(t,e[t])}.bind(this))},get:function(e){return this._data[e]||t&&t.get(e)},inherit:function(){return e(this)}}}(null)},{}],23:[function(e,t,i){t.exports=function(t){var i={functionRegistry:e("./function-registry"),functionCaller:e("./function-caller")};return e("./default"),e("./color"),e("./color-blending"),e("./data-uri")(t),e("./math"),e("./number"),e("./string"),e("./svg")(t),e("./types"),i}},{"./color":18,"./color-blending":17,"./data-uri":19,"./default":20,"./function-caller":21,"./function-registry":22,"./math":25,"./number":26,"./string":27,"./svg":28,"./types":29}],24:[function(e,t,i){var n=e("../tree/dimension"),s=function(){};s._math=function(e,t,i){if(!(i instanceof n))throw{type:"Argument",message:"argument must be a number"};return null==t?t=i.unit:i=i.unify(),new n(e(parseFloat(i.value)),t)},t.exports=s},{"../tree/dimension":56}],25:[function(e,t,i){var n=e("./function-registry"),s=e("./math-helper.js"),r={ceil:null,floor:null,sqrt:null,abs:null,tan:"",sin:"",cos:"",atan:"rad",asin:"rad",acos:"rad"};for(var a in r)r.hasOwnProperty(a)&&(r[a]=s._math.bind(null,Math[a],r[a]));r.round=function(e,t){var i=void 0===t?0:t.value;return s._math((function(e){return e.toFixed(i)}),null,e)},n.addMultiple(r)},{"./function-registry":22,"./math-helper.js":24}],26:[function(e,t,i){var n=e("../tree/dimension"),s=e("../tree/anonymous"),r=e("./function-registry"),a=e("./math-helper.js"),o=function(e,t){switch((t=Array.prototype.slice.call(t)).length){case 0:throw{type:"Argument",message:"one or more arguments required"}}var i,r,a,o,l,h,u,c,d=[],p={};for(i=0;i<t.length;i++)if((a=t[i])instanceof n)if(u=""!==(h=""===(o=""===a.unit.toString()&&void 0!==c?new n(a.value,c).unify():a.unify()).unit.toString()&&void 0!==u?u:o.unit.toString())&&void 0===u||""!==h&&""===d[0].unify().unit.toString()?h:u,c=""!==h&&void 0===c?a.unit.toString():c,void 0!==(r=void 0!==p[""]&&""!==h&&h===u?p[""]:p[h]))l=""===d[r].unit.toString()&&void 0!==c?new n(d[r].value,c).unify():d[r].unify(),(e&&o.value<l.value||!e&&o.value>l.value)&&(d[r]=a);else{if(void 0!==u&&h!==u)throw{type:"Argument",message:"incompatible types"};p[h]=d.length,d.push(a)}else Array.isArray(t[i].value)&&Array.prototype.push.apply(t,Array.prototype.slice.call(t[i].value));return 1==d.length?d[0]:(t=d.map((function(e){return e.toCSS(this.context)})).join(this.context.compress?",":", "),new s((e?"min":"max")+"("+t+")"))};r.addMultiple({min:function(){return o(!0,arguments)},max:function(){return o(!1,arguments)},convert:function(e,t){return e.convertTo(t.value)},pi:function(){return new n(Math.PI)},mod:function(e,t){return new n(e.value%t.value,e.unit)},pow:function(e,t){if("number"==typeof e&&"number"==typeof t)e=new n(e),t=new n(t);else if(!(e instanceof n&&t instanceof n))throw{type:"Argument",message:"arguments must be numbers"};return new n(Math.pow(e.value,t.value),e.unit)},percentage:function(e){return a._math((function(e){return 100*e}),"%",e)}})},{"../tree/anonymous":46,"../tree/dimension":56,"./function-registry":22,"./math-helper.js":24}],27:[function(e,t,i){var n=e("../tree/quoted"),s=e("../tree/anonymous"),r=e("../tree/javascript");e("./function-registry").addMultiple({e:function(e){return new s(e instanceof r?e.evaluated:e.value)},escape:function(e){return new s(encodeURI(e.value).replace(/=/g,"%3D").replace(/:/g,"%3A").replace(/#/g,"%23").replace(/;/g,"%3B").replace(/\(/g,"%28").replace(/\)/g,"%29"))},replace:function(e,t,i,s){var r=e.value;
1return i="Quoted"===i.type?i.value:i.toCSS(),r=r.replace(new RegExp(t.value,s?s.value:""),i),new n(e.quote||"",r,e.escaped)},"%":function(e){for(var t=Array.prototype.slice.call(arguments,1),i=e.value,s=0;s<t.length;s++)i=i.replace(/%[sda]/i,(function(e){var i="Quoted"===t[s].type&&e.match(/s/i)?t[s].value:t[s].toCSS();return e.match(/[A-Z]$/)?encodeURIComponent(i):i}));return i=i.replace(/%%/g,"%"),new n(e.quote||"",i,e.escaped)}})},{"../tree/anonymous":46,"../tree/javascript":63,"../tree/quoted":73,"./function-registry":22}],28:[function(e,t,i){t.exports=function(t){var i=e("../tree/dimension"),n=e("../tree/color"),s=e("../tree/expression"),r=e("../tree/quoted"),a=e("../tree/url");e("./function-registry").add("svg-gradient",(function(e){var t,o,l,h,u,c,d,p,f="linear",v='x="0" y="0" width="1" height="1"',m={compress:!1},g=e.toCSS(m);function y(){throw{type:"Argument",message:"svg-gradient expects direction, start_color [start_position], [color position,]..., end_color [end_position] or direction, color list"}}switch(2==arguments.length?(arguments[1].value.length<2&&y(),t=arguments[1].value):arguments.length<3?y():t=Array.prototype.slice.call(arguments,1),g){case"to bottom":o='x1="0%" y1="0%" x2="0%" y2="100%"';break;case"to right":o='x1="0%" y1="0%" x2="100%" y2="0%"';break;case"to bottom right":o='x1="0%" y1="0%" x2="100%" y2="100%"';break;case"to top right":o='x1="0%" y1="100%" x2="100%" y2="0%"';break;case"ellipse":case"ellipse at center":f="radial",o='cx="50%" cy="50%" r="75%"',v='x="-50" y="-50" width="101" height="101"';break;default:throw{type:"Argument",message:"svg-gradient direction must be 'to bottom', 'to right', 'to bottom right', 'to top right' or 'ellipse at center'"}}for(l='<?xml version="1.0" ?><svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none"><'+f+'Gradient id="gradient" gradientUnits="userSpaceOnUse" '+o+">",h=0;h<t.length;h+=1)t[h]instanceof s?(u=t[h].value[0],c=t[h].value[1]):(u=t[h],c=void 0),u instanceof n&&((0===h||h+1===t.length)&&void 0===c||c instanceof i)||y(),d=c?c.toCSS(m):0===h?"0%":"100%",p=u.alpha,l+='<stop offset="'+d+'" stop-color="'+u.toRGB()+'"'+(p<1?' stop-opacity="'+p+'"':"")+"/>";return l+="</"+f+"Gradient><rect "+v+' fill="url(#gradient)" /></svg>',l=encodeURIComponent(l),new a(new r("'"+(l="data:image/svg+xml,"+l)+"'",l,!1,this.index,this.currentFileInfo),this.index,this.currentFileInfo)}))}},{"../tree/color":50,"../tree/dimension":56,"../tree/expression":59,"../tree/quoted":73,"../tree/url":80,"./function-registry":22}],29:[function(e,t,i){var n=e("../tree/keyword"),s=e("../tree/detached-ruleset"),r=e("../tree/dimension"),a=e("../tree/color"),o=e("../tree/quoted"),l=e("../tree/anonymous"),h=e("../tree/url"),u=e("../tree/operation"),c=e("./function-registry"),d=function(e,t){return e instanceof t?n.True:n.False},p=function(e,t){if(void 0===t)throw{type:"Argument",message:"missing the required second argument to isunit."};if("string"!=typeof(t="string"==typeof t.value?t.value:t))throw{type:"Argument",message:"Second argument to isunit should be a unit or a string."};return e instanceof r&&e.unit.is(t)?n.True:n.False},f=function(e){return Array.isArray(e.value)?e.value:Array(e)};c.addMultiple({isruleset:function(e){return d(e,s)},iscolor:function(e){return d(e,a)},isnumber:function(e){return d(e,r)},isstring:function(e){return d(e,o)},iskeyword:function(e){return d(e,n)},isurl:function(e){return d(e,h)},ispixel:function(e){return p(e,"px")},ispercentage:function(e){return p(e,"%")},isem:function(e){return p(e,"em")},isunit:p,unit:function(e,t){if(!(e instanceof r))throw{type:"Argument",message:"the first argument to unit must be a number"+(e instanceof u?". Have you forgotten parenthesis?":"")};return t=t?t instanceof n?t.value:t.toCSS():"",new r(e.value,t)},"get-unit":function(e){return new l(e.unit)},extract:function(e,t){return t=t.value-1,f(e)[t]},length:function(e){return new r(f(e).length)}})},{"../tree/anonymous":46,"../tree/color":50,"../tree/detached-ruleset":55,"../tree/dimension":56,"../tree/keyword":65,"../tree/operation":71,"../tree/quoted":73,"../tree/url":80,"./function-registry":22}],30:[function(e,t,i){var n=e("./contexts"),s=e("./parser/parser"),r=e("./plugins/function-importer");t.exports=function(e){var t=function(e,t){this.rootFilename=t.filename,this.paths=e.paths||[],this.contents={},this.contentsIgnoredChars={},this.mime=e.mime,this.error=null,this.context=e,this.queue=[],this.files={}};return t.prototype.push=function(t,i,a,o,l){var h=this;this.queue.push(t);var u=function(e,i,n){h.queue.splice(h.queue.indexOf(t),1);var s=n===h.rootFilename;o.optional&&e?l(null,{rules:[]},!1,null):(h.files[n]=i,e&&!h.error&&(h.error=e),l(e,i,s,n))},c={relativeUrls:this.context.relativeUrls,entryPath:a.entryPath,rootpath:a.rootpath,rootFilename:a.rootFilename},d=e.getFileManager(t,a.currentDirectory,this.context,e);if(d){i&&(t=d.tryAppendExtension(t,o.plugin?".js":".less"));var p=function(e){var t=e.filename,i=e.contents.replace(/^\uFEFF/,"");c.currentDirectory=d.getPath(t),c.relativeUrls&&(c.rootpath=d.join(h.context.rootpath||"",d.pathDiff(c.currentDirectory,c.entryPath)),!d.isPathAbsolute(c.rootpath)&&d.alwaysMakePathsAbsolute()&&(c.rootpath=d.join(c.entryPath,c.rootpath))),c.filename=t;var l=new n.Parse(h.context);l.processImports=!1,h.contents[t]=i,(a.reference||o.reference)&&(c.reference=!0),o.plugin?new r(l,c).eval(i,(function(e,i){u(e,i,t)})):o.inline?u(null,i,t):new s(l,h,c).parse(i,(function(e,i){u(e,i,t)}))},f=d.loadFile(t,a.currentDirectory,this.context,e,(function(e,t){e?u(e):p(t)}));f&&f.then(p,u)}else u({message:"Could not find a file-manager for "+t})},t}},{"./contexts":11,"./parser/parser":38,"./plugins/function-importer":40}],31:[function(e,t,i){t.exports=function(t,i){var n,s,r,a,o;return{version:[2,7,3],data:e("./data"),tree:e("./tree"),Environment:o=e("./environment/environment"),AbstractFileManager:e("./environment/abstract-file-manager"),environment:t=new o(t,i),visitors:e("./visitors"),Parser:e("./parser/parser"),functions:e("./functions")(t),contexts:e("./contexts"),SourceMapOutput:n=e("./source-map-output")(t),SourceMapBuilder:s=e("./source-map-builder")(n,t),ParseTree:r=e("./parse-tree")(s),ImportManager:a=e("./import-manager")(t),render:e("./render")(t,r,a),parse:e("./parse")(t,r,a),LessError:e("./less-error"),transformTree:e("./transform-tree"),utils:e("./utils"),PluginManager:e("./plugin-manager"),logger:e("./logger")}}},{"./contexts":11,"./data":13,"./environment/abstract-file-manager"
1:15,"./environment/environment":16,"./functions":23,"./import-manager":30,"./less-error":32,"./logger":33,"./parse":35,"./parse-tree":34,"./parser/parser":38,"./plugin-manager":39,"./render":41,"./source-map-builder":42,"./source-map-output":43,"./transform-tree":44,"./tree":62,"./utils":83,"./visitors":87}],32:[function(e,t,i){var n=e("./utils"),s=t.exports=function(e,t,i){Error.call(this);var s=e.filename||i;if(t&&s){var r=t.contents[s],a=n.getLocation(e.index,r),o=a.line,l=a.column,h=e.call&&n.getLocation(e.call,r).line,u=r.split("\n");this.type=e.type||"Syntax",this.filename=s,this.index=e.index,this.line="number"==typeof o?o+1:null,this.callLine=h+1,this.callExtract=u[h],this.column=l,this.extract=[u[o-1],u[o],u[o+1]]}this.message=e.message,this.stack=e.stack};if(void 0===Object.create){var r=function(){};r.prototype=Error.prototype,s.prototype=new r}else s.prototype=Object.create(Error.prototype);s.prototype.constructor=s},{"./utils":83}],33:[function(e,t,i){t.exports={error:function(e){this._fireEvent("error",e)},warn:function(e){this._fireEvent("warn",e)},info:function(e){this._fireEvent("info",e)},debug:function(e){this._fireEvent("debug",e)},addListener:function(e){this._listeners.push(e)},removeListener:function(e){for(var t=0;t<this._listeners.length;t++)if(this._listeners[t]===e)return void this._listeners.splice(t,1)},_fireEvent:function(e,t){for(var i=0;i<this._listeners.length;i++){var n=this._listeners[i][e];n&&n(t)}},_listeners:[]}},{}],34:[function(e,t,i){var n=e("./less-error"),s=e("./transform-tree"),r=e("./logger");t.exports=function(e){var t=function(e,t){this.root=e,this.imports=t};return t.prototype.toCSS=function(t){var i,a,o={};try{i=s(this.root,t)}catch(e){throw new n(e,this.imports)}try{var l=Boolean(t.compress);l&&r.warn("The compress option has been deprecated. We recommend you use a dedicated css minifier, for instance see less-plugin-clean-css.");var h={compress:l,dumpLineNumbers:t.dumpLineNumbers,strictUnits:Boolean(t.strictUnits),numPrecision:8};t.sourceMap?(a=new e(t.sourceMap),o.css=a.toCSS(i,h,this.imports)):o.css=i.toCSS(h)}catch(e){throw new n(e,this.imports)}if(t.pluginManager)for(var u=t.pluginManager.getPostProcessors(),c=0;c<u.length;c++)o.css=u[c].process(o.css,{sourceMap:a,options:t,imports:this.imports});for(var d in t.sourceMap&&(o.map=a.getExternalSourceMap()),o.imports=[],this.imports.files)this.imports.files.hasOwnProperty(d)&&d!==this.imports.rootFilename&&o.imports.push(d);return o},t}},{"./less-error":32,"./logger":33,"./transform-tree":44}],35:[function(e,t,i){var n,s=e("./contexts"),r=e("./parser/parser"),a=e("./plugin-manager");t.exports=function(t,i,o){var l=function(t,i,h){if("function"==typeof(i=i||{})&&(h=i,i={}),!h){n||(n="undefined"==typeof Promise?e("promise"):Promise);var u=this;return new n((function(e,n){l.call(u,t,i,(function(t,i){t?n(t):e(i)}))}))}var c,d,p=new a(this);if(p.addPlugins(i.plugins),i.pluginManager=p,c=new s.Parse(i),i.rootFileInfo)d=i.rootFileInfo;else{var f=i.filename||"input",v=f.replace(/[^\/\\]*$/,"");(d={filename:f,relativeUrls:c.relativeUrls,rootpath:c.rootpath||"",currentDirectory:v,entryPath:v,rootFilename:f}).rootpath&&"/"!==d.rootpath.slice(-1)&&(d.rootpath+="/")}var m=new o(c,d);new r(c,m,d).parse(t,(function(e,t){if(e)return h(e);h(null,t,m,i)}),i)};return l}},{"./contexts":11,"./parser/parser":38,"./plugin-manager":39,promise:void 0}],36:[function(e,t,i){t.exports=function(e,t){var i,n,s,r,a,o,l,h,u,c=e.length,d=0,p=0,f=[],v=0;function m(t){var i=a-v;i<512&&!t||!i||(f.push(e.slice(v,a+1)),v=a+1)}for(a=0;a<c;a++)if(!((l=e.charCodeAt(a))>=97&&l<=122||l<34))switch(l){case 40:p++,n=a;continue;case 41:if(--p<0)return t("missing opening `(`",a);continue;case 59:p||m();continue;case 123:d++,i=a;continue;case 125:if(--d<0)return t("missing opening `{`",a);d||p||m();continue;case 92:if(a<c-1){a++;continue}return t("unescaped `\\`",a);case 34:case 39:case 96:for(u=0,o=a,a+=1;a<c;a++)if(!((h=e.charCodeAt(a))>96)){if(h==l){u=1;break}if(92==h){if(a==c-1)return t("unescaped `\\`",a);a++}}if(u)continue;return t("unmatched `"+String.fromCharCode(l)+"`",o);case 47:if(p||a==c-1)continue;if(47==(h=e.charCodeAt(a+1)))for(a+=2;a<c&&(!((h=e.charCodeAt(a))<=13)||10!=h&&13!=h);a++);
vendor: 5,113 bytes, line 1
1else if(42==h){for(s=o=a,a+=2;a<c-1&&(125==(h=e.charCodeAt(a))&&(r=a),42!=h||47!=e.charCodeAt(a+1));a++);if(a==c-1)return t("missing closing `*/`",o);a++}continue;case 42:if(a<c-1&&47==e.charCodeAt(a+1))return t("unmatched `/*`",a);continue}return 0!==d?t(s>i&&r>s?"missing closing `}` or `*/`":"missing closing `}`",i):0!==p?t("missing closing `)`",n):(m(!0),f)}},{}],37:[function(e,t,i){var n=e("./chunker");t.exports=function(){var e,t,i,s,r,a,o,l=[],h={};function u(i){for(var n,s,l,c=h.i,d=t,p=h.i-o,f=h.i+a.length-p,v=h.i+=i,m=e;h.i<f;h.i++){if(n=m.charCodeAt(h.i),h.autoCommentAbsorb&&47===n){if("/"===(s=m.charAt(h.i+1))){l={index:h.i,isLineComment:!0};var g=m.indexOf("\n",h.i+2);g<0&&(g=f),h.i=g,l.text=m.substr(l.index,h.i-l.index),h.commentStore.push(l);continue}if("*"===s){var y=m.indexOf("*/",h.i+2);if(y>=0){l={index:h.i,text:m.substr(h.i,y+2-h.i),isLineComment:!1},h.i+=l.text.length-1,h.commentStore.push(l);continue}}break}if(32!==n&&10!==n&&9!==n&&13!==n)break}if(a=a.slice(i+h.i-v+p),o=h.i,!a.length){if(t<r.length-1)return a=r[++t],u(0),!0;h.finished=!0}return c!==h.i||d!==t}return h.save=function(){o=h.i,l.push({current:a,i:h.i,j:t})},h.restore=function(e){(h.i>i||h.i===i&&e&&!s)&&(i=h.i,s=e);var n=l.pop();a=n.current,o=h.i=n.i,t=n.j},h.forget=function(){l.pop()},h.isWhitespace=function(t){var i=h.i+(t||0),n=e.charCodeAt(i);return 32===n||13===n||9===n||10===n},h.$re=function(e){h.i>o&&(a=a.slice(h.i-o),o=h.i);var t=e.exec(a);return t?(u(t[0].length),"string"==typeof t?t:1===t.length?t[0]:t):null},h.$char=function(t){return e.charAt(h.i)!==t?null:(u(1),t)},h.$str=function(t){for(var i=t.length,n=0;n<i;n++)if(e.charAt(h.i+n)!==t.charAt(n))return null;return u(i),t},h.$quoted=function(){var t=e.charAt(h.i);if("'"===t||'"'===t){for(var i=e.length,n=h.i,s=1;s+n<i;s++)switch(e.charAt(s+n)){case"\\":s++;continue;case"\r":case"\n":break;case t:var r=e.substr(n,s+1);return u(s+1),r}return null}},h.autoCommentAbsorb=!0,h.commentStore=[],h.finished=!1,h.peek=function(t){if("string"==typeof t){for(var i=0;i<t.length;i++)if(e.charAt(h.i+i)!==t.charAt(i))return!1;return!0}return t.test(a)},h.peekChar=function(t){return e.charAt(h.i)===t},h.currentChar=function(){return e.charAt(h.i)},h.getInput=function(){return e},h.peekNotNumeric=function(){var t=e.charCodeAt(h.i);return t>57||t<43||47===t||44===t},h.start=function(s,l,c){e=s,h.i=t=o=i=0,r=l?n(s,c):[s],a=r[0],u(0)},h.end=function(){var t,n=h.i>=e.length;return h.i<i&&(t=s,h.i=i),{isFinished:n,furthest:h.i,furthestPossibleErrorMessage:t,furthestReachedEnd:h.i>=e.length-1,furthestChar:e[h.i]}},h}},{"./chunker":36}],38:[function(e,t,i){var n=e("../less-error"),s=e("../tree"),r=e("../visitors"),a=e("./parser-input"),o=e("../utils"),l=function e(t,i,l){var h,u=a();function c(e,t){throw new n({index:u.i,filename:l.filename,type:t||"Syntax",message:e},i)}function d(e,t,i){var n=e instanceof Function?e.call(h):u.$re(e);if(n)return n;c(t||("string"==typeof e?"expected '"+e+"' got '"+u.currentChar()+"'":"unexpected token"))}function p(e,t){if(u.$char(e))return e;c(t||"expected '"+e+"' got '"+u.currentChar()+"'")}function f(e){var t=l.filename;return{lineNumber:o.getLocation(e,u.getInput()).line+1,fileName:t}}return{parse:function(a,o,h){var c,d,p,f,v=null,m="";if(d=h&&h.globalVars?e.serializeVars(h.globalVars)+"\n":"",p=h&&h.modifyVars?"\n"+e.serializeVars(h.modifyVars):"",t.pluginManager)for(var g=t.pluginManager.getPreProcessors(),y=0;y<g.length;y++)a=g[y].process(a,{context:t,imports:i,fileInfo:l});(d||h&&h.banner)&&(m=(h&&h.banner?h.banner:"")+d,(f=i.contentsIgnoredChars)[l.filename]=f[l.filename]||0,f[l.filename]+=m.length),a=m+(a=a.replace(/\r\n?/g,"\n")).replace(/^\uFEFF/,"")+p,i.contents[l.filename]=a;try{u.start(a,t.chunkInput,(function(e,t){throw new n({index:t,type:"Parse",message:e,filename:l.filename},i)})),(c=new s.Ruleset(null,this.parsers.primary())).root=!0,c.firstRoot=!0}catch(e){return o(new n(e,i,l.filename))}var b=u.end();if(!b.isFinished){var w=b.furthestPossibleErrorMessage;w||(w="Unrecognised input","}"===b.furthestChar?w+=". Possibly missing opening '{'":")"===b.furthestChar?w+=". Possibly missing opening '('":b.furthestReachedEnd&&(w+=". Possibly missing something")),v=new n({type:"Parse",message:w,index:b.furthest,filename:l.filename},i)}var x=function(e){return(e=v||e||i.error)?(e instanceof n||(e=new n(e,i,l.filename)),o(e)):o(null,c)};if(!1===t.processImports)return x();new r.ImportVisitor(i,x).run(c)},parsers:h={primary:function(){for(var e,t=this.mixin,i=[];;){for(;e=this.comment();)i.push(e);if(u.finished)break;if(u.peek("}"))break;if(e=this.extendRule())i=i.concat(e);else if(e=t.definition()||this.rule()||this.ruleset()||t.call()||this.rulesetCall()||this.entities.call()||this.directive())i.push(e);else{for(var n=!1;u.$char(";");)n=!0;if(!n)break}}return i},comment:function(){if(u.commentStore.length){var e=u.commentStore.shift();return new s.Comment(e.text,e.isLineComment,e.index,l)}},entities:{quoted:function(){var e,t=u.i,i=!1;if(u.save(),u.$char("~")&&(i=!0),e=u.$quoted())return u.forget(),new s.Quoted(e.charAt(0),e.substr(1,e.length-2),i,t,l);
1u.restore()},keyword:function(){var e=u.$char("%")||u.$re(/^[_A-Za-z-][_A-Za-z0-9-]*/);if(e)return s.Color.fromKeyword(e)||new s.Keyword(e)},call:function(){var e,t,i,n=u.i;if(!u.peek(/^url\(/i))if(u.save(),e=u.$re(/^([\w-]+|%|progid:[\w\.]+)\(/)){if("alpha"===(e=e[1]).toLowerCase()&&(i=h.alpha()))return u.forget(),i;if(t=this.arguments(),u.$char(")"))return u.forget(),new s.Call(e,t,n,l);u.restore("Could not parse call arguments or missing ')'")}else u.forget()},arguments:function(){var e,t,i,n=[],r=[],a=[];for(u.save();i=h.detachedRuleset()||this.assignment()||h.expression();)t=i,i.value&&1==i.value.length&&(t=i.value[0]),t&&a.push(t),r.push(t),u.$char(",")||(u.$char(";")||e)&&(e=!0,a.length>1&&(t=new s.Value(a)),n.push(t),a=[]);return u.forget(),e?n:r},literal:function(){return this.dimension()||this.color()||this.quoted()||this.unicodeDescriptor()},assignment:function(){var e,t;if(u.save(),e=u.$re(/^\w+(?=\s?=)/i))if(u.$char("=")){if(t=h.entity())return u.forget(),new s.Assignment(e,t);u.restore()}else u.restore();else u.restore()},url:function(){var e,t=u.i;if(u.autoCommentAbsorb=!1,u.$str("url("))return e=this.quoted()||this.variable()||u.$re(/^(?:(?:\\[\(\)'"])|[^\(\)'"])+/)||"",u.autoCommentAbsorb=!0,p(")"),new s.URL(null!=e.value||e instanceof s.Variable?e:new s.Anonymous(e),t,l);u.autoCommentAbsorb=!0},variable:function(){var e,t=u.i;if("@"===u.currentChar()&&(e=u.$re(/^@@?[\w-]+/)))return new s.Variable(e,t,l)},variableCurly:function(){var e,t=u.i;if("@"===u.currentChar()&&(e=u.$re(/^@\{([\w-]+)\}/)))return new s.Variable("@"+e[1],t,l)},color:function(){var e;if("#"===u.currentChar()&&(e=u.$re(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/))){var t=e.input.match(/^#([\w]+).*/);return(t=t[1]).match(/^[A-Fa-f0-9]+$/)||c("Invalid HEX color code"),new s.Color(e[1],void 0,"#"+t)}},colorKeyword:function(){u.save();var e=u.autoCommentAbsorb;u.autoCommentAbsorb=!1;var t=u.$re(/^[_A-Za-z-][_A-Za-z0-9-]+/);if(u.autoCommentAbsorb=e,t){u.restore();var i=s.Color.fromKeyword(t);return i?(u.$str(t),i):void 0}u.forget()},dimension:function(){if(!u.peekNotNumeric()){var e=u.$re(/^([+-]?\d*\.?\d+)(%|[a-z_]+)?/i);return e?new s.Dimension(e[1],e[2]):void 0}},unicodeDescriptor:function(){var e;if(e=u.$re(/^U\+[0-9a-fA-F?]+(\-[0-9a-fA-F?]+)?/))return new s.UnicodeDe
1scriptor(e[0])},javascript:function(){var e,t=u.i;u.save();var i=u.$char("~");if(u.$char("`")){if(e=u.$re(/^[^`]*`/))return u.forget(),new s.JavaScript(e.substr(0,e.length-1),Boolean(i),t,l);u.restore("invalid javascript definition")}else u.restore()}},variable:function(){var e;if("@"===u.currentChar()&&(e=u.$re(/^(@[\w-]+)\s*:/)))return e[1]},rulesetCall:function(){var e;if("@"===u.currentChar()&&(e=u.$re(/^(@[\w-]+)\(\s*\)\s*;/)))return new s.RulesetCall(e[1])},extend:function(e){var t,i,n,r,a,o=u.i;if(u.$str(e?"&:extend(":":extend(")){do{for(n=null,t=null;!(n=u.$re(/^(all)(?=\s*(\)|,))/))&&(i=this.element());)t?t.push(i):t=[i];n=n&&n[1],t||c("Missing target selector for :extend()."),a=new s.Extend(new s.Selector(t),n,o,l),r?r.push(a):r=[a]}while(u.$char(","));return d(/^\)/),e&&d(/^;/),r}},extendRule:function(){return this.extend(!0)},mixin:{call:function(){var e,t,i,n,r,a,o=u.currentChar(),c=!1,d=u.i;if("."===o||"#"===o){for(u.save();e=u.i,n=u.$re(/^[#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/);)i=new s.Element(r,n,e,l),t?t.push(i):t=[i],r=u.$char(">");
1if(t&&(u.$char("(")&&(a=this.args(!0).args,p(")")),h.important()&&(c=!0),h.end()))return u.forget(),new s.mixin.Call(t,a,d,l,c);u.restore()}},args:function(e){var t,i,n,r,a,o,l,d=h.entities,p={args:null,variadic:!1},f=[],v=[],m=[];for(u.save();;){if(e)o=h.detachedRuleset()||h.expression();else{if(u.commentStore.length=0,u.$str("...")){p.variadic=!0,u.$char(";")&&!t&&(t=!0),(t?v:m).push({variadic:!0});break}o=d.variable()||d.literal()||d.keyword()}if(!o)break;r=null,o.throwAwayComments&&o.throwAwayComments(),a=o;var g=null;if(e?o.value&&1==o.value.length&&(g=o.value[0]):g=o,g&&g instanceof s.Variable)if(u.$char(":")){if(f.length>0&&(t&&c("Cannot mix ; and , as delimiter types"),i=!0),!(a=h.detachedRuleset()||h.expression())){if(!e)return u.restore(),p.args=[],p;c("could not understand value for named argument")}r=n=g.name}else if(u.$str("...")){if(!e){p.variadic=!0,u.$char(";")&&!t&&(t=!0),(t?v:m).push({name:o.name,variadic:!0});break}l=!0}else e||(n=r=g.name,a=null);a&&f.push(a),m.push({name:r,value:a,expand:l}),u.$char(",")||(u.$char(";")||t)&&(i&&c("Cannot mix ; and , as delimiter types"),t=!0,f.length>1&&(a=new s.Value(f)),v.push({name:n,value:a,expand:l}),n=null,f=[],i=!1)}return u.forget(),p.args=t?v:m,p},definition:function(){var e,t,i,n,r=[],a=!1;if(!("."!==u.currentChar()&&"#"!==u.currentChar()||u.peek(/^[^{]*\}/)))if(u.save(),t=u.$re(/^([#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+)\s*\(/)){e=t[1];var o=this.args(!1);if(r=o.args,a=o.variadic,!u.$char(")"))return void u.restore("Missing closing ')'");if(u.commentStore.length=0,u.$str("when")&&(n=d(h.conditions,"expected condition")),i=h.block())return u.forget(),new s.mixin.Definition(e,r,i,n,a);u.restore()}else u.forget()}},entity:function(){var e=this.entities;return this.comment()||e.literal()||e.variable()||e.url()||e.call()||e.keyword()||e.javascript()},end:function(){return u.$char(";")||u.peek("}")},alpha:function(){var e;if(u.$re(/^opacity=/i))return(e=u.$re(/^\d+/))||(e=d(this.entities.variable,"Could not parse alpha")),p(")"),new s.Alpha(e)},element:function(){var e,t,i,n=u.i;if(t=this.combinator(),(e=u.$re(/^(?:\d+\.\d+|\d+)%/)||u.$re(/^(?:[.#]?|:*)(?:[\w-]|[^\x00-\x9f]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/)||u.$char("*")||u.$char("&")||this.attribute()||u.$re(/^\([^&()@]+\)/)||u.$re(/^[\.#:](?=@)/)||this.entities.variableCurly())||(u.save(),u.$char("(")?(i=this.selector())&&u.$char(")")?(e=new s.Paren(i),u.forget()):u.restore("Missing closing ')'"):u.forget()),e)return new s.Element(t,e,n,l)},combinator:function(){var e=u.currentChar();if("/"===e){u.save();var t=u.$re(/^\/[a-z]+\//i);if(t)return u.forget(),new s.Combinator(t);u.restore()}if(">"===e||"+"===e||"~"===e||"|"===e||"^"===e){for(u.i++,"^"===e&&"^"===u.currentChar()&&(e="^^",u.i++);u.isWhitespace();)u.i++;return new s.Combinator(e)}return u.isWhitespace(-1)?new s.Combinator(" "):new s.Combinator(null)},lessSelector:function(){return this.selector(!0)},selector:function(e){for(var t,i,n,r,a,o,h,p=u.i;(e&&(i=this.extend())||e&&(o=u.$str("when"))||(r=this.element()))&&(o?h=d(this.conditions,"expected condition"):h?c("CSS guard can only be used at the end of selector"):i?a=a?a.concat(i):i:(a&&c("Extend can only be used at the end of selector"),n=u.currentChar(),t?t.push(r):t=[r],r=null),"{"!==n&&"}"!==n&&";"!==n&&","!==n&&")"!==n););if(t)return new s.Selector(t,a,h,p,l);a&&c("Extend must be used to extend a selector, it cannot be used on its own")},attribute:function(){if(u.$char("[")){var e,t,i,n=this.entities;return(e=n.variableCurly())||(e=d(/^(?:[_A-Za-z0-9-\*]*\|)?(?:[_A-Za-z0-9-]|\\.)+/)),(i=u.$re(/^[|~*$^]?=/))&&(t=n.quoted()||u.$re(/^[0-9]+%/)||u.$re(/^[\w-]+/)||n.variableCurly()),p("]"),new s.Attribute(e,i,t)}},block:function(){var e;if(u.$char("{")&&(e=this.primary())&&u.$char("}"))return e},blockRuleset:function(){var e=this.block();return e&&(e=new s.Ruleset(null,e)),e},detachedRuleset:function(){var e=this.blockRuleset();if(e)return new s.DetachedRuleset(e)},ruleset:function(){var e,i,n,r;for(u.save(),t.dumpLineNumbers&&(r=f(u.i));(i=this.lessSelector())&&(e?e.push(i):e=[i],u.commentStore.length=0,i.condition&&e.length>1&&c("Guards are only currently allowed on a single selector."),u.$char(","));)i.condition&&c("Guards are only currently allowed on a single selector."),u.commentStore.length=0;if(e&&(n=this.block())){u.forget();var a=new s.Ruleset(e,n,t.strictImports);return t.dumpLineNumbers&&(a.debugInfo=r),a}
1u.restore()},rule:function(e){var i,n,r,a,o,h=u.i,c=u.currentChar();if("."!==c&&"#"!==c&&"&"!==c&&":"!==c)if(u.save(),i=this.variable()||this.ruleProperty()){if((o="string"==typeof i)&&(n=this.detachedRuleset()),u.commentStore.length=0,!n){a=!o&&i.length>1&&i.pop().value;var d=!e&&(t.compress||o);if(d&&(n=this.value()),!n&&(n=this.anonymousValue()))return u.forget(),new s.Rule(i,n,!1,a,h,l);d||n||(n=this.value()),r=this.important()}if(n&&this.end())return u.forget(),new s.Rule(i,n,r,a,h,l);if(u.restore(),n&&!e)return this.rule(!0)}else u.forget()},anonymousValue:function(){var e=u.$re(/^([^@+\/'"*`(;{}-]*);/);if(e)return new s.Anonymous(e[1])},import:function(){var e,t,i=u.i,n=u.$re(/^@import?\s+/);if(n){var r=(n?this.importOptions():null)||{};if(e=this.entities.quoted()||this.entities.url())return t=this.mediaFeatures(),u.$char(";")||(u.i=i,c("missing semi-colon or unrecognised media features on import")),t=t&&new s.Value(t),new s.Import(e,t,r,i,l);u.i=i,c("malformed import statement")}},importOptions:function(){var e,t,i,n={};if(!u.$char("("))return null;do{if(e=this.importOption()){switch(i=!0,t=e){case"css":t="less",i=!1;break;case"once":t="multiple",i=!1}if(n[t]=i,!u.$char(","))break}}while(e);return p(")"),n},importOption:function(){var e=u.$re(/^(less|css|multiple|once|inline|reference|optional)/);if(e)return e[1]},mediaFeature:function(){var e,t,i=this.entities,n=[];u.save();do{(e=i.keyword()||i.variable())?n.push(e):u.$char("(")&&(t=this.property(),e=this.value(),u.$char(")")?t&&e?n.push(new s.Paren(new s.Rule(t,e,null,null,u.i,l,!0))):e?n.push(new s.Paren(e)):c("badly formed media feature definition"):c("Missing closing ')'","Parse"))}while(e);
1if(u.forget(),n.length>0)return new s.Expression(n)},mediaFeatures:function(){var e,t=this.entities,i=[];do{if(e=this.mediaFeature()){if(i.push(e),!u.$char(","))break}else if((e=t.variable())&&(i.push(e),!u.$char(",")))break}while(e);return i.length>0?i:null},media:function(){var e,i,n,r,a=u.i;if(t.dumpLineNumbers&&(r=f(a)),u.save(),u.$str("@media"))return e=this.mediaFeatures(),(i=this.block())||c("media definitions require block statements after any features"),u.forget(),n=new s.Media(i,e,a,l),t.dumpLineNumbers&&(n.debugInfo=r),n;u.restore()},plugin:function(){var e,t=u.i;if(u.$re(/^@plugin?\s+/)){if(e=this.entities.quoted()||this.entities.url())return u.$char(";")||(u.i=t,c("missing semi-colon on plugin")),new s.Import(e,null,{plugin:!0},t,l);u.i=t,c("malformed plugin statement")}},directive:function(){var e,i,n,r,a,o,h,d=u.i,p=!0,v=!0;if("@"===u.currentChar()){if(i=this.import()||this.plugin()||this.media())return i;if(u.save(),e=u.$re(/^@[a-z-]+/)){switch(r=e,"-"==e.charAt(1)&&e.indexOf("-",2)>0&&(r="@"+e.slice(e.indexOf("-",2)+1)),r){case"@charset":a=!0,p=!1;break;case"@namespace":o=!0,p=!1;break;case"@keyframes":case"@counter-style":a=!0;break;case"@document":case"@supports":h=!0,v=!1;break;default:h=!0}if(u.commentStore.length=0,a?(i=this.entity())||c("expected "+e+" identifier"):o?(i=this.expression())||c("expected "+e+" expression"):h&&(i=(u.$re(/^[^{;]+/)||"").trim(),p="{"==u.currentChar(),i&&(i=new s.Anonymous(i))),p&&(n=this.blockRuleset()),n||!p&&i&&u.$char(";"))return u.forget(),new s.Directive(e,i,n,d,l,t.dumpLineNumbers?f(d):null,v);u.restore("directive options not recognised")}}},value:function(){var e,t=[];do{if((e=this.expression())&&(t.push(e),!u.$char(",")))break}while(e);
1if(t.length>0)return new s.Value(t)},important:function(){if("!"===u.currentChar())return u.$re(/^! *important/)},sub:function(){var e,t;if(u.save(),u.$char("("))return(e=this.addition())&&u.$char(")")?(u.forget(),(t=new s.Expression([e])).parens=!0,t):void u.restore("Expected ')'");u.restore()},multiplication:function(){var e,t,i,n,r;if(e=this.operand()){for(r=u.isWhitespace(-1);!u.peek(/^\/[*\/]/);){if(u.save(),!(i=u.$char("/")||u.$char("*"))){u.forget();break}if(!(t=this.operand())){u.restore();break}u.forget(),e.parensInOp=!0,t.parensInOp=!0,n=new s.Operation(i,[n||e,t],r),r=u.isWhitespace(-1)}return n||e}},addition:function(){var e,t,i,n,r;if(e=this.multiplication()){for(r=u.isWhitespace(-1);(i=u.$re(/^[-+]\s+/)||!r&&(u.$char("+")||u.$char("-")))&&(t=this.multiplication());)e.parensInOp=!0,t.parensInOp=!0,n=new s.Operation(i,[n||e,t],r),r=u.isWhitespace(-1);return n||e}},conditions:function(){var e,t,i,n=u.i;if(e=this.condition()){for(;u.peek(/^,\s*(not\s*)?\(/)&&u.$char(",")&&(t=this.condition());)i=new s.Condition("or",i||e,t,n);return i||e}},condition:function(){var e,t,i;if(e=this.conditionAnd(this)){if(t=u.$str("or")){if(!(i=this.condition()))return;e=new s.Condition(t,e,i)}return e}},conditionAnd:function(){var e,t,i;if(e=function(e){return e.negatedCondition()||e.parenthesisCondition()}(this)){if(t=u.$str("and")){if(!(i=this.conditionAnd()))return;e=new s.Condition(t,e,i)}return e}},negatedCondition:function(){if(u.$str("not")){var e=this.parenthesisCondition();return e&&(e.negate=!e.negate),e}},parenthesisCondition:function(){var e;if(u.save(),u.$str("(")){if(e=function(e){var t;if(u.save(),t=e.condition()){if(u.$char(")"))return u.forget(),t;u.restore()}else u.restore()}(this))return u.forget(),e;if(e=this.atomicCondition()){if(u.$char(")"))return u.forget(),e;u.restore("expected ')' got '"+u.currentChar()+"'")}else u.restore()}else u.restore()},atomicCondition:function(){var e,t,i,n,r=this.entities,a=u.i;if(e=this.addition()||r.keyword()||r.quoted())return u.$char(">")?n=u.$char("=")?">=":">":u.$char("<")?n=u.$char("=")?"<=":"<":u.$char("=")&&(n=u.$char(">")?"=>":u.$char("<")?"=<":"="),n?(t=this.addition()||r.keyword()||r.quoted())?i=new s.Condition(n,e,t,a,!1):c("expected expression"):i=new s.Condition("=",e,new s.Keyword("true"),a,!1),i},operand:function(){var e,t=this.entities;u.peek(/^-[@\(]/)&&(e=u.$char("-"));var i=this.sub()||t.dimension()||t.color()||t.variable()||t.call()||t.colorKeyword();return e&&(i.parensInOp=!0,i=new s.Negative(i)),i},expression:function(){var e,t,i=[];do{(e=this.comment())?i.push(e):(e=this.addition()||this.entity())&&(i.push(e),u.peek(/^\/[\/*]/)||(t=u.$char("/"))&&i.push(new s.Anonymous(t)))}while(e);
1if(i.length>0)return new s.Expression(i)},property:function(){var e=u.$re(/^(\*?-?[_a-zA-Z0-9-]+)\s*:/);if(e)return e[1]},ruleProperty:function(){var e,t,i=[],n=[];u.save();var r=u.$re(/^([_a-zA-Z0-9-]+)\s*:/);if(r)return i=[new s.Keyword(r[1])],u.forget(),i;function a(e){var t=u.i,s=u.$re(e);if(s)return n.push(t),i.push(s[1])}for(a(/^(\*?)/);a(/^((?:[\w-]+)|(?:@\{[\w-]+\}))/););if(i.length>1&&a(/^((?:\+_|\+)?)\s*:/)){for(u.forget(),""===i[0]&&(i.shift(),n.shift()),t=0;t<i.length;t++)e=i[t],i[t]="@"!==e.charAt(0)?new s.Keyword(e):new s.Variable("@"+e.slice(2,-1),n[t],l);return i}u.restore()}}}};l.serializeVars=function(e){var t="";for(var i in e)if(Object.hasOwnProperty.call(e,i)){var n=e[i];t+=("@"===i[0]?"":"@")+i+": "+n+(";"===String(n).slice(-1)?"":";")}return t},t.exports=l},{"../less-error":32,"../tree":62,"../utils":83,"../visitors":87,"./parser-input":37}],39:[function(e,t,i){var n=function(e){this.less=e,this.visitors=[],this.preProcessors=[],this.postProcessors=[],this.installedPlugins=[],this.fileManagers=[]};n.prototype.addPlugins=function(e){if(e)for(var t=0;t<e.length;t++)this.addPlugin(e[t])},n.prototype.addPlugin=function(e){this.installedPlugins.push(e),e.install(this.less,this)},n.prototype.addVisitor=function(e){this.visitors.push(e)},n.prototype.addPreProcessor=function(e,t){var i;for(i=0;i<this.preProcessors.length&&!(this.preProcessors[i].priority>=t);i++);this.preProcessors.splice(i,0,{preProcessor:e,priority:t})},n.prototype.addPostProcessor=function(e,t){var i;for(i=0;i<this.postProcessors.length&&!(this.postProcessors[i].priority>=t);i++);this.postProcessors.splice(i,0,{postProcessor:e,priority:t})},n.prototype.addFileManager=function(e){this.fileManagers.push(e)},n.prototype.getPreProcessors=function(){for(var e=[],t=0;t<this.preProcessors.length;t++)e.push(this.preProcessors[t].preProcessor);return e},n.prototype.getPostProcessors=function(){for(var e=[],t=0;t<this.postProcessors.length;t++)e.push(this.postProcessors[t].postProcessor);return e},n.prototype.getVisitors=function(){return this.visitors},n.prototype.getFileManagers=function(){return this.fileManagers},t.exports=n},{}],40:[function(e,t,i){var n=e("../less-error"),s=e("../tree");(t.exports=function(e,t){this.fileInfo=t}).prototype.eval=function(e,t){var i,r={};i={add:function(e,t){r[e]=t},addMultiple:function(e){Object.keys(e).forEach((function(t){r[t]=e[t]}))}};try{new Function("functions","tree","fileInfo",e)(i,s,this.fileInfo)}catch(e){t(new n({message:"Plugin evaluation error: '"+e.name+": "+e.message.replace(/["]/g,"'")+"'",filename:this.fileInfo.filename}),null)}t(null,{functions:r})}},{"../less-error":32,"../tree":62}],41:[function(e,t,i){var n;t.exports=function(t,i,s){var r=function(t,s,a){if("function"==typeof s&&(a=s,s={}),!a){n||(n="undefined"==typeof Promise?e("promise"):Promise);var o=this;return new n((function(e,i){r.call(o,t,s,(function(t,n){t?i(t):e(n)}))}))}this.parse(t,s,(function(e,t,n,s){if(e)return a(e);var r;try{r=new i(t,n).toCSS(s)}catch(e){return a(e)}a(null,r)}))};return r}},{promise:void 0}],42:[function(e,t,i){t.exports=function(e,t){var i=function(e){this.options=e};return i.prototype.toCSS=function(t,i,n){var s=new e({contentsIgnoredCharsMap:n.contentsIgnoredChars,rootNode:t,contentsMap:n.contents,sourceMapFilename:this.options.sourceMapFilename,sourceMapURL:this.options.sourceMapURL,outputFilename:this.options.sourceMapOutputFilename,sourceMapBasepath:this.options.sourceMapBasepath,sourceMapRootpath:this.options.sourceMapRootpath,outputSourceFiles:this.options.outputSourceFiles,sourceMapGenerator:this.options.sourceMapGenerator,sourceMapFileInline:this.options.sourceMapFileInline}),r=s.toCSS(i);return this.sourceMap=s.sourceMap,this.sourceMapURL=s.sourceMapURL,this.options.sourceMapInputFilename&&(this.sourceMapInputFilename=s.normalizeFilename(this.options.sourceMapInputFilename)),r+this.getCSSAppendage()},i.prototype.getCSSAppendage=function(){var e=this.sourceMapURL;if(this.options.sourceMapFileInline){if(void 0===this.sourceMap)return"";e="data:application/json;base64,"+t.encodeBase64(this.sourceMap)}return e?"/*# sourceMappingURL="+e+" */":""},i.prototype.getExternalSourceMap=function(){return this.sourceMap},i.prototype.setExternalSourceMap=function(e){this.sourceMap=e},i.prototype.isInline=function(){return this.options.sourceMapFileInline},i.prototype.getSourceMapURL=function(){return this.sourceMapURL},i.prototype.getOutputFilename=function(){return this.options.sourceMapOutputFilename},i.prototype.getInputFilename=function(){return this.sourceMapInputFilename},i}},{}],43:[function(e,t,i){t.exports=function(e){var t=function(t){this._css=[],this._rootNode=t.rootNode,this._contentsMap=t.contentsMap,this._contentsIgnoredCharsMap=t.contentsIgnoredCharsMap,t.sourceMapFilename&&(this._sourceMapFilename=t.sourceMapFilename.replace(/\\/g,"/")),this._outputFilename=t.outputFilename,this.sourceMapURL=t.sourceMapURL,t.sourceMapBasepath&&(this._sourceMapBasepath=t.sourceMapBasepath.replace(/\\/g,"/")),t.sourceMapRootpath?(this._sourceMapRootpath=t.sourceMapRootpath.replace(/\\/g,"/"),"/"!==this._sourceMapRootpath.charAt(this._sourceMapRootpath.length-1)&&(this._sourceMapRootpath+="/")):this._sourceMapRootpath="",this._outputSourceFiles=t.outputSourceFiles,this._sourceMapGeneratorConstructor=e.getSourceMapGenerator(),this._lineNumber=0,this._column=0};return t.prototype.normalizeFilename=function(e){return e=e.replace(/\\/g,"/"),this._sourceMapBasepath&&0===e.indexOf(this._sourceMapBasepath)&&("\\"!==(e=e.substring(this._sourceMapBasepath.length)).charAt(0)&&"/"!==e.charAt(0)||(e=e.substring(1))),(this._sourceMapRootpath||"")+e},t.prototype.add=function(e,t,i,n){if(e){var s,r,a,o,l;if(t){var h=this._contentsMap[t.filename];this._contentsIgnoredCharsMap[t.filename]&&((i-=this._contentsIgnoredCharsMap[t.filename])<0&&(i=0),h=h.slice(this._contentsIgnoredCharsMap[t.filename])),o=(r=(h=h.substring(0,i)).split("\n"))[r.length-1]}if(a=(s=e.split("\n"))[s.length-1],t)if(n)for(l=0;l<s.length;l++)this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+l+1,column:0===l?this._column:0},original:{line:r.length+l,column:0===l?o.length:0},source:this.normalizeFilename(t.filename)});else this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+1,column:this._column},original:{line:r.length,column:o.length},source:this.normalizeFilename(t.filename)});1===s.length?this._column+=a.length:(this._lineNumber+=s.length-1,this._column=a.length),this._css.push(e)}},t.prototype.isEmpty=function(){return 0===this._css.length},t.prototype.toCSS=function(e){if(this._sourceMapGenerator=new this._sourceMapGeneratorConstructor({file:this._outputFilename,sourceRoot:null}),this._outputSourceFiles)for(var t in this._contentsMap)if(this._contentsMap.hasOwnProperty(t)){var i=this._contentsMap[t];this._contentsIgnoredCharsMap[t]&&(i=i.slice(this._contentsIgnoredCharsMap[t])),this._sourceMapGenerator.setSourceContent(this.normalizeFilename(t),i)}if(this._rootNode.genCSS(e,this),this._css.length>0){var n,s=JSON.stringify(this._sourceMapGenerator.toJSON());this.sourceMapURL?n=this.sourceMapURL:this._sourceMapFilename&&(n=this._sourceMapFilename),this.sourceMapURL=n,this.sourceMap=s}return this._css.join("")},t}},{}],44:[function(e,t,i){var n=e("./contexts"),s=e("./visitors"),r=e("./tree");t.exports=function(e,t){var i,a=(t=t||{}).variables,o=new n.Eval(t);"object"!=typeof a||Array.isArray(a)||(a=Object.keys(a).map((function(e){var t=a[e];return t instanceof r.Value||(t instanceof r.Expression||(t=new r.Expression([t])),t=new r.Value([t])),new r.Rule("@"+e,t,!1,null,0)})),o.frames=[new r.Ruleset(null,a)]);var l,h=[],u=[new s.JoinSelectorVisitor,new s.MarkVisibleSelectorsVisitor(!0),new s.ExtendVisitor,new s.ToCSSVisitor({compress:Boolean(t.compress)})];if(t.pluginManager){var c=t.pluginManager.getVisitors();for(l=0;l<c.length;l++){var d=c[l];d.isPreEvalVisitor?h.push(d):d.isPreVisitor?u.splice(0,0,d):u.push(d)}}for(l=0;l<h.length;l++)h[l].run(e);
1for(i=e.eval(o),l=0;l<u.length;l++)u[l].run(i);return i}},{"./contexts":11,"./tree":62,"./visitors":87}],45:[function(e,t,i){var n=e("./node"),s=function(e){this.value=e};(s.prototype=new n).type="Alpha",s.prototype.accept=function(e){this.value=e.visit(this.value)},s.prototype.eval=function(e){return this.value.eval?new s(this.value.eval(e)):this},s.prototype.genCSS=function(e,t){t.add("alpha(opacity="),this.value.genCSS?this.value.genCSS(e,t):t.add(this.value),t.add(")")},t.exports=s},{"./node":70}],46:[function(e,t,i){var n=e("./node"),s=function(e,t,i,n,s,r){this.value=e,this.index=t,this.mapLines=n,this.currentFileInfo=i,this.rulesetLike=void 0!==s&&s,this.allowRoot=!0,this.copyVisibilityInfo(r)};(s.prototype=new n).type="Anonymous",s.prototype.eval=function(){return new s(this.value,this.index,this.currentFileInfo,this.mapLines,this.rulesetLike,this.visibilityInfo())},s.prototype.compare=function(e){return e.toCSS&&this.toCSS()===e.toCSS()?0:void 0},s.prototype.isRulesetLike=function(){return this.rulesetLike},s.prototype.genCSS=function(e,t){t.add(this.value,this.currentFileInfo,this.index,this.mapLines)},t.exports=s},{"./node":70}],47:[function(e,t,i){var n=e("./node"),s=function(e,t){this.key=e,this.value=t};(s.prototype=new n).type="Assignment",s.prototype.accept=function(e){this.value=e.visit(this.value)},s.prototype.eval=function(e){return this.value.eval?new s(this.key,this.value.eval(e)):this},s.prototype.genCSS=function(e,t){t.add(this.key+"="),this.value.genCSS?this.value.genCSS(e,t):t.add(this.value)},t.exports=s},{"./node":70}],48:[function(e,t,i){var n=e("./node"),s=function(e,t,i){this.key=e,this.op=t,this.value=i};(s.prototype=new n).type="Attribute",s.prototype.eval=function(e){return new s(this.key.eval?this.key.eval(e):this.key,this.op,this.value&&this.value.eval?this.value.eval(e):this.value)},s.prototype.genCSS=function(e,t){t.add(this.toCSS(e))},s.prototype.toCSS=function(e){var t=this.key.toCSS?this.key.toCSS(e):this.key;return this.op&&(t+=this.op,t+=this.value.toCSS?this.value.toCSS(e):this.value),"["+t+"]"},t.exports=s},{"./node":70}],49:[function(e,t,i){var n=e("./node"),s=e("../functions/function-caller"),r=function(e,t,i,n){this.name=e,this.args=t,this.index=i,this.currentFileInfo=n};(r.prototype=new n).type="Call",r.prototype.accept=function(e){this.args&&(this.args=e.visitArray(this.args))},r.prototype.eval=function(e){var t,i=this.args.map((function(t){return t.eval(e)})),n=new s(this.name,e,this.index,this.currentFileInfo);if(n.isValid()){try{t=n.call(i)}catch(e){throw{type:e.type||"Runtime",message:"error evaluating function `"+this.name+"`"+(e.message?": "+e.message:""),index:this.index,filename:this.currentFileInfo.filename}}if(null!=t)return t.index=this.index,t.currentFileInfo=this.currentFileInfo,t}return new r(this.name,i,this.index,this.currentFileInfo)},r.prototype.genCSS=function(e,t){t.add(this.name+"(",this.currentFileInfo,this.index);for(var i=0;i<this.args.length;i++)this.args[i].genCSS(e,t),i+1<this.args.length&&t.add(", ");t.add(")")},t.exports=r},{"../functions/function-caller":21,"./node":70}],50:[function(e,t,i){var n=e("./node"),s=e("../data/colors"),r=function(e,t,i){Array.isArray(e)?this.rgb=e:6==e.length?this.rgb=e.match(/.{2}/g).map((function(e){return parseInt(e,16)})):this.rgb=e.split("").map((function(e){return parseInt(e+e,16)})),this.alpha="number"==typeof t?t:1,void 0!==i&&(this.value=i)};function a(e,t){return Math.min(Math.max(e,0),t)}function o(e){return"#"+e.map((function(e){return((e=a(Math.round(e),255))<16?"0":"")+e.toString(16)})).join("")}(r.prototype=new n).type="Color",r.prototype.luma=function(){var e=this.rgb[0]/255,t=this.rgb[1]/255,i=this.rgb[2]/255;return.2126*(e=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t=t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(i=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))},r.prototype.genCSS=function(e,t){t.add(this.toCSS(e))},r.prototype.toCSS=function(e,t){var i,n,s=e&&e.compress&&!t;if(this.value)return this.value;if((n=this.fround(e,this.alpha))<1)return"rgba("+this.rgb.map((function(e){return a(Math.round(e),255)})).concat(a(n,1)).join(","+(s?"":" "))+")";if(i=this.toRGB(),s){var r=i.split("");r[1]===r[2]&&r[3]===r[4]&&r[5]===r[6]&&(i="#"+r[1]+r[3]+r[5])}return i},r.prototype.operate=function(e,t,i){for(var n=[],s=this.alpha*(1-i.alpha)+i.alpha,a=0;a<3;a++)n[a]=this._operate(e,t,this.rgb[a],i.rgb[a]);return new r(n,s)},r.prototype.toRGB=function(){return o(this.rgb)},r.prototype.toHSL=function(){var e,t,i=this.rgb[0]/255,n=this.rgb[1]/255,s=this.rgb[2]/255,r=this.alpha,a=Math.max(i,n,s),o=Math.min(i,n,s),l=(a+o)/2,h=a-o;if(a===o)e=t=0;else{switch(t=l>.5?h/(2-a-o):h/(a+o),a){case i:e=(n-s)/h+(n<s?6:0);break;case n:e=(s-i)/h+2;break;case s:e=(i-n)/h+4}e/=6}return{h:360*e,s:t,l:l,a:r}},r.prototype.toHSV=function(){var e,t,i=this.rgb[0]/255,n=this.rgb[1]/255,s=this.rgb[2]/255,r=this.alpha,a=Math.max(i,n,s),o=Math.min(i,n,s),l=a,h=a-o;if(t=0===a?0:h/a,a===o)e=0;else{switch(a){case i:e=(n-s)/h+(n<s?6:0);break;case n:e=(s-i)/h+2;break;case s:e=(i-n)/h+4}e/=6}return{h:360*e,s:t,v:l,a:r}},r.prototype.toARGB=function(){return o([255*this.alpha].concat(this.rgb))},r.prototype.compare=function(e){return e.rgb&&e.rgb[0]===this.rgb[0]&&e.rgb[1]===this.rgb[1]&&e.rgb[2]===this.rgb[2]&&e.alpha===this.alpha?0:void 0},r.fromKeyword=function(e){var t,i=e.toLowerCase();if(s.hasOwnProperty(i)?t=new r(s[i].slice(1)):"transparent"===i&&(t=new r([0,0,0],0)),t)return t.value=e,t}
1,t.exports=r},{"../data/colors":12,"./node":70}],51:[function(e,t,i){var n=e("./node"),s=function(e){" "===e?(this.value=" ",this.emptyOrWhitespace=!0):(this.value=e?e.trim():"",this.emptyOrWhitespace=""===this.value)};(s.prototype=new n).type="Combinator";var r={"":!0," ":!0,"|":!0};s.prototype.genCSS=function(e,t){var i=e.compress||r[this.value]?"":" ";t.add(i+this.value+i)},t.exports=s},{"./node":70}],52:[function(e,t,i){var n=e("./node"),s=e("./debug-info"),r=function(e,t,i,n){this.value=e,this.isLineComment=t,this.index=i,this.currentFileInfo=n,this.allowRoot=!0};(r.prototype=new n).type="Comment",r.prototype.genCSS=function(e,t){this.debugInfo&&t.add(s(e,this),this.currentFileInfo,this.index),t.add(this.value)},r.prototype.isSilent=function(e){var t=e.compress&&"!"!==this.value[2];return this.isLineComment||t},t.exports=r},{"./debug-info":54,"./node":70}],53:[function(e,t,i){var n=e("./node"),s=function(e,t,i,n,s){this.op=e.trim(),this.lvalue=t,this.rvalue=i,this.index=n,this.negate=s};(s.prototype=new n).type="Condition",s.prototype.accept=function(e){this.lvalue=e.visit(this.lvalue),this.rvalue=e.visit(this.rvalue)},s.prototype.eval=function(e){var t=function(e,t,i){switch(e){case"and":return t&&i;case"or":return t||i;default:switch(n.compare(t,i)){case-1:return"<"===e||"=<"===e||"<="===e;case 0:return"="===e||">="===e||"=<"===e||"<="===e;case 1:return">"===e||">="===e;default:return!1}}}(this.op,this.lvalue.eval(e),this.rvalue.eval(e));return this.negate?!t:t},t.exports=s},{"./node":70}],54:[function(e,t,i){var n=function(e,t,i){var s="";if(e.dumpLineNumbers&&!e.compress)switch(e.dumpLineNumbers){case"comments":s=n.asComment(t);break;case"mediaquery":s=n.asMediaQuery(t);break;case"all":s=n.asComment(t)+(i||"")+n.asMediaQuery(t)}return s};n.asComment=function(e){return"/* line "+e.debugInfo.lineNumber+", "+e.debugInfo.fileName+" */\n"},n.asMediaQuery=function(e){var t=e.debugInfo.fileName;return/^[a-z]+:\/\//i.test(t)||(t="file://"+t),"@media -sass-debug-info{filename{font-family:"+t.replace(/([.:\/\\])/g,(function(e){return"\\"==e&&(e="/"),"\\"+e}))+"}line{font-family:\\00003"+e.debugInfo.lineNumber+"}}\n"},t.exports=n},{}],55:[function(e,t,i){var n=e("./node"),s=e("../contexts"),r=function(e,t){this.ruleset=e,this.frames=t};(r.prototype=new n).type="DetachedRuleset",r.prototype.evalFirst=!0,r.prototype.accept=function(e){this.ruleset=e.visit(this.ruleset)},r.prototype.eval=function(e){var t=this.frames||e.frames.slice(0);return new r(this.ruleset,t)},r.prototype.callEval=function(e){return this.ruleset.eval(this.frames?new s.Eval(e,this.frames.concat(e.frames)):e)},t.exports=r},{"../contexts":11,"./node":70}],56:[function(e,t,i){var n=e("./node"),s=e("../data/unit-conversions"),r=e("./unit"),a=e("./color"),o=function(e,t){this.value=parseFloat(e),this.unit=t&&t instanceof r?t:new r(t?[t]:void 0)};(o.prototype=new n).type="Dimension",o.prototype.accept=function(e){this.unit=e.visit(this.unit)},o.prototype.eval=function(e){return this},o.prototype.toColor=function(){return new a([this.value,this.value,this.value])},o.prototype.genCSS=function(e,t){if(e&&e.strictUnits&&!this.unit.isSingular())throw new Error("Multiple units in dimension. Correct the units or use the unit function. Bad unit: "+this.unit.toString());var i=this.fround(e,this.value),n=String(i);if(0!==i&&i<1e-6&&i>-1e-6&&(n=i.toFixed(20).replace(/0+$/,"")),e&&e.compress){if(0===i&&this.unit.isLength())return void t.add(n);i>0&&i<1&&(n=n.substr(1))}t.add(n),this.unit.genCSS(e,t)},o.prototype.operate=function(e,t,i){var n=this._operate(e,t,this.value,i.value),s=this.unit.clone();if("+"===t||"-"===t)if(0===s.numerator.length&&0===s.denominator.length)s=i.unit.clone(),this.unit.backupUnit&&(s.backupUnit=this.unit.backupUnit);else if(0===i.unit.numerator.length&&0===s.denominator.length);else{if(i=i.convertTo(this.unit.usedUnits()),e.strictUnits&&i.unit.toString()!==s.toString())throw new Error("Incompatible units. Change the units or use the unit function. Bad units: '"+s.toString()+"' and '"+i.unit.toString()+"'.");n=this._operate(e,t,this.value,i.value)}else"*"===t?(s.numerator=s.numerator.concat(i.unit.numerator).sort(),s.denominator=s.denominator.concat(i.unit.denominator).sort(),s.cancel()):"/"===t&&(s.numerator=s.numerator.concat(i.unit.denominator).sort(),s.denominator=s.denominator.concat(i.unit.numerator).sort(),s.cancel());return new o(n,s)},o.prototype.compare=function(e){var t,i;if(e instanceof o){if(this.unit.isEmpty()||e.unit.isEmpty())t=this,i=e;else if(t=this.unify(),i=e.unify(),0!==t.unit.compare(i.unit))return;return n.numericCompare(t.value,i.value)}},o.prototype.unify=function(){return this.convertTo({length:"px",duration:"s",angle:"rad"})},o.prototype.convertTo=function(e){var t,i,n,r,a,l=this.value,h=this.unit.clone(),u={};if("string"==typeof e){for(t in s)s[t].hasOwnProperty(e)&&((u={})[t]=e);e=u}for(i in a=function(e,t){return n.hasOwnProperty(e)?(t?l/=n[e]/n[r]:l*=n[e]/n[r],r):e},e)e.hasOwnProperty(i)&&(r=e[i],n=s[i],h.map(a));return h.cancel(),new o(l,h)},t.exports=o},{"../data/unit-conversions":14,"./color":50,"./node":70,"./unit":79}],57:[function(e,t,i){var n=e("./node"),s=e("./selector"),r=e("./ruleset"),a=function(e,t,i,n,r,a,o,l){var h;if(this.name=e,this.value=t,i)for(Array.isArray(i)?this.rules=i:(this.rules=[i],this.rules[0].selectors=new s([],null,null,this.index,r).createEmptySelectors()),h=0;h<this.rules.length;h++)this.rules[h].allowImports=!0;this.index=n,this.currentFileInfo=r,this.debugInfo=a,this.isRooted=o||!1,this.copyVisibilityInfo(l),this.allowRoot=!0};(a.prototype=new n).type="Directive",a.prototype.accept=function(e){var t=this.value,i=this.rules;i&&(this.rules=e.visitArray(i)),t&&(this.value=e.visit(t))}
1,a.prototype.isRulesetLike=function(){return this.rules||!this.isCharset()},a.prototype.isCharset=function(){return"@charset"===this.name},a.prototype.genCSS=function(e,t){var i=this.value,n=this.rules;t.add(this.name,this.currentFileInfo,this.index),i&&(t.add(" "),i.genCSS(e,t)),n?this.outputRuleset(e,t,n):t.add(";")},a.prototype.eval=function(e){var t,i,n=this.value,s=this.rules;return t=e.mediaPath,i=e.mediaBlocks,e.mediaPath=[],e.mediaBlocks=[],n&&(n=n.eval(e)),s&&((s=[s[0].eval(e)])[0].root=!0),e.mediaPath=t,e.mediaBlocks=i,new a(this.name,n,s,this.index,this.currentFileInfo,this.debugInfo,this.isRooted,this.visibilityInfo())},a.prototype.variable=function(e){if(this.rules)return r.prototype.variable.call(this.rules[0],e)},a.prototype.find=function(){if(this.rules)return r.prototype.find.apply(this.rules[0],arguments)},a.prototype.rulesets=function(){if(this.rules)return r.prototype.rulesets.apply(this.rules[0])},a.prototype.outputRuleset=function(e,t,i){var n,s=i.length;if(e.tabLevel=1+(0|e.tabLevel),e.compress){for(t.add("{"),n=0;n<s;n++)i[n].genCSS(e,t);return t.add("}"),void e.tabLevel--}var r="\n"+Array(e.tabLevel).join("  "),a=r+"  ";if(s){for(t.add(" {"+a),i[0].genCSS(e,t),n=1;n<s;n++)t.add(a),i[n].genCSS(e,t);t.add(r+"}")}else t.add(" {"+r+"}");e.tabLevel--},t.exports=a},{"./node":70,"./ruleset":76,"./selector":77}],58:[function(e,t,i){var n=e("./node"),s=e("./paren"),r=e("./combinator"),a=function(e,t,i,n,s){this.combinator=e instanceof r?e:new r(e),this.value="string"==typeof t?t.trim():t||"",this.index=i,this.currentFileInfo=n,this.copyVisibilityInfo(s)};(a.prototype=new n).type="Element",a.prototype.accept=function(e){var t=this.value;this.combinator=e.visit(this.combinator),"object"==typeof t&&(this.value=e.visit(t))},a.prototype.eval=function(e){return new a(this.combinator,this.value.eval?this.value.eval(e):this.value,this.index,this.currentFileInfo,this.visibilityInfo())},a.prototype.clone=function(){return new a(this.combinator,this.value,this.index,this.currentFileInfo,this.visibilityInfo())},a.prototype.genCSS=function(e,t){t.add(this.toCSS(e),this.currentFileInfo,this.index)},a.prototype.toCSS=function(e){e=e||{};var t=this.value,i=e.firstSelector;return t instanceof s&&(e.firstSelector=!0),t=t.toCSS?t.toCSS(e):t,e.firstSelector=i,""===t&&"&"===this.combinator.value.charAt(0)?"":this.combinator.toCSS(e)+t},t.exports=a},{"./combinator":51,"./node":70,"./paren":72}],59:[function(e,t,i){var n=e("./node"),s=e("./paren"),r=e("./comment"),a=function(e){if(this.value=e,!e)throw new Error("Expression requires an array parameter")};(a.prototype=new n).type="Expression",a.prototype.accept=function(e){this.value=e.visitArray(this.value)},a.prototype.eval=function(e){var t,i=this.parens&&!this.parensInOp,n=!1;return i&&e.inParenthesis(),this.value.length>1?t=new a(this.value.map((function(t){return t.eval(e)}))):1===this.value.length?(this.value[0].parens&&!this.value[0].parensInOp&&(n=!0),t=this.value[0].eval(e)):t=this,i&&e.outOfParenthesis(),this.parens&&this.parensInOp&&!e.isMathOn()&&!n&&(t=new s(t)),t},a.prototype.genCSS=function(e,t){for(var i=0;i<this.value.length;i++)this.value[i].genCSS(e,t),i+1<this.value.length&&t.add(" ")},a.prototype.throwAwayComments=function(){this.value=this.value.filter((function(e){return!(e instanceof r)}))},t.exports=a},{"./comment":52,"./node":70,"./paren":72}],60:[function(e,t,i){var n=e("./node"),s=e("./selector"),r=function e(t,i,n,s,r){switch(this.selector=t,this.option=i,this.index=n,this.object_id=e.next_id++,this.parent_ids=[this.object_id],this.currentFileInfo=s||{},this.copyVisibilityInfo(r),this.allowRoot=!0,i){case"all":this.allowBefore=!0,this.allowAfter=!0;break;default:this.allowBefore=!1,this.allowAfter=!1}};r.next_id=0,(r.prototype=new n).type="Extend",r.prototype.accept=function(e){this.selector=e.visit(this.selector)},r.prototype.eval=function(e){return new r(this.selector.eval(e),this.option,this.index,this.currentFileInfo,this.visibilityInfo())},r.prototype.clone=function(e){return new r(this.selector,this.option,this.index,this.currentFileInfo,this.visibilityInfo())},r.prototype.findSelfSelectors=function(e){var t,i,n=[];for(t=0;t<e.length;t++)i=e[t].elements,t>0&&i.length&&""===i[0].combinator.value&&(i[0].combinator.value=" "),n=n.concat(e[t].elements);this.selfSelectors=[new s(n)],this.selfSelectors[0].copyVisibilityInfo(this.visibilityInfo())},t.exports=r},{"./node":70,"./selector":77}],61:[function(e,t,i){var n=e("./node"),s=e("./media"),r=e("./url"),a=e("./quoted"),o=e("./ruleset"),l=e("./anonymous"),h=function(e,t,i,n,s,r){if(this.options=i,this.index=n,this.path=e,this.features=t,this.currentFileInfo=s,this.allowRoot=!0,void 0!==this.options.less||this.options.inline)this.css=!this.options.less||this.options.inline;else{var a=this.getPath();a&&/[#\.\&\?\/]css([\?;].*)?$/.test(a)&&(this.css=!0)}this.copyVisibilityInfo(r)};(h.prototype=new n).type="Import",h.prototype.accept=function(e){this.features&&(this.features=e.visit(this.features)),this.path=e.visit(this.path),this.options.plugin||this.options.inline||!this.root||(this.root=e.visit(this.root))},h.prototype.genCSS=function(e,t){this.css&&void 0===this.path.currentFileInfo.reference&&(t.add("@import ",this.currentFileInfo,this.index),this.path.genCSS(e,t),this.features&&(t.add(" "),this.features.genCSS(e,t)),t.add(";"))},h.prototype.getPath=function(){return this.path instanceof r?this.path.value.value:this.path.value},h.prototype.isVariableImport=function(){var e=this.path;return e instanceof r&&(e=e.value),!(e instanceof a)||e.containsVariables()},h.prototype.evalForImport=function(e){var t=this.path;return t instanceof r&&(t=t.value),new h(t.eval(e),this.features,this.options,this.index,this.currentFileInfo,this.visibilityInfo())},h.prototype.evalPath=function(e){var t=this.path.eval(e),i=this.currentFileInfo&&this.currentFileInfo.rootpath;if(!(t instanceof r)){if(i){var n=t.value;n&&e.isPathRelative(n)&&(t.value=i+n)}t.value=e.normalizePath(t.value)}return t},h.prototype.eval=function(e){var t=this.doEval(e);return(this.options.reference||this.blocksVisibility())&&(t.length||0===t.length?t.forEach((function(e){e.addVisibilityBlock()})):t.addVisibilityBlock()),t},h.prototype.doEval=function(e){var t,i,n=this.features&&this.features.eval(e);if(this.options.plugin)return(i=e.frames[0]&&e.frames[0].functionRegistry)&&this.root&&this.root.functions&&i.addMultiple(this.root.functions),[];if(this.skip&&("function"==typeof this.skip&&(this.skip=this.skip()),this.skip))return[];if(this.options.inline){var r=new l(this.root,0,{filename:this.importedFilename,reference:this.path.currentFileInfo&&this.path.currentFileInfo.reference},!0,!0);return this.features?new s([r],this.features.value):[r]}if(this.css){var a=new h(this.evalPath(e),n,this.options,this.index);if(!a.css&&this.error)throw this.error;return a}return(t=new o(null,this.root.rules.slice(0))).evalImports(e),this.features?new s(t.rules,this.features.value):t.rules},t.exports=h},{"./anonymous":46,"./media":66,"./node":70,"./quoted":73,"./ruleset":76,"./url":80}],62:[function(e,t,i){var n={};n.Node=e("./node"),n.Alpha=e("./alpha"),n.Color=e("./color"),n.Directive=e("./directive"),n.DetachedRuleset=e("./detached-ruleset"),n.Operation=e("./operation"),n.Dimension=e("./dimension"),n.Unit=e("./unit"),n.Keyword=e("./keyword"),n.Variable=e("./variable"),n.Ruleset=e("./ruleset"),n.Element=e("./element"),n.Attribute=e("./attribute"),n.Combinator=e("./combinator"),n.Selector=e("./selector"),n.Quoted=e("./quoted"),n.Expression=e("./expression"),n.Rule=e("./rule"),n.Call=e("./call"),n.URL=e("./url"),n.Import=e("./import"),n.mixin={Call:e("./mixin-call"),Definition:e("./mixin-definition")},n.Comment=e("./comment"),n.Anonymous=e("./anonymous"),n.Value=e("./value"),n.JavaScript=e("./javascript"),n.Assignment=e("./assignment"),n.Condition=e("./condition"),n.Paren=e("./paren"),n.Media=e("./media"),n.UnicodeDe
1scriptor=e("./unicode-descriptor"),n.Negative=e("./negative"),n.Extend=e("./extend"),n.RulesetCall=e("./ruleset-call"),t.exports=n},{"./alpha":45,"./anonymous":46,"./assignment":47,"./attribute":48,"./call":49,"./color":50,"./combinator":51,"./comment":52,"./condition":53,"./detached-ruleset":55,"./dimension":56,"./directive":57,"./element":58,"./expression":59,"./extend":60,"./import":61,"./javascript":63,"./keyword":65,"./media":66,"./mixin-call":67,"./mixin-definition":68,"./negative":69,"./node":70,"./operation":71,"./paren":72,"./quoted":73,"./rule":74,"./ruleset":76,"./ruleset-call":75,"./selector":77,"./unicode-descriptor":78,"./unit":79,"./url":80,"./value":81,"./variable":82}],63:[function(e,t,i){var n=e("./js-eval-node"),s=e("./dimension"),r=e("./quoted"),a=e("./anonymous"),o=function(e,t,i,n){this.escaped=t,this.expression=e,this.index=i,this.currentFileInfo=n};(o.prototype=new n).type="JavaScript",o.prototype.eval=function(e){var t=this.evaluateJavaScript(this.expression,e);return"number"==typeof t?new s(t):"string"==typeof t?new r('"'+t+'"',t,this.escaped,this.index):Array.isArray(t)?new a(t.join(", ")):new a(t)},t.exports=o},{"./anonymous":46,"./dimension":56,"./js-eval-node":64,"./quoted":73}],64:[function(e,t,i){var n=e("./node"),s=e("./variable"),r=function(){};(r.prototype=new n).evaluateJavaScript=function(e,t){var i,n=this,r={};if(void 0!==t.javascriptEnabled&&!t.javascriptEnabled)throw{message:"You are using JavaScript, which has been disabled.",filename:this.currentFileInfo.filename,index:this.index};e=e.replace(/@\{([\w-]+)\}/g,(function(e,i){return n.jsify(new s("@"+i,n.index,n.currentFileInfo).eval(t))}));try{e=new Function("return ("+e+")")}catch(t){throw{message:"JavaScript evaluation error: "+t.message+" from `"+e+"`",filename:this.currentFileInfo.filename,index:this.index}}var a=t.frames[0].variables();for(var o in a)a.hasOwnProperty(o)&&(r[o.slice(1)]={value:a[o].value,toJS:function(){return this.value.eval(t).toCSS()}});try{i=e.call(r)}catch(e){throw{message:"JavaScript evaluation error: '"+e.name+": "+e.message.replace(/["]/g,"'")+"'",filename:this.currentFileInfo.filename,index:this.index}}return i},r.prototype.jsify=function(e){return Array.isArray(e.value)&&e.value.length>1?"["+e.value.map((function(e){return e.toCSS()})).join(", ")+"]":e.toCSS()},t.exports=r},{"./node":70,"./variable":82}],65:[function(e,t,i){var n=e("./node"),s=function(e){this.value=e};(s.prototype=new n).type="Keyword",s.prototype.genCSS=function(e,t){if("%"===this.value)throw{type:"Syntax",message:"Invalid % without number"};t.add(this.value)},s.True=new s("true"),s.False=new s("false"),t.exports=s},{"./node":70}],66:[function(e,t,i){var n=e("./ruleset"),s=e("./value"),r=e("./selector"),a=e("./anonymous"),o=e("./expression"),l=e("./directive"),h=function(e,t,i,a,o){this.index=i,this.currentFileInfo=a;var l=new r([],null,null,this.index,this.currentFileInfo).createEmptySelectors();this.features=new s(t),this.rules=[new n(l,e)],this.rules[0].allowImports=!0,this.copyVisibilityInfo(o),this.allowRoot=!0};(h.prototype=new l).type="Media",h.prototype.isRulesetLike=!0,h.prototype.accept=function(e){this.features&&(this.features=e.visit(this.features)),this.rules&&(this.rules=e.visitArray(this.rules))},h.prototype.genCSS=function(e,t){t.add("@media ",this.currentFileInfo,this.index),this.features.genCSS(e,t),this.outputRuleset(e,t,this.rules)},h.prototype.eval=function(e){e.mediaBlocks||(e.mediaBlocks=[],e.mediaPath=[]);var t=new h(null,[],this.index,this.currentFileInfo,this.visibilityInfo());this.debugInfo&&(this.rules[0].debugInfo=this.debugInfo,t.debugInfo=this.debugInfo);var i=!1;e.strictMath||(i=!0,e.strictMath=!0);try{t.features=this.features.eval(e)}finally{i&&(e.strictMath=!1)}return e.mediaPath.push(t),e.mediaBlocks.push(t),this.rules[0].functionRegistry=e.frames[0].functionRegistry.inherit(),e.frames.unshift(this.rules[0]),t.rules=[this.rules[0].eval(e)],e.frames.shift(),e.mediaPath.pop(),0===e.mediaPath.length?t.evalTop(e):t.evalNested(e)},h.prototype.evalTop=function(e){var t=this;if(e.mediaBlocks.length>1){var i=new r([],null,null,this.index,this.currentFileInfo).createEmptySelectors();
1(t=new n(i,e.mediaBlocks)).multiMedia=!0,t.copyVisibilityInfo(this.visibilityInfo())}return delete e.mediaBlocks,delete e.mediaPath,t},h.prototype.evalNested=function(e){var t,i,r=e.mediaPath.concat([this]);for(t=0;t<r.length;t++)i=r[t].features instanceof s?r[t].features.value:r[t].features,r[t]=Array.isArray(i)?i:[i];return this.features=new s(this.permute(r).map((function(e){for(e=e.map((function(e){return e.toCSS?e:new a(e)})),t=e.length-1;t>0;t--)e.splice(t,0,new a("and"));return new o(e)}))),new n([],[])},h.prototype.permute=function(e){if(0===e.length)return[];if(1===e.length)return e[0];for(var t=[],i=this.permute(e.slice(1)),n=0;n<i.length;n++)for(var s=0;s<e[0].length;s++)t.push([e[0][s]].concat(i[n]));return t},h.prototype.bubbleSelectors=function(e){e&&(this.rules=[new n(e.slice(0),[this.rules[0]])])},t.exports=h},{"./anonymous":46,"./directive":57,"./expression":59,"./ruleset":76,"./selector":77,"./value":81}],67:[function(e,t,i){var n=e("./node"),s=e("./selector"),r=e("./mixin-definition"),a=e("../functions/default"),o=function(e,t,i,n,r){this.selector=new s(e),this.arguments=t||[],this.index=i,this.currentFileInfo=n,this.important=r,this.allowRoot=!0};(o.prototype=new n).type="MixinCall",o.prototype.accept=function(e){this.selector&&(this.selector=e.visit(this.selector)),this.arguments.length&&(this.arguments=e.visitArray(this.arguments))},o.prototype.eval=function(e){var t,i,n,s,o,l,h,u,c,d,p,f,v,m,g,y=[],b=[],w=!1,x=[],S=[];function C(t,i){var n,s,r;for(n=0;n<2;n++){for(S[n]=!0,a.value(n),s=0;s<i.length&&S[n];s++)(r=i[s]).matchCondition&&(S[n]=S[n]&&r.matchCondition(null,e));t.matchCondition&&(S[n]=S[n]&&t.matchCondition(y,e))}return S[0]||S[1]?S[0]!=S[1]?S[1]?1:2:0:-1}for(l=0;l<this.arguments.length;l++)if(o=(s=this.arguments[l]).value.eval(e),s.expand&&Array.isArray(o.value))for(o=o.value,h=0;h<o.length;h++)y.push({value:o[h]});else y.push({name:s.name,value:o});for(g=function(t){return t.matchArgs(null,e)},l=0;l<e.frames.length;l++)if((t=e.frames[l].find(this.selector,null,g)).length>0){for(d=!0,h=0;h<t.length;h++){for(i=t[h].rule,n=t[h].path,c=!1,u=0;u<e.frames.length;u++)if(!(i instanceof r)&&i===(e.frames[u].originalRuleset||e.frames[u])){c=!0;break}c||i.matchArgs(y,e)&&(-1!==(p={mixin:i,group:C(i,n)}).group&&x.push(p),w=!0)}for(a.reset(),v=[0,0,0],h=0;h<x.length;h++)v[x[h].group]++;if(v[0]>0)f=2;else if(f=1,v[1]+v[2]>1)throw{type:"Runtime",message:"Ambiguous use of `default()` found when matching for `"+this.format(y)+"`",index:this.index,filename:this.currentFileInfo.filename};for(h=0;h<x.length;h++)if(0===(p=x[h].group)||p===f)try{(i=x[h].mixin)instanceof r||(m=i.originalRuleset||i,(i=new r("",[],i.rules,null,!1,null,m.visibilityInfo())).originalRuleset=m);var E=i.evalCall(e,y,this.important).rules;this._setVisibilityToReplacement(E),Array.prototype.push.apply(b,E)}catch(e){throw{message:e.message,index:this.index,filename:this.currentFileInfo.filename,stack:e.stack}}if(w)return b}throw d?{type:"Runtime",message:"No matching definition was found for `"+this.format(y)+"`",index:this.index,filename:this.currentFileInfo.filename}:{type:"Name",message:this.selector.toCSS().trim()+" is undefined",index:this.index,filename:this.currentFileInfo.filename}},o.prototype._setVisibilityToReplacement=function(e){var t;if(this.blocksVisibility())for(t=0;t<e.length;t++)e[t].addVisibilityBlock()},o.prototype.format=function(e){return this.selector.toCSS().trim()+"("+(e?e.map((function(e){var t="";return e.name&&(t+=e.name+":"),e.value.toCSS?t+=e.value.toCSS():t+="???",t})).join(", "):"")+")"},t.exports=o},{"../functions/default":20,"./mixin-definition":68,"./node":70,"./selector":77}],68:[function(e,t,i){var n=e("./selector"),s=e("./element"),r=e("./ruleset"),a=e("./rule"),o=e("./expression"),l=e("../contexts"),h=function(e,t,i,r,a,o,l){this.name=e,this.selectors=[new n([new s(null,e,this.index,this.currentFileInfo)])],this.params=t,this.condition=r,this.variadic=a,this.arity=t.length,this.rules=i,this._lookups={};var h=[];this.required=t.reduce((function(e,t){return!t.name||t.name&&!t.value?e+1:(h.push(t.name),e)}),0),this.optionalParameters=h,this.frames=o,this.copyVisibilityInfo(l),this.allowRoot=!0};(h.prototype=new r).type="MixinDefinition",h.prototype.evalFirst=!0,h.prototype.accept=function(e){this.params&&this.params.length&&(this.params=e.visitArray(this.params)),this.rules=e.visitArray(this.rules),this.condition&&(this.condition=e.visit(this.condition))},h.prototype.evalParams=function(e,t,i,n){var s,h,u,c,d,p,f,v,m=new r(null,null),g=this.params.slice(0),y=0;if(t.frames&&t.frames[0]&&t.frames[0].functionRegistry&&(m.functionRegistry=t.frames[0].functionRegistry.inherit()),t=new l.Eval(t,[m].concat(t.frames)),i)for(y=(i=i.slice(0)).length,u=0;u<y;u++)if(p=(h=i[u])&&h.name){for(f=!1,c=0;c<g.length;c++)if(!n[c]&&p===g[c].name){n[c]=h.value.eval(e),m.prependRule(new a(p,h.value.eval(e))),f=!0;break}if(f){i.splice(u,1),u--;continue}throw{type:"Runtime",message:"Named argument for "+this.name+" "+i[u].name+" not found"}}for(v=0,u=0;u<g.length;u++)if(!n[u]){if(h=i&&i[v],p=g[u].name)if(g[u].variadic){for(s=[],c=v;c<y;c++)s.push(i[c].value.eval(e));
1m.prependRule(new a(p,new o(s).eval(e)))}else{if(d=h&&h.value)d=d.eval(e);else{if(!g[u].value)throw{type:"Runtime",message:"wrong number of arguments for "+this.name+" ("+y+" for "+this.arity+")"};d=g[u].value.eval(t),m.resetCache()}m.prependRule(new a(p,d)),n[u]=d}if(g[u].variadic&&i)for(c=v;c<y;c++)n[c]=i[c].value.eval(e);v++}return m},h.prototype.makeImportant=function(){var e=this.rules?this.rules.map((function(e){return e.makeImportant?e.makeImportant(!0):e})):this.rules;return new h(this.name,this.params,e,this.condition,this.variadic,this.frames)},h.prototype.eval=function(e){return new h(this.name,this.params,this.rules,this.condition,this.variadic,this.frames||e.frames.slice(0))},h.prototype.evalCall=function(e,t,i){var n,s,h=[],u=this.frames?this.frames.concat(e.frames):e.frames,c=this.evalParams(e,new l.Eval(e,u),t,h);return c.prependRule(new a("@arguments",new o(h).eval(e))),n=this.rules.slice(0),(s=new r(null,n)).originalRuleset=this,s=s.eval(new l.Eval(e,[this,c].concat(u))),i&&(s=s.makeImportant()),s},h.prototype.matchCondition=function(e,t){return!(this.condition&&!this.condition.eval(new l.Eval(t,[this.evalParams(t,new l.Eval(t,this.frames?this.frames.concat(t.frames):t.frames),e,[])].concat(this.frames||[]).concat(t.frames))))},h.prototype.matchArgs=function(e,t){var i,n=e&&e.length||0,s=this.optionalParameters,r=e?e.reduce((function(e,t){return s.indexOf(t.name)<0?e+1:e}),0):0;if(this.variadic){if(r<this.required-1)return!1}else{if(r<this.required)return!1;if(n>this.params.length)return!1}i=Math.min(r,this.arity);for(var a=0;a<i;a++)if(!this.params[a].name&&!this.params[a].variadic&&e[a].value.eval(t).toCSS()!=this.params[a].value.eval(t).toCSS())return!1;return!0},t.exports=h},{"../contexts":11,"./element":58,"./expression":59,"./rule":74,"./ruleset":76,"./selector":77}],69:[function(e,t,i){var n=e("./node"),s=e("./operation"),r=e("./dimension"),a=function(e){this.value=e};(a.prototype=new n).type="Negative",a.prototype.genCSS=function(e,t){t.add("-"),this.value.genCSS(e,t)},a.prototype.eval=function(e){return e.isMathOn()?new s("*",[new r(-1),this.value]).eval(e):new a(this.value.eval(e))},t.exports=a},{"./dimension":56,"./node":70,"./operation":71}],70:[function(e,t,i){var n=function(){};n.prototype.toCSS=function(e){var t=[];return this.genCSS(e,{add:function(e,i,n){t.push(e)},isEmpty:function(){return 0===t.length}}),t.join("")},n.prototype.genCSS=function(e,t){t.add(this.value)},n.prototype.accept=function(e){this.value=e.visit(this.value)},n.prototype.eval=function(){return this},n.prototype._operate=function(e,t,i,n){switch(t){case"+":return i+n;case"-":return i-n;case"*":return i*n;case"/":return i/n}},n.prototype.fround=function(e,t){var i=e&&e.numPrecision;return null==i?t:Number((t+2e-16).toFixed(i))},n.compare=function(e,t){if(e.compare&&"Quoted"!==t.type&&"Anonymous"!==t.type)return e.compare(t);if(t.compare)return-t.compare(e);if(e.type===t.type){if(e=e.value,t=t.value,!Array.isArray(e))return e===t?0:void 0;if(e.length===t.length){for(var i=0;i<e.length;i++)if(0!==n.compare(e[i],t[i]))return;return 0}}},n.numericCompare=function(e,t){return e<t?-1:e===t?0:e>t?1:void 0},n.prototype.blocksVisibility=function(){return null==this.visibilityBlocks&&(this.visibilityBlocks=0),0!==this.visibilityBlocks},n.prototype.addVisibilityBlock=function(){null==this.visibilityBlocks&&(this.visibilityBlocks=0),this.visibilityBlocks=this.visibilityBlocks+1},n.prototype.removeVisibilityBlock=function(){null==this.visibilityBlocks&&(this.visibilityBlocks=0),this.visibilityBlocks=this.visibilityBlocks-1},n.prototype.ensureVisibility=function(){this.nodeVisible=!0},n.prototype.ensureInvisibility=function(){this.nodeVisible=!1},n.prototype.isVisible=function(){return this.nodeVisible},n.prototype.visibilityInfo=function(){return{visibilityBlocks:this.visibilityBlocks,nodeVisible:this.nodeVisible}},n.prototype.copyVisibilityInfo=function(e){e&&(this.visibilityBlocks=e.visibilityBlocks,this.nodeVisible=e.nodeVisible)},t.exports=n},{}],71:[function(e,t,i){var n=e("./node"),s=e("./color"),r=e("./dimension"),a=function(e,t,i){this.op=e.trim(),this.operands=t,this.isSpaced=i};(a.prototype=new n).type="Operation",a.prototype.accept=function(e){this.operands=e.visit(this.operands)},a.prototype.eval=function(e){var t=this.operands[0].eval(e),i=this.operands[1].eval(e);if(e.isMathOn()){if(t instanceof r&&i instanceof s&&(t=t.toColor()),i instanceof r&&t instanceof s&&(i=i.toColor()),!t.operate)throw{type:"Operation",message:"Operation on an invali
1d type"};return t.operate(e,this.op,i)}return new a(this.op,[t,i],this.isSpaced)},a.prototype.genCSS=function(e,t){this.operands[0].genCSS(e,t),this.isSpaced&&t.add(" "),t.add(this.op),this.isSpaced&&t.add(" "),this.operands[1].genCSS(e,t)},t.exports=a},{"./color":50,"./dimension":56,"./node":70}],72:[function(e,t,i){var n=e("./node"),s=function(e){this.value=e};(s.prototype=new n).type="Paren",s.prototype.genCSS=function(e,t){t.add("("),this.value.genCSS(e,t),t.add(")")},s.prototype.eval=function(e){return new s(this.value.eval(e))},t.exports=s},{"./node":70}],73:[function(e,t,i){var n=e("./node"),s=e("./js-eval-node"),r=e("./variable"),a=function(e,t,i,n,s){this.escaped=null==i||i,this.value=t||"",this.quote=e.charAt(0),this.index=n,this.currentFileInfo=s};(a.prototype=new s).type="Quoted",a.prototype.genCSS=function(e,t){this.escaped||t.add(this.quote,this.currentFileInfo,this.index),t.add(this.value),this.escaped||t.add(this.quote)},a.prototype.containsVariables=function(){return this.value.match(/(`([^`]+)`)|@\{([\w-]+)\}/)},a.prototype.eval=function(e){var t=this,i=this.value;function n(e,t,i){var n=e;do{n=(e=n).replace(t,i)}while(e!==n);return n}return i=n(i=n(i,/`([^`]+)`/g,(function(i,n){return String(t.evaluateJavaScript(n,e))})),/@\{([\w-]+)\}/g,(function(i,n){var s=new r("@"+n,t.index,t.currentFileInfo).eval(e,!0);return s instanceof a?s.value:s.toCSS()})),new a(this.quote+i+this.quote,i,this.escaped,this.index,this.currentFileInfo)},a.prototype.compare=function(e){return"Quoted"!==e.type||this.escaped||e.escaped?e.toCSS&&this.toCSS()===e.toCSS()?0:void 0:n.numericCompare(this.value,e.value)},t.exports=a},{"./js-eval-node":64,"./node":70,"./variable":82}],74:[function(e,t,i){var n=e("./node"),s=e("./value"),r=e("./keyword"),a=function(e,t,i,r,a,o,l,h){this.name=e,this.value=t instanceof n?t:new s([t]),this.important=i?" "+i.trim():"",this.merge=r,this.index=a,this.currentFileInfo=o,this.inline=l||!1,this.variable=void 0!==h?h:e.charAt&&"@"===e.charAt(0),this.allowRoot=!0};(a.prototype=new n).type="Rule",a.prototype.genCSS=function(e,t){t.add(this.name+(e.compress?":":": "),this.currentFileInfo,this.index);try{this.value.genCSS(e,t)}catch(e){throw e.index=this.index,e.filename=this.currentFileInfo.filename,e}t.add(this.important+(this.inline||e.lastRule&&e.compress?"":";"),this.currentFileInfo,this.index)},a.prototype.eval=function(e){var t,i=!1,n=this.name,s=this.variable;"string"!=typeof n&&(n=1===n.length&&n[0]instanceof r?n[0].value:function(e,t){var i,n="",s=t.length,r={add:function(e){n+=e}};for(i=0;i<s;i++)t[i].eval(e).genCSS(e,r);return n}(e,n),s=!1),"font"!==n||e.strictMath||(i=!0,e.strictMath=!0);try{if(e.importantScope.push({}),t=this.value.eval(e),!this.variable&&"DetachedRuleset"===t.type)throw{message:"Rulesets cannot be evaluated on a property.",index:this.index,filename:this.currentFileInfo.filename};var o=this.important,l=e.importantScope.pop();return!o&&l.important&&(o=l.important),new a(n,t,o,this.merge,this.index,this.currentFileInfo,this.inline,s)}catch(e){throw"number"!=typeof e.index&&(e.index=this.index,e.filename=this.currentFileInfo.filename),e}finally{i&&(e.strictMath=!1)}},a.prototype.makeImportant=function(){return new a(this.name,this.value,"!important",this.merge,this.index,this.currentFileInfo,this.inline)},t.exports=a},{"./keyword":65,"./node":70,"./value":81}],75:[function(e,t,i){var n=e("./node"),s=e("./variable"),r=function(e){this.variable=e,this.allowRoot=!0};(r.prototype=new n).type="RulesetCall",r.prototype.eval=function(e){return new s(this.variable).eval(e).callEval(e)},t.exports=r},{"./node":70,"./variable":82}],76:[function(e,t,i){var n=e("./node"),s=e("./rule"),r=e("./selector"),a=e("./element"),o=e("./paren"),l=e("../contexts"),h=e("../functions/function-registry"),u=e("../functions/default"),c=e("./debug-info"),d=function(e,t,i,n){this.selectors=e,this.rules=t,this._lookups={},this.strictImports=i,this.copyVisibilityInfo(n),this.allowRoot=!0};(d.prototype=new n).type="Ruleset",d.prototype.isRuleset=!0,d.prototype.isRulesetLike=!0,d.prototype.accept=function(e){this.paths?this.paths=e.visitArray(this.paths,!0):this.selectors&&(this.selectors=e.visitArray(this.selectors)),this.rules&&this.rules.length&&(this.rules=e.visitArray(this.rules))},d.prototype.eval=function(e){var t,i,n,r,a=this.selectors,o=!1;
1if(a&&(i=a.length)){for(t=[],u.error({type:"Syntax",message:"it is currently only allowed in parametric mixin guards,"}),r=0;r<i;r++)n=a[r].eval(e),t.push(n),n.evaldCondition&&(o=!0);u.reset()}else o=!0;var l,c,p=this.rules?this.rules.slice(0):null,f=new d(t,p,this.strictImports,this.visibilityInfo());f.originalRuleset=this,f.root=this.root,f.firstRoot=this.firstRoot,f.allowImports=this.allowImports,this.debugInfo&&(f.debugInfo=this.debugInfo),o||(p.length=0),f.functionRegistry=function(e){for(var t,i=0,n=e.length;i!==n;++i)if(t=e[i].functionRegistry)return t;return h}(e.frames).inherit();var v=e.frames;v.unshift(f);var m=e.selectors;m||(e.selectors=m=[]),m.unshift(this.selectors),(f.root||f.allowImports||!f.strictImports)&&f.evalImports(e);var g=f.rules,y=g?g.length:0;for(r=0;r<y;r++)g[r].evalFirst&&(g[r]=g[r].eval(e));var b=e.mediaBlocks&&e.mediaBlocks.length||0;for(r=0;r<y;r++)"MixinCall"===g[r].type?(p=g[r].eval(e).filter((function(e){return!(e instanceof s&&e.variable&&f.variable(e.name))})),g.splice.apply(g,[r,1].concat(p)),y+=p.length-1,r+=p.length-1,f.resetCache()):"RulesetCall"===g[r].type&&(p=g[r].eval(e).rules.filter((function(e){return!(e instanceof s&&e.variable)})),g.splice.apply(g,[r,1].concat(p)),y+=p.length-1,r+=p.length-1,f.resetCache());for(r=0;r<g.length;r++)(l=g[r]).evalFirst||(g[r]=l=l.eval?l.eval(e):l);for(r=0;r<g.length;r++)if((l=g[r])instanceof d&&l.selectors&&1===l.selectors.length&&l.selectors[0].isJustParentSelector()){g.splice(r--,1);for(var w=0;w<l.rules.length;w++)(c=l.rules[w]).copyVisibilityInfo(l.visibilityInfo()),c instanceof s&&c.variable||g.splice(++r,0,c)}if(v.shift(),m.shift(),e.mediaBlocks)for(r=b;r<e.mediaBlocks.length;r++)e.mediaBlocks[r].bubbleSelectors(t);return f},d.prototype.evalImports=function(e){var t,i,n=this.rules;if(n)for(t=0;t<n.length;t++)"Import"===n[t].type&&((i=n[t].eval(e))&&(i.length||0===i.length)?(n.splice.apply(n,[t,1].concat(i)),t+=i.length-1):n.splice(t,1,i),this.resetCache())},d.prototype.makeImportant=function(){return new d(this.selectors,this.rules.map((function(e){return e.makeImportant?e.makeImportant():e})),this.strictImports,this.visibilityInfo())},d.prototype.matchArgs=function(e){return!e||0===e.length},d.prototype.matchCondition=function(e,t){var i=this.selectors[this.selectors.length-1];return!(!i.evaldCondition||i.condition&&!i.condition.eval(new l.Eval(t,t.frames)))},d.prototype.resetCache=function(){this._rulesets=null,this._variables=null,this._lookups={}},d.prototype.variables=function(){return this._variables||(this._variables=this.rules?this.rules.reduce((function(e,t){if(t instanceof s&&!0===t.variable&&(e[t.name]=t),"Import"===t.type&&t.root&&t.root.variables){var i=t.root.variables();for(var n in i)i.hasOwnProperty(n)&&(e[n]=i[n])}return e}),{}):{}),this._variables},d.prototype.variable=function(e){return this.variables()[e]},d.prototype.rulesets=function(){if(!this.rules)return[];var e,t,i=[],n=this.rules,s=n.length;for(e=0;e<s;e++)(t=n[e]).isRuleset&&i.push(t);return i},d.prototype.prependRule=function(e){var t=this.rules;t?t.unshift(e):this.rules=[e]},d.prototype.find=function(e,t,i){t=t||this;var n,s,a=[],o=e.toCSS();return o in this._lookups?this._lookups[o]:(this.rulesets().forEach((function(o){if(o!==t)for(var l=0;l<o.selectors.length;l++)if(n=e.match(o.selectors[l])){if(e.elements.length>n){if(!i||i(o)){s=o.find(new r(e.elements.slice(n)),t,i);for(var h=0;h<s.length;++h)s[h].path.push(o);Array.prototype.push.apply(a,s)}}else a.push({rule:o,path:[]});break}})),this._lookups[o]=a,a)},d.prototype.genCSS=function(e,t){var i,n,s,r,a,o=[];e.tabLevel=e.tabLevel||0,this.root||e.tabLevel++;var l,h=e.compress?"":Array(e.tabLevel+1).join("  "),u=e.compress?"":Array(e.tabLevel).join("  ");function d(e){return"boolean"==typeof e.isRulesetLike?e.isRulesetLike:"function"==typeof e.isRulesetLike&&e.isRulesetLike()}var p=0,f=0;for(i=0;i<this.rules.length;i++)"Comment"===(r=this.rules[i]).type?(f===i&&f++,o.push(r)):r.isCharset&&r.isCharset()?(o.splice(p,0,r),p++,f++):"Import"===r.type?(o.splice(f,0,r),f++):o.push(r);if(o=[].concat(o),!this.root){(s=c(e,this,u))&&(t.add(s),t.add(u));var v,m=this.paths,g=m.length;for(l=e.compress?",":",\n"+u,i=0;i<g;i++)if(v=(a=m[i]).length)for(i>0&&t.add(l),e.firstSelector=!0,a[0].genCSS(e,t),e.firstSelector=!1,n=1;n<v;n++)a[n].genCSS(e,t);t.add((e.compress?"{":" {\n")+h)}for(i=0;i<o.length;i++){r=o[i],i+1===o.length&&(e.lastRule=!0);var y=e.lastRule;d(r)&&(e.lastRule=!1),r.genCSS?r.genCSS(e,t):r.value&&t.add(r.value.toString()),e.lastRule=y,e.lastRule?e.lastRule=!1:t.add(e.compress?"":"\n"+h)}this.root||(t.add(e.compress?"}":"\n"+u+"}"),e.tabLevel--),t.isEmpty()||e.compress||!this.firstRoot||t.add("\n")},d.prototype.joinSelectors=function(e,t,i){for(var n=0;n<i.length;n++)this.joinSelector(e,t,i[n])},d.prototype.joinSelector=function(e,t,i){function n(e,t){var i,n;if(0===e.length)i=new o(e[0]);else{var s=[];for(n=0;n<e.length;n++)s.push(new a(null,e[n],t.index,t.currentFileInfo));i=new o(new r(s))}return i}function s(e,t){var i;return i=new a(null,e,t.index,t.currentFileInfo),new r([i])}function l(e,t,i,n){var s,r,o;
1if(s=[],e.length>0?(r=(s=e.slice(0)).pop(),o=n.createDerived(r.elements.slice(0))):o=n.createDerived([]),t.length>0){var l=i.combinator,h=t[0].elements[0];l.emptyOrWhitespace&&!h.combinator.emptyOrWhitespace&&(l=h.combinator),o.elements.push(new a(l,h.value,i.index,i.currentFileInfo)),o.elements=o.elements.concat(t[0].elements.slice(1))}if(0!==o.elements.length&&s.push(o),t.length>1){var u=t.slice(1);u=u.map((function(e){return e.createDerived(e.elements,[])})),s=s.concat(u)}return s}function h(e,t,i,n,s){var r;for(r=0;r<e.length;r++){var a=l(e[r],t,i,n);s.push(a)}return s}function u(e,t){var i,n;if(0!==e.length)if(0!==t.length)for(i=0;i<t.length;i++)(n=t[i]).length>0?n[n.length-1]=n[n.length-1].createDerived(n[n.length-1].elements.concat(e)):n.push(new r(e));else t.push([new r(e)])}function c(e,t){var i=t.createDerived(t.elements,t.extendList,t.evaldCondition);return i.copyVisibilityInfo(e),i}var d,p;if(!function e(t,i,r){var o,c,d,p,f,v,m,g,y,b,w=!1;function x(e){var t;return"Paren"!==e.value.type||"Selector"!==(t=e.value.value).type?null:t}for(p=[],f=[[]],o=0;o<r.elements.length;o++)if("&"!==(g=r.elements[o]).value){var S=x(g);if(null!=S){u(p,f);var C,E=[],T=[];for(C=e(E,i,S),w=w||C,d=0;d<E.length;d++)h(f,[s(n(E[d],g),g)],g,r,T);f=T,p=[]}else p.push(g)}else{for(w=!0,v=[],u(p,f),c=0;c<f.length;c++)if(m=f[c],0===i.length)m.length>0&&m[0].elements.push(new a(g.combinator,"",g.index,g.currentFileInfo)),v.push(m);else for(d=0;d<i.length;d++){var M=l(m,i[d],g,r);v.push(M)}f=v,p=[]}for(u(p,f),o=0;o<f.length;o++)(y=f[o].length)>0&&(t.push(f[o]),b=f[o][y-1],f[o][y-1]=b.createDerived(b.elements,r.extendList));return w}(p=[],t,i))if(t.length>0)for(p=[],d=0;d<t.length;d++){var f=t[d].map(c.bind(this,i.visibilityInfo()));f.push(i),p.push(f)}else p=[[i]];for(d=0;d<p.length;
1d++)e.push(p[d])},t.exports=d},{"../contexts":11,"../functions/default":20,"../functions/function-registry":22,"./debug-info":54,"./element":58,"./node":70,"./paren":72,"./rule":74,"./selector":77}],77:[function(e,t,i){var n=e("./node"),s=e("./element"),r=function(e,t,i,n,s,r){this.elements=e,this.extendList=t,this.condition=i,this.currentFileInfo=s||{},i||(this.evaldCondition=!0),this.copyVisibilityInfo(r)};(r.prototype=new n).type="Selector",r.prototype.accept=function(e){this.elements&&(this.elements=e.visitArray(this.elements)),this.extendList&&(this.extendList=e.visitArray(this.extendList)),this.condition&&(this.condition=e.visit(this.condition))},r.prototype.createDerived=function(e,t,i){var n=this.visibilityInfo();i=null!=i?i:this.evaldCondition;var s=new r(e,t||this.extendList,null,this.index,this.currentFileInfo,n);return s.evaldCondition=i,s.mediaEmpty=this.mediaEmpty,s},r.prototype.createEmptySelectors=function(){var e=new s("","&",this.index,this.currentFileInfo),t=[new r([e],null,null,this.index,this.currentFileInfo)];return t[0].mediaEmpty=!0,t},r.prototype.match=function(e){var t,i,n=this.elements,s=n.length;if(e.CacheElements(),0===(t=e._elements.length)||s<t)return 0;for(i=0;i<t;i++)if(n[i].value!==e._elements[i])return 0;return t},r.prototype.CacheElements=function(){if(!this._elements){var e=this.elements.map((function(e){return e.combinator.value+(e.value.value||e.value)})).join("").match(/[,&#\*\.\w-]([\w-]|(\\.))*/g);e?"&"===e[0]&&e.shift():e=[],this._elements=e}},r.prototype.isJustParentSelector=function(){return!this.mediaEmpty&&1===this.elements.length&&"&"===this.elements[0].value&&(" "===this.elements[0].combinator.value||""===this.elements[0].combinator.value)},r.prototype.eval=function(e){var t=this.condition&&this.condition.eval(e),i=this.elements,n=this.extendList;return i=i&&i.map((function(t){return t.eval(e)})),n=n&&n.map((function(t){return t.eval(e)})),this.createDerived(i,n,t)},r.prototype.genCSS=function(e,t){var i;if(e&&e.firstSelector||""!==this.elements[0].combinator.value||t.add(" ",this.currentFileInfo,this.index),!this._css)for(i=0;i<this.elements.length;i++)this.elements[i].genCSS(e,t)},r.prototype.getIsOutput=function(){return this.evaldCondition},t.exports=r},{"./element":58,"./node":70}],78:[function(e,t,i){var n=e("./node"),s=function(e){this.value=e};(s.prototype=new n).type="UnicodeDescriptor",t.exports=s},{"./node":70}],79:[function(e,t,i){var n=e("./node"),s=e("../data/unit-conversions"),r=function(e,t,i){this.numerator=e?e.slice(0).sort():[],this.denominator=t?t.slice(0).sort():[],i?this.backupUnit=i:e&&e.length&&(this.backupUnit=e[0])};(r.prototype=new n).type="Unit",r.prototype.clone=function(){return new r(this.numerator.slice(0),this.denominator.slice(0),this.backupUnit)},r.prototype.genCSS=function(e,t){var i=e&&e.strictUnits;1===this.numerator.length?t.add(this.numerator[0]):!i&&this.backupUnit?t.add(this.backupUnit):!i&&this.denominator.length&&t.add(this.denominator[0])},r.prototype.toString=function(){var e,t=this.numerator.join("*");for(e=0;e<this.denominator.length;e++)t+="/"+this.denominator[e];return t},r.prototype.compare=function(e){return this.is(e.toString())?0:void 0},r.prototype.is=function(e){return this.toString().toUpperCase()===e.toUpperCase()},r.prototype.isLength=function(){return Boolean(this.toCSS().match(/px|em|%|in|cm|mm|pc|pt|ex/))},r.prototype.isEmpty=function(){return 0===this.numerator.length&&0===this.denominator.length},r.prototype.isSingular=function(){return this.numerator.length<=1&&0===this.denominator.length},r.prototype.map=function(e){var t;for(t=0;t<this.numerator.length;t++)this.numerator[t]=e(this.numerator[t],!1);for(t=0;t<this.denominator.length;t++)this.denominator[t]=e(this.denominator[t],!0)},r.prototype.usedUnits=function(){var e,t,i,n={};for(i in t=function(t){return e.hasOwnProperty(t)&&!n[i]&&(n[i]=t),t},s)s.hasOwnProperty(i)&&(e=s[i],this.map(t));return n},r.prototype.cancel=function(){var e,t,i={};for(t=0;t<this.numerator.length;t++)i[e=this.numerator[t]]=(i[e]||0)+1;for(t=0;t<this.denominator.length;t++)i[e=this.denominator[t]]=(i[e]||0)-1;for(e in this.numerator=[],this.denominator=[],i)if(i.hasOwnProperty(e)){var n=i[e];if(n>0)for(t=0;t<n;t++)this.numerator.push(e);else if(n<0)for(t=0;t<-n;t++)this.denominator.push(e)}this.numerator.sort(),this.denominator.sort()},t.exports=r},{"../data/unit-conversions":14,"./node":70}],80:[function(e,t,i){var n=e("./node"),s=function(e,t,i,n){this.value=e,this.currentFileInfo=i,this.index=t,this.isEvald=n};(s.prototype=new n).type="Url",s.prototype.accept=function(e){this.value=e.visit(this.value)},s.prototype.genCSS=function(e,t){t.add("url("),this.value.genCSS(e,t),t.add(")")},s.prototype.eval=function(e){var t,i=this.value.eval(e);if(!this.isEvald&&((t=this.currentFileInfo&&this.currentFileInfo.rootpath)&&"string"==typeof i.value&&e.isPathRelative(i.value)&&(i.quote||(t=t.replace(/[\(\)'"\s]/g,(function(e){return"\\"+e}))),i.value=t+i.value),i.value=e.normalizePath(i.value),e.urlArgs&&!i.value.match(/^\s*data:/))){var n=(-1===i.value.indexOf("?")?"?":"&")+e.urlArgs;-1!==i.value.indexOf("#")?i.value=i.value.replace("#",n+"#"):i.value+=n}return new s(i,this.index,this.currentFileInfo,!0)},t.exports=s},{"./node":70}],81:[function(e,t,i){var n=e("./node"),s=function(e){if(this.value=e,!e)throw new Error("Value requires an array argument")};(s.prototype=new n).type="Value",s.prototype.accept=function(e){this.value&&(this.value=e.visitArray(this.value))},s.prototype.eval=function(e){return 1===this.value.length?this.value[0].eval(e):new s(this.value.map((function(t){return t.eval(e)})))},s.prototype.genCSS=function(e,t){var i;for(i=0;i<this.value.length;i++)this.value[i].genCSS(e,t),i+1<this.value.length&&t.add(e&&e.compress?",":", ")},t.exports=s},{"./node":70}],82:[function(e,t,i){var n=e("./node"),s=function(e,t,i){this.name=e,this.index=t,this.currentFileInfo=i||{}};(s.prototype=new n).type="Variable",s.prototype.eval=function(e){var t,i=this.name;if(0===i.indexOf("@@")&&(i="@"+new s(i.slice(1),this.index,this.currentFileInfo).eval(e).value),this.evaluating)throw{type:"Name",message:"Recursive variable definition for "+i,filename:this.currentFileInfo.filename,index:this.index};if(this.evaluating=!0,t=this.find(e.frames,(function(t){var n=t.variable(i);if(n)return n.important&&(e.importantScope[e.importantScope.length-1].important=n.important),n.value.eval(e)})))return this.evaluating=!1,t;throw{type:"Name",message:"variable "+i+" is undefined",filename:this.currentFileInfo.filename,index:this.index}},s.prototype.find=function(e,t){for(var i,n=0;n<e.length;n++)if(i=t.call(e,e[n]))return i;return null},t.exports=s},{"./node":70}],83:[function(e,t,i){t.exports={getLocation:function(e,t){for(var i=e+1,n=null,s=-1;--i>=0&&"\n"!==t.charAt(i);)s++;return"number"==typeof e&&(n=(t.slice(0,e).match(/\n/g)||"").length),{line:n,column:s}}}},{}],84:[function(e,t,i){var n=e("../tree"),s=e("./visitor"),r=e("../logger"),a=function(){this._visitor=new s(this),this.contexts=[],this.allExtendsStack=[[]]};a.prototype={run:function(e){return(e=this._visitor.visit(e)).allExtends=this.allExtendsStack[0],e},visitRule:function(e,t){t.visitDeeper=!1},visitMixinDefinition:function(e,t){t.visitDeeper=!1}
vendor: 4,856 bytes, line 1
1,visitRuleset:function(e,t){if(!e.root){var i,s,r,a,o=[],l=e.rules,h=l?l.length:0;for(i=0;i<h;i++)e.rules[i]instanceof n.Extend&&(o.push(l[i]),e.extendOnEveryPath=!0);var u=e.paths;for(i=0;i<u.length;i++){var c=u[i],d=c[c.length-1].extendList;for((a=d?d.slice(0).concat(o):o)&&(a=a.map((function(e){return e.clone()}))),s=0;s<a.length;s++)this.foundExtends=!0,(r=a[s]).findSelfSelectors(c),r.ruleset=e,0===s&&(r.firstExtendOnThisSelectorPath=!0),this.allExtendsStack[this.allExtendsStack.length-1].push(r)}this.contexts.push(e.selectors)}},visitRulesetOut:function(e){e.root||(this.contexts.length=this.contexts.length-1)},visitMedia:function(e,t){e.allExtends=[],this.allExtendsStack.push(e.allExtends)},visitMediaOut:function(e){this.allExtendsStack.length=this.allExtendsStack.length-1},visitDirective:function(e,t){e.allExtends=[],this.allExtendsStack.push(e.allExtends)},visitDirectiveOut:function(e){this.allExtendsStack.length=this.allExtendsStack.length-1}};var o=function(){this._visitor=new s(this)};o.prototype={run:function(e){var t=new a;if(this.extendIndices={},t.run(e),!t.foundExtends)return e;e.allExtends=e.allExtends.concat(this.doExtendChaining(e.allExtends,e.allExtends)),this.allExtendsStack=[e.allExtends];var i=this._visitor.visit(e);return this.checkExtendsForNonMatched(e.allExtends),i},checkExtendsForNonMatched:function(e){var t=this.extendIndices;e.filter((function(e){return!e.hasFoundMatches&&1==e.parent_ids.length})).forEach((function(e){var i="_unknown_";try{i=e.selector.toCSS({})}catch(e){}t[e.index+" "+i]||(t[e.index+" "+i]=!0,r.warn("extend '"+i+"' has no matches"))}))},doExtendChaining:function(e,t,i){var s,r,a,o,l,h,u,c,d=[],p=this;for(i=i||0,s=0;s<e.length;s++)for(r=0;r<t.length;r++)h=e[s],u=t[r],h.parent_ids.indexOf(u.object_id)>=0||(l=[u.selfSelectors[0]],(a=p.findMatch(h,l)).length&&(h.hasFoundMatches=!0,h.selfSelectors.forEach((function(e){var t=u.visibilityInfo();o=p.extendSelector(a,l,e,h.isVisible()),(c=new n.Extend(u.selector,u.option,0,u.currentFileInfo,t)).selfSelectors=o,o[o.length-1].extendList=[c],d.push(c),c.ruleset=u.ruleset,c.parent_ids=c.parent_ids.concat(u.parent_ids,h.parent_ids),u.firstExtendOnThisSelectorPath&&(c.firstExtendOnThisSelectorPath=!0,u.ruleset.paths.push(o))}))));if(d.length){if(this.extendChainCount++,i>100){var f="{unable to calculate}",v="{unable to calculate}";try{f=d[0].selfSelectors[0].toCSS(),v=d[0].selector.toCSS()}catch(e){}throw{message:"extend circular reference detected. One of the circular extends is currently:"+f+":extend("+v+")"}}return d.concat(p.doExtendChaining(d,t,i+1))}return d},visitRule:function(e,t){t.visitDeeper=!1},visitMixinDefinition:function(e,t){t.visitDeeper=!1},visitSelector:function(e,t){t.visitDeeper=!1},visitRuleset:function(e,t){if(!e.root){var i,n,s,r,a=this.allExtendsStack[this.allExtendsStack.length-1],o=[],l=this;for(s=0;s<a.length;s++)for(n=0;n<e.paths.length;n++)if(r=e.paths[n],!e.extendOnEveryPath){var h=r[r.length-1].extendList;h&&h.length||(i=this.findMatch(a[s],r)).length&&(a[s].hasFoundMatches=!0,a[s].selfSelectors.forEach((function(e){var t;t=l.extendSelector(i,r,e,a[s].isVisible()),o.push(t)})))}e.paths=e.paths.concat(o)}},findMatch:function(e,t){var i,n,s,r,a,o,l,h=e.selector.elements,u=[],c=[];for(i=0;i<t.length;i++)for(n=t[i],s=0;s<n.elements.length;s++)for(r=n.elements[s],(e.allowBefore||0===i&&0===s)&&u.push({pathIndex:i,index:s,matched:0,initialCombinator:r.combinator}),o=0;o<u.length;o++)l=u[o],""===(a=r.combinator.value)&&0===s&&(a=" "),!this.isElementValuesEqual(h[l.matched].value,r.value)||l.matched>0&&h[l.matched].combinator.value!==a?l=null:l.matched++,l&&(l.finished=l.matched===h.length,l.finished&&!e.allowAfter&&(s+1<n.elements.length||i+1<t.length)&&(l=null)),l?l.finished&&(l.length=h.length,l.endPathIndex=i,l.endPathElementIndex=s+1,u.length=0,c.push(l)):(u.splice(o,1),o--);return c},isElementValuesEqual:function(e,t){if("string"==typeof e||"string"==typeof t)return e===t;if(e instanceof n.Attribute)return e.op===t.op&&e.key===t.key&&(e.value&&t.value?(e=e.value.value||e.value)===(t=t.value.value||t.value):!e.value&&!t.value);if(e=e.value,t=t.value,e instanceof n.Selector){if(!(t instanceof n.Selector)||e.elements.length!==t.elements.length)return!1;for(var i=0;i<e.elements.length;i++){if(e.elements[i].combinator.value!==t.elements[i].combinator.value&&(0!==i||(e.elements[i].combinator.value||" ")!==(t.elements[i].combinator.value||" ")))return!1;if(!this.isElementValuesEqual(e.elements[i].value,t.elements[i].value))return!1}return!0}return!1},extendSelector:function(e,t,i,s){var r,a,o,l,h,u=0,c=0,d=[];for(r=0;r<e.length;r++)a=t[(l=e[r]).pathIndex],o=new n.Element(l.initialCombinator,i.elements[0].value,i.elements[0].index,i.elements[0].currentFileInfo),l.pathIndex>u&&c>0&&(d[d.length-1].elements=d[d.length-1].elements.concat(t[u].elements.slice(c)),c=0,u
1++),h=a.elements.slice(c,l.index).concat([o]).concat(i.elements.slice(1)),u===l.pathIndex&&r>0?d[d.length-1].elements=d[d.length-1].elements.concat(h):(d=d.concat(t.slice(u,l.pathIndex))).push(new n.Selector(h)),u=l.endPathIndex,(c=l.endPathElementIndex)>=t[u].elements.length&&(c=0,u++);return u<t.length&&c>0&&(d[d.length-1].elements=d[d.length-1].elements.concat(t[u].elements.slice(c)),u++),(d=d.concat(t.slice(u,t.length))).map((function(e){var t=e.createDerived(e.elements);return s?t.ensureVisibility():t.ensureInvisibility(),t}))},visitMedia:function(e,t){var i=e.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);i=i.concat(this.doExtendChaining(i,e.allExtends)),this.allExtendsStack.push(i)},visitMediaOut:function(e){var t=this.allExtendsStack.length-1;this.allExtendsStack.length=t},visitDirective:function(e,t){var i=e.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);i=i.concat(this.doExtendChaining(i,e.allExtends)),this.allExtendsStack.push(i)},visitDirectiveOut:function(e){var t=this.allExtendsStack.length-1;this.allExtendsStack.length=t}},t.exports=o},{"../logger":33,"../tree":62,"./visitor":91}],85:[function(e,t,i){function n(e){this.imports=[],this.variableImports=[],this._onSequencerEmpty=e,this._currentDepth=0}n.prototype.addImport=function(e){var t=this,i={callback:e,args:null,isReady:!1};return this.imports.push(i),function(){i.args=Array.prototype.slice.call(arguments,0),i.isReady=!0,t.tryRun()}},n.prototype.addVariableImport=function(e){this.variableImports.push(e)},n.prototype.tryRun=function(){this._currentDepth++;try{for(;;){for(;this.imports.length>0;){var e=this.imports[0];if(!e.isReady)return;this.imports=this.imports.slice(1),e.callback.apply(null,e.args)}if(0===this.variableImports.length)break;var t=this.variableImports[0];this.variableImports=this.variableImports.slice(1),t()}}finally{this._currentDepth--}0===this._currentDepth&&this._onSequencerEmpty&&this._onSequencerEmpty()},t.exports=n},{}],86:[function(e,t,i){var n=e("../contexts"),s=e("./visitor"),r=e("./import-sequencer"),a=function(e,t){this._visitor=new s(this),this._importer=e,this._finish=t,this.context=new n.Eval,this.importCount=0,this.onceFileDetectionMap={},this.recursionDetector={},this._sequencer=new r(this._onSequencerEmpty.bind(this))};a.prototype={isReplacing:!1,run:function(e){try{this._visitor.visit(e)}catch(e){this.error=e}this.isFinished=!0,this._sequencer.tryRun()},_onSequencerEmpty:function(){this.isFinished&&this._finish(this.error)},visitImport:function(e,t){var i=e.options.inline;if(!e.css||i){var s=new n.Eval(this.context,this.context.frames.slice(0)),r=s.frames[0];this.importCount++,e.isVariableImport()?this._sequencer.addVariableImport(this.processImportNode.bind(this,e,s,r)):this.processImportNode(e,s,r)}t.visitDeeper=!1},processImportNode:function(e,t,i){var n,s=e.options.inline;try{n=e.evalForImport(t)}catch(t){t.filename||(t.index=e.index,t.filename=e.currentFileInfo.filename),e.css=!0,e.error=t}if(!n||n.css&&!s)this.importCount--,this.isFinished&&this._sequencer.tryRun();else{n.options.multiple&&(t.importMultiple=!0);for(var r=void 0===n.css,a=0;a<i.rules.length;a++)if(i.rules[a]===e){i.rules[a]=n;break}var o=this.onImported.bind(this,n,t),l=this._sequencer.addImport(o);this._importer.push(n.getPath(),r,n.currentFileInfo,n.options,l)}},onImported:function(e,t,i,n,s,r){i&&(i.filename||(i.index=e.index,i.filename=e.currentFileInfo.filename),this.error=i);var a=this,o=e.options.inline,l=e.options.plugin,h=e.options.optional,u=s||r in a.recursionDetector;if(t.importMultiple||(e.skip=!!u||function(){return r in a.onceFileDetectionMap||(a.onceFileDetectionMap[r]=!0,!1)}),!r&&h&&(e.skip=!0),n&&(e.root=n,e.importedFilename=r,!o&&!l&&(t.importMultiple||!u))){a.recursionDetector[r]=!0;var c=this.context;this.context=t;try{this._visitor.visit(n)}catch(i){this.error=i}this.context=c}a.importCount--,a.isFinished&&a._sequencer.tryRun()},visitRule:function(e,t){"DetachedRuleset"===e.value.type?this.context.frames.unshift(e):t.visitDeeper=!1},visitRuleOut:function(e){"DetachedRuleset"===e.value.type&&this.context.frames.shift()},visitDirective:function(e,t){this.context.frames.unshift(e)},visitDirectiveOut:function(e){this.context.frames.shift()},visitMixinDefinition:function(e,t){this.context.frames.unshift(e)},visitMixinDefinitionOut:function(e){this.context.frames.shift()}
1,visitRuleset:function(e,t){this.context.frames.unshift(e)},visitRulesetOut:function(e){this.context.frames.shift()},visitMedia:function(e,t){this.context.frames.unshift(e.rules[0])},visitMediaOut:function(e){this.context.frames.shift()}},t.exports=a},{"../contexts":11,"./import-sequencer":85,"./visitor":91}],87:[function(e,t,i){var n={Visitor:e("./visitor"),ImportVisitor:e("./import-visitor"),MarkVisibleSelectorsVisitor:e("./set-tree-visibility-visitor"),ExtendVisitor:e("./extend-visitor"),JoinSelectorVisitor:e("./join-selector-visitor"),ToCSSVisitor:e("./to-css-visitor")};t.exports=n},{"./extend-visitor":84,"./import-visitor":86,"./join-selector-visitor":88,"./set-tree-visibility-visitor":89,"./to-css-visitor":90,"./visitor":91}],88:[function(e,t,i){var n=e("./visitor"),s=function(){this.contexts=[[]],this._visitor=new n(this)};s.prototype={run:function(e){return this._visitor.visit(e)},visitRule:function(e,t){t.visitDeeper=!1},visitMixinDefinition:function(e,t){t.visitDeeper=!1},visitRuleset:function(e,t){var i,n=this.contexts[this.contexts.length-1],s=[];this.contexts.push(s),e.root||((i=e.selectors)&&(i=i.filter((function(e){return e.getIsOutput()})),e.selectors=i.length?i:i=null,i&&e.joinSelectors(s,n,i)),i||(e.rules=null),e.paths=s)},visitRulesetOut:function(e){this.contexts.length=this.contexts.length-1},visitMedia:function(e,t){var i=this.contexts[this.contexts.length-1];e.rules[0].root=0===i.length||i[0].multiMedia},visitDirective:function(e,t){var i=this.contexts[this.contexts.length-1];e.rules&&e.rules.length&&(e.rules[0].root=e.isRooted||0===i.length||null)}},t.exports=s},{"./visitor":91}],89:[function(e,t,i){var n=function(e){this.visible=e};n.prototype.run=function(e){this.visit(e)},n.prototype.visitArray=function(e){if(!e)return e;var t,i=e.length;for(t=0;t<i;t++)this.visit(e[t]);return e},n.prototype.visit=function(e){return e?e.constructor===Array?this.visitArray(e):(!e.blocksVisibility||e.blocksVisibility()||(this.visible?e.ensureVisibility():e.ensureInvisibility(),e.accept(this)),e):e},t.exports=n},{}],90:[function(e,t,i){var n=e("../tree"),s=e("./visitor"),r=function(e){this._visitor=new s(this),this._context=e};r.prototype={containsSilentNonBlockedChild:function(e){var t;if(null==e)return!1;for(var i=0;i<e.length;i++)if((t=e[i]).isSilent&&t.isSilent(this._context)&&!t.blocksVisibility())return!0;return!1},keepOnlyVisibleChilds:function(e){null!=e&&null!=e.rules&&(e.rules=e.rules.filter((function(e){return e.isVisible()})))},isEmpty:function(e){return null==e||null==e.rules||0===e.rules.length},hasVisibleSelector:function(e){return null!=e&&null!=e.paths&&e.paths.length>0},resolveVisibility:function(e,t){if(!e.blocksVisibility()){if(this.isEmpty(e)&&!this.containsSilentNonBlockedChild(t))return;return e}var i=e.rules[0];if(this.keepOnlyVisibleChilds(i),!this.isEmpty(i))return e.ensureVisibility(),e.removeVisibilityBlock(),e}
1,isVisibleRuleset:function(e){return!!e.firstRoot||!this.isEmpty(e)&&!(!e.root&&!this.hasVisibleSelector(e))}};var a=function(e){this._visitor=new s(this),this._context=e,this.utils=new r(e)};a.prototype={isReplacing:!0,run:function(e){return this._visitor.visit(e)},visitRule:function(e,t){if(!e.blocksVisibility()&&!e.variable)return e},visitMixinDefinition:function(e,t){e.frames=[]},visitExtend:function(e,t){},visitComment:function(e,t){if(!e.blocksVisibility()&&!e.isSilent(this._context))return e},visitMedia:function(e,t){var i=e.rules[0].rules;return e.accept(this._visitor),t.visitDeeper=!1,this.utils.resolveVisibility(e,i)},visitImport:function(e,t){if(!e.blocksVisibility())return e},visitDirective:function(e,t){return e.rules&&e.rules.length?this.visitDirectiveWithBody(e,t):this.visitDirectiveWithoutBody(e,t)},visitDirectiveWithBody:function(e,t){var i=function(e){var t=e.rules;return function(e){var t=e.rules;return 1===t.length&&(!t[0].paths||0===t[0].paths.length)}(e)?t[0].rules:t}(e);return e.accept(this._visitor),t.visitDeeper=!1,this.utils.isEmpty(e)||this._mergeRules(e.rules[0].rules),this.utils.resolveVisibility(e,i)},visitDirectiveWithoutBody:function(e,t){if(!e.blocksVisibility()){if("@charset"===e.name){if(this.charset){if(e.debugInfo){var i=new n.Comment("/* "+e.toCSS(this._context).replace(/\n/g,"")+" */\n");return i.debugInfo=e.debugInfo,this._visitor.visit(i)}return}this.charset=!0}return e}},checkValidNodes:function(e,t){if(e)for(var i=0;i<e.length;i++){var s=e[i];if(t&&s instanceof n.Rule&&!s.variable)throw{message:"Properties must be inside selector blocks. They cannot be in the root",index:s.index,filename:s.currentFileInfo&&s.currentFileInfo.filename};if(s instanceof n.Call)throw{message:"Function '"+s.name+"' is undefined",index:s.index,filename:s.currentFileInfo&&s.currentFileInfo.filename};if(s.type&&!s.allowRoot)throw{message:s.type+" node returned by a function is not valid here",index:s.index,filename:s.currentFileInfo&&s.currentFileInfo.filename}}},visitRuleset:function(e,t){var i,n=[];if(this.checkValidNodes(e.rules,e.firstRoot),e.root)e.accept(this._visitor),t.visitDeeper=!1;else{this._compileRulesetPaths(e);for(var s=e.rules,r=s?s.length:0,a=0;a<r;)(i=s[a])&&i.rules?(n.push(this._visitor.visit(i)),s.splice(a,1),r--):a++;r>0?e.accept(this._visitor):e.rules=null,t.visitDeeper=!1}return e.rules&&(this._mergeRules(e.rules),this._removeDuplicateRules(e.rules)),this.utils.isVisibleRuleset(e)&&(e.ensureVisibility(),n.splice(0,0,e)),1===n.length?n[0]:n},_compileRulesetPaths:function(e){e.paths&&(e.paths=e.paths.filter((function(e){var t;for(" "===e[0].elements[0].combinator.value&&(e[0].elements[0].combinator=new n.Combinator("")),t=0;t<e.length;t++)if(e[t].isVisible()&&e[t].getIsOutput())return!0;return!1})))},_removeDuplicateRules:function(e){if(e){var t,i,s,r={};for(s=e.length-1;s>=0;s--)if((i=e[s])instanceof n.Rule)if(r[i.name]){(t=r[i.name])instanceof n.Rule&&(t=r[i.name]=[r[i.name].toCSS(this._context)]);var a=i.toCSS(this._context);-1!==t.indexOf(a)?e.splice(s,1):t.push(a)}else r[i.name]=i}},_mergeRules:function(e){if(e){for(var t,i,s,r={},a=0;a<e.length;a++)(i=e[a])instanceof n.Rule&&i.merge&&(s=[i.name,i.important?"!":""].join(","),r[s]?e.splice(a--,1):r[s]=[],r[s].push(i));Object.keys(r).map((function(e){function s(e){return new n.Expression(e.map((function(e){return e.value})))}if((t=r[e]).length>1){i=t[0];var a=[],o=[];t.map((function(e){"+"===e.merge&&(o.length>0&&a.push(s(o)),o=[]),o.push(e)})),a.push(s(o)),i.value=function(e){return new n.Value(e.map((function(e){return e})))}(a)}}))}},visitAnonymous:function(e,t){if(!e.blocksVisibility())return e.accept(this._visitor),e}},t.exports=a},{"../tree":62,"./visitor":91}],91:[function(e,t,i){var n=e("../tree"),s={visitDeeper:!0},r=!1;function a(e){return e}var o=function(e){this._implementation=e,this._visitFnCache=[],r||(function e(t,i){var n,s;for(n in t)if(t.hasOwnProperty(n))switch(typeof(s=t[n])){case"function":s.prototype&&s.prototype.type&&(s.prototype.typeIndex=i++);break;case"object":i=e(s,i)}return i}(n,1),r=!0)};o.prototype={visit:function(e){if(!e)return e;var t=e.typeIndex;if(!t)return e;var i,n=this._visitFnCache,r=this._implementation,o=t<<1,l=1|o,h=n[o],u=n[l],c=s;if(c.visitDeeper=!0,h||(h=r[i="visit"+e.type]||a,u=r[i+"Out"]||a,n[o]=h,n[l]=u),h!==a){var d=h.call(r,e,c);r.isReplacing&&(e=d)}return c.visitDeeper&&e&&e.accept&&e.accept(this),u!=a&&u.call(r,e),e},visitArray:function(e,t){if(!e)return e;var i,n=e.length;if(t||!this._implementation.isReplacing){for(i=0;i<n;i++)this.visit(e[i]);return e}var s=[];for(i=0;i<n;i++){var r=this.visit(e[i]);void 0!==r&&(r.splice?r.length&&this.flatten(r,s):s.push(r))}return s},flatten:function(e,t){var i,n,s,r,a,o;for(t||(t=[]),n=0,i=e.length;n<i;n++)if(void 0!==(s=e[n]))if(s.splice)for(a=0,r=s.length;a<r;a++)void 0!==(o=s[a])&&(o.splice?o.length&&this.flatten(o,t):t.push(o));else t.push(s);return t}},t.exports=o},{"../tree":62}],92:[function(e,t,i){"use strict";var n=e("./raw"),s=[],r=[],a=n.makeRequestCallFromTimer((function(){if(r.length)throw r.shift()}));function o(e){var t;(t=s.length?s.pop():new l).task=e,n(t)}function l(){this.task=null}t.exports=o,l.prototype.call=function(){try{this.task.call()}
1catch(e){o.onerror?o.onerror(e):(r.push(e),a())}finally{this.task=null,s[s.length]=this}}},{"./raw":93}],93:[function(e,i,n){(function(e){"use strict";function t(e){s.length||n(),s[s.length]=e}i.exports=t;var n,s=[],r=0;function a(){for(;r<s.length;){var e=r;if(r+=1,s[e].call(),r>1024){for(var t=0,i=s.length-r;t<i;t++)s[t]=s[t+r];s.length-=r,r=0}}s.length=0,r=0}var o=void 0!==e?e:self,l=o.MutationObserver||o.WebKitMutationObserver;function h(e){return function(){var t=setTimeout(n,0),i=setInterval(n,50);function n(){clearTimeout(t),clearInterval(i),e()}}}n="function"==typeof l?function(e){var t=1,i=new l(e),n=document.createTextNode("");return i.observe(n,{characterData:!0}),function(){t=-t,n.data=t}}(a):h(a),t.requestFlush=n,t.makeRequestCallFromTimer=h}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],94:[function(e,t,i){"use strict";var n=e("asap/raw");function s(){}var r=null,a={};function o(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("Promise constructor's argument is not a function");this._40=0,this._65=0,this._55=null,this._72=null,e!==s&&p(e,this)}function l(e,t){for(;3===e._65;)e=e._55;if(o._37&&o._37(e),0===e._65)return 0===e._40?(e._40=1,void(e._72=t)):1===e._40?(e._40=2,void(e._72=[e._72,t])):void e._72.push(t);!function(e,t){n((function(){var i=1===e._65?t.onFulfilled:t.onRejected;if(null!==i){var n=function(e,t){try{return e(t)}catch(e){return r=e,a}}(i,e._55);n===a?u(t.promise,r):h(t.promise,n)}else 1===e._65?h(t.promise,e._55):u(t.promise,e._55)}))}(e,t)}function h(e,t){if(t===e)return u(e,new TypeError("A promise cannot be resolved with itself."));if(t&&("object"==typeof t||"function"==typeof t)){var i=function(e){try{return e.then}catch(e){return r=e,a}}(t);if(i===a)return u(e,r);if(i===e.then&&t instanceof o)return e._65=3,e._55=t,void c(e);if("function"==typeof i)return void p(i.bind(t),e)}e._65=1,e._55=t,c(e)}function u(e,t){e._65=2,e._55=t,o._87&&o._87(e,t),c(e)}function c(e){if(1===e._40&&(l(e,e._72),e._72=null),2===e._40){for(var t=0;t<e._72.length;t++)l(e,e._72[t]);e._72=null}}function d(e,t,i){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=i}function p(e,t){var i=!1,n=function(e,t,i){try{e(t,i)}catch(e){return r=e,a}}(e,(function(e){i||(i=!0,h(t,e))}),(function(e){i||(i=!0,u(t,e))}));i||n!==a||(i=!0,u(t,r))}t.exports=o,o._37=null,o._87=null,o._61=s,o.prototype.then=function(e,t){if(this.constructor!==o)return function(e,t,i){return new e.constructor((function(n,r){var a=new o(s);a.then(n,r),l(e,new d(t,i,a))}))}(this,e,t);var i=new o(s);return l(this,new d(e,t,i)),i}},{"asap/raw":93}],95:[function(e,t,i){"use strict";var n=e("./core.js");t.exports=n;var s=u(!0),r=u(!1),a=u(null),o=u(void 0),l=u(0),h=u("");function u(e){var t=new n(n._61);return t._65=1,t._55=e,t}n.resolve=function(e){if(e instanceof n)return e;if(null===e)return a;
1if(void 0===e)return o;if(!0===e)return s;if(!1===e)return r;if(0===e)return l;if(""===e)return h;if("object"==typeof e||"function"==typeof e)try{var t=e.then;if("function"==typeof t)return new n(t.bind(e))}catch(e){return new n((function(t,i){i(e)}))}return u(e)},n.all=function(e){var t=Array.prototype.slice.call(e);return new n((function(e,i){if(0===t.length)return e([]);var s=t.length;function r(a,o){if(o&&("object"==typeof o||"function"==typeof o)){if(o instanceof n&&o.then===n.prototype.then){for(;3===o._65;)o=o._55;return 1===o._65?r(a,o._55):(2===o._65&&i(o._55),void o.then((function(e){r(a,e)}),i))}var l=o.then;if("function"==typeof l)return void new n(l.bind(o)).then((function(e){r(a,e)}),i)}t[a]=o,0==--s&&e(t)}for(var a=0;a<t.length;a++)r(a,t[a])}))},n.reject=function(e){return new n((function(t,i){i(e)}))},n.race=function(e){return new n((function(t,i){e.forEach((function(e){n.resolve(e).then(t,i)}))}))},n.prototype.catch=function(e){return this.then(null,e)}},{"./core.js":94}],96:[function(e,t,i){"function"!=typeof Promise.prototype.done&&(Promise.prototype.done=function(e,t){var i=arguments.length?this.then.apply(this,arguments):this;i.then(null,(function(e){setTimeout((function(){throw e}),0)}))})},{}],97:[function(e,t,i){e("asap"),"undefined"==typeof Promise&&(Promise=e("./lib/core.js"),e("./lib/es6-extensions.js")),e("./polyfill-done.js")},{"./lib/core.js":94,"./lib/es6-extensions.js":95,"./polyfill-done.js":96,asap:92}]},{},[2])(2)}).call(this,i("yLpj"))}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.