/*! (c) Andrea Giammarchi @webreflection ISC */(function(){var attributesObserver=(function(whenDefined2,MutationObserver2){var attributeChanged=function(records){for(var i=0,length=records.length;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(e){throw e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var normalCompletion=!0,didErr=!1,err;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(e){didErr=!0,err=e},f:function(){try{!normalCompletion&&it.return!=null&&it.return()}finally{if(didErr)throw err}}}}/*! (c) Andrea Giammarchi - ISC */var TRUE=!0,FALSE=!1,QSA$1="querySelectorAll",notify=function(callback){var root=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document,MO=arguments.length>2&&arguments[2]!==void 0?arguments[2]:MutationObserver,query2=arguments.length>3&&arguments[3]!==void 0?arguments[3]:["*"],loop=function loop2(nodes,selectors,added,removed,connected,pass){var _iterator=_createForOfIteratorHelper(nodes),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var node=_step.value;(pass||QSA$1 in node)&&(connected?added.has(node)||(added.add(node),removed.delete(node),callback(node,connected)):removed.has(node)||(removed.add(node),added.delete(node),callback(node,connected)),pass||loop2(node[QSA$1](selectors),selectors,added,removed,connected,TRUE))}}catch(err){_iterator.e(err)}finally{_iterator.f()}},mo=new MO(function(records){if(query2.length){var selectors=query2.join(","),added=new Set,removed=new Set,_iterator2=_createForOfIteratorHelper(records),_step2;try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var _step2$value=_step2.value,addedNodes=_step2$value.addedNodes,removedNodes=_step2$value.removedNodes;loop(removedNodes,selectors,added,removed,FALSE,FALSE),loop(addedNodes,selectors,added,removed,TRUE,FALSE)}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}}}),observe=mo.observe;return(mo.observe=function(node){return observe.call(mo,node,{subtree:TRUE,childList:TRUE})})(root),mo},QSA="querySelectorAll",_self$1=self,document$2=_self$1.document,Element$1=_self$1.Element,MutationObserver$2=_self$1.MutationObserver,Set$2=_self$1.Set,WeakMap$1=_self$1.WeakMap,elements=function(element){return QSA in element},filter=[].filter,qsaObserver=(function(options){var live=new WeakMap$1,drop=function(elements2){for(var i=0,length=elements2.length;i1&&arguments[1]!==void 0?arguments[1]:!0,i=0,length=elements2.length;i1||c2<0||c2>1?x:function(e2){function f2(a4,b4,c3){return 3*a4*(1-c3)*(1-c3)*c3+3*b4*(1-c3)*c3*c3+c3*c3*c3}if(e2<=0){var g2=0;return a3>0?g2=b3/a3:!b3&&c2>0&&(g2=d2/c2),g2*e2}if(e2>=1){var h2=0;return c2<1?h2=(d2-1)/(c2-1):c2==1&&a3<1&&(h2=(b3-1)/(a3-1)),1+h2*(e2-1)}for(var i2=0,j2=1;i2=1)return 1;var d2=1/a3;return(c2+=b3*d2)-c2%d2}}function k(a3){C||(C=document.createElement("div").style),C.animationTimingFunction="",C.animationTimingFunction=a3;var b3=C.animationTimingFunction;if(b3==""&&e())throw new TypeError(a3+" is not a valid value for easing");return b3}function l(a3){if(a3=="linear")return x;var b3=E.exec(a3);if(b3)return i.apply(this,b3.slice(1).map(Number));var c2=F.exec(a3);if(c2)return j(Number(c2[1]),A);var d2=G.exec(a3);return d2?j(Number(d2[1]),{start:y,middle:z,end:A}[d2[2]]):B[a3]||x}function m(a3){return Math.abs(n(a3)/a3.playbackRate)}function n(a3){return a3.duration===0||a3.iterations===0?0:a3.duration*a3.iterations}function o(a3,b3,c2){if(b3==null)return H;var d2=c2.delay+a3+c2.endDelay;return b3=Math.min(c2.delay+a3,d2)?J:K}function p(a3,b3,c2,d2,e2){switch(d2){case I:return b3=="backwards"||b3=="both"?0:null;case K:return c2-e2;case J:return b3=="forwards"||b3=="both"?a3:null;case H:return null}}function q(a3,b3,c2,d2,e2){var f2=e2;return a3===0?b3!==I&&(f2+=c2):f2+=d2/a3,f2}function r(a3,b3,c2,d2,e2,f2){var g2=a3===1/0?b3%1:a3%1;return g2!==0||c2!==J||d2===0||e2===0&&f2!==0||(g2=1),g2}function s(a3,b3,c2,d2){return a3===J&&b3===1/0?1/0:c2===1?Math.floor(d2)-1:Math.floor(d2)}function t(a3,b3,c2){var d2=a3;if(a3!=="normal"&&a3!=="reverse"){var e2=b3;a3==="alternate-reverse"&&(e2+=1),d2="normal",e2!==1/0&&e2%2!=0&&(d2="reverse")}return d2==="normal"?c2:1-c2}function u(a3,b3,c2){var d2=o(a3,b3,c2),e2=p(a3,c2.fill,b3,d2,c2.delay);if(e2===null)return null;var f2=q(c2.duration,d2,c2.iterations,e2,c2.iterationStart),g2=r(f2,c2.iterationStart,d2,c2.iterations,e2,c2.duration),h2=s(d2,c2.iterations,g2,f2),i2=t(c2.direction,h2,g2);return c2._easingFunction(i2)}var v="backwards|forwards|both|none".split("|"),w="reverse|alternate|alternate-reverse".split("|"),x=function(a3){return a3};d.prototype={_setMember:function(b3,c2){this["_"+b3]=c2,this._effect&&(this._effect._timingInput[b3]=c2,this._effect._timing=a2.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=a2.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(a3){this._setMember("delay",a3)},get delay(){return this._delay},set endDelay(a3){this._setMember("endDelay",a3)},get endDelay(){return this._endDelay},set fill(a3){this._setMember("fill",a3)},get fill(){return this._fill},set iterationStart(a3){if((isNaN(a3)||a3<0)&&e())throw new TypeError("iterationStart must be a non-negative number, received: "+a3);this._setMember("iterationStart",a3)},get iterationStart(){return this._iterationStart},set duration(a3){if(a3!="auto"&&(isNaN(a3)||a3<0)&&e())throw new TypeError("duration must be non-negative or auto, received: "+a3);this._setMember("duration",a3)},get duration(){return this._duration},set direction(a3){this._setMember("direction",a3)},get direction(){return this._direction},set easing(a3){this._easingFunction=l(k(a3)),this._setMember("easing",a3)},get easing(){return this._easing},set iterations(a3){if((isNaN(a3)||a3<0)&&e())throw new TypeError("iterations must be non-negative, received: "+a3);this._setMember("iterations",a3)},get iterations(){return this._iterations}};var y=1,z=.5,A=0,B={ease:i(.25,.1,.25,1),"ease-in":i(.42,0,1,1),"ease-out":i(0,0,.58,1),"ease-in-out":i(.42,0,.58,1),"step-start":j(1,y),"step-middle":j(1,z),"step-end":j(1,A)},C=null,D="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",E=new RegExp("cubic-bezier\\("+D+","+D+","+D+","+D+"\\)"),F=/steps\(\s*(\d+)\s*\)/,G=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,H=0,I=1,J=2,K=3;a2.cloneTimingInput=c,a2.makeTiming=f,a2.numericTimingToObject=g,a2.normalizeTimingInput=h,a2.calculateActiveDuration=m,a2.calculateIterationProgress=u,a2.calculatePhase=o,a2.normalizeEasing=k,a2.parseEasingFunction=l})(a),(function(a2,b2){function c(a3,b3){return a3 in k&&k[a3][b3]||b3}function d(a3){return a3==="display"||a3.lastIndexOf("animation",0)===0||a3.lastIndexOf("transition",0)===0}function e(a3,b3,e2){if(!d(a3)){var f2=h[a3];if(f2){i.style[a3]=b3;for(var g2 in f2){var j2=f2[g2],k2=i.style[j2];e2[j2]=c(j2,k2)}}else e2[a3]=c(a3,b3)}}function f(a3){var b3=[];for(var c2 in a3)if(!(c2 in["easing","offset","composite"])){var d2=a3[c2];Array.isArray(d2)||(d2=[d2]);for(var e2,f2=d2.length,g2=0;g21&&d2[0].offset==null&&(d2[0].offset=0);for(var b4=0,c3=d2[0].offset,e2=1;e21)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if(d3=="composite"){if(f2=="add"||f2=="accumulate")throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if(f2!="replace")throw new TypeError("Invalid composite mode "+f2+".")}else f2=d3=="easing"?a2.normalizeEasing(f2):""+f2;e(d3,f2,c3)}return c3.offset==null&&(c3.offset=null),c3.easing==null&&(c3.easing="linear"),c3}),g2=!0,h2=-1/0,i2=0;i2=0&&a3.offset<=1}),g2||c2(),d2}var h={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},i=document.createElementNS("http://www.w3.org/1999/xhtml","div"),j={thin:"1px",medium:"3px",thick:"5px"},k={borderBottomWidth:j,borderLeftWidth:j,borderRightWidth:j,borderTopWidth:j,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:j,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};a2.convertToArrayForm=f,a2.normalizeKeyframes=g})(a),(function(a2){var b2={};a2.isDeprecated=function(a3,c,d,e){var f=e?"are":"is",g=new Date,h=new Date(c);return h.setMonth(h.getMonth()+3),!(g=a4.applyFrom&&c4this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(b3,c3){this._style[b3]=c3,this._isAnimatedProperty[b3]=!0,this._updateSvgTransformAttr&&a2.unprefixedPropertyName(b3)=="transform"&&(this._savedTransformAttr==null&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",a2.transformToSvgMatrix(c3)))},_clear:function(b3){this._style[b3]=this._surrogateStyle[b3],this._updateSvgTransformAttr&&a2.unprefixedPropertyName(b3)=="transform"&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[b3]}};for(var k in i)e.prototype[k]=(function(a3,b3){return function(){var c3=this._surrogateStyle[a3].apply(this._surrogateStyle,arguments);return b3&&(this._isAnimatedProperty[arguments[0]]||this._style[a3].apply(this._style,arguments),this._updateIndices()),c3}})(k,k in j);for(var l in document.documentElement.style)l in h||l in i||(function(a3){d2(e.prototype,a3,{get:function(){return this._surrogateStyle[a3]},set:function(b3){this._surrogateStyle[a3]=b3,this._updateIndices(),this._isAnimatedProperty[a3]||(this._style[a3]=b3)}})})(l);a2.apply=function(b3,c3,d3){f(b3),b3.style._set(a2.propertyName(c3),d3)},a2.clear=function(b3,c3){b3._webAnimationsPatchedStyle&&b3.style._clear(a2.propertyName(c3))}})(b),(function(a2){window.Element.prototype.animate=function(b2,c2){var d2="";return c2&&c2.id&&(d2=c2.id),a2.timeline._play(a2.KeyframeEffect(this,b2,c2,d2))}})(b),(function(a2,b2){function c2(a3,b3,d2){if(typeof a3=="number"&&typeof b3=="number")return a3*(1-d2)+b3*d2;if(typeof a3=="boolean"&&typeof b3=="boolean")return d2<.5?a3:b3;if(a3.length==b3.length){for(var e=[],f=0;f0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(a3){a3=+a3,isNaN(a3)||(b2.restart(),this._paused||this._startTime==null||(this._startTime=this._timeline.currentTime-a3/this._playbackRate),this._currentTimePending=!1,this._currentTime!=a3&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(a3,!0),b2.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(a3){a3=+a3,isNaN(a3)||this._paused||this._idle||(this._startTime=a3,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),b2.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(a3){if(a3!=this._playbackRate){var c3=this.currentTime;this._playbackRate=a3,this._startTime=null,this.playState!="paused"&&this.playState!="idle"&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),b2.applyDirtiedAnimation(this)),c3!=null&&(this.currentTime=c3)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":this._startTime==null&&!this._paused&&this.playbackRate!=0||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),b2.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,b2.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),b2.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(a3,b3){typeof b3=="function"&&a3=="finish"&&this._finishHandlers.push(b3)},removeEventListener:function(a3,b3){if(a3=="finish"){var c3=this._finishHandlers.indexOf(b3);c3>=0&&this._finishHandlers.splice(c3,1)}},_fireEvents:function(a3){if(this._isFinished){if(!this._finishedFlag){var b3=new d2(this,this._currentTime,a3),c3=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){c3.forEach(function(a4){a4.call(b3.target,b3)})},0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(a3,b3){this._idle||this._paused||(this._startTime==null?b3&&(this.startTime=a3-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((a3-this._startTime)*this.playbackRate)),b3&&(this._currentTimePending=!1,this._fireEvents(a3))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var a3=this._effect._target;return a3._activeAnimations||(a3._activeAnimations=[]),a3._activeAnimations},_markTarget:function(){var a3=this._targetAnimations();a3.indexOf(this)===-1&&a3.push(this)},_unmarkTarget:function(){var a3=this._targetAnimations(),b3=a3.indexOf(this);b3!==-1&&a3.splice(b3,1)}}})(a,b),(function(a2,b2,c2){function d2(a3){var b3=j;j=[],a31e-4?(u=.5/Math.sqrt(w),v=[(q[2][1]-q[1][2])*u,(q[0][2]-q[2][0])*u,(q[1][0]-q[0][1])*u,.25/u]):q[0][0]>q[1][1]&&q[0][0]>q[2][2]?(u=2*Math.sqrt(1+q[0][0]-q[1][1]-q[2][2]),v=[.25*u,(q[0][1]+q[1][0])/u,(q[0][2]+q[2][0])/u,(q[2][1]-q[1][2])/u]):q[1][1]>q[2][2]?(u=2*Math.sqrt(1+q[1][1]-q[0][0]-q[2][2]),v=[(q[0][1]+q[1][0])/u,.25*u,(q[1][2]+q[2][1])/u,(q[0][2]-q[2][0])/u]):(u=2*Math.sqrt(1+q[2][2]-q[0][0]-q[1][1]),v=[(q[0][2]+q[2][0])/u,(q[1][2]+q[2][1])/u,.25*u,(q[1][0]-q[0][1])/u]),[p,r,s,v,n]}return j})();a2.dot=c2,a2.makeMatrixDecomposition=h,a2.transformListToMatrix=g})(b),(function(a2){function b2(a3,b3){var c3=a3.exec(b3);if(c3)return c3=a3.ignoreCase?c3[0].toLowerCase():c3[0],[c3,b3.substr(c3.length)]}function c2(a3,b3){b3=b3.replace(/^\s*/,"");var c3=a3(b3);if(c3)return[c3[0],c3[1].replace(/^\s*/,"")]}function d2(a3,d3,e2){a3=c2.bind(null,a3);for(var f2=[];;){var g2=a3(e2);if(!g2)return[f2,e2];if(f2.push(g2[0]),e2=g2[1],!(g2=b2(d3,e2))||g2[1]=="")return[f2,e2];e2=g2[1]}}function e(a3,b3){for(var c3=0,d3=0;d3d3?c3%=d3:d3%=c3;return c3=a3*b3/(c3+d3)}function g(a3){return function(b3){var c3=a3(b3);return c3&&(c3[0]=void 0),c3}}function h(a3,b3){return function(c3){return a3(c3)||[b3,c3]}}function i(b3,c3){for(var d3=[],e2=0;e2=1?b3:"visible"}]}a2.addPropertiesHandler(String,c2,["visibility"])})(b),(function(a2,b2){function c2(a3){a3=a3.trim(),f.fillStyle="#000",f.fillStyle=a3;var b3=f.fillStyle;if(f.fillStyle="#fff",f.fillStyle=a3,b3==f.fillStyle){f.fillRect(0,0,1,1);var c3=f.getImageData(0,0,1,1).data;f.clearRect(0,0,1,1);var d3=c3[3]/255;return[c3[0]*d3,c3[1]*d3,c3[2]*d3,d3]}}function d2(b3,c3){return[b3,c3,function(b4){function c4(a3){return Math.max(0,Math.min(255,a3))}if(b4[3])for(var d3=0;d3<3;d3++)b4[d3]=Math.round(c4(b4[d3]/b4[3]));return b4[3]=a2.numberToString(a2.clamp(0,1,b4[3])),"rgba("+b4.join(",")+")"}]}var e=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");e.width=e.height=1;var f=e.getContext("2d");a2.addPropertiesHandler(c2,d2,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),a2.consumeColor=a2.consumeParenthesised.bind(null,c2),a2.mergeColors=d2})(b),(function(a2,b2){function c2(a3){function b3(){var b4=h2.exec(a3);g2=b4?b4[0]:void 0}function c3(){var a4=Number(g2);return b3(),a4}function d3(){if(g2!=="(")return c3();b3();var a4=f2();return g2!==")"?NaN:(b3(),a4)}function e2(){for(var a4=d3();g2==="*"||g2==="/";){var c4=g2;b3();var e3=d3();c4==="*"?a4*=e3:a4/=e3}return a4}function f2(){for(var a4=e2();g2==="+"||g2==="-";){var c4=g2;b3();var d4=e2();c4==="+"?a4+=d4:a4-=d4}return a4}var g2,h2=/([\+\-\w\.]+|[\(\)\*\/])/g;return b3(),f2()}function d2(a3,b3){if((b3=b3.trim().toLowerCase())=="0"&&"px".search(a3)>=0)return{px:0};if(/^[^(]*$|^calc/.test(b3)){b3=b3.replace(/calc\(/g,"(");var d3={};b3=b3.replace(a3,function(a4){return d3[a4]=null,"U"+a4});for(var e2="U("+a3.source+")",f2=b3.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+e2,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),g2=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],h2=0;h21?"calc("+c4+")":c4}]}var g="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",h=d2.bind(null,new RegExp(g,"g")),i=d2.bind(null,new RegExp(g+"|%","g")),j=d2.bind(null,/deg|rad|grad|turn/g);a2.parseLength=h,a2.parseLengthOrPercent=i,a2.consumeLengthOrPercent=a2.consumeParenthesised.bind(null,i),a2.parseAngle=j,a2.mergeDimensions=f;var k=a2.consumeParenthesised.bind(null,h),l=a2.consumeRepeated.bind(void 0,k,/^/),m=a2.consumeRepeated.bind(void 0,l,/^,/);a2.consumeSizePairList=m;var n=function(a3){var b3=m(a3);if(b3&&b3[1]=="")return b3[0]},o=a2.mergeNestedRepeated.bind(void 0,e," "),p=a2.mergeNestedRepeated.bind(void 0,o,",");a2.mergeNonNegativeSizePair=o,a2.addPropertiesHandler(n,p,["background-size"]),a2.addPropertiesHandler(i,e,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),a2.addPropertiesHandler(i,f,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])})(b),(function(a2,b2){function c2(b3){return a2.consumeLengthOrPercent(b3)||a2.consumeToken(/^auto/,b3)}function d2(b3){var d3=a2.consumeList([a2.ignore(a2.consumeToken.bind(null,/^rect/)),a2.ignore(a2.consumeToken.bind(null,/^\(/)),a2.consumeRepeated.bind(null,c2,/^,/),a2.ignore(a2.consumeToken.bind(null,/^\)/))],b3);if(d3&&d3[0].length==4)return d3[0]}function e(b3,c3){return b3=="auto"||c3=="auto"?[!0,!1,function(d3){var e2=d3?b3:c3;if(e2=="auto")return"auto";var f2=a2.mergeDimensions(e2,e2);return f2[2](f2[0])}]:a2.mergeDimensions(b3,c3)}function f(a3){return"rect("+a3+")"}var g=a2.mergeWrappedNestedRepeated.bind(null,f,e,", ");a2.parseBox=d2,a2.mergeBoxes=g,a2.addPropertiesHandler(d2,g,["clip"])})(b),(function(a2,b2){function c2(a3){return function(b3){var c3=0;return a3.map(function(a4){return a4===k?b3[c3++]:a4})}}function d2(a3){return a3}function e(b3){if((b3=b3.toLowerCase().trim())=="none")return[];for(var c3,d3=/\s*(\w+)\(([^)]*)\)/g,e2=[],f2=0;c3=d3.exec(b3);){if(c3.index!=f2)return;f2=c3.index+c3[0].length;var g2=c3[1],h2=n[g2];if(!h2)return;var i2=c3[2].split(","),j2=h2[0];if(j2.length900||b3%100!=0))return b3}function c2(b3){return b3=100*Math.round(b3/100),b3=a2.clamp(100,900,b3),b3===400?"normal":b3===700?"bold":String(b3)}function d2(a3,b3){return[a3,b3,c2]}a2.addPropertiesHandler(b2,d2,["font-weight"])})(b),(function(a2){function b2(a3){var b3={};for(var c3 in a3)b3[c3]=-a3[c3];return b3}function c2(b3){return a2.consumeToken(/^(left|center|right|top|bottom)\b/i,b3)||a2.consumeLengthOrPercent(b3)}function d2(b3,d3){var e2=a2.consumeRepeated(c2,/^/,d3);if(e2&&e2[1]==""){var f2=e2[0];if(f2[0]=f2[0]||"center",f2[1]=f2[1]||"center",b3==3&&(f2[2]=f2[2]||{px:0}),f2.length==b3){if(/top|bottom/.test(f2[0])||/left|right/.test(f2[1])){var h2=f2[0];f2[0]=f2[1],f2[1]=h2}if(/left|right|center|Object/.test(f2[0])&&/top|bottom|center|Object/.test(f2[1]))return f2.map(function(a3){return typeof a3=="object"?a3:g[a3]})}}}function e(d3){var e2=a2.consumeRepeated(c2,/^/,d3);if(e2){for(var f2=e2[0],h2=[{"%":50},{"%":50}],i2=0,j=!1,k=0;k=0&&this._cancelHandlers.splice(c2,1)}else i.call(this,a3,b3)},f}}})(),(function(a2){var b2=document.documentElement,c=null,d=!1;try{var e=getComputedStyle(b2).getPropertyValue("opacity"),f=e=="0"?"1":"0";c=b2.animate({opacity:[f,f]},{duration:1}),c.currentTime=0,d=getComputedStyle(b2).getPropertyValue("opacity")==f}catch(a3){}finally{c&&c.cancel()}if(!d){var g=window.Element.prototype.animate;window.Element.prototype.animate=function(b3,c2){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&b3[Symbol.iterator]&&(b3=Array.from(b3)),Array.isArray(b3)||b3===null||(b3=a2.convertToArrayForm(b3)),g.call(this,b3,c2)}}})(a)})();var smoothscroll$1={exports:{}};(function(module,exports){(function(){function polyfill(){var w=window,d=document;if("scrollBehavior"in d.documentElement.style&&w.__forceSmoothScrollPolyfill__!==!0)return;var Element=w.HTMLElement||w.Element,SCROLL_TIME=468,original={scroll:w.scroll||w.scrollTo,scrollBy:w.scrollBy,elementScroll:Element.prototype.scroll||scrollElement,scrollIntoView:Element.prototype.scrollIntoView},now=w.performance&&w.performance.now?w.performance.now.bind(w.performance):Date.now;function isMicrosoftBrowser(userAgent){var userAgentPatterns=["MSIE ","Trident/","Edge/"];return new RegExp(userAgentPatterns.join("|")).test(userAgent)}var ROUNDING_TOLERANCE=isMicrosoftBrowser(w.navigator.userAgent)?1:0;function scrollElement(x,y){this.scrollLeft=x,this.scrollTop=y}function ease(k){return .5*(1-Math.cos(Math.PI*k))}function shouldBailOut(firstArg){if(firstArg===null||typeof firstArg!="object"||firstArg.behavior===void 0||firstArg.behavior==="auto"||firstArg.behavior==="instant")return!0;if(typeof firstArg=="object"&&firstArg.behavior==="smooth")return!1;throw new TypeError("behavior member of ScrollOptions "+firstArg.behavior+" is not a valid value for enumeration ScrollBehavior.")}function hasScrollableSpace(el,axis){if(axis==="Y")return el.clientHeight+ROUNDING_TOLERANCE1?1:elapsed,value=ease(elapsed),currentX=context.startX+(context.x-context.startX)*value,currentY=context.startY+(context.y-context.startY)*value,context.method.call(context.scrollable,currentX,currentY),(currentX!==context.x||currentY!==context.y)&&w.requestAnimationFrame(step.bind(w,context))}function smoothScroll(el,x,y){var scrollable,startX,startY,method,startTime=now();el===d.body?(scrollable=w,startX=w.scrollX||w.pageXOffset,startY=w.scrollY||w.pageYOffset,method=original.scroll):(scrollable=el,startX=el.scrollLeft,startY=el.scrollTop,method=scrollElement),step({scrollable:scrollable,method:method,startTime:startTime,startX:startX,startY:startY,x:x,y:y})}w.scroll=w.scrollTo=function(){if(arguments[0]!==void 0){if(shouldBailOut(arguments[0])===!0){original.scroll.call(w,arguments[0].left!==void 0?arguments[0].left:typeof arguments[0]!="object"?arguments[0]:w.scrollX||w.pageXOffset,arguments[0].top!==void 0?arguments[0].top:arguments[1]!==void 0?arguments[1]:w.scrollY||w.pageYOffset);return}smoothScroll.call(w,d.body,arguments[0].left!==void 0?~~arguments[0].left:w.scrollX||w.pageXOffset,arguments[0].top!==void 0?~~arguments[0].top:w.scrollY||w.pageYOffset)}},w.scrollBy=function(){if(arguments[0]!==void 0){if(shouldBailOut(arguments[0])){original.scrollBy.call(w,arguments[0].left!==void 0?arguments[0].left:typeof arguments[0]!="object"?arguments[0]:0,arguments[0].top!==void 0?arguments[0].top:arguments[1]!==void 0?arguments[1]:0);return}smoothScroll.call(w,d.body,~~arguments[0].left+(w.scrollX||w.pageXOffset),~~arguments[0].top+(w.scrollY||w.pageYOffset))}},Element.prototype.scroll=Element.prototype.scrollTo=function(){if(arguments[0]!==void 0){if(shouldBailOut(arguments[0])===!0){if(typeof arguments[0]=="number"&&arguments[1]===void 0)throw new SyntaxError("Value could not be converted");original.elementScroll.call(this,arguments[0].left!==void 0?~~arguments[0].left:typeof arguments[0]!="object"?~~arguments[0]:this.scrollLeft,arguments[0].top!==void 0?~~arguments[0].top:arguments[1]!==void 0?~~arguments[1]:this.scrollTop);return}var left=arguments[0].left,top=arguments[0].top;smoothScroll.call(this,this,typeof left=="undefined"?this.scrollLeft:~~left,typeof top=="undefined"?this.scrollTop:~~top)}},Element.prototype.scrollBy=function(){if(arguments[0]!==void 0){if(shouldBailOut(arguments[0])===!0){original.elementScroll.call(this,arguments[0].left!==void 0?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,arguments[0].top!==void 0?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop);return}this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior})}},Element.prototype.scrollIntoView=function(){if(shouldBailOut(arguments[0])===!0){original.scrollIntoView.call(this,arguments[0]===void 0?!0:arguments[0]);return}var scrollableParent=findScrollableParent(this),parentRects=scrollableParent.getBoundingClientRect(),clientRects=this.getBoundingClientRect();scrollableParent!==d.body?(smoothScroll.call(this,scrollableParent,scrollableParent.scrollLeft+clientRects.left-parentRects.left,scrollableParent.scrollTop+clientRects.top-parentRects.top),w.getComputedStyle(scrollableParent).position!=="fixed"&&w.scrollBy({left:parentRects.left,top:parentRects.top,behavior:"smooth"})):w.scrollBy({left:clientRects.left,top:clientRects.top,behavior:"smooth"})}}module.exports={polyfill:polyfill}})()})(smoothscroll$1);var smoothscroll=smoothscroll$1.exports;smoothscroll.polyfill(); //# sourceMappingURL=/cdn/shop/t/18/assets/vendor.js.map?v=8779148921439946341670874307