(self.webpackchunk_n_e=self.webpackchunk_n_e||[]).push([[3238],{87603:function(e,t,n){"use strict";n.d(t,{z:function(){return l}});var a=n(1413),r=n(67294),o={icon:{tag:"svg",attrs:{viewbox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"m869 487.8l491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304h152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1l386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2l869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"},i=n(84089),s=function(e,t){return r.createelement(i.z,(0,a.z)((0,a.z)({},e),{},{ref:t,icon:o}))};s.displayname="arrowrightoutlined";var l=r.forwardref(s)},83077:function(){},75:function(e,t,n){var a=n(34155);(function(){var t,n,r,o,i,s;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof a&&null!==a&&a.hrtime?(e.exports=function(){return(t()-i)/1e6},n=a.hrtime,o=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})(),s=1e9*a.uptime(),i=o-s):date.now?(e.exports=function(){return date.now()-r},r=date.now()):(e.exports=function(){return(new date).gettime()-r},r=(new date).gettime())}).call(this)},54087:function(e,t,n){for(var a=n(75),r="undefined"===typeof window?n.g:window,o=["moz","webkit"],i="animationframe",s=r["request"+i],l=r["cancel"+i]||r["cancelrequest"+i],u=0;!s&&uobject.keys(t).length?e:t,r=object.keys(e).length>object.keys(t).length?t:e;object.keys(a).foreach((function(e){n&&(e in r||(n=!1),"object"===typeof a[e]&&"object"===typeof r[e]?n=k(a[e],r[e]):"function"===typeof a[e]&&"function"===typeof r[e]?a[e].tostring().replace(/\s+/g,"")!==r[e].tostring().replace(/\s+/g,"")&&(n=!1):a[e]!==r[e]&&(n=!1))}))};if(array.isarray(e)&&array.isarray(t)){if(e.length!==t.length)return!1;e.foreach((function(e,n){a(e,t[n])}))}else a(e,t);return n}function s(e,t){var n=null;return e&&e.foreach((function(e){!n&&e&&e.key===t&&(n=e)})),n}function e(e,t,n){return"function"===typeof e?e({key:t,index:n}):e}function m(e){return e&&e.children}function x(e,t,n,a,r,o,i,s){if(v)return a;var l=/(?:left|right|width|x)/i.test(n)||s;l="padding"===n||"marign"===n||l;var u=-1!==n.indexof("border")||-1!==n.indexof("translate")||"transformorigin"===n?e:e.parentnode||document.body;u=i?document.body:u;var c=void 0,p=void 0;switch(r){case"%":c=parsefloat(a)/100*(l?u.clientwidth:u.clientheight);break;case"vw":c=parsefloat(a)*document.body.clientwidth/100;break;case"vh":c=parsefloat(a)*document.body.clientheight/100;break;case"em":c=parsefloat(a)*parsefloat(t.fontsize);break;case"rem":p=window.getcomputedstyle(document.getelementsbytagname("html")[0]),c=parsefloat(a)*parsefloat(p.fontsize);break;default:c=parsefloat(a)}switch(o){case"%":c=c?100*c/(l?u.clientwidth:u.clientheight):0;break;case"vw":c=parsefloat(a)/document.body.clientwidth*100;break;case"vh":c=parsefloat(a)/document.body.clientheight*100;break;case"em":c=parsefloat(a)/parsefloat(t.fontsize);break;case"rem":p=p||window.getcomputedstyle(document.getelementsbytagname("html")[0]),c=parsefloat(a)/parsefloat(p.fontsize)}return c}function d(e){if("string"===typeof e)return e;var t=e.perspective,n=e.rotate,a=e.rotatex,r=e.rotatey,o=e.scalex,i=e.scaley,s=e.scalez,l=e.skewx,u=e.skewy,c="string"===typeof e.translatex?e.translatex:e.translatex+"px",p="string"===typeof e.translatey?e.translatey:e.translatey+"px",f="string"===typeof e.translatez?e.translatez:e.translatez+"px",d=l||u?"skew("+l+"deg,"+u+"deg)":"",m=n?"rotate("+n+"deg)":"",h=1!==o||1!==i||1!==s?"scale3d("+o+","+i+","+s+")":"",y=a?"rotatex("+a+"deg)":"",v=r?"rotatey("+r+"deg)":"",g=h||m||y||v||d?"":"translate(0px, 0px)";return((t?"perspective("+t+"px)":"")+" "+(e.translatez?"translate3d("+c+","+p+","+f+")":(e.translatex||e.translatey)&&"translate("+c+","+p+")"||g)+" "+h+" "+m+" "+y+" "+v+" "+d).trim()}var p=n(52191),o=n(41e3),c=n.n(o);c().path=function(e,t){var n=t||{};if(v)return"linear";for(var a=function(e){if("string"===typeof e){if(e.charat(0).match(/m/i)){var t=document.createelementns("http://www.w3.org/2000/svg","path");return t.setattributens(null,"d",e),t}return document.queryselector(e)}if(e.style)return e;throw new error("error while parsing the path")}(e),r=a.gettotallength(),o=n.rect||100,i=n.lengthpixel||200,s=[],l=0;l=u}))[0]||a.getpointatlength(l*r)).y/o}};var a=c(),f=function(){};f.prototype.push=function(e){this[e.prototype.name]=e};var n=new f,j=function(e,t,n){this.target=e,this.vars=t,this.type=n,this.propsdata={},this.setdefaultdata()},r=j.prototype={name:"style"};r.gettweendata=function(e,t){var n={data:{},datatype:{},dataunit:{},datacount:{},datasplitstr:{}},a=t;if(w[e]&&((a=(a=a.tostring().split(" ")).map((function(e){return"number"===typeof t?e+"px":e})))[1]=a[1]||a[0],a[2]=a[2]||a[0],a[3]=a[3]||a[1]||a[0],a=a.join(" ")),e.match(/colo|fill|storker/i)?(n.data[e]=(0,p.lu)(a),n.datatype[e]="color"):"strokedasharray"===e?(n.data[e]=a.split(","),n.datatype[e]="strokedasharray"):e.match(/shadow/i)?(n.data[e]=(0,p.hy)(a),n.datatype[e]="shadow"):"string"===typeof a&&a.split(/[\s|,]/).length>1?(n.data[e]=a.split(/[\s|,]/),n.datasplitstr[e]=a.replace(/[^\s|,]/g,"").replace(/\s+/g," "),n.datatype[e]="string"):(n.data[e]=a,n.datatype[e]="other"),array.isarray(n.data[e]))n.dataunit[e]=n.data[e].map((function(e){return e.tostring().replace(/[^a-z|%]/g,"")})),n.datacount[e]=n.data[e].map((function(e){return e.tostring().replace(/[^+|=|-]/g,"")})),n.data[e]=n.data[e].map((function(e){return parsefloat(e)||0===parsefloat(e)?parsefloat(e):e}));else{n.dataunit[e]=n.data[e].tostring().replace(/[^a-z|%]/g,""),n.datacount[e]=n.data[e].tostring().replace(/[^+|=|-]/g,"");var r=parsefloat(n.data[e].tostring().replace(/[a-z|%|=]/g,""));n.data[e]=r||0===r?r:n.data[e]}return n},r.setdefaultdata=function(){var e=this;this.propsdata.data={},this.propsdata.datatype={},this.propsdata.dataunit={},this.propsdata.datacount={},this.propsdata.datasplitstr={},object.keys(this.vars).foreach((function(t){if(t in n)e.propsdata.data[t]=new n[t](e.target,e.vars[t]);else{var n=(0,p.lo)(t),a=e.gettweendata(n,e.vars[t]);e.propsdata.data[n]=a.data[n],e.propsdata.datatype[n]=a.datatype[n],e.propsdata.dataunit[n]=a.dataunit[n],e.propsdata.datacount[n]=a.datacount[n],a.datasplitstr[n]&&(e.propsdata.datasplitstr[n]=a.datasplitstr[n])}}))},r.converttomarksarray=function(e,t,n,a,r){var o=a.tostring().replace(/[^a-z|%]/g,""),i=t[r];return o===i?parsefloat(a):parsefloat(a)||0===parsefloat(a)?x(this.target,e,n,a,o,i,null,"transformorigin"===n&&!r):a},r.getanimstart=function(e,t,n){var a=this,r={},o=t.style||{},i=void 0;return object.keys(this.propsdata.data).foreach((function(t){var s=(0,p.dt)(t),u=o[s]||e[s],c="fixed"===e.position;u&&"none"!==u&&"auto"!==u||(u="");var p=void 0,f=void 0;if(t in n)"bezier"===t&&(a.transform=(0,p.yf)("transform"),u=e[n?"transformsvg":a.transform],i=i||(o.transform?(0,l.default)({},o.transform):r.transform||(0,p.ck)(u)),r.transform=i),a.propsdata.data[t].getanimstart(e,n);else if("transform"===s){a.transform=(0,p.yf)("transform"),u=e[n?"transformsvg":a.transform],p=a.propsdata.dataunit[t],i=i||(o.transform?(0,l.default)({},o.transform):r.transform||(0,p.ck)(u));var d=/%|vw|vh|em|rem/i;p&&p.match(d)&&(i[t]=i[t]&&i[t].tostring().match(d)?parsefloat(i[t]):x(a.target,e,t,i[t],null,p)),r.transform=i}else"filter"===s?(o[s]?u=o[s]:(a.filtername=(0,p.yf)("filter")||"filter",u=e[a.filtername],a.filterobject=(0,l.default)({},a.filterobject,(0,p.gx)(u)),u=a.filterobject[t]||0),f=u.tostring().replace(/[^a-z|%]/g,""),(p=a.propsdata.dataunit[t])!==f&&(u=x(a.target,e,s,parsefloat(u),f,p,c)),r[t]=parsefloat(u)):t.match(/color|fill/i)||"stroke"===t?(u=u||"stroke"!==t?u:"rgba(255, 255, 255, 0)",r[s]=(0,p.lu)(u)):t.match(/shadow/i)?(u=(0,p.hy)(u),p=a.propsdata.dataunit[t],u=u.map(a.converttomarksarray.bind(a,e,p,t)),r[s]=u):array.isarray(a.propsdata.data[t])?(u=u.split(/[\s|,]/).filter((function(e){return e||0===e})),p=a.propsdata.dataunit[t],u=u.map(a.converttomarksarray.bind(a,e,p,t)),r[s]=u):((p=a.propsdata.dataunit[s])!==(f=u.tostring().replace(/[^a-z|%]/g,""))&&(u=x(a.target,e,s,parsefloat(u),f,p,c)),r[s]=parsefloat(u||0))})),this.start=r,r},r.setarrayratio=function(e,t,n,a,r){"color"===r&&4===t.length&&3===n.length&&(n[3]=1);var o=t.indexof("inset")>=0,i=n.indexof("inset")>=0;if(o&&!i||i&&!o)throw console.error('error: "box-shadow" inset have to exist');var s=i?9:8;t.length===s&&n.length===s-1?(n.splice(3,0,0),a.splice(3,0,"")):n.length===s&&t.length===s-1&&t.splice(3,0,0);var l=n.map((function(n,o){var i="color"!==r||3!==o||t[o]?0:1,s="number"===typeof t[o]?t[o]:i;return"string"===typeof n?n:(n-s)*e+s+(a[o]||0)}));if("color"===r)return(0,p.lq)(l);if("shadow"===r){var u=l.length===s?4:3,c=l.slice(0,u).map((function(e){return"number"===typeof e?e+"px":e})),p=l.slice(u,i?l.length-1:l.length),f=(0,p.lq)(p);return(c.join(" ")+" "+f+" "+(i?"inset":"")).trim()}return l},r.setratio=function(e,t,n){var a=this;t.style=t.style||{},this.start.transform&&(t.style.transform=t.style.transform||(0,l.default)({},this.start.transform));var r=this.target.style;object.keys(this.propsdata.data).foreach((function(o){var i="transform"===(0,p.tk)(o),s=i?a.start.transform[o]:a.start[o],l=a.propsdata.data[o],u=a.propsdata.dataunit[o],c=a.propsdata.datacount[o];if(o in n)return a.propsdata.data[o].setratio(e,t,n),void("bezier"===o?r[a.transform]=d(t.style.transform):object.keys(t.style).foreach((function(e){r[e]=t.style[e]})));if(i){if(u&&u.match(/%|vw|vh|em|rem/i))s=parsefloat(a.start.transform[o]),"="===c.charat(1)?t.style.transform[o]=s+l*e+u:t.style.transform[o]=(l-s)*e+s+u;else if("scale"===o){var p=a.start.transform.scalex,f=a.start.transform.scaley;"="===c.charat(1)?(t.style.transform.scalex=p+l*e,t.style.transform.scaley=f+l*e):(t.style.transform.scalex=(l-p)*e+p,t.style.transform.scaley=(l-f)*e+f)}else"="===c.charat(1)?t.style.transform[o]=s+l*e:t.style.transform[o]=(l-s)*e+s;return r[a.transform]=d(t.style.transform),void(n&&(n.transformsvg=(0,p.wz)(r[a.transform]).tostring()))}if(array.isarray(l)){var d=a.propsdata.datatype[o];t.style[o]=a.setarrayratio(e,s,l,u,d),"string"===d&&(t.style[o]=t.style[o].join(a.propsdata.datasplitstr[o]))}else{var m=(0,p.yj)(o,0);if(m="number"===typeof m?"":m.replace(/[^a-z|%]/g,""),u=u||(p._t.filter.indexof(o)>=0?"":m),"string"===typeof l)t.style[o]=l;else if("="===c.charat(1))t.style[o]=s+l*e+u;else{var h=(l-s)*e+s;t.style[o]=u?""+h+u:h}}if(p._t.filter.indexof(o)>=0){if(!a.filterobject)return;a.filterobject[o]=t.style[o];var y="";return object.keys(a.filterobject).foreach((function(e){y+=" "+e+"("+a.filterobject[e]+")"})),void(r[a.filtername]=y.trim())}r[o]=t.style[o]}))};var i=j;function b(){}function _(e,t){var n=e.duration||0===e.duration?e.duration:450;return{duration:"set"===e.type?0:n,delay:e.delay||0,ease:"function"===typeof e.ease?e.ease:a[e.ease||"easeinoutquad"],onupdate:e.onupdate||b,oncomplete:e.oncomplete||b,onstart:e.onstart||b,onrepeat:e.onrepeat||b,repeat:e.repeat||0,repeatdelay:e.repeatdelay||0,yoyo:e.yoyo||!1,type:"from"===e.type?"from":"to",inittime:t,appearto:"number"===typeof e.appearto?e.appearto:null,pertime:0,currentrepeat:0}}n.push(i);var l=function(e,t,n){var a=t(t);this.target=e,this.attr=n||"style",this.accuracy=1e-5,this.totaltime=0,this.progresstime=0,this.defaultdata=[],this.start={},this.startdefaultdata={},this.tween={},this.data=a,this.perframe=math.round(1e3/60),this.register=!1,this.issvg=this.target.ownersvgelement;var r=this.setattrisstyle();this.setdefaultdata(r)},y=l.prototype;y.setattrisstyle=function(){var e=this,t=[],n=_({},0);return this.data.foreach((function(a,r){var o=(0,l.default)({},a);"style"===e.attr?(t[r]={},object.keys(o).foreach((function(e){e in n&&(t[r][e]=o[e],delete o[e])})),t[r].style=o,e.startdefaultdata.style=e.target.getattribute("style")||""):"attr"===e.attr&&(object.keys(o).foreach((function(t){if("style"===t&&array.isarray(a[t]))throw new error("style should be the object.");if("bezier"===t)o.style=(0,l.default)({},o.style,{bezier:o[t]}),delete o[t],e.startdefaultdata.style=e.target.getattribute("style")||"";else{if(t in n)return;e.startdefaultdata[t]=e.getvalue(t)}})),t[r]=o)})),t},y.setdefaultdata=function(e){var t=this,n=0,a=!1,r=e.map((function(e){var r="number"===typeof e.appearto;r||(n+=e.delay||0);var o=(e.appearto||0)+(e.delay||0),i=_(e,r?o:n);i.vars={},object.keys(e).foreach((function(n){if(!(n in i)){var a=e[n];if(n in n)i.vars[n]=new n[n](t.target,a,i.type);else if("d"!==n&&"points"!==n||!("svgmorph"in n)){if(n.match(/color/i)||"stroke"===n||"fill"===n)i.vars[n]={type:"color",vars:(0,p.lu)(a)};else if("number"===typeof a||a.split(/[,|\s]/g).length<=1){var r=parsefloat(a),o=a.tostring().replace(/[^a-z|%]/g,""),s=a.tostring().replace(/[^+|=|-]/g,"");i.vars[n]={unit:o,vars:r,count:s}}}else i.vars[n]=new n.svgmorph(t.target,a,n)}})),i.yoyo&&!i.repeat&&console.warn("warning: yoyo must be used together with repeat;"),-1===i.repeat&&(a=!0);var s=-1===i.repeat?0:i.repeat;if(r){var l=e.appearto+(e.delay||0)+i.duration*(s+1)+i.repeatdelay*s;n=l>=n?l:n}else i.delay<-i.duration?n-=i.delay:n+=i.duration*(s+1)+i.repeatdelay*s;return i.mode="",i}));this.totaltime=a?number.max_value:n,this.defaultdata=r},y.getcomputedstyle=function(){var e="undefined"!==typeof window&&document.defaultview?document.defaultview.getcomputedstyle(this.target):{};if(this.issvg){var t=e[(0,p.yf)("transform")]||"none";if("none"===t){var n=this.target.getattribute("style");n&&n.indexof("transform:")>=0?t=n.split(";").filter((function(e){return e.indexof("transform:")>=0})).map((function(e){return(0,p.wz)(e.split(":")[1].trim()).tostring()}))[0]:this.target.getattribute("transform")&&console.warn("do not add transform on the label, otherwise it will be invalid.")}e.transformsvg=t}return e},y.getanimstartdata=function(e){var t=this,n={};return object.keys(e).foreach((function(a){if(a in n||"attr"===t.attr&&("d"===a||"points"===a))return t.computedstyle=t.computedstyle||(t.target.getattribute?t.getcomputedstyle():(0,l.default)({},t.target)),void(n[a]=e[a].getanimstart(t.computedstyle,t.tween,t.issvg));if("attr"!==t.attr)n[a]=t.target[a]||0;else{var r=t.getvalue(a),o=a.match(/opacity/gi)?1:0,i="null"!==r&&r?r:o;if(a.match(/color/i)||"stroke"===a||"fill"===a)i=i||"stroke"!==a?i:"rgba(255, 255, 255, 0)",i=(0,p.lu)(i),n[a]=i;else if(parsefloat(i)||0===parsefloat(i)||0===i){var s=i.tostring().replace(/[^a-z|%]/g,"");n[a]=s!==e[a].unit?x(t.target,a,parsefloat(i),s,e[a].unit):parsefloat(i)}}})),n},y.setanimdata=function(e){var t=this;object.keys(e).foreach((function(n){n in n||"attr"===t.attr&&("d"===n||"points"===n)||(t.target[n]=e[n])}))},y.setratio=function(e,t,n){var a=this;object.keys(t.vars).foreach((function(r){if(r in n||"attr"===a.attr&&("d"===r||"points"===r))t.vars[r].setratio(e,a.tween,a.issvg&&a.computedstyle);else{var o=t.vars[r],i=a.start[n][r],s=void 0;"attr"===a.attr&&(o.type?"color"===o.type&&(3===o.vars.length&&4===i.length&&(o.vars[3]=1),s=o.vars.map((function(t,n){var a=i[n]||0;return(t-a)*e+a})),a.setvalue(r,(0,p.lq)(s))):(s="="===o.unit.charat(1)?i+o.vars*e+o.unit:(o.vars-i)*e+i+o.unit,a.setvalue(r,o.unit?s:parsefloat(s))))}})),this.setanimdata(this.tween)},y.getvalue=function(e){return this.target.getattribute?this.target.getattribute(e):this.target[e]},y.setvalue=function(e,t){this.target.setattribute?this.target.setattribute(e,t):this.target[e]=t},y.render=function(){var e=this,t=this.reverse;this.defaultdata.foreach((function(n,a){var r=n.inittime,o=(0,p.fh)(n.duration),i=math.ceil((e.progresstime-r)/(o+n.repeatdelay))-1||0;if(i=i<0?0:i,n.repeat){if(n.repeat=0&&!e.start[a]&&(e.start[a]=e.getanimstartdata(n.vars),co&&(p=n.ease(1,s,u,1),e.setratio(p,n,a)),(!e.register||a&&!r)&&(e.register=!0,0===c&&n.duration&&n.delay)))){var f={index:a,target:e.target},d=(0,l.default)({moment:e.progresstime},f),m=e.perframe-e.accuracy,h=n.delay&&t?-m:0;if((c>=h&&!(c>o&&"oncomplete"===n.mode)||c=e.perframe?0:c)>=o-e.accuracy&&!t||t&&c<=0)&&i>=n.repeat){if("oncomplete"===n.mode)return;if(p=n.ease(t?0:1,s,u,1),e.setratio(p,n,a,n.currentrepeat!==i),n.reset&&!(n.reset&&c>=o)||y){if(c>=o+m)return}else om){var v=c<0?0:c;v=v>o?o:v,p=n.ease(v,s,u,o),e.setratio(p,n,a),y||(n.repeat&&i>0&&n.currentrepeat!==i?(n.mode="onrepeat",n.currentrepeat=i,n.onrepeat((0,l.default)({},f,{repeatnum:i}))):(n.pertime<=0||t&&n.pertime>=e.reversestarttime-r)&&"onstart"!==n.mode?(n.mode="onstart",n.onstart(f)):(n.mode="onupdate",n.onupdate((0,l.default)({ratio:p},f))))}y||(d.mode=n.mode,e.onchange(d)),n.pertime=c,n.reset&&delete n.reset}}}))},y.frame=function(e){var t=this;this.progresstime=e,this.defaultdata.foreach((function(e){var n=t.progresstime-e.duration-e.inittime;n0&&(t.progresstime=e.duration+e.inittime)})),this.render()},y.init=y.frame,y.resetanimdata=function(){this.tween={},this.start={}};y.resetdefaultstyle=function(){var e=this;this.tween={},this.defaultdata=this.defaultdata.map((function(e){return e.reset=!0,delete e.mode,e}));var t=_({},0);object.keys(this.startdefaultdata).foreach((function(n){if(!(n in t)){if("style"===n){var a=function(e,t,n){var a=_({},0),r=function(e){return e.split(";").filter((function(e){return e})).map((function(e){return e.split(":").map((function(e){return e.trim()}))}))},o=r(t),i=r(e);return n.foreach((function(e){object.keys(e).foreach((function(e){if(!(e in a)){var t="bezier"===e?"transform":e,n=(0,p.dm)((0,p.tk)((0,p.lo)(t)));i=i.filter((function(e){return(!g[e[0]]||!g[n])&&e[0]!==n}))}}))})),o.foreach((function(e){i=i.filter((function(t){return t[0]!==e[0]}))})),o.concat(i).map((function(e){return e.join(":")})).join(";")}(e.target.style.csstext,e.startdefaultdata.style,e.data);e.setvalue(n,a)}else e.setvalue(n,e.startdefaultdata[n]);e.computedstyle=null}}))},y.restart=function(e,t,n){var a=this;this.start={},this.tween={},object.keys(e||{}).foreach((function(r){!n&&t&&e[r]===t[r]||(a.target.style[r]=(0,p.yj)(r,e[r]))})),this.setattrisstyle(),this.computedstyle=null},y.onchange=b;var u=l,z=n(54087),x=n.n(z),w=date.now||function(){return(new date).gettime()},v={interval:1,timeout:1,tweenoneticker:2},q=function(e){return object.keys(e).map((function(t){return{key:t,func:e[t]}})).sort((function(e,t){var n=e.key.split("_")[0],a=t.key.split("_")[0];return v[a]-v[n]}))},g=function(){},q=g.prototype={tickfnarray:[],tickkeyobject:{},id:-1,tweenid:0,frame:0,perframe:math.round(1e3/60),elapsed:0,lastupdate:w(),starttime:w(),nexttime:0,time:0};q.add=function(e){var t="tweenoneticker_"+this.tweenid;return this.tweenid++,this.wake(t,e),t},q.wake=function(e,t){this.tickkeyobject[e]=t,this.tickfnarray=q(this.tickkeyobject),-1===this.id&&(this.id=x()(this.tick))},q.clear=function(e){delete this.tickkeyobject[e],this.tickfnarray=q(this.tickkeyobject)},q.sleep=function(){x().cancel(this.id),this.id=-1,this.frame=0};var z=new g;q.tick=function(e){z.elapsed=w()-z.lastupdate,z.elapsed>300&&(z.starttime+=z.elapsed-z.perframe),z.lastupdate+=z.elapsed,z.time=z.lastupdate-z.starttime;var t=z.time-z.nexttime;(t>0||!z.frame)&&(z.frame++,z.nexttime+=t),z.tickfnarray.foreach((function(t){return t.func(e)})),z.tickfnarray.length?z.id=x()(z.tick):z.sleep()};var h=0;q.timeout=function(e,t){var n=this;if("function"!==typeof e)return console.warn("not function");var a="timeout_"+date.now()+"-"+h,r=this.time;return this.wake(a,(function(){n.time-r>=(t||0)&&(n.clear(a),e())})),h++,a};var j=0;q.interval=function(e,t){var n=this;if("function"!==typeof e)return console.warn("not function"),null;var a="interval_"+date.now()+"-"+j,r=this.time;return this.wake(a,(function(){n.time-r>=(t||0)&&(r=n.time,e())})),j++,a};var $=z;var k=math.round(1e3/60),ee=y().oneoftype([y().object,y().array]),te=function(e){function t(e){(0,u.default)(this,t);var n=(0,c.default)(this,(t.__proto__||object.getprototypeof(t)).call(this,e));return ne.call(n),n.rafid=-1,n.paused=e.paused,n.reverse=e.reverse,n.updateanim=!1,n.repeatnum=0,n.currentref=null,n.forced={},n.setforcedjudg(e),n.state={$self:n},n}return(0,f.default)(t,e),(0,p.default)(t,null,[{key:"getderivedstatefromprops",value:function(e,t){var n=t.prevprops,a=t.$self,r={prevprops:e};if(n&&e!==n){if(!a.tween&&!a.dom)return a.updateanim=!0,r;var o=e.animation;k(n.animation,o)||(e.resetstyle&&a.tween&&a.tween.resetdefaultstyle(),a.updateanim=!0);var i=e.moment;"number"===typeof i&&i!==n.moment&&(a.tween&&!a.updateanim?(a.startmoment=i,a.starttime=$.time,e.paused&&a.raf(),a.tween.progresstime>=a.tween.totaltime&&a.play()):a.updateanim=!0),a.paused===e.paused&&a.reverse===e.reverse||(a.paused=e.paused,a.reverse=e.reverse,a.paused?a.cancelrequestanimationframe():a.reverse&&e.reversedelay?(a.cancelrequestanimationframe(),$.timeout(a.restart,e.reversedelay)):(a.tween&&(a.tween.resetanimdata(),a.tween.resetdefaultstyle()),a.updateanim||a.restart())),k(n.style,e.style)||a.tween&&(a.tween.restart(e.style,n.style,a.tween.progresstime=0?n:number.max_value;var r=$.time-e.starttime+e.startmoment;e.reverse&&(r=(e.startmoment||0)-($.time-e.starttime)),r=(r=r>a?a:r)<=0?0:r;var o=math.floor(r/e.tween.totaltime)||0;o=o>n?n:o;var i=r-e.tween.totaltime*o;i=i=k?0:i,n&&r&&r-e.tween.totaltime*o=a&&!e.reverse||!r&&e.reverse?n.timelinemode="ontimelinecomplete":o!==e.timelinerepeatnum?n.timelinemode="ontimelinerepeat":n.timelinemode="ontimelineupdate",e.timelinerepeatnum=o,e.props.onchange(n)},e.moment=r,e.repeatnum=o,e.tween.frame(i)},this.raf=function(){var t=e.tween;if(e.frame(),t!==e.tween)return null;var n=e.props.repeat,a=-1===n?number.max_value:e.tween.totaltime*(n+1);return e.moment>=a&&!e.reverse||e.paused||e.reverse&&0===e.moment?e.cancelrequestanimationframe():null},this.cancelrequestanimationframe=function(){$.clear(e.rafid),e.rafid=-1}};te.istweenone=!0;var ae=i(te);var re=function(e){function t(e){(0,u.default)(this,t);var n=(0,c.default)(this,(t.__proto__||object.getprototypeof(t)).call(this,e));oe.call(n),n.keystoenter=[],n.keystoleave=[],n.savetweentag={},n.onenterbool=!1,n.animqueue=[],n.istween={};var a=b(m(n.props));return n.currentchildren=b(m(n.props)),n.state={children:a,$self:n},n}return(0,f.default)(t,e),(0,p.default)(t,null,[{key:"getderivedstatefromprops",value:function(e,t){var n=t.prevprops,a=t.$self,r={prevprops:e};if(n&&e!==n){var o=b(e.children);if(object.keys(a.istween).length&&!e.exclusive)return a.animqueue.push(o),r;var i=b(a.currentchildren);r.children=a.changechildren(o,i)}return r}}]),(0,p.default)(t,[{key:"componentdidmount",value:function(){this.onenterbool=!0}},{key:"changechildren",value:function(e,t){var n=this,a=function(e,t){var n=[],a={},r=[],o=void 0;return e.foreach((function(e){e&&(s(t,e.key)?(r.length&&(a[e.key]=r,r=[]),o=e.key):e.key&&r.push(e))})),o||(n=n.concat(r)),t.foreach((function(e){e&&(a.hasownproperty(e.key)&&(n=n.concat(a[e.key])),n.push(e),e.key===o&&(n=n.concat(r)))})),n}(t,e);return this.keystoenter=[],this.keystoleave=[],e.foreach((function(e){if(e){var a=e.key,r=s(t,a);n.savetweentag[a]&&(n.savetweentag[a]=d.cloneelement(n.savetweentag[a],{},e)),!r&&a&&n.keystoenter.push(a)}})),t.foreach((function(t){if(t){var a=t.key;!s(e,a)&&a&&(n.keystoleave.push(a),delete n.savetweentag[a])}})),a}},{key:"render",value:function(){var e=this.state.children;this.currentchildren=e;var t=this.getchildrentorender(e),n=this.props,a=n.component,r=n.componentprops,o=(n.appear,n.enter,n.leave,n.animatingclassname,n.onend,n.exclusive,n.resetstyle,(0,s.default)(n,["component","componentprops","appear","enter","leave","animatingclassname","onend","exclusive","resetstyle"]));return a?(0,d.createelement)(a,(0,l.default)({},o,r),t):t[0]||null}}]),t}(d.component),oe=function(){var e=this;this.onchange=function(t,n,a,r){var o=t(t).length,i=r.target,s="object"===typeof i.classname&&"baseval"in i.classname,l="enter"===a||"appear"===a;if("onstart"===r.mode)s?i.classname.baseval=e.setclassname(i.classname.baseval,l):i.classname=e.setclassname(i.classname,l);else if(r.index===o-1&&"oncomplete"===r.mode){if(delete e.istween[n],s?i.classname.baseval=i.classname.baseval.replace(e.props.animatingclassname[l?0:1],"").trim():i.classname=i.classname.replace(e.props.animatingclassname[l?0:1],"").trim(),"enter"===a)e.keystoenter.splice(e.keystoenter.indexof(n),1),e.keystoenter.length||e.reanimqueue();else if("leave"===a&&(e.keystoleave.splice(e.keystoleave.indexof(n),1),e.currentchildren=e.currentchildren.filter((function(e){return n!==e.key})),!e.keystoleave.length)){var u=e.currentchildren.map((function(e){return e.key}));object.keys(e.savetweentag).foreach((function(t){-1===u.indexof(t)&&delete e.savetweentag[t]})),e.setstate({children:e.currentchildren},e.reanimqueue)}var c={key:n,type:a};e.props.onend(c)}},this.setclassname=function(t,n){var a=t.replace(e.props.animatingclassname[n?1:0],"").trim();return-1===a.indexof(e.props.animatingclassname[n?0:1])&&(a=(a+" "+e.props.animatingclassname[n?0:1]).trim()),a},this.gettweenchild=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.key;return e.savetweentag[a]=d.createelement(ae,(0,l.default)({},n,{key:a,component:null}),t),e.savetweentag[a]},this.getcoveranimation=function(t,n,a){var r=void 0;(r="leave"===a?e.props.leave:e.props.enter,"appear"===a)&&(r=e(e.props.appear,t.key,n)&&e.props.enter||null);var o=e(r,t.key,n),i=e.onchange.bind(e,o,t.key,a),s={key:t.key,animation:o,onchange:i,resetstyle:e.props.resetstyle};return(e.keystoenter.concat(e.keystoleave).indexof(t.key)>=0||!e.onenterbool&&r)&&(e.savetweentag[t.key]||(e.istween[t.key]=a)),e.gettweenchild(t,s)},this.getchildrentorender=function(t){return t.map((function(t,n){if(!t||!t.key)return t;var a=t.key;return e.keystoleave.indexof(a)>=0?e.getcoveranimation(t,n,"leave"):!(e.keystoenter.indexof(a)>=0||e.istween[a]&&-1===e.keystoleave.indexof(a))||"enter"===e.istween[a]&&e.savetweentag[a]?e.onenterbool?e.savetweentag[a]:e.getcoveranimation(t,n,"appear"):e.getcoveranimation(t,n,"enter")}))},this.reanimqueue=function(){if(!object.keys(e.istween).length&&e.animqueue.length){var t=e.changechildren(e.animqueue[e.animqueue.length-1],e.state.children);e.setstate({children:t}),e.animqueue=[]}}};re.proptypes={component:y().any,componentprops:y().object,children:y().any,style:y().object,appear:y().bool,enter:y().any,leave:y().any,animatingclassname:y().array,onend:y().func,resetstyle:y().bool,exclusive:y().bool},re.defaultprops={component:"div",componentprops:{},appear:!0,animatingclassname:["tween-one-entering","tween-one-leaving"],enter:{x:50,opacity:0,type:"from"},leave:{x:-50,opacity:0},onend:function(){},resetstyle:!0,exclusive:!1},re.istweenonegroup=!0;var ie=i(re);ae.tweenonegroup=ie,ae.easing=a,ae.plugins=n,ae.ticker=$,ae.tween=u;var se=ae,le=$,ue=u,ce=function(e){function t(){var e,n,a,r;(0,u.default)(this,t);for(var o=arguments.length,i=array(o),s=0;s=0||e.match("data-"))&&(a[e]=n[e])})),d.createelement(n.component,a,n.children)}function he(){return window.pageyoffset||document.body.scrolltop||document.documentelement.scrolltop}function ye(e,t){return e?t.type.istweenone?d.cloneelement(t,{reverse:!0}):d.cloneelement(t,t.props,null):t}me.proptypes={key:y().string};var ve=function(e){function t(){var e,n,a,r;(0,u.default)(this,t);for(var o=arguments.length,i=array(o),s=0;s1||n.elemwrapper.length<=1||n.getdomisarroworthumb(e)||2===e.button||n.tweenbool||(n.props.autoplay&&(le.clear(n.autoplayid),n.autoplayid=-1),n.animtype=n.getanimtype(n.props.type),n.currentshow=n.state.currentshow,n.mousestartxy={startx:void 0===e.touches?e.clientx:e.touches[0].clientx,starty:void 0===e.touches?e.clienty:e.touches[0].clienty})},n.ontouchmove=function(e){if(!(!n.mousestartxy||e.touches&&e.touches.length>1||n.tweenbool)){var t=n.getdiffer(e,e.touches),a=t.differ,r=t.rectname;if(a){var o=a/n.state.domrect[r],i=o<0?"+":"-",s=n.currentshow;if(n.mousemovetype="update",n.ratiotype!==i)return n.ratiotype=i,n.mousemovetype="rechild",void n.setstate({currentshow:s});if((n.animtype!==we.gridbar&&n.animtype!==we.grid||!e.touches)&&(n.ratio=o,n.ratio)){var l=void 0;n.ratio<0?(s+=1,l="next"):(s-=1,l="prev"),n.ratio=math.abs(n.ratio),n.ratio=n.ratio>.99?.99:n.ratio,s=(s=s>=n.elemwrapper.length?0:s)<0?n.elemwrapper.length-1:s,n.setstate({currentshow:s,direction:l})}}}},n.ontouchend=function(e){if(!(!n.mousestartxy||e.changedtouches&&e.changedtouches.length>1||n.tweenbool)){var t=n.getdiffer(e,e.changedtouches),a=t.differ,r=t.rectname;if(n.mousestartxy=null,n.props.autoplay&&-1===n.autoplayid&&n.autoplay(),n.mousemovetype="end",a){if((n.animtype===we.gridbar||n.animtype===we.grid)&&e.changedtouches){var o=n.currentshow;return a/n.state.domrect[r]*2<0?o+=1:o-=1,o=(o=o>=n.elemwrapper.length?0:o)<0?n.elemwrapper.length-1:o,n.ratio=0,n.mousemovetype="",n.slickgoto(o,!0),void(n.tweenbool=!0)}n.ratio>.3?n.forceupdate((function(){n.ratio=0,n.mousemovetype=""})):n.setstate({currentshow:n.currentshow,direction:"+"===n.ratiotype?"prev":"next"},(function(){n.ratio=0,n.mousemovetype=""}))}else n.mousemovetype=""}},n.getdiffer=function(e,t){var a=void 0===t?e.clientx:t[0].clientx,r=void 0===t?e.clienty:t[0].clienty,o=a-n.mousestartxy.startx,i=r-n.mousestartxy.starty,s=math.max(math.abs(o),math.abs(i));return{differ:s=s===math.abs(o)?o:i,rectname:s===o?"width":"height"}},n.getdomisarroworthumb=function(e){var t=e.target.classname,n=e.target.parentnode.classname;return t.indexof("banner-anim-arrow")>=0||n.indexof("banner-anim-thumb")>=0},n.getrenderchildren=function(e){var t=[],a=[],r=void 0,o=0,i=0;return fe(e).foreach((function(e,s){if(e){var u=(0,l.default)({},e.props);e.type.isbanneranimelement?(u.key=e.key||"element-"+o,o+=1,u.callback=n.animend,u.show=n.state.currentshow===s,u.animtype=n.animtype,u.duration=n.props.duration,u.delay=n.props.delay,u.ease=n.props.ease,u.sync=n.props.sync||u.sync,u.elemoffset={top:n.state.domrect.top,width:n.state.domrect.width,height:n.state.domrect.height},u.direction=n.state.direction,u.ratio=n.ratio,u.mousemovetype=n.mousemovetype,t.push(d.cloneelement(e,u))):e.type.isbanneranimarrow?(u.next=n.next,u.prev=n.prev,u.key=e.key||u.arrowtype,a.push(d.cloneelement(e,u))):e.type.isbanneranimthumb&&(u.key=e.key||"thumb-"+i,i+=1,u.thumbclick=n.slickgoto,u.active=n.state.currentshow,r=d.cloneelement(e,u))}})),t.length>1&&(!a.length&&n.props.arrow&&a.push(d.createelement(pe,{arrowtype:"prev",key:"arrowprev",next:n.next,prev:n.prev,defaultbool:!0}),d.createelement(pe,{arrowtype:"next",key:"arrownext",next:n.next,prev:n.prev,defaultbool:!0})),!r&&n.props.thumb&&(r=d.createelement(ge,{length:t.length,key:"thumb",thumbclick:n.slickgoto,active:n.state.currentshow,defaultbool:!0}))),n.elemwrapper=t,t.concat(a,r)},n.getdomdatasettostate=function(){n.dom=m.finddomnode(n);var e=n.dom.getboundingclientrect();n.setstate({domrect:e}),n.tweenbool=!1},n.getanimtype=function(e){var t=e?de(e):object.keys(we),n=math.round(math.random()*(t.length-1));return we[t[n]]},n.autoplay=function(){n.mousestartxy||(le.clear(n.autoplayid),n.autoplayid=le.interval(n.next,n.props.autoplayspeed))},n.animtweenstart=function(e,t,a){a||(n.animtype=n.getanimtype(n.props.type)),n.props.onchange("before",e),n.setstate({currentshow:e,direction:t})},n.animend=function(e){"enter"===e&&(n.tweenbool=!1,n.props.onchange("after",n.state.currentshow))},n.next=function(){if(!n.tweenbool){n.tweenbool=!0;var e=n.state.currentshow;++e>=n.elemwrapper.length&&(e=0),n.animtweenstart(e,"next")}},n.prev=function(){if(!n.tweenbool){n.tweenbool=!0;var e=n.state.currentshow;--e<0&&(e=n.elemwrapper.length-1),n.animtweenstart(e,"prev")}},n.slickgoto=function(e,t){if(!n.tweenbool&&e!==n.state.currentshow){n.tweenbool=!0;var a=e>n.state.currentshow?"next":"prev";n.animtweenstart(e,a,t)}},n.state={currentshow:n.props.initshow,direction:null,domrect:{},$self:n},n.tweenbool=!1,n}return(0,f.default)(t,e),(0,p.default)(t,null,[{key:"getderivedstatefromprops",value:function(e,t){var n=t.prevprops,a=t.$self,r={prevprops:e};return n&&e!==n&&(a.tweenbool=!1),r}}]),(0,p.default)(t,[{key:"componentdidmount",value:function(){this.getdomdatasettostate(),window.addeventlistener?(window.addeventlistener("resize",this.getdomdatasettostate),window.addeventlistener("touchend",this.ontouchend),window.addeventlistener("mouseup",this.ontouchend)):(window.attachevent("onresize",this.getdomdatasettostate),window.attachevent("ontouchend",this.ontouchend),window.attachevent("onmouseup",this.ontouchend)),this.props.autoplay&&this.autoplay()}},{key:"componentwillunmount",value:function(){this.autoplayid&&(le.clear(this.autoplayid),this.autoplayid=0),window.addeventlistener?(window.removeeventlistener("touchend",this.ontouchend),window.removeeventlistener("mouseup",this.ontouchend),window.removeeventlistener("resize",this.getdomdatasettostate)):(window.detachevent("ontouchend",this.ontouchend),window.attachevent("onmouseup",this.ontouchend),window.detachevent("onresize",this.getdomdatasettostate))}},{key:"render",value:function(){var e=this.props,t=(e.type,e.prefixcls),n=(e.component,e.initshow,e.duration,e.delay,e.ease,e.arrow,e.thumb,e.autoplayspeed,e.autoplay,e.sync,e.dragplay,e.autoplayeffect,(0,s.default)(e,["type","prefixcls","component","initshow","duration","delay","ease","arrow","thumb","autoplayspeed","autoplay","sync","dragplay","autoplayeffect"])),a=this.getrenderchildren(n.children);return n.classname=(n.classname+" "+(t||"")).trim(),n.style=(0,l.default)({},n.style),n.onmouseenter=this.onmouseenter,n.onmouseleave=this.onmouseleave,a.length>1&&this.props.dragplay&&(n.ontouchstart=this.ontouchstart,n.onmousedown=this.ontouchstart,n.ontouchmove=this.ontouchmove,n.onmousemove=this.ontouchmove),d.createelement(this.props.component,n,a)}}]),t}(d.component);be.proptypes={children:y().any,style:y().object,classname:y().string,prefixcls:y().string,component:y().any,arrow:y().bool,thumb:y().bool,initshow:y().number,type:y().any,duration:y().number,delay:y().number,ease:y().string,autoplay:y().bool,autoplayspeed:y().number,autoplayeffect:y().bool,onchange:y().func,onmouseenter:y().func,onmouseleave:y().func,sync:y().bool,dragplay:y().bool},be.defaultprops={component:"div",classname:"banner-anim",initshow:0,duration:450,delay:0,ease:"easeinoutquad",arrow:!0,thumb:!0,autoplayspeed:5e3,autoplayeffect:!0,dragplay:!0,onchange:function(){},onmouseenter:function(){},onmouseleave:function(){}},be.isbanneranim=!0;var te=be,ke=function(e){function t(e){(0,u.default)(this,t);var n=(0,c.default)(this,(t.__proto__||object.getprototypeof(t)).call(this,e));return n.onscroll=function(){var e=he(),t=n.dom.parentnode.getboundingclientrect(),a=t.top+e,r=math.max(t.height,window.innerheight||document.documentelement.clientheight||document.body.clientheight),o=(e-a+r)/(r+t.height);o=(o=o||0)>=1?1:o,n.tween.frame(o*n.scrollparallaxduration)},n.onresize=function(){if(n.props.show){var e=n.dom.getboundingclientrect(),t=n.video.getboundingclientrect();n.videoload=!0;var a=void 0,r={display:"block",position:"relative",top:0,left:0};e.width/e.height>t.width/t.height?(a=e.width/t.width,r.width=e.width,r.height=t.height*a,r.top=-(r.height-e.height)/2):(a=e.height/t.height,r.height=e.height,r.width=t.width*a,r.left=-(r.width-e.width)/2),object.keys(r).foreach((function(e){n.video.style[e]=(0,p.yj)(e,r[e])}))}},n.videoloadeddata=function(){n.onresize(),window.addeventlistener?window.addeventlistener("resize",n.onresize):window.attachevent("onresize",n.onresize)},n.isvideo=fe(e.children).some((function(e){return"video"===e.type})),n.isvideo&&(delete we.grid,delete we.gridbar),e.scrollparallax&&(n.scrollparallaxduration=e.scrollparallax.duration||450),n.video=null,n.videoload=!1,n.state={$self:n},n}return(0,f.default)(t,e),(0,p.default)(t,null,[{key:"getderivedstatefromprops",value:function(e,t){var n=t.prevprops,a=t.$self,r={prevprops:e};return n&&e!==n&&e.show&&settimeout((function(){a.video&&n.videoresize&&a.videoload&&a.onresize(),n.scrollparallax&&a.onscroll()})),r}}]),(0,p.default)(t,[{key:"componentdidmount",value:function(){this.dom=m.finddomnode(this),this.videoload||this.video&&this.props.videoresize&&(this.video.onloadeddata=this.videoloadeddata),this.props.scrollparallax&&(this.tween=new ue(this.dom,[(0,l.default)({ease:"linear"},this.props.scrollparallax)]),this.tween.init(),this.onscroll(),window.addeventlistener?window.addeventlistener("scroll",this.onscroll):window.attachevent("onscroll",this.onscroll))}},{key:"componentwillunmount",value:function(){window.addeventlistener?(window.removeeventlistener("resize",this.onresize),window.removeeventlistener("scroll",this.onscroll)):(window.detachevent("onresize",this.onresize),window.detachevent("onscroll",this.onscroll))}},{key:"render",value:function(){var e=this,t=this.props,n=t.videoresize,a=(t.scrollparallax,t.show,t.component,t.componentprops),r=(0,s.default)(t,["videoresize","scrollparallax","show","component","componentprops"]);if(this.isvideo&&n){var o=fe(r.children).map((function(t,n){return d.cloneelement(t,(0,l.default)({},t.props,{key:t.key||"bg-video-"+n,ref:function(n){e.video=n,"function"===typeof t.ref&&t.ref(n)}}))}));r.children=1===o.length?o[0]:o}return d.createelement(this.props.component,(0,l.default)({},r,a))}}]),t}(d.component),se=ke;function ee(){}ke.proptypes={classname:y().string,style:y().object,children:y().any,component:y().any,videoresize:y().bool,scrollparallax:y().object,show:y().bool,componentprops:y().object},ke.defaultprops={component:"div",videoresize:!0,componentprops:{}},ke.isbanneranimbgelement=!0;var me=function(e){function t(e){(0,u.default)(this,t);var n=(0,c.default)(this,(t.__proto__||object.getprototypeof(t)).call(this,e));return xe.call(n),n.state={show:e.show,$self:n},n.tickerid=-1,n.entermouse=null,n.delaytimeout=null,n.followparallax=e.followparallax,n.transform=(0,p.yf)("transform"),n}return(0,f.default)(t,e),(0,p.default)(t,null,[{key:"getderivedstatefromprops",value:function(e,t){var n=t.prevprops,a=t.$self,r=t.show,o=t.mousemovetype,i={prevprops:e};if(n&&e!==n){-1!==a.tickerid&&(le.clear(a.tickerid),a.tickerid=-1);var s=e.followparallax;a.followparallax&&!s?a.refollowparallax():a.followparallax=s,(r||e.show||o)&&(i.mousemovetype=e.mousemovetype)}return i}}]),(0,p.default)(t,[{key:"componentdidmount",value:function(){this.dom=m.finddomnode(this)}},{key:"componentdidupdate",value:function(){this.followparallax&&(this.doms=this.followparallax.data.map((function(e){return document.getelementbyid(e.id)})))}},{key:"componentwillunmount",value:function(){le.clear(this.timeoutid),le.clear(this.delaytimeout),this.delaytimeout=-1,this.timeoutid=-1}},{key:"render",value:function(){var e=this.props,t=e.prefixcls,n=(e.callback,e.animtype,e.duration,e.delay,e.ease,e.elemoffset,e.followparallax),a=e.show,r=(e.type,e.direction,e.leavechildhide,e.sync,e.ratio,e.mousemovetype),o=e.children,i=e.style,u=e.componentprops,c=(0,s.default)(e,["prefixcls","callback","animtype","duration","delay","ease","elemoffset","followparallax","show","type","direction","leavechildhide","sync","ratio","mousemovetype","children","style","componentprops"]),p=this.state,f=p.show,m=p.mousemovetype,h=(0,l.default)({},i);h.display=a?"block":"none",h.position="absolute",h.width="100%","end"!==r&&(h[this.transform]=""),c.style=h,c.classname=("banner-anim-elem "+(t||"")).trim();var y=fe(o).filter((function(e){return e&&e.type.isbanneranimbgelement})).map((function(e){return d.cloneelement(e,{show:c.show})}));if(f===a&&!m||"rechild"===m)return c.animation={x:0,y:0,type:"set"},a?(n&&(c.onmousemove=this.getfollowmousemove()),d.createelement(se,c,"update"===r?y:this.getchildren())):(this.entermouse=null,d.createelement(se,c,y));var v=(0,l.default)({},c,u);return this.animchildren(v,h,y)}}]),t}(d.component),xe=function(){var e=this;this.onmousemove=function(t){e.domrect=e.dom.getboundingclientrect(),e.entermouse=e.entermouse||{x:e.domrect.width/2,y:e.domrect.height/2},e.domwh={w:e.domrect.width,h:e.domrect.height},e.offsettop=e.domrect.top+he(),e.offsetleft=e.domrect.left+(window.pagexoffset||document.body.scrollleft||document.documentelement.scrollleft);var n={x:t.pagex-e.offsetleft,y:t.pagey-e.offsettop};e.setticker(e.followparallax,n)},this.setticker=function(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ee;le.clear(e.tickerid),e.tickerid="bannerelementticker"+(date.now()+math.random());var r=le.frame,o=e.entermouse.x,i=e.entermouse.y,s=t.duration||450,l=c()[t.ease||"easeoutquad"],u="number"===typeof t.minmove?t.minmove:.08;le.wake(e.tickerid,(function(){var t=(le.frame-r)*le.perframe,c=l(t,u,1,s);e.entermouse.x=o+(n.x-o)*c,e.entermouse.y=i+(n.y-i)*c,e.setfollowstyle(e.domwh),t>=s&&(le.clear(e.tickerid),a())}))},this.getfollowmousemove=function(){var t=void 0;return e.followparallax&&(e.followparallax.delay?(t=e.delaytimeout?e.state.onmousemove:null,e.delaytimeout=e.delaytimeout||le.timeout((function(){e.setstate({onmousemove:e.onmousemove})}),e.followparallax.delay)):t=e.onmousemove),t},this.getfollowstyle=function(t,n){var a={};return de(t.type).foreach((function(r){var o=e.entermouse.x,i=n.w,s=t.value;(r.indexof("y")>=0||r.indexof("y")>=0)&&"opacity"!==r&&(o=e.entermouse.y,i=n.h);var l=(o-i/2)/(i/2)*s,u=(0,p.lo)(r),c=(0,p.dt)(u);if("transform"===c){var p=(0,p.yf)("transform");a[p]=a[p]||{},a[p][u]=(0,p.yj)(u,l).trim()}else if("filter"===c){var f=(0,p.yf)("filter");a[f]=a[f]||{},a[f][u]=(0,p.yj)(u,l).trim()}else a[c]=(0,p.yj)(u,l).trim()})),a},this.setfollowstyle=function(t){e.doms.foreach((function(n,a){if(n){var r=e.followparallax.data[a],o=e.getfollowstyle(r,t);object.keys(o).foreach((function(e){if("object"===typeof o[e]){var t="";return object.keys(o[e]).foreach((function(n){t+=(" "+n+"("+o[e][n]+")").trim()})),void(n.style[e]=t)}n.style[e]=e.indexof("backgroundposition")>=0?"calc("+(r.bgposition||"0%")+" + "+o[e]+" )":o[e]}))}}))},this.getchildren=function(){return fe(e.props.children).map((function(t,n){return t&&t.type===se?d.cloneelement(t,{show:e.state.show}):e.usetagcomp?me(t,n):t}))},this.refollowparallax=function(){e.domrect&&e.setticker(e.followparallax,{x:e.domrect.width/2-e.offsetleft,y:e.domrect.height/2-e.offsettop},(function(){e.followparallax=null}))},this.animend=function(){var t=e.state.show?"enter":"leave";e.props.callback(t),e.setstate((function(e,t){return{show:t.show,mousemovetype:null}}))},this.animchildren=function(t,n,a){var r=e.props,o=r.elemoffset,i=r.leavechildhide,l=r.ratio,u=r.animtype,c=r.direction,p=r.mousemovetype,f=r.ease,m=r.duration,h=r.delay,y=r.show,v=r.sync,g=r.component;e.tickerid&&le.clear(e.tickerid),e.delaytimeout&&(le.clear(e.delaytimeout),e.delaytimeout=null),n.display="block",t.component=g,n.zindex=y?1:0;var w=y?"enter":"leave";e.usetagcomp=(u===we.gridbar||u===we.grid)&&(y===e.state.show||e.state.show&&!y),t.children=!v&&(y&&y!==e.state.show||!y&&!e.state.show)?a:e.getchildren();var b="end"===p&&l<=.3?1-l:l,t=u(d.createelement(se,t),w,c,{ease:f,duration:m,delay:h,oncomplete:e.animend},o,i,b,"update"===e.state.mousemovetype),k=(0,s.default)(t.props,[]);return k.animation&&(k.moment=(k.animation.duration+k.animation.delay)*b||0,k.paused="update"===e.state.mousemovetype||1===b),d.cloneelement(t,k)}};me.proptypes={children:y().any,style:y().object,prefixcls:y().string,component:y().any,elemoffset:y().object,type:y().string,animtype:y().func,ease:y().string,duration:y().number,delay:y().number,direction:y().string,callback:y().func,followparallax:y().any,show:y().bool,leavechildhide:y().bool,sync:y().bool,ratio:y().number,mousemovetype:y().string,componentprops:y().object},me.defaultprops={component:"div",componentprops:{},callback:ee,delay:0},me.bgelement=i(se),me.isbanneranimelement=!0;var de=i(me);te.arrow=pe,te.element=de,te.thumb=ge,te.animtype=we,te.setanimcomptotagcomp=me,te.switchchildren=ye;var pe=i(te)},52191:function(e,t){"use strict";t.dm=function(e){return e.replace(/[a-z]/,(function(e){return"-"+e.tolocalelowercase()}))},t.fh=p,t.wz=function(e){if("undefined"===typeof document)return null;var t=["webkitcss","mozcss","dom","mscss","mscss","ocss","css"].filter((function(e){return e+"matrix"in window}));if(t.length)return new window[t[0]+"matrix"](e);return console.warn("browsers do not support matrix."),""},t.yf=function(e){if("undefined"===typeof document)return null;if("filter"!==e&&e in document.body.style)return e;var t=e.charat(0).touppercase()+e.substr(1),n=["o","moz","ms","ms","webkit"].filter((function(e){return""+e+t in document.body.style}));return n[0]?""+n[0]+t:null},t.lo=function(e){var t=e;return t="z"===(t="y"===(t="x"===t?"translatex":t)?"translatey":t)?"translatez":t},t.lu=f,t.hy=function(e){if(!e)return[0,0,0,0,0,0,0];var t=e.replace(/,\s+/gi,",").split(/\s+/).filter((function(e){return e})),n=t.indexof("inset");n>=0&&t.splice(n,1);var a=t.find((function(e){return i[e]||e.match(/#([0-9a-fa-f]{6}|[0-9a-fa-f]{3})|(rgb|hsl)+(?:a)?\((.*)\)/i)}))||"black",r=t.indexof(a);t.splice(r,1);var o=f(a);return o[3]="number"===typeof o[3]?o[3]:1,t.concat(o,n>=0?["inset"]:[])},t.lq=function(e){var t=4===e.length?"rgba":"rgb",n=e.map((function(e,t){return t<3?math.round(e):e}));return t+"("+n.join(",")+")"},t.tk=d,t.dt=function(e){var t=d(e);return c.filter.indexof(t)>=0?"filter":t},t.gx=function(e){if("none"===e||!e||""===e)return null;var t=e.replace(" ","").split(")").filter((function(e){return e})),n={};return t.foreach((function(e){var t=e.split("(");n[t[0]]=t[1]})),n},t.ck=function(e){var t=e&&"none"!==e&&""!==e?e:"matrix(1, 0, 0, 1, 0, 0)";if(!t.match("matrix"))return function(e){var t={translatex:0,translatey:0,translatez:0,rotate:0,rotatex:0,rotatey:0,scalex:1,scaley:1,scalez:1,skewx:0,skewy:0,perspective:0};return(e.trim().match(/(\w+)\([^\)]+\)/gi)||[]).foreach((function(e){var n=e.split("("),a=n[0].trim(),r=n[1].replace(")","").trim();r.match(/%|em|rem/gi)&&console.warn("value("+r+") must be absolute, not relative, has been converted to absolute."),r=r.replace(/px|deg|\)/gi,""),c.transformgroup[a]&&"rotate"!==a?(r=r.split(",").map((function(e){return parsefloat(e)})),"scale3d"===a||"translate3d"===a?["x","y","z"].foreach((function(e,n){var o=a.substring(0,a.length-2);t[""+o+e]=r[n]||t[""+o+e]})):"rotate3d"===a?(t.rotatex=r[0]&&r[3]||t.rotatex,t.rotatey=r[1]&&r[3]||t.rotatey,t.rotate=r[2]&&r[3]||t.rotate):["x","y"].foreach((function(e,n){t[""+a+e]=r[n]||t[""+a+e]}))):"rotatez"===a?t.rotate=parsefloat(r)||t.rotate:t[a]=parsefloat(r)||t[a]})),t}(e);var n=m(t),a=n.m11,r=n.m12,o=n.m13,i=n.m14,s=n.m21,u=n.m22,f=n.m23,d=n.m24,h=n.m31,y=n.m32,v=n.m33,g=n.m34,w=n.m43,b=void 0,t=void 0,k=void 0,s={},e=math.atan2(f,v),m=math.tan(s),x=math.tan(r),d=void 0,p=void 0;s.rotatex=p(e*l)||0,e&&(d=math.cos(-e),p=math.sin(-e),b=s*d+h*p,t=u*d+y*p,k=f*d+v*p,h=s*-p+h*d,y=u*-p+y*d,v=f*-p+v*d,g=d*-p+g*d,s=b,u=t,f=k);e=math.atan2(-o,v),s.rotatey=p(e*l)||0,e&&(d=math.cos(-e),p=math.sin(-e),t=r*d-y*p,k=o*d-v*p,y=r*p+y*d,v=o*p+v*d,g=i*p+g*d,a=b=a*d-h*p,r=t,o=k);e=math.atan2(r,a),s.rotate=p(e*l)||0,e&&(d=math.cos(e),p=math.sin(e),b=a*d+r*p,t=s*d+u*p,k=h*d+y*p,r=r*d-a*p,u=u*d-s*p,y=y*d-h*p,a=b,s=t,h=k);s.rotatex&&math.abs(s.rotatex)+math.abs(s.rotate)>359.9&&(s.rotatex=s.rotate=0,s.rotatey=180-s.rotatey||0);return s.scalex=p(math.sqrt(a*a+r*r+o*o)),s.scaley=p(math.sqrt(u*u+f*f)),s.scalez=p(math.sqrt(h*h+y*y+v*v)),s.skewx=m===-x?0:m,s.skewy=x===-m?0:x,s.perspective=g?1/(g<0?-g:g):0,s.translatex=n.m41,s.translatey=n.m42,s.translatez=w,s},t.yj=function(e,t){var a=void 0;n[e]||"number"!==typeof t?"content"!==e||r.test(t)||(a="'"+t.replace(/'/g,"\\'")+"'"):a=" "+t+"px";return a||t};var n={animationiterationcount:!0,borderimageoutset:!0,borderimageslice:!0,borderimagewidth:!0,boxflex:!0,boxflexgroup:!0,boxordinalgroup:!0,columncount:!0,flex:!0,flexgrow:!0,flexpositive:!0,flexshrink:!0,flexnegative:!0,flexorder:!0,gridrow:!0,gridcolumn:!0,fontweight:!0,lineclamp:!0,lineheight:!0,opacity:!0,order:!0,orphans:!0,tabsize:!0,widows:!0,zindex:!0,zoom:!0,fillopacity:!0,floodopacity:!0,stopopacity:!0,strokedasharray:!0,strokedashoffset:!0,strokemiterlimit:!0,strokeopacity:!0,strokewidth:!0},a=["webkit","ms","moz","o"];object.keys(n).foreach((function(e){a.foreach((function(t){n[function(e,t){return e+t.charat(0).touppercase()+t.substring(1)}(t,e)]=n[e]}))}));var r=/^(normal|none|(\b(url\([^)]*\)|chapter_counter|attr\([^)]*\)|(no-)?(open|close)-quote|inherit)((\b\s*)|$|\s+))+)$/,o="undefined"!==typeof document&&!(!navigator||!(navigator.useragent.indexof("msie 8.0")>0||navigator.useragent.indexof("msie 9.0")>0)),i={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},s=function(e,t,n){var a=e>1?e-1:e;return 255*(6*(a=e<0?e+1:a)<1?t+(n-t)*a*6:a<.5?n:3*a<2?t+(n-t)*(2/3-a)*6:t)+.5|0},l=(math.pi,180/math.pi),u={_lists:{transformsbase:["translate","translatex","translatey","scale","scalex","scaley","skewx","skewy","rotatez","rotate"],transforms3d:["translate3d","translatez","scalez","rotatex","rotatey","perspective"]},transformgroup:{translate:1,translate3d:1,scale:1,scale3d:1,rotate:1,rotate3d:1,skew:1},filter:["grayscale","sepia","huerotate","invert","brightness","contrast","blur"],filterconvert:{grayscale:"grayscale",huerotate:"hue-rotate"}};u._lists.transformsbase=o?u._lists.transformsbase:u._lists.transformsbase.concat(u._lists.transforms3d);var c=t._t=u;function p(e,t){var n=t?math.pow(10,t):1e5,a=0|e,r=e-a,o=e;if(r){var i=(r*n+(e<0?-.5:.5)|0)/n,s=0|i;o=(e<0&&!(a+s)?"-":"")+(a+s)+"."+(i.tostring().split(".")[1]||"")}return parsefloat(o)}function f(e){var t=void 0,n=void 0,a=void 0,r=void 0,o=void 0,l=void 0,u=void 0,c=e,p=/(?:\d|\-\d|\.\d|\-\.\d)+/g;return c?"number"===typeof c?t=[c>>16,c>>8&255,255&c]:(","===c.charat(c.length-1)&&(c=c.substr(0,c.length-1)),i[c]?t=i[c]:"#"===c.charat(0)?(4===c.length&&(n=c.charat(1),a=c.charat(2),r=c.charat(3),c="#"+n+n+a+a+r+r),t=[(c=parseint(c.substr(1),16))>>16,c>>8&255,255&c]):"hsl"===c.substr(0,3)?(t=c.match(p),o=number(t[0])%360/360,l=number(t[1])/100,n=2*(u=number(t[2])/100)-(a=u<=.5?u*(l+1):u+l-u*l),t.length>3&&(t[3]=number(t[3])),t[0]=s(o+1/3,n,a),t[1]=s(o,n,a),t[2]=s(o-1/3,n,a)):t=c.match(p)||i.transparent,t[0]=number(t[0]),t[1]=number(t[1]),t[2]=number(t[2]),t.length>3&&(t[3]=number(t[3]))):t=i.black,t}function d(e){return c._lists.transformsbase.indexof(e)>=0?"transform":e}function m(e){var t=e.match(/(?:\-|\b)[\d\-\.e]+\b/gi),n={};return 6===t.length?(n.m11=parsefloat(t[0]),n.m12=parsefloat(t[1]),n.m13=0,n.m14=0,n.m21=parsefloat(t[2]),n.m22=parsefloat(t[3]),n.m23=0,n.m24=0,n.m31=0,n.m32=0,n.m33=1,n.m34=0,n.m41=parsefloat(t[4]),n.m42=parsefloat(t[5]),n.m43=0,n.m44=0):t.foreach((function(e,t){var a=t%4+1,r=math.floor(t/4)+1;n["m"+r+a]=parsefloat(e)})),n}function h(e,t){var n=null;return e&&e.foreach((function(e){if(!n){var a=e.split("(")[0],r=a in c.transformgroup&&t.substring(0,t.length-1).indexof(a)>=0,o=t in c.transformgroup&&a.substring(0,a.length-1).indexof(t)>=0,i=a in c.transformgroup&&t in c.transformgroup&&(a.substring(0,a.length-2)===t||t.substring(0,t.length-2)===a);(a===t||r||o||i)&&(n=e)}})),n}},41e3:function(e){"use strict";var t={linear:function(e,t,n,a){return(n-t)*e/a+t},easeinquad:function(e,t,n,a){return(n-t)*(e/=a)*e+t},easeoutquad:function(e,t,n,a){return-(n-t)*(e/=a)*(e-2)+t},easeinoutquad:function(e,t,n,a){var r=n-t;return(e/=a/2)<1?r/2*e*e+t:-r/2*(--e*(e-2)-1)+t},easeincubic:function(e,t,n,a){return(n-t)*(e/=a)*e*e+t},easeoutcubic:function(e,t,n,a){return(n-t)*((e=e/a-1)*e*e+1)+t},easeinoutcubic:function(e,t,n,a){var r=n-t;return(e/=a/2)<1?r/2*e*e*e+t:r/2*((e-=2)*e*e+2)+t},easeinquart:function(e,t,n,a){return(n-t)*(e/=a)*e*e*e+t},easeoutquart:function(e,t,n,a){return-(n-t)*((e=e/a-1)*e*e*e-1)+t},easeinoutquart:function(e,t,n,a){var r=n-t;return(e/=a/2)<1?r/2*e*e*e*e+t:-r/2*((e-=2)*e*e*e-2)+t},easeinquint:function(e,t,n,a){return(n-t)*(e/=a)*e*e*e*e+t},easeoutquint:function(e,t,n,a){return(n-t)*((e=e/a-1)*e*e*e*e+1)+t},easeinoutquint:function(e,t,n,a){var r=n-t;return(e/=a/2)<1?r/2*e*e*e*e*e+t:r/2*((e-=2)*e*e*e*e+2)+t},easeinsine:function(e,t,n,a){var r=n-t;return-r*math.cos(e/a*(math.pi/2))+r+t},easeoutsine:function(e,t,n,a){return(n-t)*math.sin(e/a*(math.pi/2))+t},easeinoutsine:function(e,t,n,a){return-(n-t)/2*(math.cos(math.pi*e/a)-1)+t},easeinexpo:function(e,t,n,a){return 0==e?t:(n-t)*math.pow(2,10*(e/a-1))+t},easeoutexpo:function(e,t,n,a){var r=n-t;return e==a?t+r:r*(1-math.pow(2,-10*e/a))+t},easeinoutexpo:function(e,t,n,a){var r=n-t;return 0===e?t:e===a?t+r:(e/=a/2)<1?r/2*math.pow(2,10*(e-1))+t:r/2*(2-math.pow(2,-10*--e))+t},easeincirc:function(e,t,n,a){return-(n-t)*(math.sqrt(1-(e/=a)*e)-1)+t},easeoutcirc:function(e,t,n,a){return(n-t)*math.sqrt(1-(e=e/a-1)*e)+t},easeinoutcirc:function(e,t,n,a){var r=n-t;return(e/=a/2)<1?-r/2*(math.sqrt(1-e*e)-1)+t:r/2*(math.sqrt(1-(e-=2)*e)+1)+t},easeinelastic:function(e,t,n,a){var r,o,i,s=n-t;return i=1.70158,0===e?t:1===(e/=a)?t+s:((o=0)||(o=.3*a),(r=s)