(function(){function n(t,i,r){function u(f,o){var h,c,s;if(!i[f]){if(!t[f]){if(h="function"==typeof require&&require,!o&&h)return h(f,!0);if(e)return e(f,!0);c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c;}s=i[f]={exports:{}};t[f][0].call(s.exports,function(n){var i=t[f][1][n];return u(i||n)},s,s.exports,n,t,i,r)}return i[f].exports}for(var e="function"==typeof require&&require,f=0;f<r.length;f++)u(r[f]);return u}return n})()({1:[function(n){"use strict";n("./scripts/component-modal");n("./scripts/youtube-embed");n("./scripts/gatag");n("./scripts/global")},{"./scripts/component-modal":2,"./scripts/gatag":3,"./scripts/global":4,"./scripts/youtube-embed":5}],2:[function(n){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}var t=n("a11y-dialog"),i=r(t);(function(){for(var u=document.querySelectorAll("[data-modal]"),f=document.querySelectorAll(".c-modal__window"),e=[],t,n,o,r=0;r<f.length;r++)t=document.createElement("button"),t.setAttribute("class","c-modal__close"),t.setAttribute("type","button"),t.setAttribute("data-a11y-dialog-hide",""),t.innerHTML='<span class="o-a11y__visuallyhidden">Close this dialog window<\/span>',f[r].insertBefore(t,f[r].firstChild);for(n=0;n<u.length;n++){o=u[n].dataset.modal;u[n].dataset.dialog=n;e[n]=new i.default(document.querySelector(o));u[n].addEventListener("click",function(n){n.preventDefault();var t=this.dataset.dialog;e[t].show()});e[n].on("hide",function(n){var t=n.querySelector("iframe");t&&t.contentWindow.postMessage('{"event":"command","func":"stopVideo","args":""}',"*")})}})()},{"a11y-dialog":6}],3:[function(){"use strict";document.onclick=function(n){function e(n,t){n!=null&&(n.match(/^https?\:/i)&&!n.match(t)?n.match(/^.*\.(doc|eps|jpg|png|svg|xls|ppt|pdf|ashx|xls|zip|txt|vsd|vxd|js|css|rar|exe|wma|mov|avi|wmv|mp3)/i)?_gaq.push(["_trackEvent","Download","click",n]):_gaq.push(["_trackEvent","External","click",n]):n.match(/^mailto\:/i)?_gaq.push(["_trackEvent","Email","click",n.substr(7)]):n.match(/^.*\.(doc|eps|jpg|png|svg|xls|ppt|pdf|ashx|xls|zip|txt|vsd|vxd|js|css|rar|exe|wma|mov|avi|wmv|mp3)/i)&&_gaq.push(["_trackEvent","Download","click",n]))}var t,i;if(n=n||window.event,t=n.target||n.srcElement,i=t.tagName.toLowerCase(),i=="a"){var r=t.getAttribute("href"),u=document.domain.replace(/^www\./i,""),f="^(?:https?:)?//(?:(?:www).)?"+u+"/?";e(r,f)}}},{}],4:[function(n){"use strict";function t(n){if(Array.isArray(n)){for(var t=0,i=Array(n.length);t<n.length;t++)i[t]=n[t];return i}return Array.from(n)}var i=n("animejs"),r;window.anime=i;r="cubicBezier(0.350, 0.495, 0.445, 1.005)",function(){var n,u;if(!!window.IntersectionObserver&&!document.body.classList.contains("sfPageEditor")){document.documentElement.classList.add("is-animate-loaded");var f=document.querySelectorAll(".l-region"),e=function(n,t){var u=n.filter(function(n){return n.isIntersecting});u.forEach(function(n){var u=n.target.querySelectorAll(".o-keyline");i({targets:u,duration:750,delay:i.stagger(250,{start:450}),easing:r,opacity:[0,1],scaleX:[0,1],translateZ:0,complete:function(n){n.animatables.forEach(function(n){n.target.style.transform="";n.target.classList.add("is-animate-done")})}});t.unobserve(n.target)})},o=new IntersectionObserver(e,{root:null,rootMargin:"0px 0px -200px 0px"});[].concat(t(f)).forEach(function(n){o.observe(n)})}n=document.querySelector(".l-region--media__indicator");n&&(u=n.parentElement.nextElementSibling,u&&n.addEventListener("click",function(){u.scrollIntoView({behavior:"smooth",block:"start"})}))}(),function(){var i=window.matchMedia("(prefers-reduced-motion: reduce)"),n=document.querySelectorAll("video[autoplay][muted]");if([].concat(t(n)).forEach(function(n){n.pause()}),!i.matches){var r=function(n){n.forEach(function(n){n.isIntersecting?n.target.play():n.target.pause()})},u=new IntersectionObserver(r,{root:null,rootMargin:"0px 0px -33% 0px"});[].concat(t(n)).forEach(function(n){u.observe(n)})}}()},{animejs:7}],5:[function(){"use strict";(function(){function r(n,t){var i=document.createElement("iframe");return i.setAttribute("frameborder","0"),i.setAttribute("width","560"),i.setAttribute("height","315"),i.setAttribute("title",t),i.setAttribute("class","aspectratio-16by9 h-100 u-block"),i.setAttribute("allowfullscreen",""),i.setAttribute("allowscriptaccess","always"),i.setAttribute("src","https://www.youtube.com/embed/"+n+"?enablejsapi=1&autoplay=1&modestbranding=1&controls=0"),i.style.width="auto",i.style.marginInline="auto",i}function u(n,t){var i=document.createElement("iframe");return i.setAttribute("frameborder","0"),i.setAttribute("title",t),i.setAttribute("allowfullscreen",""),i.setAttribute("src","https://v.qq.com/txp/iframe/player.html?vid="+n),i}for(var i=document.documentElement.getAttribute("lang"),t=document.querySelectorAll(".c-card-video__link, .js-embed-youtube"),n=0;n<t.length;n++)t[n].addEventListener("click",function(n){var t=document.getElementById("modal-video-embed-"+this.dataset.id);t.innerHTML="";t.appendChild(i==="zh"?u(this.dataset.id,this.dataset.title):r(this.dataset.id,this.dataset.title));n.preventDefault()})})()},{}],6:[function(n,t){(function(n){(function(){(function(n){"use strict";function i(n,t){this._show=this.show.bind(this);this._hide=this.hide.bind(this);this._maintainFocus=this._maintainFocus.bind(this);this._bindKeypress=this._bindKeypress.bind(this);this.node=n;this._listeners={};this.create(t)}function f(n){return Array.prototype.slice.call(n)}function r(n,t){return f((t||document).querySelectorAll(n))}function l(n){return NodeList.prototype.isPrototypeOf(n)?f(n):Element.prototype.isPrototypeOf(n)?[n]:typeof n=="string"?r(n):void 0}function e(n){var t=o(n);t.length&&t[0].focus()}function o(n){return r(s.join(","),n).filter(function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)})}function a(n,t){var i=o(n),r=i.indexOf(document.activeElement);t.shiftKey&&r===0?(i[i.length-1].focus(),t.preventDefault()):t.shiftKey||r!==i.length-1||(i[0].focus(),t.preventDefault())}function v(n){var i=f(n.parentNode.childNodes),t=i.filter(function(n){return n.nodeType===1});return t.splice(t.indexOf(n),1),t}var s=["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],h=9,c=27,u;i.prototype.create=function(n){return this._targets=this._targets||l(n)||v(this.node),this.node.setAttribute("aria-hidden",!0),this.shown=!1,this._openers=r('[data-a11y-dialog-show="'+this.node.id+'"]'),this._openers.forEach(function(n){n.addEventListener("click",this._show)}.bind(this)),this._closers=r("[data-a11y-dialog-hide]",this.node).concat(r('[data-a11y-dialog-hide="'+this.node.id+'"]')),this._closers.forEach(function(n){n.addEventListener("click",this._hide)}.bind(this)),this._fire("create"),this};i.prototype.show=function(n){return this.shown?this:(this.shown=!0,this.node.removeAttribute("aria-hidden"),this._targets.forEach(function(n){var t=n.getAttribute("aria-hidden");t&&n.setAttribute("data-a11y-dialog-original",t);n.setAttribute("aria-hidden","true")}),u=document.activeElement,e(this.node),document.body.addEventListener("focus",this._maintainFocus,!0),document.addEventListener("keydown",this._bindKeypress),this._fire("show",n),this)};i.prototype.hide=function(n){return this.shown?(this.shown=!1,this.node.setAttribute("aria-hidden","true"),this._targets.forEach(function(n){var t=n.getAttribute("data-a11y-dialog-original");t?(n.setAttribute("aria-hidden",t),n.removeAttribute("data-a11y-dialog-original")):n.removeAttribute("aria-hidden")}),u&&u.focus(),document.body.removeEventListener("focus",this._maintainFocus,!0),document.removeEventListener("keydown",this._bindKeypress),this._fire("hide",n),this):this};i.prototype.destroy=function(){return this.hide(),this._openers.forEach(function(n){n.removeEventListener("click",this._show)}.bind(this)),this._closers.forEach(function(n){n.removeEventListener("click",this._hide)}.bind(this)),this._fire("destroy"),this._listeners={},this};i.prototype.on=function(n,t){return typeof this._listeners[n]=="undefined"&&(this._listeners[n]=[]),this._listeners[n].push(t),this};i.prototype.off=function(n,t){var i=this._listeners[n].indexOf(t);return i>-1&&this._listeners[n].splice(i,1),this};i.prototype._fire=function(n,t){var i=this._listeners[n]||[];i.forEach(function(n){n(this.node,t)}.bind(this))};i.prototype._bindKeypress=function(n){this.shown&&n.which===c&&(n.preventDefault(),this.hide());this.shown&&n.which===h&&a(this.node,n)};i.prototype._maintainFocus=function(n){this.shown&&!this.node.contains(n.target)&&e(this.node)};typeof t!="undefined"&&typeof t.exports!="undefined"?t.exports=i:typeof define=="function"&&define.amd?define("A11yDialog",[],function(){return i}):typeof n=="object"&&(n.A11yDialog=i)})(typeof n!="undefined"?n:window)}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],7:[function(n,t){"use strict";function f(n,t,i){return Math.min(Math.max(n,t),i)}function s(n,t){return n.indexOf(t)>-1}function y(n,t){return n.apply(null,t)}function et(n){var t=/\(([^)]+)\)/.exec(n);return t?t[1].split(",").map(function(n){return parseFloat(n)}):[]}function ot(n,t){function y(n){var i=t?t*n/1e3:n;return(i=u<1?Math.exp(-i*u*e)*(a*Math.cos(o*i)+v*Math.sin(o*i)):(a+v*i)*Math.exp(-i*e),n===0||n===1)?n:1-i}function w(){var u=h.springs[n],r;if(u)return u;for(var f=1/6,t=0,i=0;;)if(t+=f,y(t)===1){if(i++,i>=16)break}else i=0;return r=t*f*1e3,h.springs[n]=r,r}var r=et(n),s=f(i.und(r[0])?1:r[0],.1,100),c=f(i.und(r[1])?100:r[1],.1,100),p=f(i.und(r[2])?10:r[2],.1,100),l=f(i.und(r[3])?0:r[3],.1,100),e=Math.sqrt(c/s),u=p/(2*Math.sqrt(c*s)),o=u<1?e*Math.sqrt(1-u*u):0,a=1,v=u<1?(u*e+-l)/o:-l+e;return t?y:w}function oi(n){return n===void 0&&(n=10),function(t){return Math.ceil(f(t,1e-6,1)*n)*(1/n)}}function p(n,t){if(i.fnc(n))return n;var u=n.split("(")[0],f=st[u],r=et(n);switch(u){case"spring":return ot(n,t);case"cubicBezier":return y(si,r);case"steps":return y(oi,r);default:return y(f,r)}}function ht(n){try{return document.querySelectorAll(n)}catch(i){return}}function c(n,t){for(var f=n.length,e=arguments.length>=2?arguments[1]:void 0,u=[],r,i=0;i<f;i++)i in n&&(r=n[i],t.call(e,r,i,n)&&u.push(r));return u}function l(n){return n.reduce(function(n,t){return n.concat(i.arr(t)?l(t):t)},[])}function ct(n){return i.arr(n)?n:(i.str(n)&&(n=ht(n)||n),n instanceof NodeList||n instanceof HTMLCollection)?[].slice.call(n):[n]}function w(n,t){return n.some(function(n){return n===t})}function b(n){var i={},t;for(t in n)i[t]=n[t];return i}function k(n,t){var r=b(n),i;for(i in n)r[i]=t.hasOwnProperty(i)?t[i]:n[i];return r}function a(n,t){var u=b(n),r;for(r in t)u[r]=i.und(n[r])?t[r]:n[r];return u}function hi(n){var t=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(n);return t?"rgba("+t[1]+",1)":n}function ci(n){var i=n.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(n,t,i,r){return t+t+i+i+r+r}),t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(i),r=parseInt(t[1],16),u=parseInt(t[2],16),f=parseInt(t[3],16);return"rgba("+r+","+u+","+f+",1)"}function li(n){function o(n,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?n+(t-n)*6*i:i<1/2?t:i<2/3?n+(t-n)*(2/3-i)*6:n}var r=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(n)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(n),e=parseInt(r[1],10)/360,u=parseInt(r[2],10)/100,t=parseInt(r[3],10)/100,l=r[4]||1,s,h,c,i,f;return u==0?s=h=c=t:(i=t<.5?t*(1+u):t+u-t*u,f=2*t-i,s=o(f,i,e+1/3),h=o(f,i,e),c=o(f,i,e-1/3)),"rgba("+s*255+","+h*255+","+c*255+","+l+")"}function ai(n){return i.rgb(n)?hi(n):i.hex(n)?ci(n):i.hsl(n)?li(n):void 0}function o(n){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(n);if(t)return t[1]}function vi(n){return s(n,"translate")||n==="perspective"?"px":s(n,"rotate")||s(n,"skew")?"deg":void 0}function d(n,t){return i.fnc(n)?n(t.target,t.id,t.total):n}function e(n,t){return n.getAttribute(t)}function g(n,t,r){var a=o(t),f,l,e;if(w([r,"deg","rad","turn"],a))return t;if(f=h.CSS[t+r],!i.und(f))return f;var s=100,u=document.createElement(n.tagName),c=n.parentNode&&n.parentNode!==document?n.parentNode:document.body;return c.appendChild(u),u.style.position="absolute",u.style.width=s+r,l=s/u.offsetWidth,c.removeChild(u),e=l*parseFloat(t),h.CSS[t+r]=e,e}function lt(n,t,i){if(t in n.style){var u=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),r=n.style[t]||getComputedStyle(n).getPropertyValue(u)||"0";return i?g(n,r,i):r}}function nt(n,t){return i.dom(n)&&!i.inp(n)&&(!i.nil(e(n,t))||i.svg(n)&&n[t])?"attribute":i.dom(n)&&w(ei,t)?"transform":i.dom(n)&&t!=="transform"&&lt(n,t)?"css":n[t]!=null?"object":void 0}function at(n){if(i.dom(n)){for(var u=n.style.transform||"",f=/(\w+)\(([^)]*)\)/g,r=new Map,t;t=f.exec(u);)r.set(t[1],t[2]);return r}}function yi(n,t,i,r){var f=s(t,"scale")?1:0+vi(t),u=at(n).get(t)||f;return i&&(i.transforms.list.set(t,u),i.transforms.last=t),r?g(n,u,r):u}function tt(n,t,i,r){switch(nt(n,t)){case"transform":return yi(n,t,r,i);case"css":return lt(n,t,i);case"attribute":return e(n,t);default:return n[t]||0}}function it(n,t){var i=/^(\*=|\+=|-=)/.exec(n);if(!i)return n;var r=o(n)||0,u=parseFloat(t),f=parseFloat(n.replace(i[0],""));switch(i[0][0]){case"+":return u+f+r;case"-":return u-f+r;case"*":return u*f+r}}function vt(n,t){if(i.col(n))return ai(n);if(/\s/g.test(n))return n;var r=o(n),u=r?n.substr(0,n.length-r.length):n;return t?u+t:u}function rt(n,t){return Math.sqrt(Math.pow(t.x-n.x,2)+Math.pow(t.y-n.y,2))}function pi(n){return Math.PI*2*e(n,"r")}function wi(n){return e(n,"width")*2+e(n,"height")*2}function bi(n){return rt({x:e(n,"x1"),y:e(n,"y1")},{x:e(n,"x2"),y:e(n,"y2")})}function yt(n){for(var r=n.points,u=0,f,i,t=0;t<r.numberOfItems;t++)i=r.getItem(t),t>0&&(u+=rt(f,i)),f=i;return u}function ki(n){var t=n.points;return yt(n)+rt(t.getItem(t.numberOfItems-1),t.getItem(0))}function pt(n){if(n.getTotalLength)return n.getTotalLength();switch(n.tagName.toLowerCase()){case"circle":return pi(n);case"rect":return wi(n);case"line":return bi(n);case"polyline":return yt(n);case"polygon":return ki(n)}}function di(n){var t=pt(n);return n.setAttribute("stroke-dasharray",t),t}function gi(n){for(var t=n.parentNode;i.svg(t);){if(!i.svg(t.parentNode))break;t=t.parentNode}return t}function wt(n,t){var u=t||{},r=u.el||gi(n),f=r.getBoundingClientRect(),o=e(r,"viewBox"),s=f.width,h=f.height,i=u.viewBox||(o?o.split(" "):[0,0,s,h]);return{el:r,viewBox:i,x:i[0]/1,y:i[1]/1,w:s,h:h,vW:i[2],vH:i[3]}}function nr(n,t){var r=i.str(n)?ht(n)[0]:n,u=t||100;return function(n){return{property:n,el:r,svg:wt(r),totalLength:pt(r)*(u/100)}}}function tr(n,t,i){function u(i){i===void 0&&(i=0);var r=t+i>=1?t+i:0;return n.el.getPointAtLength(r)}var r=wt(n.el,n.svg),f=u(),e=u(-1),o=u(1),s=i?1:r.w/r.vW,h=i?1:r.h/r.vH;switch(n.property){case"x":return(f.x-r.x)*s;case"y":return(f.y-r.y)*h;case"angle":return Math.atan2(o.y-e.y,o.x-e.x)*180/Math.PI}}function bt(n,t){var u=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,r=vt(i.pth(n)?n.totalLength:n,t)+"";return{original:r,numbers:r.match(u)?r.match(u).map(Number):[0],strings:i.str(n)||t?r.split(u):[]}}function ut(n){var t=n?l(i.arr(n)?n.map(ct):ct(n)):[];return c(t,function(n,t,i){return i.indexOf(n)===t})}function kt(n){var t=ut(n);return t.map(function(n,i){return{target:n,id:i,total:t.length,transforms:{list:at(n)}}})}function ir(n,t){var r=b(t),u,e,f;return/^spring/.test(r.easing)&&(r.duration=ot(r.easing)),i.arr(n)&&(u=n.length,e=u===2&&!i.obj(n[0]),e?n={value:n}:i.fnc(t.duration)||(r.duration=t.duration/u)),f=i.arr(n)?n:[n],f.map(function(n,r){var u=i.obj(n)&&!i.pth(n)?n:{value:n};return i.und(u.delay)&&(u.delay=r?0:t.delay),i.und(u.endDelay)&&(u.endDelay=r===f.length-1?t.endDelay:0),u}).map(function(n){return a(n,r)})}function rr(n){for(var r=c(l(n.map(function(n){return Object.keys(n)})),function(n){return i.key(n)}).reduce(function(n,t){return n.indexOf(t)<0&&n.push(t),n},[]),u={},f=function(t){var f=r[t];u[f]=n.map(function(n){var r={},t;for(t in n)i.key(t)?t==f&&(r.value=n[t]):r[t]=n[t];return r})},t=0;t<r.length;t++)f(t);return u}function ur(n,t){var u=[],f=t.keyframes,r;f&&(t=a(rr(f),t));for(r in t)i.key(r)&&u.push({name:r,tweens:ir(t[r],n)});return u}function fr(n,t){var u={},f,r;for(f in n)r=d(n[f],t),i.arr(r)&&(r=r.map(function(n){return d(n,t)}),r.length===1&&(r=r[0])),u[f]=r;return u.duration=parseFloat(u.duration),u.delay=parseFloat(u.delay),u}function er(n,t){var r;return n.tweens.map(function(u){var f=fr(u,t),e=f.value,s=i.arr(e)?e[1]:e,c=o(s),l=tt(t.target,n.name,c,t),a=r?r.to.original:l,h=i.arr(e)?e[0]:a,y=o(h)||o(l),v=c||y;return i.und(s)&&(s=a),f.from=bt(h,v),f.to=bt(it(s,h),v),f.start=r?r.end:0,f.end=f.start+f.delay+f.duration+f.endDelay,f.easing=p(f.easing,f.duration),f.isPath=i.pth(e),f.isPathTargetInsideSVG=f.isPath&&i.svg(t.target),f.isColor=i.col(f.from.original),f.isColor&&(f.round=1),r=f,f})}function gt(n,t){var i=kt(n);i.forEach(function(n){var i;for(i in t){var u=d(t[i],n),r=n.target,f=o(u),e=tt(r,i,f,n),s=f||o(e),h=it(vt(u,s),e),c=nt(r,i);dt[c](r,i,h,n.transforms,!0)}})}function or(n,t){var u=nt(n.target,t.name),i,r;if(u)return i=er(t,n),r=i[i.length-1],{type:u,property:t.name,animatable:n,tweens:i,duration:r.end,delay:i[0].delay,endDelay:r.endDelay}}function sr(n,t){return c(l(n.map(function(n){return t.map(function(t){return or(n,t)})})),function(n){return!i.und(n)})}function ni(n,t){var r=n.length,u=function(n){return n.timelineOffset?n.timelineOffset:0},i={};return i.duration=r?Math.max.apply(Math,n.map(function(n){return u(n)+n.duration})):t.duration,i.delay=r?Math.min.apply(Math,n.map(function(n){return u(n)+n.delay})):t.delay,i.endDelay=r?i.duration-Math.max.apply(Math,n.map(function(n){return u(n)+n.duration-n.endDelay})):t.endDelay,i}function hr(n){var f=k(ft,n),i=k(v,n),e=ur(i,n),r=kt(n.targets),u=sr(r,e),t=ni(u,i),o=ti;return ti++,a(f,{id:o,children:[],animatables:r,animations:u,duration:t.duration,delay:t.delay,endDelay:t.endDelay})}function ri(){return!!document&&document.hidden}function r(n){function w(n){var t=window.Promise&&new Promise(function(n){return p=n});return n.finished=t,t}function k(){var n=t.direction;n!=="alternate"&&(t.direction=n!=="normal"?"normal":"reverse");t.reversed=!t.reversed;e.forEach(function(n){return n.reversed=t.reversed})}function y(n){return t.reversed?t.duration-n:n}function l(){o=0;v=y(t.currentTime)*(1/r.speed)}function d(n,t){t&&t.seek(n-t.timelineOffset)}function nt(n){var i,r;if(t.reversePlayback)for(r=h;r--;)d(n,e[r]);else for(i=0;i<h;i++)d(n,e[i])}function a(n){for(var l=0,b=t.animations,ut=b.length,r,p,u;l<ut;){var e=b[l],k=e.animatable,a=e.tweens,d=a.length-1,i=a[d];d&&(i=c(a,function(t){return n<t.end})[0]||i);var g=f(n-i.start-i.delay,0,i.duration)/i.duration,nt=isNaN(g)?1:i.easing(g),s=i.to.strings,v=i.round,y=[],ft=i.to.numbers.length,o=void 0;for(r=0;r<ft;r++){var h=void 0,tt=i.to.numbers[r],it=i.from.numbers[r]||0;h=i.isPath?tr(i.value,nt*tt,i.isPathTargetInsideSVG):it+nt*(tt-it);v&&(i.isColor&&r>2||(h=Math.round(h*v)/v));y.push(h)}if(p=s.length,p)for(o=s[0],u=0;u<p;u++){var et=s[u],rt=s[u+1],w=y[u];isNaN(w)||(o+=rt?w+rt:w+" ")}else o=y[0];dt[e.type](k.target,e.property,o,k.transforms);e.currentValue=o;l++}}function i(n){t[n]&&!t.passThrough&&t[n](t)}function tt(){t.remaining&&t.remaining!==!0&&t.remaining--}function g(n){var u=t.duration,h=t.delay,c=u-t.endDelay,r=y(n);t.progress=f(r/u*100,0,100);t.reversePlayback=r<t.currentTime;e&&nt(r);!t.began&&t.currentTime>0&&(t.began=!0,i("begin"));!t.loopBegan&&t.currentTime>0&&(t.loopBegan=!0,i("loopBegin"));r<=h&&t.currentTime!==0&&a(0);(r>=c&&t.currentTime!==u||!u)&&a(u);r>h&&r<c?(t.changeBegan||(t.changeBegan=!0,t.changeCompleted=!1,i("changeBegin")),i("change"),a(r)):t.changeBegan&&(t.changeCompleted=!0,t.changeBegan=!1,i("changeComplete"));t.currentTime=f(r,0,u);t.began&&i("update");n>=u&&(v=0,tt(),t.remaining?(o=s,i("loopComplete"),t.loopBegan=!1,t.direction==="alternate"&&k()):(t.paused=!0,t.completed||(t.completed=!0,i("loopComplete"),i("complete"),!t.passThrough&&"Promise"in window&&(p(),b=w(t)))))}var t,b;n===void 0&&(n={});var o=0,v=0,s=0,e,h=0,p=null;return t=hr(n),b=w(t),t.reset=function(){var i=t.direction,n;for(t.passThrough=!1,t.currentTime=0,t.progress=0,t.paused=!0,t.began=!1,t.loopBegan=!1,t.changeBegan=!1,t.completed=!1,t.changeCompleted=!1,t.reversePlayback=!1,t.reversed=i==="reverse",t.remaining=t.loop,e=t.children,h=e.length,n=h;n--;)t.children[n].reset();(t.reversed&&t.loop!==!0||i==="alternate"&&t.loop===1)&&t.remaining++;a(t.reversed?t.duration:0)},t._onDocumentVisibility=l,t.set=function(n,i){return gt(n,i),t},t.tick=function(n){s=n;o||(o=s);g((s+(v-o))*r.speed)},t.seek=function(n){g(y(n))},t.pause=function(){t.paused=!0;l()},t.play=function(){t.paused&&(t.completed&&t.reset(),t.paused=!1,u.push(t),l(),ii())},t.reverse=function(){k();t.completed=t.reversed?!1:!0;l()},t.restart=function(){t.reset();t.play()},t.remove=function(n){var i=ut(n);fi(i,t)},t.reset(),t.autoplay&&t.play(),t}function ui(n,t){for(var i=t.length;i--;)w(n,t[i].animatable.target)&&t.splice(i,1)}function fi(n,t){var e=t.animations,i=t.children,r,u,f;for(ui(n,e),r=i.length;r--;)u=i[r],f=u.animations,ui(n,f),f.length||u.children.length||i.splice(r,1);e.length||i.length||t.pause()}function cr(n){for(var r=ut(n),i,t=u.length;t--;)i=u[t],fi(r,i)}function lr(n,t){t===void 0&&(t={});var v=t.direction||"normal",a=t.easing?p(t.easing):null,f=t.grid,h=t.axis,r=t.from||0,y=r==="first",c=r==="center",w=r==="last",e=i.arr(n),l=e?parseFloat(n[0]):parseFloat(n),b=e?parseFloat(n[1]):0,k=o(e?n[1]:n)||0,d=t.start||0+(e?l:0),u=[],s=0;return function(n,t,i){var o,tt;if(y&&(r=0),c&&(r=(i-1)/2),w&&(r=i-1),!u.length){for(o=0;o<i;o++){if(f){var it=c?(f[0]-1)/2:r%f[0],rt=c?(f[1]-1)/2:Math.floor(r/f[0]),ut=o%f[0],ft=Math.floor(o/f[0]),p=it-ut,g=rt-ft,nt=Math.sqrt(p*p+g*g);h==="x"&&(nt=-p);h==="y"&&(nt=-g);u.push(nt)}else u.push(Math.abs(r-o));s=Math.max.apply(Math,u)}a&&(u=u.map(function(n){return a(n/s)*s}));v==="reverse"&&(u=u.map(function(n){return h?n<0?n*-1:-n:Math.abs(s-n)}))}return tt=e?(b-l)/s:l,d+tt*(Math.round(u[t]*100)/100)+k}}function ar(n){n===void 0&&(n={});var t=r(n);return t.duration=0,t.add=function(f,e){function l(n){n.passThrough=!0}var w=u.indexOf(t),s=t.children,h,o,y,p,c;for(w>-1&&u.splice(w,1),h=0;h<s.length;h++)l(s[h]);return o=a(f,k(v,n)),o.targets=o.targets||n.targets,y=t.duration,o.autoplay=!1,o.direction=t.direction,o.timelineOffset=i.und(e)?y:it(e,y),l(t),t.seek(o.timelineOffset),p=r(o),l(p),s.push(p),c=ni(s,n),t.delay=c.delay,t.endDelay=c.endDelay,t.duration=c.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t}var ft={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},v={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},ei=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],h={CSS:{},springs:{}},i={arr:function(n){return Array.isArray(n)},obj:function(n){return s(Object.prototype.toString.call(n),"Object")},pth:function(n){return i.obj(n)&&n.hasOwnProperty("totalLength")},svg:function(n){return n instanceof SVGElement},inp:function(n){return n instanceof HTMLInputElement},dom:function(n){return n.nodeType||i.svg(n)},str:function(n){return typeof n=="string"},fnc:function(n){return typeof n=="function"},und:function(n){return typeof n=="undefined"},nil:function(n){return i.und(n)||n===null},hex:function(n){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(n)},rgb:function(n){return/^rgb/.test(n)},hsl:function(n){return/^hsl/.test(n)},col:function(n){return i.hex(n)||i.rgb(n)||i.hsl(n)},key:function(n){return!ft.hasOwnProperty(n)&&!v.hasOwnProperty(n)&&n!=="targets"&&n!=="keyframes"}},si=function(){function r(n,t){return 1-3*t+3*n}function u(n,t){return 3*t-6*n}function f(n){return 3*n}function i(n,t,i){return((r(t,i)*n+u(t,i))*n+f(t))*n}function e(n,t,i){return 3*r(t,i)*n*n+2*u(t,i)*n+f(t)}function o(n,t,r,u,f){var o,e,s=0;do e=t+(r-t)/2,o=i(e,u,f)-n,o>0?r=e:t=e;while(Math.abs(o)>1e-7&&++s<10);return e}function s(n,t,r,u){for(var o,s,f=0;f<4;++f){if(o=e(t,r,u),o===0)return t;s=i(t,r,u)-n;t-=s/o}return t}function h(r,u,f,h){function a(i){for(var h=0,u=1,v=n-1;u!==v&&c[u]<=i;++u)h+=t;--u;var y=(i-c[u])/(c[u+1]-c[u]),l=h+y*t,a=e(l,r,f);return a>=.001?s(i,l,r,f):a===0?l:o(i,h,h+t,r,f)}var c,l;if(0<=r&&r<=1&&0<=f&&f<=1){if(c=new Float32Array(n),r!==u||f!==h)for(l=0;l<n;++l)c[l]=i(l*t,r,f);return function(n){return r===u&&f===h?n:n===0||n===1?n:i(a(n),u,h)}}}var n=11,t=1/(n-1);return h}(),st=function(){var n={linear:function(){return function(n){return n}}},t={Sine:function(){return function(n){return 1-Math.cos(n*Math.PI/2)}},Expo:function(){return function(n){return n?Math.pow(2,10*n-10):0}},Circ:function(){return function(n){return 1-Math.sqrt(1-n*n)}},Back:function(){return function(n){return n*n*(3*n-2)}},Bounce:function(){return function(n){for(var t,i=4;n<((t=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((t*3-2)/22-n,2)}},Elastic:function(n,t){n===void 0&&(n=1);t===void 0&&(t=.5);var i=f(n,1,10),r=f(t,.1,2);return function(n){return n===0||n===1?n:-i*Math.pow(2,10*(n-1))*Math.sin((n-1-r/(Math.PI*2)*Math.asin(1/i))*Math.PI*2/r)}}};return["Quad","Cubic","Quart","Quint"].forEach(function(n,i){t[n]=function(){return function(n){return Math.pow(n,i+2)}}}),Object.keys(t).forEach(function(i){var r=t[i];n["easeIn"+i]=r;n["easeOut"+i]=function(n,t){return function(i){return 1-r(n,t)(1-i)}};n["easeInOut"+i]=function(n,t){return function(i){return i<.5?r(n,t)(i*2)/2:1-r(n,t)(i*-2+2)/2}};n["easeOutIn"+i]=function(n,t){return function(i){return i<.5?(1-r(n,t)(1-i*2))/2:(r(n,t)(i*2-1)+1)/2}}}),n}(),dt={css:function(n,t,i){return n.style[t]=i},attribute:function(n,t,i){return n.setAttribute(t,i)},object:function(n,t,i){return n[t]=i},transform:function(n,t,i,r,u){if(r.list.set(t,i),t===r.last||u){var f="";r.list.forEach(function(n,t){f+=t+"("+n+") "});n.style.transform=f}}},ti=0,u=[],ii=function(){function i(){!n&&(!ri()||!r.suspendWhenDocumentHidden)&&u.length>0&&(n=requestAnimationFrame(t))}function t(i){for(var e=u.length,r=0,f;r<e;)f=u[r],f.paused?(u.splice(r,1),e--):(f.tick(i),r++);n=r>0?requestAnimationFrame(t):undefined}function f(){r.suspendWhenDocumentHidden&&(ri()?n=cancelAnimationFrame(n):(u.forEach(function(n){return n._onDocumentVisibility()}),ii()))}var n;return typeof document!="undefined"&&document.addEventListener("visibilitychange",f),i}();r.version="3.2.1";r.speed=1;r.suspendWhenDocumentHidden=!0;r.running=u;r.remove=cr;r.get=tt;r.set=gt;r.convertPx=g;r.path=nr;r.setDashoffset=di;r.stagger=lr;r.timeline=ar;r.easing=p;r.penner=st;r.random=function(n,t){return Math.floor(Math.random()*(t-n+1))+n};t.exports=r},{}]},{},[1])