1!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).ProgressBar=t()}}((function(){return function t(e,n,r){function o(a,s){if(!n[a]){if(!e[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var h=n[a]={exports:{}};e[a][0].call(h.exports,(function(t){var n=e[a][1][t];return o(n||t)}),h,h.exports,t,e,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(t,e,n){(function(){var t=this||Function("return this")(),r=function(){"use strict";function r(){}function o(t,e){var n;for(n in t)Object.hasOwnProperty.call(t,n)&&e(n)}function i(t,e){return o(e,(function(n){t[n]=e[n]})),t}function a(t,e){o(e,(function(n){void 0===t[n]&&(t[n]=e[n])}))}function s(t,e,n,r,o,i,a){var s,c,h,l=i>t?0:(t-i)/o;for(s in e)e.hasOwnProperty(s)&&(h="function"==typeof(c=a[s])?c:f[c],e[s]=u(n[s],r[s],h,l));return e}function u(t,e,n,r){return t+(e-t)*n(r)}function c(t,e){var n=p.prototype.filter,r=t._filterArgs;o(n,(function(o){void 0!==n[o][e]&&n[o][e].apply(t,r)}))}function h(t,e,n,r,o,i,a,u,h,l,p){m=e+n+r,g=Math.min(p||b(),m),v=g>=m,w=r-(m-g),t.isPlaying()&&(v?(h(a,t._attachment,w),t.stop(!0)):(t._scheduleId=l(t._timeoutHandler,y),c(t,"beforeTween"),e+n>g?s(1,o,i,a,1,1,u):s(g,o,i,a,r,e+n,u),c(t,"afterTween"),h(o,t._attachment,w)))}function l(t,e){var n={},r=typeof e;return o(t,"string"===r||"function"===r?function(t){n[t]=e}:function(t){n[t]||(n[t]=e[t]||_)}),n}function p(t,e){this._currentState=t||{},this._configured=!1,this._scheduleFunction=d,void 0!==e&&this.setConfig(e)}var f,d,m,g,v,w,_="linear",y=1e3/60,x=Date.now?Date.now:function(){return+new Date},b="undefined"!=typeof SHIFTY_DEBUG_NOW?SHIFTY_DEBUG_NOW:x;return d="undefined"!=typeof window&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||window.mozCancelRequestAnimationFrame&&window.mozRequestAnimationFrame)||setTimeout,p.prototype.tween=function(t){return this._isTweening?this:(void 0===t&&this._configured||this.setConfig(t),this._timestamp=b(),this._start(this.get(),this._attachment),this.resume())},p.prototype.setConfig=function(t){t=t||{},this._configured=!0,this._attachment=t.attachment,this._pausedAtTime=null,this._scheduleId=null,this._delay=t.delay||0,this._start=t.start||r,this._step=t.step||r,this._finish=t.finish||r,this._duration=t.duration||500,this._currentState=i({},t.from)||this.get(),this._originalState=this.get(),this._targetState=i({},t.to)||this.get();var e=this;this._timeoutHandler=function(){h(e,e._timestamp,e._delay,e._duration,e._currentState,e._originalState,e._targetState,e._easing,e._step,e._scheduleFunction)};var n=this._currentState,o=this._targetState;return a(o,n),this._easing=l(n,t.easing||_),this._filterArgs=[n,this._originalState,o,this._easing],c(this,"tweenCreated"),this},p.prototype.get=function(){return i({},this._currentState)},p.prototype.set=function(t){this._currentState=t},p.prototype.pause=function(){return this._pausedAtTime=b(),this._isPaused=!0,this},p.prototype.resume=function(){return this._isPaused&&(this._timestamp+=b()-this._pausedAtTime),this._isPaused=!1,this._isTweening=!0,this._timeoutHandler(),this},p.prototype.seek=function(t){t=Math.max(t,0);var e=b();return this._timestamp+t===0||(this._timestamp=e-t,this.isPlaying()||(this._isTweening=!0,this._isPaused=!1,h(this,this._timestamp,this._delay,this._duration,this._currentState,this._originalState,this._targetState,this._easing,this._step,this._scheduleFunction,e),this.pause())),this},p.prototype.stop=function(e){return this._isTweening=!1,this._isPaused=!1,this._timeoutHandler=r,(t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.oCancelAnimationFrame||t.msCancelAnimationFrame||t.mozCancelRequestAnimationFrame||t.clearTimeout)(this._scheduleId),e&&(c(this,"beforeTween"),s(1,this._currentState,this._originalState,this._targetState,1,0,this._easing),c(this,"afterTween"),c(this,"afterTweenEnd"),this._finish.call(this,this._currentState,this._attachment)),this},p.prototype.isPlaying=function(){return this._isTweening&&!this._isPaused},p.prototype.setScheduleFunction=function(t){this._scheduleFunction=t},p.prototype.dispose=function(){var t;for(t in this)this.hasOwnProperty(t)&&delete this[t]},p.prototype.filter={},p.prototype.formula={linear:function(t){return t}},f=p.prototype.formula,i(p,{now:b,each:o,tweenProps:s,tweenProp:u,applyFilter:c,shallowCopy:i,defaults:a,composeEasingObject:l}),"function"==typeof SHIFTY_DEBUG_NOW&&(t.timeoutHandler=h),"object"==typeof n?e.exports=p:void 0===t.Tweenable&&(t.Tweenable=p),p}();r.shallowCopy(r.prototype.formula,{easeInQuad:function(t){return Math.pow(t,2)},easeOutQuad:function(t){return-(Math.pow(t-1,2)-1)},easeInOutQuad:function(t){return(t/=.5)<1?.5*Math.pow(t,2):-.5*((t-=2)*t-2)},easeInCubic:function(t){return Math.pow(t,3)},easeOutCubic:function(t){return Math.pow(t-1,3)+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},easeInQuart:function(t){return Math.pow(t,4)},easeOutQuart:function(t){return-(Math.pow(t-1,4)-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*Math.pow(t,4):-.5*((t-=2)*Math.pow(t,3)-2)},easeInQuint:function(t){return Math.pow(t,5)},easeOutQuint:function(t){return Math.pow(t-1,5)+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*Math.pow(t,5):.5*(Math.pow(t-2,5)+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-Math.pow(t-1,2))},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeOutBounce:function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},elastic:function(t){return-1*Math.pow(4,-8*t)*Math.sin((6*t-1)*(2*Math.PI)/2)+1},swingFromTo:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)}
1,swingFrom:function(t){var e=1.70158;return t*t*((e+1)*t-e)},swingTo:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},bounce:function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bouncePast:function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?2-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?2-(7.5625*(t-=2.25/2.75)*t+.9375):2-(7.5625*(t-=2.625/2.75)*t+.984375)},easeFromTo:function(t){return(t/=.5)<1?.5*Math.pow(t,4):-.5*((t-=2)*Math.pow(t,3)-2)},easeFrom:function(t){return Math.pow(t,4)},easeTo:function(t){return Math.pow(t,.25)}}),function(){function t(t,e,n,r,o,i){function a(t){return((c*t+h)*t+l)*t}function s(t){return(3*c*t+2*h)*t+l}function u(t){return t>=0?t:0-t}var c=0,h=0,l=0,p=0,f=0,d=0;return c=1-(l=3*e)-(h=3*(r-e)-l),p=1-(d=3*n)-(f=3*(o-n)-d),function(t,e){return function(t){return((p*t+f)*t+d)*t}(function(t,e){var n,r,o,i,c,h;for(o=t,h=0;8>h;h++){if(u(i=a(o)-t)<e)return o;if(u(c=s(o))<1e-6)break;o-=i/c}if(n=0,r=1,o=t,n>o)return n;if(o>r)return r;for(;r>n;){if(u((i=a(o))-t)<e)return o;t>i?n=o:r=o,o=.5*(r-n)+n}return o}(t,e))}(t,function(t){return 1/(200*t)}(i))}function e(e,n,r,o){return function(i){return t(i,e,n,r,o,1)}}r.setBezierFunction=function(t,n,o,i,a){var s=e(n,o,i,a);return s.displayName=t,s.x1=n,s.y1=o,s.x2=i,s.y2=a,r.prototype.formula[t]=s},r.unsetBezierFunction=function(t){delete r.prototype.formula[t]}}(),function(){var t=new r;t._filterArgs=[],r.interpolate=function(e,n,o,i,a){var s=r.shallowCopy({},e),u=a||0,c=r.composeEasingObject(e,i||"linear");t.set({});var h=t._filterArgs;h.length=0,h[0]=s,h[1]=e,h[2]=n,h[3]=c,r.applyFilter(t,"tweenCreated"),r.applyFilter(t,"beforeTween");var l=function(t,e,n,o,i,a){return r.tweenProps(o,e,t,n,1,a,i)}(e,s,n,o,c,u);return r.applyFilter(t,"afterTween"),l}}(),function(t){function e(t,e){var n,r=[],o=t.length;for(n=0;o>n;n++)r.push("_"+e+"_"+n);return r}function n(t){var e=t.match(m);return e?(1===e.length||t[0].match(d))&&e.unshift(""):e=["",""],e.join(y)}function r(e){t.each(e,(function(t){var n=e[t];"string"==typeof n&&n.match(_)&&(e[t]=function(t){return a(_,t,o)}(n))}))}function o(t){var e=function(t){return t=t.replace(/#/,""),3===t.length&&(t=t.
1split(""),t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),x[0]=i(t.substr(0,2)),x[1]=i(t.substr(2,2)),x[2]=i(t.substr(4,2)),x}(t);return"rgb("+e[0]+","+e[1]+","+e[2]+")"}function i(t){return parseInt(t,16)}function a(t,e,n){var r=e.match(t),o=e.replace(t,y);if(r)for(var i,a=r.length,s=0;a>s;s++)i=r.shift(),o=o.replace(y,n(i));return o}function s(t){for(var e=t.match(g),n=e.length,r=t.match(w)[0],o=0;n>o;o++)r+=parseInt(e[o],10)+",";return r.slice(0,-1)+")"}function u(r){var o={};return t.each(r,(function(t){var i=r[t];if("string"==typeof i){var a=l(i);o[t]={formatString:n(i),chunkNames:e(a,t)}}})),o}function c(e,n){t.each(n,(function(t){for(var r=l(e[t]),o=r.length,i=0;o>i;i++)e[n[t].chunkNames[i]]=+r[i];delete e[t]}))}function h(e,n){t.each(n,(function(t){var r=e[t],o=function(t,e){for(var n,r={},o=e.length,i=0;o>i;i++)n=e[i],r[n]=t[n],delete t[n];return r}(e,n[t].chunkNames),i=function(t,e){b.length=0;for(var n=e.length,r=0;n>r;r++)b.push(t[e[r]]);return b}(o,n[t].chunkNames);r=function(t,e){for(var n=t,r=e.length,o=0;r>o;o++)n=n.replace(y,+e[o].toFixed(4));return n}(n[t].formatString,i),e[t]=function(t){return a(v,t,s)}(r)}))}function l(t){return t.match(g)}function p(e,n){t.each(n,(function(t){var r,o=n[t].chunkNames,i=o.length,a=e[t];if("string"==typeof a){var s=a.split(" "),u=s[s.length-1];for(r=0;i>r;r++)e[o[r]]=s[r]||u}else for(r=0;i>r;r++)e[o[r]]=a;delete e[t]}))}function f(e,n){t.each(n,(function(t){var r=n[t].chunkNames,o=r.length,i=e[r[0]];if("string"===typeof i){for(var a="",s=0;o>s;s++)a+=" "+e[r[s]],delete e[r[s]];e[t]=a.substr(1)}else e[t]=i}))}var d=/(\d|\-|\.)/,m=/([^\-0-9\.]+)/g,g=/[0-9.\-]+/g,v=new RegExp("rgb\\("+g.source+/,\s*/.source+g.source+/,\s*/.source+g.source+"\\)","g"),w=/^.*\(/,_=/#([0-9]|[a-f]){3,6}/gi,y="VAL",x=[],b=[];t.prototype.filter.token={tweenCreated:function(t,e,n,o){r(t),r(e),r(n),this._tokenData=u(t)},beforeTween:function(t,e,n,r){p(r,this._tokenData),c(t,this._tokenData),c(e,this._tokenData),c(n,this._tokenData)},afterTween:function(t,e,n,r){h(t,this._tokenData),h(e,this._tokenData),h(n,this._tokenData),f(r,this._tokenData)}}}(r)}).call(null)},{}],2:[function(t,e,n){var r=t("./shape"),o=t("./utils"),i=function(t,e){this._pathTemplate="M 50,50 m 0,-{radius} a {radius},{radius} 0 1 1 0,{2radius} a {radius},{radius} 0 1 1 0,-{2radius}",this.containerAspectRatio=1,r.apply(this,arguments)};(i.prototype=new r).constructor=i,i.prototype._pathString=function(t){var e=t.strokeWidth;t.trailWidth&&t.trailWidth>t.strokeWidth&&(e=t.trailWidth);var n=50-e/2;return o.render(this._pathTemplate,{radius:n,"2radius":2*n})},i.prototype._trailString=function(t){return this._pathString(t)},e.exports=i},{"./shape":7,"./utils":8}],3:[function(t,e,n){var r=t("./shape"),o=t("./utils"),i=function(t,e){this._pathTemplate="M 0,{center} L 100,{center}",r.apply(this,arguments)};(i.prototype=new r).constructor=i,i.prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 "+e.strokeWidth),t.setAttribute("preserveAspectRatio","none")},i.prototype._pathString=function(t){return o.render(this._pathTemplate,{center:t.strokeWidth/2})},i.prototype._trailString=function(t){return this._pathString(t)},e.exports=i},{"./shape":7,"./utils":8}],4:[function(t,e,n){e.exports={Line:t("./line"),Circle:t("./circle"),SemiCircle:t("./semicircle"),Path:t("./path"),Shape:t("./shape"),utils:t("./utils")}},{"./circle":2,"./line":3,"./path":5,"./semicircle":6,"./shape":7,"./utils":8}],5:[function(t,e,n){var r=t("shifty"),o=t("./utils"),i={easeIn:"easeInCubic",easeOut:"easeOutCubic",easeInOut:"easeInOutCubic"},a=function t(e,n){if(!(this instanceof t))throw new Error("Constructor was called without new keyword");var r;n=o.extend({duration:800,easing:"linear",from:{},to:{},step:function(){}},n),r=o.isString(e)?document.querySelector(e):e,this.path=r,this._opts=n,this._tweenable=null;var i=this.path.getTotalLength();this.path.style.strokeDasharray=i+" "+i,this.set(0)};a.prototype.value=function(){var t=this._getComputedDashOffset(),e=this.path.getTotalLength();return parseFloat((1-t/e).toFixed(6),10)},a.prototype.set=function(t){this.stop(),this.path.style.strokeDashoffset=this._progressToOffset(t);var e=this._opts.step;if(o.isFunction(e)){var n=this._easing(this._opts.easing);e(this._calculateTo(t,n),this._opts.shape||this,this._opts.attachment)}},a.prototype.stop=function(){this._stopTween(),this.path.style.strokeDashoffset=this._getComputedDashOffset()},a.prototype.animate=function(t,e,n){e=e||{},o.isFunction(e)&&(n=e,e={});var i=o.extend({},e),a=o.extend({},this._opts);e=o.extend(a,e);var s=this._easing(e.easing),u=this._resolveFromAndTo(t,s,i);this.stop(),this.path.getBoundingClientRect();var c=this._getComputedDashOffset(),h=this._progressToOffset(t),l=this;this._tweenable=new r,this._tweenable.tween({from:o.extend({offset:c},u.from),to:o.extend({offset:h},u.to),duration:e.duration,easing:s,step:function(t){l.path.style.strokeDashoffset=t.offset;var n=e.shape||l;e.step(t,n,e.attachment)},finish:function(t){o.isFunction(n)&&n()}})},a.prototype._getComputedDashOffset=function(){var t=window.getComputedStyle(this.path,null);return parseFloat(t.getPropertyValue("stroke-dashoffset"),10)},a.prototype._progressToOffset=function(t){var e=this.path.getTotalLength();return e-t*e},a.prototype._resolveFromAndTo=function(t,e,n){return n.from&&n.to?{from:n.from,to:n.to}:{from:this._calculateFrom(e),to:this._calculateTo(t,e)}},a.prototype._calculateFrom=function(t){return r.interpolate(this._opts.from,this._opts.to,this.value(),t)},a.prototype._calculateTo=function(t,e){return r.interpolate(this._opts.from,this._opts.to,t,e)},a.prototype._stopTween=function(){null!==this._tweenable&&(this._tweenable.stop(),this._tweenable=null)},a.prototype._easing=function(t){return i.hasOwnProperty(t)?i[t]:t},e.exports=a},{"./utils":8,shifty:1}],6:[function(t,e,n){var r=t("./shape"),o=t("./circle"),i=t("./utils"),a=function(t,e){this._pathTemplate="M 50,50 m -{radius},0 a {radius},{radius}
1 0 1 1 {2radius},0",this.containerAspectRatio=2,r.apply(this,arguments)};(a.prototype=new r).constructor=a,a.prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 50")},a.prototype._initializeTextContainer=function(t,e,n){t.text.style&&(n.style.top="auto",n.style.bottom="0",t.text.alignToBottom?i.setStyle(n,"transform","translate(-50%, 0)"):i.setStyle(n,"transform","translate(-50%, 50%)"))},a.prototype._pathString=o.prototype._pathString,a.prototype._trailString=o.prototype._trailString,e.exports=a},{"./circle":2,"./shape":7,"./utils":8}],7:[function(t,e,n){var r=t("./path"),o=t("./utils"),i="Object is destroyed",a=function t(e,n){if(!(this instanceof t))throw new Error("Constructor was called without new keyword");if(0!==arguments.length){this._opts=o.extend({color:"#555",strokeWidth:1,trailColor:null,trailWidth:null,fill:null,text:{style:{color:null,position:"absolute",left:"50%",top:"50%",padding:0,margin:0,transform:{prefix:!0,value:"translate(-50%, -50%)"}},autoStyleContainer:!0,alignToBottom:!0,value:null,className:"progressbar-text"},svgStyle:{display:"block",width:"100%"},warnings:!1},n,!0),o.isObject(n)&&void 0!==n.svgStyle&&(this._opts.svgStyle=n.svgStyle),o.isObject(n)&&o.isObject(n.text)&&void 0!==n.text.style&&(this._opts.text.style=n.text.style);var i,a=this._createSvgView(this._opts);if(!(i=o.isString(e)?document.querySelector(e):e))throw new Error("Container does not exist: "+e);this._container=i,this._container.appendChild(a.svg),this._opts.warnings&&this._warnContainerAspectRatio(this._container),this._opts.svgStyle&&o.setStyles(a.svg,this._opts.svgStyle),this.svg=a.svg,this.path=a.path,this.trail=a.trail,this.text=null;var s=o.extend({attachment:void 0,shape:this},this._opts);this._progressPath=new r(a.path,s),o.isObject(this._opts.text)&&null!==this._opts.text.value&&this.setText(this._opts.text.value)}};a.prototype.animate=function(t,e,n){if(null===this._progressPath)throw new Error(i);this._progressPath.animate(t,e,n)},a.prototype.stop=function(){if(null===this._progressPath)throw new Error(i);void 0!==this._progressPath&&this._progressPath.stop()},a.prototype.destroy=function(){if(null===this._progressPath)throw new Error(i);this.stop(),this.svg.parentNode.removeChild(this.svg),this.svg=null,this.path=null,this.trail=null,this._progressPath=null,null!==this.text&&(this.text.parentNode.removeChild(this.text),this.text=null)},a.prototype.set=function(t){if(null===this._progressPath)throw new Error(i);this._progressPath.set(t)},a.prototype.value=function(){if(null===this._progressPath)throw new Error(i);return void 0===this._progressPath?0:this._progressPath.value()},a.prototype.setText=function(t){if(null===this._progressPath)throw new Error(i);null===this.text&&(this.text=this._createTextContainer(this._opts,this._container),this._container.appendChild(this.text)),o.isObject(t)?(o.removeChildren(this.text),this.text.appendChild(t)):this.text.innerHTML=t},a.prototype._createSvgView=function(t){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");this._initializeSvg(e,t);var n=null;(t.trailColor||t.trailWidth)&&(n=this._createTrail(t),e.appendChild(n));var r=this._createPath(t);return e.appendChild(r),{svg:e,path:r,trail:n}},a.prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 100")},a.prototype._createPath=function(t){var e=this._pathString(t);return this._createPathElement(e,t)},a.prototype._createTrail=function(t){var e=this._trailString(t),n=o.extend({},t);return n.trailColor||(n.trailColor="#eee"),n.trailWidth||(n.trailWidth=n.strokeWidth),n.color=n.trailColor,n.strokeWidth=n.trailWidth,n.fill=null,this._createPathElement(e,n)},a.prototype._createPathElement=function(t,e){var n=document.createElementNS("http://www.w3.org/2000/svg","path");return n.setAttribute("d",t),n.setAttribute("stroke",e.color),n.setAttribute("stroke-width",e.strokeWidth),e.fill?n.setAttribute("fill",e.fill):n.setAttribute("fill-opacity","0"),n},a.prototype._createTextContainer=function(t,e){var n=document.createElement("div");n.className=t.text.className;var r=t.text.style;return r&&(t.text.autoStyleContainer&&(e.style.position="relative"),o.setStyles(n,r),r.color||(n.style.color=t.color)),this._initializeTextContainer(t,e,n),n},a.prototype._initializeTextContainer=function(t,e,n){},a.prototype._pathString=function(t){throw new Error("Override this function for each progress bar")},a.prototype._trailString=function(t){throw new Error("Override this function for each progress bar")},a.prototype._warnContainerAspectRatio=function(t){if(this.containerAspectRatio){var e=window.getComputedStyle(t,null),n=parseFloat(e.getPropertyValue("width"),10),r=parseFloat(e.getPropertyValue("height"),10);o.floatEquals(this.containerAspectRatio,n/r)||(console.warn("Incorrect aspect ratio of container","#"+t.id,"detected:",e.getPropertyValue("width")+"(width)","/",e.getPropertyValue("height")+"(height)","=",n/r),console.warn("Aspect ratio of should be",this.containerAspectRatio))}},e.exports=a},{"./path":5,"./utils":8}],8:[function(t,e,n){function r(t,e,n){for(var r=t.style,i=0;i<s.length;++i){r[s[i]+o(e)]=n}r[e]=n}function o(t){return t.charAt(0).toUpperCase()+t.slice(1)}function i(t){return!function(t){return"[object Array]"===Object.prototype.toString.call(t)}(t)&&("object"===typeof t&&!!t)}function a(t,e){for(var n in t)if(t.hasOwnProperty(n)){e(t[n],n)}}var s="Webkit Moz O ms".split(" "),u=.001;e.exports={extend:function t(e,n,r){for(var o in e=e||{},r=r||!1,n=n||{})if(n.hasOwnProperty(o)){var a=e[o],s=n[o];r&&i(a)&&i(s)?e[o]=t(a,s,r):e[o]=s}return e},render:function(t,e){var n=t;for(var r in e)if(e.hasOwnProperty(r)){var o=e[r],i=new RegExp("\\{"+r+"\\}","g");n=n.replace(i,o)}return n}
1,setStyle:r,setStyles:function(t,e){a(e,(function(e,n){null!=e&&(i(e)&&!0===e.prefix?r(t,n,e.value):t.style[n]=e)}))},capitalize:o,isString:function(t){return"string"==typeof t||t instanceof String},isFunction:function(t){return"function"==typeof t},isObject:i,forEachObject:a,floatEquals:function(t,e){return Math.abs(t-e)<u},removeChildren:function(t){for(;t.firstChild;)t.removeChild(t.firstChild)}}},{}]},{},[4])(4)}));var promoContent=document.getElementById("promoContent"),promoTextContainer=document.getElementById("promoText"),promoButtonContainer=document.getElementById("promoButton"),progressBarContainer=document.getElementById("progress-bar-container"),progressBars=[];function createPromos(){promotions.forEach((function(t,e){var n=document.createElement("div");n.id=t.id,n.className="progress-bar",n.onclick=function(t){activatePromos(e)},progressBarContainer.appendChild(n),createProgressBar(document.getElementById(t.id),e)}))}function createProgressBar(t,e){var n=new ProgressBar.Circle(t,{strokeWidth:8,easing:"linear",duration:8e3,color:"#00A6DE",trailColor:"#666666",trailWidth:1,svgStyle:null,text:{style:{color:"#444444",fontSize:"1.2rem",fontWeight:"bold",position:"absolute",left:"50%",top:"50%",padding:0,margin:0,transform:{prefix:!0,value:"translate(-50%, -50%)"}}}});return n.setText(e+1),progressBars.push(n),n}function activatePromos(t){progressBars.forEach((function(t,e){t.set(0)}));var e=progressBars[t],n=promotions[t];promoContent.classList.contains("scale")&&promoContent.classList.remove("scale"),promoTextContainer.innerHTML=n.heading,"No Button"===n.button_url||null==n.button_url||""===n.button_url?promoButtonContainer.style.display="none":(promoButtonContainer.style.display="inline-block",promoButtonContainer.innerHTML='<a href="'+n.button_url+'"><button type="button">'+n.button_text+"</button></a>"),e.animate(1,(function(){e.set(0),t===promotions.length-1?activatePromos(0):activatePromos(t+1)})),promoContent.classList.add("scale")}createPromos(promotions),activatePromos(0);var el=document.getElementById("financing-process"),ems=el.querySelectorAll("span"),splits=Array.from(ems).map((function(t,e){return[e/ems.length,(e+1)/ems.length]}));function handleElObserver(t){var e=t[0].intersectionRatio;Array.from(ems).forEach((function(t,n){return t.classList.toggle("is-active",e>=splits[n][0]&&e<=splits[n][1])}))}var elObserver=new IntersectionObserver(handleElObserver,{rootMargin:window.innerHeight/2+"px 0px -"+window.innerHeight/2+"px 0px",threshold:splits.map((function(t){return t[1]}))});elObserver.observe(el),$(".modal-home-close").on("click",(function(){$(".modal-home").slideUp("slow")})),$(document).keydown((function(t){27==t.keyCode&&$(".modal-home").slideUp("slow")})),window.onload=function(t){var e=0;$(".ww-featured-videos__items-videos__video-video > video, .ww-featured-videos__items-videos__video-video > iframe").each((function(){$(this).height()>e&&(e=$(this).height())})),$(".ww-featured-videos__items-videos__video-video > video, .ww-featured-videos__items-videos__video-video > iframe").height(e)},function(t){"use strict";t.fn.fCarousel=function(e){var n=t.extend({visibleItems:1,separation:200,distance:200,sideItemsAlign:0,perspective:0,orientation:"horizontal",responsive:{},opacity:1,centerItem:0,centerClass:"carousel_center",speed:300,easing:"ease-out",itemsNav:!0,keyboardNav:!0,arrows:!1,arrowsText:["",""],arrowsClass:["","",""],swipe:!0,mousewheel:!1,autoplay:!1,stopOnHover:!0,beforeChange:t.noop,onChange:t.noop,afterChange:t.noop,clickedCenter:t.noop},e);return this.each((function(){function e(t,e){var n={};
1return n["-webkit-"+t]=e,n["-moz-"+t]=e,n["-ms-"+t]=e,n["-o-"+t]=e,n[t]=e,n}function r(n){function r(e){clearInterval(T),i.hasClass("inited")&&n.beforeChange(i,i.find("."+n.centerClass));var s=e.index();f=0<e.index()?e.prev():a.eq(a.length-1),d=e.index()<a.length-1?e.next():a.eq(0),i.data({items:a.length,centerItem:e,prevItem:f,nextItem:d}),e.data("newPos",h);for(var u=s-1,c=1;;u--,c++)if(c<=h)0<=u?a.eq(u).data("newPos",h-c):a.eq(a.length+u).data("newPos",h-c);else{if(!(c>h&&0<=u))break;for(var p=u;p>=h-(a.length-s-1);p--)a.eq(p).data("newPos",2*h+1)}u=s+1,c=1;for(var m=0;;u++,c++)if(c<=h)u<=a.length-1?a.eq(u).data("newPos",h+c):(a.eq(m).data("newPos",h+c),m++);else{if(!(c>h&&u<=a.length-1))break;for(p=u;p<=a.length-1-(h-s);p++)a.eq(p).data("newPos",2*h+1)}a.each((function(){var o=t(this),a=t(this).find('a, [role="button"], [role="tab"]');o[0]!=e[0]?a.attr("tabindex",-1).on("click",(function(){if(i.hasClass("inited")&&!o.hasClass(n.centerClass)&&n.itemsNav)return r(o),!1})):a.attr("tabindex",0)})),a.each((function(){t(this).css(l[t(this).data("newPos")])})),i.hasClass("inited")&&n.onChange(i),setTimeout((function(){a.removeClass(n.centerClass).attr("aria-hidden","true"),e.addClass(n.centerClass).attr("aria-hidden","false"),i.hasClass("inited")?n.afterChange(i,e):(i.addClass("inited").attr({"aria-live":"off","aria-orientation":n.orientation}).on("focus",(function(){t(this).attr("aria-live","polite")})).on("blur",(function(){t(this).attr("aria-live","off")})),n.keyboardNav&&i.attr("tabindex",0)),P&&o()}),n.speed)}function o(){clearInterval(T),T=setInterval((function(){r(d)}),P)}i.css(t.extend({position:"relative"},e("perspective",800))),a.css(t.extend({margin:"auto",position:"absolute",left:0,right:0,top:0,bottom:0},e("transition-property","transform, opacity"),e("transition-duration",n.speed+"ms"),e("transition-timing-function",n.easing),e("transition-delay","0s")));for(var s,u,c,h=n.visibleItems,l=[],p=0;p<h;p++)s=-n.separation*(h-p),c=-n.distance*(h-p),u=n.sideItemsAlign*(h-p),"horizontal"==n.orientation?(s="translate3d("+s+"px,"+u+"px,"+c+"px)",u="rotateY("+n.perspective+"deg)"):(s="translate3d("+u+"px,"+s+"px,"+c+"px)",u="rotateX("+n.perspective+"deg)"),s=t.extend({opacity:n.opacity,zIndex:p+1},e("transform-origin","0 50%"),e("transform",s+" "+u)),l.push(s);for(s=t.extend({opacity:1,zIndex:h+1},e("transform-origin","50% 50%"),e("transform","translate3d(0px,0px,0px)")),l.push(s),p=0;p<h;p++)s=n.separation*(p+1),c=-n.distance*(p+1),u=n.sideItemsAlign*(p+1),"horizontal"==n.orientation?(s="translate3d("+s+"px,"+u+"px,"+c+"px)",u="rotateY(-"+n.perspective+"deg)"):(s="translate3d("+u+"px,"+s+"px,"+c+"px)",u="rotateX(-"+n.perspective+"deg)"),s=t.extend({opacity:n.opacity,zIndex:h-p},e("transform-origin","100% 50%"),e("transform",s+" "+u)),l.push(s);var f,d;if(s=t.extend({opacity:0,zIndex:0},e("transform-origin","50% 50%"),e("transform","translate3d(0px,0px,"+-n.distance*h+"px)")),l.push(s),r(p=0==n.centerItem?a.eq(Math.floor(a.length/2)):a.eq(n.centerItem-1)),a.on("click",(function(){t(this).hasClass(n.centerClass)?n.clickedCenter(i,t(this)):n.itemsNav&&i.hasClass("inited")&&r(t(this))})),n.keyboardNav){var m="horizontal"==n.orientation?37:38,g="horizontal"==n.orientation?39:40,v=a.eq(0),w=a.eq(a.length-1);i.on("keydown",(function(t){return t.which==m?(r(f),!1):t.which==g?(r(d),!1):36==t.which?(r(v),!1):35==t.which?(r(w),!1):void 0}))}if(n.arrows&&(i.append('<a href="#" class="arrow '+n.arrowsClass[0]+" "+n.arrowsClass[1]+' prev" role="button" aria-label="<<">'+n.arrowsText[0]+"</a>"),i.append('<a href="#" class="arrow '+n.arrowsClass[0]+" "+n.arrowsClass[1]+' next" role="button" aria-label=">>">'+n.arrowsText[1]+"</a>"),i[0].hasAttribute("id")&&i.children(".arrow").attr("aria-controls",i.attr("id")),n.keyboardNav&&i.children(".arrow").attr("tabindex",-1),i.children(".arrow").on("click",(function(){return t(this).hasClass("prev")?r(f):r(d),!1})).on("focus",(function(){i.attr("aria-live","polite")})).on("blur",(function(){i.attr("aria-live","off")}))),n.mousewheel&&t.event.special.mousewheel&&i.on("mousewheel",(function(t){if(i.hasClass("inited"))return 0>t.deltaY?r(d):r(f),!1})),n.swipe){var _,y,x=0,b=0,C=!1,S=!1;i.addClass("draggable").on("mousedown touchstart",(function(t){i.hasClass("inited")&&n.swipe&&(x=(S=!t.clientX)?event.touches[0].pageX:t.clientX,b=S?event.touches[0].pageY:t.clientY,C=!0,clearInterval(T))})).on("mousemove touchmove",(function(t){if(C){var e=S?event.touches[0].pageX:t.clientX;if(e-=x,t=S?event.touches[0].pageY:t.clientY,t-=b,_="horizontal"==n.orientation?e:t,y="horizontal"==n.orientation?"left":"top",i.find("."+n.centerClass).css(y,_/4),Math.abs(_)>Math.abs(t)||"vertical"==n.orientation)return!1}}
1)).on("mouseup mouseleave touchend",(function(){C&&(C=!1,y="horizontal"==n.orientation?"left":"top",i.find("."+n.centerClass).css(y,0),Math.abs(_)>n.separation/2&&r(0>_?d:f),_=0,P&&o())}))}var T,P=!1;n.autoplay&&(P=n.autoplay,o()),p=i.children(".arrow"),n.stopOnHover&&(p=(p=p.add(i)).add(a)),p.on("mousedown touchstart mousemove touchmove focus",(function(){P&&clearInterval(T)})).on("mouseup mouseleave touchend blur",(function(){P&&o()})),i.on("jumpToPrev",(function(){r(f)})),i.on("jumpToNext",(function(){r(d)})),i.on("jumpTo",(function(t,e){r(a.eq(e-1))})),i.on("play",(function(t,e){e&&!P&&(P=e,o())})),i.on("stop",(function(){P=!1,clearInterval(T)})),i.on("destroy",(function(){clearInterval(T),i.removeClass("inited draggable").css(e("perspective","none")),a.removeClass(n.centerClass).css(t.extend({opacity:1,position:"static",top:"auto",right:"auto",bottom:"auto",left:"auto"},e("transition","none"),e("transform","none"))),i.children(".arrow").remove()}))}function o(e){if("object"==typeof e.responsive&&0<Object.keys(e.responsive).length){var n,r=e.responsive,o=0;for(n in r)r.hasOwnProperty(n)&&window.innerWidth>=parseInt(n,10)&&(o=parseInt(n,10));return t.extend({},e,r[o])}return e}var i=t(this),a=t(this).find('[class*="item"]');r(o(n));var s=t(window).width();t(window).on("resize",(function(){t(window).width()!=s&&(i.trigger("destroy"),r(o(n)),s=t(window).width())}))}))}}(jQuery);
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.