PageSourceSearch

https://www.livoxtech.com/assets/_next/static/n5j2BtGkzbZJB5XiTsJni/pages/page.js

js livoxtech.com collected 2026-10-02 07:48:18 UTC 1,135,665 bytes, 9 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{1002:function(e,t,n){__NEXT_REGISTER_PAGE("/page",function(){return e.exports=n(1003),{page:e.exports.default}})},1003:function(e,t,n){"use strict";n.r(t);var i=n(19),r=n.n(i),a=n(0),o=n.n(a),l=(n(1),n(18)),s=n(394),c=n(46),u=n(81),d=n(340),p=n(290),f=n(291);function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t,n,i,r,a,o){try{var l=e[a](o),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(i,r)}function h(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function b(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),b(this,y(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(t,o.a.Component),n=t,i=[{key:"render",value:function(){var e=this.props,t=e.page,n=e.context.mobileMode;if(t.loadingState===c.a.SUCCESS){var i=t.data,r=i.pc_components,a=i.mobile_components,l=i.need_nav_bar,u=i.need_footer;return o.a.createElement(s.a,{sections:{components:n?a:r},components:n?f.default:p.default,mobileMode:n,useHeader:l,useFooter:u})}return t.loadingState===c.a.FAILURE?o.a.createElement(d.default,{statusCode:t.error.status}):""}}],a=[{key:"getInitialProps",value:function(){var e,t=(e=r.a.mark(function e(t){var n,i;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.store,i=t.asPath,/^\//.test(i)&&(i=i.substring(1,i.length)),""===(i=i.split("?")[0].split("#")[0])&&(i="index"),e.next=7,n.dispatch(u.b(t.state.pageData));case 7:return e.abrupt("return",{asPath:i});case 8:case"end":return e.stop()}},e)}),function(){var t=this,n=arguments;return new Promise(function(i,r){var a=e.apply(t,n);function o(e){_(a,i,r,o,l,"next",e)}function l(e){_(a,i,r,o,l,"throw",e)}o(void 0)})});return function(e){return t.apply(this,arguments)}}()}],i&&h(n.prototype,i),a&&h(n,a),t}();t.default=Object(l.b)(function(e){return{page:e.page,context:e.context}})(g)},105:function(e,t,n){n(79),n(106),e.exports=n(20).Array.from},106:function(e,t,n){"use strict";var i=n(43),r=n(27),a=n(72),o=n(203),l=n(204),s=n(98),c=n(107),u=n(104);r(r.S+r.F*!n(205)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,r,d,p=a(e),f="function"==typeof this?this:Array,m=arguments.length,_=m>1?arguments[1]:void 0,h=void 0!==_,b=0,y=u(p);if(h&&(_=i(_,m>2?arguments[2]:void 0,2)),null==y||f==Array&&l(y))for(n=new f(t=s(p.length));t>b;b++)c(n,b,h?_(p[b],b):p[b]);else for(d=y.call(p),n=new f;!(r=d.next()).done;b++)c(n,b,h?o(d,_,[r.value,b],!0):r.value);return n.length=b,n}})},107:function(e,t,n){"use strict";var i=n(66),r=n(200);e.exports=function(e,t,n){t in e?i.f(e,t,r(0,n)):e[t]=n}},108:function(e,t,n){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=((i=n(0))&&i.__esModule?i:{default:i}).default.createContext(null);t.default=r},109:function(e,t,n){"use strict";var i=n(5),r=n.n(i),a=n(0),o=n.n(a),l=(n(1),n(6)),s=n.n(l),c=n(2),u=n(8),d=n(3);n(353);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var f={"./index.css":{"nav-wrapper":"index__nav-wrapper___1G0Vf",f
1ixed:"index__fixed___2kMUl","nav-container":"index__nav-container___156OW","product-name":"index__product-name___2eXhP","product-link":"index__product-link___2-yES","nav-list":"index__nav-list___1b41j","nav-item":"index__nav-item___2DGtN","nav-item-link":"index__nav-item-link___eloBh","nav-item-link-btn":"index__nav-item-link-btn___3-bg0","link-btn":"index__link-btn___2EjAW","modal-btns":"index__modal-btns___3f3ci","modal-default-btn":"index__modal-default-btn___2I2jB","modal-primary-btn":"index__modal-primary-btn___2b0b9","nav-item-btn":"index__nav-item-btn___iArqc",modal:"index__modal___1komz","modal-title":"index__modal-title___12Eii","modal-body":"index__modal-body___2I0SD","modal-desc":"index__modal-desc___1W93D","modal-container":"index__modal-container___cLbe5","dark-section":"index__dark-section___Fsrvr","light-section":"index__light-section___2N4S-"}};function m(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=_(t).call(this,e))||"object"!==p(r)&&"function"!=typeof r?h(i):r).state={initModal:!1,fixedTop:!1,modalVisible:!1,modalTitle:"This product is sold by DJI based on the authorization of Livox.",modalDesc:"I agree to the non - resale, non - reverse sale clause.",modalBtnA:"Contact us",modalBtnALink:"/",modalBtnB:"Purchase from DJI",modalBtnBLink:"/"},n.bindScroll=n.bindScroll.bind(h(n)),n.showModal=n.showModal.bind(h(n)),n.closeModal=n.closeModal.bind(h(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.bindScroll),this.setState({initModal:!0})}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.bindScroll)}},{key:"bindScroll",value:function(){var e=this.state.fixedTop,t=Math.max(document.documentElement.scrollTop,document.body.scrollTop);!e&&t>64?this.setState({fixedTop:!0}):e&&t<=64&&this.setState({fixedTop:!1})}},{key:"showModal",value:function(e){this.setState({modalVisible:!0,modalTitle:e.modalTitle,modalDesc:e.modalDesc,modalBtnA:e.modalBtnA,modalBtnALink:e.modalBtnALink,modalBtnB:e.modalBtnB,modalBtnBLink:e.modalBtnBLink})}},{key:"closeModal",value:function(){this.setState({modalVisible:!1})}},{key:"render",value:function(){var e,t=this.props,n=t.component_data,i=void 0===n?{}:n,a=t.t,l=this.state,d=l.fixedTop,p=l.modalVisible,m=l.modalTitle,_=l.modalDesc,h=l.modalBtnA,b=l.modalBtnALink,y=l.modalBtnB,v=l.modalBtnBLink,g=l.initModal,w=s()({fixed:d,"nav-wrapper":!0,"dark-section":i&&"dark"===i.theme,"light-section":i&&"light"===i.theme}),x=this;return o.a.createElement("nav",{className:r()(w,f)},o.a.createElement("div",{className:"index__nav-container___156OW"},o.a.createElement("h2",{className:"index__product-name___2eXhP"},o.a.createElement(u.a,{href:i.link,className:"product-link index__product-link___2-yES"},a(i.name))),o.a.createElement("ul",{className:"index__nav-list___1b41j"},(e=i.navItem,Array.isArray(e)?e&&e.length>0&&e.map(function(e){return o.a.createElement("li",{className:"index__nav-item___2DGtN",key:e.name},o.a.createElement(u.a,{href:e.link,className:"nav-item-link index__nav-item-link___eloBh"},a(e.name)))}):null),function(e){return Array.isArray(e)?e.map(function(e){return o.a.createElement("li",{className:"index__nav-item___2DGtN",key:e.name},e.link?o.a.createElement(u.a,{href:e.link,className:"nav-item-link-btn index__nav-item-link-btn___3-bg0"},o.a.createElement(c.Button,{type:"primary",className:"index__nav-item-btn___iArqc"},a(e.name))):o.a.createElement(c.Button,{type:"primary",className:"index__nav-item-btn___iArqc",onClick:function(){return x.showModal(e)}},a(e.name)))}):null}(i.primaryBtns))),g?o.a.createElement(c.Modal,{visible:p,onCancel:this.closeModal,onClose:this.closeModal,footer:null},o.a.createElement("div",{className:"index__modal-container___cLbe5"},o.a.createElement("p",{className:"index__modal-title___12Eii"},a(m)),o.a.createElement("div",{className:"index__modal-body___2I0SD"},o.a.createElement("p",{className:"index__modal-desc___1W93D",dangerouslySetInnerHTML:{__html:a(_)}})),o.a.createElement("div",{className:"index__modal-btns___3f3ci"},o.a.createElement(u.a,{href:b,className:"link-btn index__link-btn___2EjAW"},o.a.createElement(c.Button,{className:"index__modal-default-btn___2I2jB"},a(h))),o.a.createElement(u.a,{href:v,className:"link-btn index__link-btn___2EjAW"},o.a.createElement(c.Button,{className:"index__modal-primary-btn___2b0b9"},a(y)))))):null)}}
1])&&m(n.prototype,i),a&&m(n,a),t}();y(v,"editSetting",{key:"productNav",name:"productNav",component_data:{theme:{label:"section 背景颜色(dark/light)",type:"string"},link:{label:"product link",type:"string"},name:{type:"i18n",label:"product name"},navItem:{label:"导航item",type:"array",items:{type:"object",name:{type:"i18n",label:"name"},link:{type:"string",label:"link"}}},primaryBtns:{label:"primaryBtns",type:"array",items:{type:"object",name:{type:"i18n",label:"name"},link:{type:"string",label:"link(填的话直接跳转,不弹窗)"},modalTitle:{type:"i18n",label:"弹窗标题"},modalDesc:{type:"i18n",label:"弹窗描述"},modalBtnA:{type:"i18n",label:"弹窗按钮A文案"},modalBtnALink:{type:"string",label:"弹窗按钮A链接"},modalBtnB:{type:"i18n",label:"弹窗按钮B文案"},modalBtnBLink:{type:"string",label:"弹窗按钮B链接"}}}}}),y(v,"defaultProps",{t:function(){},component_data:{title:"产品名",theme:"dark",navItem:[{name:"specs",link:"#specs"},{name:"FAQ",link:"#faq"}],primaryBtns:[{name:"Buy Now",link:"/",modalTitle:"This product is sold by DJI based on the authorization of Livox.",modalDesc:"I agree to the non - resale, non - reverse sale clause.",modalBtnA:"Contact us",modalBtnALink:"/",modalBtnB:"Purchase from DJI",modalBtnBLink:"/"}],link:"/",name:"产品名"}}),t.a=Object(d.a)(v)},11:function(e,t,n){var i,r,a,o,l,s,c,u,d,p,f,m;"undefined"!=typeof self&&self,e.exports=(i=n(0),r=n(1),a=n(6),o=n(260),l=n(29),s=n(244),c=n(185),u=n(186),d=n(261),p=n(69),f=n(245),m=n(262),function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=246)}([function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(7)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var i=n(5),r=n(32),a=n(21),o=Object.defineProperty;t.f=n(2)?Object.defineProperty:function(e,t,n){if(i(e),t=a(t,!0),i(n),r)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var i=n(3);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var i=n(35),r=n(31);e.exports=function(e){return i(r(e))}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var i=n(0),r=n(1),a=n(27),o=n(18),l="prototype",s=function(e,t,n){var c,u,d,p=e&s.F,f=e&s.G,m=e&s.S,_=e&s.P,h=e&s.B,b=e&s.W,y=f?r:r[t]||(r[t]={}),v=y[l],g=f?i:m?i[t]:(i[t]||{})[l];for(c in f&&(n=t),n)(u=!p&&g&&void 0!==g[c])&&c in y||(d=u?g[c]:n[c],y[c]=f&&"function"!=typeof g[c]?n[
vendor: 6,477 bytes, line 1
1c]:h&&u?a(d,i):b&&g[c]==d?function(e){var t=function(t,n,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return e.apply(this,arguments)};return t[l]=e[l],t}(d):_&&"function"==typeof d?a(Function.call,d):d,_&&((y.virtual||(y.virtual={}))[c]=d,e&s.R&&v&&!v[c]&&o(v,c,d)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){e.exports=i},function(e,t,n){var i=n(36),r=n(22);e.exports=Object.keys||function(e){return i(e,r)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){e.exports={default:n(48),__esModule:!0}},function(e,t,n){e.exports={default:n(50),__esModule:!0}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,n){e.exports={default:n(57),__esModule:!0}},function(e,t){e.exports=r},function(e,t,n){var i=n(4),r=n(20);e.exports=n(2)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(23)("wks"),r=n(15),a=n(0).Symbol,o="function"==typeof a;(e.exports=function(e){return i[e]||(i[e]=o&&a[e]||(o?a:r)("Symbol."+e))}).store=i},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var i=n(3);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var i=n(0),r="__core-js_shared__",a=i[r]||(i[r]={});e.exports=function(e){return a[e]||(a[e]={})}},function(e,t,n){e.exports={default:n(60),__esModule:!0}},function(e,t){e.exports=a},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var i=n(41);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,n){var i=n(23)("keys"),r=n(15);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t,n){var i=n(3),r=n(0).document,a=i(r)&&i(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){e.exports=!n(2)&&!n(7)(function(){return 7!=Object.defineProperty(n(30)("div"),"a",{get:function(){return 7}}).a})},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(5),r=n(47),a=n(22),o=n(29)("IE_PROTO"),l=function(){},s="prototype",c=function(){var e,t=n(30)("iframe"),i=a.length;for(t.style.display="none",n(44).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;i--;)delete c[s][a[i]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(l[s]=i(e),n=new l,l[s]=null,n[o]=e):n=c(),void 0===t?n:r(n,t)}},function(e,t,n){var i=n(33);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t,n){var i=n(8),r=n(6),a=n(45)(!1),o=n(29)("IE_PROTO");e.exports=function(e,t){var n,l=r(e),s=0,c=[];for(n in l)n!=o&&i(l,n)&&c.push(n);for(;t.length>s;)i(l,n=t[s++])&&(~a(c,n)||c.push(n));return c}},function(e,t,n){var i=n(12),r=n(20),a=n(6),o=n(21),l=n(8),s=n(32),c=Object.getOwnPropertyDescriptor;t.f=n(2)?c:function(e,t){if(e=a(e),t=o(t,!0),s)try{return c(e,t)}catch(e){}if(l(e,t))return r(!i.f.call(e,t),e[t])}},function(e,t){e.exports=!0},function(e,t,n){t.f=n(19)},function(e,t,n){var i=n(36),r=n(22).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var i=n(31);e.exports=function(e){return Object(i(e))}},function(e,t,n){var i=n(28),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},function(e,t,n){var i=n(0).document;e.exports=i&&i.documentElement},function(e,t,n){var i=n(6),r=n(43),a=n(46);e.exports=function(e){return function(t,n,o){var l,s=i(t),c=r(s.length),u=a(o,c);if(e&&n!=n){for(;c>u;)if((l=s[u++])!=l)return!0}else for(;c>u;u++)if((e||u in s)&&s[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var i=n(28),r=Math.max,a=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):a(e,t)}},function(e,t,n){var i=n(4),r=n(5),a=n(11);e.exports=n(2)?Object.defineProperties:function(e,t){r(e);for(var n,o=a(t),l=o.length,s=0;l>s;)i.f(e,n=o[s++],t[n]);return e}},function(e,t,n){n(49);var i=n(1).Object;e.exports=function(e,t){return i.create(e,t)}},function(e,t,n){var i=n(9);i(i.S,"Object",{create:n(34)})},function(e,t,n){n(51),e.exports=n(1).Object.setPrototypeOf},function(e,t,n){var i=n(9);i(i.S,"Object",{setPrototypeOf:n(52).set})},function(e,t,n){var i=n(3),r=n(5),a=function(e,t){if(r(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{(i=n(27)(Function.call,n(37).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var i=n(4).f,r=n(8),a=n(19)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,a)&&i(e,a,{configurable:!0,value:t})}},function(e,t,n){var i=n(0),r=n(1),a=n(38),o=n(39),l=n(4).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=a?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||l(t,e,{value:o.f(e)})}},function(e,t,n){e.exports=n(18)},function(e,t,n){"use strict";var i=n(0),r=n(8),a=n(2),o=n(9),l=n(55),s=n(61).KEY,c=n(7),u=n(23),d=n(53),p=n(15),f=n(19),m=n(39),_=n(54),h=n(62),b=n(63),y=n(5),v=n(3),g=n(6),w=n(21),x=n(20),E=n(34),O=n(64),k=n(37),S=n(4),P=n(11),T=k.f,N=S.f,j=O.f,C=i.Symbol,L=i.JSON,M=L&&L.stringify,I="prototype",A=f("_hidden"),D=f("toPrimitive"),z={}.propertyIsEnumerable,V=u("symbol-registry"),R=u("symbols"),B=u("op-symbol
1s"),F=Object[I],H="function"==typeof C,W=i.QObject,q=!W||!W[I]||!W[I].findChild,U=a&&c(function(){return 7!=E(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a})?function(e,t,n){var i=T(F,t);i&&delete F[t],N(e,t,n),i&&e!==F&&N(F,t,i)}:N,G=function(e){var t=R[e]=E(C[I]);return t._k=e,t},Y=H&&"symbol"==typeof C.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof C},K=function(e,t,n){return e===F&&K(B,t,n),y(e),t=w(t,!0),y(n),r(R,t)?(n.enumerable?(r(e,A)&&e[A][t]&&(e[A][t]=!1),n=E(n,{enumerable:x(0,!1)})):(r(e,A)||N(e,A,x(1,{})),e[A][t]=!0),U(e,t,n)):N(e,t,n)},X=function(e,t){y(e);for(var n,i=h(t=g(t)),r=0,a=i.length;a>r;)K(e,n=i[r++],t[n]);return e},$=function(e){var t=z.call(this,e=w(e,!0));return!(this===F&&r(R,e)&&!r(B,e))&&(!(t||!r(this,e)||!r(R,e)||r(this,A)&&this[A][e])||t)},Z=function(e,t){if(e=g(e),t=w(t,!0),e!==F||!r(R,t)||r(B,t)){var n=T(e,t);return!n||!r(R,t)||r(e,A)&&e[A][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=j(g(e)),i=[],a=0;n.length>a;)r(R,t=n[a++])||t==A||t==s||i.push(t);return i},J=function(e){for(var t,n=e===F,i=j(n?B:g(e)),a=[],o=0;i.length>o;)!r(R,t=i[o++])||n&&!r(F,t)||a.push(R[t]);return a};H||(l((C=function(){if(this instanceof C)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===F&&t.call(B,n),r(this,A)&&r(this[A],e)&&(this[A][e]=!1),U(this,e,x(1,n))};return a&&q&&U(F,e,{configurable:!0,set:t}),G(e)})[I],"toString",function(){return this._k}),k.f=Z,S.f=K,n(40).f=O.f=Q,n(12).f=$,n(26).f=J,a&&!n(38)&&l(F,"propertyIsEnumerable",$,!0),m.f=function(e){return G(f(e))}),o(o.G+o.W+o.F*!H,{Symbol:C});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)f(ee[te++]);for(var ne=P(f.store),ie=0;ne.length>ie;)_(ne[ie++]);o(o.S+o.F*!H,"Symbol",{for:function(e){return r(V,e+="")?V[e]:V[e]=C(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in V)if(V[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),o(o.S+o.F*!H,"Object",{create:function(e,t){return void 0===t?E(e):X(E(e),t)},defineProperty:K,defineProperties:X,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:J}),L&&o(o.S+o.F*(!H||c(function(){var e=C();return"[null]"!=M([e])||"{}"!=M({a:e})||"{}"!=M(Object(e))})),"JSON",{stringify:function(e){for(var t,n,i=[e],r=1;arguments.length>r;)i.push(arguments[r++]);if(n=t=i[1],(v(t)||void 0!==e)&&!Y(e))return b(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),i[1]=t,M.apply(L,i)}}),C[I][D]||n(18)(C[I],D,C[I].valueOf),d(C,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},function(e,t,n){n(58),e.exports=n(1).Object.assign},function(e,t,n){var i=n(9);i(i.S+i.F,"Object",{assign:n(59)})},function(e,t,n){"use strict";var i=n(11),r=n(26),a=n(12),o=n(42),l=n(35),s=Object.assign;e.exports=!s||n(7)(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=s({},e)[n]||Object.keys(s({},t)).join("")!=i})?function(e,t){for(var n=o(e),s=arguments.length,c=1,u=r.f,d=a.f;s>c;)for(var p,f=l(arguments[c++]),m=u?i(f).concat(u(f)):i(f),_=m.length,h=0;_>h;)d.call(f,p=m[h++])&&(n[p]=f[p]);return n}:s},function(e,t,n){n(56),e.exports=n(1).Object.getOwnPropertySymbols},function(e,t,n){var i=n(15)("meta"),r=n(3),a=n(8),o=n(4).f,l=0,s=Object.isExtensible||function(){return!0},c=!n(7)(function(){return s(Object.preventExtensions({}))}),u=function(e){o(e,i,{value:{i:"O"+ ++l,w:{}}})},d=e.exports={KEY:i,NEED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,i)){if(!s(e))return"F";if(!t)return"E";u(e)}return e[i].i},getWeak:function(e,t){if(!a(e,i)){if(!s(e))return!0;if(!t)return!1;u(e)}return e[i].w},onFreeze:function(e){return c&&d.NEED&&s(e)&&!a(e,i)&&u(e),e}}},function(e,t,n){var i=n(11),r=n(26),a=n(12);e.exports=function(e){var t=i(e),n=r.f;if(n)for(var o,l=n(e),s=a.f,c=0;l.length>c;)s.call(e,o=l[c++])&&t.push(o);return t}},function(e,t,n){var i=n(33);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){var i=n(6),r=n(40).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return r(e)}catch(e){return o.slice()}}(e):r(i(e))}},function(e,t){e.exports=o},function(e,t,n){"use strict";
1function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(24)),o=r(n(16)),l=r(n(13)),s=r(n(14)),c=i(n(10)),u=r(n(17)),d=r(n(25)),p=r(n(73)),f=i(n(75)),m=function(){var e=s.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,l.default)(n):(i.prototype=n.prototype,new i)}}(),_=o.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},h=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof a.default){var r=0;for(i=(0,a.default)(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},b=n(76),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,n=e.name,i=e.className,r=h(e,["name","className"]),a=(0,d.default)((f||{})[""+t.classNamePrefix+n],i);return c.createElement(p.default,_({className:a,fontFamily:b.fontFamily},r))},t.classNamePrefix="icon-",t.propTypes={name:u.default.string.isRequired,className:u.default.string},t}(c.PureComponent);t.default=y},function(e,t,n){e.exports={default:n(77),__esModule:!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={genTransitionClassNames:function(e,t){return{appear:t[e+"-appear"]||"",appearActive:t[e+"-appear-active"]||"",enter:t[e+"-enter"]||"",enterActive:t[e+"-enter-active"]||"",enterDone:t[e+"-enter-done"]||"",exit:t[e+"-exit"]||"",exitActive:t[e+"-exit-active"]||"",exitDone:t[e+"-exit-done"]||""}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=t.inBrowser="undefined"!=typeof window;t.isIOS=i&&navigator.userAgent.match(/iPhone|iPad|iPod/i)},function(e,t){e.exports={}},function(e,t){e.exports=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.THEMES={DARK:"dark",LIGHT:"light"}},function(e,t,n){"use strict";function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(24)),o=r(n(16)),l=r(n(13)),s=r(n(14)),c=i(n(10)),u=r(n(17)),d=r(n(25)),p=i(n(74)),f=function(){var e=s.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,l.default)(n):(i.prototype=n.prototype,new i)}}(),m=o.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},_=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof a.default){var r=0;for(i=(0,a.default)(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.render=function(){var e,t=this.props,n=t.className,i=t.fontFamily,r=t.style,a=t.spin,l=_(t,["className","fontFamily","style","spin"]),s=(0,d.default)(n,p.icon,((e={})[p.spin]=!!a,e)),u=(0,o.default)({},r,{fontFamily:i});return c.createElement("i",m({className:s,style:u},l))},t.propTypes={classNames:u.default.object,fontFamily:u.default.string,spin:u.default.bool},t.defaultProps={fontFamily:"iconfont"},t}(c.PureComponent);t.default=h},function(e,t){e.exports={icon:"m-3c0Qz",spin:"m-1j2v0","icon-spin":"m--lu88",iconSpin:"m--lu88"}},function(e,t){e.exports={"icon-gift":"m-RMPAT",iconGift:"m-RMPAT","icon-youtube-square":"m-1zbuu",iconYoutubeSquare:"m-1zbuu","icon-arrow-left":"m-3__s8",iconArrowLeft:"m-3__s8","icon-bolt":"m-3WPvE",iconBolt:"m-3WPvE","icon-book":"m-1BwRM",
1iconBook:"m-1BwRM","icon-shopping-cart":"m-2ZDAE",iconShoppingCart:"m-2ZDAE","icon-check-circle":"m-Gu3_R",iconCheckCircle:"m-Gu3_R","icon-clipboard-list":"m-2aLEE",iconClipboardList:"m-2aLEE","icon-comment-smile":"m-73KX6",iconCommentSmile:"m-73KX6","icon-yen-sign":"m-CPpoF",iconYenSign:"m-CPpoF","icon-vimeo-square":"m-TpMVE",iconVimeoSquare:"m-TpMVE","icon-exclamation-circle-light":"m-2ku7s",iconExclamationCircleLight:"m-2ku7s","icon-facebook-o":"m-15Ay5",iconFacebookO:"m-15Ay5","icon-facebook-square":"m-3TIM_",iconFacebookSquare:"m-3TIM_","icon-angle-left-light":"m-3k70b",iconAngleLeftLight:"m-3k70b","icon-globe-light":"m-1SNi1",iconGlobeLight:"m-1SNi1","icon-headphones":"m-3Zsqk",iconHeadphones:"m-3Zsqk","icon-shield-check":"m-WMlRF",iconShieldCheck:"m-WMlRF","icon-instagram":"m-2dG2j",iconInstagram:"m-2dG2j","icon-plus-light":"m-34X92",iconPlusLight:"m-34X92","icon-minus-light":"m-627K0",iconMinusLight:"m-627K0","icon-twitter-square":"m-1YX74",iconTwitterSquare:"m-1YX74","icon-loading-alt-light":"m-3MVmD",iconLoadingAltLight:"m-3MVmD","icon-headset-light":"m-21rg_",iconHeadsetLight:"m-21rg_","icon-shipping-timed":"m-1j4LS",iconShippingTimed:"m-1j4LS","icon-check-alt-light":"m-233Hy",iconCheckAltLight:"m-233Hy","icon-ticket-alt":"m-v2xrM",iconTicketAlt:"m-v2xrM","icon-times-circle":"m-265-S",iconTimesCircle:"m-265-S","icon-arrival-reminder":"m-3xTMt",iconArrivalReminder:"m-3xTMt","icon-clock":"m-2pm2S",iconClock:"m-2pm2S","icon-cloud-upload":"m-n9s9n",iconCloudUpload:"m-n9s9n","icon-cog":"m-38Bhl",iconCog:"m-38Bhl","icon-coins":"m-PYPh8",iconCoins:"m-PYPh8","icon-comment-alt-smile":"m-pLLNE",iconCommentAltSmile:"m-pLLNE","icon-angle-down":"m-2Rpnx",iconAngleDown:"m-2Rpnx","icon-ban":"m-3x7_Z",iconBan:"m-3x7_Z","icon-comments-o":"m-3Ys44",iconCommentsO:"m-3Ys44","icon-compare":"m-Emx3c",iconCompare:"m-Emx3c","icon-compress":"m-17dtv",iconCompress:"m-17dtv","icon-copy":"m-P-G9K",iconCopy:"m-P-G9K","icon-coupon":"m-1X_
1io",iconCoupon:"m-1X_io","icon-credit-card":"m-2Ef-8",iconCreditCard:"m-2Ef-8","icon-bars":"m-2usbt",iconBars:"m-2usbt","icon-download-o":"m-asz67",iconDownloadO:"m-asz67","icon-download":"m-3myvT",iconDownload:"m-3myvT","icon-edit":"m-3E0wd",iconEdit:"m-3E0wd","icon-education":"m-1jEGu",iconEducation:"m-1jEGu","icon-ellipsis-h":"m-3Acz1",iconEllipsisH:"m-3Acz1","icon-ellipsis-v":"m-3yK3-",iconEllipsisV:"m-3yK3-","icon-video":"m-2lgB3",iconVideo:"m-2lgB3","icon-envelope":"m-ppmBp",iconEnvelope:"m-ppmBp","icon-angle-double-left":"m-2ulYU",iconAngleDoubleLeft:"m-2ulYU","icon-exclamation-circle":"m-2uDAf",iconExclamationCircle:"m-2uDAf","icon-exclamation-square":"m-3Z0C2",iconExclamationSquare:"m-3Z0C2","icon-exclamation":"m-2K7k-",iconExclamation:"m-2K7k-","icon-expand":"m-3EFye",iconExpand:"m-3EFye","icon-external-link-o":"m-Hr6cG",iconExternalLinkO:"m-Hr6cG","icon-external-link":"m-1bSmk",iconExternalLink:"m-1bSmk","icon-eye":"m-8qG7_",iconEye:"m-8qG7_","icon-users":"m-OlQIv",iconUsers:"m-OlQIv","icon-user":"m-2QQ5D",iconUser:"m-2QQ5D","icon-angle-left":"m-2w9kb",iconAngleLeft:"m-2w9kb","icon-bullhorn":"m-1v5DC",iconBullhorn:"m-1v5DC","icon-facebook":"m-10fBt",iconFacebook:"m-10fBt","icon-file-alt":"m-1tWXe",iconFileAlt:"m-1tWXe","icon-file-pdf":"m-3Y8DM",iconFilePdf:"m-3Y8DM","icon-angle-double-right":"m-3iBCY",iconAngleDoubleRight:"m-3iBCY","icon-frame":"m-1Or0-",iconFrame:"m-1Or0-","icon-caret-down-o":"m-PDER6",iconCaretDownO:"m-PDER6","icon-caret-down":"m-3Bjft",iconCaretDown:"m-3Bjft","icon-globe-o":"m-1YL-i",iconGlobeO:"m-1YL-i","icon-globe":"m-xzyP3",iconGlobe:"m-xzyP3","icon-caret-left-o":"m-2cDzl",iconCaretLeftO:"m-2cDzl","icon-caret-right-o":"m-3Ec9o",iconCaretRightO:"m-3Ec9o","icon-headset":"m-1Tvye",iconHeadset:"m-1Tvye","icon-heart-o":"m-aQfFX",iconHeartO:"m-aQfFX","icon-home":"m-pk4hy",iconHome:"m-pk4hy","icon-image-view":"m-3k6Q4",iconImageView:"m-3k6Q4","icon-info-circle-o":"m-po9AH",iconInfoCircleO:"m-po9AH","icon-info-circle":"m-2CuBD",iconInfoCircle:"m-2CuBD","icon-info-square":"m-229dE",iconInfoSquare:"m-229dE","icon-info":"m-B1nfz",iconInfo:"m-B1nfz","icon-caret-up-o":"m-winDS",iconCaretUpO:"m-winDS","icon-language":"m-2ozTy",iconLanguage:"m-2ozTy","icon-link":"m-1f28k",iconLink:"m-1f28k","icon-list-view":"m-1i9p6",iconListView:"m-1i9p6","icon-list":"m-3aeE_",iconList:"m-3aeE_","icon-caret-up":"m-2irB3",iconCaretUp:"m-2irB3","icon-location-arrow":"m-354ZS",iconLocationArrow:"m-354ZS","icon-location":"m-2nXlU",iconLocation:"m-2nXlU","icon-lock-alt":"m-34aaK",iconLockAlt:"m-34aaK","icon-map-marked-alt":"m-ezscI",iconMapMarkedAlt:"m-ezscI","icon-map-marker-alt":"m-3PqCV",iconMapMarkerAlt:"m-3PqCV","icon-cart":"m-3iqGa",iconCart:"m-3iqGa","icon-minus":"m-3XBlg",iconMinus:"m-3XBlg","icon-order":"m-24svv",iconOrder:"m-24svv","icon-paperclip":"m-2txLa",iconPaperclip:"m-2txLa","icon-phone":"m-13PCN",iconPhone:"m-13PCN","icon-play-circle-o":"m-1YSng",iconPlayCircleO:"m-1YSng","icon-play-circle":"m-3440F",iconPlayCircle:"m-3440F","icon-certificate":"m-3-Yop",iconCertificate:"m-3-Yop","icon-plus":"m-1cx-1",iconPlus:"m-1cx-1","icon-purchase":"m-2CIW5",iconPurchase:"m-2CIW5","icon-qrcode":"m-_dYEl",iconQrcode:"m-_dYEl","icon-question-circle":"m-iaU11",iconQuestionCircle:"m-iaU11","icon-question-o":"m-1XA4x",iconQuestionO:"m-1XA4x","icon-search-minus":"m-2cxVP",iconSearchMinus:"m-2cxVP","icon-search-plus":"m-1pr3W",iconSearchPlus:"m-1pr3W","icon-search":"m-1zeNg",iconSearch:"m-1zeNg","icon-setup":"m-1eXCC",iconSetup:"m-1eXCC","icon-share":"m-UnMI3",iconShare:"m-UnMI3","icon-angle-right":"m-1XEsT",iconAngleRight:"m-1XEsT","icon-check-circle-o":"m-1hFOc",iconCheckCircleO:"m-1hFOc","icon-angle-up":"m-28Wva",iconAngleUp:"m-28Wva","icon-tag":"m-2qpgI",iconTag:"m-2qpgI","icon-check-square-o":"m-v-p7v",iconCheckSquareO:"m-v-p7v","icon-times-circle-o":"m-1aTKg",iconTimesCircleO:"m-1aTKg","icon-check":"m-3MKOm",iconCheck:"m-3MKOm","icon-times-square-o":"m-37Wt2",iconTimesSquareO:"m-37Wt2","icon-times":"m-3Q8Jn",iconTimes:"m-3Q8Jn","icon-trash-alt":"m-1vQJB",iconTrashAlt:"m-1vQJB","icon-truck-moving":"m-eQTLa",iconTruckMoving:"m-eQTLa","icon-circle-notch":"m-2j0dq",iconCircleNotch:"m-2j0dq","icon-unfold":"m-27V06",iconUnfold:"m-27V06","icon-unlock-alt":"m-1q6MF",iconUnlockAlt:"m-1q6MF","icon-file":"m-37LC3",iconFile:"m-37LC3","icon-envelop":"m-2fxAL",
1iconEnvelop:"m-2fxAL","icon-wechat":"m-3FIU6",iconWechat:"m-3FIU6","icon-comment":"m-3TAo6",iconComment:"m-3TAo6","icon-download-black-main":"m-3h4Ee",iconDownloadBlackMain:"m-3h4Ee","icon-fa-solid-play":"m-3BRJN",iconFaSolidPlay:"m-3BRJN","icon-fa-light-redo":"m-3TVOQ",iconFaLightRedo:"m-3TVOQ"}},function(e,t){e.exports={icons:[{name:"gift",unicode:"f06b"},{name:"youtube-square",unicode:"f431"},{name:"arrow-left",unicode:"f060"},{name:"bolt",unicode:"f0e7"},{name:"book",unicode:"f02d"},{name:"shopping-cart",unicode:"f07a"},{name:"check-circle",unicode:"f058"},{name:"clipboard-list",unicode:"f46d"},{name:"comment-smile",unicode:"ecdd"},{name:"yen-sign",unicode:"f157"},{name:"vimeo-square",unicode:"f194"},{name:"exclamation-circle-light",unicode:"eca2"},{name:"facebook-o",unicode:"ec3b"},{name:"facebook-square",unicode:"f082"},{name:"angle-left-light",unicode:"e119"},{name:"globe-light",unicode:"e2c3"},{name:"headphones",unicode:"f025"},{name:"shield-check",unicode:"f2f7"},{name:"instagram",unicode:"f16d"},{name:"plus-light",unicode:"e8b5"},{name:"minus-light",unicode:"e719"},{name:"twitter-square",unicode:"f081"},{name:"loading-alt-light",unicode:"ee57"},{name:"headset-light",unicode:"ed60"},{name:"shipping-timed",unicode:"f48c"},{name:"check-alt-light",unicode:"e917"},{name:"ticket-alt",unicode:"f3ff"},{name:"times-circle",unicode:"f057"},{name:"arrival-reminder",unicode:"e386"},{name:"clock",unicode:"f017"},{name:"cloud-upload",unicode:"f0ee"},{name:"cog",unicode:"f013"},{name:"coins",unicode:"e688"},{name:"comment-alt-smile",unicode:"e7e4"},{name:"angle-down",unicode:"f107"},{name:"ban",unicode:"f05e"},{name:"comments-o",unicode:"ecde"},{name:"compare",unicode:"e1f8"},{name:"compress",unicode:"f066"},{name:"copy",unicode:"f0c5"},{name:"coupon",unicode:"ed6e"},{name:"credit-card",unicode:"f09d"},{name:"bars",unicode:"f0c9"},{name:"download-o",unicode:"e6c0"},{name:"download",unicode:"f019"},{name:"edit",unicode:"f044"},{name:"education",unicode:"ed0b"},{name:"ellipsis-h",unicode:"f141"},{name:"ellipsis-v",unicode:"f142"},{name:"video",unicode:"f03d"},{name:"envelope",unicode:"f0e0"},{name:"angle-double-left",unicode:"f100"},{name:"exclamation-circle",unicode:"f06a"},{name:"exclamation-square",unicode:"f321"},{name:"exclamation",unicode:"f12a"},{name:"expand",unicode:"f065"},{name:"external-link-o",unicode:"ebd6"},{name:"external-link",unicode:"f08e"},{name:"eye",unicode:"f06e"},{name:"users",unicode:"f0c0"},{name:"user",unicode:"f007"},{name:"angle-left",unicode:"f104"},{name:"bullhorn",unicode:"f0a1"},{name:"facebook",unicode:"f09a"},{name:"file-alt",unicode:"f15c"},{name:"file-pdf",unicode:"f1c1"},{name:"angle-double-right",unicode:"f101"},{name:"frame",unicode:"edcf"},{name:"caret-down-o",unicode:"ec02"},{name:"caret-down",unicode:"f0d7"},{name:"globe-o",unicode:"efe0"},{name:"globe",unicode:"f0ac"},{name:"caret-left-o",unicode:"eb68"},{name:"caret-right-o",unicode:"ef8e"},{name:"headset",unicode:"e902"},{name:"heart-o",unicode:"ee55"},{name:"home",unicode:"f015"},{name:"image-view",unicode:"e348"},{name:"info-circle-o",unicode:"ed3f"},{name:"info-circle",unicode:"f05a"},{name:"info-square",unicode:"f30f"},{name:"info",unicode:"f129"},{name:"caret-up-o",unicode:"edd8"},{name:"language",unicode:"f1ab"},{name:"link",unicode:"f0c1"},{name:"list-view",unicode:"e8c1"},{name:"list",unicode:"f03a"},{name:"caret-up",unicode:"f0d8"},{name:"location-arrow",unicode:"f124"},{name:"location",unicode:"ed51"},{name:"lock-alt",unicode:"f30d"},{name:"map-marked-alt",unicode:"ee36"},{name:"map-marker-alt",unicode:"f3c5"},{name:"cart",unicode:"e540"},{name:"minus",unicode:"f068"},{name:"order",unicode:"e70a"},{name:"paperclip",unicode:"f0c6"},{name:"phone",unicode:"f095"},{name:"play-circle-o",unicode:"e0ca"},{name:"play-circle",unicode:"f144"},{name:"certificate",unicode:"f0a3"},{name:"plus",unicode:"f067"},{name:"purchase",unicode:"e85d"},{name:"qrcode",unicode:"f029"},{name:"question-circle",unicode:"f059"},{name:"question-o",unicode:"e65f"},{name:"search-minus",unicode:"f010"},{name:"search-plus",unicode:"f00e"},{name:"search",unicode:"f002"},{name:"setup",unicode:"ea0f"},{name:"share",unicode:"f064"},{name:"angle-right",unicode:"f105"},{name:"check-circle-o",unicode:"e753"},{name:"angle-up",unicode:"f106"},{name:"tag",unicode:"f02b"},{name:"check-square-o",unicode:"ee6b"},{name:"times-circle-o",unicode:"e200"},{name:"check",unicode:"f00c"},{name:"times-square-o",unicode:"eea2"},{name:"times",unicode:"f00d"},{name:"trash-alt",unicode:"f2ed"},{name:"truck-moving",unicode:"eaaa"},{name:"circle-notch",unicode:"f1ce"},{name:"unfold",unicode:"e872"},{name:"unlock-alt",unicode:"f13e"},{name:"file",unicode:"f15b"},{name:"envelop",unicode:"ecd4"},{name:"wechat",unicode:"e855"},{name:"comment",unicode:"f075"},{name:"download-black-main",unicode:"e111"},{name:"fa-solid-play",unicode:"e665"},{name:"fa-light-redo",unicode:"e087"}],total:132,cssPrefix:"icon-",fontFamily:"quark-mobile"}}
1,function(e,t,n){n(78),e.exports=n(1).Object.keys},function(e,t,n){var i=n(42),r=n(11);n(79)("keys",function(){return function(e){return r(i(e))}})},function(e,t,n){var i=n(9),r=n(1),a=n(7);e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],o={};o[e]=t(n),i(i.S+i.F*a(function(){n(1)}),"Object",o)}},function(e,t,n){"use strict";var i=n(38),r=n(9),a=n(55),o=n(18),l=n(8),s=n(70),c=n(89),u=n(53),d=n(90),p=n(19)("iterator"),f=!([].keys&&"next"in[].keys()),m="values",_=function(){return this};e.exports=function(e,t,n,h,b,y,v){c(n,t,h);var g,w,x,E=function(e){if(!f&&e in P)return P[e];switch(e){case"keys":case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},O=t+" Iterator",k=b==m,S=!1,P=e.prototype,T=P[p]||P["@@iterator"]||b&&P[b],N=!f&&T||E(b),j=b?k?E("entries"):N:void 0,C="Array"==t&&P.entries||T;if(C&&(x=d(C.call(new e)))!==Object.prototype&&x.next&&(u(x,O,!0),i||l(x,p)||o(x,p,_)),k&&T&&T.name!==m&&(S=!0,N=function(){return T.call(this)}),i&&!v||!f&&!S&&P[p]||o(P,p,N),s[t]=N,s[O]=_,b)if(g={values:k?N:E(m),keys:y?N:E("keys"),entries:j},v)for(w in g)w in P||a(P,w,g[w]);else r(r.P+r.F*(f||S),t,g);return g}},function(e,t){e.exports=s},function(e,t,n){"use strict";var i=n(88)(!0);n(80)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){n(91);for(var i=n(0),r=n(18),a=n(70),o=n(19)("toStringTag"),l="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<l.length;s++){var c=l[s],u=i[c],d=u&&u.prototype;d&&!d[o]&&r(d,o,c),a[c]=a.Array}},function(e,t){},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),l=n(65),s=i(n(102)),c=i(n(68)),u=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},d={enter:500,exit:300},p=c.default.genTransitionClassNames("fade",s.default);t.default=function(e){var t=e.children,n=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n}(e,["children"]);return o.createElement(l.CSSTransition,u({},n,{timeout:d,classNames:p}),t)}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(13)),a=i(n(14)),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),l=i(n(71)),s=i(n(17)),c=function(){var e=a.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,r.default)(n):(i.prototype=n.prototype,new i)}}(),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.effectStartListener=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=t.props.onEffectStart;return t.attachGlobalEvents(),i.apply(void 0,e)},t.effectEndListener=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=t.props.onEffectEnd;return t.detachGlobalEvents(),i.apply(void 0,e)},t}return c(t,e),t.prototype.componentDidMount=function(){this.initEffect(),this.initChildNodeEvents()},t.prototype.componentWillUnmount=function(){this.destoryEvents()},t.prototype.destoryEvents=function(){var e=this.props.eventSource,t=this.getChildDOMNode();this.notDOMNode(t)||(this.hasEvent("click",e)&&t.removeEventListener("mouseup",this.effectEndListener),this.hasEvent("touch",e)&&t.removeEventListener("touchend",this.effectEndListener))},t.prototype.getChildDOMNode=function(){var e=this.childNode;return this.notDOMNode(e)?l.default.findDOMNode(e):e},t.prototype.hasEvent=function(e,t){return Array.isArray(t)?t.includes(e):e===t},t.prototype.initEffect=function(){var e=this.getChildDOMNode();if(this.notDOMNode(e))console.warn("Effect apply failed. Child node "+this.childNode+" is not val
1id.");else{var t=e.style.position;t&&"static"!==t&&"initial"!==t||(e.style.position="relative")}},t.prototype.initChildNodeEvents=function(){var e=this.props.eventSource,t=this.getChildDOMNode();this.notDOMNode(t)||(this.hasEvent("click",e)&&(t.addEventListener("mousedown",this.effectStartListener),t.addEventListener("mouseup",this.effectEndListener)),this.hasEvent("touch",e)&&(t.addEventListener("touchstart",this.effectStartListener),t.addEventListener("touchend",this.effectEndListener)))},t.prototype.attachGlobalEvents=function(){var e=this.props.eventSource;this.hasEvent("click",e)&&window.addEventListener("mouseup",this.effectEndListener),this.hasEvent("touch",e)&&window.addEventListener("touchend",this.effectEndListener)},t.prototype.detachGlobalEvents=function(){var e=this.props.eventSource;this.hasEvent("click",e)&&window.removeEventListener("mouseup",this.effectEndListener),this.hasEvent("touch",e)&&window.removeEventListener("touchend",this.effectEndListener)},t.prototype.notDOMNode=function(e){return!(e instanceof HTMLElement)},t.prototype.render=function(){var e=this,t=this.props,n=t.children,i=t.effect,r=o.Children.only(n),a=o.createElement(o.Fragment,null,i,r.props.children);return o.cloneElement(r,{ref:function(t){e.childNode=t},children:a})},t.propTypes={effect:s.default.node,eventSource:s.default.oneOfType([s.default.oneOf(["click","touch"]),s.default.arrayOf(s.default.oneOf(["click","touch"]))]),onEffectStart:s.default.func,onEffectEnd:s.default.func},t.defaultProps={eventSource:"click",onEffectStart:function(){},onEffectEnd:function(){}},t}(o.PureComponent);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(95));t.setTransform=function(e,t){e&&"object"===(void 0===e?"undefined":(0,i.default)(e))&&t&&(e.transform=t,e.WebkitTransform=t,e.MozTransform=t)},t.removeStyleProperty=function(e,t){var n=e&&e.style;if(!n)throw new Error("Invalid type of "+e+". Expected DOM element.");if(!n.removeProperty&&!n.removeAttribute)throw new Error("Unexpected element style "+n+". It is not supported to remove inline style.");n.removeProperty&&n.removeProperty(t),n.removeAttribute&&n.removeAttribute(t)}},function(e,t,n){var i=n(28),r=n(31);e.exports=function(e){return function(t,n){var a,o,l=String(r(t)),s=i(n),c=l.length;return s<0||s>=c?e?"":void 0:(a=l.charCodeAt(s))<55296||a>56319||s+1===c||(o=l.charCodeAt(s+1))<56320||o>57343?e?l.charAt(s):a:e?l.slice(s,s+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){"use strict";var i=n(34),r=n(20),a=n(53),o={};n(18)(o,n(19)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(o,{next:r(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var i=n(8),r=n(42),a=n(29)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,n){"use strict";var i=n(92),r=n(93),a=n(70),o=n(6);e.exports=n(80)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,i("keys"),i("values"),i("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports={tabs:"m-3lMTV","tabs-dark":"m-2bOox",tabsDark:"m-2bOox","tab-item":"m-28KUW",tabItem:"m-28KUW","tab-item-active":"m-1Ltud",tabItemActive:"m-1Ltud","tab-item-disabled":"m-2LH7P",tabItemDisabled:"m-2LH7P","tab-bar-animated":"m-1ubfg",tabBarAnimated:"m-1ubfg","ink-bar":"m-zPFdO",inkBar:"m-zPFdO","tab-bar-wrap":"m-3-a_h",tabBarWrap:"m-3-a_h","tab-bar-border":"m-8wsGN",tabBarBorder:"m-8wsGN","tab-bar-display":"m-2RUui",tabBarDisplay:"m-2RUui","tab-bar":"m-1RPG6",tabBar:"m-1RPG6","tab-bar-left":"m-pHyFu",tabBarLeft:"m-pHyFu","tab-bar-right":"m-3yx3R",tabBarRight:"m-3yx3R","tab-bar-center":"m-1DkKo",tabBarCenter:"m-1DkKo","tab-bar-justified":"m-1G3aQ",tabBarJustified:"m-1G3aQ","tab-content":"m-3Qm4W",tabContent:"m-3Qm4W","tab-panel":"m-14aFm",tabPanel:"m-14aFm","tab-panel-active":"m-2d3yp",tabPanelActive:"m-2d3yp","tab-panel-disabled":"m-1RhgG",tabPanelDisabled:"m-1RhgG"}},function(e,t,n){"use strict";
1function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=i(n(96)),a=i(n(98)),o="function"==typeof a.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};t.default="function"==typeof a.default&&"symbol"===o(r.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":void 0===e?"undefined":o(e)}},function(e,t,n){e.exports={default:n(97),__esModule:!0}},function(e,t,n){n(82),n(83),e.exports=n(39).f("iterator")},function(e,t,n){e.exports={default:n(99),__esModule:!0}},function(e,t,n){n(56),n(84),n(100),n(101),e.exports=n(1).Symbol},function(e,t,n){n(54)("asyncIterator")},function(e,t,n){n(54)("observable")},function(e,t){e.exports={"fade-enter":"m-5iCMy",fadeEnter:"m-5iCMy","fade-enter-active":"m-3N80o",fadeEnterActive:"m-3N80o","fade-exit":"m-3jNlY",fadeExit:"m-3jNlY","fade-exit-active":"m-249s1",fadeExitActive:"m-249s1"}},function(e,t,n){"use strict";var i=n(41);e.exports.f=function(e){return new function(e){var t,n;this.promise=new e(function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i}),this.resolve=i(t),this.reject=i(n)}(e)}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),l=n(65),s=i(n(113)),c=i(n(68)),u=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},d={enter:300,exit:300},p=c.default.genTransitionClassNames("scale",s.default);t.default=function(e){var t=e.children,n=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n}(e,["children"]);return o.createElement(l.CSSTransition,u({},n,{timeout:d,classNames:p}),t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(114));t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cancelAnimationFrame=t.requestAnimationFrame=void 0;var i=null,r=null;!function(e){for(var t=0,n=["ms","moz","webkit","o"],a=0;a<n.length&&!e.requestAnimationFrame;++a)e.requestAnimationFrame=e[n[a]+"RequestAnimationFrame"],e.cancelAnimationFrame=e[n[a]+"CancelAnimationFrame"]||e[n[a]+"CancelRequestAnimationFrame"];e.requestAnimationFrame||(e.requestAnimationFrame=function(n,i){var r=(new Date).getTime(),a=Math.max(0,16-(r-t)),o=e.setTimeout(function(){n(r+a)},a);return t=r+a,o}),e.cancelAnimationFrame||(e.cancelAnimationFrame=function(e){clearTimeout(e)}),i=e.requestAnimationFrame,r=e.cancelAnimationFrame}(n(69).inBrowser?window:{}),t.requestAnimationFrame=i,t.cancelAnimationFrame=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(e,t){var n=String(t);return n=n.replace("-",""),e&&(n=function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}(n)),e+n},"")}},function(e,t){e.exports={row:"m-3Yu6x",col:"m-2OFp0","row-reverse":"m-2SRvk",rowReverse:"m-2SRvk","row-mini":"m-QcKAD",rowMini:"m-QcKAD","col-mini":"m-1pfYs",colMini:"m-1pfYs","row-small":"m-1XCZb",rowSmall:"m-1XCZb","col-small":"m-3Uq9I",colSmall:"m-3Uq9I","row-medium":"m-11D-N",rowMedium:"m-11D-N","col-medium":"m-2qDDL",colMedium:"m-2qDDL","row-large":"m-1dh8K",rowLarge:"m-1dh8K","col-large":"m-3rA0z",colLarge:"m-3rA0z","row-xlarge":"m-2PQet",rowXlarge:"m-2PQet","col-xlarge":"m-U_7OW",colXlarge:"m-U_7OW","col-5-1":"m-CL3em",col51:"m-CL3em","col-5-offset-0":"m-30rSr",col5Offset0:"m-30rSr","col-5-2":"m-3dXas",col52:"m-3dXas","col-5-offset-1":"m-1UDTF",col5Offset1:"m-1UDTF","col-5-3":"m-2der7",col53:"m-2der7","col-5-offset-2":"m-1By7S",col5Offset2:"m-1By7S","col-5-4":"m-3E7yL",col54:"m-3E7yL","col-5-offset-3":"m-3dhiw",col5Offset3:"m-3dhiw","col-5-5":"m-32FWi",col55:"m-32FWi","col-5-offset-4":"m-3NlnY",col5Offset4:"m-3NlnY","col-6-1":"m-2wYpQ",col61:"m-2wYpQ","col-6-offset-0":"m-33o92",col6Offset0:"m-33o92","col-6-2":"m-3kfk0",col62:"m-3kfk0","col-6-offset-1":"m-1J96b",col6Offset1:"m-1J96b","col-6-3":"m-BIWvz",col63:"m-BIWvz","col-6-offset-2":"m-2kG35",col6Offset2:"m-2kG35","col-6-4":"m-2rcNk",col64:"m-2rcNk","col-6-offset-3":"m-CEZXQ",col6Offset3:"m-CEZXQ","col-6-5":"m-29IYL",col65:"m-29IYL","col-6-offset-4":"m-2LiL3",col6Offset4:"m-2LiL3","col-6-6":"m-86_DD",col66:"m-86_DD","col-6-offset-5":"m-NMhou",col6Offset5:"m-NMhou","col-8-1":"m-1a-hc",col81:"m-1a-hc","col-8-offset-0":"m-2qlKH",col8Offset0:"m-2qlKH","col-8-2":"m-24XTK",col82:"m-24XTK","col-8-offset-1":"m-wGAKc",col8Offset1:"m-wGAKc","col-8-3":"m-1ZN15",col83:"m-1ZN15","col-8-offset-2":"m-1rjGe",col8Offset2:"m-1rjGe","col-8-4":"m-LRZtW",col84:"m-LRZtW","col-8-offset-3":"m-3IjWt",col8Offset3:"m-3IjWt","col-8-5":"m-2BVw1",col85:"m-2BVw1","col-8-offset-4":"m-3_87W",col8Offset4:"m-3_87W","col-8-6":"m-2ELip",col86:"m-2ELip","col-8-offset-5":"m-37fg_",col8Offset5:"m-37fg_","col-8-7":"m-2pJbu",col87:"m-2pJbu","col-8-offset-6":"m-214Cj",col8Offset6:"m-214Cj","col-8-8":"m-3BQwe",col88:"m-3BQwe","col-8-offset-7":"m-3zDth",col8Offset7:"m-3zDth"}},function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(118));t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(123));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),l=n(65),s=i(n(124)),c=i(n(68)),u=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},d={enter:300,exit:200},p=c.default.genTransitionClassNames("fade-in-bottom",s.default);t.default=function(e){var t=e.children,n=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n}(e,["children"]);return o.createElement(l.CSSTransition,u({},n,{timeout:d,classNames:p}),t)}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(67)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=n(10),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(s),u=i(n(125)),d=i(n(25)),p=i(n(17)),f=i(n(126)),m=i(n(127)),_=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),h=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},b=function(e){function t(t){var n=e.call(this,t)||this;return n.onVisibleChange=function(e){var t=n.props.onVisibleChange;"visible"in n.props||n.setState({visible:!n.isNoTitle()&&e}),t&&!n.isNoTitle()&&t(e)},n.onPopupAlign=function(e,t){var i=n.getPlacements(),a=(0,r.default)(i).filter(function(e){return i[e].points[0]===t.points[0]&&i[e].points[1]===t.points[1]})[0];if(a){var o=e.getBoundingClientRect(),l={top:"50%",left:"50%"};a.indexOf("top")>=0||a.indexOf("Bottom")>=0?l.top=o.height-t.offset[1]+"px":(a.indexOf("Top")>=0||a.indexOf("bottom")>=0)&&(l.top=-t.offset[1]+"px"),a.indexOf("left")>=0||a.indexOf("Right")>=0?l.left=o.width-t.offset[0]+"px":(a.indexOf("right")>=0||a.indexOf("Left")>=0)&&(l.left=-t.offset[0]+"px"),e.style.transformOrigin=l.left+" "+l.top}},n.state={visible:!!t.visible||!!t.defaultVisible},n}return _(t,e),t.prototype.componentWillReceiveProps=function(e){"visible"in e&&this.setState({visible:e.visible})},t.prototype.getPlacements=function(){var e=this.props,t=e.builtinPlacements,n=e.arrowPointAtCenter,i=e.autoAdjustOverflow;return t||(0,f.default)({arrowPointAtCenter:n,verticalArrowShift:8,autoAdjustOverflow:i})},t.prototype.getDisabledCompatibleChildren=function(e){if("button"===e.type&&e.props.disabled&&this.isHoverTrigger()){var t=function(e,t){var n={},i=h({},e);return["position","left","right","top","bottom","float","display","zIndex"].forEach(function(t){e&&t in e&&(n[t]=e[t],delete i[t])}),{picked:n,omited:i}}(e.props.style),n=t.picked,i=t.omited,r=h({display:"inline-block"},n,{cursor:"not-allowed"}),a=h({},i,{pointerEvents:"none"}),o=(0,s.cloneElement)(e,{style:a,className:null});return c.createElement("span",{style:r,className:e.props.className},o)}return e},t.prototype.isNoTitle=function(){return!this.props.title&&!this.props.overlay},t.prototype.isHoverTrigger=function(){var e=this.props.trigger;return!e||"hover"===e||!!Array.isArray(e)&&e.indexOf("hover")>=0},t.prototype.render=function(){var e=this.props,t=this.state,n=e.prefixCls,i=e.title,r=e.overlay,a=e.openClassName,o=e.getPopupContainer,l=e.children,p=t.visible;"visible"in e||!this.isNoTitle()||(p=!1);var f,_=this.getDisabledCompatibleChildren(c.isValidElement(l)?l:c.createElement("span",null,l)),b=_.props,y=(0,d.default)(b.className,((f={})[a||n+"-open"]=!0,f)),v=(0,d.default)(m.default["quark-tooltip"],this.props.className);return c.createElement(u.default,h({},this.props,{className:v,visible:p,overlay:r||i||"",getTooltipContainer:o,builtinPlacements:this.getPlacements(),onVisibleChange:this.onVisibleChange,onPopupAlign:this.onPopupAlign}),p?(0,s.cloneElement)(_,{className:y}):_)}
1,t.propTypes={arrowPointAtCenter:p.default.bool,autoAdjustOverflow:p.default.bool,builtinPlacements:p.default.object,className:p.default.string,defaultVisible:p.default.bool,mouseEnterDelay:p.default.number,mouseLeaveDelay:p.default.number,prefixCls:p.default.string,placement:p.default.string,trigger:p.default.string,title:p.default.oneOfType([p.default.string,p.default.node]),transitionName:p.default.string,visible:p.default.bool},t.defaultProps={arrowPointAtCenter:!1,autoAdjustOverflow:!0,prefixCls:"quark-tooltip",mouseEnterDelay:.1,mouseLeaveDelay:.1,placement:"top",transitionName:"fade-in",trigger:"hover"},t}(c.Component);t.default=b},function(e,t){e.exports={"scale-enter":"m-3zmnd",scaleEnter:"m-3zmnd","scale-enter-active":"m-2NKDw",scaleEnterActive:"m-2NKDw","scale-in":"m-TLTn_",scaleIn:"m-TLTn_","scale-exit":"m-CN73A",scaleExit:"m-CN73A","scale-exit-active":"m-ffAC4",scaleExitActive:"m-ffAC4"}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(17)),u=i(n(25)),d=i(n(115)),p=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),f=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},m=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n},_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.clickable=function(){var e=this.props,t=e.disabled,n=e.loading;return!t&&!n},t.prototype.render=function(){var e,t=this.props,n=t.block,i=t.children,r=t.className,a=t.htmlType,o=t.loading,l=t.disabled,c=t.square,p=t.radius,_=t.size,h=t.type,b=m(t,["block","children","className","htmlType","loading","disabled","square","radius","size","type"]),y=h||"default",v=_||"medium",g=p||"small",w=(0,u.default)(d.default.btn,d.default["btn-"+y],d.default["btn-radius-"+g],d.default["btn-size-"+v],((e={})[d.default["btn-square"]]=c,e[d.default["btn-block"]]=n,e[d.default["btn-loading"]]=o,e),r);return s.createElement("button",f({type:a,className:w,disabled:l||o},b),i)},t.propTypes={block:c.default.bool,htmlType:c.default.string,loading:c.default.bool,square:c.default.bool,radius:c.default.oneOf(["large","small","none"]),size:c.default.oneOf(["huge","large","medium","small","mini"]),type:c.default.oneOf(["brand","dark-bordered","special","default","primary","danger","warning","success","ghost"])},t.defaultProps={loading:!1},t}(s.PureComponent);t.default=_},function(e,t){e.exports={btn:"m-xnv6R",focus:"m-3e-BG","btn-block":"m-3RO_K",btnBlock:"m-3RO_K","btn-brand":"m-19X_H",btnBrand:"m-19X_H","btn-dark-bordered":"m-8oCtR",btnDarkBordered:"m-8oCtR","btn-special":"m-1bpad",btnSpecial:"m-1bpad","btn-default":"m-27-6k",btnDefault:"m-27-6k","btn-primary":"m-2QwEc",btnPrimary:"m-2QwEc","btn-danger":"m-3IIr-",btnDanger:"m-3IIr-","btn-success":"m-16fYW",btnSuccess:"m-16fYW","btn-warning":"m-upL7u",btnWarning:"m-upL7u","btn-ghost":"m-3oax7",btnGhost:"m-3oax7","btn-radius-large":"m-958V1",btnRadiusLarge:"m-958V1","btn-radius-small":"m-22qIt",btnRadiusSmall:"m-22qIt","btn-radius-none":"m-mrbT4",btnRadiusNone:"m-mrbT4","btn-size-huge":"m-1i5fk",btnSizeHuge:"m-1i5fk","btn-square":"m-1FsY1",btnSquare:"m-1FsY1","btn-size-large":"m-p8s4W",btnSizeLarge:"m-p8s4W","btn-size-medium":"m-27-yu",btnSizeMedium:"m-27-yu","btn-size-small":"m-2ghvt",btnSizeSmall:"m-2ghvt","btn-size-mini":"m-21L3I",btnSizeMini:"m-21L3I","btn-loading":"m-1wazg",btnLoading:"m-1wazg"}},function(e,t){e.exports={effect:"m-2x8UJ",ripple:"m-1l4MP",enter:"m-3xSto",leave:"m-350VY","ripple-primary":"m-1QSYl",ripplePrimary:"m-1QSYl","ripple-secondary":"m-1jx4W",rippleSecondary:"m-1jx4W","ripple-dark":"m-2LUPU",rippleDark:"m-2LUPU","ripple-gray":"m-3LoR7",rippleGray:"m-3LoR7","ripple-light":"m-2TdAx",rippleLight:"m-2TdAx","ripple-danger":"m-3d3Z-",rippleDanger:"m-3d3Z-","ripple-success":"m-IvNmx",rippleSuccess:"m-IvNmx","ripple-warning":"m-3KkHs",rippleWarning:"m-3KkHs","ripple-white":"m-19ehJ",rippleWhite:"m-19ehJ"}},function(e,t){e.exports=c},function(e,t,n){"use strict";
1function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(17)),u=i(n(25)),d=i(n(85)),p=i(n(119)),f=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),m=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},_=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n},h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMaskClick=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=t.props,r=i.onClose,a=i.onClick,o=i.visible;r&&r(!o),a&&a.apply(void 0,e)},t}return f(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.visible,i=_(e,["className","visible"]),r=(0,a.default)({},i);delete r.onClick;var o=(0,u.default)(p.default.mask,t);return s.createElement(d.default,{in:n,unmountOnExit:!0},s.createElement("div",m({className:o,onClick:this.onMaskClick},r)))},t.propTypes={onClose:c.default.func,visible:c.default.bool},t.defaultProps={onClose:function(){},visible:!1},t}(s.Component);t.default=h},function(e,t){e.exports={mask:"m-RBtig"}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(25)),u=i(n(17)),d=i(n(66)),p=i(n(121)),f=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),m=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},_=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n},h=function(e){function t(t){var n=e.call(this,t)||this;return n.close=function(){n.timeout&&(clearTimeout(n.timeout),n.timeout=null);var e=n.props.onClose;e&&e()},n}return f(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.duration;0!==t&&(this.timeout=setTimeout(function(){e.close()},t))},t.prototype.componentWillUnmount=function(){this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},t.prototype.renderIcon=function(){var e=this.props.iconName;return e?s.createElement("div",{className:p.default.messageIconArea},s.createElement(d.default,{name:e})):null},t.prototype.renderExtra=function(){var e=this.props.closable,t=s.createElement("button",{onClick:this.close,className:p.default.closeBtn},s.createElement(d.default,{name:"times"}));return s.createElement("div",{className:p.default.messageExtra},e?t:null)},t.prototype.render=function(){var e=this.props,t=e.className,n=e.style,i=e.type,r=(e.children,e.closable,e.onClose,e.full),a=(e.iconName,e.content),o=e.title,l=_(e,["className","style","type","children","closable","onClose","full","iconName","content","title"]),u=o,d=a,f=(0,c.default)(p.default.message,p.default["message-"+i],((v={})[p.default.messageFull]=r,v),t),h=this.renderIcon(),b=this.renderExtra(),y=(0,c.default)(p.default["message-content-area"]);h&&!u&&d&&(u=d,d=void 0);var v,g=u?s.createElement("div",{className:p.default.messageTitle},u):null,w=d?d&&s.createElement("div",{className:p.default.messageContent},d):null;return s.createElement("div",m({className:f,style:n},l),s.createElement("div",{className:p.default.messageFlexWrapper},h,s.createElement("div",{className:y},g,w),b))}
1,t.propTypes={type:u.default.oneOf(["default","primary","danger","warning","success"]),title:u.default.string,content:u.default.string,closable:u.default.bool,onClose:u.default.func,duration:u.default.number,iconName:u.default.string,full:u.default.bool},t.defaultProps={type:"default",title:"",content:"",closable:!1,duration:0,iconName:"",full:!1},t}(s.PureComponent);t.default=h},function(e,t){e.exports={message:"m-1mf-P","message--full":"m-1I3DC",messageFull:"m-1I3DC","message-flex-wrapper":"m-evuhN",messageFlexWrapper:"m-evuhN","message-icon-area":"m-fkL4J",messageIconArea:"m-fkL4J","message-title":"m-3coxK",messageTitle:"m-3coxK","message-content":"m-27ElP",messageContent:"m-27ElP","message-content-area":"m-3jvme",messageContentArea:"m-3jvme","message-extra":"m-A-XW1",messageExtra:"m-A-XW1","message-default":"m-236fA",messageDefault:"m-236fA","message-primary":"m-nPIrg",messagePrimary:"m-nPIrg","message-success":"m-1Nu0N",messageSuccess:"m-1Nu0N","message-warning":"m-syIyv",messageWarning:"m-syIyv","message-danger":"m-jl3ki",messageDanger:"m-jl3ki","message-wrapper":"m-FTcrR",messageWrapper:"m-FTcrR","message-container":"m-YsZta",messageContainer:"m-YsZta","close-btn":"m-2I-l0",closeBtn:"m-2I-l0","message-control":"m-3XLvC",messageControl:"m-3XLvC"}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(13)),a=i(n(14)),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),l=i(n(17)),s=i(n(25)),c=i(n(81)),u=i(n(187)),d=i(n(66)),p=i(n(109)),f=i(n(110)),m=i(n(111)),_=i(n(190)),h=i(n(104)),b=i(n(85)),y=i(n(192)),v=n(69),g=n(87),w=i(n(194)),x=function(){var e=a.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,r.default)(n):(i.prototype=n.prototype,new i)}}(),E=function(e){function t(t){var n=e.call(this,t)||this;return n.offsetPadding=40,n.rootElement=null,n.scrollPosition=0,n.closeMask=function(){var e=n.props,t=e.maskClosable,i=e.onClose;t&&i&&i()},n.enableRootScrolling=function(){n.props.preventRootScroll&&((0,g.removeStyleProperty)(document.body,"overflow"),(0,g.removeStyleProperty)(document.body,"height"),(0,g.removeStyleProperty)(n.rootElement,"height"),(0,g.removeStyleProperty)(n.rootElement,"overflow"),window.scrollTo(0,n.scrollPosition),n.scrollPosition=0)},n.onContainerClick=function(e){n.modal&&!n.modal.contains(e.target)&&n.closeMask()},n.unmountModal=function(){var e=n.props.afterClose;n.portal&&n.portal.unmountPortalImmediately(),n.setState({mount:!1}),"function"==typeof e&&e()},n.updateContentMaxHeight=function(){var e=n.state.contentMaxHeight,t=n.getContentMaxHeight();e!==t&&n.setState({contentMaxHeight:t})},n.state={contentMaxHeight:n.getContentMaxHeight(),mount:t.visible,visible:t.visible},n.updateContentHeightLater=(0,c.default)(n.updateContentMaxHeight,100),n}return x(t,e),t.prototype.componentDidMount=function(){this.listenWindowResize(),this.initBrowserInfo()},t.prototype.componentWillReceiveProps=function(e){e.visible?this.showModal():this.hideModal()},t.prototype.componentWillUnmount=function(){this.removeWindowResizeListener()},t.prototype.disableRootScrolling=function(){this.props.preventRootScroll&&this.rootElement&&(this.scrollPosition=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,document.body.style.overflow="hidden",document.body.style.height="100%",this.rootElement.style.overflow="hidden",this.rootElement.style.height="100%")},t.prototype.getContentMaxHeight=function(){var e=this.props.fullscreen;if(v.inBrowser){var t=window.innerHeight;return e?t:Math.ceil(t-2*this.offsetPadding)}},t.prototype.hideModal=function(){this.setState({visible:!1})},t.prototype.initBrowserInfo=function(){v.inBrowser&&(this.rootElement=document.documentElement)},t.prototype.listenWindowResize=function(){v.inBrowser&&window.addEventListener("resize",this.updateContentHeightLater,!1)},t.prototype.mountModal=function(e){void 0===e&&(e=function(){}),this.setState({mount:!0},function(){e()})},t.prototype.removeWindowResizeListener=function(){v.inBrowser&&window.removeEventListener("resize",this.updateContentHeightLater)},t.prototype.showModal=function(){var e=this,t=this.state.mount;this.disableRootScrolling(),t?this.setState({visible:!0}):this.mountModal(function(){e.setState({visible:!0})})},t.prototype.renderCloseBtn=function(){var e=this.props,t=e.closable,n=e.onClose,i=e.type,r=e.fullscreen;if(!t)return null;var a,l=(0,s.default)(w.default["close-btn"],w.default["close-btn-"+i],((a={})[w.default["modal-container-fullscreen"]]=r,a));return o.createElement("span",{className:l,onClick:n},o.createElement(d.default,{name:"times"}))},t.prototype.renderContent=function(){var e=this.props,t=e.children,n=e.withPadding,i=e.innerRef,r=e.fixOverScroll,a={maxHeight:this.state.contentMaxHeight+"px"};return o.createElement(u.default,{style:a,withPadding:n,innerRef:i,fixOverScroll:r},t)},t.prototype.renderFooter=function(){return this.props.footer||null},t.prototype.renderFixedElements=function(){var e=this.props.renderFixedElements;return"function"==typeof e?e():null},t.prototype.renderModal=function(){var e,t=this,n=this.props,i=n.position,r=n.fullscreen,a=(0,s.default)(w.default.modalContainer,w.default["modal-container-"+i],((e={})[w.default["modal-container-fullscreen"]]=r,e));return o.createElement("div",{className:a,onClick:this.onContainerClick},this.renderFixedElements(),o.createElement("div",{className:w.default.modal,ref:function(e){t.modal=e}},this.renderContent(),this.renderFooter(),this.renderCloseBtn())
1)},t.prototype.render=function(){var e=this,t=this.state,n=t.mount,i=t.visible,r=this.props,a=r.position,l=r.className,s=r.effect,c={scale:h.default,fadeInBottom:m.default,slideFade:_.default,fade:b.default,show:y.default},u=c[s||""];return"bottom"===a&&(u=c.fadeInBottom),n?o.createElement(f.default,{ref:function(t){e.portal=t},unmountOnExit:!1,visible:i,className:l},o.createElement(p.default,{onClose:this.closeMask,visible:i}),o.createElement(u,{in:i,onEnter:this.updateContentMaxHeight,onExit:this.enableRootScrolling,onExited:this.unmountModal,unmountOnExit:!0},this.renderModal())):null},t.propTypes={cancelText:l.default.string,closable:l.default.bool,maskClosable:l.default.bool,onClose:l.default.func,afterClose:l.default.func,preventRootScroll:l.default.bool,type:l.default.oneOf(["default"]),position:l.default.oneOf(["middle","bottom"]),effect:l.default.oneOf(["slideFade","scale","fadeInBottom","fade","show"]),visible:l.default.bool,fullscreen:l.default.bool,hasPadding:l.default.bool,innerRef:l.default.func,renderFixedElements:l.default.func,fixOverScroll:l.default.bool,className:l.default.string},t.defaultProps={cancelText:"取消",closable:!0,maskClosable:!0,onClose:function(){},preventRootScroll:!0,type:"default",position:"middle",effect:"slideFade",visible:!1,fullscreen:!1,withPadding:!0,fixOverScroll:!1,className:""},t.Content=u.default,t}(o.Component);t.default=E},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(13)),a=i(n(14)),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),l=i(n(71)),s=i(n(17)),c=i(n(81)),u=n(69),d=function(){var e=a.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,r.default)(n):(i.prototype=n.prototype,new i)}}(),p=function(e){function t(t){var n=e.call(this,t)||this;return n.state={visible:t.visible},n.unmountPortalImmediately=n.unmountFactories(0),n.unmountPortalLater=n.unmountFactories(t.timeout),n.initRootElement(),n}return d(t,e),t.prototype.componentDidMount=function(){this.props.visible&&this.mountPortal()},t.prototype.componentWillReceiveProps=function(e){var t=e.unmountOnExit,n=e.visible;n&&this.mountPortal(),!n&&t&&this.unmountPortalLater()},t.prototype.componentWillUnmount=function(){this.unmountPortalLater.cancel&&this.unmountPortalLater.cancel(),this.unmountPortalImmediately()},t.prototype.initRootElement=function(){this.el=u.inBrowser?document.createElement("div"):null,this.mountPortal()},t.prototype.mountPortal=function(){var e=this.props,t=e.mountNode,n=e.className;u.inBrowser&&t&&this.el&&(t.contains(this.el)||(this.el.className=n||"",t.appendChild(this.el)))},t.prototype.unmountPortal=function(){var e=this.props.mountNode;u.inBrowser&&e&&this.el&&e.contains(this.el)&&e.removeChild(this.el)},t.prototype.unmountFactories=function(e){return void 0===e&&(e=0),e?(0,c.default)(this.unmountPortal.bind(this),e):this.unmountPortal.bind(this)},t.prototype.render=function(){if(!this.el)return null;var e=this.props.children;return l.default.createPortal(e,this.el)},t.propTypes={mountNode:s.default.object,timeout:s.default.number,unmountOnExit:s.default.bool,visible:s.default.bool,className:s.default.string},t.defaultProps={mountNode:u.inBrowser?document.body:null,timeout:1e3,unmountOnExit:!0,visible:!0,className:""},t}(o.Component);t.default=p},function(e,t){e.exports={"fade-in-bottom-enter":"m-3WeTt",fadeInBottomEnter:"m-3WeTt","fade-in-bottom-enter-active":"m-2_fNz",fadeInBottomEnterActive:"m-2_fNz","fade-in-bottom-exit":"m-29zRf",fadeInBottomExit:"m-29zRf","fade-in-bottom-exit-active":"m-bsi6l",fadeInBottomExitActive:"m-bsi6l"}},function(e,t){e.exports=u},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function r(e){return"boolean"==typeof e?e?s:c:l({},c,e)}
1Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(67)),o=i(n(16));t.getOverflowOptions=r,t.default=function(e){void 0===e&&(e={});var t=e.arrowWidth,n=void 0===t?5:t,i=e.horizontalArrowShift,o=void 0===i?16:i,s=e.verticalArrowShift,c=void 0===s?12:s,p=e.autoAdjustOverflow,f=void 0===p||p,m={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(o+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(c+n)]},topRight:{points:["br","tc"],offset:[o+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(c+n)]},bottomRight:{points:["tr","bc"],offset:[o+n,4]},rightBottom:{points:["bl","cr"],offset:[4,c+n]},bottomLeft:{points:["tl","bc"],offset:[-(o+n),4]},leftBottom:{points:["br","cl"],offset:[-4,c+n]}};return(0,a.default)(m).forEach(function(t){m[t]=e.arrowPointAtCenter?l({},m[t],{overflow:r(f),targetOffset:u}):l({},d[t],{overflow:r(f)})}),m};var l=o.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},s={adjustX:1,adjustY:1},c={adjustX:0,adjustY:0},u=[0,0],d={left:{points:["cr","cl"],overflow:s,offset:[-3,0],targetOffset:u},right:{points:["cl","cr"],overflow:s,offset:[3,0],targetOffset:u},top:{points:["bc","tc"],overflow:s,offset:[0,-3],targetOffset:u},bottom:{points:["tc","bc"],overflow:s,offset:[0,3],targetOffset:u},topLeft:{points:["bl","tl"],overflow:s,offset:[0,-3],targetOffset:u},leftTop:{points:["tr","tl"],overflow:s,offset:[-3,0],targetOffset:u},topRight:{points:["br","tr"],overflow:s,offset:[0,-3],targetOffset:u},rightTop:{points:["tl","tr"],overflow:s,offset:[3,0],targetOffset:u},bottomRight:{points:["tr","br"],overflow:s,offset:[0,3],targetOffset:u},rightBottom:{points:["bl","br"],overflow:s,offset:[3,0],targetOffset:u},bottomLeft:{points:["tl","bl"],overflow:s,offset:[0,3],targetOffset:u},leftBottom:{points:["br","bl"],overflow:s,offset:[-3,0],targetOffset:u}}},function(e,t){},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(13)),a=i(n(14)),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),l=i(n(17)),s=i(n(25)),c=i(n(94)),u=function(){var e=a.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,r.default)(n):(i.prototype=n.prototype,new i)}}(),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.render=function(){var e,t=this.props,n=t.active,i=t.disabled,r=t.children,a=t.className,l=t.style,u=(0,s.default)(c.default.tabPanel,a,((e={})[c.default.tabPanelActive]=n,e[c.default.tabPanelDisabled]=i,e));return o.createElement("div",{style:l,className:u},r)},t.propTypes={active:l.default.bool,tab:l.default.oneOfType([l.default.string,l.default.node]),disabled:l.default.bool},t}(o.PureComponent);t.default=d},function(e,t,n){var i=n(33),r=n(19)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:a?i(t):"Object"==(o=i(t))&&"function"==typeof t.callee?"Arguments":o}},function(e,t,n){var i=n(5),r=n(41),a=n(19)("species");e.exports=function(e,t){var n,o=i(e).constructor;return void 0===o||null==(n=i(o)[a])?t:r(n)}},function(e,t,n){var i,r,a,o=n(27),l=n(235),s=n(44),c=n(30),u=n(0),d=u.process,p=u.setImmediate,f=u.clearImmediate,m=u.MessageChannel,_=u.Dispatch,h=0,b={},y="onreadystatechange",v=function(){var e=+this;if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},g=function(e){v.call(e.data)};p&&f||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return b[++h]=function(){l("function"==typeof e?e:Function(e),t)},i(h),h},f=function(e){delete b[e]},"process"==n(33)(d)?i=function(e){d.nextTick(o(v,e,1))}:_&&_.now?i=function(e){_.now(o(v,e,1))}:m?(a=(r=new m).port2,r.port1.onmessage=g,i=o(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(e){u.postMessage(e+"","*")},u.addEventListener("message",g,!1)):i=y in c("script")?function(e){s.appendChild(c("script"))[y]=function(){s.removeChild(this),v.call(e)}}:function(e){setTimeout(o(v,e,1),0)}),e.exports={set:p,clear:f}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var i=n(5),r=n(3),a=n(103);e.exports=function(e,t){if(i(e),r(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";
1function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(25)),u=i(n(17)),d=i(n(111)),p=i(n(242)),f=i(n(135)),m=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),_=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},h=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n},b=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.timeout=null,t.state={visible:!1},t}return m(t,e),t.prototype.componentDidMount=function(){var e=this,n=this.props.duration,i=void 0===n?t.defaultProps.duration:n;this.setState({visible:!0}),i>0&&(this.timeout=setTimeout(function(){e.setState({visible:!1}),e.timeout=null},i))},t.prototype.componentWillUnmount=function(){this.timeout&&clearTimeout(this.timeout)},t.prototype.componentWillReceiveProps=function(e){var n=this.state.visible,i=this.props.duration,r=void 0===i?t.defaultProps.duration:i;e.visible!==n&&(r<=0||this.timeout)&&this.setState({visible:e.visible})},t.prototype.render=function(){var e=this.props,t=e.content,n=e.position,i=e.className,r=(e.visible,e.onHide),a=(e.duration,h(e,["content","position","className","visible","onHide","duration"])),o=(0,c.default)(f.default.toast,i),l=(0,c.default)(f.default.toastWrapper,f.default["toast-wrapper--"+n]),u="top"===n?p.default:d.default;return s.createElement(u,{in:this.state.visible,unmountOnExit:!0,onExited:r},s.createElement("div",{className:l},s.createElement("span",_({className:o},a),t)))},t.propTypes={content:u.default.oneOfType([u.default.string,u.default.node]).isRequired,position:u.default.oneOf(["top","bottom"]),duration:u.default.number,visible:u.default.bool,onHide:u.default.func},t.defaultProps={position:"bottom",duration:2500},t}(s.PureComponent);t.default=b},function(e,t){e.exports={"toast-wrapper":"m-Wqwlo",toastWrapper:"m-Wqwlo","toast-wrapper--top":"m-3SZSA",toastWrapperTop:"m-3SZSA","toast-wrapper--bottom":"m-3oniO",toastWrapperBottom:"m-3oniO",toast:"m-3g_6x","toast-mask":"m-1eZW0",toastMask:"m-1eZW0"}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(17)),u=i(n(105)),d=i(n(66)),p=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),f=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.name,i=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n}(e,["children","name"]);return s.createElement(u.default,f({radius:"large",square:!0},i),s.createElement(d.default,{name:""+n}),t)}
1,t.propTypes={name:c.default.string.isRequired},t}(s.PureComponent);t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(138));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(17)),u=i(n(25)),d=i(n(104)),p=i(n(139)),f=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),m=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},_=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n},h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={visibleForAnimation:!0},t}return f(t,e),t.prototype.componentWillReceiveProps=function(e){var t=this,n=this.props,i=n.popOnChange,r=n.visible,a=n.count,o=n.showZero,l=this.isBadgeVisible(r,a,o),s=this.isBadgeVisible(e.visible,e.count,e.showZero);e.count!==this.props.count&&i&&s&&l&&this.setState({visibleForAnimation:!1},function(){t.setState({visibleForAnimation:!0})})},t.prototype.isBadgeVisible=function(e,t,n){return!(!e||0===t&&!n)},t.prototype.renderBadge=function(e,t){void 0===t&&(t=!1);var n=e.className,i=e.count,r=void 0===i?0:i,a=e.showZero,o=e.size,l=e.status,c=e.offset,f=e.overflowCount,h=void 0===f?99:f,b=e.type,y=e.visible,v=(e.popOnChange,_(e,["className","count","showZero","size","status","offset","overflowCount","type","visible","popOnChange"])),g=(0,u.default)(p.default.badge,p.default["badge-"+l],((k={})[p.default["badge-small"]]="small"===o,k[p.default["badge-bordered"]]="bordered"===b,k),n),w=(0,u.default)(p.default["badge-outer-wrapper"],((S={})[p.default.positioned]=t,S)),x={};if(c){var E=c[0],O=c[1];x.right=E+"px",x.top=O+"px"}var k,S,P="string"==typeof r?r:r>h?h+"+":r,T=this.state.visibleForAnimation&&this.isBadgeVisible(y,r,a),N=s.createElement("sup",m({className:g},v),s.createElement("span",{className:p.default.text},P)),j=t?s.createElement("div",{className:p.default["badge-container"],style:x},N):N;return s.createElement("div",{className:w},s.createElement(d.default,{appear:!0,in:T,unmountOnExit:!0},j))},t.prototype.renderBadgeWithChild=function(e){var t=e.children,n=_(e,["children"]),i=s.Children.only(t),r=this.renderBadge(n,!0),a=s.createElement(s.Fragment,null,i.props.children,r);return s.cloneElement(i,{children:a})},t.prototype.render=function(){var e=this.props,t=e.children,n=_(e,["children"]);return t?this.renderBadgeWithChild(this.props):this.renderBadge(n)},t.propTypes={count:c.default.oneOfType([c.default.number,c.default.string]),offset:c.default.arrayOf(c.default.number),showZero:c.default.bool,size:c.default.oneOf(["medium","small"]),status:c.default.oneOf(["default","primary","success","danger","warning"]),type:c.default.oneOf(["bordered","flat"]),visible:c.default.bool,popOnChange:c.default.bool},t.defaultProps={count:0,overflowCount:99,showZero:!1,size:"medium",status:"default",type:"flat",visible:!0,popOnChange:!1},t}(s.PureComponent);t.default=h},function(e,t){e.exports={badge:"m-1iVeB","badge-default":"m-36TEn",badgeDefault:"m-36TEn","badge-primary":"m-22fhF",badgePrimary:"m-22fhF","badge-success":"m-18KV9",badgeSuccess:"m-18KV9","badge-danger":"m-TUDGQ",badgeDanger:"m-TUDGQ","badge-warning":"m-WOSGb",badgeWarning:"m-WOSGb","badge-bordered":"m-2XuxM",badgeBordered:"m-2XuxM","badge-small":"m-3a9gR",badgeSmall:"m-3a9gR",text:"m-35z7W","badge-container":"m-1LgN0",badgeContainer:"m-1LgN0","badge-outer-wrapper":"m-yp2SH",badgeOuterWrapper:"m-yp2SH",positioned:"m-27MOp"}},function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(141));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(17)),u=i(n(25)),d=i(n(142)),p=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),f=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},m=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n},_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.renderButtons=function(){var e=this.props,t=e.children,n=e.size,i=e.type;return s.Children.map(t,function(e){var t=e.props;return s.cloneElement(e,f({size:n,type:i},t))})},t.prototype.render=function(){var e,t=this.props,n=t.className,i=t.type,r=m(t,["className","type"]),o=(0,u.default)(d.default["button-group"],((e={})[d.default["group-default"]]="default"===i,e[d.default["group-dark-bordered"]]="dark-bordered"===i,e),n),l=(0,a.default)({},r);return delete l.size,s.createElement("div",f({className:o},l),this.renderButtons())},t.propTypes={size:c.default.oneOf(["huge","large","medium","small","mini"]),type:c.default.oneOf(["brand","dark-bordered","special","default","primary","danger","warning","success","ghost"])},t.defaultProps={size:"medium",type:"default"},t}(s.PureComponent);t.default=_},function(e,t){e.exports={"button-group":"m-3TbAa",buttonGroup:"m-3TbAa","group-default":"m-23nPs",groupDefault:"m-23nPs","group-dark-bordered":"m-1sB9Z",groupDarkBordered:"m-1sB9Z"}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(16)),a=i(n(13)),o=i(n(14)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),s=i(n(17)),c=i(n(144)),u=n(146),d=function(){var e=o.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,a.default)(n):(i.prototype=n.prototype,new i)}}(),p=r.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.saveSlick=function(e){t.slick=e},t}return d(t,e),t.prototype.slickNext=function(){this.slick.slickNext()},t.prototype.slickPrev=function(){this.slick.slickPrev()},t.prototype.slickGoTo=function(e,t){this.slick.slickGoTo(e,t)},t.prototype.render=function(){var e=this.props;return l.createElement(c.default,p({ref:this.saveSlick},e))},t.propTypes={prevArrow:s.default.node,nextArrow:s.default.node},t.defaultProps={prevArrow:l.createElement(u.PrevArrow,null),nextArrow:l.createElement(u.NextArrow,null)},t}(l.Component);t.default=f},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(16)),a=i(n(13)),o=i(n(14)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),s=i(n(17)),c=i(n(81)),u=i(n(25)),d=function(){var e=o.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,a.default)(n):(i.prototype=n.prototype,new i)}}(),p=r.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};"undefined"!=typeof window&&(window.matchMedia=window.matchMedia||function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}});var f=n(145).default,m=function(e){function t(t){var n=e.call(this,t)||this;return n.onWindowResized=function(){n.props.autoplay&&n.slick&&n.slick.innerSlider&&n.slick.innerSlider.autoPlay&&n.slick.innerSlider.autoPlay()},n.saveSlick=function(e){n.slick=e},n.onWindowResized=(0,c.default)(n.onWindowResized,500,{leading:!1}),n}return d(t,e),t.prototype.componentDidMount=function(){this.props.autoplay&&window.addEventListener("resize",this.onWindowResized),this.innerSlider=this.slick&&this.slick.innerSlider},t.prototype.componentWillUnmount=function(){this.props.autoplay&&window.removeEventListener("resize",this.onWindowResized)},t.prototype.slickNext=function(){this.slick.slickNext()},t.prototype.slickPrev=function(){this.slick.slickPrev()},t.prototype.slickGoTo=function(e,t){this.slick.slickGoTo(e,t)},t.prototype.render=function(){var e=p({},this.props);"fade"===e.effect&&(e.fade=!0);var t=e.vertical?"carousel-vertical":"carousel",n=(0,u.default)(e.className,t);return l.createElement("div",{className:n},l.createElement(f,p({ref:this.saveSlick},e)))}
1,t.propTypes={className:s.default.string},t.defaultProps={dots:!1,arrows:!1,draggable:!0,infinite:!0,slidesToShow:1,slidesToScroll:1,speed:500},t}(l.PureComponent);t.default=m},function(e,t){e.exports=d},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.NextArrow=t.PrevArrow=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),a=i(n(66)),o=i(n(147));t.PrevArrow=function(e){var t=e.className,n=e.onClick;return r.createElement("div",{className:t,onClick:n},r.createElement(a.default,{name:"angle-left",className:o.default.angleLeft}))},t.NextArrow=function(e){var t=e.className,n=e.onClick;return r.createElement("div",{className:t,onClick:n},r.createElement(a.default,{name:"angle-right",className:o.default.angleRight}))}},function(e,t){e.exports={"slick-loading":"m-1MHwE",slickLoading:"m-1MHwE","angle-left":"m-1WjPC",angleLeft:"m-1WjPC","angle-right":"m-1kalO",angleRight:"m-1kalO"}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(25)),u=i(n(17)),d=i(n(66)),p=i(n(149)),f=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),m=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},_=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.renderArrow=function(){return s.createElement(d.default,{name:"angle-right",className:p.default.icon})},t.prototype.renderIcon=function(e){return s.createElement(d.default,{name:e,className:p.default.cellIcon})},t.prototype.render=function(){var e,n=this.props,i=n.className,r=n.showArrow,a=n.extra,o=n.active,l=n.children,u=n.tag,d=void 0===u?t.defaultProps.tag:u,f=n.icon,h=void 0===f?t.defaultProps.icon:f,b=n.renderDesc,y=_(n,["className","showArrow","extra","active","children","tag","icon","renderDesc"]),v=b?s.createElement("div",{className:p.default.cellDesc},b()):"",g=(0,c.default)(p.default.cell,((e={})[p.default.cellActive]=o,e),i),w=a||r&&this.renderArrow(),x=h?h&&this.renderIcon(h):h,E=d;return s.createElement(E,m({className:g},y),s.createElement("div",{className:p.default.cellHeader},s.createElement("div",{className:p.default.cellLeft},x,l),s.createElement("div",{className:p.default.cellRight},w)),v)},t.propTypes={header:u.default.oneOfType([u.default.string,u.default.node]),extra:u.default.oneOfType([u.default.string,u.default.node]),showArrow:u.default.bool,active:u.default.bool,tag:u.default.oneOfType([u.default.func,u.default.string]),icon:u.default.string,renderDesc:u.default.func},t.defaultProps={showArrow:!0,tag:"div",icon:""},t}(s.PureComponent);t.default=h},function(e,t){e.exports={cell:"m-1M0tP","cell-header":"m-1UuJI",cellHeader:"m-1UuJI","cell-icon":"m-Xrahp",cellIcon:"m-Xrahp","cell-active":"m-4PfeI",cellActive:"m-4PfeI","cell-left":"m-3RCO6",cellLeft:"m-3RCO6","cell-right":"m-2rbuV",cellRight:"m-2rbuV","cell-desc":"m-2ut9V",cellDesc:"m-2ut9V",icon:"m-18iay"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(151));t.default=i.default},function(e,t,n){"use strict";
1function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(25)),u=i(n(17)),d=i(n(152)),p=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),f=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},m=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n},_=function(e){function t(t){var n=e.call(this,t)||this;return n.handleChange=function(e){var t=n.props,i=t.disabled,r=t.onChange;"function"!=typeof r||i||r(e)},n.handleClick=function(e){var t=n.props,i=t.disabled,r=t.onClick;e&&e.stopPropagation(),"function"!=typeof r||i||(n.setState(function(e){return{checked:!e.checked}}),r(e))},n.state={checked:t.checked},n}return p(t,e),t.prototype.componentWillReceiveProps=function(e){e.checked!==this.state.checked&&this.setState({checked:e.checked})},t.prototype.render=function(){var e=this.props,t=e.className,n=e.disabled,i=m(e,["className","disabled"]),r=n?"Disabled":this.state.checked?"Checked":"NoChecked",a=(0,c.default)(d.default.checkboxInput,d.default["checkboxInput"+r],t);return s.createElement("input",f({},i,{type:"checkbox",checked:this.state.checked,className:a,disabled:n,onChange:this.handleChange,onClick:this.handleClick}))}
1,t.propTypes={checked:u.default.bool,className:u.default.string,disabled:u.default.bool,onChange:u.default.func,onClick:u.default.func,style:u.default.object},t.defaultProps={checked:!1,disabled:!1},t}(s.Component);t.default=_},function(e,t){e.exports={checkboxInput:"m-18Gti",checkboxInputChecked:"m-1kBeN",checkboxInputNoChecked:"m-3Yfo3",checkboxInputDisabled:"m-28NkA"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(86));t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(155));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(25)),u=i(n(86)),d=i(n(156)),p=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),f=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={active:!1},t.onEffectStart=function(){t.setState({active:!0})},t.onEffectEnd=function(){t.setState({active:!1})},t}return p(t,e),t.prototype.renderMaskEffect=function(){var e=this.state.active;if(!e)return null;var t,n=(0,c.default)(d.default.effect,d.default.mask,((t={})[d.default.active]=e,t));return s.createElement("div",{className:n})},t.prototype.render=function(){var e=this.props,t=e.children,n=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n}(e,["children"]),i=this.renderMaskEffect();return s.createElement(u.default,f({effect:i,eventSource:["click","touch"],onEffectStart:this.onEffectStart,onEffectEnd:this.onEffectEnd},n),t)},t}(s.PureComponent);t.default=m},function(e,t){e.exports={effect:"m-1FA_h",mask:"m-3hNGr",active:"m-3t0Lo"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(158));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(17)),u=i(n(86)),d=i(n(159)),p=i(n(116)),f=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),m=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={current:null,ripples:[]},t.createRipple=function(){var e=t.state.ripples,n="ripple-"+ +new Date;e.push(n),t.setState({current:n,ripples:e})},t.onEffectStart=function(){t.createRipple()},t.onEffectEnd=function(){t.setState({current:null})},t.removeRipple=function(e){var n=t.state.ripples,i=n.findIndex(function(t){return t===e});-1!==i&&(n.splice(i,1),t.setState({ripples:n}))},t}return f(t,e),t.prototype.renderEffect=function(){var e=this,t=this.props.color,n=this.state,i=n.
1current,r=n.ripples.map(function(n){return s.createElement(d.default,{active:n===i,afterLeave:e.removeRipple.bind(e,n),color:t,key:n})});return r.length?s.createElement("div",{className:p.default.effect},r):null},t.prototype.render=function(){var e=this.props,t=e.children,n=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n}(e,["children"]),i=this.renderEffect();return s.createElement(u.default,m({effect:i,eventSource:["click","touch"],onEffectStart:this.onEffectStart,onEffectEnd:this.onEffectEnd},n),t)},t.propTypes={color:c.default.oneOfType([c.default.string,c.default.oneOf(["primary","secondary","dark","gray","light","danger","success","warning","white"])])},t.defaultProps={color:"dark"},t}(s.Component);t.default=_},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(13)),a=i(n(14)),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),l=i(n(17)),s=i(n(25)),c=n(106),u=i(n(116)),d=function(){var e=a.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,r.default)(n):(i.prototype=n.prototype,new i)}}(),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={status:"initial"},t.statusTimer=null,t.timer=null,t}return d(t,e),t.prototype.componentDidMount=function(){var e=this.props.active;this.updateStatus(e)},t.prototype.componentWillReceiveProps=function(e){var t=e.active;this.updateStatus(t)},t.prototype.componentWillUnmount=function(){this.timer&&window.clearTimeout(this.timer),this.statusTimer&&cancelAnimationFrame(this.statusTimer)},t.prototype.isThemeColor=function(e){return t.THEME_COLORS.includes(e)},t.prototype.updateStatus=function(e){var t=this;this.statusTimer&&cancelAnimationFrame(this.statusTimer),this.statusTimer=(0,c.requestAnimationFrame)(function(){if(e)return t.setState({status:"enter"}),void(t.statusTimer=null);var n=t.props.afterLeave;t.setState({status:"leave"},function(){window&&(t.timer&&window.clearTimeout(t.timer),t.timer=window.setTimeout(function(){n&&n(),t.timer=null},500))}),t.statusTimer=null})},t.prototype.render=function(){var e,t=this.props.color,n=this.state.status,i=this.isThemeColor(t||""),r=(0,s.default)(u.default.ripple,((e={})[u.default.enter]="enter"===n,e[u.default.leave]="leave"===n,e[u.default["ripple-"+t]]=i,e)),a={};return i||(a.borderColor=t),o.createElement("div",{className:r,style:a})},t.THEME_COLORS=["primary","secondary","dark","gray","light","danger","success","warning","white"],t.propTypes={active:l.default.bool,afterLeave:l.default.func,color:l.default.oneOfType([l.default.string,l.default.oneOf(t.THEME_COLORS)])},t.defaultProps={active:!1,afterLeave:function(){},color:"dark"},t}(o.PureComponent);t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(161));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(17)),u=i(n(25)),d=i(n(107)),p=i(n(108)),f=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),m=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},_=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.render=function(){var e=this.props,t=e.col,n=e.gutter,i=e.size,r=e.children,a=e.className,o=e.offset,l=_(e,["col","gutter","size","children","className","offset"]),c=i||t,f=(0,u.default)(a,p.default.col,p.default[(0,d.default)("col",t)],p.default[(0,d.default)("col",n)],p.default[(0,d.default)("col",t,c)]);return o&&(f=(0,u.default)(f,p.default[(0,d.default)("col",t,"offset",o)])),s.createElement("div",m({className:f},l),r)}
1,t.propTypes={col:c.default.number,gutter:c.default.string,size:c.default.number,offset:c.default.number},t}(s.PureComponent);t.default=h},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(67)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(117)),u=i(n(25)),d=i(n(163)),p=i(n(165)),f=i(n(17)),m=n(72),_=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),h=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};n(166);var b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return _(t,e),t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,i=t.className,r=void 0===i?"":i,a=t.tight,o=t.border,l=this.props.theme||this.context.theme||m.THEMES.LIGHT,d=(0,u.default)(((e={})[n+"-tight"]=a,e[n+"-border-top"]="top"===o,e[n+"-border-bottom"]="bottom"===o,e[n+"-dark"]=l===m.THEMES.DARK,e),r);return s.createElement(c.default,h({},this.props,{className:d}))},t.Panel=p.default,t.propTypes={theme:f.default.oneOf((0,r.default)(m.THEMES).map(function(e){return m.THEMES[e]})),tight:f.default.bool,border:f.default.oneOf(["top","bottom","both"]),openAnimation:f.default.object,prefixCls:f.default.string},t.defaultProps={prefixCls:"quark-collapse",tight:!1,border:"both",openAnimation:h({},d.default,{appear:function(){}})},t}(s.Component);t.default=b},function(e,t,n){"use strict";function i(e,t,n){var i,o;return(0,r.default)(e,"quark-collapse-motion-collapse",{start:function(){t?(i=e.offsetHeight,e.style.height="0px",e.style.opacity="0"):(e.style.height=e.offsetHeight+"px",e.style.opacity="1")},active:function(){o=(0,a.requestAnimationFrame)(function(){e.style.height=(t?i:0)+"px",e.style.opacity=t?"1":"0"})},end:function(){o&&(0,a.cancelAnimationFrame)(o),e.style.height="",e.style.opacity="",n()}})}Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(164)),a=n(106),o={enter:function(e,t){return i(e,!0,t)},leave:function(e,t){return i(e,!1,t)},appear:function(e,t){return i(e,!0,t)}};t.default=o},function(e,t){e.exports=p},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(16)),a=i(n(13)),o=i(n(14)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),s=i(n(117)),c=i(n(25)),u=i(n(66)),d=i(n(17)),p=function(){var e=o.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,a.default)(n):(i.prototype=n.prototype,new i)}}(),f=r.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.renderHeader=function(){var e=this.props,t=e.header,n=e.iconStyle,i=e.title,r=e.showIcon,a=e.prefixCls;if(t)return t;var o=r?l.createElement("div",{className:a+"-quark-collapse-header-icon"},l.createElement(u.default,{className:a+"-header-icon "+a+"-header-icon-minus",name:"minus-light",style:n}),l.createElement(u.default,{className:a+"-header-icon "+a+"-header-icon-plus",name:"plus-light",style:n})):"";return l.createElement("div",{className:a+"-header-inner"},l.createElement("div",{className:a+"-header-title"},i),o)},t.prototype.render=function(){var e=this.props.className;this.props=f({},this.props,{showArrow:!1,header:this.renderHeader()});var t=(0,c.default)(e);return l.createElement(s.default.Panel,f({},this.props,{className:t}))}
1,t.propTypes={showIcon:d.default.bool,iconStyle:d.default.object,title:d.default.oneOfType([d.default.node,d.default.string])},t.defaultProps={showIcon:!0},t}(l.Component);t.default=m},function(e,t){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(168));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(13)),a=i(n(14)),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),l=i(n(17)),s=i(n(25)),c=i(n(169)),u=function(){var e=a.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,r.default)(n):(i.prototype=n.prototype,new i)}}(),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.render=function(){var e=this.props,t=e.height,n=e.className,i=(0,s.default)(c.default.divider,n);return o.createElement("div",{className:i,style:{height:t+"px"}})}
1,t.propTypes={height:function(e,t,n){if(e[t]&&("number"!=typeof e[t]||e[t]%8!=0))return new Error("Invalid prop ` "+t+" ` supplied to ` "+n+" `, Validation failed.")},className:l.default.string},t}(o.Component);t.default=d},function(e,t){e.exports={divider:"m-lCk-C"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(171));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(67)),a=i(n(24)),o=i(n(16)),l=i(n(13)),s=i(n(14)),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),u=i(n(25)),d=i(n(17)),p=i(n(172)),f=n(72),m=function(){var e=s.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,l.default)(n):(i.prototype=n.prototype,new i)}}(),_=o.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},h=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof a.default){var r=0;for(i=(0,a.default)(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.htmlType,i=e.size,r=e.type,a=e.addonAfter,o=e.addonBefore,l=e.suffix,s=e.inputRef,d=h(e,["className","htmlType","size","type","addonAfter","addonBefore","suffix","inputRef"]),m=this.props.theme||this.context.theme||f.THEMES.LIGHT,b=(0,u.default)(p.default.input,p.default["input-"+r],p.default["input-size-"+i],p.default["input-theme-"+m],t),y=c.createElement("input",_({type:n,className:b,ref:s},d));if(a||o||l){var v=(0,u.default)(p.default.inputGroup,p.default["input-group-"+r],p.default["input-group-size-"+i],p.default["input-group-theme-"+m],t);return c.createElement("div",{className:v},o?c.createElement("span",{className:p.default.inputGroupAddon},o):"",y,a?c.createElement("span",{className:p.default.inputGroupAddon},a):"",l?c.createElement("span",{className:p.default.inputGroupSuffix},l):"")}return y}
1,t.propTypes={htmlType:d.default.string,size:d.default.oneOf(["large","medium","small"]),type:d.default.oneOf(["default","success","danger","warning"]),theme:d.default.oneOf((0,r.default)(f.THEMES).map(function(e){return f.THEMES[e]})),addonAfter:d.default.node,addonBefore:d.default.node,suffix:d.default.node,inputRef:d.default.func},t.defaultProps={htmlType:"text",size:"medium",type:"default",theme:"light",inputRef:function(){}},t.contextTypes={theme:d.default.string},t}(c.PureComponent);t.default=b},function(e,t){e.exports={input:"m-3OCCt","input-size-large":"m-279g4",inputSizeLarge:"m-279g4","input-size-medium":"m-1qZ9R",inputSizeMedium:"m-1qZ9R","input-size-small":"m-1NI2J",inputSizeSmall:"m-1NI2J","input-theme-light":"m-37uUR",inputThemeLight:"m-37uUR","input-default":"m-2qpuN",inputDefault:"m-2qpuN","input-success":"m-3C13b",inputSuccess:"m-3C13b","input-danger":"m-18Ejo",inputDanger:"m-18Ejo","input-warning":"m-2IaCm",inputWarning:"m-2IaCm","input-theme-dark":"m-2ZkTR",inputThemeDark:"m-2ZkTR","input-group":"m-SuH-V",inputGroup:"m-SuH-V","input-group-size-large":"m-1I5MB",inputGroupSizeLarge:"m-1I5MB","input-group-size-medium":"m-2beH2",inputGroupSizeMedium:"m-2beH2","input-group-size-small":"m-13atH",inputGroupSizeSmall:"m-13atH","input-group-addon":"m-BbUFg",inputGroupAddon:"m-BbUFg","input-group-suffix":"m-1EA8w",inputGroupSuffix:"m-1EA8w","input-group-theme-light":"m-1x3dz",inputGroupThemeLight:"m-1x3dz","input-group-theme-dark":"m-15Da1",inputGroupThemeDark:"m-15Da1"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(174));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(17)),u=i(n(175)),d=i(n(176)),p=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),f=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},m=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n},_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(){var e=this.props,t=e.options,n=m(e,["options"]),i=t||{},r=s.createElement(d.default,null);return s.createElement(u.default,f({offset:50,once:!0,placeholder:r},i),s.createElement("img",f({},n)))}
1,t.propTypes={options:c.default.object},t}(s.PureComponent);t.default=_},function(e,t){e.exports=f},function(e,t,n){"use strict";function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(10)),a=i(n(177));t.default=function(){return r.createElement("span",{className:a.placeholder},r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16px",height:"16px",fill:"#616466",viewBox:"0 0 512 512"},r.createElement("path",{d:"M460.116 373.846l-20.823-12.022c-5.541-3.199-7.54-10.159-4.663-15.874 30.137-59.886 28.343-131.652-5.386-189.946-33.641-58.394-94.896-95.833-161.827-99.676C261.028 55.961 256 50.751 256 44.352V20.309c0-6.904 5.808-12.337 12.703-11.982 83.556 4.306 160.163 50.864 202.11 123.677 42.063 72.696 44.079 162.316 6.031 236.832-3.14 6.148-10.75 8.461-16.728 5.01z"})))}},function(e,t){e.exports={placeholder:"m-1dXq0",spin:"m-2jbDS"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(179));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.DISPLAY=t.SPEED=t.SIZE=void 0;var r,a=i(n(24)),o=i(n(16)),l=i(n(13)),s=i(n(14)),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),u=i(n(25)),d=i(n(17)),p=i(n(180)),f=n(182),m=n(87),_=i(n(183)),h=function(){var e=s.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,l.default)(n):(i.prototype=n.prototype,new i)}}(),b=o.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},y=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof a.default){var r=0;for(i=(0,a.default)(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},v=t.SIZE={SMALL:"small",NORMAL:"normal",LARGE:"large",HUGE:"huge"},g=t.SPEED={SLOW:"slow",NORMAL:"normal",FAST:"fast"},w=t.DISPLAY={INLINE:"inline",FIX_WITH_MASK:"fix-mask"},x=((r={})[w.INLINE]={position:"relative",left:function(){return"auto"},top:function(){return"auto"}},r[w.FIX_WITH_MASK]={position:"absolute",left:function(e){return"calc(50% - "+e/2+"px)"},top:function(e){return"calc(50% - "+e/2+"px)"}},r),E=function(e){function t(t){var n=e.call(this,t)||this;return n.enableRootScrolling=n.enableRootScrolling.bind(n),n}return h(t,e),t.prototype.componentDidMount=function(){this.rootElement=document.querySelector("html"),this.scrollbarWidth=(0,f.getScrollBarWidth)();var e=this.props,t=e.show,n=e.display;t&&this.isWithMask(n)&&this.disableRootScrolling()},t.prototype.componentWillReceiveProps=function(e){var t=e.display,n=e.show;if(this.isWithMask(t)){if(n===this.props.show)return;n&&this.disableRootScrolling()}},t.prototype.componentWillUnmount=function(){this.rootElement=null,this.scrollbarWidth=0},t.prototype.disableRootScrolling=function(){this.props.preventBackScroll&&this.rootElement&&(this.rootElement.style.overflow="hidden",this.rootElement.style.paddingRight=this.scrollbarWidth+"px")},t.prototype.enableRootScrolling=function(){this.props.preventBackScroll&&((0,m.removeStyleProperty)(this.rootElement,"overflow"),(0,m.removeStyleProperty)(this.rootElement,"padding-right"))},t.prototype.isWithMask=function(e){return e===w.FIX_WITH_MASK},t.prototype.render=function(){var e=this.props,t=e.className,n=e.display,i=e.show,r=e.size,a=e.speed,o=y(e,["className","display","show","size","speed"]),l=b({},o);delete l.preventBackScroll;var s={width:r+"px",height:r+"px",position:x[""+n].position,left:x[""+n].left(""+r),top:x[""+n].top(""+r)},d=(0,u.default)(_.default["loading-"+n],t),f=(0,u.default)(_.default.icon,_.default["icon-"+n],_.default["icon-"+r],_.default["icon-"+a],t);return c.createElement(p.default,{in:i,onExited:this.enableRootScrolling,appear:!0,mountOnEnter:!0,unmountOnExit:!0},c.createElement("div",b({className:d},l),c.createElement("span",{className:f,style:s})))}
1,t.propTypes={className:d.default.string,display:d.default.oneOf([w.INLINE,w.FIX_WITH_MASK]),preventBackScroll:d.default.bool,show:d.default.bool,size:d.default.oneOfType([d.default.oneOf([v.SMALL,v.NORMAL,v.LARGE,v.HUGE]),d.default.number]),speed:d.default.oneOfType([d.default.oneOf([g.SLOW,g.NORMAL,g.FAST]),d.default.number]),style:d.default.object},t.defaultProps={display:w.INLINE,preventBackScroll:!0,show:!0,size:24,speed:g.NORMAL},t}(c.Component);t.default=E},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),l=n(65),s=i(n(181)),c=i(n(68)),u=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},d={enter:300,exit:200},p=c.default.genTransitionClassNames("fade-in",s.default);t.default=function(e){var t=e.children,n=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n}(e,["children"]);return o.createElement(l.CSSTransition,u({},n,{timeout:d,classNames:p}),t)}},function(e,t){e.exports={"fade-in-enter":"m-3icWg",fadeInEnter:"m-3icWg","fade-in-enter-active":"m-1F3fZ",fadeInEnterActive:"m-1F3fZ","fade-in-exit":"m-sIKi6",fadeInExit:"m-sIKi6","fade-in-exit-active":"m-2YgUs",fadeInExitActive:"m-2YgUs"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollBarWidth=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.inBrowser?window:void 0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.inBrowser?document:void 0;if(null==e)return 0;if(null===t.body||void 0===t.body)return 0;var n=t.createElement("div");n.style.visibility="hidden",n.style.width="100px",n.style.msOverflowStyle="scrollbar",t.body.appendChild(n);var r=n.offsetWidth;n.style.overflow="scroll";var a=t.createElement("div");a.style.width="100%",n.appendChild(a);var o=a.offsetWidth;return n.parentNode.removeChild(n),r-o};var i=n(69)},function(e,t){e.exports={"loading-inline":"m-3H2fk",loadingInline:"m-3H2fk","loading-fix-mask":"m-2xKeN",loadingFixMask:"m-2xKeN",icon:"m-1gXuk","icon-inline":"m-2a9vh",iconInline:"m-2a9vh","icon-small":"m-195uC",iconSmall:"m-195uC","icon-normal":"m-cN-Ik",iconNormal:"m-cN-Ik","icon-large":"m-1Yw-5",iconLarge:"m-1Yw-5","icon-huge":"m-1Cxp7",iconHuge:"m-1Cxp7","icon-fix-mask":"m-158An",iconFixMask:"m-158An","icon-slow":"m-3LVyz",iconSlow:"m-3LVyz",rotate360:"m-2r7k0","icon-fast":"m-1z4KA",iconFast:"m-1z4KA"}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function r(){return d.inBrowser?p=p||(f=document.createElement("div"),document.body.appendChild(f),s.default.render(l.default.createElement(c.default,null),f)):null}function a(e){return void 0===e&&(e="default"),function(t){var n=r();return n?(t.type=e,t.id="message-"+_++,void 0===t.duration&&(t.duration="danger"===t.type?0:3e3),void 0===t.closable&&(t.closable=!0),n.getLength()>=m.size&&n.pop(),n.push(t),t.id):null}}Object.defineProperty(t,"__esModule",{value:!0});var o=i(n(16)),l=i(n(10)),s=i(n(71)),c=i(n(185)),u=i(n(120)),d=n(69),p=null,f=null,m={size:10},_=0;t.default={Component:u.default,show:a("default"),success:a("success"),danger:a("danger"),warning:a("warning"),primary:a("primary"),remove:function(e){return r().remove(e)},clear:function(){return r().clear()},destory:function(){r().clear(),f&&f.parentNode.removeChild(f),f=null,p=null},config:function(e){r().config((0,o.default)(m,e))},getLength:function(){return r().getLength()},getInstance:r}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(16)),a=i(n(13)),o=i(n(14)),l=function(e){if(e&&e.__esMo
1dule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),s=i(n(120)),c=i(n(85)),u=n(65),d=i(n(121)),p=function(){var e=o.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,a.default)(n):(i.prototype=n.prototype,new i)}}(),f=r.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},m=function(e){function t(t){var n=e.call(this,t)||this;return n.state={messages:[],options:{}},n}return p(t,e),t.prototype.getLength=function(){return this.state.messages.length},t.prototype.push=function(e){var t=this.state.messages;t.push(e),this.setState({messages:t})},t.prototype.pop=function(){var e=this.state.messages;e.length>0&&(e.splice(0,1),this.setState({messages:e}))},t.prototype.remove=function(e){for(var t=this.state.messages,n=0;n<t.length;n++)if(t[n].id===e){t.splice(n,1);break}this.setState({messages:t})},t.prototype.clear=function(){this.setState({messages:[]})},t.prototype.config=function(e){this.setState({options:e})},t.prototype.handleItemClose=function(e){var t=e.onClose;"function"==typeof t&&t(),this.remove(e.id)},t.prototype.render=function(){var e=this,t=this.state,n=t.messages,i=t.options,r=n.map(function(t){return l.createElement(c.default,{key:t.id},l.createElement("div",{className:d.default.messageControl},l.createElement(s.default,f({},t,{onClose:function(){return e.handleItemClose(t)}}))))}),a=f({marginTop:"20px"},i.containerStyle);return l.createElement("div",{className:d.default.messageWrapper},l.createElement("div",{className:d.default.messageContainer,style:a},l.createElement(u.TransitionGroup,null,r)))},t}(l.Component);t.default=m},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(122)),a=n(195),o=i(a);r.default.Confirm=o.default,r.default.confirm=a.confirm,t.default=r.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(17)),u=i(n(25)),d=i(n(188)),p=i(n(189)),f=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),m=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},_=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n},h=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.refContent=function(e){var i=n.props.innerRef;(void 0===i?t.defaultProps.innerRef:i)(e),n.content=e},n}return f(t,e),t.prototype.componentDidMount=function(){this.props.fixOverScroll&&p.default.bind(this.content)},t.prototype.componentWillUnmount=function(){p.default.unbind(this.content)},t.prototype.render=function(){var e,t=this.props,n=t.children,i=t.className,r=(t.innerRef,t.withPadding),a=(t.fixOverScroll,_(t,["children","className","innerRef","withPadding","fixOverScroll"])),o=(0,u.default)(d.default["modal-content"],((e={})[d.default["modal-content-padding"]]=r,e),i);return s.createElement("main",m({className:o,ref:this.refContent},a),n)},t.propTypes={innerRef:c.default.func,fixOverScroll:c.default.bool},t.defaultProps={innerRef:function(){},fixOverScroll:!1},t}(s.PureComponent);t.default=h}
1,function(e,t){e.exports={"modal-content":"m-4LNCU",modalContent:"m-4LNCU","modal-content-padding":"m-1g91O",modalContentPadding:"m-1g91O"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(69),r=(0,function(e){return e&&e.__esModule?e:{default:e}}(n(81)).default)(function(e){var t=e.target;0===t.scrollTop?t.scrollTop=1:t.scrollHeight===t.scrollTop+t.offsetHeight&&(t.scrollTop-=1)},30);t.default={bind:function(e){e&&i.isIOS&&e.addEventListener("scroll",r)},unbind:function(e){e&&i.isIOS&&e.removeEventListener("scroll",r)}}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),l=n(65),s=i(n(191)),c=i(n(68)),u=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},d={enter:500,exit:300},p=c.default.genTransitionClassNames("slide-fade",s.default);t.default=function(e){var t=e.children,n=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n}(e,["children"]);return o.createElement(l.CSSTransition,u({},n,{timeout:d,classNames:p}),t)}},function(e,t){e.exports={"slide-fade-enter":"m-2fvBN",slideFadeEnter:"m-2fvBN","slide-fade-enter-active":"m-kvUUT",slideFadeEnterActive:"m-kvUUT","slide-fade-exit":"m-F2CYv",slideFadeExit:"m-F2CYv","slide-fade-exit-active":"m-ssUw_",slideFadeExitActive:"m-ssUw_"}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),l=n(65),s=i(n(193)),c=i(n(68)),u=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},d={enter:500,exit:300},p=c.default.genTransitionClassNames("show",s.default);t.default=function(e){var t=e.children,n=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n}(e,["children"]);return o.createElement(l.CSSTransition,u({},n,{timeout:d,classNames:p}),t)}},function(e,t){e.exports={"show-enter":"m-1AbHB",showEnter:"m-1AbHB","show-enter-active":"m-2yVtz",showEnterActive:"m-2yVtz","show-exit":"m-32JFA",showExit:"m-32JFA","show-exit-active":"m-1DbDt",showExitActive:"m-1DbDt"}},function(e,t){e.exports={"modal-container":"m-3RCq9",modalContainer:"m-3RCq9","modal
1-container-middle":"m-319aG",modalContainerMiddle:"m-319aG","modal-container-bottom":"m-2iBxp",modalContainerBottom:"m-2iBxp",modal:"m-2RpvS","modal-container-fullscreen":"m-1rHj8",modalContainerFullscreen:"m-1rHj8","close-btn":"m-3JeW5",closeBtn:"m-3JeW5","close-btn-dark":"m-2aYSC",closeBtnDark:"m-2aYSC","close-btn-default":"m-qbyy6",closeBtnDefault:"m-qbyy6","close-btn-light":"m-2us7f",closeBtnLight:"m-2us7f"}},function(e,t,n){"use strict";function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(24)),o=r(n(16)),l=r(n(13)),s=r(n(14));t.confirm=function(e){function t(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];i(a=h({},a,{visible:!1,afterClose:function(){(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];u.unmountComponentAtNode(r)&&r.parentNode&&r.parentNode.removeChild(r)}).apply(void 0,e)}}))}function n(e){i(a=h({},a,e))}function i(e,t){u.render(c.createElement(y,h({},e,{actions:s})),r,t)}var r=document.createElement("div");document.body.appendChild(r);var a=h({},e,{close:t,visible:!1}),o=!1,l=e.actions,s=l&&l.map(function(e){var n=e.onPress;return e.onPress=function(e){if(!o){o=!0;var i=n&&n(e);i&&i.then?i.then(function(){t()}).catch(function(){}):t()}},e});return i(a),n({visible:!0}),{destroy:t,update:n}};var c=i(n(10)),u=i(n(71)),d=r(n(25)),p=r(n(66)),f=r(n(122)),m=r(n(196)),_=function(){var e=s.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,l.default)(n):(i.prototype=n.prototype,new i)}}(),h=o.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},b=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof a.default){var r=0;for(i=(0,a.default)(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return _(t,e),t.prototype.renderAction=function(e,t){var n=e.type,i=void 0===n?"default":n,r=e.text,a=e.onPress,o=void 0===a?function(){}:a,l=(0,d.default)(m.default.button,m.default["button-"+i]);return c.createElement("a",{key:r,className:l,role:"button",onClick:o},r)},t.prototype.renderFooter=function(){var e=this.props.actions;return c.createElement("div",{className:m.default.footer},e&&e.length>0&&e.map(this.renderAction))},t.prototype.render=function(){var e=this.props,t=e.icon,n=void 0===t?"info-circle":t,i=(e.type,e.iconType),r=void 0===i?"primary":i,a=e.title,o=e.content,l=e.children,s=b(e,["icon","type","iconType","title","content","children"]),u=(0,d.default)(m.default.icon,m.default["icon-"+r]),_="string"==typeof n?c.createElement(p.default,{name:n,className:u}):n;return c.createElement(f.default,h({closable:!1,footer:this.renderFooter()},s),c.createElement("div",{className:m.default.body},c.createElement("div",{className:m.default.content},c.createElement("div",{className:m.default.icons},_),c.createElement("h6",{className:m.default.title},a),c.createElement("div",{className:m.default.text},o))),l)},t.defaultProps={icon:null,actions:[]},t}(c.Component);t.default=y},function(e,t){e.exports={body:"m-SUUTL",content:"m-1U_ey",title:"m-7N2vO",text:"m-2nmRX",icons:"m-120Zd",icon:"m--npxK","icon-default":"m-3-Ool",iconDefault:"m-3-Ool","icon-primary":"m-3evnn",iconPrimary:"m-3evnn","icon-success":"m-3JzLa",iconSuccess:"m-3JzLa","icon-danger":"m-3oWmi",iconDanger:"m-3oWmi","icon-warning":"m-1YKJG",iconWarning:"m-1YKJG","icon-brand":"m-5i3Ij",iconBrand:"m-5i3Ij","icon-help":"m-14Wi0",iconHelp:"m-14Wi0",footer:"m-2dP96",button:"m-1um0C","buttonfirst-child":"m-3V3Lr",buttonfirstChild:"m-3V3Lr","button-default":"m-bjizi",buttonDefault:"m-bjizi","button-primary":"m-3D2nz",buttonPrimary:"m-3D2nz","button-success":"m-XFAyd",buttonSuccess:"m-XFAyd","button-danger":"m-112g1",buttonDanger:"m-112g1","button-warning":"m-3To0v",buttonWarning:"m-3To0v","button-brand":"m-1t8Gv",buttonBrand:"m-1t8Gv","button-help":"m-v4Buj",buttonHelp:"m-v4Buj"}},function(e,t,n){"use strict";
1function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(25)),u=i(n(17)),d=i(n(136)),p=i(n(198)),f=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),m=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},_=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n},h=function(e){function t(t){var n=e.call(this,t)||this;return n.update=function(e){var t=n.props,i=t.onChange;t.disabled||n.setState({value:e},function(){"function"==typeof i&&i(e)})},n.increase=function(e){e.preventDefault(),n.action("increase")},n.decrease=function(e){e.preventDefault(),n.action("decrease")},n.action=function(e){var t=n.props.step,i=n.state.value;if(!("decrease"===e&&n.minDisabled()||"increase"===e&&n.maxDisabled())){var r="decrease"===e?Number(i)-Number(t):Number(i)+Number(t);n.update(r)}},n.state={value:t.value},n}return f(t,e),t.prototype.componentWillReceiveProps=function(e){e.value!==this.state.value&&this.setState({value:e.value})},t.prototype.minDisabled=function(){var e=this.props,t=e.min,n=e.step,i=this.state.value;return Number(i)-Number(n)<Number(t)},t.prototype.maxDisabled=function(){var e=this.props,t=e.max,n=e.step,i=this.state.value;return Number(i)+Number(n)>Number(t)},t.prototype.render=function(){var e=this.props,t=e.className,n=e.hideOnMin,i=e.disabled,r=_(e,["className","hideOnMin","disabled"]),a=this.state.value,o=(0,c.default)(p.default.number,t),l=n&&this.minDisabled()?p.default.hidden:p.default.visible;return s.createElement("div",m({className:o},r),s.createElement(d.default,{size:"mini",disabled:this.minDisabled()||i,onClick:this.decrease,className:l,name:"minus-light",radius:"small"}),s.createElement("input",{type:"text",value:a,readOnly:!0,className:(0,c.default)(p.default.input,l)}),s.createElement(d.default,{size:"mini",type:"primary",disabled:this.maxDisabled()||i,onClick:this.increase,radius:"small",name:"plus-light"}))},t.propTypes={className:u.default.string,min:u.default.number,max:u.default.number,step:u.default.number,value:u.default.number,hideOnMin:u.default.bool,disabled:u.default.bool,onChange:u.default.func},t.defaultProps={value:0,step:1,hideOnMin:!0,disabled:!1},t}(s.Component);t.default=h},function(e,t){e.exports={number:"m-IHaDW",input:"m-d75ZB",hidden:"m-1MqGu",visible:"m-2uLce"}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(200)),u=i(n(66)),d=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),p=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.render=function(){var e=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n}(this.props,[]),t=s.createElement(u.default,{name:"angle-right"}),n=s.createElement(u.default,{name:"angle-left"});return s.createElement(c.default,p({nextBtn:t,prevBtn:n},e))},t}(s.PureComponent);t.default=f},function(e,t,n){"use strict";
1function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(67)),a=i(n(13)),o=i(n(14)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),s=i(n(25)),c=i(n(17)),u=n(72),d=i(n(201)),p=function(){var e=o.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,a.default)(n):(i.prototype=n.prototype,new i)}}(),f=function(e){function t(t){var n=e.call(this,t)||this;return n.state={currentPage:t.current||1,groupCount:5,startPage:n.getStartPage(t.current||1,5),totalPage:t.totalPagesNum||0},n.createPage=n.createPage.bind(n),n.prePageHandeler=n.prePageHandeler.bind(n),n.nextPageHandeler=n.nextPageHandeler.bind(n),n}return p(t,e),t.prototype.PageNum=function(e,t,n){var i=this.props.simple,r=this.state.totalPage;if(e.push(l.createElement("li",{key:0,className:t,onClick:this.prePageHandeler},this.props.prevBtn)),1===r)return null;i?this.showSimplePageNum(e):r<=5?this.showAllPageNum(e):this.showSomePages(e),e.push(l.createElement("li",{className:n,onClick:this.nextPageHandeler,key:r+1},this.props.nextBtn))},t.prototype.showSimplePageNum=function(e){var t=this.state,n=t.totalPage,i=t.currentPage;e.push(l.createElement("li",{className:d.default.number,key:"number"},i," / ",n))},t.prototype.showAllPageNum=function(e){for(var t=this.state,n=t.totalPage,i=t.currentPage,r=1;r<=n;r++){var a=(0,s.default)(((o={})[d.default.activePage]=i===r,o));e.push(l.createElement("li",{key:r,className:a,onClick:this.pageClick.bind(this,r)},r))}var o},t.prototype.showSomePages=function(e){var t=this.state,n=t.currentPage,i=t.groupCount,r=t.startPage,a=t.totalPage,o=(0,s.default)(((f={})[d.default.activePage]=1===n,f));e.push(l.createElement("li",{key:1,className:o,onClick:this.pageClick.bind(this,1)},"1"));var c=0;c=i+r>a?a:i+r,n>=i&&e.push(l.createElement("li",{key:-1,className:d.default.colon},"···"));for(var u=r;u<c;u++){var p=(0,s.default)(((m={})[d.default.activePage]=n===u,m));u<=a-1&&u>1&&e.push(l.createElement("li",{key:u,className:p,onClick:this.pageClick.bind(this,u)},u))}a-r>=i+1&&e.push(l.createElement("li",{key:-2,className:d.default.colon},"···"));var f,m,_,h=(0,s.default)(((_={})[d.default.activePage]=n===a,_));e.push(l.createElement("li",{key:a,className:h,onClick:this.pageClick.bind(this,a)},a))},t.prototype.hidePageNum=function(e,t,n){var i=this.state.currentPage;e.push(l.createElement("div",{key:i+1,className:d.default.hidePageNum},l.createElement("li",{key:0,className:n,onClick:this.prePageHandeler},l.createElement("span",null,this.props.prevBtn),this.props.prev),l.createElement("li",{className:t,onClick:this.nextPageHandeler,key:i+1},this.props.next,l.createElement("span",null,this.props.nextBtn))))},t.prototype.createPage=function(){var e,t,n=this.state,i=n.currentPage,r=n.totalPage,a=[],o=(0,s.default)(((e={})[d.default.nomore]=1===i,e)),l=(0,s.default)(((t={})[d.default.nomore]=i===r,t));return this.props.hidePageNumber?this.hidePageNum(a,l,o):this.PageNum(a,o,l),a},t.prototype.getStartPage=function(e,t){var n=1;return e>=t&&(n=e-2),n},t.prototype.pageClick=function(e){var t=this.state.groupCount,n=this.getStartPage(e,t);this.setState({currentPage:e,startPage:n}),this.props.onChange&&this.props.onChange(e)},t.prototype.prePageHandeler=function(){var e=this.state.currentPage;if(0==(e-=1))return!1;this.pageClick(e)},t.prototype.nextPageHandeler=function(){var e=this.state.currentPage;if((e+=1)>this.state.totalPage)return!1;this.pageClick(e)},t.prototype.render=function(){var e,t=this.createPage(),n=this.props,i=n.align,r=n.small,a=this.props.theme||this.context.theme||u.THEMES.LIGHT,o=(0,s.default)(d.default.pageContainer,((e={})[d.default.pageContainerCenter]="center"===i,e[d.default.pageContainerLeft]="left"===i,e[d.default.pageContainerRight]="right"===i,e[d.default.pageContainerBetween]="between"===i,e[d.default.activePageDark]=a===u.THEMES.DARK,e[d.default.page
1ContainerMini]=r,e));return l.createElement("ul",{className:o},t)},t.propTypes={totalPagesNum:c.default.number,onChange:c.default.func,current:c.default.number,align:c.default.string,theme:c.default.oneOf((0,r.default)(u.THEMES).map(function(e){return u.THEMES[e]})),hidePageNumber:c.default.bool,simple:c.default.bool,small:c.default.bool,prevBtn:c.default.node,nextBtn:c.default.node,prev:c.default.string,next:c.default.string},t.defaultProps={current:1,align:"center",prev:"Prev",next:"Next"},t.contextTypes={theme:c.default.string},t}(l.PureComponent);t.default=f},function(e,t){e.exports={"page-container":"m-2QV08",pageContainer:"m-2QV08","active-page":"m-1OZg9",activePage:"m-1OZg9",number:"m-3qG0e",colon:"m-3D2Y-",nomore:"m-VcfdI","page-container-center":"m-3DZRc",pageContainerCenter:"m-3DZRc","hide-page-num":"m-3xseh",hidePageNum:"m-3xseh","page-container-left":"m-3Clqi",pageContainerLeft:"m-3Clqi","page-container-right":"m-BOO9a",pageContainerRight:"m-BOO9a","page-container-between":"m-3wM3k",pageContainerBetween:"m-3wM3k","page-container-mini":"m-3tW2o",pageContainerMini:"m-3tW2o","active-page-dark":"m-35rly",activePageDark:"m-35rly"}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(17)),u=i(n(25)),d=i(n(203)),p=i(n(204)),f=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),m=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},_=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.render=function(){var e,t,n=this.props,i=n.children,r=n.title,a=n.extra,o=n.style,l=n.nested,c=n.headerStyle,f=n.titleTag,h=n.raw,b=n.className,y=_(n,["children","title","extra","style","nested","headerStyle","titleTag","raw","className"]),v=(0,u.default)(b,d.default.panel,((e={})[d.default.panelRaw]=h,e)),g=(0,u.default)(((t={})[d.default.panelBodyNested]=l,t)),w=r||a?s.createElement(p.default,{title:r,extra:a,style:c,raw:h,titleTag:f}):null;return s.createElement("section",m({className:v,style:o},y),w,s.createElement("div",{className:g},i))},t.Header=p.default,t.propTypes={extra:c.default.oneOfType([c.default.string,c.default.node]),title:c.default.oneOfType([c.default.string,c.default.node]),headerStyle:c.default.any,titleTag:c.default.string,nested:c.default.bool,raw:c.default.bool,className:c.default.string},t.defaultProps={nested:!0,raw:!1},t}(s.PureComponent);t.default=h},function(e,t){e.exports={panel:"m-1UGWW","panel-raw":"m-1xBz7",panelRaw:"m-1xBz7","panel-body-nested":"m-3vDZd",panelBodyNested:"m-3vDZd"}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(25)),u=i(n(17)),d=i(n(205)),p=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),f=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},m=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n},_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(){var e,n=this.props,i=(n.children,n.title),r=n.extra,a=n.className,o=n.raw,l=n.titleTag,u=void 0===l?t.defaultProps.titleTag:l,p=m(n,["children","title","extra","className","raw","titleTag"]),_=(0,c.default)(d.default.panelHeader,((e={})[d.default.panelHeaderRaw]=o,e),a),h=r?s.createElement("div",{className:d.default.panelHeaderExtra},r):null;return s.createElement("header",f({className:_},p),s.createElement(u,{className:d.default.panelHeaderTitle},i),h)}
1,t.propTypes={extra:u.default.oneOfType([u.default.string,u.default.node]),title:u.default.oneOfType([u.default.string,u.default.node]),raw:u.default.bool,titleTag:u.default.string},t.defaultProps={raw:!1,titleTag:"h3"},t}(s.PureComponent);t.default=_},function(e,t){e.exports={"panel-header":"m-2SY2u",panelHeader:"m-2SY2u","panel-header-raw":"m-176OT",panelHeaderRaw:"m-176OT","panel-header-title":"m-3hu27",panelHeaderTitle:"m-3hu27","panel-header-extra":"m-YgWTG",panelHeaderExtra:"m-YgWTG"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(207));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(16)),a=i(n(13)),o=i(n(14)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),s=i(n(112)),c=i(n(25)),u=i(n(17)),d=i(n(208)),p=function(){var e=o.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,a.default)(n):(i.prototype=n.prototype,new i)}}(),f=r.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.getOverlay=function(){var e=this.props,t=e.title,n=e.prefixCls,i=e.content;return l.createElement("div",null,t&&l.createElement("div",{className:n+"-title"},t),l.createElement("div",{className:n+"-inner-content"},i))},t.prototype.render=function(){var e=f({},this.props);delete e.title;var t=(0,c.default)(d.default["quark-tooltip"],e.className);return l.createElement(s.default,f({},e,{className:t,overlay:this.getOverlay()}))}
1,t.propTypes={arrowPointAtCenter:u.default.bool,autoAdjustOverflow:u.default.bool,builtinPlacements:u.default.object,className:u.default.string,defaultVisible:u.default.bool,mouseEnterDelay:u.default.number,mouseLeaveDelay:u.default.number,prefixCls:u.default.string,placement:u.default.string,trigger:u.default.string,title:u.default.oneOfType([u.default.string,u.default.node]),transitionName:u.default.string,content:u.default.oneOfType([u.default.string,u.default.node]),visible:u.default.bool},t.defaultProps={mouseEnterDelay:.1,mouseLeaveDelay:.1,prefixCls:"quark-popover",placement:"top",transitionName:"fade-in",trigger:"hover"},t}(l.Component);t.default=m},function(e,t){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(210));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(25)),u=i(n(17)),d=i(n(211)),p=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),f=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},m=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n},_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleChange=function(e){var n=t.props,i=n.disabled,r=n.onChange;"function"!=typeof r||i||r(e)},t}return p(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.disabled,i=(e.onChange,e.innerRef),r=m(e,["className","disabled","onChange","innerRef"]),a=n?"disabled":"default",o=(0,c.default)(d.default.radio,d.default["radio-"+a],t);return s.createElement("input",f({ref:i,type:"radio",disabled:n,className:o,onChange:this.handleChange},r))},t.propTypes={defaultChecked:u.default.bool,className:u.default.string,disabled:u.default.bool,onChange:u.default.func,value:u.default.node,innerRef:u.default.func},t.defaultProps={disabled:!1,innerRef:function(){}},t}(s.Component);t.default=_},function(e,t){e.exports={radio:"m-2LRdL","radio-disabled":"m-2xOeU",radioDisabled:"m-2xOeU"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(213));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(17)),u=i(n(108)),d=i(n(107)),p=i(n(25)),f=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),m=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},_=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.render=function(){var e=this.props,t=e.col,n=e.gutter,i=e.children,r=e.className,a=e.justify,o=e.style,l=void 0===o?{}:o,c=_(e,["col","gutter","children","className","justify","style"]),f=s.Children.map(i,function(e){return s.cloneElement(e,{col:t,gutter:n})}),h=(0,p.default)(r,u.default.row,u.default[(0,d.default)("row",n)]);return a&&(l.justifyContent=a),s.createElement("div",m({className:h,style:l},c),f)}
1,t.propTypes={gutter:c.default.oneOf(["xlarge","large","medium","small","mini"]),col:c.default.oneOf([5,6,8]),justify:c.default.oneOf(["flex-start","flex-end","center","space-between","space-around","initial"])},t.defaultProps={gutter:"small",col:8},t}(s.PureComponent);t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(215));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(17)),u=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),d=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},p=function(e){function t(t){var n=e.call(this,t)||this;return n.handleChange=function(e){var t=n.props.onChange;n.state.activeValue!==e&&(n.setState({activeValue:e}),"function"==typeof t&&t(e))},n.state={activeValue:t.activeValue||t.defaultValue},n}return u(t,e),t.prototype.componentWillReceiveProps=function(e){e.activeValue&&e.activeValue!==this.state.activeValue&&this.setState({activeValue:e.activeValue})},t.prototype.renderSelector=function(){var e=this,t=this.props.children,n=this.state.activeValue;return s.Children.map(t,function(t){var i=t.props.value===n;return s.cloneElement(t,{highlight:i,onClick:function(n){t.props.onClick&&t.props.onClick(n),t.props.disabled||e.handleChange(t.props.value)}})})},t.prototype.render=function(){var e=this.props,t=(e.activeValue,e.defaultValue,function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n}(e,["activeValue","defaultValue"]));return s.createElement("div",d({},t),this.renderSelector())}
1,t.propTypes={defaultValue:c.default.string,className:c.default.string,children:c.default.node,activeValue:c.default.string,onChange:c.default.func},t}(s.Component);t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(217));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(67)),a=i(n(13)),o=i(n(14)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),s=i(n(25)),c=i(n(17)),u=i(n(218)),d=n(72),p=function(){var e=o.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,a.default)(n):(i.prototype=n.prototype,new i)}}(),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderTds=function(e,n){return e?t.props.tableHeader.map(function(t){return l.createElement("td",{key:"td-"+e[t.key],className:e.className,style:e.style},e[t.key])}):null},t}return p(t,e),t.prototype.renderThs=function(){return this.props.tableHeader.map(function(e,t){return l.createElement("th",{key:"th-"+t},e.title)})},t.prototype.renderRows=function(){var e=this,t=this.props.dataSource;return t&&t.length?t.map(function(t,n){return l.createElement("tr",{className:u.default.tableTbodyTr,key:"tr-"+n},e.renderTds(t,n))}):null},t.prototype.render=function(){var e,t=this.props,n=t.align,i=t.border,r=t.stripe,a=t.theader,o=this.props.theme||this.context.theme||d.THEMES.LIGHT,c=(0,s.default)(u.default.table,((e={})[u.default.tableStripe]=r&&o===d.THEMES.LIGHT,e[u.default.tableStripeDark]=r&&o===d.THEMES.DARK,e[u.default.tableBorder]=i,e[u.default.tableAlignCenter]="center"===n,e[u.default.tableAlignRight]="right"===n,e[u.default.tableTopicsDark]=o===d.THEMES.DARK,e[u.default.tableTopicsLight]=o===d.THEMES.LIGHT,e[u.default.tableTheaderLight]=a===d.THEMES.LIGHT,e[u.default.tableTheaderDark]=a===d.THEMES.DARK,e));return l.createElement("div",{className:"table-container"},l.createElement("table",{className:c},l.createElement("thead",null,l.createElement("tr",{className:u.default.tableTheadTr},this.renderThs())),l.createElement("tbody",null,this.renderRows())))}
1,t.propTypes={dataSource:c.default.array.isRequired,tableHeader:c.default.array.isRequired,align:c.default.string,border:c.default.bool,stripe:c.default.bool,theme:c.default.oneOf((0,r.default)(d.THEMES).map(function(e){return d.THEMES[e]})),theader:c.default.string},t.defaultProps={border:!1,align:"left",stripe:!1},t.contextTypes={theme:c.default.string},t}(l.PureComponent);t.default=f},function(e,t){e.exports={table:"m-1ApEC","table-align-center":"m-KbuI8",tableAlignCenter:"m-KbuI8","table-align-right":"m-2uq9f",tableAlignRight:"m-2uq9f","table-thead-tr":"m-1PNSE",tableTheadTr:"m-1PNSE","table-tbody-tr":"m-3j22K",tableTbodyTr:"m-3j22K","table-border":"m-2j2IP",tableBorder:"m-2j2IP","table-stripe":"m-3YFdc",tableStripe:"m-3YFdc","table-stripe-dark":"m-3NUH_",tableStripeDark:"m-3NUH_",tableTopicsDark:"m-3l4sO",tableTopicsLight:"m-WiKJi","table-theader-light":"m-iZrxJ",tableTheaderLight:"m-iZrxJ","table-theader-dark":"m-BsKu4",tableTheaderDark:"m-BsKu4"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(220));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(67)),a=i(n(13)),o=i(n(14)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),s=i(n(25)),c=i(n(17)),u=i(n(221)),d=i(n(223)),p=i(n(128)),f=i(n(94)),m=n(72),_=function(){var e=o.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,a.default)(n):(i.prototype=n.prototype,new i)}}(),h=function(e){function t(t){var n,i=e.call(this,t)||this;return i.handleTabClick=function(e){var t=i.props,n=t.onTabClick,r=t.onChange;i.setState({activeKey:e}),r&&r(e),n&&n(e)},i.handleChange=function(e){var t=i.props.onChange;t&&t(e)},n="activeKey"in t?t.activeKey:"defaultActiveKey"in t?t.defaultActiveKey:function(e){var t;return l.Children.forEach(e.children,function(e){e&&!t&&(t=e.key)}),t}(t),i.state={activeKey:n},i}return _(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.tabPosition,i=e.animated,r=e.border,a=e.tabBarStyle,o=e.tabDisplay,c=e.prefixCls,p=this.state.activeKey,_=this.props.theme||this.context.theme||m.THEMES.LIGHT,h=(0,s.default)(f.default.tabs,[f.default["tabs-"+_]]);return l.createElement("div",{className:h},l.createElement(u.default,{key:"tabBar",panels:t,activeKey:p,tabPosition:n,onTabClick:this.handleTabClick,animated:i,border:r,tabBarStyle:a,tabDisplay:o,prefixCls:c}),l.createElement(d.default,{panels:t,activeKey:p,key:"tabContent"}))},t.TabPanel=p.default,t.propTypes={defaultActiveKey:c.default.string,activeKey:c.default.string,onChange:c.default.func,onTabClick:c.default.func,tabPosition:c.default.oneOf(["left","center","right","justified"]),theme:c.default.oneOf((0,r.default)(m.THEMES).map(function(e){return m.THEMES[e]})),animated:c.default.bool,border:c.default.bool,tabBarStyle:c.default.object,tabDisplay:c.default.oneOf(["block","inline-block"]),prefixCls:"quark-tab-default"},t.defaultProps={tabPosition:"left",theme:"light",animated:!0,bordered:!0,tabBarStyle:{},tabDisplay:"block",prefixCls:"quark-tab-default"},t}(l.PureComponent);t.default=h},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(16)),a=i(n(13)),o=i(n(14)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),s=i(n(17)),c=i(n(25)),u=i(n(94)),d=n(87),p=i(n(222)),f=function(){var e=o.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,a.default)(n):(i.prototype=n.prototype,new i)}}(),m=r.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={inkBarStyle:{}},t}return f(t,e),t.prototype.componentDidMount=function(){this.updateInkBarStyle(),this.resizeHandler=(0,p.default)(this.onResize.bind(this),200),window.addEventListener("resize",this.resizeHandler)},t.prototype.componentWillUnmount=function(){this.resizeHandler&&window.removeEventListener("resize",this.resizeHandler)},t.prototype.componentDidUpdate=function(e){e.activeKey!==this.props.activeKey&&this.updateInkBarStyle()},t.prototype.onResize=function(){this.updateInkBarStyle()},t.prototype.updateInkBarStyle=function(){if(this.activeTab&&this.tabBar){var e={
1width:""},t=this.activeTab.offsetLeft-this.tabBar.offsetLeft,n=this.activeTab.clientWidth;(0,d.setTransform)(e,"translate3d("+t+"px,0,0)"),e.width=n+"px",this.setState({inkBarStyle:e})}},t.prototype.handleTabClick=function(e){var t=this.props.onTabClick;t&&t(e)},t.prototype.renderTabs=function(){var e=this,t=this.props,n=t.panels,i=t.activeKey;return l.Children.map(n,function(t){if(t){var n,r=t.key,a=(0,c.default)(u.default.tabItem,((n={})[u.default.tabItemActive]=i===r,n[u.default.tabItemDisabled]=t.props.disabled,n)),o={};return t.props.disabled||(o={onClick:e.handleTabClick.bind(e,r)}),l.createElement("div",m({className:a,key:r},o,{ref:function(t){i===r&&(e.activeTab=t)}}),t.props.tab)}})},t.prototype.renderInkBar=function(){var e=this.state.inkBarStyle;return l.createElement("div",{style:e,className:u.default.inkBar})},t.prototype.render=function(){var e,t=this,n=this.props,i=n.tabPosition,r=n.animated,a=n.border,o=n.tabBarStyle,s=n.tabDisplay,d=n.prefixCls,p=this.renderTabs(),f=r?this.renderInkBar():null,m=(0,c.default)(u.default["tab-bar-"+i],[d+"-tab-bar-wrap"],((e={})[u.default["tab-bar-animated"]]=r,e[u.default["tab-bar-border"]]=a,e[u.default["tab-bar-display"]]="inline-block"===s,e));return l.createElement("div",{style:o,className:d+"-tab-container"},l.createElement("div",{className:m},l.createElement("div",{className:d+"-tab-bar",ref:function(e){t.tabBar=e}},f,p)))}
1,t.propTypes={panels:s.default.arrayOf(s.default.node),activeKey:s.default.string,onTabClick:s.default.func,tabPosition:s.default.oneOf(["left","center","right","justified"]),animated:s.default.bool,border:s.default.bool,tabBarStyle:s.default.object,tabDisplay:s.default.oneOf(["block","inline-block"])},t.defaultProps={tabPosition:"left",animated:!0,border:!0,tabBarStyle:{}},t}(l.PureComponent);t.default=_},function(e,t){e.exports=m},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(17)),u=i(n(128)),d=i(n(94)),p=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),f=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},m=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n},_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(){var e=this.props,t=e.activeKey,n=e.panels,i=s.Children.map(n,function(e){var n=e.key,i=e.props,r=i.children,a=m(i,["children"]);return s.createElement(u.default,f({key:"tab-panel-"+n,active:t===n},a),r)});return s.createElement("div",{className:d.default.tabContent},i)},t.propTypes={panels:c.default.arrayOf(c.default.node),activeKey:c.default.string},t}(s.PureComponent);t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(225));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(67)),a=i(n(13)),o=i(n(14)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),s=i(n(17)),c=n(72),u=function(){var e=o.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,a.default)(n):(i.prototype=n.prototype,new i)}}(),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.getChildContext=function(){var e=this.props.theme;return{theme:void 0===e?t.defaultProps.theme:e}},t.prototype.render=function(){var e=this.props.children;return l.createElement(l.Fragment,null,e)},t.propTypes={theme:s.default.oneOf((0,r.default)(c.THEMES).map(function(e){return c.THEMES[e]}))},t.childContextTypes={theme:s.default.string},t.defaultProps={theme:c.THEMES.LIGHT},t}(l.PureComponent);t.default=d},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function r(){if(c.inBrowser)return d=d||((p=document.createElement("div")).classList="m-quark-toast-controller",document.body.appendChild(p),new a.default(function(t){return l.default.render(o.default.createElement(u.default,{ref:function(t){return e=t}}),p,function(){t(e)})}));var e}Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(227)),o=i(n(10)),l=i(n(71)),s=i(n(134)),c=n(69),u=i(n(244)),d=null,p=null,f=0,m={Component:s.default,show:function(e){var t="quark-toast-"+f++;return function(e){return function(t){r().then(function(n){if(!n)return console.error("Make sure controller is ready."),null;if(t){if(("string"==typeof t||o.default.isValidElement(t))&&(t={content:t}),void 0===t.withMask&&(t.withMask=!0),t.content)return t.id=e,t.duration=t.duration||3e3,n.push(t),t.id;console.warn("content is required for Toast")}})}}(t)(e),function(){return r().then(function(e){return e.hide(t)})}},destory:function(){return r().then(function(e){e.clear(),p&&p.parentNode&&(l.default.unmountComponentAtNode(p),p.parentNode.removeChild(p)),p=null,d=null})}};t.default=m},function(e,t,n){e.exports={default:n(228),__esModule:!0}},function(e,t,n){n(84),n(82),n(83),n(229),n(240),n(241),e.exports=n(1).Promise},function(e,t,n){"use strict";var i,r,a,o,l=n(38),s=n(0),c=n(27),u=n(129),d=n(9),p=n(3),f=n(41),m=n(230),_=n(231),h=n(130),b=n(131).set,y=n(236)(),v=n(103),g=n(132),w=n(133),x="Promise",E=s.TypeError,O=s.process,k=s[x],S="process"==u(O),P=function(){},T=r=v.f,N=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n(19)("species")]=function(e){e(P,P)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(P)instanceof t}catch(e){}}(),j=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},C=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var i=e._v,r=1==e._s,a=0,o=function(t){var n,a,o=r?t.ok:t.fail,l=t.resolve,s=t.reject,c=t.domain;try{o?(r||(2==e._h&&I(e),e._h=1),!0===o?n=i:(c&&c.enter(),n=o(i),c&&c.exit(
vendor: 4,193 bytes, line 1
1)),n===t.promise?s(E("Promise-chain cycle")):(a=j(n))?a.call(n,l,s):l(n)):s(i)}catch(e){s(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&L(e)})}},L=function(e){b.call(s,function(){var t,n,i,r=e._v,a=M(e);if(a&&(t=g(function(){S?O.emit("unhandledRejection",r,e):(n=s.onunhandledrejection)?n({promise:e,reason:r}):(i=s.console)&&i.error&&i.error("Unhandled promise rejection",r)}),e._h=S||M(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},M=function(e){return 1!==e._h&&0===(e._a||e._c).length},I=function(e){b.call(s,function(){var t;S?O.emit("rejectionHandled",e):(t=s.onrejectionhandled)&&t({promise:e,reason:e._v})})},A=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),C(t,!0))},D=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw E("Promise can't be resolved itself");(t=j(e))?y(function(){var i={_w:n,_d:!1};try{t.call(e,c(D,i,1),c(A,i,1))}catch(e){A.call(i,e)}}):(n._v=e,n._s=1,C(n,!1))}catch(e){A.call({_w:n,_d:!1},e)}}};N||(k=function(e){m(this,k,x,"_h"),f(e),i.call(this);try{e(c(D,this,1),c(A,this,1))}catch(e){A.call(this,e)}},(i=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(237)(k.prototype,{then:function(e,t){var n=T(h(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?O.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&C(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new i;this.promise=e,this.resolve=c(D,e,1),this.reject=c(A,e,1)},v.f=T=function(e){return e===k||e===o?new a(e):r(e)}),d(d.G+d.W+d.F*!N,{Promise:k}),n(53)(k,x),n(238)(x),o=n(1)[x],d(d.S+d.F*!N,x,{reject:function(e){var t=T(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(l||!N),x,{resolve:function(e){return w(l&&this===o?k:this,e)}}),d(d.S+d.F*!(N&&n(239)(function(e){k.all(e).catch(P)})),x,{all:function(e){var t=this,n=T(t),i=n.resolve,r=n.reject,a=g(function(){var n=[],a=0,o=1;_(e,!1,function(e){var l=a++,s=!1;n.push(void 0),o++,t.resolve(e).then(function(e){s||(s=!0,n[l]=e,--o||i(n))},r)}),--o||i(n)});return a.e&&r(a.v),n.promise},race:function(e){var t=this,n=T(t),i=n.reject,r=g(function(){_(e,!1,function(e){t.resolve(e).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},function(e,t){e.exports=function(e,t,n,i){if(!(e instanceof t)||void 0!==i&&i in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var i=n(27),r=n(232),a=n(233),o=n(5),l=n(43),s=n(234),c={},u={};(t=e.exports=function(e,t,n,d,p){var f,m,_,h,b=p?function(){return e}:s(e),y=i(n,d,t?2:1),v=0;if("function"!=typeof b)throw TypeError(e+" is not iterable!");if(a(b)){for(f=l(e.length);f>v;v++)if((h=t?y(o(m=e[v])[0],m[1]):y(e[v]))===c||h===u)return h}else for(_=b.call(e);!(m=_.next()).done;)if((h=r(_,y,m.value,t))===c||h===u)return h}).BREAK=c,t.RETURN=u},function(e,t,n){var i=n(5);e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&i(a.call(e)),t}}},function(e,t,n){var i=n(70),r=n(19)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[r]===e)}},function(e,t,n){var i=n(129),r=n(19)("iterator"),a=n(70);e.exports=n(1).getIteratorMethod=function(e){if(null!=e)return e[r]||e["@@iterator"]||a[i(e)]}},function(e,t){e.exports=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var i=n(0),r=n(131).set,a=i.MutationObserver||i.WebKitMutationObserver,o=i.process,l=i.Promise,s="process"==n(33)(o);e.exports=function(){var e,t,n,c=function(){var i,r;for(s&&(i=o.domain)&&i.exit();e;){r=e.fn,e=e.next;try{r()}catch(i){throw e?n():t=void 0,i}}t=void 0,i&&i.enter()};if(s)n=function(){o.nextTick(c)};else if(!a||i.navigator&&i.navigator.standalone)if(l&&l.resolve){var u=l.resolve();n=function(){u.then(c)}}else n=function(){r.call(i,c)};else{var d=!0,p=document.createTextNode("");new a(c).observe(p,{characterData:!0}
1),n=function(){p.data=d=!d}}return function(i){var r={fn:i,next:void 0};t&&(t.next=r),e||(e=r,n()),t=r}}},function(e,t,n){var i=n(18);e.exports=function(e,t,n){for(var r in t)n&&e[r]?e[r]=t[r]:i(e,r,t[r]);return e}},function(e,t,n){"use strict";var i=n(0),r=n(1),a=n(4),o=n(2),l=n(19)("species");e.exports=function(e){var t="function"==typeof r[e]?r[e]:i[e];o&&t&&!t[l]&&a.f(t,l,{configurable:!0,get:function(){return this}})}},function(e,t,n){var i=n(19)("iterator"),r=!1;try{var a=[7][i]();a.return=function(){r=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var a=[7],o=a[i]();o.next=function(){return{done:n=!0}},a[i]=function(){return o},e(a)}catch(e){}return n}},function(e,t,n){"use strict";var i=n(9),r=n(1),a=n(0),o=n(130),l=n(133);i(i.P+i.R,"Promise",{finally:function(e){var t=o(this,r.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return l(t,e()).then(function(){return n})}:e,n?function(n){return l(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var i=n(9),r=n(103),a=n(132);i(i.S,"Promise",{try:function(e){var t=r.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),l=n(65),s=i(n(243)),c=i(n(68)),u=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},d={enter:300,exit:200},p=c.default.genTransitionClassNames("fade-in-top",s.default);t.default=function(e){var t=e.children,n=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n}(e,["children"]);return o.createElement(l.CSSTransition,u({},n,{timeout:d,classNames:p}),t)}},function(e,t){e.exports={"fade-in-top-enter":"m-7JaSP",fadeInTopEnter:"m-7JaSP","fade-in-top-enter-active":"m-tvXTW",fadeInTopEnterActive:"m-tvXTW","fade-in-top-exit":"m-1igjc",fadeInTopExit:"m-1igjc","fade-in-top-exit-active":"m--LLfy",fadeInTopExitActive:"m--LLfy"}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(134)),u=i(n(135)),d=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),p=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},f=function(e){function t(t){var n=e.call(this,t)||this;return n.state={toasts:[]},n}return d(t,e),t.prototype.push=function(e){e.visible=!0,this.setState(function(t){return{toasts:t.toasts.concat([e])}})},t.prototype.hide=function(e){if(e){for(var t=this.state.toasts,n=0,i=t;n<i.length;n++){var r=i[n];r.id===e&&(r.visible=!1)}this.setState({toasts:t})}},t.prototype.hideAll=function(){for(var e=this.state.toasts,t=0,n=e;t<n.length;t++)n[t].visible=!1;this.setState({toasts:e})},t.prototype.clear=function(){this.setState({toasts:[]})},t.prototype.handleItemHide=function(e){if(e){for(var t=this.state.toasts,n=0;n<t.length;n++)if(t[n].id===e){var i=t[n];"function"==typeof i.onHide&&i.onHide(),t.splice(n,1)}this.setState({toasts:t})}},t.prototype.renderMask=function(){return s.createElement("div",{className:u.default["toast-mask"]})},t.prototype.renderToasts=function(){var e=this;return this.state.toasts.map(function(t){var n=t.id,i=(t.withMask,function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n}(t,["id","withMask"]));return s.createElement(c.default,p({key:n},i,{onHide:function(){return e.handleItemHide(n)}}))})},t.prototype.render=function(){var e=this.state.toasts,t=e.some(function(e){return!!e.withMask});return s.createElement(s.Fragment,null,t&&e.length&&this.renderMask(),this.renderToasts())},t}(s.Component);t.default=f},function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(112));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Tooltip=t.Toast=t.Theme=t.Tabs=t.Table=t.SelectBox=t.Selector=t.Row=t.Portal=t.Popover=t.Panel=t.Pagination=t.NumberPicker=t.Message=t.Modal=t.Mask=t.Loading=t.LazyImage=t.Input=t.Icon=t.Collapse=t.Col=t.RippleEffect=t.MaskEffect=t.Divider=t.ClickEffect=t.Radio=t.CheckboxInput=t.Cell=t.Carousel=t.ButtonGroup=t.IconButton=t.Button=t.Badge=void 0;var r=i(n(137)),a=i(n(105)),o=i(n(136)),l=i(n(140)),s=i(n(143)),c=i(n(148)),u=i(n(150)),d=i(n(209)),p=i(n(153)),f=i(n(154)),m=i(n(157)),_=i(n(160)),h=i(n(162)),b=i(n(167)),y=i(n(66)),v=i(n(170)),g=i(n(173)),w=i(n(178)),x=i(n(109)),E=i(n(186)),O=i(n(184)),k=i(n(197)),S=i(n(199)),P=i(n(202)),T=i(n(206)),N=i(n(110)),j=i(n(212)),C=i(n(214)),L=i(n(247)),M=i(n(216)),I=i(n(219)),A=i(n(224)),D=i(n(226)),z=i(n(245));n(250),t.Badge=r.default,t.Button=a.default,t.IconButton=o.default,t.ButtonGroup=l.default,t.Carousel=s.default,t.Cell=c.default,t.CheckboxInput=u.default,t.Radio=d.default,t.ClickEffect=p.default,t.Divider=b.default,t.MaskEffect=f.default,t.RippleEffect=m.default,t.Col=_.default,t.Collapse=h.default,t.Icon=y.default,t.Input=v.default,t.LazyImage=g.default,t.Loading=w.default,t.Mask=x.default,t.Modal=E.default,t.Message=O.default,t.NumberPicker=k.default,t.Pagination=S.default,t.Panel=P.default,t.Popover=T.default,t.Portal=N.default,t.Row=j.default,t.Selector=C.default,t.SelectBox=L.default,t.Table=M.default,t.Tabs=I.default,t.Theme=A.default,t.Toast=D.default,t.Tooltip=z.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(248));t.default=i.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(24)),a=i(n(16)),o=i(n(13)),l=i(n(14)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(10)),c=i(n(25)),u=i(n(17)),d=i(n(249)),p=function(){var e=l.default||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?(0,o.default)(n):(i.prototype=n.prototype,new i)}}(),f=a.default||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},m=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof r.default){var a=0;for(i=(0,r.default)(e);a<i.length;a++)t.indexOf(i[a])<0&&(n[i[a]]=e[i[a]])}return n},_=function(e){function t(t){return e.call(this,t)||this}return p(t,e),t.prototype.render=function(){var e,n=this.props,i=n.className,r=n.children,a=n.highlight,o=n.rounded,l=n.disabled,u=n.borderStyle,p=n.tag,_=void 0===p?t.defaultProps.tag:p,h=m(n,["className","children","highlight","rounded","disabled","borderStyle","tag"]),b=(0,c.default)(d.default.selector,d.default["selector-"+u],((e={})[d.default["selector-selected"]]=a,e[d.default["selector-rounded"]]=o,e[d.default["selector-disabled"]]=l,e),i),y=_;return s.createElement(y,f({className:b},h),r)},t.propTypes={value:u.default.string,disabled:u.default.bool,highlight:u.default.bool,rounded:u.default.bool,borderStyle:u.default.oneOf(["solid","dotted"]),tag:u.default.string,onClick:u.default.func},t.defaultProps={highlight:!1,rounded:!0,tag:"label",borderStyle:"solid"},t}(s.Component);t.default=_},function(e,t){e.exports={selector:"m-1hhpD","selector-selected":"m-1ugxI",selectorSelected:"m-1ugxI","selector-rounded":"m-32Gp4",selectorRounded:"m-32Gp4","selector-solid":"m-33_wJ",selectorSolid:"m-33_wJ","selector-dotted":"m-3zG95",selectorDotted:"m-3zG95","selector-disabled":"m-1nsaQ",selectorDisabled:"m-1nsaQ"}},function(e,t){}]))},110:function(e,t,n){"use strict";var i=n(5),r=n.n(i),a=n(0),o=n.n(a),l=n(18),s=(n(1),n(11)),c=n(3),u=n(6),d=n.n(u),p=n(8);n(356);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var m={"./style.css":{"dark-section":"style__dark-section___1_N18","light-section":"style__light-section___8gF7h","sub-nav-wrapper":"style__sub-nav-wrapper___14qXr","sub-nav-wrapper-open":"style__sub-nav-wrapper-open___3j023","sub-nav":"style__sub-nav___1A5tm","drop-down":"style__drop-down___2GvRQ","product-link":"style__product-link___uiRHa","right-btn-box":"style__right-btn-box___3tVXR","angle-down":"style__angle-down___1FSnE","angle-down-open":"style__angle-down-open___iLN8a","buy-button":"style__buy-button___gQTNa","list-wrapper":"style__list-wrapper___2R9As",list:"style__list___3tl9y","dropdown-wrapper":"style__dropdown-wrapper___1V_9Y","link-btn":"style__link-btn___1fKZG","modal
1-default-btn":"style__modal-default-btn___FRnE4","modal-primary-btn":"style__modal-primary-btn___1ZOcq","nav-item-btn":"style__nav-item-btn___2bP8F","modal-title":"style__modal-title___3w0Ro","modal-body":"style__modal-body___3Io3S","modal-desc":"style__modal-desc___1Cn8x","modal-container":"style__modal-container___iiN2a"}};function _(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=h(t).call(this,e))||"object"!==f(r)&&"function"!=typeof r?b(i):r).state={isNavOpen:!1,initModal:!1,modalVisible:!1,fixedTop:!1,modalTitle:"This product is sold by DJI based on the authorization of Livox.",modalDesc:"I agree to the non - resale, non - reverse sale clause.",modalBtnA:"Contact us",modalBtnALink:"/",modalBtnB:"Purchase from DJI",modalBtnBLink:"/"},n.handleToggleNav=n.handleToggleNav.bind(b(n)),n.handleClickOutsideLanguagePanel=n.handleClickOutsideLanguagePanel.bind(b(n)),n.setWrapperRef=n.setWrapperRef.bind(b(n)),n.showModal=n.showModal.bind(b(n)),n.closeModal=n.closeModal.bind(b(n)),n.bindScroll=n.bindScroll.bind(b(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){this.setState({initModal:!0}),this.calcDropdownTopHeight(),window.addEventListener("scroll",this.bindScroll),document.addEventListener("mousedown",this.handleClickOutsideLanguagePanel)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.bindScroll),document.removeEventListener("mousedown",this.handleClickOutsideLanguagePanel)}},{key:"setWrapperRef",value:function(e){this.wrapperRef=e}},{key:"getElementTop",value:function(e){for(var t=e.offsetTop,n=e.offsetParent;null!==n;)t+=n.offsetTop,n=n.offsetParent;return t}},{key:"handleClickOutsideLanguagePanel",value:function(e){this.state.isNavOpen&&this.wrapperRef&&this.wrapperRef===e.target&&this.handleToggleNav()}},{key:"calcDropdownTopHeight",value:function(){this.setState({dropdownHeight:this.dropdown&&this.dropdown.clientHeight})}},{key:"handleToggleNav",value:function(){var e=this.state.isNavOpen,t=document.querySelector("html"),n=document.querySelector("body");t&&n&&(e?(t.classList.remove("sub-nav-opened"),n.classList.remove("sub-nav-opened")):(t.classList.add("sub-nav-opened"),n.classList.add("sub-nav-opened"))),this.setState({isNavOpen:!e})}},{key:"bindScroll",value:function(){var e=this.getElementTop(this.wrapperRef),t=this.state,n=t.fixedTop,i=t.prevDomTop,r=Math.max(document.documentElement.scrollTop,document.body.scrollTop);!n&&e<r?this.setState({fixedTop:!0,prevDomTop:e}):r<i&&this.setState({fixedTop:!1})}},{key:"showModal",value:function(e){var t=Math.max(document.documentElement.scrollTop,document.body.scrollTop);this.setState({scrollTop:t,modalVisible:!0,modalTitle:e.modalTitle,modalDesc:e.modalDesc,modalBtnA:e.modalBtnA,modalBtnALink:e.modalBtnALink,modalBtnB:e.modalBtnB,modalBtnBLink:e.modalBtnBLink});var n=document.querySelector("html"),i=document.querySelector("body");n&&i&&(n.classList.add("modal-visible"),i.classList.add("modal-visible"))}},{key:"closeModal",value:function(){var e=this.state.scrollTop,t=document.querySelector("html"),n=document.querySelector("body");t&&n&&(t.classList.remove("modal-visible"),n.classList.remove("modal-visible")),this.setState({modalVisible:!1},function(){window.scrollTo(0,e)})}},{key:"render",value:function(){var e,t=this,n=this.props,i=n.component_data,a=i.name,l=i.navItem,c=i.primaryBtns,u=i.link,f=i.theme,_=n.t,h=this,b=this.state,y=b.isNavOpen,v=b.modalVisible,g=b.modalTitle,w=b.modalDesc,x=b.modalBtnA,E=b.modalBtnALink,O=b.modalBtnB,k=b.modalBtnBLink,S=b.initModal,P=b.dropdownHeight,T=b.fixedTop,N=d()({"sub-nav":!0,"dark-section":"dark"===f,"light-section":"light"===f});return o.a.createElement("div",{ref:this.setWrapperRef,style:T?{position:"fixed",top:0}:{},className:r()("sub-nav-wrapper ".concat(y?"sub-nav-wrapper-open":""),m)},o.a.createElement("div",{className:r()(N,m)},o.a.createElement(p.a,{href:u,className:"style__product-link___uiRHa"},_(a)),o.a.createElement("div",{className:"style__right-btn-box___3tVXR"},o.a.createElement("div",{onClick:this.handleToggleNav,className:r()("angle-down ".concat(y?"angle-down-open":""),m)}),(e=c,Array.isArray(e)?e.map(function(e){return o.a.createElement("div",{className:"style__buy-button___gQTNa",key:e.name},e.link?o.a.createElement(p.a,{href:e.link},o.a.createElement(s.Button,{size:"mini",type:"primary",className:"style__nav-item-btn___2bP8F"},_(e.name))):o.a.createElement(s.Button,{size:"mini",type:"primary",onClick:function(){return h.showModal(e)},className:"style__nav-item-btn___2bP8F"},_(e.name)))}):null))),o.a.createElement("div",{className:"style__dropdown-wrapper___1V_9Y",style:{height:y?"".concat(P,"px"):"0",opacity:y?1:0}},o.a.createElement(function(){return o.a.createElement("div",{className:"style__drop-down___2GvRQ",ref:function(e){t.dropdown=e}},(e=l,o.a.createElement("div",null,Array.isArray(e)&&e.map(function(e){var t=e.name;return o.a.createElement("div",{className:"style__list-wrapper___2R9As",key:t},o.a.createElement("div",{className:"style__list___3tl9y"},o.a.createElement(p.a,{href:e.link},_(t))))}))));var e}
1,null)),S?o.a.createElement(s.Modal,{className:"modal",preventRootScroll:!1,visible:v,onCancel:this.closeModal,onClose:this.closeModal,footer:null,size:"mini"},o.a.createElement("div",{className:"style__modal-container___iiN2a"},o.a.createElement("p",{className:"style__modal-title___3w0Ro"},_(g)),o.a.createElement("div",{className:"style__modal-body___3Io3S"},o.a.createElement("p",{className:"style__modal-desc___1Cn8x",dangerouslySetInnerHTML:{__html:_(w)}})),o.a.createElement(p.a,{href:E,className:"link-btn style__link-btn___1fKZG"},o.a.createElement(s.Button,{className:"style__modal-default-btn___FRnE4"},_(x))),o.a.createElement(p.a,{href:k,className:"link-btn style__link-btn___1fKZG"},o.a.createElement(s.Button,{className:"style__modal-primary-btn___1ZOcq"},_(O))))):null)}}])&&_(n.prototype,i),a&&_(n,a),t}();v(g,"editSetting",{key:"productNav",name:"productNav",component_data:{theme:{label:"主题色(dark 或者light 默认是dark)",type:"string"},link:{label:"product link",type:"string"},name:{type:"i18n",label:"product name"},navItem:{label:"导航item",type:"array",items:{type:"object",name:{type:"i18n",label:"name"},link:{type:"string",label:"link"}}},primaryBtns:{label:"primaryBtns",type:"array",items:{type:"object",name:{type:"i18n",label:"name"},link:{type:"string",label:"link(填的话直接跳转,不弹窗)"},modalTitle:{type:"i18n",label:"弹窗标题"},modalDesc:{type:"i18n",label:"弹窗描述"},modalBtnA:{type:"i18n",label:"弹窗按钮A文案"},modalBtnALink:{type:"string",label:"弹窗按钮A链接"},modalBtnB:{type:"i18n",label:"弹窗按钮B文案"},modalBtnBLink:{type:"string",label:"弹窗按钮B链接"}}}}}),v(g,"defaultProps",{t:function(){},component_data:{theme:"dark",title:"产品名",navItem:[{name:"specs",link:"#specs"},{name:"FAQ",link:"#faq"}],primaryModal:!0,primaryBtns:[{name:"Buy Now",link:"/",modalTitle:"This product is sold by DJI based on the authorization of Livox.",modalDesc:"I agree to the non - resale, non - reverse sale clause.",modalBtnA:"Contact us",modalBtnALink:"/",modalBtnB:"Purchase from DJI",modalBtnBLink:"/"}],link:"/",name:"产品名"}});var w=Object(l.b)(function(e){return{localization:e.localization}})(Object(c.a)(g));w.defaultProps=g.defaultProps,t.a=w},12:function(e,t,n){"use strict";var i=n(0),r=n.n(i),a=(n(1),n(2));n(411);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=s(t).call(this,e))||"object"!==o(r)&&"function"!=typeof r?c(i):r).handleClose=n.handleClose.bind(c(n)),n}var n,d,p;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,i["Component"]),n=t,(d=[{key:"handleClose",value:function(){var e=this.props.onClose;e&&e()}},{key:"render",value:function(){var e=this.props,t=e.videoLink,n=e.visible;return r.a.createElement(a.Mask,{className:"modal-mask",visible:n,onClose:this.handleClose},r.a.createElement("div",{className:"index__modal___1q_oC"},r.a.createElement("iframe",{title:"video player",className:"index__video-iframe___2zh9X",src:n?t:"",frameBorder:"0",vspace:"0",hspace:"0",allowFullScreen:!0,scrolling:"auto"})))}}])&&l(n.prototype,d),p&&l(n,p),t}();d.defaultProps={visible:!1,videoLink:"",onClose:function(){}},t.a=d},121:function(e,t,n){(function(e,i){var r;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(a){"object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType;var o="object"==typeof i&&i;o.global!==o&&o.window!==o&&o.self;var l,s=2147483647,c=36,u=1,d=26,p=38,f=700,m=72,_=128,h="-",b=/^xn--/,y=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,g={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >
1= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=c-u,x=Math.floor,E=String.fromCharCode;function O(e){throw new RangeError(g[e])}function k(e,t){for(var n=e.length,i=[];n--;)i[n]=t(e[n]);return i}function S(e,t){var n=e.split("@"),i="";return n.length>1&&(i=n[0]+"@",e=n[1]),i+k((e=e.replace(v,".")).split("."),t).join(".")}function P(e){for(var t,n,i=[],r=0,a=e.length;r<a;)(t=e.charCodeAt(r++))>=55296&&t<=56319&&r<a?56320==(64512&(n=e.charCodeAt(r++)))?i.push(((1023&t)<<10)+(1023&n)+65536):(i.push(t),r--):i.push(t);return i}function T(e){return k(e,function(e){var t="";return e>65535&&(t+=E((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=E(e)}).join("")}function N(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function j(e,t,n){var i=0;for(e=n?x(e/f):e>>1,e+=x(e/t);e>w*d>>1;i+=c)e=x(e/w);return x(i+(w+1)*e/(e+p))}function C(e){var t,n,i,r,a,o,l,p,f,b,y,v=[],g=e.length,w=0,E=_,k=m;for((n=e.lastIndexOf(h))<0&&(n=0),i=0;i<n;++i)e.charCodeAt(i)>=128&&O("not-basic"),v.push(e.charCodeAt(i));for(r=n>0?n+1:0;r<g;){for(a=w,o=1,l=c;r>=g&&O("invalid-input"),((p=(y=e.charCodeAt(r++))-48<10?y-22:y-65<26?y-65:y-97<26?y-97:c)>=c||p>x((s-w)/o))&&O("overflow"),w+=p*o,!(p<(f=l<=k?u:l>=k+d?d:l-k));l+=c)o>x(s/(b=c-f))&&O("overflow"),o*=b;k=j(w-a,t=v.length+1,0==a),x(w/t)>s-E&&O("overflow"),E+=x(w/t),w%=t,v.splice(w++,0,E)}return T(v)}function L(e){var t,n,i,r,a,o,l,p,f,b,y,v,g,w,k,S=[];for(v=(e=P(e)).length,t=_,n=0,a=m,o=0;o<v;++o)(y=e[o])<128&&S.push(E(y));for(i=r=S.length,r&&S.push(h);i<v;){for(l=s,o=0;o<v;++o)(y=e[o])>=t&&y<l&&(l=y);for(l-t>x((s-n)/(g=i+1))&&O("overflow"),n+=(l-t)*g,t=l,o=0;o<v;++o)if((y=e[o])<t&&++n>s&&O("overflow"),y==t){for(p=n,f=c;!(p<(b=f<=a?u:f>=a+d?d:f-a));f+=c)k=p-b,w=c-b,S.push(E(N(b+k%w,0))),p=x(k/w);S.push(E(N(p,0))),a=j(n,g,i==r),n=0,++i}++n,++t}return S.join("")}l={version:"1.4.1",ucs2:{decode:P,encode:T},decode:C,encode:L,toASCII:function(e){return S(e,function(e){return y.test(e)?"xn--"+L(e):e})},toUnicode:function(e){return S(e,function(e){return b.test(e)?C(e.slice(4).toLowerCase()):e})}},void 0===(r=function(){return l}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(99)(e),n(63))},122:function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},123:function(e,t,n){"use strict";t.decode=t.parse=n(124),t.encode=t.stringify=n(125)},124:function(e,t,n){"use strict";function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,a){t=t||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var l=/\+/g;e=e.split(t);var s=1e3;a&&"number"==typeof a.maxKeys&&(s=a.maxKeys);var c=e.length;s>0&&c>s&&(c=s);for(var u=0;u<c;++u){var d,p,f,m,_=e[u].replace(l,"%20"),h=_.indexOf(n);h>=0?(d=_.substr(0,h),p=_.substr(h+1)):(d=_,p=""),f=decodeURIComponent(d),m=decodeURIComponent(p),i(o,f)?r(o[f])?o[f].push(m):o[f]=[o[f],m]:o[f]=m}return o};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},125:function(e,t,n){"use strict";var i=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,l){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?a(o(e),function(o){var l=encodeURIComponent(i(o))+n;return r(e[o])?a(e[o],function(e){return l+encodeURIComponent(i(e))}).join(t):l+encodeURIComponent(i(e[o]))}).join(t):l?encodeURIComponent(i(l))+n+encodeURIComponent(i(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var n=[],i=0;i<e.length;i++)n.push(t(e[i],i));return n}var o=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},126:function(e,t,n){"use strict";e.exports=n(127)},127:function(e,t,n){"use strict";var i=n(128);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=i.getWindow(t));var r=n.allowHorizontalScroll,a=n.onlyScrollIfNeeded,o=n.alignWithTop,l=n.alignWithLeft,s=n.offsetTop||0,c=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;r=void 0===r||r;var p=i.isWindow(t),f=i.offset(e),m=i.outerHeight(e),_=i.outerWidth(e),h=void 0,b=void 0,y=void 0,v=void 0,g=void 0,w=void 0,x=void 0,E=void 0,O=void 0,k=void 0;p?(x=t,k=i.height(x),O=i.width(x),E={left:i.scrollLeft(x),top:i.scrollTop(x)},g={left:f.left-E.left-c,top:f.top-E.top-s},w={left:f.left+_-(E.left+O)+d,top:f.top+m-(E.top+k)+u},v=E):(h=i.offset(t),b=t.clientHeight,y=t.clientWidth,v={left:t.scrollLeft,top:t.scrollTop},g={left:f.left-(h.left+(parseFloat(i.css(t,"borderLeftWidth"))||0))-c,top:f.top-(h.top+(parseFloat(i.css(t,"borderTopWidth"))||0))-s},w={left:f.left+_-(h.left+y+(parseFloat(i.css(t,"borderRightWidth"))||0))+d,top:f.top+m-(h.top+b+(parseFloat(i.css(t,"borderBottomWidth"))||0))+u}),g.top<0||w.top>0?!0===o?i.scrollTop(t,v.top+g.top):!1===o?i.scrollTop(t,v.top+w.top):g.top<0?i.scrollTop(t,v.top+g.top):i.scrollTop(t,v.top+w.top):a||((o=void 0===o||!!o)?i.scrollTop(t,v.top+g.top):i.scrollTop(t,v.top+w.top)),r&&(g.left<0||w.left>0?!0===l?i.scrollLeft(t,v.left+g.left):!1===l?i.scrollLeft(t,v.left+w.left):g.left<0?i.scrollLeft(t,v.left+g.left):i.scrollLeft(t,v.left+w.left):a||((l=void 0===l||!!l)?i.scrollLeft(t,v.left+g.left):i.scrollLeft(t,v.left+w.left)))}},128:function(e,t,n){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function a(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],i="scroll"+(t?"Top":"Left");if("number"!=typeof n){var r=e.document;"number"!=typeof(n=r.documentElement[i])&&(n=r.body[i])}return n}function o(e){return a(e)}function l(e){return a(e,!0)}function s(e){var t=function(e){var t,n=void 0,i=void 0,r=e.ownerDocument,a=r.body,o=r&&r.documentElement;return n=(t=e.getBoundingClientRect()).left,i=t.top,{left:n-=o.clientLeft||a.clientLeft||0,top:i-=o.clientTop||a.clientTop||0}}(e),n=e.ownerDocument,i=n.defaultView||n.parentWindow;return t.left+=o(i),t.top+=l(i),t}var c=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,d="currentStyle",p="runtimeStyle",f="left",m="px";var _=void 0;function h(e,t){for(var n=0;n<e.length;n++)t(e[n])}function b(e){return"border-box"===_(e,"boxSizing")}"undefined"!=typeof window&&(_=window.getComputedStyle?function(e,t,n){var i="",r=e.ownerDocument,a=n||r.defaultView.getComputedStyle(e,null);return a&&(i=a.getPropertyValue(t)||a[t]),i}:function(e,t){var n=e[d]&&e[d][t];if(c.test(n)&&!u.test(t)){var i=e.style,r=i[f],a=e[p][f];e[p][f]=e[d][f],i[f]="fontSize"===t?"1em":n||0,n=i.pixelLeft+m,i[f]=r,e[p][f]=a}return""===n?"auto":n});var y=["margin","border","padding"],v=-1,g=2,w=1;function x(e,t,n){var i=0,r=void 0,a=void 0,o=void 0;for(a=0;a<t.length;a++)if(r=t[a])for(o=0;o<n.length;o++){var l=void 0;l="border"===r?r+n[o]+"Width":r+n[o],i+=parseFloat(_(e,l))||0}return i}function E(e){return null!=e&&e==e.window}
1var O={};function k(e,t,n){if(E(e))return"width"===t?O.viewportWidth(e):O.viewportHeight(e);if(9===e.nodeType)return"width"===t?O.docWidth(e):O.docHeight(e);var i="width"===t?["Left","Right"]:["Top","Bottom"],r="width"===t?e.offsetWidth:e.offsetHeight,a=(_(e),b(e)),o=0;(null==r||r<=0)&&(r=void 0,(null==(o=_(e,t))||Number(o)<0)&&(o=e.style[t]||0),o=parseFloat(o)||0),void 0===n&&(n=a?w:v);var l=void 0!==r||a,s=r||o;if(n===v)return l?s-x(e,["border","padding"],i):o;if(l){var c=n===g?-x(e,["border"],i):x(e,["margin"],i);return s+(n===w?0:c)}return o+x(e,y.slice(n),i)}h(["Width","Height"],function(e){O["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],O["viewport"+e](n))},O["viewport"+e]=function(t){var n="client"+e,i=t.document,r=i.body,a=i.documentElement[n];return"CSS1Compat"===i.compatMode&&a||r&&r[n]||a}});var S={position:"absolute",visibility:"hidden",display:"block"};function P(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=k.apply(void 0,n):function(e,t,n){var i={},r=e.style,a=void 0;for(a in t)t.hasOwnProperty(a)&&(i[a]=r[a],r[a]=t[a]);for(a in n.call(e),t)t.hasOwnProperty(a)&&(r[a]=i[a])}(e,S,function(){t=k.apply(void 0,n)}),t}function T(e,t,n){var i=n;if("object"!==(void 0===t?"undefined":r(t)))return void 0!==i?("number"==typeof i&&(i+="px"),void(e.style[t]=i)):_(e,t);for(var a in t)t.hasOwnProperty(a)&&T(e,a,t[a])}h(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);O["outer"+t]=function(t,n){return t&&P(t,e,n?0:w)};var n="width"===e?["Left","Right"]:["Top","Bottom"];O[e]=function(t,i){if(void 0===i)return t&&P(t,e,v);if(t){_(t);return b(t)&&(i+=x(t,["padding","border"],n)),T(t,e,i)}}}),e.exports=i({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return s(e);!function(e,t){"static"===T(e,"position")&&(e.style.position="relative");var n=s(e),i={},r=void 0,a=void 0;for(a in t)t.hasOwnProperty(a)&&(r=parseFloat(T(e,a))||0,i[a]=r+t[a]-n[a]);T(e,i)}(e,t)},isWindow:E,each:h,css:T,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(E(e)){if(void 0===t)return o(e);window.scrollTo(t,l(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(E(e)){if(void 0===t)return l(e);window.scrollTo(o(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},O)},129:function(e,t,n){var i=n(130),r=n(131);e.exports=function(e,t){return null!=e&&r(e,t,i)}},130:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},131:function(e,t,n){var i=n(52),r=n(168),a=n(35),o=n(84),l=n(170),s=n(61);e.exports=function(e,t,n){for(var c=-1,u=(t=i(t,e)).length,d=!1;++c<u;){var p=s(t[c]);if(!(d=null!=e&&n(e,p)))break;e=e[p]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&l(u)&&o(p,u)&&(a(e)||r(e))}},132:function(e,t,n){var i=n(35),r=n(53),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;e.exports=function(e,t){if(i(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!r(e))||o.test(e)||!a.test(e)||null!=t&&e in Object(t)}},133:function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(63))},134:function(e,t,n){var i=n(55),r=Object.prototype,a=r.hasOwnProperty,o=r.toString,l=i?i.toStringTag:void 0;e.exports=function(e){var t=a.call(e,l),n=e[l];try{e[l]=void 0;var i=!0}catch(e){}var r=o.call(e);return i&&(t?e[l]=n:delete e[l]),r}},135:function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},136:function(e,t,n){var i=n(137),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,o=i(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,function(e,n,i,r){t.push(i?r.replace(a,"$1"):n||e)}),t});e.exports=o},137:function(e,t,n){var i=n(138),r=500;e.exports=function(e){var t=i(e,function(e){return n.size===r&&n.clear(),e}),n=t.cache;return t}},138:function(e,t,n){var i=n(139),r="Expected a function";function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(r);var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=e.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(a.Cache||i),n}a.Cache=i,e.exports=a},139:function(e,t,n){var i=n(140),r=n(160),a=n(162),o=n(163),l=n(164);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}s.prototype.clear=i,s.prototype.delete=r,s.prototype.get=a,s.prototype.has=o,s.prototype.set=l,e.exports=s},14:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.defaultParams={reset:!1,replayWhenRevisible:!1,visiblePlay:!1,lazyLoad:!1,lazyLoadThreshold:0,containerClassName:"dbv",replayClassName:"",downgradeHtml:""},this._init(t)}var t,i,r;return t=e,(i=[{key:"_init",value:function(e){this.params=Object.assign(this.defaultParams,e),this._processVideo()}},{key:"_processVideo",value:function(){var e=this,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),n=window.navigator.userAgent,i=!!n.match(/MicroMessenger/gi);this.video_containers=Array.from(document.querySelectorAll(".".concat(this.params.containerClassName))),this.videos=Array.from(document.querySelectorAll(".".concat(this.params.containerClassName," video"))),this.videos.length&&this.videos.forEach(function(r,a){
1if(t){var o=!!n.match(/iPad/i)||!!n.match(/iPhone/i),l=!!n.match(/UCBrowser/gi),s=!!n.match(/android/gi),c=!!n.match(/\bm?qqbrowser\/([0-9.]+)/gi);if(s||o&&(l||c))return void e._initDowngrade(r);e._videoWithControl(r)}e.params.lazyLoad&&e._initLazyLoad(r),i?document.addEventListener("WeixinJSBridgeReady",function(){e.params.visiblePlay&&e._initVisiblePlay(r,a),e.params.replayClassName&&e._initReplay(r,a),e.params.reset&&e._bindEndReset(r)}):(e.params.visiblePlay&&e._initVisiblePlay(r,a),e.params.replayClassName&&e._initReplay(r,a),e.params.reset&&e._bindEndReset(r))})}},{key:"_initLazyLoad",value:function(e){var t=this,n=this._throttle(r,50);window.addEventListener("scroll",n),window.addEventListener("resize",n);var i=!1;function r(){if(i)return!1;if(t._checkVisible(e,t.params.lazyLoadThreshold)){for(var r=e.querySelectorAll("source"),a=0;a<r.length;a++){var o=r[a].dataset.layzrSrc;r[a].setAttribute("src",o)}e.load(),i=!0,window.removeEventListener("scroll",n),window.removeEventListener("resize",n)}}r()}},{key:"_initVisiblePlay",value:function(e,t){var n=!1,i=!1,r=this,a=r.params.replayWhenRevisible,o=r._throttle(l,50);function l(){var l=r._showWholeElm(e);if(a){if(i||(r._bindVideoEvent(e,function(e){r._triggerVideoPlay(e),e.pause()}),i=!0),l&&!n)e.currentTime>0&&!e.paused&&!e.ended&&e.readyState>2||r._bindVideoEvent(e,function(e){(e.currentTime=0,r._triggerVideoPlay(e),r.params.replayClassName)&&(r.video_containers[t].querySelector(".".concat(r.params.replayClassName)).style.display="none");i=!0});n=l}else{if(i||!l)return;r._bindVideoEvent(e,function(e){e.currentTime=0,r._triggerVideoPlay(e),i=!0,window.removeEventListener("scroll",o),window.removeEventListener("resize",o)})}}window.addEventListener("scroll",o),window.addEventListener("resize",o),l()}},{key:"_initReplay",value:function(e,t){var n=this,i=n.video_containers[t].querySelector(".".concat(n.params.replayClassName));e.addEventListener("ended",function(){i.style.display="block",e.pause()}),i.addEventListener("click",function(){n._bindVideoEvent(e,function(e){e.currentTime=0,n._triggerVideoPlay(e)}),i.style.display="none"})}},{key:"_initDowngrade",value:function(e){var t=this.params.downgradeHtml;if(t){var n=e.parentNode,i=document.createElement("div"),r=e.dataset;Object.keys(r).forEach(function(e){if(e.match(/downgrade/i)){var n=e;n=n.replace("downgrade","");var i=r[e];t=t.replace("#".concat(n.toLowerCase(),"#"),i)}}),i.innerHTML=t;var a=i.childNodes[0];n.replaceChild(a,e)}}},{key:"_bindEndReset",value:function(e){e.addEventListener("ended",function(){e.currentTime=0})}},{key:"_videoWithControl",value:function(e){e.removeAttribute("autoplay"),e.setAttribute("playsinline",!0),e.setAttribute("x5-playsinline",!0),e.setAttribute("webkit-playsinline",!0),e.setAttribute("controls",!0),setTimeout(function(){e.removeAttribute("controls")},0)}},{key:"_bindVideoEvent",value:function(e,t){!!window.MSInputMethodContext&&!!document.documentMode?(e.load&&e.load(),e.addEventListener("canplay",function n(){t(e);e.removeEventListener("canplay",n)})):t(e)}},{key:"_triggerVideoPlay",value:function(e){if(!!window.navigator.userAgent.match(/MicroMessenger/gi)&&WeixinJSBridge)WeixinJSBridge.invoke("getNetworkType",{},function(){setTimeout(function(){var t=e.play();t&&t.then&&"function"==typeof t.then&&t.then(function(){},function(){})},0)},!1);else{var t=e.play();t&&t.then&&"function"==typeof t.then&&t.then(function(){},function(){})}}},{key:"_throttle",value:function(e,t){var n=this,i=arguments,r=!1;return function(){var a=i,o=n;if(!r)return e.apply(o,a),r=!0,setTimeout(function(){return r=!1},t)}}},{key:"_checkVisible",value:function(e,t){for(var n=t||0,i=window.scrollY||window.pageYOffset,r=i+window.innerHeight,a=e.offsetTop-n,o=e.offsetHeight+n;e.offsetParent;)a+=(e=e.offsetParent).offsetTop;return i<=(o+=a)&&o<=r||r>=a&&a>=i||a<=i&&o>=r}},{key:"_showWholeElm",value:function(e){for(var t=window.scrollY||window.pageYOffset,n=t+window.innerHeight,i=e.offsetTop,r=e.offsetHeight;e.offsetParent;)i+=(e=e.offsetParent).offsetTop;return r+=i,i>=t&&n>=r||i<=t&&n<=r}}])&&n(t.prototype,i),r&&n(t,r),e}();e.exports=i},140:function(e,t,n){var i=n(141),r=n(153),a=n(159);e.exports=function(){this.size=0,this.__data__={hash:new i,map:new(a||r),string:new i}}},141:function(e,t,n){var i=n(142),r=n(149),a=n(150),o=n(151),l=n(152);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}s.prototype.clear=i,s.prototype.delete=r,s.prototype.get=a,s.prototype.has=o,s.prototype.set=l,e.exports=s},142:function(e,t,n){var i=n(36);e.exports=function(){this.__data__=i?i(null):{},this.size=0}},143:function(e,t,n){var i=n(144),r=n(145),a=n(59),o=n(147),l=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,u=s.toString,d=c.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||r(e))&&(i(e)?p:l).test(o(e))}},144:function(e,t,n){var i=n(54),r=n(59),a="[object AsyncFunction]",o="[object Function]",l="[object GeneratorFunction]",s="[object Proxy]";e.exports=function(e){if(!r(e))return!1;var t=i(e);return t==o||t==l||t==a||t==s}}
1,145:function(e,t,n){var i,r=n(146),a=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";e.exports=function(e){return!!a&&a in e}},146:function(e,t,n){var i=n(56)["__core-js_shared__"];e.exports=i},147:function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},148:function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},149:function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},150:function(e,t,n){var i=n(36),r="__lodash_hash_undefined__",a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(i){var n=t[e];return n===r?void 0:n}return a.call(t,e)?t[e]:void 0}},151:function(e,t,n){var i=n(36),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return i?void 0!==t[e]:r.call(t,e)}},152:function(e,t,n){var i=n(36),r="__lodash_hash_undefined__";e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?r:t,this}},153:function(e,t,n){var i=n(154),r=n(155),a=n(156),o=n(157),l=n(158);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}s.prototype.clear=i,s.prototype.delete=r,s.prototype.get=a,s.prototype.has=o,s.prototype.set=l,e.exports=s},154:function(e,t){e.exports=function(){this.__data__=[],this.size=0}},155:function(e,t,n){var i=n(37),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=i(t,e);return!(n<0||(n==t.length-1?t.pop():r.call(t,n,1),--this.size,0))}},156:function(e,t,n){var i=n(37);e.exports=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]}},157:function(e,t,n){var i=n(37);e.exports=function(e){return i(this.__data__,e)>-1}},158:function(e,t,n){var i=n(37);e.exports=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},159:function(e,t,n){var i=n(58)(n(56),"Map");e.exports=i},160:function(e,t,n){var i=n(38);e.exports=function(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}},161:function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},162:function(e,t,n){var i=n(38);e.exports=function(e){return i(this,e).get(e)}},163:function(e,t,n){var i=n(38);e.exports=function(e){return i(this,e).has(e)}},164:function(e,t,n){var i=n(38);e.exports=function(e,t){var n=i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},165:function(e,t,n){var i=n(166);e.exports=function(e){return null==e?"":i(e)}},166:function(e,t,n){var i=n(55),r=n(167),a=n(35),o=n(53),l=1/0,s=i?i.prototype:void 0,c=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(a(t))return r(t,e)+"";if(o(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-l?"-0":n}},167:function(e,t){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}},168:function(e,t,n){var i=n(169),r=n(57),a=Object.prototype,o=a.hasOwnProperty,l=a.propertyIsEnumerable,s=i(function(){return arguments}())?i:function(e){return r(e)&&o.call(e,"callee")&&!l.call(e,"callee")};e.exports=s},169:function(e,t,n){var i=n(54),r=n(57),a="[object Arguments]";e.exports=function(e){return r(e)&&i(e)==a}},170:function(e,t){var n=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},171:function(e,t,n){e.exports={default:n(105),__esModule:!0}},172:function(e,t,n){"use strict";var i=n(0),r=n(173);if(void 0===i)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var a=(new i.Component).updater;e.exports=r(i.Component,i.isValidElement,a)},173:function(e,t,n){"use strict";var i=n(214),r={};var a=function(e){};function o(e,t,n,i,r,o,l,s){if(a(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,i,r,o,l,s],d=0;(c=new Error(t.replace(/%s/g,function(){return u[d++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}var l="mixins";e.exports=function(e,t,n){var a=[],s={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propT
1ypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},c={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},u={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)p(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=i({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=i({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=m(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=i({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(t)for(var n in t){var i=t[n];if(t.hasOwnProperty(n)){var r=n in u;o(!r,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var a=n in e;if(a){var l=c.hasOwnProperty(n)?c[n]:null;return o("DEFINE_MANY_MERGED"===l,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=m(e[n],i))}e[n]=i}}}(e,t)},autobind:function(){}};function d(e,t){var n=s.hasOwnProperty(t)?s[t]:null;v.hasOwnProperty(t)&&o("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&o("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function p(e,n){if(n){o("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),o(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var i=e.prototype,r=i.__reactAutoBindPairs;for(var a in n.hasOwnProperty(l)&&u.mixins(e,n.mixins),n)if(n.hasOwnProperty(a)&&a!==l){var c=n[a],p=i.hasOwnProperty(a);if(d(p,a),u.hasOwnProperty(a))u[a](e,c);else{var f=s.hasOwnProperty(a);if("function"!=typeof c||f||p||!1===n.autobind)if(p){var h=s[a];o(f&&("DEFINE_MANY_MERGED"===h||"DEFINE_MANY"===h),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",h,a),"DEFINE_MANY_MERGED"===h?i[a]=m(i[a],c):"DEFINE_MANY"===h&&(i[a]=_(i[a],c))}else i[a]=c;else r.push(a,c),i[a]=c}}}}function f(e,t){for(var n in o(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(o(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function m(e,t){return function(){var n=e.apply(this,arguments),i=t.apply(this,arguments);if(null==n)return i;if(null==i)return n;var r={};return f(r,n),f(r,i),r}}function _(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function h(e,t){return t.bind(e)}var b={componentDidMount:function(){this.__isMounted=!0}},y={componentWillUnmount:function(){this.__isMounted=!1}},v={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},g=function(){};return i(g.prototype,e.prototype,v),function(e){var t=function(e,i,a){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var i=t[n],r=t[n+1];e[i]=h(e,r)}}(this),this.props=e,this.context=i,this.refs=r,this.updater=a||n,this.state=null;var l=this.getInitialState?this.getInitialState():null;o("object"==typeof l&&!Array.isArray(l),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=l};for(var i in t.prototype=new g,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],a.forEach(p.bind(null,t)),p(t,b),p(t,e),p(t,y
1),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),o(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),s)t.prototype[i]||(t.prototype[i]=null);return t}}},174:function(e,t,n){var i=n(175);e.exports=function(e,t,n){var r=null==e?void 0:i(e,t);return void 0===r?n:r}},175:function(e,t,n){var i=n(52),r=n(61);e.exports=function(e,t){for(var n=0,a=(t=i(t,e)).length;null!=e&&n<a;)e=e[r(t[n++])];return n&&n==a?e:void 0}},176:function(e,t,n){var i=n(177),r=n(52),a=n(84),o=n(59),l=n(61);e.exports=function(e,t,n,s){if(!o(e))return e;for(var c=-1,u=(t=r(t,e)).length,d=u-1,p=e;null!=p&&++c<u;){var f=l(t[c]),m=n;if("__proto__"===f||"constructor"===f||"prototype"===f)return e;if(c!=d){var _=p[f];void 0===(m=s?s(_,f,p):void 0)&&(m=o(_)?_:a(t[c+1])?[]:{})}i(p,f,m),p=p[f]}return e}},177:function(e,t,n){var i=n(178),r=n(60),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var o=e[t];a.call(e,t)&&r(o,n)&&(void 0!==n||t in e)||i(e,t,n)}},178:function(e,t,n){var i=n(179);e.exports=function(e,t,n){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},179:function(e,t,n){var i=n(58),r=function(){try{var e=i(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},180:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=d(n(13)),r=d(n(10)),a=d(n(24)),o=d(n(30));t.default=function(e){return new m(e)};var l=d(n(86)),s=n(181),c=d(s),u=n(62);function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return 0===t.indexOf(e)&&-1!==[".","["].indexOf(t[e.length])}function f(e){return(0,u.flattenFields)(e,function(e,t){return(0,s.isFormField)(t)},"You must wrap field data with `createFormField`.")}var m=function(){function e(t){(0,a.default)(this,e),_.call(this),this.fields=f(t),this.fieldsMeta={}}return(0,o.default)(e,[{key:"updateFields",value:function(e){this.fields=f(e)}},{key:"flattenRegisteredFields",value:function(e){var t=this.getAllFieldsName();return(0,u.flattenFields)(e,function(e){return t.indexOf(e)>=0},"You cannot set a form field before rendering a field associated with the value.")}},{key:"setFields",value:function(e){var t=this,n=this.fieldsMeta,i=(0,r.default)({},this.fields,e),a={};Object.keys(n).forEach(function(e){a[e]=t.getValueFromFields(e,i)}),Object.keys(a).forEach(function(e){var n=a[e],o=t.getFieldMeta(e);if(o&&o.normalize){var l=o.normalize(n,t.getValueFromFields(e,t.fields),a);l!==n&&(i[e]=(0,r.default)({},i[e],{value:l}))}}),this.fields=i}},{key:"resetFields",value:function(e){var t=this.fields;return(e?this.getValidFieldsFullName(e):this.getAllFieldsName()).reduce(function(e,n){var i=t[n];return i&&"value"in i&&(e[n]={}),e},{})}},{key:"setFieldMeta",value:function(e,t){this.fieldsMeta[e]=t}},{key:"setFieldsAsDirty",value:function(){var e=this;Object.keys(this.fields).forEach(function(t){var n=e.fields[t],i=e.fieldsMeta[t];n&&i&&(0,u.hasRules)(i.validate)&&(e.fields[t]=(0,r.default)({},n,{dirty:!0}))})}},{key:"getFieldMeta",value:function(e){return this.fieldsMeta[e]=this.fieldsMeta[e]||{},this.fieldsMeta[e]}},{key:"getValueFromFields",value:function(e,t){var n=t[e];if(n&&"value"in n)return n.value;var i=this.getFieldMeta(e);return i&&i.initialValue}},{key:"getValidFieldsName",value:function(){var e=this,t=this.fieldsMeta;return t?Object.keys(t).filter(function(t){return!e.getFieldMeta(t).hidden}):[]}},{key:"getAllFieldsName",value:function(){var e=this.fieldsMeta;return e?Object.keys(e):[]}},{key:"getValidFieldsFullName",value:function(e){var t=Array.isArray(e)?e:[e];return this.getValidFieldsName().filter(function(e){return t.some(function(t){return e===t||(0,u.startsWith)(e,t)&&[".","["].indexOf(e[t.length])>=0})})}},{key:"getFieldValuePropValue",value:function(e){var t=e.name,n=e.getValueProps,r=e.valuePropName,a=this.getField(t),o="value"in a?a.value:e.initialValue;return n?n(o):(0,i.default)({},r,o)}},{key:"getField",value:function(e){return(0,r.default)({},this.fields[e],{name:e})}},{key:"getNotCollectedFields",value:function(){var e=this;return this.getValidFieldsName().filter(function(t){return!e.fields[t]}).map(function(t){return{name:t,dirty:!1,value:e.getFieldMeta(t).initialValue}}).reduce(function(e,t){return(0,l.default)(e,t.name,(0,c.default)(t))},{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce(function(t,n){return(0,l.default)(t,n,(0,c.default)(e.fields[n]))},this.getNotCollectedFields())}},{key:"getFieldMember",value:function(e,t){return this.getField(e)[t]}},{key:"getNestedFields",value:function(e,t){return(e||this.getValidFieldsName()).reduce(function(e,n){return(0,l.default)(e,n,t(n))},{})}},{key:"getNestedField",value:function(e,t){var n=this.getValidFieldsFullName(e);
1if(0===n.length||1===n.length&&n[0]===e)return t(e);var i="["===n[0][e.length],r=i?e.length:e.length+1;return n.reduce(function(e,n){return(0,l.default)(e,n.slice(r),t(n))},i?[]:{})}},{key:"isValidNestedFieldName",value:function(e){return this.getAllFieldsName().every(function(t){return!p(t,e)&&!p(e,t)})}},{key:"clearField",value:function(e){delete this.fields[e],delete this.fieldsMeta[e]}}]),e}(),_=function(){var e=this;this.setFieldsInitialValue=function(t){var n=e.flattenRegisteredFields(t),i=e.fieldsMeta;Object.keys(n).forEach(function(t){i[t]&&e.setFieldMeta(t,(0,r.default)({},e.getFieldMeta(t),{initialValue:n[t]}))})},this.getAllValues=function(){var t=e.fieldsMeta,n=e.fields;return Object.keys(t).reduce(function(t,i){return(0,l.default)(t,i,e.getValueFromFields(i,n))},{})},this.getFieldsValue=function(t){return e.getNestedFields(t,e.getFieldValue)},this.getFieldValue=function(t){var n=e.fields;return e.getNestedField(t,function(t){return e.getValueFromFields(t,n)})},this.getFieldsError=function(t){return e.getNestedFields(t,e.getFieldError)},this.getFieldError=function(t){return e.getNestedField(t,function(t){return(0,u.getErrorStrs)(e.getFieldMember(t,"errors"))})},this.isFieldValidating=function(t){return e.getFieldMember(t,"validating")},this.isFieldsValidating=function(t){return(t||e.getValidFieldsName()).some(function(t){return e.isFieldValidating(t)})},this.isFieldTouched=function(t){return e.getFieldMember(t,"touched")},this.isFieldsTouched=function(t){return(t||e.getValidFieldsName()).some(function(t){return e.isFieldTouched(t)})}};e.exports=t.default},181:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(10)),r=a(n(24));function a(e){return e&&e.__esModule?e:{default:e}}t.isFormField=l,t.default=function(e){if(l(e))return e;return new o(e)};var o=function e(t){(0,r.default)(this,e),(0,i.default)(this,t)};function l(e){return e instanceof o}},182:function(e,t,n){"use strict";var i=n(45),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return i.isMemo(e)?o:l[e.$$typeof]||r}l[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,i){if("string"!=typeof n){if(m){var r=f(n);r&&r!==m&&e(t,r,i)}var o=u(n);d&&(o=o.concat(d(n)));for(var l=s(t),_=s(n),h=0;h<o.length;++h){var b=o[h];if(!(a[b]||i&&i[b]||_&&_[b]||l&&l[b])){var y=p(n,b);try{c(t,b,y)}catch(e){}}}return t}return t}},183:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mixin=void 0;var i,r=n(85),a=(i=r)&&i.__esModule?i:{default:i};var o=t.mixin={getForm:function(){return{getFieldsValue:this.fieldsStore.getFieldsValue,getFieldValue:this.fieldsStore.getFieldValue,getFieldInstance:this.getFieldInstance,setFieldsValue:this.setFieldsValue,setFields:this.setFields,setFieldsInitialValue:this.fieldsStore.setFieldsInitialValue,getFieldDecorator:this.getFieldDecorator,getFieldProps:this.getFieldProps,getFieldsError:this.fieldsStore.getFieldsError,getFieldError:this.fieldsStore.getFieldError,isFieldValidating:this.fieldsStore.isFieldValidating,is
1FieldsValidating:this.fieldsStore.isFieldsValidating,isFieldsTouched:this.fieldsStore.isFieldsTouched,isFieldTouched:this.fieldsStore.isFieldTouched,isSubmitting:this.isSubmitting,submit:this.submit,validateFields:this.validateFields,resetFields:this.resetFields}}};t.default=function(e){return(0,a.default)(e,[o])}},184:function(e,t,n){"use strict";n.r(t);var i=n(10),r=n.n(i),a=n(17),o=n.n(a),l=/%[sdj%]/g,s=function(){};function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=1,r=t[0],a=t.length;if("function"==typeof r)return r.apply(null,t.slice(1));if("string"==typeof r){for(var o=String(r).replace(l,function(e){if("%%"===e)return"%";if(i>=a)return e;switch(e){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch(e){return"[Circular]"}break;default:return e}}),s=t[i];i<a;s=t[++i])o+=" "+s;return o}return r}function u(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"pattern"===e}(t)||"string"!=typeof e||e))}function d(e,t,n){var i=0,r=e.length;!function a(o){if(o&&o.length)n(o);else{var l=i;i+=1,l<r?t(e[l],a):n([])}}([])}function p(e,t,n,i){if(t.first)return d(function(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}(e),n,i);var r=t.firstFields||[];!0===r&&(r=Object.keys(e));var a=Object.keys(e),o=a.length,l=0,s=[],c=function(e){s.push.apply(s,e),++l===o&&i(s)};a.forEach(function(t){var i=e[t];-1!==r.indexOf(t)?d(i,n,c):function(e,t,n){var i=[],r=0,a=e.length;function o(e){i.push.apply(i,e),++r===a&&n(i)}e.forEach(function(e){t(e,o)})}(i,n,c)})}function f(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:t,field:t.field||e.fullField}}}function m(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];"object"===(void 0===i?"undefined":o()(i))&&"object"===o()(e[n])?e[n]=r()({},e[n],i):e[n]=i}return e}var _=function(e,t,n,i,r,a){!e.required||n.hasOwnProperty(e.field)&&!u(t,a||e.type)||i.push(c(r.messages.required,e.fullField))};var h=function(e,t,n,i,r){(/^\s+$/.test(t)||""===t)&&i.push(c(r.messages.whitespace,e.fullField))},b={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},y={integer:function(e){return y.number(e)&&parseInt(e,10)===e},float:function(e){return y.number(e)&&!y.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(void 0===e?"undefined":o()(e))&&!y.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(b.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(b.url)},hex:function(e){return"string"==typeof e&&!!e.match(b.hex)}};var v=function(e,t,n,i,r){if(e.required&&void 0===t)_(e,t,n,i,r);else{var a=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(a)>-1?y[a](t)||i.push(c(r.messages.types[a],e.fullField,e.type)):a&&(void 0===t?"undefined":o()(t))!==e.type&&i.push(c(r.messages.types[a],e.fullField,e.type))}};var g="enum";var w={required:_,whitespace:h,type:v,range:function(e,t,n,i,r){var a="number"==typeof e.len,o="number"==typeof e.min,l="number"==typeof e.max,s=t,u=null,d="number"==typeof t,p="string"==typeof t,f=Array.isArray(t);if(d?u="number":p?u="string":f&&(u="array"),!u)return!1;f&&(s=t.length),p&&(s=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?s!==e.len&&i.push(c(r.messages[u].len,e.fullField,e.len)):o&&!l&&s<e.min?i.push(c(r.messages[u].min,e.fullField,e.min)):l&&!o&&s>e.max?i.push(c(r.messages[u].max,e.fullField,e.max)):o&&l&&(s<e.min||s>e.max)&&i.push(c(r.messages[u].range,e.fullField,e.min,e.max))},enum:function(e,t,n,i,r){e[g]=Array.isArray(e[g])?e[g]:[],-1===e[g].indexOf(t)&&i.push(c(r.messages[g],e.fullField,e[g].join(", ")))},pattern:function(e,t,n,i,r){e.pattern&&(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||i.push(c(r.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"==typeof e.pattern&&(new RegExp(e.pattern).test(t)||i.push(c(r.messages.pattern.mismatch,e.fullField,t,e.pattern))))}};var x="enum";var E=function(e,t,n,i,r){var a=e.type,o=[];
vendor: 4,827 bytes, line 1
1if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(u(t,a)&&!e.required)return n();w.required(e,t,i,o,r,a),u(t,a)||w.type(e,t,i,o,r)}n(o)},O={string:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(u(t,"string")&&!e.required)return n();w.required(e,t,i,a,r,"string"),u(t,"string")||(w.type(e,t,i,a,r),w.range(e,t,i,a,r),w.pattern(e,t,i,a,r),!0===e.whitespace&&w.whitespace(e,t,i,a,r))}n(a)},method:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(u(t)&&!e.required)return n();w.required(e,t,i,a,r),void 0!==t&&w.type(e,t,i,a,r)}n(a)},number:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(u(t)&&!e.required)return n();w.required(e,t,i,a,r),void 0!==t&&(w.type(e,t,i,a,r),w.range(e,t,i,a,r))}n(a)},boolean:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(u(t)&&!e.required)return n();w.required(e,t,i,a,r),void 0!==t&&w.type(e,t,i,a,r)}n(a)},regexp:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(u(t)&&!e.required)return n();w.required(e,t,i,a,r),u(t)||w.type(e,t,i,a,r)}n(a)},integer:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(u(t)&&!e.required)return n();w.required(e,t,i,a,r),void 0!==t&&(w.type(e,t,i,a,r),w.range(e,t,i,a,r))}n(a)},float:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(u(t)&&!e.required)return n();w.required(e,t,i,a,r),void 0!==t&&(w.type(e,t,i,a,r),w.range(e,t,i,a,r))}n(a)},array:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(u(t,"array")&&!e.required)return n();w.required(e,t,i,a,r,"array"),u(t,"array")||(w.type(e,t,i,a,r),w.range(e,t,i,a,r))}n(a)},object:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(u(t)&&!e.required)return n();w.required(e,t,i,a,r),void 0!==t&&w.type(e,t,i,a,r)}n(a)},enum:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(u(t)&&!e.required)return n();w.required(e,t,i,a,r),t&&w[x](e,t,i,a,r)}n(a)},pattern:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(u(t,"string")&&!e.required)return n();w.required(e,t,i,a,r),u(t,"string")||w.pattern(e,t,i,a,r)}n(a)},date:function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(u(t)&&!e.required)return n();if(w.required(e,t,i,a,r),!u(t)){var o=void 0;o="number"==typeof t?new Date(t):t,w.type(e,o,i,a,r),o&&w.range(e,o.getTime(),i,a,r)}}n(a)},url:E,hex:E,email:E,required:function(e,t,n,i,r){var a=[],l=Array.isArray(t)?"array":void 0===t?"undefined":o()(t);w.required(e,t,i,a,r,l),n(a)}};function k(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var S=k();function P(e){this.rules=null,this._messages=S,this.define(e)}P.prototype={messages:function(e){return e&&(this._messages=m(k(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(void 0===e?"undefined":o()(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,n=void 0;for(t in e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments[2],a=e,l=n,u=i;if("function"==typeof l&&(u=l,l={}),this.rules&&0!==Object.keys(this.rules).length){if(l.messages){var d=this.messages();d===S&&(d=k()),m(d,l.messages),l.messages=d}else l.messages=this.messages();var _=void 0,h=void 0,b={};
1(l.keys||Object.keys(this.rules)).forEach(function(n){_=t.rules[n],h=a[n],_.forEach(function(i){var o=i;"function"==typeof o.transform&&(a===e&&(a=r()({},a)),h=a[n]=o.transform(h)),(o="function"==typeof o?{validator:o}:r()({},o)).validator=t.getValidationMethod(o),o.field=n,o.fullField=o.fullField||n,o.type=t.getType(o),o.validator&&(b[n]=b[n]||[],b[n].push({rule:o,value:h,source:a,field:n}))})});var y={};p(b,l,function(e,t){var n=e.rule,i=!("object"!==n.type&&"array"!==n.type||"object"!==o()(n.fields)&&"object"!==o()(n.defaultField));function a(e,t){return r()({},t,{fullField:n.fullField+"."+e})}function u(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(Array.isArray(o)||(o=[o]),o.length&&s("async-validator:",o),o.length&&n.message&&(o=[].concat(n.message)),o=o.map(f(n)),l.first&&o.length)return y[n.field]=1,t(o);if(i){if(n.required&&!e.value)return o=n.message?[].concat(n.message).map(f(n)):l.error?[l.error(n,c(l.messages.required,n.field))]:[],t(o);var u={};if(n.defaultField)for(var d in e.value)e.value.hasOwnProperty(d)&&(u[d]=n.defaultField);for(var p in u=r()({},u,e.rule.fields))if(u.hasOwnProperty(p)){var m=Array.isArray(u[p])?u[p]:[u[p]];u[p]=m.map(a.bind(null,p))}var _=new P(u);_.messages(l.messages),e.rule.options&&(e.rule.options.messages=l.messages,e.rule.options.error=l.error),_.validate(e.value,e.rule.options||l,function(e){t(e&&e.length?o.concat(e):e)})}else t(o)}i=i&&(n.required||!n.required&&e.value),n.field=e.field;var d=n.validator(n,e.value,u,e.source,l);d&&d.then&&d.then(function(){return u()},function(e){return u(e)})},function(e){!function(e){var t,n=void 0,i=void 0,r=[],a={};for(n=0;n<e.length;n++)t=e[n],Array.isArray(t)?r=r.concat.apply(r,t):r.push(t);if(r.length)for(n=0;n<r.length;n++)a[i=r[n].field]=a[i]||[],a[i].push(r[n]);else r=null,a=null;u(r,a)}(e)})}else u&&u()},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!O.hasOwnProperty(e.type))throw new Error(c("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"==typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?O.required:O[this.getType(e)]||!1}},P.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");O[e]=t},P.messages=S;t.default=P},185:function(e,t,n){"use strict";n.r(t);var i=n(0),r=n.n(i),a=n(1),o=n.n(a),l=n(6),s=n.n(l),c=n(25),u=n.n(c),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i["Component"]),d(t,[{key:"shouldComponentUpdate",value:function(e){return this.props.forceRender||!u()(this.props,e)}},{key:"render",value:function(){var e;if(this._isActived=this.props.forceRender||this._isActived||this.props.isActive,!this._isActived)return null;var t=this.props,n=t.prefixCls,i=t.isActive,a=t.children,o=t.destroyInactivePanel,l=t.forceRender,c=t.role,u=s()((p(e={},n+"-content",!0),p(e,n+"-content-active",i),p(e,n+"-content-inactive",!i),e)),d=l||i||!o?r.a.createElement("div",{className:n+"-content-box"},a):null;return r.a.createElement("div",{className:u,role:c},d)}}]),t}();f.propTypes={prefixCls:o.a.string,isActive:o.a.bool,children:o.a.any,destroyInactivePanel:o.a.bool,forceRender:o.a.bool,role:o.a.string};var m=f,_=n(94),h=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var v=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,a=Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=i=y(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),i.handleItem
1Click=function(){var e=i.props,t=e.onItemClick,n=e.panelKey;"function"==typeof t&&t(n)},i.handleKeyPress=function(e){"Enter"!==e.key&&13!==e.keyCode&&13!==e.which||i.handleItemClick()},y(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i["Component"]),h(t,[{key:"shouldComponentUpdate",value:function(e){return!u()(this.props,e)}},{key:"render",value:function(){var e,t=this.props,n=t.className,i=t.id,a=t.style,o=t.prefixCls,l=t.header,c=t.headerClass,u=t.children,d=t.isActive,p=t.showArrow,f=t.destroyInactivePanel,h=t.disabled,y=t.accordion,v=t.forceRender,g=t.expandIcon,w=t.extra,x=s()(o+"-header",b({},c,c)),E=s()((b(e={},o+"-item",!0),b(e,o+"-item-active",d),b(e,o+"-item-disabled",h),e),n),O=r.a.createElement("i",{className:"arrow"});return p&&"function"==typeof g&&(O=g(this.props)),r.a.createElement("div",{className:E,style:a,id:i},r.a.createElement("div",{className:x,onClick:this.handleItemClick,role:y?"tab":"button",tabIndex:h?-1:0,"aria-expanded":""+d,onKeyPress:this.handleKeyPress},p&&O,l,w&&r.a.createElement("div",{className:o+"-extra"},w)),r.a.createElement(_.a,{showProp:"isActive",exclusive:!0,component:"",animation:this.props.openAnimation},r.a.createElement(m,{prefixCls:o,isActive:d,destroyInactivePanel:f,forceRender:v,role:y?"tabpanel":null},u)))}}]),t}();v.propTypes={className:o.a.oneOfType([o.a.string,o.a.object]),id:o.a.string,children:o.a.any,openAnimation:o.a.object,prefixCls:o.a.string,header:o.a.oneOfType([o.a.string,o.a.number,o.a.node]),headerClass:o.a.string,showArrow:o.a.bool,isActive:o.a.bool,onItemClick:o.a.func,style:o.a.object,destroyInactivePanel:o.a.bool,disabled:o.a.bool,accordion:o.a.bool,forceRender:o.a.bool,expandIcon:o.a.func,extra:o.a.node,panelKey:o.a.any},v.defaultProps={showArrow:!0,isActive:!1,destroyInactivePanel:!1,onItemClick:function(){},headerClass:"",forceRender:!1};var g=v,w=n(69);function x(e,t,n,i){var r=void 0;return Object(w.default)(e,n,{start:function(){t?(r=e.offsetHeight,e.style.height=0):e.style.height=e.offsetHeight+"px"},active:function(){e.style.height=(t?r:0)+"px"},end:function(){e.style.height="",i()}})}var E=function(e){return{enter:function(t,n){return x(t,!0,e+"-anim",n)},leave:function(t,n){return x(t,!1,e+"-anim",n)}}},O=n(45),k=n(80),S=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e){var t=e;return Array.isArray(t)||(t=t?[t]:[]),t.map(function(e){return String(e)})}var N=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));j.call(n);var i=e.activeKey,r=e.defaultActiveKey;return"activeKey"in e&&(r=i),n.state={openAnimation:e.openAnimation||E(e.prefixCls),activeKey:T(r)},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i["Component"]),S(t,[{key:"shouldComponentUpdate",value:function(e,t){return!u()(this.props,e)||!u()(this.state,t)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,i=t.className,a=t.style,o=t.accordion,l=s()((P(e={},n,!0),P(e,i,!!i),e));return r.a.createElement("div",{className:l,style:a,role:o?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var t={};return"activeKey"in e&&(t.activeKey=T(e.activeKey)),"openAnimation"in e&&(t.openAnimation=e.openAnimation),t.activeKey||t.openAnimation?t:null}}]),t}(),j=function(){var e=this;this.onClickItem=function(t){var n=e.state.activeKey;if(e.props.accordion)n=n[0]===t?[]:[t];else{var i=(n=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n))).indexOf(t);i>-1?n.splice(i,1):n.push(t)}e.setActiveKey(n)},this.getNewChild=function(t,n){if(!t)return null;var i=e.state.activeKey,a=e.props,o=a.prefixCls,l=a.accordion,s=a.destroyInactivePanel,c=a.expandIcon,u=t.key||String(n),d=t.props,p=d.header,f=d.headerClass,m=d.disabled,_={key:u,panelKey:u,header:p,headerClass:f,isActive:l?i[0]===u:i.indexOf(u)>-1,prefixCls:o,destroyInactivePanel:s,openAnimation:e.state.openAnimation,accordion:l,children:t.props.children,onItemClick:m?null:e.onClickItem,expandIcon:c};return r.a.cloneElement(t,_)},this.getItems=function(){var t=e.props.children,n=Object(O.isFragment)(t)?t.props.children:t,a=i.Children.map(n,e.getNewChild);return Object(O.isFragment)(t)?r.a.createElement(r.a.Fragment,null,a):a},this.setActiveKey=function(t){"activeKey"in e.props||e.setState({activeKey:t}),e.props.onChange(e.props.accordion?t[0]:t)}};N.propTypes={children:o.a.any,prefixCls:o.a.string,activeKey:o.a.oneOfType([o.a.string,o.a.number,o.a.arrayOf(o.a.oneOfType([o.a.string,o.a.number]))]),defaultActiveKey:o.a.oneOfType([o.a.string,o.a.number,o.a.arrayOf(o.a.oneOfType([o.a.string,o.a.number]))]),openAnimation:o.a.object,onChange:o.a.func,accordion:o.a.bool,className:o.a.string,
1style:o.a.object,destroyInactivePanel:o.a.bool,expandIcon:o.a.func},N.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},N.Panel=g,Object(k.polyfill)(N);var C=N;n.d(t,"Panel",function(){return L});t.default=C;var L=C.Panel},187:function(e,t,n){"use strict";var i=n(0),r=n.n(i),a=(n(1),n(2)),o=n(3),l=n(4);n(412);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function u(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f,m,_,h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),u(this,d(t).apply(this,arguments))}var n,i,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,r.a.PureComponent),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.title,n={fontSize:e.size};return r.a.createElement("div",{className:"style__title-content___1-6Oq"},r.a.createElement(a.Row,null,r.a.createElement(a.Col,null,r.a.createElement("div",null,r.a.createElement("h2",{className:"style__title___1X1QG",style:n},t),r.a.createElement("span",{className:"style__title-line___3PRKI"})))))}}])&&c(n.prototype,i),o&&c(n,o),t}();_={title:"",size:"32px"},(m="defaultProps")in(f=h)?Object.defineProperty(f,m,{value:_,enumerable:!0,configurable:!0,writable:!0}):f[m]=_;var b=h;n(281);function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=g(t).call(this,e))||"object"!==y(r)&&"function"!=typeof r?w(i):r).status={carList:{}},n.getInputVal=n.getInputVal.bind(w(n)),n.inputOnBlur=n.inputOnBlur.bind(w(n)),n}var n,i,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x(e,t)}(t,r.a.Component),n=t,(i=[{key:"componentWillMount",value:function(){var e=this.props,t=e.productsList,n=e.name,i=e.onChange;this.setState({carList:t,mainName:n}),i(t)}},{key:"getInputVal",value:function(e,t){var n=this.state,i=n.carList,r=n.mainName,a=this.props.onChange,o=i.length>0&&i.map(function(n,i){return i===t&&e.target.value>-1&&e.target.value.length<5&&(n.num=e.target.value.replace(/\D/g,""),1===e.target.value.length&&"0"===e.target.value&&(n.num=1)),n});this.setState({carList:o,mainName:r}),a(i)}},{key:"inputOnBlur",value:function(e,t){var n=this.state,i=n.carList,r=n.mainName,a=this.props.onChange,o=r,l=i.length>0&&i.map(function(n,i){return i===t&&(""===e.target.value?n.num=0:n.num=e.target.value),n});this.setState({carList:l,mainName:o}),a(i)}}
1,{key:"inputOnFocus",value:function(e,t){var n=this.state,i=n.carList,r=n.mainName,a=this.props.onChange,o=i.length>0&&i.map(function(n,i){return i===t&&"0"===e.target.value&&(n.num=1),n});this.setState({carList:o,mainName:r}),a(i)}},{key:"augment",value:function(e){var t=this.state,n=t.carList,i=t.mainName,r=this.props.onChange,a=n.length>0&&n.map(function(t,n){return n===e&&t.num<9999&&(t.num=1*t.num+1),t});this.setState({carList:a,mainName:i}),r(n)}},{key:"reduce",value:function(e){var t=this.state,n=t.carList,i=t.mainName,r=this.props.onChange,a=n.length>0&&n.map(function(t,n){return n===e&&t.num>0&&(t.num=1*t.num-1),t});this.setState({carList:a,mainName:i}),r(n)}},{key:"renderTableTitle",value:function(){var e=this.props,t=e.translation_data,n=t.tableThItem,i=t.tableThPrice,o=t.tableThQuantity,l=e.t;return r.a.createElement("div",{className:"style__table-th___xFgll"},r.a.createElement(a.Row,{size:8,gutter:"large"},r.a.createElement(a.Col,{size:4},l(n)),r.a.createElement(a.Col,{size:2},l(i)),r.a.createElement(a.Col,{size:2},l(o))))}},{key:"render",value:function(){var e=this,t=this.state,n=t.carList,i=t.mainName,o=this.props.t,s=n&&n.length>0&&n.map(function(t,n){return r.a.createElement("div",{key:o(t.productName),className:"style__order-product-list___1m-kz"},r.a.createElement(a.Row,{size:8,gutter:"large"},r.a.createElement(a.Col,{size:4},r.a.createElement("div",{className:"style__order-product___2bmKv"},t.productImage?r.a.createElement("div",{className:"style__order-product-img___2TxSm"},r.a.createElement("img",{src:Object(l.a)(t.productImage),alt:"img"})):null,r.a.createElement("div",{className:"style__product-wrapper___kZk4o"},t.status?r.a.createElement("p",{className:"style__product-status___1567b"},o(t.status)):"",r.a.createElement("p",{className:"style__product-name___O8dM9"},o(t.productName)),o(t.learnMoreLink)?r.a.createElement("a",{href:o(t.learnMoreLink),className:"style__product-learn-more___3JkWO"},o(t.learnMore),r.a.createElement(a.Icon,{name:"angle-right"})):"",r.a.createElement("div",{className:"style__product-description___2WfXg"},r.a.createElement("p",{className:"style__product-notes-name___2J9af"},o(t.describeName)),r.a.createElement("p",{className:"style__product-notes___18-X_"},o(t.describeContent)))))),r.a.createElement(a.Col,{size:2,className:"style__product-price___4FE9w"},r.a.createElement("div",null,o(t.price))),r.a.createElement(a.Col,{size:2,className:"style__product-quantity___16d0H"},r.a.createElement("div",{className:"style__order-count-box___2bNOc"},r.a.createElement(a.ButtonGroup,{className:"style__order-count___-SBCg"},r.a.createElement(a.Button,{className:"style__order-reducer___1yfoe",onClick:function(){e.reduce(n)}},r.a.createElement(a.Icon,{name:"minus-light"})),r.a.createElement("input",{type:"number",value:t.num,className:"style__num___1f4Ol",name:o(i),onChange:function(t){e.getInputVal(t,n)},onBlur:function(t){e.inputOnBlur(t,n)},onFocus:function(t){e.inputOnFocus(t,n)}}),r.a.createElement(a.Button,{className:"style__order-add___l5ocI",onClick:function(){e.augment(n)}},r.a.createElement(a.Icon,{name:"plus-light"})))))),r.a.createElement("div",{className:"style__line___w825L"}))});return r.a.createElement("div",null,r.a.createElement(b,{title:o(i),size:"32px"}),r.a.createElement("div",{className:"style__order-wrapper___2TptV"},this.renderTableTitle(),s),r.a.createElement("div",{className:"style__level-line___3FFcn"}))}}])&&v(n.prototype,i),o&&v(n,o),t}();!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(E,"defaultProps",{productsList:{},name:"",onChange:function(){},translation_data:{},t:function(){}});var O=Object(o.a)(E);function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function S(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function P(e,t){return!t||"object"!==k(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
1function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=(n=P(this,T(t).call(this,e))).props.component_data,r=i.selectProduct,a=i.accessories,o=i.productSales;return n.state={childProduct:{selectProduct:r,accessories:a,productSales:o}},n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N(e,t)}(t,r.a.Component),n=t,(i=[{key:"handlechange",value:function(){var e=this.props,t=e.component_data,n=t.selectProduct,i=t.accessories,r=t.productSales,a=t.propsWarning,o=t.promptTitle,l=t.propsDesc,s=t.selectProductName,c=t.formTitle,u=t.formModalPrimaryBtnLink,d=t.formModalPrimaryBtn,p=t.formModalDefaultBtnLink,f=t.formModalDefaultBtn,m=t.formFailTitle,_=t.formSuccessTitle,h=t.formTermsaLink,b=t.formTermsa,y=t.formTerms,v=t.formPhoneInvalid,g=t.formEmailInvalid,w=t.formFailBtnText,x=t.formSubmitBtn,E=t.formRequire,O=t.tableThQuantity,k=t.tableThPrice,S=t.tableThItem,P=t.firstName,T=t.lastName,N=t.phone,j=t.email,C=t.continent,L=t.country,M=t.state,I=t.company,A=t.department,D=t.notes,z=t.code,V=t.formEmpty,R=e.getProducts;this.setState({childProduct:{selectProduct:n,accessories:i,productSales:r,propsWarning:a,promptTitle:o,propsDesc:l,selectProductName:s,formModalPrimaryBtnLink:u,formModalPrimaryBtn:d,formModalDefaultBtnLink:p,formModalDefaultBtn:f,formFailTitle:m,formSuccessTitle:_,formTermsaLink:h,formTermsa:b,formTerms:y,formPhoneInvalid:v,formEmailInvalid:g,formFailBtnText:w,formSubmitBtn:x,formRequire:E,formTitle:c,tableThQuantity:O,tableThPrice:k,tableThItem:S,firstName:P,lastName:T,phone:N,email:j,continent:C,country:L,state:M,company:I,department:A,notes:D,code:z,formEmpty:V}}),R(this.state.childProduct)}},{key:"render",value:function(){var e=this.props.component_data;return r.a.createElement("div",{className:"style__order-page___10W1u"},e.selectProduct&&e.selectProduct.length>0?r.a.createElement(O,{productsList:e.selectProduct,name:e.selectProductName,onChange:this.handlechange.bind(this,"selectProduct"),translation_data:e}):"",e.productSales&&e.productSales.length>0?r.a.createElement(O,{productsList:e.productSales,name:e.productSalesName,onChange:this.handlechange.bind(this,"productSales"),translation_data:e}):"",e.accessories&&e.accessories.length>0?r.a.createElement(O,{productsList:e.accessories,name:e.accessoriesName,onChange:this.handlechange.bind(this,"accessories"),translation_data:e}):"")}}])&&S(n.prototype,i),a&&S(n,a),t}();j(C,"defaultProps",{component_data:{},getProducts:function(){}}),j(C,"editSetting",{key:"orderComponent",name:"orderComponent",component_data:{tableThItem:{label:"产品表格头表头",type:"i18n"},tableThPrice:{label:"产品表格头价格",type:"i18n"},tableThQuantity:{label:"产品表格头数量",type:"i18n"},selectProductName:{label:"selectProductName",type:"i18n"},selectProduct:{lable:"selectProduct",type:"array",items:{type:"object",productImage:{type:"image",label:"产品图"},productName:{type:"i18n",label:"产品名字"},learnMoreLink:{type:"i18n",label:"了解更多链接"},learnMore:{type:"i18n",label:"了解更多"},price:{type:"i18n",label:"价格"},describeName:{type:"i18n",label:"描述name"},describeContent:{type:"i18n",label:"描述内容"},status:{type:"i18n",label:"产品状态"},num:{type:"number",label:"产品数量"}}},accessoriesName:{label:"accessoriesName",type:"i18n"},accessories:{lable:"accessories",type:"array",items:{type:"object",productImage:{type:"image",label:"产品图"},productName:{type:"i18n",label:"产品名字"},learnMoreLink:{type:"i18n",label:"了解更多链接"},learnMore:{type:"i18n",label:"了解更多"},price:{type:"i18n",label:"价格"},describeName:{type:"i18n",label:"描述name"},describeContent:{type:"i18n",label:"描述内容"},status:{type:"i18n",label:"产品状态"},num:{type:"number",label:"产品数量"}}},productSalesName:{lable:"productSalesName",type:"i18n"},productSales:{lable:"productSales",type:"array",items:{type:"object",productImage:{type:"image",label:"产品图"},productName:{type:"i18n",label:"产品名字"},learnMoreLink:{type:"i18n",label:"了解更多链接"},learnMore:{type:"i18n",label:"了解更多"},price:{type:"i18n",label:"价格"},describeName:{type:"i18n",label:"描述name"},describeContent:{type:"i18n",label:"描述内容"},status:{type:"i18n",label:"产品状态"},num:{type:"number",label:"产品数量"}}},formTitle:{label:"表单title",type:"i18n"},firstName:{label:"表单firstName",type:"i18n"},lastName:{label:"表单lastNAme",type:"i18n"},phone:{label:"表单phone",type:"i18n"},email:{label:"表单email",type:"i18n"},continent:{label:"表单continent",type:"i18n"},country:{label:"表单country",type:"i18n"},state:{label:"表单state",type:"i18n"},company:{label:"表单company",type:"i18n"},department:{label:"表单department",type:"i18n"},notes:{label:"表单notes",type:"i18n"},code:{label:"表单code",type:"i18n"},formRequire:{label:"必填提示",type:"i18n"},formEmailInvalid:{label:"邮箱格式错误提示",type:"i18n"},formPhoneInvalid:{label:"电话号码错误提示",type:"i18n"},formEmpty:{label:"不能输入空格提示",type:"i18n"},formTerms:{label:"表单条款文案",type:"i18n"},formTermsa:{label:"表单条款a标签文案",type:"i18n"},formTermsaLink:{label:"表单条款链接",type:"i18n"},formSubmitBtn:{label:"表单提交按钮",type:"i18n"},formSuccessTitle:{label:"表单成功提示title",type:"i18n"},formFailTitle:{label:"表单失败提示title",type:"i18n"},formModalDefaultBtn:{label:"表单弹窗默认button",type:"i18n"},formModalDefaultBtnLink:{label:"表单弹窗默认button链接",type:"i18n"},formModalPrimaryBtn:{label:"表单弹窗主要button",type:"i18n"},formModalPrimaryBtnLink:{label:"表单弹窗主要button链接",type:"i18n"},formFailBtnText:{label:"失败按钮文本",type:"i18n"}}});t.a=C},188:function(e,t,n){"use strict";var i=n(0),r=n.n(i),a=(n(1),n(3)),o=n(5),l=n.n(o),s=n(18),c=n(6),u=n.n(c),d=n(23),p=n(16),f=n(9),m=n(2);n(287);function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var h={"./index.css":{"dataset-form-section":"index__dataset-form-section____sTAg",loading:"index__loading___2wJwC","form-container":"index__form-container___ux-ST","text-box":"index__text-box___wAFH_",title:"index__title___25z1V",line:"index__line___2S0nm",desc:"index__desc___1x9gQ","long-line":"index__long-line___2hyny",component:"index__component___2ojpV","form-module":"index__form-module___2ugjO","form-wrap":"index__form-wrap___1BelR","select-box":"index__select-box___1jHy3",select:"index__select___EDe_-",icon:"index__icon___1cW8b",textarea:"index__textarea___1_MhE","captcha-label":"index__captcha-label___1vHIc",checkboxs:"index__checkboxs___1BPwT","submit-box":"index__submit-box___jXIJE","form-button":"index__form-button___1cUmQ","button-state":"index__button-state___316G_",btn:"index__btn___2EYJO","button-box":"index__button-box___2ewez","loading-circle":"index__loading-circle___1Yb9O","submit-btn":"index__submit-btn___279PB",captcha:"index__captcha___3F8w8","terms-text":"index__terms-text___3erU5",hide:"index__hide___2gTD1","form-modal-box":"index__form-modal-box___3yinj","form-success-icon":"index__form-success-icon___1LilT","form-fail-icon":"index__form-fail-icon___3367d","form-message":"index__form-message___3G1wl","part-wrap":"index__part-wrap___2on1K","modal-button-box":"index__modal-button-box___w9TwF",cancle:"index__cancle___1x34K","primary-btn":"index__primary-btn___3bHHY",checkbox:"index__checkbox___2kkDU","checkbox-label":"index__checkbox-label___3BEOs","checkbox-item":"index__checkbox-item___2HlOz","main-wrapper":"index__main-wrapper___lh0uD","form-section-container":"index__form-section-container___3xR26","contactus-form":"index__contactus-form___Duk6d",wrap:"index__wrap___3y370","side-section-container":"index__side-section-container___1A_de","dataset-form":"index__dataset-form___1kJqJ","tp-button":"index__tp-button___2qNYr"}};function b(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}
1function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var w=function(e){function t(e){var n,i,r,a,o,l;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,r=y(t).call(this,e),n=!r||"object"!==_(r)&&"function"!=typeof r?v(i):r,a=v(n),l=function(e){e.preventDefault();var t=n.props,i=t.local;t.form.validateFieldsAndScroll({scroll:{offsetTop:76}},function(e,t){if(!e){n.setState({buttonState:!0}),t.source||(t.source="tp_dataset");var r={},a=["activity_type","source","email","_rucaptcha","_captcha_key","private"];Object.keys(t).forEach(function(e){-1===a.indexOf(e)&&(r[e]=t[e],delete t[e])}),r&&(t.extra=r),Object(d.a)({method:"POST",url:Object(p.a)("/form/www_cms/activities"),data:t},i).then(function(e){return e.json()}).then(function(e){e.success?n.setState({message:e.data}):n.setState({message:e.message}),n.setState({defaultVisible:!0,formState:e.success,buttonState:!1})})}})},(o="handleSubmit")in a?Object.defineProperty(a,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[o]=l;var s=n.props,c=s.component_data.selectIndustry,u=s.t;return n.state={captchaKey:"",captcha:{},buttonState:!1,defaultVisible:!1,initModal:!1,subscribeCheck:!1,industryValue:u(c)},n.fetchCaptcha=n.fetchCaptcha.bind(v(n)),n.handleSubmit=n.handleSubmit.bind(v(n)),n.closeModal=n.closeModal.bind(v(n)),n.validataorTerms=n.validataorTerms.bind(v(n)),n.renderIndustry=n.renderIndustry.bind(v(n)),n.handleChangeIndustry=n.handleChangeIndustry.bind(v(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(t,r.a.PureComponent),n=t,(i=[{key:"componentDidMount",value:function(){this.fetchCaptcha(),this.setState({initModal:!0})}},{key:"getTimestamp",value:function(){return Math.round((new Date).getTime()/1e3)+Math.floor(999999*Math.random())}},{key:"fetchCaptcha",value:function(){var e=this,t=this.props.local,n=this.getTimestamp();this.setState({captchaKey:n});var i=Object(p.a)("/form/terminator_captcha/".concat(n));Object(d.a)({url:i},t).then(function(){e.setState({captcha:{url:i}})})}},{key:"closeModal",value:function(){var e=this.props,t=e.form,n=e.component_data,i=e.t;t.setFieldsValue({name:"",companyAddress:"",email:"",company:"",commentWarp:"",terms:!1}),t.resetFields("_rucaptcha"),this.fetchCaptcha(),this.setState({defaultVisible:!1,subscribeCheck:!1,industryValue:i(n.selectIndustry)})}},{key:"validataorTerms",value:function(e,t,n){var i=this.props,r=i.component_data.formRequire,a=i.t;t?n():n(r?a(r):"必填选项")}},{key:"handleChangeIndustry",value:function(e){this.setState({industryValue:e.target.value})}},{key:"renderIndustry",value:function(){var e=this.props,t=e.component_data.industryList,n=e.t;return t&&t.length>0?t.map(function(e){return r.a.createElement("option",{value:n(e.name),key:n(e.name)},n(e.name))}):null}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.form,a=t.component_data,o=t.mobile,s=i.getFieldDecorator,c=this.state,d=c.captcha,p=c.captchaKey,_=c.buttonState,b=c.defaultVisible,y=c.initModal,v=c.message,g=c.formState,w=c.subscribeCheck,x=c.industryValue,E=u()({"button-state":_,"form-button":!0}),O=g?r.a.createElement("div",{className:"index__form-modal-box___3yinj"},r.a.createElement(m.Icon,{name:"check-circle-o",className:"index__form-success-icon___1LilT"}),r.a.createElement("h5",null,n(a.formSuccessTitle))):r.a.createElement("div",{className:"index__form-modal-box___3yinj"},r.a.createElement(m.Icon,{name:"exclamation-circle-light",className:"index__form-fail-icon___3367d"}),r.a.createElement("h5",null,n(a.formFailTitle)));return r.a.createElement("div",{className:"index__form-wrap___1BelR"},r.a.createElement(f.a,{form:i,className:"dataset-form"},r.a.createElement(m.Row,null,r.a.createElement(m.Col,null,r.a.createElement(f.b,{label:"".concat(n(a.name)," *")},s("name",{rules:[{required:!0,message:n(a.formRequire)}],initialValue:"",validateTrigger:"onBlur"})(r.a.createElement("input",{type:"text",error:"name",name:"name",maxLength:"255"}))))),r.a.createElement(m.Row,null,r.a.createElement(m.Col,null,r.a.createElement(f.b,{label:"".concat(n(a.company)," *")},s("company",{rules:[{required:!0,message:n(a.formRequire)}],initialValue:"",validateTrigger:"onBlur"})(r.a.createElement("input",{type:"text",error:"company",name:"company",maxLength:"255"}))))),r.a.createElement(m.Row,null,r.a.createElement(m.Col,null,r.a.createElement(f.b,{label:"".concat(n(a.industry)," *")},s("industry",{rules:[{required:!0,message:n(a.formRequire)}],initialValue:"",validateTrigger:"onBlur"})(r.a.createElement("div",{className:"index__select-box___1jHy3",error:"industry"},r.a.createElement("select",{value:x,className:"index__select___EDe_-",name:"industry",onChange:this.handleChangeIndustry},r.a.createElement("option",{value:""},n(a.selectIndustry)),this.renderIndustry()),r.a.createElement("div",{className:"index__icon___1cW8b"}
1,r.a.createElement(m.Icon,{name:"caret-down"}))))))),r.a.createElement(m.Row,null,r.a.createElement(m.Col,null,r.a.createElement(f.b,{label:"".concat(n(a.companyAddress)," *")},s("companyAddress",{rules:[{required:!0,message:n(a.formRequire)}],initialValue:"",validateTrigger:"onBlur"})(r.a.createElement("input",{type:"text",error:"companyAddress",name:"companyAddress",maxLength:"255"}))))),r.a.createElement(m.Row,null,r.a.createElement(m.Col,null,r.a.createElement(f.b,{label:"".concat(n(a.email)," *")},s("email",{rules:[{required:!0,message:n(a.formRequire)},{type:"email",message:n(a.formEmailInvalid)}],initialValue:"",validateTrigger:"onBlur"})(r.a.createElement("input",{type:"text",error:"email",maxLength:"255"}))))),r.a.createElement(m.Row,null,r.a.createElement(m.Col,null,r.a.createElement(f.b,{label:"".concat(n(a.commentWarp)," *")},s("commentWarp",{rules:[{required:!0,message:n(a.formRequire)}],initialValue:"",validateTrigger:"onBlur"})(r.a.createElement("textarea",{type:"text",error:"commentWarp",maxLength:"5000",className:"index__textarea___1_MhE"}))))),r.a.createElement(m.Row,null,r.a.createElement(m.Col,null,r.a.createElement("p",{className:"index__captcha-label___1vHIc"},"".concat(n(a.captcha)," *")))),r.a.createElement(m.Row,{size:8,gutter:"medium"},r.a.createElement(m.Col,{size:4},r.a.createElement(f.b,{label:""},s("_rucaptcha",{rules:[{required:!0,message:n(a.formRequire)},{whitespace:!0,message:n(a.formEmpty)}],initialValue:"",validateTrigger:"onBlur"})(r.a.createElement("input",{type:"text",error:"_rucaptcha",name:"_rucaptcha",maxLength:"5"})))),r.a.createElement(m.Col,{size:4},r.a.createElement("div",null,r.a.createElement(f.b,{label:""},r.a.createElement("div",{className:l()(d.url?"":"hide",h)},r.a.createElement("img",{src:d.url,alt:"captcha",className:"index__captcha___3F8w8",onClick:this.fetchCaptcha,onKeyUp:function(){},role:"presentation"})))))),r.a.createElement(m.Row,null,r.a.createElement(m.Col,null,r.a.createElement(f.b,{label:"",style:{marginBottom:0}},s("terms",{rules:[{validator:this.validataorTerms}],valuePropName:"checked",initialValue:!1})(r.a.createElement("div",{error:"terms",className:"index__checkbox___2kkDU"},r.a.createElement("label",{className:"index__checkbox-label___3BEOs"},r.a.createElement("input",{type:"checkbox",name:"terms",value:"terms",className:"index__checkbox-item___2HlOz",onClick:function(t){e.setState({subscribeCheck:t.target.checked})},checked:w}),r.a.createElement("div",{className:"index__terms-text___3erU5",dangerouslySetInnerHTML:{__html:n(a.terms)}}))))))),r.a.createElement("div",{className:"index__submit-box___jXIJE"},r.a.createElement(m.Row,null,r.a.createElement(m.Col,null,r.a.createElement(f.b,{className:"tp-button",style:{marginBottom:0}},r.a.createElement("div",{className:l()(E,h)},r.a.createElement(m.Button,{block:!0,size:"medium",type:"primary",value:"Submit",onClick:this.handleSubmit,className:"index__btn___2EYJO"},r.a.createElement("div",{className:"index__button-box___2ewez"},_?r.a.createElement("span",{className:"index__loading-circle___1Yb9O"}):"",r.a.createElement("span",{className:"index__submit-btn___279PB"},n(a.formSubmitBtn)))))),r.a.createElement(f.b,{hide:!0},s("activity_type",{initialValue:"livox_dataset_form"})(r.a.createElement("input",null))),r.a.createElement(f.b,{hide:!0},s("_captcha_key",{initialValue:p})(r.a.createElement("input",null))),r.a.createElement(f.b,{hide:!0},s("private",{initialValue:!1})(r.a.createElement("input",null))))))),y?r.a.createElement(m.Modal,{visible:b,onCancel:this.closeModal,onClose:this.closeModal,type:"default",cancelText:"stay",okText:"back to homepage",size:o?"mini":"medium",footer:null},r.a.createElement("div",null,O,r.a.createElement("div",{className:"index__form-message___3G1wl"},v),r.a.createElement("div",{className:"index__modal-button-box___w9TwF"}))):null)}}])&&b(n.prototype,i),a&&b(n,a),t}();var x=f.a.create()(Object(a.a)(Object(s.b)(function(e){return{local:e.localization,mobile:e.context.mobileMode}})(w)));function E(e){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function k(e,t){return!t||"object"!==E(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),k(this,S(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P(e,t)}(t,r.a.PureComponent),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.t,n=e.component_data;return r.a.createElement("section",{className:"index__dataset-form-section____sTAg"},r.a.createElement("div",{className:"index__form-container___ux-ST"},r.a.createElement("div",{className:"index__text-box___wAFH_"},r.a.createElement("h3",{className:"index__title___25z1V"},t(n.datasetTitle)),r.a.createElement("p",{className:"index__line___2S0nm"}),r.a.createElement("div",{className:"index__desc___1x9gQ"},t(n.datasetDesc))),r.a.createElement("div",{className:"index__form-module___2ugjO"},r.a.createElement(x,{component_data:n,t:t})),r.a.createElement("p",{className:"index__long-line___2hyny"}),r.a.createElement("div",{className:"index__component___2ojpV"},t(n.comment))))}}])&&O(n.prototype,i),a&&O(n,a),t}();T(N,"defaultProps",{t:function(){},component_data:{datasetTitle:"title123",datasetDesc:"desc123",formSubmitBtn:"v3.test.livox.form.btn",name:"v3.test.livox.form.name",email:"v3.test.livox.form.email",company:"v3.test.livox.form.company",industry:"v3.test.livox.form.industry",selectIndustry:"v3.test.livox.form.industry.select_text",industryList:[{name:"v3.test.livox.form.industry.name1"},{name:"v3.test.livox.form.industry.name2"},{name:"v3.test.livox.form.industry.name3"},{name:"v3.test.livox.form.industry.name4"}],companyAddress:"v3.test.livox.form.companyAddress",commentWarp:"v3.test.livox.form.commentWarp",captcha:"v3.test.livox.form.captcha",formRequire:"v3.test.livox.form.formRequire",formEmpty:"v3.test.livox.form.formEmpty",formEmailInvalid:"v3.test.livox.form.formEmailInvalid",formSuccessTitle:"v3.test.livox.form.formSuccessTitle",formFailTitle:"v3.test.livox.form.formFailTitle",terms:"v3.test.livox.form.terms",comment:"v3.test.livox.form.comment"}}),T(N,"editSetting",{key:"dataSetFormComponent",name:"dataSetFormComponent",component_data:{datasetTitle:{type:"i18n",label:"模块标题"},datasetDesc:{type:"i18n",label:"模块描述"},formSubmitBtn:{type:"i18n",label:"提交按钮"},name:{type:"i18n",label:"姓名"},email:{type:"i18n",label:"邮箱"},company:{type:"i18n",label:"公司名称"},industry:{type:"i18n",label:"所属行业title"},selectIndustry:{type:"i18n",label:"选择行业时的提示文案"},industryList:{type:"array",label:"行业列表",items:{type:"object",name:{type:"i18n",label:"行业名称"}}},companyAddress:{type:"i18n",label:"公司名称"},commentWarp:{type:"i18n",label:"留言内容"},captcha:{type:"i18n",label:"验证码title"},terms:{type:"i18n",label:"条款"},comment:{type:"i18n",label:"comment"},formRequire:{type:"i18n",label:"必填提示"},formEmpty:{type:"i18n",label:"不能输入空格提示"},formEmailInvalid:{type:"i18n",label:"邮箱格式错误提示"},formSuccessTitle:{type:"i18n",label:"表单提交成功title"},formFailTitle:{type:"i18n",label:"表单提交失败title"}}});t.a=Object(a.a)(N)},191:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseValueAndUnit",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"scaleBetween",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"testForPassiveScroll",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"createId",{enumerable:!0,get:function(){return o.createId}});var i=l(n(376)),r=l(n(377)),a=l(n(378)),o=n(379);
1function l(e){return e&&e.__esModule?e:{default:e}}},193:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,a;return t=e,a=[{key:"deepMapReplace",value:function(e,t,i){return function e(r){return r&&"object"===n(r)?Array.isArray(r)?r=r.map(function(t){return e(t)}):Object.keys(r).forEach(function(t){r[t]=e(r[t])}):"string"==typeof r&&(r=r.replace(t,i)),r}(e)}},{key:"getOffset",value:function(e){var t=e,n=t.offsetParent,i=0;if(n&&"body"===n.nodeName.toLowerCase())i+=t.offsetTop;else for(;n;)i+=n.offsetTop,n=n.offsetParent;return i}},{key:"showWholeElm",value:function(e){if(!e)return!1;for(var t=window.scrollY||window.pageYOffset,n=t+window.innerHeight,i=e.offsetTop,r=e.offsetHeight,a=e;a.offsetParent;)i+=(a=a.offsetParent).offsetTop;return r+=i,i>=t&&n>=r||i<=t&&n<=r}},{key:"throttle",value:function(e,t){for(var n=this,i=arguments.length,r=new Array(i>2?i-2:0),a=2;a<i;a++)r[a-2]=arguments[a];var o=!1;return function(){var i=n;return!o&&(e.apply(i,r),o=!0,setTimeout(function(){return o=!1},t))}}},{key:"isDowngrade",value:function(){if("undefined"==typeof window)return!1;var e=window.navigator.userAgent,t=window.navigator.appVersion,n=(e.match(/MicroMessenger/gi),!!e.match(/iPad/i)||!!e.match(/iPhone/i)),i=!!e.match(/UCBrowser/gi),r=!!e.match(/android/gi),a=!!e.match(/\bm?qqbrowser\/([0-9.]+)/gi);!!e.match(/DJI-App-Ios/gi)||e.match(/DJI-App-Android/gi),!!e.match(/DJI-App-pilot-go/gi)||e.match(/DJI-App-pilot/gi),e.match(/djifly_ios/gi),!!e.match(/DJI-app-mimo-android/gi)||e.match(/DJI-app-mimo-ios/gi),e.match(/\bfirefox\/([0-9.ab]+)/gi),window.navigator&&window.navigator.permissions&&t.indexOf("(KHTML, like Gecko) Chrome");return r||n&&(i||a)}},{key:"isUCVersionBefore",value:function(e){if("undefined"!=typeof window){var t=window.navigator.userAgent.match(/UCBrowser\/(\d+)./i);return Boolean(t)&&+t[1]<e}}},{key:"isQQBrowser",value:function(){if("undefined"!=typeof window){var e=window.navigator.userAgent;return/\bm?qqbrowser\/([0-9.]+)/gi.test(e)}}},{key:"isAndroid",value:function(){if("undefined"==typeof window)return!1;var e=!!window.navigator.userAgent.match(/android/gi);return e}},{key:"isIOS",value:function(){if("undefined"==typeof window)return!1;var e=window.navigator.userAgent,t=!!e.match(/iPad/i)||!!e.match(/iPhone/i);return t}},{key:"isSamsungBrowser",value:function(){if("undefined"!=typeof window)return window.navigator.userAgent.match(/samsungbrowser/gi)}},{key:"isUC",value:function(){return"undefined"!=typeof window&&!!window.navigator.userAgent.match(/UCBrowser/gi)}},{key:"isAPP",value:function(){if("undefined"==typeof window)return!1;var e=window.navigator.userAgent,t=!!e.match(/DJI-App-Ios/gi)||!!e.match(/DJI-App-Android/gi),n=!!e.match(/DJI-App-pilot-go/gi)||!!e.match(/DJI-App-pilot/gi),i=!!e.match(/djifly_ios/gi),r=!!e.match(/DJI-app-mimo-android/gi)||!!e.match(/DJI-app-mimo-ios/gi);return i||n||t||r}},{key:"isWx",value:function(){return"undefined"!=typeof window&&!!window.navigator.userAgent.match(/MicroMessenger/gi)}},{key:"isIpad",value:function(){if("undefined"!=typeof window)return!!window.navigator.userAgent.match(/iPad/i)}},{key:"isiPadOriPadPro",value:function(){if("undefined"!=typeof window){var e=!!window.navigator.userAgent.match(/iPad/i),t="MacIntel"===navigator.platform&&navigator.maxTouchPoints>1;return e||t}}},{key:"isIOS15",value:function(){if("undefined"!=typeof window)return!!window.navigator.userAgent.match(/iPhone OS 15/i)}},{key:"videoWithControl",value:function(e){if("undefined"==typeof window)return!1;var t=window.navigator.userAgent;/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(t)&&(e.removeAttribute("autoplay"),e.setAttribute("muted",!0),e.setAttribute("playsinline",!0),e.setAttribute("x5-playsinline",!0),e.setAttribute("webkit-playsinline",!0),e.setAttribute("controls",!0),setTimeout(function(){e.removeAttribute("controls")},0))}},{key:"isMobile",value:function(){if("undefined"==typeof window)return!1;var e=window.navigator.userAgent;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e)}},{key:"getFileExtendingName",value:function(e){var t=/[^\.]\w*$/.exec(e);return t?t[0]:""}},{key:"getIOSversion",value:function(){var e,t;return/iP(hone|od|ad)/.test(navigator.platform)?(t=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),e={status:!0,version:parseInt(t[1],10),info:"".concat(parseInt(t[1],10),".").concat(parseInt(t[2],10),".").concat(parseInt(t[3]||0,10))}
1):e={status:!1,version:!1,info:""},e}}],(r=null)&&i(t.prototype,r),a&&i(t,a),e}();e.exports=r},195:function(e,t,n){"use strict";t.__esModule=!0;var i=a(n(392)),r=a(n(393));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t,n,a){null===t&&(t=Function.prototype);var o=(0,r.default)(t,n);if(void 0===o){var l=(0,i.default)(t);return null===l?void 0:e(l,n,a)}if("value"in o)return o.value;var s=o.get;return void 0!==s?s.call(a):void 0}},197:function(e,t,n){n(198);var i=n(20).Object;e.exports=function(e,t){return i.getOwnPropertyDescriptor(e,t)}},198:function(e,t,n){var i=n(199),r=n(253).f;n(78)("getOwnPropertyDescriptor",function(){return function(e,t){return r(i(e),t)}})},207:function(e,t,n){n(208),e.exports=n(20).Object.getPrototypeOf},208:function(e,t,n){var i=n(72),r=n(272);n(78)("getPrototypeOf",function(){return function(e){return r(i(e))}})},22:function(e,t,n){"use strict";var i=n(0),r=n.n(i),a=(n(1),n(6)),o=n.n(a),l=n(2),s=n(8),c=n(3);n(280);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _,h,b,y=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),p(this,f(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(t,r.a.PureComponent),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.link,n=e.iconName,i=e.theme,a=e.text,c=o()({"link-component":!0,"them-light":"light"===i,"them-dark":"dark"===i});return r.a.createElement("div",null,t?r.a.createElement(s.a,{href:t,className:c},r.a.createElement("span",{className:"link-text"},a),r.a.createElement(l.Icon,{name:n,className:"link-icon"})):r.a.createElement("div",{className:c},r.a.createElement("span",{className:"link-text"},a),r.a.createElement(l.Icon,{name:n,className:"link-icon"})))}}])&&d(n.prototype,i),a&&d(n,a),t}();b={link:"",text:"了解更多",iconName:"angle-right",theme:"dark"},(h="defaultProps")in(_=y)?Object.defineProperty(_,h,{value:b,enumerable:!0,configurable:!0,writable:!0}):_[h]=b;var v=Object(c.a)(y);function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function x(e,t){return!t||"object"!==g(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var k=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),x(this,E(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O(e,t)}(t,r.a.PureComponent),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.theme,n=e.link,i=e.text,a=e.iconName,c=e.animate,u=e.target,d=o()({"theme-light":"light"===t,"theme-dark":"dark"===t,"theme-primary":"primary"===t,"animate-transform":c});return r.a.createElement("div",{className:"basic-button-box"},n?r.a.createElement(s.a,{className:d,href:n,target:u},r.a.createElement("span",{className:i?"text text-margen":"text"},i),a?r.a.createElement(l.Icon,{name:a,className:"icon"}):""):r.a.createElement("div",{className:d},r.a.createElement("span",{className:i?"text text-margen":"text"},i),a?r.a.createElement(l.Icon,{name:a,className:"icon"}):""))}}
1])&&w(n.prototype,i),a&&w(n,a),t}();!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(k,"defaultProps",{theme:"light",link:"",text:"了解更多",iconName:"angle-right",animate:!0,target:"_self"});var S=Object(c.a)(k);n.d(t,"b",function(){return v}),n.d(t,"a",function(){return S})},237:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HORIZONTAL=t.VERTICAL=void 0;t.VERTICAL="vertical";t.HORIZONTAL="horizontal"},239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useController",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"withController",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"Parallax",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"ParallaxProvider",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"ParallaxBanner",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"ParallaxContext",{enumerable:!0,get:function(){return s.default}});var i=c(n(375)),r=c(n(282)),a=c(n(283)),o=c(n(389)),l=c(n(391)),s=c(n(108));function c(e){return e&&e.__esModule?e:{default:e}}},25:function(e,t){e.exports=function(e,t,n,i){var r=n?n.call(i,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<a.length;s++){var c=a[s];if(!l(c))return!1;var u=e[c],d=t[c];if(!1===(r=n?n.call(i,u,d,c):void 0)||void 0===r&&u!==d)return!1}return!0}},282:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;var t=l();if(t&&t.has(e))return t.get(e);var n={};if(null!=e){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var a=i?Object.getOwnPropertyDescriptor(e,r):null;a&&(a.get||a.set)?Object.defineProperty(n,r,a):n[r]=e[r]}}n.default=e,t&&t.set(e,n);return n}(n(0)),r=o(n(1)),a=o(n(108));function o(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function d(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){var t,n,o,l=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),d(this,p(n).apply(this,arguments))}var r,o,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(n,i.Component),r=n,(o=[{key:"render",value:function(){var t=this;return i.default.createElement(a.default.Consumer,null,function(n){return i.default.createElement(e,c({parallaxController:n},t.props))})}}])&&u(r.prototype,o),l&&u(r,l),n}();return t=l,n="propTypes",o={parallaxController:r.default.object},n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,l}},283:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;var t=s();if(t&&t.has(e))return t.get(e);var n={};if(null!=e){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var a=i?Object.getOwnPropertyDescriptor(e,r):null;a&&(a.get||a.set)?Object.defineProperty(n,r,a):n[r]=e[r]}}n.default=e,t&&t.set(e,n);return n}(n(0)),r=l(n(1)),a=l(n(284)),o=l(n(282));function l(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=function(e){function t(){var e,n,i,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,o=new Array(a),l=0;l<a;l++)o[l]=arguments[l];return i=this,r=(e=d(t)).call.apply(e,[this].concat(o)),n=!r||"object"!==c(r)&&"function"!=typeof r?p(i):r,m(p(n),"mapRefOuter",function(e){n._outer=e}),m(p(n),"mapRefInner",function(e){n._inner=e}),n}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,i.Component),n=t,(r=[{key:"componentDidMount",value:function(){var e=this.controller instanceof a.default;
1if(!this.controller&&!e)throw new Error("Must wrap your application's <Parallax /> components in a <ParallaxProvider />.");this.element=this.controller.createElement(this._getElementOptions())}},{key:"componentDidUpdate",value:function(e){this.props.disabled===e.disabled&&this.props.x[0]===e.x[0]&&this.props.x[1]===e.x[1]&&this.props.y[0]===e.y[0]&&this.props.y[1]===e.y[1]||this.controller.updateElementPropsById(this.element.id,this._getElementOptions().props),this.props.disabled!==e.disabled&&this.props.disabled&&this.controller.resetElementStyles(this.element)}},{key:"componentWillUnmount",value:function(){this.controller.removeElementById(this.element.id)}},{key:"_getElementOptions",value:function(){return{elInner:this._inner,elOuter:this._outer,props:{disabled:this.props.disabled,x0:this.props.x[0],x1:this.props.x[1],y0:this.props.y[0],y1:this.props.y[1]}}}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.tagOuter,a=e.tagInner,o=e.styleOuter,l=e.styleInner,s="parallax-outer"+(n?" ".concat(n):"");return i.default.createElement(r,{className:s,ref:this.mapRefOuter,style:o},i.default.createElement(a,{className:"parallax-inner",ref:this.mapRefInner,style:l},t))}},{key:"controller",get:function(){return this.props.parallaxController}}])&&u(n.prototype,r),o&&u(n,o),t}();m(_,"defaultProps",{disabled:!1,tagInner:"div",tagOuter:"div",x:[0,0],y:[0,0]}),m(_,"propTypes",{children:r.default.node,className:r.default.string,disabled:r.default.bool.isRequired,parallaxController:r.default.object,styleInner:r.default.object,styleOuter:r.default.object,tagInner:r.default.string.isRequired,tagOuter:r.default.string.isRequired,x:r.default.arrayOf(r.default.oneOfType([r.default.string,r.default.number])),y:r.default.arrayOf(r.default.oneOfType([r.default.string,r.default.number]))});var h=(0,o.default)(_);t.default=h},284:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(191),r=n(285),a=n(384),o=n(385),l=n(386),s=n(237);function c(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e){var t=e.scrollAxis,n=void 0===t?s.VERTICAL:t,p=e.scrollContainer,f=[],m=!!p,_=p||window,h=m?_.scrollLeft:window.pageXOffset,b=m?_.scrollTop:window.pageYOffset,y=new o.Scroll(h,b),v=new a.View({width:0,height:0,scrollContainer:p}),g=!1,w=(0,i.testForPassiveScroll)();function x(e){e.addEventListener("scroll",O,!!w&&{passive:!0}),window.addEventListener("resize",k,!1)}function E(e){e.removeEventListener("scroll",O,!!w&&{passive:!0}),window.removeEventListener("resize",k,!1)}function O(){var e=m?_.scrollLeft:window.pageXOffset,t=m?_.scrollTop:window.pageYOffset;y.setScroll(e,t),!g&&f.length>0&&(g=!0,window.requestAnimationFrame(S))}function k(){T(),S({updateCache:!0})}function S(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).updateCache;f.forEach(function(t){P(t),e&&t.setCachedAttributes(v,y)}),g=!1}function P(e){e.props.disabled||e.updatePosition(v,y)}function T(){if(m){var e=_.offsetWidth,t=_.offsetHeight;return v.setSize(e,t)}var n=document.documentElement,i=window.innerWidth||n.clientWidth,r=window.innerHeight||n.clientHeight;return v.setSize(i,r)}x(_),T(),this.getElements=function(){return f},this.createElement=function(e){var t=new l.Element(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(n,!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(n).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{scrollAxis:n}));return t.setCachedAttributes(v,y),f=[].concat(c(f),[t]),P(t),t},this.removeElementById=function(e){f&&(f=f.filter(function(t){return t.id!==e}))},this.updateElementPropsById=function(e,t){f=f.map(function(n){return n.id===e?n.updateProps(t):n}),this.update()},this.resetElementStyles=function(e){(0,r.resetStyles)(e)},this.update=function(){T(),S({updateCache:!0})},this.updateScrollContainer=function(e){E(_),_=e,m=!!e,v=new a.View({width:0,height:0,scrollContainer:e}),T(),x(_),S({updateCache:!0})},this.destroy=function(){E(_),f.forEach(function(e){return(0,r.resetStyles)(e)}),f=void 0}}p.init=function(e){if(!("undefined"!=typeof window))throw new Error("Looks like ParallaxController.init() was called on the server. This method must be called on the client.");return new p(e)};var f=p;t.default=f},285:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ParallaxContext",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"percentMoved",{enumerable:!0,get:function(){return r.percentMoved}}),Object.defineProperty(t,"setParallaxStyles",{enumerable:!0,get:function(){return a.setParallaxStyles}}),Object.defineProperty(t,"resetStyles",{enumerable:!0,get:function(){return a.resetStyles}}),Object.defineProperty(t,"getParallaxOffsets",{enumerable:!0,get:function(){return o.getParallaxOffsets}}),Object.defineProperty(t,"isElementInView",{enumerable:!0,get:function(){return l.isElementInView}}),Object.defineProperty(t,"getOffsets",{enumerable:!0,get:function(){return s.default}});var i=c(n(108)),r=n(380),a=n(381),o=n(286),l=n(382),s=c(n(383));function c(e){return e&&e.__esModule?e:{default:e}}},286:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getParallaxOffsets=function(e,t){var n=e.y0,r=e.y1,a=e.x0,o=e.x1,l=r.unit,s=o.unit,c=(0,i.scaleBetween)(t,a.value,o.value,0,100),u=(0,i.scaleBetween)(t,n.value,r.value,0,100);return{x:{value:c,unit:s},y:{value:u,unit:l}}};var i=n(191)},288:function(e,t,n){var i=n(374);e.exports=i},289:function(e,t){e.exports=function(e,t,n,i){var r=n?n.call(i,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<a.length;s++){var c=a[s];if(!l(c))return!1;var u=e[c],d=t[c];if(!1===(r=n?n.call(i,u,d,c):void 0)||void 0===r&&u!==d)return!1}return!0}},290:function(e,t,n){"use strict";n.r(t);var i=n(5),r=n.n(i),a=n(0),o=n.n(a),l=n(6),s=n.n(l),c=n(1),u=n.n(c),d=n(7),p=n.n(d),f=n(4),m=n(3);n(447);function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var h={"./style.css":{section:"style__section___rhFen","light-theme":"style__light-theme___3pNth",title:"style__title___1xeGw",link:"style__link___3qfJG",desc:"style__desc___3NBrh","spec-list":"style__spec-list___1hK9P","link-list":"style__link-list___1_IlQ"}};function b(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function y(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),y(this,v(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,a={height:parseInt(n.height,10),backgroundColor:n.bgcolor},l={fontSize:parseInt(n.titleSize,10)},c=s()({section:!0,"light-theme":n.light}),u=n.specList&&n.specList.map(function(e){return o.a.createElement("li",{key:p()()},o.a.createElement("h4",null,e.num),o.a.createElement("p",null,i(e.spec)))});return o.a.createElement("section",{style:a,className:r()(c,h)},o.a.createElement("h2",{className:"style__title___1xeGw",style:l},i(n.sectionTitle)),o.a.createElement("p",{className:"style__desc___3NBrh"},i(n.sectionDesc)),o.a.createElement("p",{className:"style__desc___3NBrh"},i("v1.test.text1")),o.a.createElement("img",{src:Object(f.a)(n.productImage),alt:n.productImage,style:{width:"320px",height:"320px"}}),o.a.createElement("ul",{className:"style__spec-list___1hK9P"},u),o.a.createElement("div",{className:"style__link-list___1_IlQ"},n.linkList&&n.linkList.map(function(e){return o.a.createElement("p",{key:p()()},i(e))})))}}
1])&&b(n.prototype,i),a&&b(n,a),t}();w(x,"defaultProps",{t:function(){},component_data:{bgcolor:"#f7f8f9",height:"840",test1:"tp.section.222",light:!1,titleSize:36,specList:[{num:30,spec:"分钟续航"},{num:7,spec:"公里控制距离"},{num:1,spec:"英寸传感器"}],linkList:["1. 功能预计发布时间为2019年1月。","2. 根据当地法规,部分国家和地区不支持 5.8GHz。","3. 飞行速度不超过 8 米/秒时生效。"],productImage:""}}),w(x,"editSetting",{key:"myComponent",name:"myComponent",component_data:{bgcolor:{label:"模块背景色",type:"string"},sectionTitle:{label:"Title文案",type:"i18n"},sectionDesc:{label:"Desc文案",type:"i18n"},height:{label:"模块高度(px)",type:"number"},light:{label:"使用浅色调文本",type:"boolean"},titleSize:{type:"select",label:"标题字号",items:[{value:24,label:"24px"},{value:32,label:"32px"},{value:36,label:"36px"}]},linkList:{type:"array",label:"注释",items:{type:"i18n",label:"注释"}},specList:{type:"array",label:"技术参数list",items:{type:"object",num:{type:"number",label:"数值"},spec:{type:"i18n",label:"技术参数"}}},imgList:{type:"array",label:"img list",items:{type:"object",num:{type:"image",label:"图片"}}},productImage:{label:"产品图片",type:"image"}}});var E=Object(m.a)(x),O=n(221),k=n(109),S=n(2),P=n(12);n(448);function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var I=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=j(t).call(this,e))||"object"!==T(r)&&"function"!=typeof r?C(i):r).state={videoVisible:!1},n.handleVideoShow=n.handleVideoShow.bind(C(n)),n.handleVideoHide=n.handleVideoHide.bind(C(n)),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L(e,t)}(t,o.a.Component),n=t,(i=[{key:"handleVideoShow",value:function(){this.setState({videoVisible:!0})}},{key:"handleVideoHide",value:function(){this.setState({videoVisible:!1})}},{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,r=this.state.videoVisible;return o.a.createElement("section",{style:{backgroundImage:"url(".concat(Object(f.a)(n.backgroundImg),")")},className:"index__banner-container___1oJe9"},o.a.createElement("div",{className:"index__text-table___30IKf"},o.a.createElement("div",{className:"index__text___XDujR"},o.a.createElement("h1",null,i(n.title)),o.a.createElement("p",{className:"index__product-banner-desc___3Egeh"},i(n.desc)),i(n.videoLink)?o.a.createElement("button",{type:"button",className:"index__video-link___bfezI",onClick:this.handleVideoShow},i("v1.common.product.watch_video.1"),o.a.createElement(S.Icon,{name:"play-circle-o",className:"index__video-play___1WoJw"})):null)),o.a.createElement(P.a,{visible:r,videoLink:i(n.videoLink),onClose:this.handleVideoHide}))}}])&&N(n.prototype,i),r&&N(n,r),t}();M(I,"editSetting",{key:"productBanner",name:"productBanner",component_data:{videoLink:{label:"视频链接",type:"i18n"},backgroundImg:{label:"背景图片",type:"image"},title:{label:"标题",type:"i18n"},desc:{label:"描述",type:"i18n"}}}),M(I,"defaultProps",{t:function(){},component_data:{videoLink:"/",backgroundImg:"c17ec679a4b030962040c1ccfd993b15.jpg",title:"标题",desc:"描述"}});var A=Object(m.a)(I),D=n(39);n(449);function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function V(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}
1function R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function B(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var W=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=R(t).call(this,e))||"object"!==z(r)&&"function"!=typeof r?B(i):r).state={play:!1},n.bindScroll=n.bindScroll.bind(B(n)),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.bindScroll)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.bindScroll)}},{key:"bindScroll",value:function(){var e=this,t=this.state,n=t.play,i=t.playPromise;if(!n&&Object(D.a)(this.videoDom)){var r=this.videoDom.play();this.setState({play:!0,playPromise:r}),this.videoDom.play()}else n&&!Object(D.a)(this.videoDom)&&(this.setState({play:!1}),i&&i.then(function(){e.videoDom.pause()}).catch(function(){}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.component_data,i=void 0===n?{}:n,r=t.t;return o.a.createElement("section",{className:"index__wrapper___1hckP"},o.a.createElement("div",{className:"index__section-container___3Cznz"},o.a.createElement("h2",{className:"index__section-title___2bNMx"},r(i.title)),o.a.createElement("p",{className:"index__section-desc___2W3yy"},r(i.desc)),o.a.createElement("div",{className:"index__video-container___24am9"},o.a.createElement("video",{ref:function(t){e.videoDom=t},className:"index__video-item___D2mwY",preload:"auto",muted:!0,loop:!0}," ",o.a.createElement("source",{src:i.videoLink,type:'video/mp4; codecs="avc1.4D401E, mp4a.40.2"'}))),i?function(e){if(!Array.isArray(e))return null;var t=e.map(function(e,t){return[o.a.createElement("div",{key:e.featureName,className:"index__feature-item___Ofj_H"},o.a.createElement(S.LazyImage,{src:Object(f.a)(e.icon),className:"index__feature-icon___1I8iD"}),o.a.createElement("h4",{className:"index__feature-name___2r2iN",dangerouslySetInnerHTML:{__html:r(e.featureName)}}),o.a.createElement("p",{className:"index__feature-desc___RsRei",dangerouslySetInnerHTML:{__html:r(e.featureDesc)}})),(t+1)%3!=0?o.a.createElement("div",{className:"index__divider___28aro",key:e.featureDesc}):null]});return o.a.createElement("div",{className:"index__feature-container___2UbEO"},t)}(i.features):null))}}])&&V(n.prototype,i),r&&V(n,r),t}();H(W,"editSetting",{key:"videoIntroductionSection",name:"videoIntroductionSection",component_data:{features:{label:"文案及icon",type:"array",items:{type:"object",icon:{type:"image",label:"icon"},featureName:{type:"i18n",label:"特点标题"},featureDesc:{type:"i18n",label:"特点描述"}}},videoLink:{label:"视频链接",type:"string"},title:{label:"标题",type:"i18n"},desc:{label:"描述",type:"i18n"}}}),H(W,"defaultProps",{t:function(){},component_data:{features:[{icon:"02998b3c8feb334e9a3999c5d0c89335.png",featureName:"特点",featureDesc:"一段描述"}],videoLink:"/",title:"标题",desc:"描述"}});var q=Object(m.a)(W),U=n(8);n(450);function G(e){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Y(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function K(e,t){return!t||"object"!==G(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function X(e){return(X=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $(e,t){return($=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Q=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),K(this,X(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t;return o.a.createElement("section",{className:"index__brick-wall___1FmaH"},n.title?o.a.createElement("h2",{className:"index__section-title___JKf62"},i(n.title)):null,n?function(e){if(!Array.isArray(e))return null;var t=e.map(function(e,t){var n=o.a.createElement("div",{className:"index__img-container___5ILD4"},o.a.createElement(S.LazyImage,{src:Object(f.a)(e.img),className:"index__img-part___1aCvf"})),r=o.a.createElement("div",{className:"index__text-part___1nU5W"},o.a.createElement("div",{className:"index__text___2r6tq"},o.a.createElement("h2",{className:"index__brick-title___3PbD-"},i(e.title)),o.a.createElement("p",{className:"index__brick-desc___3oWsh"},i(e.desc)),e.link?o.a.createElement(U.a,{href:e.link,className:"learn-more index__learn-more___OqyyB"},i("v1.common.product.learn_more.1"),o.a.createElement(S.Icon,{name:"angle-right",className:"index__learn-more-icon___2DfrW"})):null));return t%2==0?o.a.createElement("div",{className:"index__brick-container___3whEO",key:e.title},r,n):o.a.createElement("div",{className:"index__brick-container___3whEO",key:e.title},n,r)});return o.a.createElement("div",null,t)}(n.data):null)}}])&&Y(n.prototype,i),r&&Y(n,r),t}();Z(Q,"editSetting",{key:"brickWall",name:"brickwall",component_data:{data:{label:"展示的数据",type:"array",items:{type:"object",img:{type:"image",label:"图片"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},link:{type:"string",label:"链接"}}},title:{label:"标题",type:"i18n"}}}),Z(Q,"defaultProps",{t:function(){},component_data:{data:[{img:"c4184df42cfe4abe0f4e4faea8e69508.jpg",desc:"描述",title:"标题",link:"/"}],title:"大标题"}});var J=Object(m.a)(Q),ee=n(14),te=n.n(ee);n(451);function ne(e){return(ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var ie={"./index.css":{light:"index__light___6ocJS",dark:"index__dark___1A4Nv","brick-wall":"index__brick-wall___32ym8","section-title":"index__section-title___17UYY","horizontal-line":"index__horizontal-line___1jjQY","section-title-desc":"index__section-title-desc___1B1HT","brick-container":"index__brick-container___HXUCb","img-container":"index__img-container___30-BP","img-part":"index__img-part___17irH","text-part":"index__text-part___3p_Jt",text:"index__text___1g7aq","brick-title":"index__brick-title___1xL3p","brick-desc":"index__brick-desc___rcA1s","brick-link":"index__brick-link___17bEv","learn-more":"index__learn-more___2ZYdP","learn-more-video":"index__learn-more-video___1l_1U","learn-more-icon":"index__learn-more-icon___Y0mSO","video-wrapper":"index__video-wrapper___1V4Vq","video-item":"index__video-item___4cmF3","replay-button-brickWallV2":"index__replay-button-brickWallV2___a4IGU","replay-button-hidden":"index__replay-button-hidden___3JUfe"}};function re(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ae(e,t){return!t||"object"!==ne(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function oe(e){return(oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function le(e,t){return(le=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ce=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=ae(this,oe(t).call(this,e))).state={videoVisible:!1,videoLink:""},n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&le(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=document.getElementsByClassName("dbv-brickWall-V2-img1"),t=document.getElementsByClassName("replay-dbv-brickWall-V2-img1");if(0!==e.length)new te.a({containerClassName:"dbv-brickWall-V2-img1",visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,replayWhenRevisible:!0});if(0!==t.length)new te.a({containerClassName:"replay-dbv-brickWall-V2-img1",visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,replayWhenRevisible:!0,replayClassName:"replay-button-brickWallV2"})}},{key:"openVideoModal",value:function(e,t){e.preventDefault(),e.stopPropagation(),window.event.cancelBubble=!0,this.setState({videoVisible:!0,videoLink:t})}},{key:"render",value:function(){var e=this,t=this.props,n=t.component_data,i=void 0===n?{}:n,a=t.t,l=i.theme,s=this.state,c=s.videoVisible,u=s.videoLink;return o.a.createElement("section",{className:r()("brick-wall ".concat(l),ie)},i.title?o.a.createElement(o.a.Fragment,null,o.a.createElement("h2",{dangerouslySetInnerHTML:{__html:a(i.title)},className:r()("section-title ".concat(l),ie)}),o.a.createElement("p",{className:"index__horizontal-line___1jjQY"}),o.a.createElement("p",{dangerouslySetInnerHTML:{__html:a(i.titleDesc)},className:r()("section-title-desc ".concat(l),ie)})):null,i?function(e,t,n){if(!Array.isArray(e))return null;var i=e.map(function(e,i){var l=e.video?o.a.createElement("div",{style:{backgroundImage:"url(".concat(Object(f.a)(e.videoPoster),")"),backgroundSize:"cover"},className:(e.isReplay,("true"===e.isReplay?"replay-dbv-brickWall-V2-img1":"dbv-brickWall-V2-img1")+" index__video-wrapper___1V4Vq")},o.a.createElement("video",{name:"media",loop:"true"===e.isLoop,muted:!0,className:"index__video-item___4cmF3"},o.a.createElement("source",{"data-layzr-src":e.video})),"true"===e.isReplay?o.a.createElement("div",{className:"replay-button-brickWallV2 index__replay-button-brickWallV2___a4IGU"}):o.a.createElement("div",{className:"replay-button-brickWallV2 replay-button-hidden index__replay-button-brickWallV2___a4IGU index__replay-button-hidden___3JUfe"})):o.a.createElement("div",{className:"index__img-container___30-BP"},o.a.createElement(S.LazyImage,{src:Object(f.a)(e.img),className:"index__img-part___17irH"})),s=o.a.createElement("div",{className:"index__text-part___3p_Jt"},o.a.createElement("div",{className:"index__text___1g7aq"},o.a.createElement("h2",{dangerouslySetInnerHTML:{__html:a(e.title)},className:r()("brick-title ".concat(n),ie)}),o.a.createElement("p",{dangerouslySetInnerHTML:{__html:a(e.desc)},className:r()("brick-desc ".concat(n),ie)}),o.a.createElement("div",{className:r()("brick-link ".concat(n),ie)},e.videoLink?o.a.createElement("div",{className:"learn-more-video index__learn-more-video___1l_1U",onClick:function(n){return t.openVideoModal(n,e.videoLink)}},a(e.videoText),o.a.createElement(S.Icon,{name:"angle-right",className:"index__learn-more-icon___Y0mSO"})):null,e.link?o.a.createElement(U.a,{href:e.link,className:"learn-more index__learn-more___2ZYdP"},a(e.linkText),o.a.createElement(S.Icon,{name:"angle-right",className:"index__learn-more-icon___Y0mSO"})):null)));return i%2==0?o.a.createElement("div",{className:"index__brick-container___HXUCb",key:e.title},s,l):o.a.createElement("div",{className:"index__brick-container___HXUCb",key:e.title},l,s)});return o.a.createElement("div",null,i)}(i.data,this,l):null,c&&u?o.a.createElement(P.a,{visible:c,videoLink:u,onClose:function(){return e.setState({videoVisible:!1})}}):null)}}
1])&&re(n.prototype,i),a&&re(n,a),t}();se(ce,"editSetting",{key:"brickWall",name:"brickwall",component_data:{theme:{label:"主题背景色",type:"select",items:[{label:"黑夜",value:"dark"},{label:"白天",value:"light"}]},title:{label:"标题",type:"i18n"},titleDesc:{label:"主标题下主要描述",type:"i18n"},data:{label:"展示的数据",type:"array",items:{type:"object",img:{type:"image",label:"图片"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},videoLink:{type:"string",label:"观看视频链接"},videoText:{type:"i18n",label:"观看视频文本"},link:{type:"i18n",label:"跳转链接"},linkText:{type:"i18n",label:"跳转链接文本"},video:{type:"string",label:"背景视频链接"},videoPoster:{type:"image",label:"视频封面图"},isReplay:{type:"string",label:"是否需要重新播放功能(true or false 不填为false)"},isLoop:{type:"string",label:"是否需要循环播放(true or false 不填为false)"}}}}}),se(ce,"defaultProps",{t:function(){},component_data:{theme:"dark",data:[{img:"c4184df42cfe4abe0f4e4faea8e69508.jpg",desc:"描述",title:"标题",videoLink:"/",videoText:"Watch Video",link:"跳转链接",linkText:"Learn-more",video:"",videoPoster:"",isReplay:"true",isLoop:"false"}],title:"大标题"}});var ue=Object(m.a)(ce),de=n(22);n(452);function pe(e){return(pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var fe={"./index.css":{"bg-section":"index__bg-section___1tGec","section-title":"index__section-title___10ipi","section-price":"index__section-price___ZZUuL","product-img":"index__product-img___26Dr3","btn-box":"index__btn-box___1T4cW","buy-btn":"index__buy-btn___3HixQ","buy-btn-item":"index__buy-btn-item___BXWHP","buy-btn-item-link":"index__buy-btn-item-link___8oo0o","link-btn":"index__link-btn___2ExvX","modal-btns":"index__modal-btns___3y9X0","modal-default-btn":"index__modal-default-btn___28urK","modal-primary-btn":"index__modal-primary-btn___bD7Fi",modal:"index__modal___3FIk6","modal-title":"index__modal-title___2KnJp","modal-body":"index__modal-body___1vqNo","modal-desc":"index__modal-desc___2InIx","modal-container":"index__modal-container___2MCyH",checkbox:"index__checkbox___2DUZE","dark-section":"index__dark-section___CuosV","light-section":"index__light-section___G3MqY","basic-button-box":"index__basic-button-box___tM1l7","other-btn":"index__other-btn___1530E"}};function me(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _e(e){return(_e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function he(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function be(e,t){return(be=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ve=function(e){function t(){var e,n,i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(i=_e(t).call(this))||"object"!==pe(i)&&"function"!=typeof i?he(n):i).state={initModal:!1,modalVisible:!1,activeBtns:!1},e.showModal=e.showModal.bind(he(e)),e.closeModal=e.closeModal.bind(he(e)),e.handleModalCheck=e.handleModalCheck.bind(he(e)),e}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&be(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){this.setState({initModal:!0})}},{key:"handleModalCheck",value:function(){var e=this.state.activeBtns;this.setState({activeBtns:!e})}},{key:"showModal",value:function(){this.setState({modalVisible:!0})}},{key:"closeModal",value:function(){this.setState({modalVisible:!1,activeBtns:!1})}},{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,a=this.state,l=a.modalVisible,c=a.activeBtns,u=a.initModal,d=s()({"bg-section":!0,"dark-section":n&&"dark"===n.theme,"light-section":n&&"light"===n.theme}),p={backgroundColor:n&&n.backgroundColor};return o.a.createElement("section",{style:p,className:r()(d,fe)},o.a.createElement(S.LazyImage,{className:"index__product-img___26Dr3",src:Object(f.a)(n.img)}),o.a.createElement("h2",{className:"index__section-title___10ipi"},i(n.name)),o.a.createElement("h3",{className:"index__section-price___ZZUuL",dangerouslySetInnerHTML:{__html:n.productPrice?i(n.productPrice):""}}),o.a.createElement("div",{className:"index__btn-box___1T4cW"},n.link?o.a.createElement(de.a,{text:i(n.bugNowText),iconName:"external-link",theme:n.theme,link:n.link}):null,n.otherBtnText?o.a.createElement("div",{onClick:this.showModal,className:"other-btn"},o.a.createElement(de.a,{text:i(n.otherBtnText),iconName:"angle-right",theme:n.theme})):null),u?o.a.createElement(S.Modal,{visible:l,onCancel:this.closeModal,onClose:this.closeModal,footer:null},o.a.createElement("div",{className:"index__modal-container___2MCyH"},o.a.createElement("p",{className:"index__modal-title___2KnJp"},i(n.modalTitle)),o.a.createElement("div",{className:"index__modal-body___1vqNo"},o.a.createElement(S.CheckboxInput,{className:"index__checkbox___2DUZE",checked:c,onChange:this.handleModalCheck,id:"check"}),o.a.createElement("label",{htmlFor:"check"},o.a.createElement("p",{className:"index__modal-desc___2InIx",dangerouslySetInnerHTML:{__html:i(n.modalDe
1sc)}}))),o.a.createElement("div",{className:"index__modal-btns___3y9X0"},o.a.createElement(U.a,{href:n.modalBtnALink,className:"link-btn index__link-btn___2ExvX"},o.a.createElement(S.Button,{disabled:!c,className:"index__modal-default-btn___28urK"},i(n.modalBtnA))),o.a.createElement(U.a,{href:n.modalBtnBLink,className:"link-btn index__link-btn___2ExvX"},o.a.createElement(S.Button,{disabled:!c,className:"index__modal-primary-btn___bD7Fi"},i(n.modalBtnB)))))):null)}}])&&me(n.prototype,i),a&&me(n,a),t}();ye(ve,"editSetting",{key:"buyingGuide",name:"buyingGuide",component_data:{theme:{label:"section 主题色(dark/light)",type:"string"},backgroundColor:{label:"section 背景颜色",type:"string"},img:{label:"产品图片",type:"image"},link:{type:"string",label:"链接(填的话直接跳转,不弹窗)"},bugNowText:{type:"i18n",label:"购买按钮文案"},otherBtnText:{type:"i18n",label:"其他按钮文案"},productPrice:{type:"i18n",label:"价格"},name:{label:"产品名字",type:"i18n"},modalTitle:{type:"i18n",label:"弹窗标题"},modalDesc:{type:"i18n",label:"弹窗描述"},modalBtnA:{type:"i18n",label:"弹窗按钮A文案"},modalBtnALink:{type:"string",label:"弹窗按钮A链接"},modalBtnB:{type:"i18n",label:"弹窗按钮B文案"},modalBtnBLink:{type:"string",label:"弹窗按钮B链接"}}}),ye(ve,"defaultProps",{t:function(){},component_data:{btnModal:!0,img:"02eebf615acf018206cd8007d66cf2cc.png",link:"/",name:"标题",modalTitle:"This product is sold by DJI based on the authorization of Livox.",modalDesc:"I agree to the non - resale, non - reverse sale clause.",modalBtnA:"Contact us",modalBtnALink:"/",modalBtnB:"Purchase from DJI",modalBtnBLink:"/"}});var ge=Object(m.a)(ve);n(453);function we(e){return(we="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var xe={"./index.css":{"comment-section":"index__comment-section___1K67A","comment-container":"index__comment-container___3mAFJ",text:"index__text___387Ep","dark-section":"index__dark-section___1rWUc","light-section":"index__light-section___1jR7M"}};function Ee(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Oe(e,t){return!t||"object"!==we(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ke(e){return(ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Se(e,t){return(Se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Te=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Oe(this,ke(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Se(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,a=n&&Array.isArray(n.commentList)?n.commentList.map(function(e){return o.a.createElement("p",{className:"index__text___387Ep",dangerouslySetInnerHTML:{__html:i(e.text)},key:i(e.text)})}):null,l=s()({"comment-section":!0,"dark-section":n&&"dark"===n.theme,"light-section":n&&"light"===n.theme});return o.a.createElement("section",{className:r()(l,xe)},o.a.createElement("div",{className:"index__comment-container___3mAFJ"},a))}}])&&Ee(n.prototype,i),a&&Ee(n,a),t}();Pe(Te,"editSetting",{key:"comment",name:"comment",component_data:{theme:{label:"section 背景颜色(dark/light)",type:"string"},commentList:{type:"array",label:"注释list",items:{type:"object",text:{label:"注释内容",type:"i18n"}}}}}),Pe(Te,"defaultProps",{t:function(){},component_data:{theme:"dark",commentList:[{text:"1.在环境温度为 25℃、激光垂直入射目标的条件下测得。作为参考,水泥地面、灰色车辆表面的反射率约为 20%;白色的墙、白色车辆和白色衣物的反射率约为 80%。"},{text:"2.在环境温度为 25℃、激光垂直入射目标的条件下测得。"}]}});var Ne=Object(m.a)(Te);n(454);function je(e){return(je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Ce={"./index.css":{"home-banner-section":"index__home-banner-section___NlWv-","home-banner-bg":"index__home-banner-bg___2IkKs","bg-video":"index__bg-video___bBbxB","content-box":"index__content-box___1sCoM",top:"index__top___1eq1x",center:"index__center___ROL00","banner-title":"index__banner-title___1O4p6","banner-desc":"index__banner-desc___1gwWf","video-link":"index__video-link___1Tb89","video-link-icon":"index__video-link-icon___19osj"}};function Le(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Me(e){return(Me=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ie(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ae(e,t){return(Ae=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function De(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ze=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=Me(t).call(this,e))||"object"!==je(r)&&"function"!=typeof r?Ie(i):r).state={play:!1,videoVisible:!1},n.bindScroll=n.bindScroll.bind(Ie(n)),n.handleVideoShow=n.handleVideoShow.bind(Ie(n)),n.handleVideoHide=n.handleVideoHide.bind(Ie(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ae(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.bindScroll)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.bindScroll)}},{key:"bindScroll",value:function(){var e=this,t=this.state,n=t.play,i=t.playProm
1ise;if(!n&&Object(D.a)(this.videoDom)){var r=this.videoDom.play();this.setState({play:!0,playPromise:r})}else n&&!Object(D.a)(this.videoDom)&&(this.setState({play:!1}),i&&i.then(function(){e.videoDom.pause()}).catch(function(){}))}},{key:"handleVideoShow",value:function(){this.setState({videoVisible:!0})}},{key:"handleVideoHide",value:function(){this.setState({videoVisible:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.component_data,i=void 0===n?{}:n,a=t.t,l=this.state.videoVisible,s=this,c=i.bgImg?{backgroundImage:"url(".concat(Object(f.a)(i.bgImg),")")}:{};return o.a.createElement("section",{className:"index__home-banner-section___NlWv-"},o.a.createElement("div",{style:c,className:"index__home-banner-bg___2IkKs"},o.a.createElement("video",{ref:function(t){e.videoDom=t},className:"index__bg-video___bBbxB",preload:"auto",muted:!0,autoPlay:!0,loop:!0}," ",o.a.createElement("source",{src:i.bgVideo,type:'video/mp4; codecs="avc1.4D401E, mp4a.40.2"'})),o.a.createElement("div",{className:r()("content-box ".concat("top"===i.titleLayout?"top":"center"),Ce)},o.a.createElement("h1",{className:"index__banner-title___1O4p6",dangerouslySetInnerHTML:{__html:a(i.title)}}),o.a.createElement("p",{className:"index__banner-desc___1gwWf",dangerouslySetInnerHTML:{__html:a(i.slogen)}}),i.hasWatchVideoButton?o.a.createElement("button",{type:"button",className:"index__video-link___1Tb89",onClick:this.handleVideoShow},a("v1.common.product.watch_video.1"),o.a.createElement(S.Icon,{name:"play-circle-o",className:"index__video-link-icon___19osj"})):null)),l?o.a.createElement(P.a,{visible:l,videoLink:i.link,onClose:s.handleVideoHide}):null)}}])&&Le(n.prototype,i),a&&Le(n,a),t}();De(ze,"defaultProps",{t:function(){},component_data:{link:"/",bgVideo:"/",bgImg:"600dcd88c51f37384443eaf98944d1e6.jpg",title:"Product Brief",slogen:"Product Slogan No Longer Than 80 characters",hasWatchVideoButton:!0}}),De(ze,"editSetting",{key:"homePage",name:"homePage",component_data:{link:{label:"视频播放链接",type:"string"},bgVideo:{label:"背景视频链接",type:"string"},bgImg:{label:"背景图片",type:"image"},title:{label:"标题",type:"i18n"},slogen:{label:"描述文段",type:"i18n"},hasWatchVideoButton:{label:"是否出现观看视频的按钮",type:"boolean"},titleLayout:{label:"title布局",type:"select",items:[{value:"top",label:"居顶"},{value:"center",label:"居中"}]}}});var Ve=Object(m.a)(ze);n(455);function Re(e){return(Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Be(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Fe(e,t){return!t||"object"!==Re(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function He(e){return(He=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function We(e,t){return(We=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ue=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Fe(this,He(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&We(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,r={backgroundImage:"url(".concat(Object(f.a)(n.bgImg),")")};return o.a.createElement("section",{className:"index__text-pic-section___AmDzM",style:r},o.a.createElement("div",{className:"index__container___3cBXX"},o.a.createElement("div",{className:"index__text-table___fbMdx"},o.a.createElement("div",{className:"index__text___39_Bp"},o.a.createElement("h2",{className:"index__product-name___BCajw",dangerouslySetInnerHTML:{__html:i(n.name)}}),o.a.createElement("p",{className:"index__product-desc___D72Kt",dangerouslySetInnerHTML:{__html:i(n.desc)}}),o.a.createElement(U.a,{href:n.link,className:"product-link index__product-link___3iIaW"},i("v1.common.product.learn_more.1"),o.a.createElement(S.Icon,{name:"angle-right",className:"index__product-link-icon___oYpaL"})))),o.a.createElement("div",{className:"index__img-wrapper___1RzLS"},o.a.createElement(S.LazyImage,{src:Object(f.a)(n.img),alt:"product img",className:"index__product-img___tw_qI"}))))}}
1])&&Be(n.prototype,i),r&&Be(n,r),t}();qe(Ue,"editSetting",{key:"textPictureSection",name:"textPictureSection",component_data:{img:{label:"产品图",type:"image"},link:{label:"了解更多链接",type:"string"},bgImg:{label:"背景图",type:"image"},name:{label:"标题",type:"i18n"},desc:{label:"描述",type:"i18n"}}}),qe(Ue,"defaultProps",{t:function(){},component_data:{img:"02eebf615acf018206cd8007d66cf2cc.png",link:"/",bgImg:"8be64168b62856889d60ac84786530a0.jpg",name:"标题",desc:"描述"}});var Ge=Object(m.a)(Ue);n(456);function Ye(e){return(Ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ke(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Xe(e,t){return!t||"object"!==Ye(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function $e(e){return($e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ze(e,t){return(Ze=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Je=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Xe(this,$e(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ze(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,r={backgroundImage:"url(".concat(Object(f.a)(n.bgImg),")")};return o.a.createElement("section",{className:"index__text-pic-section___xsAru",style:r},o.a.createElement("div",{className:"index__container___3Bsu3"},o.a.createElement("div",{className:"index__img-wrapper___2cGMx"},o.a.createElement(S.LazyImage,{src:Object(f.a)(n.img),alt:"product img",className:"index__product-img___Ul7HX"})),o.a.createElement("div",{className:"index__text-table___2-kwz"},o.a.createElement("div",{className:"index__text___11qld"},o.a.createElement("h2",{className:"index__product-name___2C4ke",dangerouslySetInnerHTML:{__html:i(n.name)}}),o.a.createElement("p",{className:"index__product-desc___1HMYq",dangerouslySetInnerHTML:{__html:i(n.desc)}}),o.a.createElement(U.a,{href:n.link,className:"product-link index__product-link___1idTO"},i("v1.common.product.learn_more.1"),o.a.createElement(S.Icon,{name:"angle-right",className:"index__product-link-icon___2nlo5"}))))))}}])&&Ke(n.prototype,i),r&&Ke(n,r),t}();Qe(Je,"editSetting",{key:"pictureTextSection",name:"pictureTextSection",component_data:{img:{label:"产品图",type:"image"},link:{label:"了解更多链接",type:"string"},bgImg:{label:"背景图",type:"image"},name:{label:"标题",type:"i18n"},desc:{label:"描述",type:"i18n"}}}),Qe(Je,"defaultProps",{t:function(){},component_data:{img:"02eebf615acf018206cd8007d66cf2cc.png",link:"/",bgImg:"b1da76ef6f2685eeb39b31ebe1beaf00.jpg",name:"标题",desc:"描述"}});var et=Object(m.a)(Je);n(457);function tt(e){return(tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var nt={"./index.css":{wrapper:"index__wrapper___2mKiz",container:"index__container___3l_UY","section-title":"index__section-title___2jQju","section-desc":"index__section-desc___Maw-E","top-container":"index__top-container___3OlKU","bottom-container":"index__bottom-container___2j3HD","large-block":"index__large-block___CCBTw","small-block":"index__small-block___3zner","large-img-container":"index__large-img-container___36d_1","small-img-container":"index__small-img-container___2T62W",img:"index__img___2LF9O",name:"index__name___15In5","horizontal-line":"index__horizontal-line___33blg","dark-section":"index__dark-section___25ymJ","light-section":"index__light-section___3336o"}};function it(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function rt(e,t){return!t||"object"!==tt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function at(e){return(at=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ot(e,t){return(ot=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var st=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),rt(this,at(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ot(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,a=s()({wrapper:!0,"dark-section":n&&"dark"===n.theme,"light-section":n&&"light"===n.theme});return o.a.createElement("section",{className:r()(a,nt)},o.a.createElement("div",{className:"index__container___3l_UY"},o.a.createElement("h2",{className:"index__section-title___2jQju","data-aos":"fade-in"},i(n.title)),o.a.createElement("p",{className:"index__horizontal-line___33blg"}),n.desc?o.a.createElement("div",{className:"index__section-desc___Maw-E"},i(n.desc)):null,n&&n.largePic.length>0?o.a.createElement("div",{className:"index__top-container___3OlKU"},n.largePic.map(function(e){return o.a.createElement("div",{className:"index__large-block___CCBTw",key:p()(),"data-aos":"fade-in"},o.a.createElement("div",{className:"index__large-img-container___36d_1"},o.a.createElement(S.LazyImage,{src:Object(f.a)(e.img),className:"index__img___2LF9O"})),o.a.createElement("p",{className:"index__name___15In5"},i(e.name)))})):null,o.a.createElement("div",{className:"index__bottom-container___2j3HD"},n?n.smallPic.map(function(e){return o.a.createElement("div",{className:"index__small-block___3zner",key:p()(),"data-aos":"fade-in"},o.a.createElement("div",{className:"index__small-img-container___2T62W"},o.a.createElement(S.LazyImage,{src:Object(f.a)(e.img),className:"index__img___2LF9O"})),o.a.createElement("p",{className:"index__name___15In5"},i(e.name)))}):null)))}}
1])&&it(n.prototype,i),a&&it(n,a),t}();lt(st,"defaultProps",{t:function(){},component_data:{theme:"dark",largePic:[{img:"c4184df42cfe4abe0f4e4faea8e69508.jpg",name:"特点"}],smallPic:[{img:"c4184df42cfe4abe0f4e4faea8e69508.jpg",name:"特点"}],title:"大标题"}}),lt(st,"editSetting",{key:"fivePictureSection",name:"fivePictureSection",component_data:{theme:{label:"section 背景颜色(dark/light)",type:"string"},largePic:{label:"大图(只能放两张)",type:"array",items:{type:"object",img:{type:"image",label:"图片"},name:{type:"i18n",label:"文案"}}},smallPic:{label:"小图(只能放三张)",type:"array",items:{type:"object",img:{type:"image",label:"图片"},name:{type:"i18n",label:"文案"}}},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"}}});var ct=Object(m.a)(st);n(458);function ut(e){return(ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function dt(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function pt(e,t){return!t||"object"!==ut(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ft(e){return(ft=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function mt(e,t){return(mt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ht=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),pt(this,ft(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mt(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,r=n.platforms&&Array.isArray(n.platforms)?n.platforms.map(function(e){return o.a.createElement("div",{className:"index__platform-card___1CkD3",key:e.platformName},o.a.createElement(S.LazyImage,{src:Object(f.a)(e.platformIcon),alt:i(e.platformName),className:"index__platform-icon___sxybx"}),o.a.createElement("h3",{className:"index__platform-name___7BsLi"},i(e.platformName)),o.a.createElement("p",{className:"index__platform-desc___2dd5R"},i(e.platformDesc)),o.a.createElement(U.a,{className:"learn-more index__learn-more___3Z7pz",href:e.platformLink},i("v1.common.product.learn_more.1"),o.a.createElement(S.Icon,{name:"external-link-o",className:"index__platform-link-icon___1qGdL"})))}):null,a=n.supports&&Array.isArray(n.supports)?n.supports.map(function(e){return o.a.createElement(U.a,{href:e.supportLink,className:"support-card index__support-card___1KQ6x",key:e.supportName},o.a.createElement(S.Icon,{name:e.supportIcon,className:"index__support-icon___3JRrg"}),o.a.createElement("span",null,i(e.supportName),e.external>=1?o.a.createElement(S.Icon,{name:"external-link-o",className:"index__link-icon___3Lbo7"}):o.a.createElement(S.Icon,{name:"angle-right",className:"index__link-icon___3Lbo7"})))}):null,l=n.products&&Array.isArray(n.products)?n.products.map(function(e){return o.a.createElement("div",{className:"index__product-card___1z6Xq",key:e.productName},o.a.createElement(S.LazyImage,{src:Object(f.a)(e.productImg),alt:i(e.productName),className:"index__product-img___3XM2O"}),o.a.createElement("span",null,i(e.productName)))}):null;return o.a.createElement("div",{className:"index__container___2TxS6"},o.a.createElement("section",{className:"index__section-wrapper___3eLAD"},o.a.createElement("h2",{className:"index__section-title___14bhz"},i(n.sectionTtile1)),o.a.createElement("div",{className:"index__platform-container___3nDR0"},r)),o.a.createElement("section",{className:"index__section-wrapper___3eLAD"},o.a.createElement("h2",{className:"index__section-title___14bhz"},i(n.sectionTtile2)),o.a.createElement("div",{className:"index__support-container___yLz2c"},a)),o.a.createElement("section",{className:"index__section-wrapper___3eLAD"},o.a.createElement("h2",{className:"index__section-title___14bhz"},i(n.sectionTtile3)),o.a.createElement("div",{className:"index__product-container___Us0A0"},l)))}}
1])&&dt(n.prototype,i),r&&dt(n,r),t}();_t(ht,"editSetting",{key:"sdkPage",name:"sdk",component_data:{platforms:{label:"开发平台",type:"array",items:{type:"object",platformIcon:{type:"image",label:"平台icon"},platformName:{type:"i18n",label:"平台名字"},platformDesc:{type:"i18n",label:"平台描述"},platformLink:{type:"string",label:"平台链接"}}},supports:{label:"开发支持",type:"array",items:{type:"object",supportIcon:{type:"string",label:"icon名字"},supportName:{type:"i18n",label:"支持名字"},external:{type:"number",label:"是否外部链接(1为是,0为否)"},supportLink:{type:"string",label:"链接"}}},products:{label:"产品",type:"array",items:{type:"object",productImg:{type:"image",label:"产品图片"},productName:{type:"i18n",label:"产品名字"}}},sectionTtile1:{type:"i18n",label:"section1标题"},sectionTtile2:{type:"i18n",label:"section2标题"},sectionTtile3:{type:"i18n",label:"section3标题"}}}),_t(ht,"defaultProps",{t:function(){},component_data:{platforms:[{platformIcon:"02eebf615acf018206cd8007d66cf2cc.png",platformName:"name",platformDesc:"desc",platformLink:"/"}],supports:[{supportIcon:"download-o",supportName:"name",external:1,supportLink:"/"}],products:[{productImg:"02eebf615acf018206cd8007d66cf2cc.png",productName:"name"}],sectionTtile1:"section1标题",sectionTtile2:"section2标题",sectionTtile3:"section3标题"}});var bt=Object(m.a)(ht),yt=n(88),vt=n(70);n(459);function gt(e){return(gt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function wt(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function xt(e,t){return!t||"object"!==gt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Et(e){return(Et=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ot(e,t){return(Ot=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var St=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),xt(this,Et(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ot(e,t)}(t,o.a.Component),n=t,(i=[{key:"renderTerms",value:function(){var e=this.props,t=e.component_data.data,n=void 0===t?[]:t,i=e.t;return n&&n.length>0&&n.map(function(e){return o.a.createElement("div",{key:p()(),className:"style__terms-item___3fdHk"},o.a.createElement(vt.a,{title:e.title?i(e.title):""},o.a.createElement("div",{className:"style__terms-desc___3EfSK",dangerouslySetInnerHTML:{__html:e.content?i(e.content):""}})),o.a.createElement("div",{className:"style__line___34jCr"}))})}},{key:"render",value:function(){var e=this.props,t=e.component_data.pageTitle,n=void 0===t?"":t,i=e.t;return o.a.createElement("div",null,o.a.createElement(yt.a,{title:i(n)}),o.a.createElement("div",{className:"style__terms-content___1qEGu"},this.renderTerms()))}}])&&wt(n.prototype,i),r&&wt(n,r),t}();kt(St,"defaultProps",{component_data:{data:[]},t:function(){}}),kt(St,"editSetting",{key:"termsComponent",name:"termsComponent",component_data:{data:{type:"array",label:"terms 条款项",items:{type:"object",title:{type:"i18n",label:"标题"},content:{type:"i18n",label:"条款内容"}}},pageTitle:{type:"i18n",label:"页面大标题"}}});var Pt=Object(m.a)(St),Tt=n(187);n(460);function Nt(e){return(Nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jt(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Ct(e,t){return!t||"object"!==Nt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Lt(e){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Mt(e,t){return(Mt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function It(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var At=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ct(this,Lt(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mt(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,r={backgroundImage:"url(".concat(Object(f.a)(n.bannerBg),")")};return o.a.createElement("section",{className:"index__banner___3TswG",style:r},o.a.createElement("div",{className:"index__content-box___1zzvP"},o.a.createElement("div",{className:"index__text___1TS0W"},o.a.createElement("h1",null,i(n.bannerTitle)),o.a.createElement("p",null,i(n.bannerDesc)))))}}
1])&&jt(n.prototype,i),r&&jt(n,r),t}();It(At,"editSetting",{key:"fourToOneBanner",name:"fourToOneBanner",component_data:{bannerBg:{label:"banner背景图片",type:"image"},bannerTitle:{type:"i18n",label:"banner标题"},bannerDesc:{type:"i18n",label:"banner描述"}}}),It(At,"defaultProps",{t:function(){},component_data:{bannerBg:"600dcd88c51f37384443eaf98944d1e6.jpg",bannerTitle:"标题",bannerDesc:"描述"}});var Dt=Object(m.a)(At),zt=n(222);n(461);function Vt(e){return(Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Rt(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Bt(e,t){return!t||"object"!==Vt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ft(e){return(Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ht(e,t){return(Ht=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qt=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Bt(this,Ft(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ht(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=t.promptTitle,i=t.propsWarning,r=t.propsDesc,a=t.title,l=e.t;return o.a.createElement("div",{className:"style__container___2qOMN"},o.a.createElement("div",{className:"style__title___3m9BK"},o.a.createElement("h1",null,l(a))),o.a.createElement("div",{className:"style__desc___10vIH"},l(i)),o.a.createElement("div",{className:"style__prompt___3HczP"},o.a.createElement("div",null,o.a.createElement(S.Icon,{className:"style__prompt-icon___3eQOX",name:"exclamation-circle-light"})),o.a.createElement("div",{className:"style__prompt-content___3grFK"},o.a.createElement("p",{className:"style__prompt-title___1cSFJ"},l(n)),o.a.createElement("p",{className:"style__prompt-desc___IJosD",dangerouslySetInnerHTML:{__html:l(r)}}))))}}])&&Rt(n.prototype,i),r&&Rt(n,r),t}();Wt(qt,"defaultProps",{component_data:{},t:function(){}}),Wt(qt,"editSetting",{key:"attention",name:"attention",component_data:{title:{type:"i18n",label:"标题"},propsWarning:{type:"i18n",label:"警告"},promptTitle:{type:"i18n",label:"警告title"},propsDesc:{type:"i18n",label:"警告内容"}}});var Ut=Object(m.a)(qt),Gt=n(19),Yt=n.n(Gt),Kt=(n(462),n(18)),Xt=n(23),$t=n(16),Zt=n(76),Qt=n.n(Zt);function Jt(e){return(Jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function en(e,t,n,i,r,a,o){try{var l=e[a](o),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(i,r)}function tn(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function nn(e){return(nn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function rn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function an(e,t){return(an=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function on(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ln=n(192),sn=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=nn(t).call(this,e))||"object"!==Jt(r)&&"function"!=typeof r?rn(i):r).state={modalType:"default",modalContent:"",sendingRequest:!1,backUrl:""},n.submitInvitationCode=n.submitInvitationCode.bind(rn(n)),n.renderPrompt=n.renderPrompt.bind(rn(n)),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&an(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=ln.parse(window.location.search).backUrl,t=Qt.a.parse(e||""),n=new RegExp("^".concat("www.livoxtech.com","$"));e&&t&&n.test(t.hostname)||(e="/"),this.setState({backUrl:e})}},{key:"submitInvitationCode",value:function(){var e,t=(e=Yt.a.mark(function e(t){var n,i,r,a,o,l,s,c,u,d,p,f,m;return Yt.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.props,i=n.component_data,r=i.successMsg,a=i.failMsg,o=n.localization,l=this.state,s=l.sendingRequest,c=l.backUrl,t.preventDefault(),!s){e.next=5;break}return e.abrupt("return");case 5:if(u=(u=this.inputRef.value).trim(),/[0-9a-zA-Z]{8}/.test(u)){e.next=10;break}return this.setState({modalType:"danger",modalContent:a}),e.abrupt("return");case 10:return this.setState({sendingRequest:!0}),e.next=13,Object(Xt.a)({url:Object($t.a)("/display/www_cms/tp_invitation_codes/".concat(u))},o);case 13:return d=e.sent,this.setState({sendingRequest:!1}),e.next=17,d.json();case 17:if(e.t0=e.sent,e.t0){e.next=20;break}e.t0={};case 20:p=e.t0,200===d.status&&"Valid"===p.status?((f=new Date).setTime(f.getTime()+216e5),m="; expires=".concat(f.toUTCString()),document.cookie="invitationCode=".concat(u," ").concat(m,' + "; path=/'),window.location.href=c,this.setState({modalType:"success",modalContent:r})):this.setState({modalType:"fail",modalContent:a});case 22:case"end":return e.stop()}},e,this)}),function(){var t=this,n=arguments;return new Promise(function(i,r){var a=e.apply(t,n);function o(e){en(a,i,r,o,l,"next",e)}function l(e){en(a,i,r,o,l,"throw",e)}o(void 0)})});return function(e){return t.apply(this,arguments)}}()},{key:"renderPrompt",value:function(){var e=this.props.t,t=this.state,n=t.modalType,i=t.modalContent;switch(n){case"init":return"";case"danger":case"fail":return o.a.createElement("div",{className:"style__notification___1e5z5"},o.a.createElement(S.Icon,{name:"times-circle"}),o.a.createElement("span",{className:"style__prompt___30KGP"},e(i)));case"success":return o.a.createElement("div",{className:"style__notification-success___3YqSI"},o.a.createElement(S.Icon,{name:"check-circle-o"}),o.a.createElement("span",{className:"style__prompt___30KGP"},e(i)));default:return""}}},{key:"render",value:function(){var e=this,t=this.props,n=t.component_data,i=n.icon,r=n.backgroundImage,a=n.description,l=n.label,s=n.buttonText,c=n.note,u=t.t;return o.a.createElement("div",null,o.a.createElement("div",{className:"style__bg___3i19D",style:Object(f.b)(r)},o.a.createElement("div",{className:"style__container___2rRQY"},o.a.createElement("div",{className:"style__left___13KLB"},o.a.createElement("div",{className:"style__icon___3VWkt"},o.a.createElement("img",{src:Object(f.a)(i),alt:"icon"})),o.a.createElement("p",{className:"style__description___1hy03"},u(a))),o.a.createElement("div",{className:"style__divider___24tJ2"}),o.a.createElement("div",{className:"style__right___1uJXT"},o.a.createElement("form",{action:"/",method:"GET"},o.a.createElement("p",{className:"style__label___1Bzi3"},u(l)),o.a.createElement(S.Input,{size:"medium",inputRef:function(t){e.inputRef=t}}),o.a.createElement("div",{className:"style__prompt-container___2kbDY"},this.renderPrompt()),o.a.createElement("button",{type:"submit",className:"style__login___knCu0",onClick:this.submitInvitationCode},u(s)))),o.a.createElement("p",{className:"style__note___dhgky",dangerouslySetInnerHTML:{__html:u(c)}}))))}}
1])&&tn(n.prototype,i),r&&tn(n,r),t}();on(sn,"defaultProps",{component_data:{icon:"5d51f4c89ad6db7264da0929143e3e01.svg",backgroundImage:"c48c47cb8469df6b43f833c1e35bb008.jpg",description:"",label:"",buttonText:"",note:"",successMsg:"",failMsg:""}}),on(sn,"editSetting",{key:"invitationCode",name:"invitationCode",component_data:{icon:{label:"Icon",type:"image"},backgroundImage:{label:"背景图片",type:"image"},description:{label:"描述",type:"i18n"},label:{label:"输入提示",type:"i18n"},buttonText:{label:"按钮字符",type:"i18n"},note:{label:"提示",type:"i18n"},successMsg:{label:"邀请码成功提示",type:"i18n"},failMsg:{label:"邀请码失败提示",type:"i18n"}}});var cn=Object(m.a)(Object(Kt.b)(function(e){return{localization:e.localization}})(sn));cn.defaultProps=sn.defaultProps;var un=cn;n(463);function dn(e){return(dn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pn(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function fn(e){return(fn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function mn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _n(e,t){return(_n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function hn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bn=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=fn(t).call(this,e))||"object"!==dn(r)&&"function"!=typeof r?mn(i):r).state={show:!1},n.handleClose=n.handleClose.bind(mn(n)),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_n(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){this.checkExpire()&&this.setState({show:!0})}},{key:"checkExpire",value:function(){var e=JSON.parse(window.localStorage.getItem("footerPopUp"));return!(e&&e.expireDate&&e.expireDate-Date.now()>0)}},{key:"handleClose",value:function(){this.setState({show:!1});var e=new Date(+new Date+2592e6);window.localStorage.setItem("footerPopUp",JSON.stringify({show:!1,expireDate:e.getTime()}))}},{key:"render",value:function(){var e=this.props,t=e.component_data,n=e.t;return this.state.show?o.a.createElement("div",{className:"style__popup___jms9o"},o.a.createElement("div",{className:"style__container___2wrD4"},o.a.createElement("p",{className:"style__popup-text___19iKB"},"".concat(n(t.text)," "),o.a.createElement(U.a,{href:n(t.policyLink)},n(t.policyText)),"."),o.a.createElement("div",{className:"style__close-icon___1aFgt",onClick:this.handleClose},o.a.createElement(S.Icon,{name:"times"})))):""}}])&&pn(n.prototype,i),r&&pn(n,r),t}();hn(bn,"defaultProps",{component_data:{},t:function(){}}),hn(bn,"editSetting",{key:"popUp",name:"popUp",component_data:{text:{label:"cookie提示条内容",type:"i18n"},policyLink:{label:"条款链接",type:"i18n"},policyText:{label:"条款文案",type:"i18n"}}});var yn=Object(m.a)(bn);n(464);function vn(e){return(vn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gn(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function wn(e,t){return!t||"object"!==vn(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function xn(e){return(xn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function En(e,t){return(En=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function On(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kn=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),wn(this,xn(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&En(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t;return o.a.createElement("div",{className:"style__container___3YcgT"},o.a.createElement("h1",{className:"style__pageTitle___njtLT"},n?i(n.title):"null"))}}])&&gn(n.prototype,i),r&&gn(n,r),t}();On(kn,"defaultProps",{component_data:{title:"页面大标题"},t:function(){}}),On(kn,"editSetting",{key:"pageTitle",name:"pageTitle",component_data:{title:{type:"i18n",label:"页面大标题"}}});var Sn=Object(m.a)(kn);n(465);function Pn(e){return(Pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Tn(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Nn(e,t){return!t||"object"!==Pn(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function jn(e){return(jn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Cn(e,t){return(Cn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mn=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Nn(this,jn(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cn(e,t)}(t,o.a.Component),n=t,(i=[{key:"renderNews",value:function(){var e=this.props,t=e.component_data.data,n=void 0===t?[]:t,i=e.t;return n&&n.length>0&&n.map(function(e){return o.a.createElement("div",{key:p()(),className:"style__vertical-item___1yIcQ"},o.a.createElement(U.a,{href:i(e.href)},o.a.createElement("div",{className:"style__img-box___3y-OO"},o.a.createElement("img",{className:"style__img___2YMmJ",src:Object(f.a)(e.img),alt:""})),o.a.createElement("div",{className:"style__text-box___3-gJc"},e.title?o.a.createElement("h2",{className:"style__title___fFiMd",dangerouslySetInnerHTML:{__html:i(e.title)}}):null,e.desc?o.a.createElement("p",{className:"style__desc___2tVky",dangerouslySetInnerHTML:{__html:i(e.desc)}}):null,e.time?o.a.createElement("span",{className:"style__time___34X47"},i(e.time)):null)),o.a.createElement("div",{className:"style__line___1EChh"}))})}},{key:"render",value:function(){return o.a.createElement("div",{className:"style__news-vertical___2_u4a"},this.renderNews())}}])&&Tn(n.prototype,i),r&&Tn(n,r),t}();Ln(Mn,"defaultProps",{component_data:{data:[]},t:function(){}}),Ln(Mn,"editSetting",{key:"newsVertical",name:"newsVertical",component_data:{data:{type:"array",label:"terms 条款项",items:{type:"object",title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},time:{type:"i18n",label:"时间"},img:{type:"image",label:"产品图片"},href:{type:"i18n",label:"链接"}}}}});var In=Object(m.a)(Mn);n(466);function An(e){return(An="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Dn(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function zn(e,t){return!t||"object"!==An(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function Vn(e){return(Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Rn(e,t){return(Rn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Bn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fn=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),zn(this,Vn(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rn(e,t)}(t,o.a.Component),n=t,(i=[{key:"renderLevel",value:function(){var e=this.props,t=e.component_data.data,n=void 0===t?[]:t,i=e.t,r=n.concat();try{r&&r.length>1&&r.reverse().sort(function(e,t){return new Date(t.time)-new Date(e.time)})}catch(e){console.log(e,"日期格式错误")}return r&&r.length>0&&r.map(function(e){return o.a.createElement("div",{key:p()(),className:"style__level-item-box___2vcI4"},o.a.createElement(U.a,{href:i(e.href)},o.a.createElement("div",{className:"style__level-item___3waGh"},o.a.createElement("div",{className:"style__level-text-box___2lq6B"},o.a.createElement("h3",{className:"style__title___28IM_",dangerouslySetInnerHTML:{__html:i(e.title)}}),o.a.createElement("p",{className:"style__desc___1sUAE",dangerouslySetInnerHTML:{__html:i(e.desc)}}),o.a.createElement("p",{className:"style__time___17Ujp"},e.time)),o.a.createElement("div",{className:"style__level-img-box___3UYte"},o.a.createElement("img",{src:Object(f.a)(e.img),alt:""})))),o.a.createElement("div",{className:"style__line___3eZF4"}))})}},{key:"render",value:function(){return o.a.createElement("div",{className:"style__news-level___cWWZh"},this.renderLevel())}}])&&Dn(n.prototype,i),r&&Dn(n,r),t}();Bn(Fn,"defaultProps",{component_data:{data:[]},t:function(){}}),Bn(Fn,"editSetting",{key:"newsLevel",name:"newsLevel",component_data:{data:{type:"array",label:"terms 条款项",items:{type:"object",title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},time:{type:"string",label:"时间(格式如 xxxx-xx-xx)"},img:{type:"image",label:"产品图片"},href:{type:"i18n",label:"链接"}}}}});var Hn=Object(m.a)(Fn);n(467);function Wn(e){return(Wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qn(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Un(e,t){return!t||"object"!==Wn(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Gn(e){return(Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
1function Yn(e,t){return(Yn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Kn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xn=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Un(this,Gn(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yn(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=e.t;return o.a.createElement("div",{className:"style__news-detail___2rgVB"},o.a.createElement("h1",{className:"style__title___3lAOe"},n(t.title)),o.a.createElement("span",{className:"style__date___bR-y3"},n(t.date)),o.a.createElement("div",{className:"style__line___27bCz"},"  "),t.desc?o.a.createElement("div",null,o.a.createElement("p",{className:"style__desc___1vnXX",dangerouslySetInnerHTML:{__html:n(t.desc)}}),o.a.createElement("div",{className:"style__line___27bCz"},"  ")):null,o.a.createElement("div",{dangerouslySetInnerHTML:{__html:n(t.content)},className:"style__content___2xNlr"}))}}])&&qn(n.prototype,i),r&&qn(n,r),t}();Kn(Xn,"defaultProps",{component_data:{title:"页面大标题",date:"日期",desc:"描述"},t:function(){}}),Kn(Xn,"editSetting",{key:"newsDetail",name:"newsDetail",component_data:{title:{type:"i18n",label:"页面大标题"},date:{type:"i18n",label:"日期"},desc:{type:"i18n",label:"描述"},content:{type:"i18n",label:"内容"}}});var $n=Object(m.a)(Xn),Zn=n(91);n(468);function Qn(e){return(Qn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Jn(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ei(e,t){return!t||"object"!==Qn(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ti(e){return(ti=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ni(e,t){return(ni=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ii,ri,ai,oi=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ei(this,ti(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ni(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,r=n&&Array.isArray(n.imgList)?n.imgList.map(function(e){return o.a.createElement("li",{className:"index__img-item___15DCB",key:p()()},o.a.createElement("div",{className:"index__logo-box___1ksYP"},o.a.createElement("img",{className:"index__icon-box___xdR_2",src:Object(f.a)(e.image),alt:i(e.title)}),o.a.createElement("img",{className:"index__icon-box-hover___ekAu7",src:Object(f.a)(e.hoverImg),alt:i(e.title)})),e.title?o.a.createElement("p",{className:"index__img-item-text___1DGB0"},i(e.title)):"")}):"null";return o.a.createElement("section",{className:"index__partner-shop-contanier___hvBjU"},o.a.createElement("div",{className:"index__content___Y5vFd"},o.a.createElement("h2",{className:"index__text-title___1S7bc"},n&&n.mainTitle?i(n.mainTitle):""),o.a.createElement("ul",{className:"index__img-box___2uWiv"},r)))}}])&&Jn(n.prototype,i),r&&Jn(n,r),t}();ai={key:"partnerShip",name:"partnerShip",component_data:{mainTitle:{type:"i18n",label:"主标题"},imgList:{label:"品牌logo list",type:"array",items:{type:"object",image:{type:"image",label:"logo"},hoverImg:{type:"image",label:"logo hover 状态"},title:{type:"i18n",label:"标题"}}}}},(ri="editSetting")in(ii=oi)?Object.defineProperty(ii,ri,{value:ai,enumerable:!0,configurable:!0,writable:!0}):ii[ri]=ai,oi.defaultProps={t:function(){},component_data:{mainTitle:"PartnerShip",imgList:[{image:"/",title:"Partner Name1"},{image:"/",title:"Partner Name2"}]}};var li=Object(m.a)(oi),si=n(41),ci=n.n(si);n(469);function ui(e){return(ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function di(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function pi(e,t){return!t||"object"!==ui(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function fi(e){return(fi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function mi(e,t){return(mi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hi=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=pi(this,fi(t).call(this,e))).state={currentSlide:"normal"},n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mi(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=this,t=this.props.component_data,n=document.getElementsByClassName("square-section-bullet"),i=new ci.a(".square-section-container",{autoplay:!!t.isAutoPlay&&{delay:5e3},slidesPerView:3,spaceBetween:24,loop:!1,width:1200,pagination:{el:".swiper-pagination-bullets",clickable:!0,renderBullet:function(){return'<span class="swiper-pagination-bullet square-section-bullet"><span class="dot-pagination"></span></span>'}},on:{init:function(){e.setState({currentSlide:"first"})},slideChange:function(){switch(i.realIndex){case 0:e.setState({currentSlide:"first"});break;case n.length-1:e.setState({currentSlide:"last"});break;default:e.setState({currentSlide:"normal"})}}}});this.mySwiper=i,i&&i.el&&t.isAutoPlay&&(i.el.onmouseover=function(){i.autoplay.stop()},i.el.onmouseout=function(){i.autoplay.start()})}},{key:"handleNext",value:function(){this.mySwiper.slideNext()}},{key:"handlePrev",value:function(){this.mySwiper.slidePrev()}},{key:"render",value:function(){var e=this.props,t=e.component_data,n=e.t,i=this.state.currentSlide,r=t&&Array.isArray(t.squareImgList)?t.squareImgList.map(function(e){return o.a.createElement("div",{className:"swiper-slide swiper-no-swiping"},o.a.createElement("li",{key:p()(),className:"index__square-section-item___14G7F"},o.a.createElement(U.a,{href:e.learnMoreLink,className:"index__square-section-item-box___T5DH4"},e.newLabel?o.a.createElement("p",{className:"index__new-label___mMEV4",style:{color:e.newLabelColor}},n(e.newLabel)):null,e.title?o.a.createElement("div",null,o.a.createElement("h2",{className:"index__item-title___18Esb"},n(e.title)),o.a.createElement("span",{className:"index__horizontal-line___34lfu"})):null,o.a.createElement("img",{src:Object(f.a)(e.image),alt:n(e.title),className:"index__item-img___21Yvn"}),o.a.createElement("p",{className:"index__item-desc___1f-Ka"},n(e.desc)),o.a.createElement("div",{className:"index__item-absolute-box___3IbO3"},o.a.createElement("p",{className:"index__item-price____qI0z"},n(e.price)),o.a.createElement(U.a,{className:"learn-more index__learn-more___3bez7",href:e.learnMoreLink},n(e.learnMoreText),o.a.createElement(S.Icon,{name:"angle-right",className:"index__platform-link-icon___CcW54"}))))))}):"null",a=o.a.createElement("div",{className:"auto-button-wrapper"},"first"!==i?o.a.createElement("div",{className:"swiper-button-prev",onClick:this.handlePrev.bind(this)},o.a.createElement(S.Icon,{name:"angle-left",className:"index__swiper-button___1ikct"})):null,"last"!==i?o.a.createElement("div",{className:"swiper-button-next",onClick:this.handleNext.bind(this)},o.a.createElement(S.Icon,{name:"angle-right",className:"index__swiper-button___1ikct"})):null);return o.a.createElement("section",{className:"index__square-container___1EPcP"},o.a.createElement("ul",{className:"square-section-swiper index__feature-list-box___2qHcs"},o.a.createElement("div",{className:"swiper-container square-section-container"},o.a.createElement("div",{className:"swiper-wrapper"},r),t&&t.squareImgList.length>3?o.a.createElement("div",{className:"swiper-pagination-bullets"}):null),t&&t.squareImgList.length>3?a:null),o.a.createElement("div",{className:"index__other-link-box___4YUWy"},o.a.createElement(U.a,{className:"learn-more index__learn-more___3bez7",target:"_blank",href:t.otherLink},n(t.otherLinkText),o.a.createElement(S.Icon,{name:"angle-right",className:"index__platform-link-icon___CcW54"}))))}}
1])&&di(n.prototype,i),r&&di(n,r),t}();_i(hi,"defaultProps",{t:function(){},component_data:{otherLink:"PartnerShip",otherLinkText:"Get a quick take on the differences",squareImgList:[{newLabel:"new",newLabelColor:"#FA8C16",image:"/",title:"Partner Name",desc:"High performance lidar designed for L3/L4 autopilot",price:"From $3,999",learnMoreText:"Learn More",learnMoreLink:"/"}],isAutoPlay:!1}}),_i(hi,"editSetting",{key:"squareComponents",name:"squareComponents",component_data:{otherLink:{type:"string",label:"链接"},otherLinkText:{type:"i18n",label:"\bother 链接文案"},squareImgList:{label:"list",type:"array",items:{type:"object",image:{type:"image",label:"图片"},newLabel:{type:"i18n",label:"new label"},newLabelColor:{type:"string",label:"new label color"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},price:{type:"i18n",label:"价格"},learnMoreText:{type:"i18n",label:"了解更多按钮文案"},learnMoreLink:{type:"string",label:"了解更多按钮链接"}}},isAutoPlay:{type:"boolean",label:"是否要自动轮播"}}});var bi=Object(m.a)(hi);n(470);function yi(e){return(yi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function vi(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function gi(e,t){return!t||"object"!==yi(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function wi(e){return(wi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function xi(e,t){return(xi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ei(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Oi=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),gi(this,wi(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xi(e,t)}(t,o.a.Component),n=t,(i=[{key:"renderTabPanel",value:function(e){var t=this.props.t,n=e&&Array.isArray(e)?e.map(function(e){return o.a.createElement("li",{key:p()(),className:"index__tab-panel-item___3LtA4"},o.a.createElement("img",{className:"index__tab-panel-item-img___f72FU",src:Object(f.a)(e.image),alt:t(e.imgDesc)}),o.a.createElement("p",{className:"index__tab-panel-item-desc___1uFf5"},t(e.imgDesc)))}):"null";return o.a.createElement("ul",{className:"index__tab-panel-box___3m2qJ"},n)}},{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,r=S.Tabs.TabPanel;return o.a.createElement("section",{className:"tab-container index__tab-container___2am2X"},o.a.createElement("div",{className:"index__tab-content___3BTK2"},o.a.createElement("h2",{className:"index__tab-title___1-91n"},i(n.mainTitle)),o.a.createElement("div",{className:"index__tab-box___37bvl"},o.a.createElement(S.Tabs,{defaultActiveKey:i(n.tabTitle1),tabPosition:"center",theme:"dark",tabDisplay:"inline-block",tabBarStyle:{textAlign:"center"}},o.a.createElement(r,{tab:i(n.tabTitle1),key:i(n.tabTitle1)},this.renderTabPanel(n.tabPaneList1)),o.a.createElement(r,{tab:i(n.tabTitle2),key:i(n.tabTitle2)},this.renderTabPanel(n.tabPaneList2)),o.a.createElement(r,{tab:i(n.tabTitle3),key:i(n.tabTitle3)},this.renderTabPanel(n.tabPaneList3)),o.a.createElement(r,{tab:i(n.tabTitle4),key:i(n.tabTitle5)},this.renderTabPanel(n.tabPaneList4))))))}}])&&vi(n.prototype,i),r&&vi(n,r),t}();Ei(Oi,"editSetting",{key:"tabComponents",name:"tabComponents",component_data:{mainTitle:{type:"i18n",label:"大标题"},tabTitle1:{type:"i18n",label:"tab title1"},tabTitle2:{type:"i18n",label:"tab title1"},tabTitle3:{type:"i18n",label:"tab title1"},tabTitle4:{type:"i18n",label:"tab title1"},tabPaneList1:{label:"第一个tab集合配置",type:"array",items:{type:"object",image:{type:"image",label:"图片"},imgDesc:{type:"i18n",label:"icon 描述"}}},tabPaneList2:{label:"第二个tab集合配置",type:"array",items:{type:"object",image:{type:"image",label:"图片"},imgDesc:{type:"i18n",label:"icon 描述"}}},tabPaneList3:{label:"第三个tab集合配置",type:"array",items:{type:"object",image:{type:"image",label:"图片"},imgDesc:{type:"i18n",label:"icon 描述"}}},tabPaneList4:{label:"第四个tab集合配置",type:"array",items:{type:"object",image:{type:"image",label:"图片"},imgDesc:{type:"i18n",label:"icon 描述"}}}}}),Ei(Oi,"defaultProps",{t:function(){},component_data:{mainTitle:"Industry Application",tabTitle1:"High-speed Self-driving",tabTitle2:"Robot",tabTitle3:"Mapping",tabTitle4:"Others",tabPaneList1:[{image:"/",imgDesc:"Passenger Car & Robotaxi"},{image:"/",imgDesc:"Truck"},{image:"/",imgDesc:"HD Map"},{image:"/",imgDesc:"V2X"}],tabPaneList2:[{image:"/",imgDesc:"Passenger Car & Robotaxi"},{image:"/",imgDesc:"Truck"},{image:"/",imgDesc:"HD Map"},{image:"/",imgDesc:"V2X"}],tabPaneList3:[{image:"/",imgDesc:"Passenger Car & Robotaxi"},{image:"/",imgDesc:"Truck"},{image:"/",imgDesc:"HD Map"},{image:"/",imgDesc:"V2X"}],tabPaneList4:[{image:"/",imgDesc:"Passenger Car & Robotaxi"},{image:"/",imgDesc:"Truck"},{image:"/",imgDesc:"HD Map"},{image:"/",imgDesc:"V2X"}]}});var ki=Object(m.a)(Oi);n(220),n(471);function Si(e){return(Si="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Pi(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}
1function Ti(e){return(Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ni(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ji(e,t){return(ji=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ci=function(e){function t(e){var n,i,r,a,o,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,r=Ti(t).call(this,e),n=!r||"object"!==Si(r)&&"function"!=typeof r?Ni(i):r,a=Ni(n),l=function(){var e=Ni(n),t=Array.from(document.getElementsByClassName("watch-btn"));Array.isArray(t)&&t.forEach(function(t){t.addEventListener("click",function(){var n=t.getAttribute("data-link");e.videoShow(n)})})},(o="initClick")in a?Object.defineProperty(a,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[o]=l,n.state={},n.initClick=n.initClick.bind(Ni(n)),n.videoShow=n.videoShow.bind(Ni(n)),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ji(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.onRefChild,i=t.component_data,r=t.swiperName;n(this);var a=new ci.a(".".concat(r,"-img-container"),{autoplay:!1,loop:i&&i.imgList.length>1,speed:1e3,noSwiping:!0}),o=document.getElementsByClassName("".concat(r,"-bullet")),l=new ci.a(".".concat(r,"-text-container"),{autoplay:{delay:8e3,disableOnInteraction:!1},noSwiping:!0,slideToClickedSlide:!1,loop:i&&i.textList.length>1,speed:1e3,on:{init:function(){o&&o[0]&&(o[0].classList.add("swiper-pagination-bullet-first"),e.initClick())},slideChange:function(){for(var t=0;t<o.length;t++)o[t].classList.remove("swiper-pagination-bullet-active"),o[t].classList.remove("swiper-pagination-bullet-first");l&&o[l.realIndex]&&o[l.realIndex].classList.add("swiper-pagination-bullet-active"),a&&e.textSwiper&&e.textSwiper.activeIndex>1&&a.slideNext()}}});this.imgSWiper=a,this.textSwiper=l}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"videoShow",value:function(e){var t=this.props.handleVideoShow;(this.textSwiper||this.imgSwiper)&&(t(e),this.textSwiper.autoplay.stop())}},{key:"videoHide",value:function(){(this.textSwiper||this.imgSwiper)&&this.textSwiper.autoplay.start()}},{key:"handlePaginationClick",value:function(e){var t=this.props.swiperName;if(this.imgSWiper||this.textSwiper){this.imgSWiper.slideTo(e+1),this.textSwiper.slideTo(e+1);for(var n=document.getElementsByClassName("".concat(t,"-bullet")),i=0;i<n.length;i++)n[i].classList.remove("swiper-pagination-bullet-active"),n[i].classList.remove("swiper-pagination-bullet-first");n[e].classList.add("swiper-pagination-bullet-active")}}},{key:"render",value:function(){var e=this,t=this.props,n=t.component_data,i=t.t,r=t.swiperName,a={color:n.fontColor},l=n.imgList&&Array.isArray(n.imgList)?n.imgList.map(function(e){return o.a.createElement("div",{key:p()(),className:"swiper-slide swiper-no-swiping"},o.a.createElement("div",{className:"index__carousel-bg-box___3Uqaw",style:{backgroundImage:"url(".concat(Object(f.a)(e.image),")")}}))}):"null",s=n&&Array.isArray(n.textList)?n.textList.map(function(e){return o.a.createElement("div",{key:p()(),className:"swiper-slide swiper-no-swiping index__carousel-text-slide___V9iy-"},o.a.createElement("div",{className:"text-box index__text-box___2Giqx"},e.tips?o.a.createElement("h4",{className:"index__carousel-text-slide-tips___3QLJe"},i(e.tips)):null,o.a.createElement("h2",{className:"index__carousel-text-slide-title___1Gm4I",style:a},i(e.title)),o.a.createElement("div",{className:"index__carousel-text-slide-desc___28CgP",style:a},i(e.desc))),e.learnMoreLink?o.a.createElement(U.a,{className:"learn-more index__learn-more___Bibrj",href:e.learnMoreLink},o.a.createElement("div",{className:"learn-more-wrap index__learn-more-wrap___jLp7_",style:a},i(e.learnMoreBtnText),o.a.createElement(S.Icon,{name:"angle-right",className:"index__platform-link-icon___22rkS"}))):null,e.videoLink?o.a.createElement("div",{className:"watch-btn index__learn-more___Bibrj","data-link":i(e.videoLink)},o.a.createElement("div",{className:"index__learn-more-wrap___jLp7_",style:a},i(e.videoBtnText),o.a.createElement(S.Icon,{name:"fa-solid-play",className:"index__platform-link-icon___22rkS"}))):null)}):"null",c=n.imgList&&Array.isArray(n.imgList)?n.imgList.map(function(t,n){return o.a.createElement("span",{className:"swiper-pagination-bullet ".concat(r,"-bullet"),key:p()(),onClick:e.handlePaginationClick.bind(e,n)},o.a.createElement("span",{className:"dot-pagination"},o.a.createElement("span",{className:"dot-progress"})))}):"null";return o.a.createElement("div",{className:"index__carousel-box___3gbIu"},o.a.createElement("div",{className:"carousel-container-text index__carousel-container-text___yWeWW"},o.a.createElement("div",{className:"text-swiper index__carousel-text-box___2ctvo"},o.a.createElement("div",{className:"swiper-text-container swiper-container ".concat(r,"-text-container")},o.a.createElement("div",{className:"swiper-wrapper"},s)),n&&n.textList.length>1?o.a.createElement("div",{className:"swiper-pagination swiper-pagination-clickable swiper-pagination-bullets"},c):null)),o.a.createElement("div",{className:"carousel-container-img index__carousel-container-img___2f35d"},o.a.createElement("div",{className:"swiper-container swiper-img-container ".concat(r,"-img-container")},o.a.createElement("div",{className:"swiper-wrapper"},l))))}}
1])&&Pi(n.prototype,i),r&&Pi(n,r),t}(),Li=Object(m.a)(Ci);n(472);function Mi(e){return(Mi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ii(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Ai(e){return(Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Di(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zi(e,t){return(zi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Vi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ri=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=Ai(t).call(this,e))||"object"!==Mi(r)&&"function"!=typeof r?Di(i):r).state={videoVisible:!1,videoLink:"/"},n.handleVideoHide=n.handleVideoHide.bind(Di(n)),n.renderVideoPlayer=n.renderVideoPlayer.bind(Di(n)),n.onRefChild=n.onRefChild.bind(Di(n)),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zi(e,t)}(t,o.a.Component),n=t,(i=[{key:"onRefChild",value:function(e){this.child=e}},{key:"handleVideoShow",value:function(e,t,n){this.setState({videoVisible:!0,videoLink:e}),(t||n)&&(t.slick.slick.slickPause(),n.slick.slick.slickPause())}},{key:"handleVideoHide",value:function(){this.child.videoHide(),this.setState({videoVisible:!1})}},{key:"renderVideoPlayer",value:function(){var e=this.state,t=e.videoVisible,n=e.videoLink;return t?o.a.createElement(P.a,{visible:t,videoLink:n,onClose:this.handleVideoHide}):null}},{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,r={backgroundColor:n.bgColor};return o.a.createElement("section",{className:"index__carousel-wrap___jZ2L6"},o.a.createElement("div",{className:"index__carousel-box___2mFf3",style:r},o.a.createElement(Li,{component_data:n,t:i,handleVideoShow:this.handleVideoShow.bind(this),videoHide:this,onRefChild:this.onRefChild,swiperName:"banner-swiper"})),this.renderVideoPlayer())}}])&&Ii(n.prototype,i),r&&Ii(n,r),t}();Vi(Ri,"editSetting",{key:"homeSwiper",name:"homeSwiper",component_data:{swiperName:{type:"string",label:"轮播name(同一个页面的轮播名字不能相同)"},bgColor:{type:"string",label:"背景颜色"},fontColor:{type:"string",label:"字体颜色"},imgList:{label:"轮播list",type:"array",items:{type:"object",image:{type:"image",label:"image"}}},textList:{label:"text list",type:"array",items:{type:"object",tips:{type:"i18n",label:"tip"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},videoLink:{type:"i18n",label:"视频link"},videoBtnText:{type:"i18n",label:"观看视频按钮文案"},learnMoreLink:{type:"string",label:"了解更多链接"},learnMoreBtnText:{type:"i18n",label:"了解更多按钮文案"}}}}}),Vi(Ri,"defaultProps",{t:function(){},component_data:{swiperName:"banner-swiper",bgColor:"#009BA2",fontColor:"#fff",textList:[{title:"LiDAR Odometry and Mapping Algorithms Package",desc:"The Future in Sight",learnMoreBtnText:"了解更多1",learnMoreLink:"/"},{title:"LiDAR Odometry and Mapping Algorithms Package",desc:"The Future in Sight",videoBtnText:"观看视频",videoLink:"/"}],imgList:[{image:"/"},{image:"/"}]}});var Bi=Object(m.a)(Ri);n(473);function Fi(e){return(Fi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Hi={"./index.css":{"support-square-component":"index__support-square-component___2pTs4","horizontal-line":"index__horizontal-line___38qT5","section-container":"index__section-container___23TUR","main-title":"index__main-title___21Olk","small-horizontal-line":"index__small-horizontal-line___2_vlN",subtitle:"index__subtitle___1KRlv","section-list-wrap":"index__section-list-wrap___1qeAB","section-square-item":"index__section-square-item___rtuWa","two-item":"index__two-item___1k23Z","six-item":"index__six-item___1-3Pz","pass-six":"index__pass-six___2vuoM","item-title":"index__item-title___14VX5","item-tel":"index__item-tel___3ueKD","item-tel-icon":"index__item-tel-icon___t2lWQ","item-email-box":"index__item-email-box___BpLml","item-email":"index__item-email___3S2Pz","item-icon":"index__item-icon___33MEv","item-learn-more-box":"index__item-learn-more-box___2XmD6","item-learn-more":"index__item-learn-more___2Nmvp","section-square-item-have-border":"index__section-square-item-have-border___2eQ0V",image:"index__image___2Jrgw","section-square-item-conventional":"index__section-square-item-conventional___3bNkq","quark-tooltip-arrow":"index__quark-tooltip-arrow___3TWl3","tooltip-content":"index__tooltip-content___2x2Wz"}};function Wi(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}
1function qi(e){return(qi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ui(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gi(e,t){return(Gi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Yi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ki=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=qi(t).call(this,e))||"object"!==Fi(r)&&"function"!=typeof r?Ui(i):r).state={},n.renderpopContent=n.renderpopContent.bind(Ui(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gi(e,t)}(t,o.a.PureComponent),n=t,(i=[{key:"renderpopContent",value:function(e){var t=this.props.t;return o.a.createElement("div",{className:"tooltip-content",dangerouslySetInnerHTML:{__html:t(e)}})}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,a=void 0===i?{}:i,l=a.productList&&a.productList.length,s="";s=2===l?"two-item":6===l?"six-item":l>6?"pass-six":"";var c=a&&Array.isArray(a.productList)?a.productList.map(function(t){return o.a.createElement("div",{key:p()(),className:r()("section-square-item ".concat(s),Hi)},t.itemLink?o.a.createElement("div",{className:"index__section-square-item-have-border___2eQ0V"},o.a.createElement(U.a,{href:t.itemLink},o.a.createElement("img",{className:"index__image___2Jrgw",src:Object(f.a)(t.image),alt:n(t.
1itemTitle)}),o.a.createElement("p",{className:"index__item-title___14VX5"},n(t.itemTitle)),t.tel?o.a.createElement("p",{className:"index__item-tel___3ueKD"},n(t.tel),o.a.createElement(S.Tooltip,{trigger:"hover",title:e.renderpopContent(t.telPopoverText),placement:"bottomRight",mouseEnterDelay:.3,mouseLeaveDelay:.3},o.a.createElement(S.Icon,{name:"info-circle-o",className:"index__item-tel-icon___t2lWQ"}))):null,t.emailLink&&t.emailText?o.a.createElement(U.a,{href:t.emailLink,target:"_blank",className:"index__item-email-box___BpLml"},o.a.createElement("p",{className:"index__item-email___3S2Pz"},n(t.emailText)),o.a.createElement(S.Icon,{name:"angle-right",className:"index__item-icon___33MEv"})):null,t.learnMoreText&&t.learnMoreLink?o.a.createElement(U.a,{href:t.learnMoreLink,target:"_blank",className:"index__item-learn-more-box___2XmD6"},o.a.createElement("p",{className:"index__item-learn-more___2Nmvp"},n(t.learnMoreText)),o.a.createElement(S.Icon,{name:"external-link-o",className:"index__item-icon___33MEv"})):null)):o.a.createElement("div",{className:"index__section-square-item-conventional___3bNkq"},o.a.createElement("img",{className:"index__image___2Jrgw",src:Object(f.a)(t.image),alt:n(t.
1itemTitle)}),o.a.createElement("p",{className:"index__item-title___14VX5"},n(t.itemTitle)),t.tel?o.a.createElement("p",{className:"index__item-tel___3ueKD"},n(t.tel),o.a.createElement(S.Tooltip,{trigger:"hover",title:e.renderpopContent(t.telPopoverText),placement:"bottom",mouseEnterDelay:.3,mouseLeaveDelay:.3},o.a.createElement(S.Icon,{name:"info-circle-o",className:"index__item-tel-icon___t2lWQ"}))):null,t.emailLink&&t.emailText?o.a.createElement(U.a,{href:t.emailLink,target:"_blank",className:"index__item-email-box___BpLml"},o.a.createElement("p",{className:"index__item-email___3S2Pz"},n(t.emailText)),o.a.createElement(S.Icon,{name:"angle-right",className:"index__item-icon___33MEv"})):null,t.learnMoreText&&t.learnMoreLink?o.a.createElement(U.a,{href:t.learnMoreLink,target:"_blank",className:"index__item-learn-more-box___2XmD6"},o.a.createElement("p",{className:"index__item-learn-more___2Nmvp"},n(t.learnMoreText)),o.a.createElement(S.Icon,{name:"external-link-o",className:"index__item-icon___33MEv"})):null))}):null;return o.a.createElement("section",{className:"index__support-square-component___2pTs4"},o.a.createElement("div",{className:"index__section-container___23TUR"},a?o.a.createElement("div",null,o.a.createElement("h2",{className:"index__main-title___21Olk"},n(a.mainTitle)),o.a.createElement("p",{className:"index__small-horizontal-line___2_vlN"}),o.a.createElement("p",{className:"index__subtitle___1KRlv"},n(a.subTitle))):null,o.a.createElement("div",{className:"index__section-list-wrap___1qeAB",style:{flexWrap:l>5?"wrap":"",justifyContent:l>6?"flex-start":""}},c),o.a.createElement("div",{className:"index__horizontal-line___38qT5"})))}}])&&Wi(n.prototype,i),a&&Wi(n,a),t}();Yi(Ki,"editSetting",{key:"productSupport",name:"productSupport",component_data:{mainTitle:{type:"i18n",label:"主标题"},subTitle:{type:"i18n",label:"副标题"},productList:{type:"array",label:"list",items:{type:"object",image:{type:"image",label:"图片"},itemTitle:{type:"i18n",label:"item 标题"},itemLink:{type:"string",label:"item 跳转链接"},tel:{type:"i18n",label:"item 联系电话"},telPopoverText:{type:"i18n",label:"item 图标popover的内容"},emailText:{type:"i18n",label:"email 文案"},emailLink:{type:"string",label:"email 链接"},learnMoreText:{type:"i18n",label:"了解更多文案"},learnMoreLink:{type:"string",label:"了解更多链接"}}}}}),Yi(Ki,"defaultProps",{t:function(){},component_data:{mainTitle:"Product Support",subTitle:"FAQ and more info",productList:[{image:"/",itemTitle:"HORIZON",itemLink:"/"},{image:"/",itemTitle:"HORIZON2",itemLink:"/"},{image:"/",itemTitle:"HORIZON3",itemLink:"/"},{image:"/",itemTitle:"HORIZON4",itemLink:"/"}]}});var Xi=Object(m.a)(Ki);n(474);function $i(e){return($i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Zi(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Qi(e,t){return!t||"object"!==$i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ji(e){return(Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function er(e,t){return(er=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nr=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Qi(this,Ji(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&er(e,t)}(t,o.a.PureComponent),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.t,n=e.component_data,i=void 0===n?{}:n,r=i&&i.featureList?i.featureList.map(function(e){return o.a.createElement(U.a,{href:e.link,key:p()(),className:"index__brick-border___1mxs8"},o.a.createElement("div",{className:"index__brick-item___1DZ7I"},e.image?o.a.createElement("div",{className:"index__img-box___DWqIO"},o.a.createElement("img",{src:Object(f.a)(e.image),alt:t(e.title)})):null,o.a.createElement("div",{className:"index__item-text-wrap___3ZOKQ"},o.a.createElement("div",{className:"index__item-text-box___1Y_iC"},o.a.createElement("h4",{className:"index__title___2nY4X"},t(e.title)),o.a.createElement("p",{className:"index__desc___3ut29"},t(e.desc))),o.a.createElement("div",{className:"index__icon-box___1imTf"},e.icon?o.a.createElement("img",{src:Object(f.a)(e.icon),alt:t(e.title)}):o.a.createElement("img",{src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNnB4IiBoZWlnaHQ9IjEwcHgiIHZpZXdCb3g9IjAgMCA2IDEwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHRpdGxlPue8lue7hDwvdGl0bGU+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGwtb3BhY2l0eT0iMC40NSI+CiAgICAgICAgPGcgaWQ9Iue8lue7hCIgZmlsbD0iIzAw
1MDAwMCI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjI5MjgsMTAgQy0wLjA5NzYsOS42MDkgLTAuMDk3Niw4Ljk3NTA3IDAuMjkyOCw4LjU4NDA3IEwzLjg3MTQsNSBMMC4yOTI4LDEuNDE1OTMgQy0wLjA5NzYsMS4wMjQ5MyAtMC4wOTc2LDAuMzkwOTk4IDAuMjkyOCwwIEw0LjkzMTcyLDQuNjQ2MDIgQzUuMTI2OTIsNC44NDE1MiA1LjEyNjkyLDUuMTU4NDggNC45MzE3Miw1LjM1Mzk4IEwwLjI5MjgsMTAgWiIgaWQ9Iui3r+W+hCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+",alt:t(e.title)})))))}):null;return o.a.createElement("section",{className:"index__support-brick-component___2qjKY"},o.a.createElement("div",{className:"index__container___CLPOm"},i?o.a.createElement("div",{className:"index__text-box___1rKLz"},o.a.createElement("h2",{className:"index__main-title___2unaz"},t(i.mainTitle)),o.a.createElement("p",{className:"index__small-horizontal-line___3DmDA"})):null,i&&i.featureList?o.a.createElement("div",{className:"index__brick-list-box___2bQwl",style:{justifyContent:i.featureList.length>3?"flex-start":""}},r):null,o.a.createElement("div",{className:"index__horizontal-line___1GB_h"})))}}])&&Zi(n.prototype,i),r&&Zi(n,r),t}();tr(nr,"editSetting",{key:"supportBrick",name:"supportBrick",component_data:{mainTitle:{type:"i18n",label:"主标题"},featureList:{type:"array",label:"list",items:{type:"object",image:{type:"image",label:"图片"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},icon:{type:"image",label:"icon"},link:{type:"string",label:"跳转链接"}}}}}),tr(nr,"defaultProps",{t:function(){},component_data:{mainTitle:"Service Policies",featureList:[{title:"After-Sales Service Policies",image:"/",desc:"Detail about warranty terms",icon:"/",link:"/"},{title:"Request RMA",image:"/",desc:"Detail about RMA",icon:"/",link:"/"}]}});var ir=Object(m.a)(nr);n(475);function rr(e){return(rr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var ar={"./index.css":{"collapse-component":"index__collapse-component___2od4G",container:"index__container___3a5vD","section-title":"index__section-title___1_d_9",headline:"index__headline___qYAT8","tab-bar":"index__tab-bar___wP8FG","actvie-line":"index__actvie-line___PCMv6","tab-item":"index__tab-item___1jcKF",actvie:"index__actvie___DD40x","collpase-panel":"index__collpase-panel___3w7lX","horizontal-line":"index__horizontal-line___1t_Ew","quark-collapse-item":"index__quark-collapse-item___2hbeq","quark-collapse-header":"index__quark-collapse-header___jSNNT","quark-collapse-header-title":"index__quark-collapse-header-title___3D2fO","quark-collapse-header-inner":"index__quark-collapse-header-inner___DIwE5","quark-collapse-extra":"index__quark-collapse-extra___1lcQM","collapse-icon":"index__collapse-icon___WAexN","quark-collapse-item-active":"index__quark-collapse-item-active___1G7OB","quark-collapse-content-box":"index__quark-collapse-content-box___1gUgN"}};function or(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function lr(e,t){return!t||"object"!==rr(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function sr(e){return(sr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function cr(e,t){return(cr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ur(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dr=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=(n=lr(this,sr(t).call(this,e))).props.component_data.faqList,r=[];i&&Array.isArray(i)&&i.forEach(function(e,t){var n=e.headline;r[n]||(r[n]={active:0===t,qaList:[],headline:n}),r[n].qaList.push(e)});var a=Object.values(r)||[],o=a[0].qaList||[],l=a[0].headline||"";return n.state={tabList:a,qaList:o,headline:l,inkBarStyle:{}},n.tabDom=[],n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cr(e,t)}(t,o.a.PureComponent),n=t,(i=[{key:"componentDidMount",value:function(){var e=this.tabDom[0];if(e){var t=e.clientHeight,n=e.offsetTop,i={height:t,transform:"translate3d(0px, ".concat(n,"px, 0px)")};this.setState({inkBarStyle:i})}}},{key:"handelClick",value:function(e){var t=this.state.tabList,n=[];t.forEach(function(t,i){t.active=i===e,n.push(t)});var i=n[e].qaList||[],r=n[e].headline||"",a={},o=this.tabDom[e];if(o){var l=o.clientHeight,s=o.offsetTop;a.height=l,a.transform="translate3d(0px, ".concat(s,"px, 0px)")}this.setState({tabList:n,qaList:i,headline:r,inkBarStyle:a})}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,a=this.state,l=a.tabList,s=a.headline,c=a.qaList,u=a.inkBarStyle,d=i.sectionTitle,f=S.C
1ollapse.Panel,m=o.a.createElement(S.Icon,{name:"angle-down",className:"collapse-icon"}),_=c&&Array.isArray(c)?c.map(function(e){return o.a.createElement(f,{title:n(e.question),key:p()(),showIcon:!1,className:"index__collpase-panel___3w7lX",extra:m},o.a.createElement("p",{dangerouslySetInnerHTML:{__html:n(e.answer)}}))}):null,h=o.a.createElement("ul",{className:"index__tab-bar___wP8FG"},o.a.createElement("div",{className:"index__actvie-line___PCMv6",style:u}),l&&Array.isArray(l)&&l.map(function(t,i){return o.a.createElement("li",{key:"tab-item-".concat(p()()),onClick:function(){return e.handelClick(i)},ref:function(t){e.tabDom[i]=t},className:r()("tab-item ".concat(t.active?"actvie":""),ar)},n(t.headline))}));return o.a.createElement("section",{className:"index__collapse-component___2od4G"},o.a.createElement("div",{className:"index__container___3a5vD"},o.a.createElement("h2",{className:"index__section-title___1_d_9"},n(d)),o.a.createElement(vt.a,{tabBar:h},o.a.createElement(S.Collapse,{tight:!0,border:"bottom"},o.a.createElement("h3",{className:"index__headline___qYAT8"},n(s)),_)),o.a.createElement("div",{className:"index__horizontal-line___1t_Ew"})))}}])&&or(n.prototype,i),a&&or(n,a),t}();ur(dr,"editSetting",{key:"collapse",name:"collapse",component_data:{sectionTitle:{type:"i18n",label:"section 主标题"},faqList:{type:"array",label:"faq list",items:{type:"object",headline:{type:"i18n",label:"分类名"},question:{type:"i18n",label:"faq item 问题"},answer:{type:"i18n",label:"faq item 答案"}}}}}),ur(dr,"defaultProps",{t:function(){},component_data:{sectionTitle:"Section Title",faqList:[{headline:"Tab Item 1",question:"How do I solve a large margin mid-point error?",answer:"Use the DJI GO app to calibrate the remote controller."},{headline:"Tab Item 1",question:"How long does it take to charge a remote controller?",answer:"Fully charging the Inspire 1 remote controller takes approximately 6 hours. It can be used for approximately 4 hours after being fully charged."},{headline:"Tab Item 1",question:"How long does it take to charge a remote controller?",answer:"Fully charging the Inspire 1 remote controller takes approximately 6 hours. It can be used for approximately 4 hours after being fully charged."},{headline:"Tab Item 2",question:"How do I solve a large margin mid-point error?",answer:"Use the DJI GO app to calibrate the remote controller."},{headline:"Tab Item 3",question:"How long does it take to charge a remote controller?",answer:"Fully charging the Inspire 1 remote controller takes approximately 6 hours. It can be used for approximately 4 hours after being fully charged."}]}});var pr=Object(m.a)(dr);n(476);function fr(e){return(fr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var mr={"./index.css":{"veritical-tabs-component":"index__veritical-tabs-component___1Lzec",container:"index__container___DK2yM","site-nav":"index__site-nav___2rQhu","care-tab":"index__care-tab___3YZew","care-tab-item":"index__care-tab-item___3fo_4","select-item":"index__select-item___V4woy",active:"index__active___3ImN9","tab-content":"index__tab-content___F17rF","tab-panel":"index__tab-panel___3hdpR","h2-title":"index__h2-title___3-Mnh","tex-field":"index__tex-field___3Eaht",sticky:"index__sticky___r-wHn",d_jump:"index__d_jump___ibbB1"}};function _r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function hr(e){return(hr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function br(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yr(e,t){return(yr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function vr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gr=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=hr(t).call(this,e))||"object"!==fr(r)&&"function"!=typeof r?br(i):r).state={currentActive:0},n.bindScroll=n.bindScroll.bind(br(n)),n.jum=n.jum.bind(br(n)),n.refDom=[],n.contentDom=[],n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yr(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){window.addEventListener("DOMMouseScroll",this.bindScroll,!1),window.addEventListener("mousewheel",this.bindScroll,!1)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("DOMMouseScroll",this.bindScroll),window.removeEventListener("mousewheel",this.bindScroll)}},{key:"bindScroll",value:function(){for(var e=Math.max(document.documentElement.scrollTop,document.body.scrollTop),t=0;t<this.contentDom.length;t++)this.contentDom[t].offsetTop<=e&&this.setState({currentActive:t})}},{key:"tabHandle",value:function(e){this.setState({currentActive:e}),this.jum(e)}},{key:"jum",value:function(e){var t=document.querySelectorAll(".d_jump"),n=0===e?t[e].offsetTop:t[e].offsetTop+32,i=document.documentElement.scrollTop||document.body.scrollTop,r
1=n/50;n>i?function e(){i<n?(i+=r,document.body.scrollTop=i,document.documentElement.scrollTop=i,setTimeout(e,10)):(document.body.scrollTop=n,document.documentElement.scrollTop=n)}():(r=(i-n)/50,function e(){i>n?(i-=r,document.body.scrollTop=i,document.documentElement.scrollTop=i,setTimeout(e,10)):(document.body.scrollTop=n,document.documentElement.scrollTop=n)}())}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,a=this.state.currentActive,l=s()({"site-nav":!0,sticky:!0}),c=i&&i.featureList?i.featureList.map(function(t,i){return o.a.createElement("li",{key:p()(),ref:function(t){e.refDom[i]=t},className:r()(["care-tab-item",i===a?"active":""].join(" "),mr)},o.a.createElement("a",{className:"index__select-item___V4woy",href:"#".concat(i),onClick:e.tabHandle.bind(e,i)},n(t.title)))}):null,u=i&&i.featureList?i.featureList.map(function(t,i){return o.a.createElement("section",{key:p()(),className:"d_jump index__tab-panel___3hdpR","data-index":i,ref:function(t){e.contentDom[i]=t}},o.a.createElement("h2",{className:"index__h2-title___3-Mnh"},n(t.title)),o.a.createElement("div",{className:"index__tex-field___3Eaht",dangerouslySetInnerHTML:{__html:n(t.textField)}}))}):null;return o.a.createElement("section",{className:"index__veritical-tabs-component___1Lzec",ref:function(t){e.component=t}},o.a.createElement("div",{className:"index__container___DK2yM"},o.a.createElement("div",{className:r()(l,mr)},o.a.createElement("ul",{className:"index__care-tab___3YZew"},c)),o.a.createElement("div",{className:"index__tab-content___F17rF",ref:function(t){e.tabContentDom=t}},u)))}}])&&_r(n.prototype,i),a&&_r(n,a),t}();vr(gr,"editSetting",{key:"verticalTabs",name:"verticalTabs",component_data:{featureList:{type:"array",label:"list",items:{type:"object",title:{type:"i18n",label:"标题"},textField:{type:"i18n",label:"文本内容"}}}}}),vr(gr,"defaultProps",{t:function(){},component_data:{featureList:[{title:"H2 Title",textField:'<h3>h3 title</h3><h4>h4 title</h4>Lorem Ipsum has been the industry"s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. Lorem Ipsum has been the industry"s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into Lorem Ipsum has been the industry"s standard dummy text ever since the 1500s.'}]}});var wr=Object(m.a)(gr),xr=n(112),Er=n(288),Or=n.n(Er);n(477);function kr(e){return(kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Sr={"./index.css":{wrap:"index__wrap___1zXbe","placeholder-container":"index__placeholder-container___3sKXo","section-with-hero-component":"index__section-with-hero-component___191DD","video-box":"index__video-box___3V7Lv",video:"index__video___2-uw-","watch-video-button":"index__watch-video-button___eEhPe",container:"index__container___1bv90","text-box":"index__text-box___3Yo9f",logo:"index__logo___aAxQw",title:"index__title___2JCvI",slogan:"index__slogan___3JWZZ","price-desc":"index__price-desc___2nWB3","video-btn":"index__video-btn___2PQcH","sequence-box":"index__sequence-box___AB98i","placeholder-img":"index__placeholder-img___3Ck53",fixed:"index__fixed___3hbcL","light-section":"index__light-section___3h4-K","dark-section":"index__dark-section___35jRH",hide:"index__hide___2dj97","angle-down-icon":"index__angle-down-icon___2O27V",slider:"index__slider___1JIPn","basic-button-box":"index__basic-button-box___2FF8d",icon:"index__icon___3FNGs"}};function Pr(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Tr(e){return(Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Nr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jr(e,t){return(jr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Cr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lr=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=Tr(t).call(this,e))||"object"!==kr(r)&&"function"!=typeof r?Nr(i):r).state={loadImg:!1,videoVisible:!1},n.opacityMask=n.opacityMask.bind(Nr(n)),n.handleVideo=n.handleVideo.bind(Nr(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jr(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=this,t=this.props.component_data;if(t&&t.sequenceFrameUrl&&this.loadImg(),this.initBanner(),!t.isImg)new te.a({reset:!0,replayWhenRevisible:!0,visiblePlay:!0,containerClassName:"video-box",replayClassName:"",downgradeHtml:'<div class="downgrade-video-box" data-href="#href#">\n        <div class="play-video play-video-icon"></div>\n        <img src="#img#">\n        </div>'});window.addEventListener("scroll",this.opacityMask),xr.a.addListener("headerHeight
1Change",function(t){e.setState({topHeaderHeight:"".concat(t.height,"px")||"64px"})})}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.opacityMask),xr.a.removeListener("headerHeightChange",function(){})}},{key:"getPath",value:function(e){return/^(https?:)?\/\//.test(e)?e:"".concat("https://www.livoxtech.com").concat(e)}},{key:"opacityMask",value:function(){var e=Math.max(document.documentElement.scrollTop,document.body.scrollTop),t=this.sectionDom.clientHeight;if(e>=64){var n=1-(t-e-10)/t;n<1&&(document.getElementById("placeholder-container").style.opacity=n),n>.9?(document.getElementById("wrap").style.zIndex=-1,this.videoDom&&this.videoDom.loop&&(this.videoDom.pause(),this.videoDom.currentTime=0)):(document.getElementById("wrap").style.zIndex=0,this.videoDom&&this.videoDom.loop&&this.videoDom.play())}else document.getElementById("placeholder-container").style.opacity=0}},{key:"loadImg",value:function(){for(var e=this,t=this.props.component_data,n=[],i=[],r=n.length,a=t&&t.sequenceFrameNum?t.sequenceFrameNum:2,o=t&&t.sequenceFrameUrl?t.sequenceFrameUrl:"/",l=t&&t.sequenceFrameFormat?t.sequenceFrameFormat:"jpg",s=1;s<a;s++){var c=this.getPath(o);c+="".concat(s,".").concat(l);var u=new Image;u.src=c,n.push(u)}for(var d=function(e){i[e]=new Promise(function(t){n[e].onload=function(){t(n[e])}})},p=0;p<r;p++)d(p);Promise.all(i).then(function(){e.setState({loadImg:!0}),new Or.a(document.getElementById("canvas"),"array",n,{width:600,height:200,loop:1}).play()})}},{key:"initBanner",value:function(){if(this.sectionDom){var e=this.sectionDom.clientHeight;document.getElementById("placeholder-container").style.height="".concat(e,"px")}}},{key:"handleVideo",value:function(){var e=this.state.videoVisible;this.setState({videoVisible:!e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,a=void 0===i?{}:i,l=this.state,c=l.loadImg,u=l.videoVisible,d=l.topHeaderHeight,p=s()({"section-with-hero-component":!0,fixed:!0}),m=s()({wrap:!0,"dark-section":a&&"dark"===a.theme,"light-section":a&&"light"===a.theme}),_={backgroundImage:"url(".concat(Object(f.a)(a&&a.bg?a.bg:""),")"),top:a.isScrollWithScreen?"0px":d,position:a.isScrollWithScreen?"absolute":"fixed"};return o.a.createElement("section",null,o.a.createElement("div",{id:"wrap",className:r()(m,Sr)},o.a.createElement("div",{id:"placeholder-container",className:"index__placeholder-container___3sKXo"}),o.a.createElement("div",{ref:function(t){e.sectionDom=t},style:_,className:r()(p,Sr)},a.isImg?null:o.a.createElement("div",{className:"index__video-box___3V7Lv"},o.a.createElement("video",{muted:!0,loop:a.loop,name:"media",autoPlay:!0,className:"index__video___2-uw-",ref:function(t){e.videoDom=t}},o.a.createElement("source",{src:a.smallVideoLink}))),o.a.createElement("div",{className:"index__container___1bv90"},o.a.createElement("div",{className:"index__text-box___3Yo9f"},o.a.createElement("h1",{className:"index__hide___2dj97"},a&&a.mainTitle?n(a.mainTitle):""),a&&a.titleLogo?o.a.createElement("img",{className:"index__logo___aAxQw",src:Object(f.a)(a.titleLogo),alt:""}):o.a.createElement("h1",{className:"index__title___2JCvI"},a&&a.mainTitle?n(a.mainTitle):""),o.a.createElement("p",{className:"index__slogan___3JWZZ"},a&&a.slogan?n(a.slogan):""),o.a.createElement("p",{className:"index__price-desc___2nWB3",dangerouslySetInnerHTML:{__html:a&&a.priceText?n(a.priceText):""}}),o.a.createElement("div",{className:"video-btn index__video-btn___2PQcH",onClick:this.handleVideo},a.learnMoreText||a.videoText?o.a.createElement(de.a,{text:n(a.learnMoreText)||n(a.videoText),link:a.learnMoreLink,videoLink:a.videoLink,theme:a.theme,iconName:a.videoLink?"fa-solid-play":"angle-right"}):"")),a&&a.placeholderImg?o.a.createElement("div",{className:"index__sequence-box___AB98i",id:"canvas"},o.a.createElement("img",{className:"index__placeholder-img___3Ck53",style:{display:c?"none":"block"},src:a&&a.placeholderImg?Object(f.a)(a.placeholderImg):"/",alt:""})):null)),o.a.createElement(S.Icon,{name:"angle-down",className:"index__angle-down-icon___2O27V"})),u&&a&&a.videoLink?o.a.createElement(P.a,{visible:u,videoLink:a&&a.videoLink?a.videoLink:"",onClose:this.handleVideo}):"")}}
1])&&Pr(n.prototype,i),a&&Pr(n,a),t}();Cr(Lr,"editSetting",{key:"sectionWithHero",name:"sectionWithHero",component_data:{isScrollWithScreen:{type:"boolean",label:"组件是否随着屏幕滚动一起滚走"},titleLogo:{type:"image",label:"标题logo"},isImg:{type:"boolean",label:"是否是图片(如果为true,视频链接则不需要配置)"},smallVideoLink:{label:"小视频播放链接",type:"string"},loop:{type:"boolean",label:"是否循环播放"},bg:{type:"image",label:"背景图片配置(如果是图片,配置的就是图片的链接;如果是视频,配置的就是视频的占位图)"},mainTitle:{label:"主标题",type:"i18n"},slogan:{label:"描述",type:"i18n"},priceText:{label:"价格描述",type:"i18n"},videoText:{label:"观看视频文案",type:"i18n"},videoLink:{label:"视频链接",type:"string"},learnMoreText:{label:"了解更多文案",type:"i18n"},learnMoreLink:{label:"了解更多链接",type:"string"},theme:{label:"section 背景颜色(dark/light)",type:"string"},placeholderImg:{label:"占位图片",type:"image"},sequenceFrameNum:{label:"序列帧总张数",type:"number"},sequenceFrameUrl:{label:"序列帧图片地址(不包括后缀名;例如.png)",type:"string"},sequenceFrameFormat:{label:"序列帧图片后缀(默认jpg)",type:"string"}}}),Cr(Lr,"defaultProps",{t:function(){},component_data:{isScrollWithScreen:!1,mainTitle:"HORIZON",isImg:!1,bg:"/",smallVideoLink:"/",loop:!0,slogan:"Slogan of this Product",priceText:"仅售 $ 699",videoText:"观看视频",videoLink:"/",theme:"dark",placeholderImg:"",sequenceFrameNum:0,sequenceFrameUrl:"",sequenceFrameFormat:""}});var Mr=Object(m.a)(Lr),Ir=n(239);n(478);function Ar(e){return(Ar="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Dr={"./index.css":{"section-with-parallax-component":"index__section-with-parallax-component___2W-Y6","section-desc":"index__section-desc___2LGYV","section-product-img":"index__section-product-img___33Dy5","parallax-bg":"index__parallax-bg___3Sw0g","feature-list":"index__feature-list___1vN_o","feature-list-item":"index__feature-list-item___9OSJG",title:"index__title___2c9vR",desc:"index__desc___3LjzG","feature-list-three":"index__feature-list-three___2konP","feature-list-four":"index__feature-list-four___2rDMP","card-list-container":"index__card-list-container___3lGaZ","product-card":"index__product-card___OLxmN","card-badge-wrapper":"index__card-badge-wrapper___1RDyh","card-badge":"index__card-badge___1b5Oc","card-badge-placeholder":"index__card-badge-placeholder___10Tbc","card-content":"index__card-content___3KqcT","card-title-wrapper":"index__card-title-wrapper___35c4K","card-title":"index__card-title___3SDjz","card-title-image":"index__card-title-image___2tKtz","card-price":"index__card-price___vqfia","card-currency":"index__card-currency___1Qlj2","card-price-value":"index__card-price-value___rQfLR","card-button":"index__card-button___3kbvA","dark-section":"index__dark-section___1vXuE","light-section":"index__light-section___32cWo","parallax-inner":"index__parallax-inner___39x3C",img:"index__img___3ZTrD"}};function zr(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Vr(e,t){return!t||"object"!==Ar(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Rr(e){return(Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Br(e,t){return(Br=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Hr=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Vr(this,Rr(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Br(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}
1))),i.forEach(function(t){Fr(e,t,n[t])})}return e}({},this.constructor.defaultProps.component_data,i||{}),l=s()({"section-with-parallax-component":!0,"dark-section":a&&"dark"===a.theme,"light-section":a&&"light"===a.theme}),c=function(e,t,n){return Array.isArray(e)&&0!==e.length?e.map(function(e,i){return o.a.createElement("div",{key:p()(),className:"index__product-card___OLxmN"},o.a.createElement("div",{className:"index__card-content___3KqcT"},o.a.createElement("div",{className:"index__card-badge-wrapper___1RDyh"},e.badgeText?o.a.createElement("div",{className:"index__card-badge___1b5Oc",style:{color:e.badgeTextColor,backgroundColor:e.badgeBgColor},dangerouslySetInnerHTML:{__html:t(e.badgeText)}}):o.a.createElement("div",{className:"index__card-badge___1b5Oc index__card-badge-placeholder___10Tbc"})),o.a.createElement("div",{className:"index__card-title-wrapper___35c4K"},e.titleImage?o.a.createElement("img",{src:Object(f.a)(e.titleImage),alt:t(e.title),className:"index__card-title-image___2tKtz"}):e.title&&o.a.createElement("h3",{className:"index__card-title___3SDjz",dangerouslySetInnerHTML:{__html:t(e.title)}})),e.price&&o.a.createElement("div",{className:"index__card-price___vqfia"},o.a.createElement("span",{className:"index__card-price-value___rQfLR"},t(e.price))),e.buttonText&&o.a.createElement(de.a,{text:t(e.buttonText),link:t(e.buttonLink)||"#",target:e.buttonTarget||"_self",theme:"dark"===n?"dark":"light",animate:!0})))}):null}(a.cardList,n,a.theme),u=function(e,t){return Array.isArray(e)&&0!==e.length?e.map(function(e){return o.a.createElement("li",{key:p()(),className:"index__feature-list-item___9OSJG","data-aos":"fade-in"},o.a.createElement("h2",{className:"index__title___2c9vR",dangerouslySetInnerHTML:{__html:t(e.itemTitle)}}),o.a.createElement("p",{className:"index__desc___3LjzG",dangerouslySetInnerHTML:{__html:t(e.itemDesc)}}))}):null}(a&&a.featureList,n),d=a&&a.bg?{backgroundImage:"url(".concat(Object(f.a)(a.bg),")"),backgroundSize:"cover",width:"100%",height:"100%",backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{};return o.a.createElement("section",{className:r()(l,Dr)},o.a.createElement("div",{className:"index__section-desc___2LGYV","data-aos":"fade-in",dangerouslySetInnerHTML:{__html:a&&a.desc?n(a.desc):""}}),a&&a.bg&&!a.closeParallax?o.a.createElement("div",{id:"scene",className:"parallax-bg index__parallax-bg___3Sw0g",ref:function(t){e.bgDom=t}}
1,o.a.createElement(Ir.ParallaxProvider,null,o.a.createElement(Ir.Parallax,{className:"custom-class",y:[-30,10]},o.a.createElement("div",{className:"custom-class-bg",style:d})))):o.a.createElement("div",{className:"index__section-product-img___33Dy5",style:{height:a&&a.bgHeight?a.bgHeight:"",backgroundImage:a&&a.bg?"url(".concat(Object(f.a)(a.bg),")"):""}}),c&&o.a.createElement("div",{className:"index__card-list-container___3lGaZ"},c),o.a.createElement("ul",{className:r()("feature-list ".concat(a&&"three"===a.featureItemLineNum?"feature-list-three":"feature-list-four"),Dr)},u))}}])&&zr(n.prototype,i),a&&zr(n,a),t}();Fr(Hr,"defaultProps",{t:function(){},component_data:{theme:"dark",desc:"Horizon 高性能激光雷达专为 L3/L4 自动驾驶打造,具备宽广水平视场、260 米探测距离[1]、高点云密度及便于嵌入车体的小巧体积,价格仅为同等性能激光雷达 1/10。巨大的技术和成本优势将加速自动驾驶产业量产落地。",bg:"https://s3.amazonaws.com/vg-ec-www-dbeta/dps/a5199edb134e65fbf63ed61b65861012.jpg",cardList:[{badgeText:"啦啦啦",badgeTextColor:"#BE4E04",badgeBgColor:"#BE4E041A",title:"GGG-999",titleImage:"",price:"price",buttonText:"Button",buttonLink:"/",buttonTarget:"_self"},{badgeText:"",badgeTextColor:"#BE4E04",badgeBgColor:"#BE4E041A",title:"GGG-999",titleImage:"",price:"price",buttonText:"Button",buttonLink:"/",buttonTarget:"_self"}],featureList:[{itemTitle:"260 m",itemDesc:"探测距离<sup>2</sup>"},{itemTitle:"2 cm",itemDesc:"距离精度"},{itemTitle:"0.05",itemDesc:"探测距离"},{itemTitle:"0.05",itemDesc:"探测距离"},{itemTitle:"0.05&#8451;",itemDesc:"探测距离"},{itemTitle:"0.05",itemDesc:"探测距离"}]}}),Fr(Hr,"editSetting",{key:"sectionWithParallax",name:"sectionWithParallax",component_data:{closeParallax:{label:"是否关闭视差效果",type:"boolean"}
1,theme:{label:"section 主题色(dark/light)",type:"string"},desc:{type:"i18n",label:"描述"},bg:{type:"image",label:"背景图片"},bgHeight:{type:"string",label:"背景图片的高度(开启视差效果无效)"},cardList:{label:"卡片列表",type:"array",items:{type:"object",badgeText:{type:"i18n",label:"标签文字"},badgeTextColor:{type:"string",label:"标签文字颜色"},badgeBgColor:{type:"string",label:"标签背景色"},title:{type:"i18n",label:"标题文字"},titleImage:{type:"image",label:"标题图片(如果填写则显示图片,不显示文字)"},price:{type:"i18n",label:"ä»·æ ¼"},buttonText:{type:"i18n",label:"按钮文字"},buttonLink:{type:"i18n",label:"按钮跳转链接"},buttonTarget:{type:"select",label:"按钮跳转方式",items:[{value:"_self",label:"当前窗口"},{value:"_blank",label:"新窗口"}]}}},featureItemLineNum:{type:"select",label:"一行显示的icon数量",items:[{value:"three",label:"一行三个"},{label:"一行四个",value:"four"}]},featureList:{label:"list",type:"array",items:{type:"object",itemTitle:{type:"i18n",label:"标题"},itemDesc:{type:"i18n",label:"描述"}}}}});var Wr=Object(m.a)(Hr);n(479);function qr(e){return(qr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Ur={"./index.css":{"section-with-parallaxT15-component":"index__section-with-parallaxT15-component___6Htt1","section-desc":"index__section-desc___2WLWU","parallax-bg-T15":"index__parallax-bg-T15___LWEQH","feature-list":"index__feature-list___1x-vB","feature-list-item":"index__feature-list-item___1YTEN",title:"index__title___2V6Pa",desc:"index__desc___Da-mG","dark-section-T15":"index__dark-section-T15___Byqns","light-section-T15":"index__light-section-T15___24TjF"}};function Gr(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Yr(e,t){return!t||"object"!==qr(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Kr(e){return(Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Xr(e,t){return(Xr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zr=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Yr(this,Kr(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xr(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.t,n=e.component_data,i=s()({"section-with-parallaxT15-component":!0,"dark-section-T15":n&&"dark"===n.theme,"light-section-T15":n&&"light"===n.theme}),a=n&&Array.isArray(n.featureList)?n.featureList.map(function(e){return o.a.createElement("li",{key:p()(),className:"index__feature-list-item___1YTEN","data-aos":"fade-in"},o.a.createElement("h2",{className:"index__title___2V6Pa",dangerouslySetInnerHTML:{__html:t(e.itemTitle)}}),o.a.createElement("p",{className:"index__desc___Da-mG",dangerouslySetInnerHTML:{__html:t(e.itemDesc)}}))}):null;return o.a.createElement("section",{className:r()(i,Ur)},o.a.createElement("div",{className:"index__section-desc___2WLWU","data-aos":"fade-in",dangerouslySetInnerHTML:{__html:n?t(n.desc):""}}),n&&n.bg?o.a.createElement("div",{className:"index__parallax-bg-T15___LWEQH"},o.a.createElement("img",{src:Object(f.a)(n.bg),alt:""})):null,o.a.createElement("ul",{className:"index__feature-list___1x-vB"},a))}}])&&Gr(n.prototype,i),a&&Gr(n,a),t}();$r(Zr,"editSetting",{key:"sectionWithParallaxT15",name:"sectionWithParallaxT15",component_data:{theme:{label:"section 背景色(dark/light)",type:"string"},desc:{type:"i18n",label:"描述"},bg:{type:"image",label:"图片"},featureList:{label:"list",type:"array",items:{type:"object",itemTitle:{type:"i18n",label:"标题"},itemDesc:{type:"i18n",label:"描述"}}}}}),$r(Zr,"defaultProps",{t:function(){},component_data:{theme:"dark",desc:"Horizon 高性能激光雷达专为 L3/L4 自动驾驶打造,具备宽广水平视场、260 米探测距离[1]、高点云密度及便于嵌入车体的小巧体积,价格仅为同等性能激光雷达 1/10ã€
1‚巨大的技术和成本优势将加速自动驾驶产业量产落地。",bg:"https://www1.djicdn.com/cms/uploads/10c05d8305d95a24615aa63b1bda53c6.jpg",featureList:[{itemTitle:"260 m",itemDesc:"探测距离<sup>2</sup>"},{itemTitle:"2 cm",itemDesc:"距离精度"},{itemTitle:"0.05",itemDesc:"探测距离"},{itemTitle:"0.05",itemDesc:"探测距离"},{itemTitle:"0.05&#8451;",itemDesc:"探测距离"},{itemTitle:"0.05",itemDesc:"探测距离"}]}});var Qr=Object(m.a)(Zr);n(480);function Jr(e){return(Jr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ea(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ta(e,t){return!t||"object"!==Jr(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function na(e){return(na=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ia(e,t){return(ia=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ra(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var aa=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=ta(this,na(t).call(this,e))).state={},n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ia(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.t,n=e.component_data,i={backgroundColor:n.backgroundColor};return o.a.createElement("section",{className:"index__section-with-precision___2Uf1n",style:i},o.a.createElement("div",{className:"index__text-box___19I4w"},n&&n.title?o.a.createElement("div",null,o.a.createElement("h2",{className:"title index__title___Lq9OW","data-aos":"fade-in","data-aos-delay":"200"},t(n.title)),o.a.createElement("p",{className:"index__horizon-line___o1e8F","data-aos":"fade-in","data-aos-delay":"200"})):null,o.a.createElement("div",{className:"desc index__desc___3rwtQ","data-aos":"fade-in",dangerouslySetInnerHTML:{__html:t(n.desc)}})),o.a.createElement("div",{className:"index__content-box___13ZFE"},n.dataList&&n.dataList.length?n.dataList.map(function(e){return o.a.createElement("div",{className:"index__item-box___16bQS","data-aos":"fade-in"},o.a.createElement("div",{className:"index__text-box___19I4w"},o.a.createElement("div",{className:"index__left-box___3bFFl"},o.a.createElement("div",null,t(e.title)),o.a.createElement("div",null,t(e.subTitle))),o.a.createElement("div",{className:"index__right-box___1Anu2"},o.a.createElement("img",{className:"index__item-icon___3CCtI",src:Object(f.a)(e.icon),alt:""}),o.a.createElement("div",{className:"index__sub-item___39upP"},o.a.createElement("div",{className:"index__name-syle___1UUpi"},t(e.name_text)),o.a.createElement("div",{className:"index__content-syle___2oeTq"},t(e.name_content))),o.a.createElement("div",{className:"index__sub-item___39upP"},o.a.createElement("div",{className:"index__name-syle___1UUpi"},t(e.size_text)),o.a.createElement("div",{className:"index__content-syle___2oeTq"},t(e.size_content))))),o.a.createElement("img",{className:"index__item-img___2az3F",src:Object(f.a)(e.img),alt:""}),o.a.createElement("div",{className:"index__item-desc___37Kan",dangerouslySetInnerHTML:{__html:t(e.desc)}}))}):null))}}])&&ea(n.prototype,i),r&&ea(n,r),t}();ra(aa,"editSetting",{key:"sectionsWithPrecision",name:"sectionsWithPrecision",component_data:{backgroundColor:{type:"string",label:"背景色"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述(支持富文本)"},dataList:{type:"array",label:"资源列表",items:{type:"object",icon:{type:"image",label:"目标头像"},img:{type:"image",label:"资源图片"},desc:{type:"i18n",label:"描述(支持富文本)"},title:{type:"i18n",label:"标题"},subTitle:{type:"i18n",label:"子标题"},name_text:{type:"i18n",label:"测试目标-text"},name_content:{type:"i18n",label:"测试目标-content"},size_text:{type:"i18n",label:"尺寸-text"},size_content:{type:"i18n",label:"尺寸-content"}}}}}),ra(aa,"defaultProps",{t:function(){},component_data:{backgroundColor:"#171717",title:"为自动驾驶开拓宽广视野",desc:"相比于 Mid-40 的圆形视场,Horizon 的视场接近于矩形,更适合自动驾驶车辆使用。全新的横向扫描方式,为 Horizon 带来 81.7° 的水平视场和 25.1° 的垂直视场,其中水平视场较 Mid-40 扩大了 1 倍, 仅需 5 个 Horizon 即可实现 360° 全视场覆盖。",dataList:[{icon:"v3.precision.icon",img:"v3.precision.img",desc:"v3.precision.desc",title:"v3.precision.title",subTitle:"v3.precision.subtitle",name_text:"v3.precision.nametext",name_content:"v3.precision.namecontent",size_text:"v3.precision.sizetext",size_content:"v3.precision.sizecontent"}]}});
1var oa=Object(m.a)(aa);n(481);function la(e){return(la="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var sa={"./index.css":{"textimg-container-light":"index__textimg-container-light___36oBx","prd-title":"index__prd-title___3y770","cell-line":"index__cell-line___J27SD","prd-desc":"index__prd-desc___1qKtV","time-text":"index__time-text___2pxTY","time-content":"index__time-content___5jYgo","time-unit":"index__time-unit___ToP1g","textimg-container-dark":"index__textimg-container-dark___2AwnF","textimg-container":"index__textimg-container___1KJYz","textimg-content":"index__textimg-content___dP91q","left-container":"index__left-container___2atNO","right-container":"index__right-container___3H64G","time-container":"index__time-container___16ED9","time-left":"index__time-left___15ZAN","replay-dbv-swti":"index__replay-dbv-swti___F-C8E","dbv-swti":"index__dbv-swti___2cKew","replay-box":"index__replay-box___1GW7G","replay-box-hidden":"index__replay-box-hidden___1ya4x","replay-btn":"index__replay-btn___1bdVC","replay-button":"index__replay-button___3KqmR","link-text":"index__link-text___2bkEk",icon:"index__icon___rV1QK"}};function ca(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ua(e,t){return!t||"object"!==la(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function da(e){return(da=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function pa(e,t){return(pa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function fa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ma=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ua(this,da(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pa(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=this.props.component_data;e&&!e.isReplay?new te.a({containerClassName:"dbv-swti",visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,replayWhenRevisible:!0,replayClassName:""}):new te.a({containerClassName:"replay-dbv-swti",visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,replayWhenRevisible:!0,replayClassName:"replay-button"})}},{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,a={backgroundColor:n.backgroundColor};return o.a.createElement("section",{style:a,className:"section-with-text-img "+r()("textimg-container ".concat(n&&"light"===n.theme?"textimg-container-light":"textimg-container-dark"),sa)},o.a.createElement("div",{className:"index__textimg-content___dP91q"},o.a.createElement("div",{className:"index__left-container___2atNO"},o.a.createElement("h2",{className:"index__prd-title___3y770",dangerouslySetInnerHTML:{__html:i(n.title)}}),o.a.createElement("div",{className:"index__cell-line___J27SD"}),o.a.createElement("div",{className:"index__prd-desc___1qKtV",dangerouslySetInnerHTML:{__html:i(n.desc)}}),n.time_use||n.time_total?o.a.createElement("div",{className:"index__time-container___16ED9"},o.a.createElement("div",{className:"index__time-left___15ZAN"},o.a.createElement("div",{className:"index__time-content___5jYgo"},o.a.createElement("span",null,n.time_use),o.a.createElement("span",{className:"index__time-unit___ToP1g",dangerouslySetInnerHTML:{__html:i(n.unit_time)}})),o.a.createElement("div",{className:"index__time-text___2pxTY",dangerouslySetInnerHTML:{__html:i(n.text_use)}})),o.a.createElement("div",null,o.a.createElement("div",{className:"index__time-content___5jYgo"},o.a.createElement("span",null,n.time_total),o.a.createElement("span",{className:"index__time-unit___ToP1g",dangerouslySetInnerHTML:{__html:i(n.unit_total)}})),o.a.createElement("div",{className:"index__time-text___2pxTY",dangerouslySetInnerHTML:{__html:i(n.text_total)}}))):null),o.a.createElement("div",{className:"index__right-container___3H64G"},n.videoLink?o.a.createElement("div",{className:n.isReplay?"replay-dbv-swti":"dbv-swti"},o.a.createElement("video",{muted:!0,loop:n.isLoop,name:"media",poster:Object(f.a)(n.videoPoster)},o.a.createElement("source",{"data-layzr-src":n.videoLink})),o.a.createElement("div",{className:!n.isReplay||n.isLoop?"replay-box replay-box-hidden":"replay-box"},o.a.createElement("div",{className:"replay-button"},o.a.createElement("div",{className:"replay-btn"},o.a.createElement("span",{className:"link-text",dangerouslySetInnerHTML:{__html:i("v2.product.video.replay_text")}}),o.a.createElement(S.Icon,{name:"fa-light-redo",className:"icon"}))))):null,n.img?o.a.createElement("img",{src:Object(f.a)(n.img),alt:""}):null)))}}])&&ca(n.prototype,i),a&&ca(n,a),t}();fa(ma,"defaultProps",{t:function(){},component_data:{backgroundColor:"#0F0F0F",title:"v3.textimg.title",desc:"描述",videoLink:"",videoPoster:"",isReplay:!0,isLoop:!1,img:"02eebf615acf018206cd8007d66cf2cc.png",unit_time:"v3.textimg.unit_time",unit_total:"v3.textimg.unit_total",time_use:"v3.textimg.time_use",time_total:"v3.textimg.time_total",text_use:"v3.textimg.text_use",text_total:"v3.textimg.text_total"}}),fa(ma,"editSetting",{key:"textPictureSection",name:"textPictureSection",component_data:{backgroundColor:{type:"string",label:"背景色(支持英文代码、十六进制、rgb字符)"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},videoLink:{type:"string",label:"视频链接"},videoPoster:{type:"image",label:"视频封面图"},isReplay:{type:"boolean",label:"是否需要重新播放功能"},isLoop:{type:"boolean",label:"是否需要循环播放"},img:{type:"image",label:"产品图"},unit_time:{type:"i18n",label:"使用时间单位"},unit_total:{type:"i18n",label:"总时间单位"},time_use:{type:"string",label:"使用寿命"},time_total:{type:"string",label:"总寿命"},text_use:{type:"i18n",label:"使用寿命"},text_total:{type:"i18n",label:"总寿命"},theme:{type:"select",label:"主题",items:[{label:"亮色",value:"light"},{label:"暗色",value:"dark"}]}}});var _a=Object(m.a)(ma),ha=n(31),ba=n.n(ha);n(482);function ya(e){return(ya="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var va={"./index.css":{"animation-bg":"index__animation-bg___2qj3D",title:"index__title___21IGw",desc:"index__desc___3GftM","section-with-video-replay-component":"index__section-with-video-replay-component___1z6zc","text-box":"index__text-box___1jY62","horizon-line":"index__horizon-line___1K1zs","video-box":"index__video-box___1IfWW","section-with-video-replay-component-light":"index__section-with-video-replay-component-light___72jLK","bg-transform":"index__bg-transform___1O-ii",dbv:"index__dbv___1PlXd","replay-dbv":"index__replay-dbv___3ErDP","replay-box":"index__replay-box___1nFUt","replay-btn":"index__replay-btn___2dlqK","replay-button":"index__replay-button___2S_KO","link-text":"index__link-text___2Mh1h",icon:"index__icon___x8VkP",hide:"index__hide___3Xh5e"}};function ga(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}
1function wa(e){return(wa=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function xa(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ea(e,t){return(Ea=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ka=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=wa(t).call(this,e))||"object"!==ya(r)&&"function"!=typeof r?xa(i):r).state={},n.bindScroll=n.bindScroll.bind(xa(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ea(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=this.props.component_data;e&&"false"===e.isReplay?new te.a({containerClassName:"dbv",visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,replayWhenRevisible:!1,replayClassName:""}):new te.a({containerClassName:"replay-dbv",visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,replayWhenRevisible:!1,replayClassName:"replay-button"}),window.addEventListener("scroll",this.bindScroll)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.bindScroll)}},{key:"bindScroll",value:function(){this.videoNode&&!isNaN(this.videoNode.duration)&&ba.a.refresh();var e=this.props.component_data,t=this.videoDom.offsetTop;Math.max(document.documentElement.scrollTop,document.body.scrollTop)>t-this.videoDom.clientHeight/2?e&&"true"===e.animation&&this.videoDom.classList.add("bg-transform"):this.videoDom.classList.remove("bg-transform")}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,a=s()({"section-with-video-replay-component":!0,"animation-bg":i&&"true"===i.animation,"section-with-video-replay-component-light":"light"===i.theme}),l=s()({hide:i&&"false"===i.isReplay&&"true"===i.isLoop}),c={backgroundColor:i.backgroundColor,paddingBottom:i&&i.showVideoDom&&"false"!==i.showVideoDom?"96px":"0px"};return o.a.createElement("section",{ref:function(t){e.videoDom=t},style:c,className:r()(a,va)},o.a.createElement("div",{className:"index__text-box___1jY62"},i&&i.title?o.a.createElement("div",null,o.a.createElement("h2",{className:"title index__title___21IGw","data-aos":"fade-in","data-aos-delay":"200",dangerouslySetInnerHTML:{__html:n(i.title)}}),o.a.createElement("p",{className:"index__horizon-line___1K1zs","data-aos":"fade-in","data-aos-delay":"200"})):null,o.a.createElement("div",{className:"desc index__desc___3GftM","data-aos":"fade-in",dangerouslySetInnerHTML:{__html:i?n(i.desc):""}})),i&&i.showVideoDom&&"false"!==i.showVideoDom?o.a.createElement("div",{className:"index__video-box___1IfWW"},o.a.createElement("div",{className:i&&"true"===i.isReplay?"replay-dbv":"dbv","data-aos":"fade-in"},i&&"true"===i.isLoop?o.a.createElement("video",{style:{backgroundSize:"cover",backgroundImage:i?"url(".concat(Object(f.a)(i.videoPoster),")"):"/"},ref:function(t){e.videoNode=t},muted:!0,name:"media",loop:!0},o.a.createElement("source",{"data-layzr-src":i?i.videoLink:"/"})):o.a.createElement("video",{style:{backgroundSize:"cover",backgroundImage:i?"url(".concat(Object(f.a)(i.videoPoster),")"):"/"},ref:function(t){e.videoNode=t},muted:!0,name:"media"},o.a.createElement("source",{"data-layzr-src":i?i.videoLink:"/"})),o.a.createElement("div",{className:"replay-box "+r()(l,va)},o.a.createElement("div",{className:"replay-button"},o.a.createElement("div",{className:"replay-btn"},o.a.createElement("span",{className:"link-text",dangerouslySetInnerHTML:{__html:n("v2.product.video.replay_text")}}),o.a.createElement(S.Icon,{name:"fa-light-redo",className:"icon"})))))):null)}}])&&ga(n.prototype,i),a&&ga(n,a),t}();Oa(ka,"defaultProps",{t:function(){},component_data:{backgroundColor:"#060606",theme:"dark",animation:!1,title:"为自动驾驶开拓宽广视野",desc:"相比于 Mid-40 的圆形视场,Horizon 的视场接近于矩形,更适合自动驾驶车辆使用。全新的横向扫描方式,为 Horizon 带来 81.7° 的水平视场和 25.1° 的垂直视场,其中水平视场较 Mid-40 扩大了 1 倍, 仅需 5 个 Horizon 即可实现 360° 全视场覆盖。",videoLink:"/",isReplay:"true",isLoop:"false"}}),Oa(ka,"editSetting",{key:"sectionWithVideoReplay",name:"sectionWithVideoReplay",component_data:{backgroundColor:{type:"string",label:"背景色(支出英文代码、十六进制、rgb字符)"},theme:{type:"select",label:"主题",items:[{label:"暗色",value:"dark"},{label:"亮色",value:"light"}]},showVideoDom:{label:"是否展示视频dom(true or false 不填是false)",type:"string"},animation:{type:"string",label:"是否开启背景动画效果(滑到该模块背景色由亮色变暗,true或者false)"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},videoLink:{type:"string",label:"视频链接"},videoPoster:{type:"image",label:"视频封面图"},isReplay:{type:"string",label:"是否需要重新播放功能(true or false 默认是true)"},isLoop:{type:"string",label:"是否需要循环播放(true or false 默认是false)"}}});var Sa=Object(m.a)(ka);n(483);function Pa(e){return(Pa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Ta={"./index.css":{"animation-bg":"index__animation-bg___37HO2",title:"index__title___2XFo-",desc:"index__desc___3mM9J","section-vi
1deo-replay-T15":"index__section-video-replay-T15___1rugx","text-box":"index__text-box___23AXw","horizon-line":"index__horizon-line___1m67O","video-box":"index__video-box___L0YmJ","img-warpper":"index__img-warpper___2SFV3",hide:"index__hide___3LrFO"}};function Na(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ja(e){return(ja=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ca(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function La(e,t){return(La=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ma(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ia=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=ja(t).call(this,e))||"object"!==Pa(r)&&"function"!=typeof r?Ca(i):r).state={},n.bindScroll=n.bindScroll.bind(Ca(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&La(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=this.props.component_data;e&&"false"===e.isReplay?new te.a({containerClassName:"dbv-T15",visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,replayWhenRevisible:!1,replayClassName:""}):new te.a({containerClassName:"replay-dbv-T15",visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,replayWhenRevisible:!1,replayClassName:"replay-button-T15"}),window.addEventListener("scroll",this.bindScroll)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.bindScroll)}},{key:"bindScroll",value:function(){this.videoNode&&!isNaN(this.videoNode.duration)&&ba.a.refresh();var e=this.props.component_data,t=this.videoDom.offsetTop;Math.max(document.documentElement.scrollTop,document.body.scrollTop)>t-this.videoDom.clientHeight/2?e&&"true"===e.animation&&this.videoDom.classList.add("bg-transform"):this.videoDom.classList.remove("bg-transform")}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,a=s()({"section-video-replay-T15":!0,"animation-bg":i&&"true"===i.animation}),l=s()({hide:i&&"false"===i.isReplay&&"true"===i.isLoop}),c={backgroundColor:i.backgroundColor};return o.a.createElement("section",{ref:function(t){e.videoDom=t},style:c,className:"section-video-replay-T15 "+r()(a,Ta)},o.a.createElement("div",{className:"index__text-box___23AXw"},i&&i.title?o.a.createElement("div",null,o.a.createElement("h2",{className:"title index__title___2XFo-","data-aos":"fade-in","data-aos-delay":"200",dangerouslySetInnerHTML:{__html:n(i.title)}}),o.a.createElement("p",{className:"index__horizon-line___1m67O","data-aos":"fade-in","data-aos-delay":"200"})):null,o.a.createElement("div",{className:"desc index__desc___3mM9J","data-aos":"fade-in",dangerouslySetInnerHTML:{__html:i?n(i.desc):""}})),o.a.createElement("div",{className:"index__video-box___L0YmJ"},o.a.createElement("div",{className:i&&"true"===i.isReplay?"replay-dbv-T15":"dbv-T15","data-aos":"fade-in"},i.videoLink?o.a.createElement("div",null,o.a.createElement("video",{ref:function(t){e.videoNode=t},muted:!0,name:"media",poster:i?Object(f.a)(i.videoPoster):"/",loop:"true"===i.isLoop},o.a.createElement("source",{"data-layzr-src":i?i.videoLink:"/"})),o.a.createElement("div",{className:"replay-box "+r()(l,Ta)},o.a.createElement("div",{className:"replay-button-T15"},o.a.createElement("div",{className:"replay-btn-T15"},o.a.createElement("span",{className:"link-text"},n("v2.product.video.replay_text")),o.a.createElement(S.Icon,{name:"fa-light-redo",className:"icon"}))))):null,i.imgLink?o.a.createElement("div",{className:"index__img-warpper___2SFV3"},o.a.createElement("img",{src:Object(f.a)(i.imgLink),alt:""}),o.a.createElement("p",{dangerouslySetInnerHTML:{__html:n(i.imgDesc)}})):null)))}}
1])&&Na(n.prototype,i),a&&Na(n,a),t}();Ma(Ia,"editSetting",{key:"sectionWithVideoReplayT15",name:"sectionWithVideoReplayT15",component_data:{backgroundColor:{type:"string",label:"背景色(支出英文代码、十六进制、rgb字符)"},animation:{type:"string",label:"是否开启背景动画效果(滑到该模块背景色由亮色变暗,true或者false)"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},videoLink:{type:"string",label:"视频链接"},videoPoster:{type:"image",label:"视频封面图"},imgLink:{type:"image",label:"图片"},imgDesc:{type:"i18n",label:"图片描述"},isReplay:{type:"string",label:"是否需要重新播放功能(true or false 默认是true)"},isLoop:{type:"string",label:"是否需要循环播放(true or false 默认是false)"}}}),Ma(Ia,"defaultProps",{t:function(){},component_data:{backgroundColor:"#060606",animation:!1,title:"为自动驾驶开拓宽广视野",desc:"相比于 Mid-40 的圆形视场,Horizon 的视场接近于矩形,更适合自动驾驶车辆使用。全新的横向扫描方式,为 Horizon 带来 81.7° 的水平视场和 25.1° 的垂直视场,其中水平视场较 Mid-40 扩大了 1 倍, 仅需 5 个 Horizon 即可实现 360° 全视场覆盖。",videoLink:"",videoPoster:"",imgLink:"",imgDesc:"video.replay.imgdesc",isReplay:"true",isLoop:"false"}});var Aa=Object(m.a)(Ia),Da=n(10),za=n.n(Da),Va=n(24),Ra=n.n(Va),Ba=n(30),Fa=n.n(Ba),Ha=n(26),Wa=n.n(Ha),qa=n(28),Ua=n.n(qa),Ga=n(32),Ya=n.n(Ga),Ka=n(13),Xa=n.n(Ka),$a=function(e){var t,n,i=e.className,r=e.included,a=e.vertical,l=e.offset,s=e.length,c=e.style,u=e.reverse,d=a?(t={},Xa()(t,u?"top":"bottom",l+"%"),Xa()(t,u?"bottom":"top","auto"),Xa()(t,"height",s+"%"),t):(n={},Xa()(n,u?"right":"left",l+"%"),Xa()(n,u?"left":"right","auto"),Xa()(n,"width",s+"%"),n),p=za()({},c,d);return r?o.a.createElement("div",{className:i,style:p}):null},Za=n(49),Qa=n.n(Za),Ja=n(195),eo=n.n(Ja),to=n(67),no=function(e){var t=e.prefixCls,n=e.vertical,i=e.reverse,r=e.marks,a=e.dots,l=e.step,c=e.included,u=e.lowerBound,d=e.upperBound,p=e.max,f=e.min,m=e.dotStyle,_=e.activeDotStyle,h=p-f,b=function(e,t,n,i,r,a){Ya()(!n||i>0,"`Slider[step]` should be a positive number in order to make Slider[dots] work.");var o=Object.keys(t).map(parseFloat).sort(function(e,t){return e-t});if(n&&i)for(var l=r;l<=a;l+=i)-1===o.indexOf(l)&&o.push(l);return o}(0,r,a,l,f,p).map(function(e){var r,a=Math.abs(e-f)/h*100+"%",l=!c&&e===d||c&&e<=d&&e>=u,p=n?za()({},m,Xa()({},i?"top":"bottom",a)):za()({},m,Xa()({},i?"right":"left",a));l&&(p=za()({},p,_));var b=s()((r={},Xa()(r,t+"-dot",!0),Xa()(r,t+"-dot-active",l),Xa()(r,t+"-dot-reverse",i),r));return o.a.createElement("span",{className:b,style:p,key:e})});return o.a.createElement("div",{className:t+"-step"},b)};no.propTypes={prefixCls:u.a.string,activeDotStyle:u.a.object,dotStyle:u.a.object,min:u.a.number,max:u.a.number,upperBound:u.a.number,lowerBound:u.a.number,included:u.a.bool,dots:u.a.bool,step:u.a.number,marks:u.a.object,vertical:u.a.bool,reverse:u.a.bool};var io=no,ro=function(e){var t=e.className,n=e.vertical,i=e.reverse,r=e.marks,a=e.included,l=e.upperBound,c=e.lowerBound,u=e.max,d=e.min,p=e.onClickLabel,f=Object.keys(r),m=u-d,_=f.map(parseFloat).sort(function(e,t){return e-t}).map(function(e){var u,f=r[e],_="object"==typeof f&&!o.a.isValidElement(f),h=_?f.label:f;if(!h&&0!==h)return null;var b=!a&&e===l||a&&e<=l&&e>=c,y=s()((u={},Xa()(u,t+"-text",!0),Xa()(u,t+"-text-active",b),u)),v=Xa()({marginBottom:"-50%"},i?"top":"bottom",(e-d)/m*100+"%"),g=Xa()({transform:"translateX(-50%)",msTransform:"translateX(-50%)"},i?"right":"left",i?(e-d/4)/m*100+"%":(e-d)/m*100+"%"),w=n?v:g,x=_?za()({},w,f.style):w;return o.a.createElement("span",{className:y,style:x,key:e,onMouseDown:function(t){return p(t,e)},onTouchStart:function(t){return p(t,e)}},h)});return o.a.createElement("div",{className:t},_)};ro.propTypes={className:u.a.string,vertical:u.a.bool,reverse:u.a.bool,marks:u.a.object,included:u.a.bool,upperBound:u.a.number,lowerBound:u.a.number,max:u.a.number,min:u.a.number,onClickLabel:u.a.func};var ao=ro,oo=function(e){function t(){var e,n,i,r;Ra()(this,t);for(var a=arguments.length,o=Array(a),l=0;l<a;l++)o[l]=arguments[l];return n=i=Wa()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.state={clickFocused:!1},i.setHandleRef=function(e){i.handle=e},i.handleMouseUp=function(){document.activeElement===i.handle&&i.setClickFocus(!0)},i.handleMouseDown=function(){i.focus()},i.handleBlur=function(){i.setClickFocus(!1)},i.handleKeyDown=function(){i.setClickFocus(!1)},r=n,Wa()(i,r)}
1return Ua()(t,e),Fa()(t,[{key:"componentDidMount",value:function(){this.onMouseUpListener=Object(to.a)(document,"mouseup",this.handleMouseUp)}},{key:"componentWillUnmount",value:function(){this.onMouseUpListener&&this.onMouseUpListener.remove()}},{key:"setClickFocus",value:function(e){this.setState({clickFocused:e})}},{key:"clickFocus",value:function(){this.setClickFocus(!0),this.focus()}},{key:"focus",value:function(){this.handle.focus()}},{key:"blur",value:function(){this.handle.blur()}},{key:"render",value:function(){var e,t,n=this.props,i=n.prefixCls,r=n.vertical,a=n.reverse,l=n.offset,c=n.style,u=n.disabled,d=n.min,p=n.max,f=n.value,m=n.tabIndex,_=Qa()(n,["prefixCls","vertical","reverse","offset","style","disabled","min","max","value","tabIndex"]),h=s()(this.props.className,Xa()({},i+"-handle-click-focused",this.state.clickFocused)),b=r?(e={},Xa()(e,a?"top":"bottom",l+"%"),Xa()(e,a?"bottom":"top","auto"),Xa()(e,"transform","translateY(+50%)"),e):(t={},Xa()(t,a?"right":"left",l+"%"),Xa()(t,a?"left":"right","auto"),Xa()(t,"transform","translateX("+(a?"+":"-")+"50%)"),t),y=za()({},c,b),v=m||0;return(u||null===m)&&(v=null),o.a.createElement("div",za()({ref:this.setHandleRef,tabIndex:v},_,{className:h,style:y,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,role:"slider","aria-valuemin":d,"aria-valuemax":p,"aria-valuenow":f,"aria-disabled":!!u}))}}]),t}(o.a.Component),lo=oo;oo.propTypes={prefixCls:u.a.string,className:u.a.string,vertical:u.a.bool,offset:u.a.number,style:u.a.object,disabled:u.a.bool,min:u.a.number,max:u.a.number,value:u.a.number,tabIndex:u.a.number,reverse:u.a.bool};var so=n(48),co=n.n(so),uo=n(29),po={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=po.F1&&t<=po.F12)return!1;switch(t){case po.ALT:case po.CAPS_LOCK:case po.CONTEXT_MENU:case po.CTRL:case po.DOWN:case po.END:case po.ESC:case po.HOME:case po.INSERT:case po.LEFT:case po.MAC_FF_META:case po.META:case po.NUMLOCK:case po.NUM_CENTER:case po.PAGE_DOWN:case po.PAGE_UP:case po.PAUSE:case po.PRINT_SCREEN:case po.RIGHT:case po.SHIFT:case po.UP:case po.WIN_KEY:case po.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=po.ZERO&&e<=po.NINE)return!0;if(e>=po.NUM_ZERO&&e<=po.NUM_MULTIPLY)return!0;if(e>=po.A&&e<=po.Z)return!0;if(-1!==window.navigation.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case po.SPACE:case po.QUESTION_MARK:case po.NUM_PLUS:case po.NUM_MINUS:case po.NUM_PERIOD:case po.NUM_DIVISION:case po.SEMICOLON:case po.DASH:case po.EQUALS:case po.COMMA:case po.PERIOD:case po.SLASH:case po.APOSTROPHE:case po.SINGLE_QUOTE:case po.OPEN_SQUARE_BRACKET:case po.BACKSLASH:case po.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},fo=po;function mo(e,t){try{return Object.keys(t).some(function(n){return e.target===Object(uo.findDOMNode)(t[n])})}catch(e){return!1}}function _o(e,t){var n=t.min,i=t.max;return e<n||e>i}function ho(e){return e.touches.length>1||"touchend"===e.type.toLowerCase()&&e.touches.length>0}function bo(e,t){var n=t.marks,i=t.step,r=t.min,a=t.max,o=Object.keys(n).map(parseFloat);if(null!==i){var l=Math.floor((a-r)/i),s=Math.min((e-r)/i,l),c=Math.round(s)*i+r;o.push(c)}var u=o.map(function(t){return Math.abs(e-t)});return o[u.indexOf(Math.min.apply(Math,co()(u)))]}function yo(e,t){return e?t.clientY:t.pageX}function vo(e,t){return e?t.touches[0].clientY:t.touches[0].pageX}function go(e,t){var n=t.getBoundingClientRect();return e?n.top+.5*n.height:window.pageXOffset+n.left+.5*n.width}function wo(e,t){var n=t.max,i=t.min;return e<=i?i:e>=n?n:e}function xo(e,t){var n=t.step,i=isFinite(bo(e,t))?bo(e,t):0;return null===n?i:parseFloat(i.toFixed(function(e){var t=e.toString(),n=0;return t.indexOf(".")>=0&&(n=t.length-t.indexOf(".")-1),n}(n)))}function Eo(e){e.stopPropagation(),e.preventDefault()}function Oo(e,t,n){var i="increase";switch(e.keyCode){case fo.UP:i=t&&n?"decrease":"increase";break;case fo.RIGHT:i=!t&&n?"decrease":"increase";break;case fo.DOWN:i=t&&n?"increase":"decrease";break;case fo.LEFT:i=!t&&n?"increase":"decrease";break;case fo.END:return function(e,t){return t.max};case fo.HOME:return function(e,t){return t.min};case fo.PAGE_UP:return function(e,t){return e+2*t.step};case fo.PAGE_DOWN:return function(e,t){return e-2*t.step};default:return}return function(e,t){return function(e,t,n){var i={increase:function(e,t){return e+t},decrease:function(e,t){return e-t}},r=i[e](Object.keys(n.marks).indexOf(JSON.stringify(t)),1),a=Object.keys(n.marks)[r];return n.step?i[e](t,n.step):Object.keys(n.marks).length&&n.marks[a]?n.marks[a]:t}(i,e,t)}}function ko(){}function So(e){var t,n;return n=t=function(e){function t(e){Ra()(this,t);var n=Wa()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.onMouseDown=function(e){if(0===e.button){var t=n.props.vertical,i=yo(t,e);if(mo(e,n.handlesRefs)){var r=go(t,e.target);n.dragOffset=i-r,i=r}else n.dragOffset=0;n.removeDocumentEvents(),n.onStart(i),n.addDocumentMouseEvents()}},n.onTouchStart=function(e){if(!ho(e)){var t=n.props.vertical,i=vo(t,e);if(mo(e,n.handlesRefs)){var r=go(t,e.target);n.dragOffset=i-r,i=r}else n.dragOffset=0;n.onStart(i),n.addDocumentTouchEvents(),Eo(e)}},n.onFocus=function(e){var t=n.props,i=t.onFocus,r=t.vertical;if(mo(e,n.handlesRefs)){var a=go(r,e.target);n.dragOffset=0,n.onStart(a),Eo(e),i&&i(e)}},n.onBlur=function(e){var t=n.props.onBlur;n.onEnd(),t&&t(e)},n.onMouseUp=function(){n.handlesRefs[n.prevMovedHandleIndex]&&n.handlesRefs[n.prevMovedHandleIndex].click
1Focus()},n.onMouseMove=function(e){if(n.sliderRef){var t=yo(n.props.vertical,e);n.onMove(e,t-n.dragOffset)}else n.onEnd()},n.onTouchMove=function(e){if(!ho(e)&&n.sliderRef){var t=vo(n.props.vertical,e);n.onMove(e,t-n.dragOffset)}else n.onEnd()},n.onKeyDown=function(e){n.sliderRef&&mo(e,n.handlesRefs)&&n.onKeyboard(e)},n.onClickMarkLabel=function(e,t){e.stopPropagation(),n.onChange({value:t}),n.setState({value:t},function(){return n.onEnd(!0)})},n.saveSlider=function(e){n.sliderRef=e};var i=e.step,r=e.max,a=e.min,o=!isFinite(r-a)||(r-a)%i==0;return Ya()(!i||Math.floor(i)!==i||o,"Slider[max] - Slider[min] (%s) should be a multiple of Slider[step] (%s)",r-a,i),n.handlesRefs={},n}return Ua()(t,e),Fa()(t,[{key:"componentDidMount",value:function(){this.document=this.sliderRef&&this.sliderRef.ownerDocument;var e=this.props,t=e.autoFocus,n=e.disabled;t&&!n&&this.focus()}},{key:"componentWillUnmount",value:function(){eo()(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"componentWillUnmount",this)&&eo()(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"componentWillUnmount",this).call(this),this.removeDocumentEvents()}},{key:"getSliderStart",value:function(){var e=this.sliderRef,t=this.props,n=t.vertical,i=t.reverse,r=e.getBoundingClientRect();return n?i?r.bottom:r.top:window.pageXOffset+(i?r.right:r.left)}},{key:"getSliderLength",value:function(){var e=this.sliderRef;if(!e)return 0;var t=e.getBoundingClientRect();return this.props.vertical?t.height:t.width}},{key:"addDocumentTouchEvents",value:function(){this.onTouchMoveListener=Object(to.a)(this.document,"touchmove",this.onTouchMove),this.onTouchUpListener=Object(to.a)(this.document,"touchend",this.onEnd)}},{key:"addDocumentMouseEvents",value:function(){this.onMouseMoveListener=Object(to.a)(this.document,"mousemove",this.onMouseMove),this.onMouseUpListener=Object(to.a)(this.document,"mouseup",this.onEnd)}},{key:"removeDocumentEvents",value:function(){this.onTouchMoveListener&&this.onTouchMoveListener.remove(),this.onTouchUpListener&&this.onTouchUpListener.remove(),this.onMouseMoveListener&&this.onMouseMoveListener.remove(),this.onMouseUpListener&&this.onMouseUpListener.remove()}},{key:"focus",value:function(){this.props.disabled||this.handlesRefs[0].focus()}},{key:"blur",value:function(){var e=this;this.props.disabled||Object.keys(this.handlesRefs).forEach(function(t){e.handlesRefs[t]&&e.handlesRefs[t].blur&&e.handlesRefs[t].blur()})}},{key:"calcValue",value:function(e){var t=this.props,n=t.vertical,i=t.min,r=t.max,a=Math.abs(Math.max(e,0)/this.getSliderLength());return n?(1-a)*(r-i)+i:a*(r-i)+i}},{key:"calcValueByPos",value:function(e){var t=(this.props.reverse?-1:1)*(e-this.getSliderStart());return this.trimAlignValue(this.calcValue(t))}},{key:"calcOffset",value:function(e){var t=this.props,n=t.min;return 100*((e-n)/(t.max-n))}},{key:"saveHandle",value:function(e,t){this.handlesRefs[e]=t}},{key:"render",value:function(){var e,n=this.props,i=n.prefixCls,r=n.className,a=n.marks,l=n.dots,c=n.step,u=n.included,d=n.disabled,p=n.vertical,f=n.reverse,m=n.min,_=n.max,h=n.children,b=n.maximumTrackStyle,y=n.style,v=n.railStyle,g=n.dotStyle,w=n.activeDotStyle,x=eo()(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"render",this).call(this),E=x.tracks,O=x.handles,k=s()(i,(e={},Xa()(e,i+"-with-marks",Object.keys(a).length),Xa()(e,i+"-disabled",d),Xa()(e,i+"-vertical",p),Xa()(e,r,r),e));return o.a.createElement("div",{ref:this.saveSlider,className:k,onTouchStart:d?ko:this.onTouchStart,onMouseDown:d?ko:this.onMouseDown,onMouseUp:d?ko:this.onMouseUp,onKeyDown:d?ko:this.onKeyDown,onFocus:d?ko:this.onFocus,onBlur:d?ko:this.onBlur,style:y},o.a.createElement("div",{className:i+"-rail",style:za()({},b,v)}),E,o.a.createElement(io,{prefixCls:i,vertical:p,reverse:f,marks:a,dots:l,step:c,included:u,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:_,min:m,dotStyle:g,activeDotStyle:w}),O,o.a.createElement(ao,{className:i+"-mark",onClickLabel:d?ko:this.onClickMarkLabel,vertical:p,marks:a,included:u,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:_,min:m,reverse:f}),h)}}]),t}
1(e),t.displayName="ComponentEnhancer("+e.displayName+")",t.propTypes=za()({},e.propTypes,{min:u.a.number,max:u.a.number,step:u.a.number,marks:u.a.object,included:u.a.bool,className:u.a.string,prefixCls:u.a.string,disabled:u.a.bool,children:u.a.any,onBeforeChange:u.a.func,onChange:u.a.func,onAfterChange:u.a.func,handle:u.a.func,dots:u.a.bool,vertical:u.a.bool,style:u.a.object,reverse:u.a.bool,minimumTrackStyle:u.a.object,maximumTrackStyle:u.a.object,handleStyle:u.a.oneOfType([u.a.object,u.a.arrayOf(u.a.object)]),trackStyle:u.a.oneOfType([u.a.object,u.a.arrayOf(u.a.object)]),railStyle:u.a.object,dotStyle:u.a.object,activeDotStyle:u.a.object,autoFocus:u.a.bool,onFocus:u.a.func,onBlur:u.a.func}),t.defaultProps=za()({},e.defaultProps,{prefixCls:"rc-slider",className:"",min:0,max:100,step:1,marks:{},handle:function(e){var t=e.index,n=Qa()(e,["index"]);return delete n.dragging,null===n.value?null:o.a.createElement(lo,za()({},n,{key:t}))},onBeforeChange:ko,onChange:ko,onAfterChange:ko,included:!0,disabled:!1,dots:!1,vertical:!1,reverse:!1,trackStyle:[{}],handleStyle:[{}],railStyle:{},dotStyle:{},activeDotStyle:{}}),n}var Po=function(e){function t(e){Ra()(this,t);var n=Wa()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.onEnd=function(e){var t=n.state.dragging;n.removeDocumentEvents(),(t||e)&&n.props.onAfterChange(n.getValue()),n.setState({dragging:!1})};var i=void 0!==e.defaultValue?e.defaultValue:e.min,r=void 0!==e.value?e.value:i;return n.state={value:n.trimAlignValue(r),dragging:!1},Ya()(!("minimumTrackStyle"in e),"minimumTrackStyle will be deprecated, please use trackStyle instead."),Ya()(!("maximumTrackStyle"in e),"maximumTrackStyle will be deprecated, please use railStyle instead."),n}return Ua()(t,e),Fa()(t,[{key:"componentDidUpdate",value:function(e,t){if("value"in this.props||"min"in this.props||"max"in this.props){var n=this.props,i=n.value,r=n.onChange,a=void 0!==i?i:t.value,o=this.trimAlignValue(a,this.props);o!==t.value&&(this.setState({value:o}),_o(a,this.props)&&r(o))}}},{key:"onChange",value:function(e){var t=this.props,n=!("value"in t),i=e.value>this.props.max?za()({},e,{value:this.props.max}):e;n&&this.setState(i);var r=i.value;t.onChange(r)}},{key:"onStart",value:function(e){this.setState({dragging:!0});var t=this.props,n=this.getValue();t.onBeforeChange(n);var i=this.calcValueByPos(e);this.startValue=i,this.startPosition=e,i!==n&&(this.prevMovedHandleIndex=0,this.onChange({value:i}))}},{key:"onMove",value:function(e,t){Eo(e);var n=this.state.value,i=this.calcValueByPos(t);i!==n&&this.onChange({value:i})}},{key:"onKeyboard",value:function(e){var t=this.props,n=t.reverse,i=Oo(e,t.vertical,n);if(i){Eo(e);var r=this.state.value,a=i(r,this.props),o=this.trimAlignValue(a);if(o===r)return;this.onChange({value:o}),this.props.onAfterChange(o),this.onEnd()}}},{key:"getValue",value:function(){return this.state.value}},{key:"getLowerBound",value:function(){return this.props.min}},{key:"getUpperBound",value:function(){return this.state.value}},{key:"trimAlignValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null===e)return null;var n=za()({},this.props,t);return xo(wo(e,n),n)}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,i=t.vertical,r=t.included,a=t.disabled,l=t.minimumTrackStyle,s=t.trackStyle,c=t.handleStyle,u=t.tabIndex,d=t.min,p=t.max,f=t.reverse,m=t.handle,_=this.state,h=_.value,b=_.dragging,y=this.calcOffset(h),v=m({className:n+"-handle",prefixCls:n,vertical:i,offset:y,value:h,dragging:b,disabled:a,min:d,max:p,reverse:f,index:0,tabIndex:u,style:c[0]||c,ref:function(t){return e.saveHandle(0,t)}}),g=s[0]||s;return{tracks:o.a.createElement($a,{className:n+"-track",vertical:i,included:r,offset:0,reverse:f,length:y,style:za()({},l,g)}),handles:v}}}]),t}(o.a.Component);Po.propTypes={defaultValue:u.a.number,value:u.a.number,disabled:u.a.bool,autoFocus:u.a.bool,tabIndex:u.a.number,reverse:u.a.bool,min:u.a.number,max:u.a.number};var To=So(Po),No=n(80),jo=n(289),Co=n.n(jo),Lo=function(e){var t=e.value,n=e.handle,i=e.bounds,r=e.props,a=r.allowCross,o=r.pushable,l=Number(o),s=wo(t,r),c=s;return a||null==n||void 0===i||(n>0&&s<=i[n-1]+l&&(c=i[n-1]+l),n<i.length-1&&s>=i[n+1]-l&&(c=i[n+1]-l)),xo(c,r)},Mo=function(e){function t(e){Ra()(this,t);var n=Wa()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.onEnd=function(e){var t=n.state.handle;n.removeDocumentEvents(),(null!==t||e)&&n.props.onAfterChange(n.getValue()),n.setState({handle:null})};var i=e.count,r=e.min,a=e.max,o=Array.apply(void 0,co()(Array(i+1))).map(function(){return r}),l="defaultValue"in e?e.defaultValue:o,s=(void 0!==e.value?e.value:l).map(function(t,n){return Lo({value:t,handle:n,props:e})}),c=s[0]===a?0:s.length-1;return n.state={handle:null,recent:c,bounds:s},n}
1return Ua()(t,e),Fa()(t,[{key:"componentDidUpdate",value:function(e,t){var n=this;if(("value"in this.props||"min"in this.props||"max"in this.props)&&(this.props.min!==e.min||this.props.max!==e.max||!Co()(this.props.value,e.value))){var i=this.props,r=i.onChange,a=i.value||t.bounds;if(a.some(function(e){return _o(e,n.props)}))r(a.map(function(e){return wo(e,n.props)}))}}},{key:"onChange",value:function(e){var t=this.props;if(!("value"in t))this.setState(e);else{var n={};["handle","recent"].forEach(function(t){void 0!==e[t]&&(n[t]=e[t])}),Object.keys(n).length&&this.setState(n)}var i=za()({},this.state,e).bounds;t.onChange(i)}},{key:"onStart",value:function(e){var t=this.props,n=this.state,i=this.getValue();t.onBeforeChange(i);var r=this.calcValueByPos(e);this.startValue=r,this.startPosition=e;var a=this.getClosestBound(r);if(this.prevMovedHandleIndex=this.getBoundNeedMoving(r,a),this.setState({handle:this.prevMovedHandleIndex,recent:this.prevMovedHandleIndex}),r!==i[this.prevMovedHandleIndex]){var o=[].concat(co()(n.bounds));o[this.prevMovedHandleIndex]=r,this.onChange({bounds:o})}}},{key:"onMove",value:function(e,t){Eo(e);var n=this.state,i=this.calcValueByPos(t);i!==n.bounds[n.handle]&&this.moveTo(i)}},{key:"onKeyboard",value:function(e){var t=this.props,n=t.reverse,i=Oo(e,t.vertical,n);if(i){Eo(e);var r=this.state,a=this.props,o=r.bounds,l=r.handle,s=o[null===l?r.recent:l],c=i(s,a),u=Lo({value:c,handle:l,bounds:r.bounds,props:a});if(u===s)return;this.moveTo(u,!0)}}},{key:"getValue",value:function(){return this.state.bounds}},{key:"getClosestBound",value:function(e){for(var t=this.state.bounds,n=0,i=1;i<t.length-1;++i)e>=t[i]&&(n=i);return Math.abs(t[n+1]-e)<Math.abs(t[n]-e)&&(n+=1),n}},{key:"getBoundNeedMoving",value:function(e,t){var n=this.state,i=n.bounds,r=n.recent,a=t,o=i[t+1]===i[t];return o&&i[r]===i[t]&&(a=r),o&&e!==i[t+1]&&(a=e<i[t+1]?t:t+1),a}},{key:"getLowerBound",value:function(){return this.state.bounds[0]}},{key:"getUpperBound",value:function(){var e=this.state.bounds;return e[e.length-1]}},{key:"getPoints",value:function(){var e=this.props,t=e.marks,n=e.step,i=e.min,r=e.max,a=this._getPointsCache;if(!a||a.marks!==t||a.step!==n){var o=za()({},t);if(null!==n)for(var l=i;l<=r;l+=n)o[l]=l;var s=Object.keys(o).map(parseFloat);s.sort(function(e,t){return e-t}),this._getPointsCache={marks:t,step:n,points:s}}return this._getPointsCache.points}},{key:"moveTo",value:function(e,t){var n=this,i=this.state,r=this.props,a=[].concat(co()(i.bounds)),o=null===i.handle?i.recent:i.handle;a[o]=e;var l=o;!1!==r.pushable?this.pushSurroundingHandles(a,l):r.allowCross&&(a.sort(function(e,t){return e-t}),l=a.indexOf(e)),this.onChange({recent:l,handle:l,bounds:a}),t&&(this.props.onAfterChange(a),this.setState({},function(){n.handlesRefs[l].focus()}),this.onEnd())}},{key:"pushSurroundingHandles",value:function(e,t){var n=e[t],i=this.props.pushable;i=Number(i);var r=0;if(e[t+1]-n<i&&(r=1),n-e[t-1]<i&&(r=-1),0!==r){var a=t+r,o=r*(e[a]-n);this.pushHandle(e,a,r,i-o)||(e[t]=e[a]-r*i)}}},{key:"pushHandle",value:function(e,t,n,i){for(var r=e[t],a=e[t];n*(a-r)<i;){if(!this.pushHandleOnePoint(e,t,n))return e[t]=r,!1;a=e[t]}return!0}},{key:"pushHandleOnePoint",value:function(e,t,n){var i=this.getPoints(),r=i.indexOf(e[t])+n;if(r>=i.length||r<0)return!1;var a=t+n,o=i[r],l=this.props.pushable,s=n*(e[a]-o);return!!this.pushHandle(e,a,n,l-s)&&(e[t]=o,!0)}},{key:"trimAlignValue",value:function(e){var t=this.state,n=t.handle,i=t.bounds;return Lo({value:e,handle:n,bounds:i,props:this.props})}},{key:"render",value:function(){var e=this,t=this.state,n=t.handle,i=t.bounds,r=this.props,a=r.prefixCls,l=r.vertical,c=r.included,u=r.disabled,d=r.min,p=r.max,f=r.reverse,m=r.handle,_=r.trackStyle,h=r.handleStyle,b=r.tabIndex,y=i.map(function(t){return e.calcOffset(t)}),v=a+"-handle",g=i.map(function(t,i){var r,o=b[i]||0;return(u||null===b[i])&&(o=null),m({className:s()((r={},Xa()(r,v,!0),Xa()(r,v+"-"+(i+1),!0),r)),prefixCls:a,vertical:l,offset:y[i],value:t,dragging:n===i,index:i,tabIndex:o,min:d,max:p,reverse:f,disabled:u,style:h[i],ref:function(t){return e.saveHandle(i,t)}})});return{tracks:i.slice(0,-1).map(function(e,t){var n,i=t+1,r=s()((n={},Xa()(n,a+"-track",!0),Xa()(n,a+"-track-"+i,!0),n));return o.a.createElement($a,{className:r,vertical:l,reverse:f,included:c,offset:y[i-1],length:y[i]-y[i-1],style:_[t],key:i})}),handles:g}}}],[{key:"getDerivedStateFromProps",value:function(e,t){if("value"in e||"min"in e||"max"in e){var n=(e.value||t.bounds).map(function(n,i){return Lo({value:n,handle:i,bounds:t.bounds,props:e})});return n.length===t.bounds.length&&n.every(function(e,n){return e===t.bounds[n]})?null:za()({},t,{bounds:n})}return null}}]),t}(o.a.Component);Mo.displayName="Range",Mo.propTypes={autoFocus:u.a.bool,defaultValue:u.a.arrayOf(u.a.number),value:u.a.arrayOf(u.a.number),count:u.a.number,pushable:u.a.oneOfType([u.a.bool,u.a.number]),allowCross:u.a.bool,disabled:u.a.bool,reverse:u.a.bool,tabIndex:u.a.arrayOf(u.a.number),min:u.a.number,max:u.a.number},Mo.defaultProps={count:1,allowCross:!0,pushable:!1,tabIndex:[]},Object(No.polyfill)(Mo);var Io=So(Mo),Ao=n(186);To.Range=Io,To.Handle=lo,To.createSliderWithTooltip=function(e){var t,n;return n=t=function(t){function n(){var e,t,i,r;Ra()(this,n);for(var a=arguments.length,l=Array(a),s=0;s<a;s++)l[s]=arguments[s];return t=i=Wa()(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(l))),i.state={visibles:{}},i.handleTooltipVisibleChange=function(e,t){i.setState(function(n){return{visibles:za()({},n.visibles,Xa()({},e,t))}})},i.handleWithTooltip=function(e){var t=e.value,n=e.dragging,r=e.index,a=e.disabled,l=Qa()(e,["value","dragging","index","disabled"]),s=i.props,c=s.tipFormatter,u=s.tipProps,d=s.handleStyle,p=u.prefixCls,f=void 0===p?"rc-slider-tooltip":p,m=u.overlay,_=void 0===m?c(t):m,h=u.placement,b=void 0===h?"top":h,y=u.visible,v=void 0!==y&&y,g=Qa()(u,["prefixCls","overlay","placement","visible"]),w=void 0;return w=Array.isArray(d)?d[r]||d[0]:d,o.a.createElement(Ao.default,za()({},g,{prefixCls:f,overlay:_,placement:b,visible:!a&&(i.state.visibles[r]||n)||v,key:r}),o.a.createElement(lo,za()({},l,{style:za()({},w),value:t,onMouseEnter:function(){return i.handleTooltipVisibleChange(r,!0)},onMouseLeave:function(){return i.handleTooltipVisibleChange(r,!1)}})))},r=t,Wa()(i,r)}return Ua()(n,t),Fa()(n,[{key:"render",value:function(){return o.a.createElement(e,za()({},this.props,{handle:this.handleWithTooltip}))}}]),n}
1(o.a.Component),t.propTypes={tipFormatter:u.a.func,handleStyle:u.a.oneOfType([u.a.object,u.a.arrayOf(u.a.object)]),tipProps:u.a.object},t.defaultProps={tipFormatter:function(e){return e},handleStyle:[{}],tipProps:{}},n};var Do=To;n(484),n(485);function zo(e){return(zo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Vo(){return(Vo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function Ro(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Bo(e){return(Bo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Fo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ho(e,t){return(Ho=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Wo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qo=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,r=Bo(t).call(this,e),n=!r||"object"!==zo(r)&&"function"!=typeof r?Fo(i):r,Wo(Fo(n),"onSliderChange",function(e){n.setState({value:e})}),Wo(Fo(n),"onAfterChange",function(e){(0,n.props.onAfterChange)(e)}),Wo(Fo(n),"reset",function(){n.setState({value:null})}),n.state={value:50},n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ho(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.state.value,t=this.props,n=t.trackSty,i=t.railSty,r=t.handleSty,a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){Wo(e,t,n[t])})}return e}({},this.props,{railStyle:i,trackStyle:n,handleStyle:r});return o.a.createElement("div",null,o.a.createElement(Do,Vo({value:e,onChange:this.onSliderChange,onAfterChange:this.onAfterChange},a)))}}])&&Ro(n.prototype,i),r&&Ro(n,r),t}();Wo(qo,"defaultProps",{handleSty:{backgroundImage:"url(https://s3.amazonaws.com/vg-ec-www-dbeta/dps/3349560d6a567469cc46e27e6c89f17f.svg)",backgroundSize:"cover",backgroundRepeat:"no-repeat",width:40,height:40,border:"4px solid rgba(255,255,255,0.20)",top:"50%",transform:"translateY(-50%)",boxShadow:"rgba(255,255,255,0.60) 0 0 10px"},railSty:{backgroundImage:"url(https://s3.amazonaws.com/vg-ec-www-dbeta/dps/d5b9138a433ea55284bd3c577ad89d22.jpg)",backgroundSize:"cover",backgroundRepeat:"no-repeat",height:480,backgroundColor:"transparent"},trackSty:{backgroundImage:"url(https://s3.amazonaws.com/vg-ec-www-dbeta/dps/194cd0388f962d53050f001d6fd22873.jpg)",backgroundSize:"cover",backgroundRepeat:"no-repeat",height:480,backgroundColor:"transparent"}});var Uo=qo;n(263);function Go(e){return(Go="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Yo={"./index.css":{"tab-slider-component":"index__tab-slider-component___-m0vj",container:"index__container___O-1BC","text-box":"index__text-box___2buLH",title:"index__title___1MUbd",desc:"index__desc___16HeZ","horizontal-line":"index__horizontal-line___3IlIi","tab-slider-box":"index__tab-slider-box___16UKB","slider-box":"index__slider-box___3AuiW","slider-item":"index__slider-item___1BMw5","slider-active":"index__slider-active___1AIgb","tab-box":"index__tab-box___3UPt3","tab-container":"index__tab-container___50VCx","tab-item":"index__tab-item___3XG3n",active:"index__active___3z5e8","slider-bar":"index__slider-bar___12pxQ","rc-slider-handle":"index__rc-slider-handle___1QUx9","rc-slider-track":"index__rc-slider-track___jLLCz","rc-slider-rail":"index__rc-slider-rail___2kyz_"}};function Ko(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Xo(e,t){return!t||"object"!==Go(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function $o(e){return($o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Zo(e,t){return(Zo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Qo=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Xo(this,$o(t).call(this,e))).state={currentIndex:0},n.tabDom=[],n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zo(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){this.updateIndex(0)}},{key:"updateIndex",value:function(e){var t=this.props.onSliderChange;this.setState({currentIndex:e}),this.tabDom[e]&&(this.sliderBar.style.width="".concat(this.tabDom[e].clientWidth,"px"),this.sliderBar.style.transform="translate3d(".concat(this.tabDom[e].offsetLeft,"px,0,0)"),t(e))}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,a=this.state.currentIndex,l=i&&Array.isArray(i.tabList)?i.tabList.map(function(t,i){return o.a.createElement("div",{key:p()(),onClick:e.updateIndex.bind(e,i),ref:function(t){e.tabDom[i]=t},className:r()(["tab-item",i===a?"active":""].join(" "),Yo)},n(t.tabTitle))}):null;return o.a.createElement("div",{className:"index__tab-container___50VCx"},o.a.createElement("div",{className:"index__slider-bar___12pxQ",ref:function(t){e.sliderBar=t}}),l)}}])&&Ko(n.prototype,i),a&&Ko(n,a),t}(),Jo=Object(m.a)(Qo);function el(e){return(el="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tl(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function nl(e,t){return!t||"object"!==el(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function il(e){return(il=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function rl(e,t){return(rl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var al=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=nl(this,il(t).call(this,e))).state={},n.slider=[],n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rl(e,t)}(t,o.a.Component),n=t,(i=[{key:"onSliderChange",value:function(e){var t=this;this.slider.map(function(e,n){t.slider[n].classList.remove("slider-active")}),this.slider[e].classList.add("slider-active")}},{key:"onAfterChange",value:function(e){for(var t=document.getElementsByClassName("rc-slider-track"),n=document.getElementsByClassName("rc-slider-handle"),i=0;i<t.length;i++)t[i].style.width="".concat(e,"%"),n[i].style.left="".concat(e,"%")}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,r={backgroundImage:"url(https://s3.amazonaws.com/vg-ec-www-dbeta/dps/3349560d6a567469cc46e27e6c89f17f.svg)",backgroundSize:"cover",backgroundRepeat:"no-repeat",width:40,height:40,border:"4px solid rgba(255,255,255,0.20)",top:"50%",transform:"translateY(-50%)",boxShadow:"rgba(255,255,255,0.20) 0 0 0 5px"},a=i&&Array.isArray(i.tabList)?i.tabList.map(function(t,n){return o.a.createElement("div",{key:p()(),className:"index__slider-item___1BMw5",ref:function(t){e.slider[n]=t}},o.a.createElement(Uo,{handleSty:r,railSty:{backgroundImage:"url(".concat(Object(f.a)(t.originImg),")"),backgroundSize:"cover",backgroundRepeat:"no-repeat",height:480,backgroundColor:"transparent"},trackSty:{backgroundImage:"url(".concat(Object(f.a)(t.newImg),")"),backgroundSize:"cover",backgroundRepeat:"no-repeat",height:480,backgroundColor:"transparent"},onAfterChange:e.onAfterChange.bind(e)}))}):null;return o.a.createElement("div",null,o.a.createElement("div",{className:"index__slider-box___3AuiW"},a),o.a.createElement("div",{className:"index__tab-box___3UPt3"},o.a.createElement(Jo,{component_data:i,t:n,onSliderChange:this.onSliderChange.bind(this)})))}}
1])&&tl(n.prototype,i),r&&tl(n,r),t}(),ol=Object(m.a)(al);function ll(e){return(ll="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function sl(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function cl(e,t){return!t||"object"!==ll(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ul(e){return(ul=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function dl(e,t){return(dl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fl=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=cl(this,ul(t).call(this,e))).state={},n.slider=[],n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dl(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,r=this.state.sliderNum;return o.a.createElement("section",{className:"index__tab-slider-component___-m0vj",ref:function(t){e.containerDom=t}},o.a.createElement("div",{className:"index__container___O-1BC"},o.a.createElement("div",{className:"index__text-box___2buLH"},i&&i.title?o.a.createElement("div",null,o.a.createElement("h2",{className:"index__title___1MUbd","data-aos":"fade-in"},n(i.title)),o.a.createElement("p",{className:"index__horizontal-line___3IlIi","data-aos":"fade-in"})):null,o.a.createElement("div",{className:"index__desc___16HeZ","data-aos":"fade-in"},i?n(i.desc):null)),o.a.createElement("div",{className:"index__tab-slider-box___16UKB","data-aos":"fade-in"},o.a.createElement(ol,{component_data:i,t:n,value:r}))))}}])&&sl(n.prototype,i),r&&sl(n,r),t}();pl(fl,"editSetting",{key:"sectionWithTabSlider",name:"sectionWithTabSlider",component_data:{title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},tabList:{label:"list",type:"array",items:{type:"object",tabTitle:{type:"i18n",label:"tab 标题"},originImg:{type:"image",label:"原图"},newImg:{type:"image",label:"新图"}}}}}),pl(fl,"defaultProps",{t:function(){}
1,component_data:{title:"高精度点云,全面覆盖视场",desc:"Horizon 采用独特的非重复横向扫描机制,通过多路激光同时扫描,有效提升视场内点云覆盖率,点云密度可轻松超过传统 64 线激光雷达的水平,点云数据率亦为 Mid 系列的 3 倍,从而得以检测并使用视场内更多细节,有效避免漏检,让自动驾驶更安全可靠。不仅如此,高达 24 万的点云密度均匀分布,在其视野范围内无明显死角,每一个角落都能清晰呈现。",tabList:[{tabTitle:"100ms",originImg:"/",newImg:"/"},{tabTitle:"200ms",originImg:"/",newImg:"/"},{tabTitle:"300ms",originImg:"/",newImg:"/"},{tabTitle:"400ms",originImg:"/",newImg:"/"},{tabTitle:"500ms",originImg:"/",newImg:"/"}]}});var ml=Object(m.a)(fl);n(354);function _l(e){return(_l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var hl={"./index.css":{"info-card-img-component-light":"index__info-card-img-component-light___2vJVI","info-card-container":"index__info-card-container___14qzT","text-box":"index__text-box___Ziy4k",title:"index__title___3jkyS","horizontal-line":"index__horizontal-line___1tE0T","section-desc":"index__section-desc___k2Sts","card-box":"index__card-box___3MhXb","card-item":"index__card-item___Dq2pN","card-item-title":"index__card-item-title___18LOl","card-item-desc":"index__card-item-desc___22ggN","info-card-img-component-dark-theme":"index__info-card-img-component-dark-theme___3B46X","info-card-img-component":"index__info-card-img-component___1ijxg","card-wrapper":"index__card-wrapper___21VIK","card-bg":"index__card-bg___3OPZw","text-container":"index__text-container___2133O","card-item-btn":"index__card-item-btn___1wUP3","card-item-big":"index__card-item-big___2-8KM","replay-dbv-info-card-img":"index__replay-dbv-info-card-img___qZ38L","dbv-info-card-img":"index__dbv-info-card-img___2jXIy","replay-button":"index__replay-button___1pLI3","replay-button-hidden":"index__replay-button-hidden___1Gfmj"}};function bl(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function yl(e){return(yl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function vl(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gl(e,t){return(gl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var wl=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=yl(t).call(this,e))||"object"!==_l(r)&&"function"!=typeof r?vl(i):r).state={},n.videoNode=[],n.bindScroll=n.bindScroll.bind(vl(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gl(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=document.getElementsByClassName("dbv-info-card-img"),t=document.getElementsByClassName("replay-dbv-info-card-img");if(0!==e.length)new te.a({containerClassName:"dbv-info-card-img",visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,replayWhenRevisible:!0});if(0!==t.length)new te.a({containerClassName:"replay-dbv-info-card-img",visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,replayWhenRevisible:!0,replayClassName:"replay-button"});window.addEventListener("scroll",this.bindScroll)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.bindScroll)}},{key:"handleClick",value:function(e){(0,this.props.watchVideoClick)(e)}},{key:"bindScroll",value:function(){this.videoNode.length>0&&this.videoNode[0]&&this.videoNode[0].duration&&!Number.isNaN(this.videoNode[0].duration)&&ba.a.refresh()}},{key:"render",value:function(){var e=this,t=this.props,n=t.component_data,i=t.t;return o.a.createElement("div",{className:"index__card-wrapper___21VIK"},n&&Array.isArray(n.cardList)?n.cardList.map(function(t,a){return o.a.createElement("div",{key:p()(),style:{marginTop:t.margin_top,marginRight:t.margin_right},className:r()("big"===t.item_type?"card-item card-item-big":"card-item",hl)},t.videoLink?o.a.createElement("div",{className:"true"===t.isReplay?"replay-dbv-info-card-img":"dbv-info-card-img"},o.a.createElement("video",{muted:!0,ref:function(t){e.videoNode[a]=t},name:"media",poster:Object(f.a)(t.videoPoster),loop:"true"===t.isLoop},o.a.createElement("source",{"data-layzr-src":t.videoLink}
1)),"true"===t.isReplay?o.a.createElement("div",{className:"replay-button"}):o.a.createElement("div",{className:"replay-button replay-button-hidden"})):o.a.createElement("div",{className:"card-bg index__card-bg___3OPZw",style:{backgroundImage:"big"!==t.item_type?"url(".concat(Object(f.a)(t.img),")"):"none"}},"big"===t.item_type?o.a.createElement("img",{src:Object(f.a)(t.img),alt:""}):null),o.a.createElement("div",{className:"index__text-container___2133O"},o.a.createElement("h3",{className:"index__card-item-title___18LOl","data-aos":"fade-in"},i(t.title)),o.a.createElement("p",{className:"index__card-item-desc___22ggN","data-aos":"fade-in"},i(t.desc)),t.watchVideoText&&o.a.createElement("div",{className:"index__card-item-btn___1wUP3",onClick:e.handleClick.bind(e,t.watchVideoLink),"data-aos":"fade-in"},o.a.createElement(de.b,{text:i(t.watchVideoText),theme:n&&"light"===n.theme?"light":"dark",iconName:"play-circle-o",link:""}))))}):null)}}])&&bl(n.prototype,i),a&&bl(n,a),t}(),xl=Object(m.a)(wl);function El(e){return(El="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Ol={"./index.css":{"info-card-img-component-light":"index__info-card-img-component-light___2vJVI","info-card-container":"index__info-card-container___14qzT","text-box":"index__text-box___Ziy4k",title:"index__title___3jkyS","horizontal-line":"index__horizontal-line___1tE0T","section-desc":"index__section-desc___k2Sts","card-box":"index__card-box___3MhXb","card-item":"index__card-item___Dq2pN","card-item-title":"index__card-item-title___18LOl","card-item-desc":"index__card-item-desc___22ggN","info-card-img-component-dark-theme":"index__info-card-img-component-dark-theme___3B46X","info-card-img-component":"index__info-card-img-component___1ijxg","card-wrapper":"index__card-wrapper___21VIK","card-bg":"index__card-bg___3OPZw","text-container":"index__text-container___2133O","card-item-btn":"index__card-item-btn___1wUP3","card-item-big":"index__card-item-big___2-8KM","replay-dbv-info-card-img":"index__replay-dbv-info-card-img___qZ38L","dbv-info-card-img":"index__dbv-info-card-img___2jXIy","replay-button":"index__replay-button___1pLI3","replay-button-hidden":"index__replay-button-hidden___1Gfmj"}};function kl(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Sl(e){return(Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Pl(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tl(e,t){return(Tl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Nl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jl=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=Sl(t).call(this,e))||"object"!==El(r)&&"function"!=typeof r?Pl(i):r).state={videoVisible:!1,watchVideoLink:"/"},n.handleVideoShow=n.handleVideoShow.bind(Pl(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tl(e,t)}(t,o.a.Component),n=t,(i=[{key:"handleVideoShow",value:function(e){this.setState({videoVisible:!0,watchVideoLink:e})}},{key:"handleVideoHide",value:function(){this.setState({videoVisible:!1})}},{key:"render",value:function(){var e=this.props,t=e.t,n=e.component_data,i=this.state,a=i.videoVisible,l=i.watchVideoLink;return o.a.createElement("section",{className:"info-card-img-component "+r()("info-card-img-component ".concat(n&&"light"===n.theme?"info-card-img-component-light":"info-card-img-component-dark-theme"),Ol)},o.a.createElement("div",{className:"index__info-card-container___14qzT"},o.a.createElement("div",{className:"index__text-box___Ziy4k"},n&&n.mainTitle?o.a.createElement("div",null,o.a.createElement("h2",{className:"index__title___3jkyS","data-aos":"fade-in"},t(n.mainTitle)),o.a.createElement("p",{className:"index__horizontal-line___1tE0T","data-aos":"fade-in"})):null,n&&n.mainDesc?o.a.createElement("p",{className:"index__section-desc___k2Sts"},t(n.mainDesc)):null),o.a.createElement("div",{className:"index__card-box___3MhXb"},o.a.createElement(xl,{component_data:n,t:t,watchVideoClick:this.handleVideoShow}))),a?o.a.createElement(P.a,{visible:a,videoLink:l,onClose:this.handleVideoHide.bind(this)}):null)}}
1])&&kl(n.prototype,i),a&&kl(n,a),t}();Nl(jl,"defaultProps",{t:function(){},component_data:{mainTitle:"高效开发,拓展潜能",cardList:[{item_type:"small",img:"/",title:"开放式 SDK",desc:"Livox SDK 支持 Linux/Windows/macOS/ROS 等多种操作系统以及 C/C++/Python 等各种开发语言,方便用户在各种平台上使用 Livox 激光雷达。Livox 还提供 SLAM、外参标定等常用算法,帮助用户快速上手。",watchVideoText:"观看视频",watchVideoLink:"/",videoLink:"",videoPoster:"",isReplay:"true",isLoop:"false"},{item_type:"small",img:"/",title:"开放式 SDK",desc:"Livox SDK 支持 Linux/Windows/macOS/ROS 等多种操作系统以及 C/C++/Python 等各种开发语言,方便用户在各种平台上使用 Livox 激光雷达。Livox 还提供 SLAM、外参标定等常用算法,帮助用户快速上手。",watchVideoText:"观看视频",watchVideoLink:"/",videoLink:"",videoPoster:"",isReplay:"true",isLoop:"false"}]}}),Nl(jl,"editSetting",{key:"infoCardWithImg",name:"infoCardWithImg",component_data:{mainTitle:{type:"i18n",label:"主标题"},mainDesc:{type:"i18n",label:"主要描述"},theme:{type:"select",label:"主题色",items:[{label:"亮色",value:"light"},{label:"暗色",value:"dark"}]},cardList:{label:"list",type:"array",items:{type:"object",item_type:{type:"string",label:"模块类型,决定模块是小模块还是大模块,可填small/big,不填默认small"},margin_top:{type:"string",label:"上边距的值(需要加px单位)"},margin_right:{type:"string",label:"右边距的值(需要加px单位)"},img:{type:"image",label:"图片"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},watchVideoText:{type:"i18n",label:"观看视频文案"},watchVideoLink:{type:"string",label:"观看视频链接"},videoLink:{type:"string",label:"视频链接"},videoPoster:{type:"image",label:"视频封面图"},isReplay:{type:"string",label:"是否需要重新播放功能(true or false 不填为false)"},isLoop:{type:"string",label:"是否需要循环播放(true or false 不填为false)"}}}}});var Cl=Object(m.a)(jl);n(486);function Ll(e){return(Ll="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Ml={"./index.css":{"info-card-icon-component":"index__info-card-icon-component___2lM8V","info-card-container":"index__info-card-container___2ZqF7","text-box":"index__text-box___2lH22",title:"index__title___Ojd1k","horizontal-line":"index__horizontal-line___QRAY_","card-box-line-two":"index__card-box-line-two___2clkM","card-item":"index__card-item___yPYZU","card-box-line-three":"index__card-box-line-three___eJ_aP","card-box":"index__card-box___EDXwK","card-icon":"index__card-icon___1EvZC","text-container":"index__text-container___1Pkx0","card-item-title":"index__card-item-title___1NH5g","card-item-desc":"index__card-item-desc___17L-D","dark-section":"index__dark-section___1Pdpy","light-section":"index__light-section___B9_NS"}};function Il(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Al(e,t){return!t||"object"!==Ll(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Dl(e){return(Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function zl(e,t){return(zl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Vl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rl=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Al(this,Dl(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zl(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.t,n=e.component_data,i=n&&Array.isArray(n.cardList)?n.cardList.map(function(e){return o.a.createElement("div",{key:p()(),className:"index__card-item___yPYZU"},o.a.createElement("div",{className:"index__card-icon___1EvZC"},o.a.createElement("img",{src:Object(f.a)(e.icon),alt:t(e.title)})),o.a.createElement("div",{className:"index__text-container___1Pkx0"},o.a.createElement("h3",{className:"index__card-item-title___1NH5g","data-aos":"fade-in"},t(e.title)),o.a.createElement("p",{className:"index__card-item-desc___17L-D","data-aos":"fade-in"},t(e.desc))))}):null,a=s()({"info-card-icon-component":!0,"dark-section":n&&"dark"===n.theme,"light-section":n&&"light"===n.theme});return o.a.createElement("section",{className:r()(a,Ml)},o.a.createElement("div",{className:"index__info-card-container___2ZqF7"},o.a.createElement("div",{className:"index__text-box___2lH22"},n&&n.mainTitle?o.a.createElement("div",null,o.a.createElement("h2",{className:"index__title___Ojd1k","data-aos":"fade-in"},t(n.mainTitle)),o.a.createElement("p",{className:"index__horizontal-line___QRAY_","data-aos":"fade-in"})):null),o.a.createElement("div",{className:r()("card-box ".concat(n&&"two"===n.layout?"card-box-line-two":"card-box-line-three"),Ml)},i)))}}
1])&&Il(n.prototype,i),a&&Il(n,a),t}();Vl(Rl,"defaultProps",{t:function(){},component_data:{theme:"dark",mainTitle:"高效开发,拓展潜能",cardList:[{icon:"/",title:"开放式 SDK",desc:"Livox SDK 支持 Linux/Windows/macOS/ROS 等多种操作系统以及 C/C++/Python 等各种开发语言,方便用户在各种平台上使用 Livox 激光雷达。Livox 还提供 SLAM、外参标定等常用算法,帮助用户快速上手。"},{icon:"/",title:"开放式 SDK",desc:"Livox SDK 支持 Linux/Windows/macOS/ROS 等多种操作系统以及 C/C++/Python 等各种开发语言,方便用户在各种平台上使用 Livox 激光雷达。Livox 还提供 SLAM、外参标定等常用算法,帮助用户快速上手。"}]}}),Vl(Rl,"editSetting",{key:"infoCardWithIcon",name:"infoCardWithIcon",component_data:{theme:{label:"section 背景颜色(dark/light)",type:"string"},layout:{type:"select",label:"布局一行几个",items:[{label:"三个",value:"three"},{label:"两个",value:"two"}]},mainTitle:{type:"i18n",label:"主标题"},cardList:{label:"list",type:"array",items:{type:"object",icon:{type:"image",label:"图片"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"}}}}});var Bl=Object(m.a)(Rl);n(487);function Fl(e){return(Fl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Hl(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Wl(e,t){return!t||"object"!==Fl(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ql(e){return(ql=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ul(e,t){return(Ul=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Gl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Yl=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Wl(this,ql(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ul(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this,t=this.props,n=t.component_data,i=void 0===n?{}:n,r=t.t,a=S.Tabs.TabPanel,l=i&&Array.isArray(i.data)?i.data.map(function(e){return o.a.createElement(a,{tab:r(e.tabTitle),key:r(e.tabTitle)},o.a.createElement(S.LazyImage,{src:Object(f.a)(e.img),className:"index__img-part____Pmgl"}))}):null;return o.a.createElement("section",{className:"index__section-wrap___3Kiw1"},o.a.createElement("div",{className:"index__container___2OyCL"},i?o.a.createElement("div",{className:"index__text-box___3VaCa","data-aos":"fade-in"},o.a.createElement("h2",{className:"index__main-title___3gfKN"},r(i.title)),o.a.createElement("p",{className:"index__horizon-line___2n_AN"})):null,i?o.a.createElement("p",{className:"index__desc___1T4Sg","data-aos":"fade-in"},r(i.desc)):null,i?o.a.createElement("div",{className:"index__tab-list___mzTqZ"},o.a.createElement(S.Tabs,{tabPosition:"center",theme:"light",tabDisplay:"inline-block",tabBarStyle:{textAlign:"center"},ref:function(t){e.tabDom=t}},l)):null))}}])&&Hl(n.prototype,i),r&&Hl(n,r),t}();Gl(Yl,"editSetting",{key:"tabSwitchSlider",name:"tabSwitchSlider",component_data:{title:{type:"i18n",label:"大标题"},desc:{type:"i18n",label:"描述"},data:{label:"展示的数据",type:"array",items:{type:"object",img:{type:"image",label:"图片"},tabTitle:{type:"i18n",label:"标题"}}}}}),Gl(Yl,"defaultProps",{t:function(){},component_data:{title:"远距离,高精度",desc:"Mid 系列采用先进的光学设计,探测范围可达 260 米。其中 Mid-40 的采样率为 100,000 点/秒,角度随机误差小于 0.1°。在圆形视场上,Mid-40 水平视场角为 38.4°,而由三个 Mid-40 横向组合而成的 Mid-100,则将水平视场角进一步提升至 98.4°。",data:[{img:"/",tabTitle:"MID-40"},{img:"/",tabTitle:"MID-100"}]}});var Kl=Object(m.a)(Yl);n(488);function Xl(e){return(Xl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $l(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Zl(e){return(Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ql(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jl(e,t){return(Jl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}
1function es(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ts=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=Zl(t).call(this,e))||"object"!==Xl(r)&&"function"!=typeof r?Ql(i):r).state={videoVisible:!1,videoLink:"/"},n.handleVideoHide=n.handleVideoHide.bind(Ql(n)),n.renderVideoPlayer=n.renderVideoPlayer.bind(Ql(n)),n.onRefChild=n.onRefChild.bind(Ql(n)),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jl(e,t)}(t,o.a.Component),n=t,(i=[{key:"onRefChild",value:function(e){this.child=e}},{key:"handleVideoShow",value:function(e,t,n){this.setState({videoVisible:!0,videoLink:e}),(t||n)&&(t.slick.slick.slickPause(),n.slick.slick.slickPause())}},{key:"handleVideoHide",value:function(){this.child.videoHide(),this.setState({videoVisible:!1})}},{key:"renderVideoPlayer",value:function(){var e=this.state,t=e.videoVisible,n=e.videoLink;return t?o.a.createElement(P.a,{visible:t,videoLink:n,onClose:this.handleVideoHide}):null}},{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,r={backgroundColor:n.bgColor};return o.a.createElement("section",{className:"index__carousel-wrap___2saK-"},o.a.createElement("div",{style:r,className:"showcase-swiper index__carousel-box___2rJNI"},o.a.createElement(Li,{component_data:n,t:i,handleVideoShow:this.handleVideoShow.bind(this),videoHide:this,onRefChild:this.onRefChild,swiperName:"showcase-swiper"})),this.renderVideoPlayer())}}])&&$l(n.prototype,i),r&&$l(n,r),t}();es(ts,"editSetting",{key:"showcaseSwiper",name:"showcaseSwiper",component_data:{bgColor:{type:"string",label:"背景颜色"},fontColor:{type:"string",label:"字体颜色"},imgList:{label:"轮播list",type:"array",items:{type:"object",image:{type:"image",label:"image"}}},textList:{label:"text list",type:"array",items:{type:"object",tips:{type:"i18n",label:"tip"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},videoLink:{type:"i18n",label:"视频link"},videoBtnText:{type:"i18n",label:"观看视频按钮文案"},learnMoreLink:{type:"string",label:"了解更多链接"},learnMoreBtnText:{type:"i18n",label:"了解更多按钮文案"}}}}}),es(ts,"defaultProps",{t:function(){},component_data:{swiperName:"banner-swiper",bgColor:"#009BA2",fontColor:"#fff",textList:[{tips:"showcase",title:"LiDAR Odometry and Mapping Algorithms Package",desc:"The Future in Sight",learnMoreBtnText:"了解更多1",learnMoreLink:"/"},{tips:"showcase2",title:"LiDAR Odometry and Mapping Algorithms Package",desc:"The Future in Sight",videoBtnText:"观看视频",videoLink:"/"}],imgList:[{image:"/"},{image:"/"}]}});var ns=Object(m.a)(ts);n(489);function is(e){return(is="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function rs(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function as(e,t){return!t||"object"!==is(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function os(e){return(os=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ls(e,t){return(ls=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ss(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cs=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),as(this,os(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ls(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,r={backgroundImage:"url(".concat(Object(f.a)(n&&n.bg),")")};return o.a.createElement("section",{className:"index__wrap___1JiqF"}
1,o.a.createElement("div",{style:r,className:"index__bg___2Kp3A"},o.a.createElement("div",{className:"index__container___2hLWd"},o.a.createElement("div",{className:"index__text-box___1qxRw"},o.a.createElement("img",{className:"index__icon___2Gpv9",src:Object(f.a)(n.icon),alt:""}),n&&n.title?o.a.createElement("div",null,o.a.createElement("h2",{className:"index__title___20hb9","data-aos":"fade-in"},i(n.title)),o.a.createElement("p",{className:"index__horizontal-line___2j7TH","data-aos":"fade-in"})):null,n&&n.desc?o.a.createElement("p",{className:"index__desc___x4IR3","data-aos":"fade-in"},i(n.desc)):null))))}}])&&rs(n.prototype,i),r&&rs(n,r),t}();ss(cs,"editSetting",{key:"infoBlock",name:"infoBlock",component_data:{bg:{type:"image",label:"背景图片"},icon:{type:"image",label:"icon"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"}}}),ss(cs,"defaultProps",{t:function(){},component_data:{bg:"/",icon:"/",title:"德国莱茵 TÜV 安全认证",desc:"Tele-15 采用大口径折射式扫描方案,通过同轴设计的光学系统,可探测远至 500 米外的物体。同时,所使用的 905 nm 激光系统经过德国莱茵 TÜV 安全认证,符合人眼安全标准(Class 1)"}});var us=Object(m.a)(cs);n(490);function ds(e){return(ds="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var ps={"./index.css":{wrap:"index__wrap___2azPx",sticky:"index__sticky___36Mce","adaptive-section":"index__adaptive-section___pRhne","picture-content":"index__picture-content___-3UxM","scroll-panel":"index__scroll-panel___nXFmp","scroll-content":"index__scroll-content___2GPku","text-box":"index__text-box___3fFMw","text-wrap":"index__text-wrap___3dqw4","section-title":"index__section-title___apVqs","horizontal-line":"index__horizontal-line___1WHCD",desc:"index__desc___24bx9","video-img-box":"index__video-img-box___2O5bn","video-img-wrap":"index__video-img-wrap___1g2NE",degrade:"index__degrade___23yRA","degrade-item":"index__degrade-item___3Hfls","img-box":"index__img-box___1rOAi","img-wrap":"index__img-wrap___20wop","video-swiper":"index__video-swiper___2UUou",fixed:"index__fixed___1eM8-","attach-bottom":"index__attach-bottom___2ks3r","attach-top":"index__attach-top___3fKaT",top:"index__top___2wBuD","hide-font":"index__hide-font___1e7OW",active:"index__active___2hadx",hide:"index__hide___3tX6-"}};function fs(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ms(e){return(ms=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hs(e,t){return(hs=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function bs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ys=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=ms(t).call(this,e))||"object"!==ds(r)&&"function"!=typeof r?_s(i):r).state={isIE:!1},n.scroll=[],n.textDom=[],n.videoDom=[],n.video=[],n.videoPlay=!0,n.handleScroll=n.handleScroll.bind(_s(n)),n.activeFonts=n.activeFonts.bind(_s(n)),n.pageY=n.pageY.bind(_s(n)),n.showPicture=n.showPicture.bind(_s(n)),n.isDOMContains=n.isDOMContains.bind(_s(n)),n.bindScroll=n.bindScroll.bind(_s(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hs(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=this;if("undefined"!=typeof window){var t=!!window.MSInputMethodContext&&!!document.documentMode;this.setState({isIE:t}),t?window.addEventListener("scroll",this.bindScroll):window.onscroll=function(){return e.handleScroll()}}}},{key:"bindScroll",value:function(){ba.a.refresh()}},{key:"handleScroll",value:function(){this.activeFonts(),this.showPicture(),this.videoDom[0].classList.add("active")}},{key:"activeFonts",value:function(){for(var e=Math.max(document.documentElement.scrollTop,document.body.scrollTop),t=0;t<this.textDom.length;t++)this.textDom[t].classList.remove("hide-font"),this.pageY(this.scroll[t])+window.innerHeight/2-this.textDom[t].clientHeight-64<=e?this.textDom[t].classList.add("hide-font"):this.textDom[t].classList.remove("hide-font")}},{key:"showPicture",value:function(){for(var e=Math.max(document.documentElement.scrollTop,document.body.scrollTop),t=0;t<this.textDom.length;t++)this.pageY(this.scroll[t])-window.innerHeight/2+64<=e?(this.videoDom[t].classList.add("active"),this.videoPlay&&this.video[t]&&this.video[t].duration&&this.isDOMContains(this.videoDom[t],this.video[t],this.dom)&&(this.video[t].play(),this.videoPlay=!1)):(this.videoDom[t].classList.remove("active"),this.video[t]&&(this.video[t].currentTime=0,this.videoPlay=!0,this.video[t].pause()))}},{key:"pageY",value:function(e){return e.offsetParent?e.offsetTop+this.pageY(e.offsetParent):e.offsetTop}},{key:"isDOMContains",value:function(e,t,n){if(e===t)return!0;
1if(!t||!t.nodeType||1!==t.nodeType)return!1;if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return!!(16&e.compareDocumentPosition(t));for(var i=t.parentNode;i&&i!==n;){if(i===e)return!0;i=i.parentNode}return!1}},{key:"render",value:function(){var e=this,t=s()({"adaptive-section":!0,sticky:!0}),n=this.props,i=n.t,a=n.component_data,l=a&&Array.isArray(a.videoList)?a.videoList.map(function(t,n){return o.a.createElement("div",{key:p()(),className:"index__picture-content___-3UxM",ref:function(t){e.videoDom[n]=t}},o.a.createElement("div",{className:"index__video-img-box___2O5bn"},o.a.createElement("div",{className:"index__video-img-wrap___1g2NE"},t.videoLink?o.a.createElement("video",{ref:function(t){e.video[n]=t},muted:!0,name:"media",load:"true",poster:Object(f.a)(t.poster)},o.a.createElement("source",{src:t.videoLink})):o.a.createElement("img",{src:Object(f.a)(t.poster),alt:""}))))}):null,c=a&&Array.isArray(a.videoList)?a.videoList.map(function(t,n){return o.a.createElement("div",{key:p()(),className:"index__scroll-content___2GPku",ref:function(t){e.scroll[n]=t}},o.a.createElement("div",{className:"index__text-box___3fFMw",ref:function(t){e.textDom[n]=t}},o.a.createElement("div",{className:"index__text-wrap___3dqw4"},t.title?o.a.createElement("div",null,o.a.createElement("h2",{className:"index__section-title___apVqs"},i(t.title)),o.a.createElement("p",{className:"index__horizontal-line___1WHCD"})):null,o.a.createElement("p",{className:"index__desc___24bx9"},t.desc?i(t.desc):""))))}):null,u=a&&Array.isArray(a.videoList)?a.videoList.map(function(e){return o.a.createElement("div",{key:p()(),className:"index__degrade-item___3Hfls",id:e.videoLink?"video-box":""},o.a.createElement("div",{className:"index__text-box___3fFMw"},o.a.createElement("div",{className:"index__text-wrap___3dqw4"},o.a.createElement("h2",{className:"index__section-title___apVqs","data-aos":"fade-in"},i(e.title)),o.a.createElement("p",{className:"index__horizontal-line___1WHCD","data-aos":"fade-in"}),o.a.createElement("p",{className:"index__desc___24bx9","data-aos":"fade-in"},e.desc?i(e.desc):""))),o.a.createElement("div",{className:"index__img-box___1rOAi"},o.a.createElement("div",{className:"index__img-wrap___20wop","data-aos":"fade-in"},e.videoLink?o.a.createElement("div",{className:"dbv"},o.a.createElement("video",{muted:!0,name:"media",id:"video",load:"true",poster:Object(f.a)(e.poster)},o.a.createElement("source",{src:e.videoLink}))):o.a.createElement("img",{src:Object(f.a)(e.poster),alt:""}))))}):null,d=this.state.isIE;return o.a.createElement("section",{className:"video-swiper index__wrap___2azPx",ref:function(t){e.dom=t}},o.a.createElement("div",null,d),o.a.createElement("div",{className:(d||"hide"?(d?"degrade":"hide")+" ":"")+"index__degrade___23yRA"},u),o.a.createElement("div",{className:d?"hide":"origin"},o.a.createElement("div",{ref:function(t){e.containerDom=t},className:r()(t,ps)},l),o.a.createElement("div",{className:"index__scroll-panel___nXFmp"},c)))}}])&&fs(n.prototype,i),a&&fs(n,a),t}();bs(ys,"editSetting",{key:"videoSwiper",name:"videoSwiper",component_data:{videoList:{label:"list",type:"array",items:{type:"object",poster:{type:"image",label:"视频poster"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},videoLink:{type:"string",label:"视频链接"}}}}}),bs(ys,"defaultProps",{t:function(){},component_data:{videoList:[{poster:"/",videoLink:"/",title:"swiper1",desc:"desc1"},{poster:"/",videoLink:"/",title:"swiper2",desc:"desc2"},{poster:"/",videoLink:"/",title:"swiper3",desc:"desc3"}]}});var vs=Object(m.a)(ys);n(491);function gs(e){return(gs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ws(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function xs(e,t){return!t||"object"!==gs(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function Es(e){return(Es=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Os(e,t){return(Os=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ks(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ss=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),xs(this,Es(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Os(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=e.t;return o.a.createElement("section",{className:"index__dataset-vertical-section___3omXI"},o.a.createElement("div",{className:"index__dataset-vertical-container___2eaKq"},t.sectionTitle?o.a.createElement("div",{className:"index__header-text-box___1Am0o"},o.a.createElement("h3",{className:"index__section-title___9Csh_"},n(t.sectionTitle)),o.a.createElement("p",{className:"index__line___1x21d"})):null,t.sectionDesc?o.a.createElement("div",{className:"index__section-desc___1eiGg"},n(t.sectionDesc)):null,o.a.createElement("p",{className:"index__long-line___3bZq_"}),o.a.createElement("div",{className:"index__dataset-vertical-section-list___ls8GB"},o.a.createElement("div",{className:"index__sub-section-box___9UDl8"},o.a.createElement("h4",{className:"index__sub-title___1CGMw"},n(t.subTitle)),o.a.createElement("p",{className:"index__sub-desc___37A-4"},n(t.subDesc))),o.a.createElement("img",{className:"index__img___1Fos5",src:Object(f.a)(t.img),alt:""}),o.a.createElement("ul",{className:"index__dataset-list-box___3aWyg"},t.datasetList&&Array.isArray(t.datasetList)?t.datasetList.map(function(e){return o.a.createElement("li",{key:p()()},o.a.createElement("h5",{className:"index__item-title___1MGFn"},n(e.title)),o.a.createElement("div",{className:"index__item-desc___28POS",dangerouslySetInnerHTML:{__html:n(e.desc)}}))}):null))))}}])&&ws(n.prototype,i),r&&ws(n,r),t}();ks(Ss,"defaultProps",{t:function(){},component_data:{sectionTitle:"v3.test.livox.dataset.s.t",sectionDesc:"v3.test.livox.dataset.s.d",subTitle:"v3.test.livox.dataset.s.subt",subDesc:"v3.test.livox.dataset.s.desc",img:"/",datasetList:[{title:"v3.test.livox.dataset.list.item1.t",desc:"v3.test.livox.dataset.list.item1.d"},{title:"v3.test.livox.dataset.list.item2.t",desc:"v3.test.livox.dataset.list.item2.d"}]}}),ks(Ss,"editSetting",{key:"dataSetVerticalSection",name:"dataSetVerticalSection",component_data:{sectionTitle:{type:"i18n",label:"主标题"},sectionDesc:{type:"i18n",label:"描述"},subTitle:{type:"i18n",label:"副标题"},subDesc:{type:"i18n",label:"副描述"},img:{type:"image",label:"图像"}
1,datasetList:{label:"数据集列表",type:"array",items:{type:"object",title:{type:"i18n",label:"列表标题"},desc:{type:"i18n",label:"列表描述"}}}}});var Ps=Object(m.a)(Ss),Ts=n(188);n(492);function Ns(e){return(Ns="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function js(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Cs(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Ls(e){return(Ls=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ms(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Is(e,t){return(Is=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function As(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ds=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,n=!(r=Ls(t).call(this,e))||"object"!==Ns(r)&&"function"!=typeof r?Ms(i):r,As(Ms(n),"bindVideoEvent",function(e,t){!!window.MSInputMethodContext&&!!document.documentMode?(e.load&&e.load(),e.addEventListener("canplay",function n(){t(e);e.removeEventListener("canplay",n)})):t(e)}),n.state={mySwiper:null},n.handleMouseoverAction=n.handleMouseoverAction.bind(Ms(n)),n.handleMouseleaveAction=n.handleMouseleaveAction.bind(Ms(n)),n.playVideo=n.playVideo.bind(Ms(n)),n.bindVideoEvent=n.bindVideoEvent.bind(Ms(n)),n.showVideo=n.showVideo.bind(Ms(n)),n.pauseVideo=n.pauseVideo.bind(Ms(n)),n._throttle=n._throttle.bind(Ms(n)),n._showWholeElm=n._showWholeElm.bind(Ms(n)),n._initVisiblePlay=n._initVisiblePlay.bind(Ms(n)),n._initLazyLoad=n._initLazyLoad.bind(Ms(n)),n._checkVisible=n._checkVisible.bind(Ms(n)),n.handleChangeSlide=n.handleChangeSlide.bind(Ms(n)),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Is(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=this.props.component_data,t=this,n=new ci.a(".swiper-video-container",{autoplay:!!e.autoplay&&{delay:5e3,disableOnInteraction:!1},loop:e&&e.videoList.length>3,speed:800,slidesPerView:"auto",initialSlide:0,centeredSlides:!0,observer:!0,observeParents:!0,on:{init:function(){var e=js(document.getElementsByClassName("video-mask")),n=document.getElementsByClassName("swiper-slide-active")[0]||document.getElementsByClassName("swiper-slide-duplicate-active")[0],i=parseInt(n.childNodes[0].dataset.slider,10);e.forEach(function(e){parseInt(e.dataset.slider,10)===i&&t._initLazyLoad(e.nextSibling.childNodes[0])})},slideChangeTransitionStart:function(){t.handleChangeSlide(),t.showVideo()},slideChangeTransitionEnd:function(){var e=document.getElementsByClassName("swiper-slide-active");t.handleChangeSlide(),t.pauseVideo(),e.length>0&&t._initVisiblePlay()}}});this.setState({mySwiper:n}),n.el&&(n.el.addEventListener("mouseover",this.handleMouseoverAction),e&&e.autoplay&&n.el.addEventListener("mouseleave",this.handleMouseleaveAction))}},{key:"_throttle",value:function(e,t){var n=this,i=arguments,r=!1;return function(){var a=i,o=n;if(!r)return e.apply(o,a),r=!0,setTimeout(function(){return r=!1},t)}}},{key:"_showWholeElm",value:function(e){for(var t=window.scrollY||window.pageYOffset,n=t+window.innerHeight,i=e.offsetTop,r=e.offsetHeight;e.offsetParent;)i+=(e=e.offsetParent).offsetTop;return r+=i,i>=t&&n>=r||i<=t&&n<=r}},{key:"_initVisiblePlay",value:function(e){var t=!1,n=this,i=n._throttle(r,50);function r(){var a=e||document.querySelectorAll(".swiper-video-container .swiper-slide-active .swiper-video-box .video")[0];t||(requestAnimationFrame(r),!a||isNaN(a.duration)||t||n.bindVideoEvent(a,function(e){e.muted=!0,n.playVideo(e),e.classList.add("active"),t=!0,window.cancelAnimationFrame(r),window.removeEventListener("scroll",i),window.removeEventListener("resize",i)}))}window.addEventListener("scroll",i),window.addEventListener("resize",i),r()}},{key:"_initLazyLoad",value:function(e){var t=this,n=this._throttle(r,50);window.addEventListener("scroll",n),window.addEventListener("resize",n);var i=!1;function r(){var a=e||document.querySelectorAll(".swiper-video-container .swiper-slide-active .swiper-video-box .video")[0];if(i)return!1;if(requestAnimationFrame(r),a&&t._checkVisible(a,1200)){var o=a.querySelectorAll("source"),l=o[0].dataset.layzrSrc;null===o[0].getAttribute("src")&&o[0].setAttribute("src",l),0===a.readyState&&(a.load(),i=!0,window.cancelAnimationFrame(r),window.removeEventListener("scroll",n),window.removeEventListener("resize",n))}}r()}},{key:"_checkVisible",value:function(e,t){for(var n=t||0,i=window.scrollY||window.pageYOffset,r=i+window.innerHeight,a=e.offsetTop-n,o=e.offsetHeight+n;e.offsetParent;)a+=(e=e.offsetParent).offsetTop;return i<=(o+=a)&&o<=r||r>=a&&a>=i||a<=i&&o>=r}},{key:"playVideo",value:function(e){if(!!window.navigator.userAgent.match(/MicroMessenger/gi)&&WeixinJSBridge)WeixinJSBridge.invoke("getNetworkType",{},function(){setTimeout(function(){var t=e.play();t&&t.then&&"function"==typeof t.then&&t.then(function(){},function(){})},0)},!1);else{var t=e.play();t&&t.then&&"function"==typeof t.then&&t.then(function(){},function(){})}}},{key:"handleMouseoverAction",value:function(e){var t=this.state.mySwiper,n=this.props.component_data,i=document.querySelectorAll(".swiper-video-container .swiper-slide .swiper-video-box");if(n.autoplay&&t.autoplay.stop(),"video-mask"===e.target.className&&0!==parseFloat(e.target.style.opacity,10)){var r=e.target.nextSibling.childNodes[0];if(i.length>0)for(var a=0;a<i.length;a++)i[a].previousSibling.classList.remove("active"),!i[a].childNodes[0].paused&&i[a].childNodes[0].readyState>2&&(i[a].childNodes[0].pause(),i[a].childNodes[0].currentTime=0);r&&(e.target.classList.add("active"),this._initLazyLoad(r),this._initVisiblePlay(r))}}},{key:"handleMouseleaveAction",value:function(){this.state.mySwiper.autoplay.start()}},{key:"handleChangeSlide",value:function(e){var t=js(document.getElementsByClassName("video-mask")),n=document.getElementsByClassName("swiper-slide-active")[0]||document.getElementsByClassName("swiper-slide-duplicate-active")[0],i=0===parseInt(e,10)?e:parseInt(n.childNodes[0].dataset.slider,10);t.forEach(function(e){parseInt(e.dataset.slider,10)===i?e.classList.add("active"):e.classList.remove("active")})}},{key:"showVideo",value:function(){this._initLazyLoad()}},{key:"pauseVideo",value:function(){var e=js(document.getElementsByClassName("video-mask")),t=document.getElementsByClassName("swiper-slide-active")[0]||document.getElementsByClassName("swiper-slide-duplicate-active")[0],n=parseInt(t.childNodes[0].dataset.slider,10),i=[];e.forEach(function(e){parseInt(e.dataset.slider,10)!==n&&i.push(e.nextSibling.childNodes[0])});for(var r=0;r<i.length;r++)!i[r]||isNaN(i[r].duration)||i[r].paused||(i[r].pause(),i[r].currentTime=0)}},{key:"handleNext",value:function(){this.state.mySwiper.slideNext()}},{key:"handlePrev",value:function(){this.state.mySwiper.slidePrev()}},{key:"SampleNextArrow",value:function(){return o.a.createElement("div",{className:"index__swiper-next___19p0v",onClick:this.handleNext.bind(this)},o.a.createElement(S.Icon,{name:"angle-right",className:"index__icon-arrows___eHY9T"}))}},{key:"SamplePrevArrow",value:function(){return o.a.createElement("div",{className:"index__swiper-prev___1icUv",onClick:this.handlePrev.bind(this)},o.a.createElement(S.Icon,{name:"angle-left",className:"index__icon-arrows___eHY9T"}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,r={backgroundColor:i.backgroundColor?i.backgroundColor:"#060606"},a=i&&i.videoList.length>0&&i.videoList.map(function(e,t){return o.a.createElement("div",{key:p()(),className:"swiper-slide swiper-no-swiping","data-sli
1der":t},o.a.createElement("div",{className:"video-mask","data-slider":t},o.a.createElement("div",{className:"video-title"},n(e.title))),o.a.createElement("div",{className:"swiper-video-box",style:{backgroundImage:"url(".concat(Object(f.a)(e.videoPoster),")")},"data-slider":t},o.a.createElement("video",{muted:!0,loop:!0,name:"media",className:"video index__video___2f7Ip"},o.a.createElement("source",{"data-layzr-src":e.videoLink}))))});return o.a.createElement("section",{className:"section-with-video-swiper index__section-with-video-swiper___3NCKg",ref:function(t){e.videoDom=t},style:r},o.a.createElement("div",{className:"index__text-box___3-6Km"},i&&i.title?o.a.createElement("div",null,o.a.createElement("h2",{className:"title index__title___3BbmR","data-aos":"fade-in","data-aos-delay":"200",dangerouslySetInnerHTML:{__html:n(i.title)}}),o.a.createElement("p",{className:"index__horizon-line___cH19t","data-aos":"fade-in","data-aos-delay":"200"})):null,o.a.createElement("div",{className:"desc index__desc___16eDi","data-aos":"fade-in"},i?n(i.desc):"")),o.a.createElement("div",{className:"index__video-swiper-box___3McqC"},o.a.createElement("div",{className:"swiper-video-container",ref:function(t){e.mySwiper=t}},o.a.createElement("div",{className:"swiper-wrapper"},a)),i&&i.videoList.length>3&&this.SamplePrevArrow(),i&&i.videoList.length>3&&this.SampleNextArrow()),i&&i.learnMoreText?o.a.createElement("div",{className:"index__learn-more-box___37i3t"},o.a.createElement("a",{href:i.learnMoreLink,dangerouslySetInnerHTML:{__html:n(i.learnMoreText)}}),o.a.createElement(S.Icon,{name:"angle-right",className:"index__learn-more-icon___8wfDg"})):null)}}])&&Cs(n.prototype,i),r&&Cs(n,r),t}();As(Ds,"defaultProps",{t:function(){},component_data:{backgroundColor:"#060606",autoplay:!1,title:"千锤百炼 成就车规",desc:"车规版浩界将在全新自建的车规化智能制造和检测中心完成量产交付。该中心按工业4.0标准打造,引进世界领先的先进制造设备与专业队伍,可满足产品核心组件的自主高效生产和测试的需求。历经数年精心打磨,车规版浩界现已通过含EMC/机械/电气/环境可靠性等70余项车规可靠性相关测试项目,确保产品各项指标可满足前装量产车型的严格要求。",videoList:[{title:"机械测试1",videoLink:"/",videoPoster:"/"},{title:"机械测试2",videoLink:"/",videoPoster:"/"},{title:"机械测试3",videoLink:"/",videoPoster:"/"},{title:"机械测试4",videoLink:"/",videoPoster:"/"},{title:"机械测试5",videoLink:"/",videoPoster:"/"}]}}),As(Ds,"editSetting",{key:"sectionWithVideoSwiper",name:"sectionWithVideoSwiper",component_data:{backgroundColor:{type:"string",label:"背景色(支持英文代码、十六进制、rgb字符)"},autoplay:{type:"boolean",label:"是否自动轮播"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},videoList:{label:"text list",type:"array",items:{type:"object",title:{type:"i18n",label:"标题"},videoLink:{type:"i18n",label:"视频link"},videoPoster:{type:"image",label:"视频封面图"}}},learnMoreText:{label:"了解更多文案",type:"i18n"},learnMoreLink:{label:"了解更多链接",type:"string"}}});var zs=Object(m.a)(Ds);n(493);function Vs(e){return(Vs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Rs={"./index.css":{"sections-with-infoCard":"index__sections-with-infoCard___2NbF3","section-wrapper":"index__section-wrapper___HOMo3","section-title":"index__section-title___gWlII","section-desc":"index__section-desc___2-xNw",container:"index__container___3GQuk","flex-center":"index__flex-center___2G03_","link-icon":"index__link-icon___2ud1n","hide-warpper":"index__hide-warpper___3nrod",infoCard:"index__infoCard___2-e2P","only-three":"index__only-three___2vdLw","left-items":"index__left-items___3ug_P",image:"index__image___2tkv-",info:"index__info____Tk2V","center-items":"index__center-items___St0Mk",link:"index__link___3mkXc","three-items":"index__three-items___1z35T","two-items":"index__two-items___1DGqm",headline:"index__headline___BsP5A",desc:"index__desc___1NiLD","learn-more":"index__learn-more___1yshD","show-more":"index__show-more___6xBjn",less:"index__less___1D8a8"}};function Bs(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Fs(e,t){return!t||"object"!==Vs(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function Hs(e){return(Hs=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ws(e,t){return(Ws=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Us=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Fs(this,Hs(t).call(this,e))).state={showLess:!1,videoVisible:!1,videoLink:""},n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ws(e,t)}(t,o.a.Component),n=t,(i=[{key:"openVideoModal",value:function(e,t){e.preventDefault(),e.stopPropagation(),window.event.cancelBubble=!0,this.setState({videoVisible:!0,videoLink:t})}},{key:"render",value:function(){var e=this,t=this.props,n=t.component_data,i=void 0===n?{}:n,a=t.t,l=i.headline,s=i.description,c=i.align,u=i.imageWdith,d=i.number,p=i.list,m=this.state,_=m.showLess,h=m.videoVisible,b=m.videoLink,y=p&&Array.isArray(p)&&p.length,v="two-items"===d&&y>4||"three-items"===d&&y>5,g="two-items"===d?4:5,w=3===y&&"center-items"===c?"only-three":"",x=function(t,n){return o.a.createElement(U.a,{href:t.link,key:"".concat(t.headline+n),className:r()("infoCard ".concat(c," ").concat(d," ").concat(w),Rs)},t.image?o.a.createElement(S.LazyImage,{src:Object(f.a)(t.image),alt:a(t.headline),className:"index__image___2tkv-",style:{width:u}}):null,o.a.createElement("div",{className:"index__info____Tk2V"},o.a.createElement("h3",{className:"index__headline___BsP5A"},a(t.headline)),o.a.createElement("p",{className:"index__desc___1NiLD"},a(t.description)),o.a.createElement("p",{className:"index__link___3mkXc"},t.linkText&&o.a.createElement(U.a,{className:"index__learn-more___1yshD",href:t.link,target:"_blank"},a(t.linkText),o.a.createElement(S.Icon,{name:"external-link-o",className:"index__link-icon___2ud1n"})),t.videoText&&o.a.createElement("div",{className:"index__learn-more___1yshD",onClick:function(n){return e.openVideoModal(n,t.video)}},a(t.videoText),o.a.createElement(S.Icon,{name:"play-circle",className:"index__link-icon___2ud1n"})))))};return o.a.createElement("div",{className:"index__sections-with-infoCard___2NbF3"},o.a.createElement("section",{className:"index__section-wrapper___HOMo3"},o.a.createElement("h2",{className:"index__section-title___gWlII"},a(l)),o.a.createElement("p",{className:"index__section-desc___2-xNw"},a(s)),o.a.createElement("div",{className:r()("container ".concat(1===y?"flex-center":""),Rs)},y>0?p.map(function(e,t){return t<g&&x(e,t)}):null),o.a.createElement("div",{className:"index__container___3GQuk index__hide-warpper___3nrod",style:{maxHeight:_?"100vh":0}},y>0?p.map(function(e,t){return t>=g&&x(e,t)}):null),v?o.a.createElement("button",{className:"index__show-more___6xBjn",onClick:function(){return e.setState({showLess:!_})}},o.a.createElement("span",null,a(_?"v1.common.product.show_less":"v1.common.product.show_more")),o.a.createElement(S.Icon,{name:"angle-down",className:r()("link-icon ".concat(_?"less":""),Rs)})):null,h&&b?o.a.createElement(P.a,{visible:h,videoLink:b,onClose:function(){return e.setState({videoVisible:!1})}}):null))}}])&&Bs(n.prototype,i),a&&Bs(n,a),t}();qs(Us,"editSetting",{key:"sectionsWithInfoCard",name:"sectionsWithInfoCard",component_data:{headline:{type:"i18n",label:"标题"},description:{type:"i18n",label:"描述"},align:{type:"select",label:"布局",items:[{value:"left-items",label:"居左"},{value:"center-items",label:"居中"}]},imageWdith:{type:"string",label:"图片宽度"},number:{type:"select",label:"第二行卡片数量",items:[{value:"two-items",label:"两个"},{value:"three-items",label:"三个"}]},list:{label:"列表",type:"array",items:{type:"object",image:{type:"image",label:"icon或图片"},headline:{type:"i18n",label:"标题"},description:{type:"i18n",label:"描述"},linkText:{type:"i18n",label:"链接文本"},link:{type:"i18n",label:"链接"},videoText:{type:"i18n",label:"观看视频文本"},video:{type:"i18n",label:"观看视频链接"}}}}}),qs(Us,"defaultProps",{t:function(){},component_data:{headline:"Product Support",description:"Description",align:"left-items",imageWdith:"",number:"two-items",list:[{image:"",headline:"Title",description:"Description",linkText:"Link Text",link:"/",videoText:"Watch Video",video:"/"}]}});var Gs=Object(m.a)(Us);n(494);function Ys(e){return(Ys="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Ks={"./index.css":{"sections-with-videoCard":"index__sections-with-videoCard___3CO5C","section-wrapper":"index__section-wrapper___I8T23","section-title":"index__section-title___X_RiE",container:"index__container___9v_2n","flex-center":"index__flex-center___1sy_J",videoCard:"index__videoCard___1WgdL","four-items":"index__four-items___13nrH","image-box":"index__image-box___D4dI2","five-items":"index__five-items___3XQkZ","seven-items":"index__seven-items___1IRVs","play-button":"index__play-button___KZ3sL","play-icon":"index__play-icon___j997S",image:"index__image___kpI6Q",info:"index__info___13izx","info-title":"index__info-title___egUWK"}};function Xs(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function $s(e,t){return!t||"object"!==Ys(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function Zs(e){return(Zs=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Qs(e,t){return(Qs=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Js(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ec=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=$s(this,Zs(t).call(this,e))).state={videoVisible:!1,videoLink:""},n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qs(e,t)}(t,o.a.Component),n=t,(i=[{key:"handelVideo",value:function(e){var t=this.state.videoVisible;this.setState({videoVisible:!t,videoLink:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.component_data,i=void 0===n?{}:n,a=t.t,l=i.sectionTitle,s=i.videoList,c=this.state,u=c.videoVisible,d=c.videoLink,p=s&&Array.isArray(s)&&s.length,m="";m=4===p?"four-items":p>=5&&p<7?"five-items":p>=7?"seven-items":"";return o.a.createElement("div",{className:"index__sections-with-videoCard___3CO5C"},o.a.createElement("section",{className:"index__section-wrapper___I8T23"},o.a.createElement("h2",{className:"index__section-title___X_RiE"},a(l)),o.a.createElement("div",{className:r()("container ".concat(p<=2?"flex-center":""),Ks)},p>0?s.map(function(t,n){return o.a.createElement("div",{key:"".concat(t.title+n),className:r()("videoCard ".concat(m),Ks)},t.image?o.a.createElement("div",{className:"index__image-box___D4dI2",onClick:function(){return e.setState({videoVisible:!0,videoLink:t.link})}},o.a.createElement("div",{className:"index__play-button___KZ3sL"},o.a.createElement("img",{className:"index__play-icon___j997S",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNiAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi43NDE1IDkuMzI1NjFMNS42NDgzNiAxMy4zMzI5QzUuMTY3MzggMTMuNjA0NiA0LjU1NzIzIDEzLjQzNDkgNC4yODU1NiAxMi45NTM4QzQuMjAwOCAxMi44MDM3IDQuMTU2MjUgMTIuNjM0MiA0LjE1NjI1IDEyLjQ2MThMNC4xNTYyNSA0LjQ0NzIzQzQuMTU2MjUgMy44OTQ3IDQuNjA0MDYgMy40NDY3OCA1LjE1NjQ3IDMuNDQ2NzhDNS4zMjg4MyAzLjQ0Njc4IDUuNDk4MjggMy40OTEzMyA1LjY0ODM2IDMuNTc2MTJMMTIuNzQxNSA3LjU4MzM5QzEzLjIyMjUgNy44NTUxMyAxMy4zOTIyIDguNDY1NDIgMTMuMTIwNSA4Ljk0NjUyQzEzLjAzMSA5LjEwNTAyIDEyLjkgOS4yMzYwOSAxMi43NDE1IDkuMzI1NjFaIiBmaWxsPSJ3aGl0ZSIvPgo8bWFzayBpZD0ibWFzazBfNTkwXzc1NTYiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjQiIHk9IjMiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTIuNzQxNSA5LjMyNTYxTDUuNjQ4MzYgMTMuMzMyOUM1LjE2NzM4IDEzLjYwNDYgNC41NTcyMyAxMy40MzQ5IDQuMjg1NTYgMTIuOTUzOEM0LjIwMDggMTIuODAzNyA0LjE1NjI1IDEyLjYzNDIgNC4xNTYyNSAxMi40NjE4TDQuMTU2MjUgNC40NDcyM0M0LjE1NjI1IDMuODk0NyA0LjYwNDA2IDMuNDQ2NzggNS4xNTY0NyAzLjQ0Njc4QzUuMzI4ODMgMy40NDY3OCA1LjQ5ODI4IDMuNDkxMzMgNS42NDgzNiAzLjU3NjEyTDEyLjc0MTUgNy41ODMzOUMxMy4yMjI1IDcuODU1MTMgMTMuMzkyMiA4LjQ2NTQyIDEzLjEyMDUgOC45NDY1MkMxMy4wMzEgOS4xMDUwMiAxMi45IDkuMjM2MDkgMTIuNzQxNSA5LjMyNTYxWiIgZmlsbD0id2hpdGUiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzU5MF83NTU2KSI+CjwvZz4KPC9zdmc+Cg==",alt:"play-icon"})),o.a.createElement(S.LazyImage,{src:Object(f.a)(t.image),alt:a(t.title),className:"index__image___kpI6Q"})):null,o.a.createElement("div",{className:"index__info___13izx"},o.a.createElement("h3",{className:"index__info-title___egUWK"},a(t.title))))}):null),u&&d?o.a.createElement(P.a,{visible:u,videoLink:d,onClose:function(){return e.setState({videoVisible:!1})}}):null))}}])&&Xs(n.prototype,i),a&&Xs(n,a),t}();Js(ec,"editSetting",{key:"sectionsWithVideoCard",name:"sectionsWithVideoCard",component_data:{sectionTitle:{type:"i18n",label:"主标题"},videoList:{label:"视频列表",type:"array",items:{type:"object",image:{type:"image",label:"封面图"},title:{type:"i18n",label:"视频标题"},link:{type:"string",label:"视频链接"}}}}}),Js(ec,"defaultProps",{t:function(){},component_data:{sectionTitle:"Tutorials",videoList:[{image:"",title:"Video Title",link:"/"}]}});var tc=Object(m.a)(ec);n(355);function nc(e){return(nc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ic(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function rc(e,t){return!t||"object"!==nc(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function ac(e){return(ac=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function oc(e,t){return(oc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function lc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sc=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=rc(this,ac(t).call(this,e))).state={},n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oc(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=document.getElementsByClassName("dbv-tab-card-img-m"),t=document.getElementsByClassName("replay-dbv-tab-card-img-m"),n=this.props.component_data.isbool;if(0!==e.length)new te.a({reset:!1,replayWhenRevisible:!n,visiblePlay:!n,lazyLoad:!0,lazyLoadThreshold:1200,containerClassName:"dbv-tab-card-img-m",replayClassName:"replay-button-tab-card"});if(0!==t.length)new te.a({reset:!1,replayWhenRevisible:!n,visiblePlay:!n,lazyLoad:!0,lazyLoadThreshold:1200,containerClassName:"replay-dbv-tab-card-img-m",replayClassName:"replay-button-tab-card"})}},{key:"rePlay",value:function(){(0,this.props.swiperRePlay)()}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"render",value:function(){var e=this,t=this.props.component_data,n=t.list,i=t.isbool,r=Array.isArray(n)?n.map(function(t){return o.a.createElement("div",{key:p()(),className:"swiper-slide index__card-item___nNPap"},t.video?o.a.createElement("div",{style:{position:"relative",backgroundImage:"url(".concat(Object(f.a)(t.videoImg),")"),backgroundSize:"cover"},className:"true"===t.isReplay?"replay-dbv-tab-card-img-m cls":"dbv-tab-card-img-m cls"},o.a.createElement("video",{muted:!0,className:"sliderVideoPC slidervideo-pc index__slidervideo-pc___3ZPH_",name:"media",loop:!i&&"true"===t.isloop,"data-downgrade-img":Object(f.a)(t.videoImg),"data-downgrade-href":t.downgradeVideoLink,onEnded:function(){e.rePlay()},style:{display:"block",width:"1200px"}},o.a.createElement("source",{"data-layzr-src":t.video})),o.a.createElement("div",{className:"true"===t.isReplay?"replay-button-tab-card":"replay-button-tab-card replay-button-hidden-m"})):o.a.createElement("div",null,t.backgroundImg&&o.a.createElement("img",{className:"index__card-img___vi2Gw",src:Object(f.a)(t.backgroundImg),alt:""})))}):null;return o.a.createElement("div",{className:"swiper-wrapper"},r)}}])&&ic(n.prototype,i),r&&ic(n,r),t}();lc(sc,"PropTypes",{component_data:u.a.object,t:u.a.func,swiperRePlay:u.a.func}),lc(sc,"defaultProps",{t:function(){},component_data:{},swiperRePlay:function(){}});var cc=Object(m.a)(sc);function uc(e){return(uc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var dc={"swiper/css/swiper.min.css":{"swiper-container":"swiper-min__swiper-container___16d2n","swiper-container-vertical":"swiper-min__swiper-container-vertical___1_GZN","swiper-wrapper":"swiper-min__swiper-wrapper___1p58p","swiper-container-android":"swiper-min__swiper-container-android___1wZmr","swiper-slide":"swiper-min__swiper-slide___2iL4V","swiper-container-multirow":"swiper-min__swiper-container-multirow___3a2oH","swiper-container-multirow-column":"swiper-min__swiper-container-multirow-column___2hnLk","swiper-container-free-mode":"swiper-min__swiper-container-free-mode___22gOm","swiper-slide-invisible-blank":"swiper-min__swiper-slide-invisible-blank___1x3QM","swiper-container-autoheight":"swiper-min__swiper-container-autoheight___3EeHE","swiper-container-3d":"swiper-min__swiper-container-3d___2nUm_","swiper-cube-shadow":"swiper-min__swiper-cube-shadow___WvUzD","swiper-slide-shadow-bottom":"swiper-min__swiper-slide-shadow-bottom___3QLX7","swiper-slide-shadow-left":"swiper-min__swiper-slide-shadow-left___1Wc7d","swiper-slide-shadow-right":"swiper-min__swiper-slide-shadow-right___3zLn5","swiper-slide-shadow-top":"swiper-min__swiper-slide-shadow-top___1BqCj","swiper-container-css-mode":"swiper-min__swiper-container-css-mode___1r1GG","swiper-container-horizontal":"swiper-min__swiper-container-horizontal___2kc7C","swiper-button-next":"swiper-min__swiper-button-next___3Nf2W","swiper-button-prev":"swiper-min__swiper-button-prev___bJaxA","swiper-button-disabled":"swiper-min__swiper-button-disabled___1i-b4","swiper-container-rtl":"swiper-min__swiper-container-rtl___1n4-t","swiper-button-white":"swiper-min__swiper-button-white___3AUO8","swiper-button-black":"swiper-min__swiper-button-black___2TLFd","swiper-button-lock":"swiper-min__swiper-button-lock___1MbQA","swiper-pagination":"swiper-min__swiper-pagination___2VrmL","swiper-pagination-hidden":"swiper-min__swiper-pagination-hidden___ujdIj","swiper-pagination-bullets":"swiper-min__swiper-pagination-bullets___1wjiC","swiper-pagination-custom":"swiper-min__swiper-pagination-custom___18wyB","swiper-pagination-fraction":"swiper-min__swiper-pagination-fraction___1uGsT","swiper-pagination-bullets-dynamic":"swiper-min__swiper-pagination-bullets-dynamic___3d8vi","swiper-pagination-bullet":"swiper-min__swiper-pagination-bullet___98gn_","swiper-pagination-bullet-active":"swiper-min__swiper-pagination-bullet-active___3g6hP","swiper-pagination-bullet-active-main":"swiper-min__swiper-pagination-bullet-active-main___1ocq8","swiper-pagination-bullet-active-prev":"swiper-min__swiper-pagination-bullet-active-prev___3VLWX","swiper-pagination-bullet-active-prev-prev":"swiper-min__swiper-pagination-bullet-active-prev-prev___2HJLy","swiper-pagination-bullet-active-next":"swiper-min__swiper-pagination-bullet-active-next___391kR","swiper-pagination-bullet-active-next-next":"swiper-min__swiper-pagination-bullet-active-next-next___5MadX","swiper-pagination-clickable":"swiper-min__swiper-pagination-clickable___3RHzo","swiper-pagination-progressbar":"swiper-min__swiper-pagination-progressbar___2WTUs","swiper-pagination-progressbar-fill":"swiper-min__swiper-pagination-progressbar-fill___10ZuR","swiper-pagination-progressbar-opposite":"swiper-min__swiper-pagination-progressbar-opposite___3g3eZ","swiper-pagination-white":"swiper-min__swiper-pagination-white___2neip","swiper-pagination-black":"swiper-min__swiper-pagination-black___15s0c","swiper-pagination-lock":"swiper-min__swiper-pagination-lock___1c7vg","swiper-scrollbar":"swiper-min__swiper-scrollbar___yWFY7","swiper-scrollbar-drag":"swiper-min__swiper-scrollbar-drag___1REK2","swiper-scrollbar-cursor-drag":"swiper-min__swiper-scrollbar-cursor-drag___Z7bRA","swiper-scrollbar-lock":"swiper-min__swiper-scrollbar-lock___2t1vP","swiper-zoom-container":"swiper-min__swiper-zoom-container___3y5Pk","swiper-slide-zoomed":"swiper-min__swiper-slide-zoomed___2C6uh","swiper-lazy-preloader":"swiper-min__swiper-lazy-preloader___2FcYI","swiper-preloader-spin":"swiper-min__swiper-preloader-spin___1XE0t","swiper-lazy-preloader-white":"swiper-min__swiper-lazy-preloader-white___1CpW0","swiper-lazy-preloader-black":"swiper-min__swiper-lazy-preloader-black___3vgOi","swiper-notification":"swiper-min__swiper-notification___20v7F","swiper-container-fade":"swiper-min__swiper-container-fade___25Fq5","swiper-slide-active":"swiper-min__swiper-slide-active___OWL4Q","swiper-container-cube":"swiper-min__swiper-container-cube___3R_II","swiper-slide-next":"swiper-min__swiper-slide-next___3uSmn","swiper-slide-prev":"swiper-min__swiper-slide-prev___YFCWM","swiper-container-flip":"swiper-min__swiper-container-flip___3qpc0"},sty:{"tab-card-component":"index__tab-card-component___1MWSE","tab-card-container":"index__tab-card-container___XGocG","text-box":"index__text-box___2yTip",title:"index__title___bkvdc","horizontal-line":"index__horizontal-line___1JzJW","video-content":"index__video-content___2tGsR","card-item":"index__card-item___nNPap","card-img":"index__card-img___vi2Gw","slidervideo-pc":"index__slidervideo-pc___3ZPH_","tab-bar-wrap":"index__tab-bar-wrap___PItLc","tab-bar-content":"index__tab-bar-content___3Etp0","tab-bar-content-item":"index__tab-bar-content-item___3EcFo","tab-bar-content-item-icon":"index__tab-bar-content-item-icon___1M6ow","tab-bar-content-item-desc":"index__tab-bar-content-item-desc___1Ikt9","tab-bar-selected":"index__tab-bar-selected___5Qeo4","tab-bar-desc-content":"index__tab-bar-desc-content___3jd-o","tab-bar-desc":"index__tab-bar-desc___2HLO0","replay-button-tab-card":"index__replay-button-tab-card___hP56L","replay-button-hidden-m":"index__replay-button-hidden-m___3K4cS"}};function pc(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function fc(e,t){return!t||"object"!==uc(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function mc(e){return(mc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _c(e,t){return(_c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function hc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bc=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=fc(this,mc(t).call(this,e))).state={currentItem:0,swiper:null,isLoop:!1,itemLength:0},n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_c(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=this,t=this.props.component_data,n=t.isbool,i=t.list.length;this.setState({isLoop:n,itemLength:i});var r=new ci.a(".tab-card-swiper-pc",{autoplay:!!n&&{delay:5e3},effect:"fade",fadeEffect:{crossFade:!0},on:{init:function(){e.stopVideoPlay(),e.setState({currentItem:this.activeIndex});var t=this.slides[this.activeIndex].childNodes[0].childNodes[0],i=this.slides[this.activeIndex].childNodes[0].childNodes[1];t&&"VIDEO"===t.tagName&&(i&&(i.style.display="none"),this.autoplay.stop(),t.currentTime=0,t.play()),n&&this.autoplay.start()},slideChangeTransitionStart:function(){e.stopVideoPlay()},slideChangeTransitionEnd:function(){e.setState({currentItem:this.activeIndex});var t=this.slides[this.activeIndex].childNodes[0].childNodes[0],i=this.slides[this.activeIndex].childNodes[0].childNodes[1];t&&"VIDEO"===t.tagName&&(i&&(i.style.display="none"),this.autoplay.stop(),t.play()),n&&this.autoplay.start()},slideChange:function(){e.stopVideoPlay()}}});this.setState({swiper:r})}},{key:"stopVideoPlay",value:function(){for(var e=document.getElementsByClassName("sliderVideoPC"),t=e.length,n=0;n<t;n++)e[n].currentTime=0,e[n].pause()}},{key:"swiperRePlay",value:function(){var e=this.state,t=e.isLoop,n=e.itemLength;t&&(this.state.swiper.autoplay.start(),n>this.state.swiper.activeIndex+1?this.state.swiper.slideNext(0,!0):this.state.swiper.slideTo(0))}},{key:"switchItem",value:function(e){var t=this.state,n=t.swiper,i=t.isLoop,r=t.currentItem,a=n.slides[r].childNodes[0].childNodes[0];a&&"VIDEO"===a.tagName&&(a.currentTime=0),n.slideTo(e,0,!0),i&&n.autoplay.start()}},{key:"render",value:function(){var e=this,t=this.props,n=t.component_data,i=t.t,a=n.list,l=a.length,s=this.state.currentItem;return o.a.createElement("section",{className:"index__tab-card-component___1MWSE"},o.a.createElement("div",{className:"index__tab-card-container___XGocG"},o.a.createElement("div",{className:"index__text-box___2yTip"},o.a.createElement("h2",{className:"index__title___bkvdc",dangerouslySetInnerHTML:{__html:i(n.mainTitle)}}),o.a.createElement("p",{className:"index__horizontal-line___1JzJW"}),o.a.createElement("div",{className:"tab-card-swiper-pc swiper-no-swiping index__video-content___2tGsR"},o.a.createElement(cc,{component_data:n,t:i})),o.a.createElement("div",{className:"index__tab-bar-wrap___PItLc"},o.a.createElement("div",{className:"index__tab-bar-content___3Etp0",style:{width:"".concat(140*l,"px")}},l?a.map(function(t,n){return o.a.createElement("div",{key:p()(),onClick:function(){n!==s&&(e.setState({currentItem:n}),e.switchItem(n))},className:r()(n===s?"sty.tab-bar-content-item sty.tab-bar-selected":"sty.tab-bar-content-item",dc)},t.image&&o.a.createElement("div",{className:"index__tab-bar-content-item-icon___1M6ow"},o.a.createElement("img",{src:Object(f.a)(t.image),width:"62px",height:"62px"})),o.a.createElement("p",{className:"index__tab-bar-content-item-desc___1Ikt9",dangerouslySetInnerHTML:{__html:i(t.headline)}}))}):null),o.a.createElement("div",{className:"index__tab-bar-desc-content___3jd-o"},o.a.createElement("p",{className:"index__tab-bar-desc___2HLO0",dangerouslySetInnerHTML:{__html:i(a[s].desc)}}))))))}}])&&pc(n.prototype,i),a&&pc(n,a),t}();hc(bc,"editSetting",{component_data:{mainTitle:{type:"i18n",label:"主标题"},isbool:{type:"boolean",label:"是否轮播"},list:{label:"列表",type:"array",items:{type:"object",image:{type:"image",label:"icon或图片"},headline:{type:"i18n",label:"标题"},videoImg:{type:"image",label:"视频背景图片"},video:{type:"string",label:"视频链接"},desc:{type:"i18n",label:"产品描述"},backgroundImg:{type:"image",label:"背景图片(不填视频时以图片形式展示)"},isReplay:{type:"string",label:"是否需要重新播放功能(true or false 不填为false)"},isloop:{type:"string",label:"是否需要循环播放(true or false 不填为false)"}}}}}),hc(bc,"defaultProps",{t:function(){},component_data:{mainTitle:"高效开发,拓展潜能",isloop:!1,list:[{image:"",headline:"参标定等",videoImg:"",video:"",desc:"Livox SDK 支持 Linux/Windows/macOS/ROS 等多种操作系统以及 C/C++/Python 等各种开发语言,方便用户在各种平台上使用 Livox 激光雷达。Livox 还提供 SLAM、外参标定等常用算法,帮助用户快速上手",backgroundImg:"",isReplay:"true",isloop:"false"},{image:"",headline:"操作系统",videoImg:"",video:"",desc:"Livox SDK 支持 Linux/Windows/macOS/ROS 等多种操作系统以及 C/C++/Python 等各种开发语言,方便用户在各种平台上使用 Livox 激光雷达。Livox 还提供 SLAM、外参标定等常用算法,帮助用户快速上手",backgroundImg:"",isReplay:"true",isloop:"false"}]}});var yc=Object(m.a)(bc),vc={myComponent:E,subNav:k.a,productBanner:A,videoIntro:q,brickWall:J,brickWallV2:ue,buyingGuide:ge,comment:Ne,homeBanner:Ve,textPic:Ge,picText:et,fivePic:ct,sdk:bt,fourToOneBanner:Dt,orderComponent:Tt.a,termsComponent:Pt,tpFooter:O.a,invitationCode:un,navComponent:zt.a,attention:Ut,popUp:yn,pageTitle:Sn,newsVertical:In,newsHorizontal:Hn,newsDetail:$n,contactForm:Zn.a,partner
1Ship:li,squareComponents:bi,tabComponents:ki,homeSwiper:Bi,productSupport:Xi,supportBrick:ir,collapse:pr,verticalTabs:wr,sectionWithHero:Mr,sectionWithParallax:Wr,sectionWithParallaxT15:Qr,sectionWithPrecision:oa,sectionWithTextImg:_a,sectionWithVideoReplay:Sa,sectionWithVideoReplayT15:Aa,sectionWithTabSlider:ml,infoCardWithImg:Cl,infoCardWithIcon:Bl,tabSwitchSlider:Kl,showcaseSwiper:ns,infoBlock:us,videoSwiper:vs,dataSetVerticalSection:Ps,dataSetFormComponent:Ts.a,sectionWithVideoSwiper:zs,sectionWithInfoCard:Gs,sectionWithVideoCard:tc,tabCard:yc};t.default=Object.assign(vc)},291:function(e,t,n){"use strict";n.r(t);var i=n(5),r=n.n(i),a=n(0),o=n.n(a),l=n(6),s=n.n(l),c=(n(1),n(7)),u=n.n(c),d=n(4),p=n(3);n(495);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var m={"./style.css":{section:"style__section___24QoI","light-theme":"style__light-theme___1v-yL",title:"style__title___2Ffb2",link:"style__link___21u9O",desc:"style__desc___2pxYK","spec-list":"style__spec-list___XC4Vw","link-list":"style__link-list___3xBtL"}};function _(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function h(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),h(this,b(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,a={height:parseInt(n.height,10),backgroundColor:n.bgcolor},l={fontSize:parseInt(n.titleSize,10)},c=s()({section:!0,"light-theme":n.light}),p=n.specList&&n.specList.map(function(e){return o.a.createElement("li",{key:u()()},o.a.createElement("h4",null,e.num),o.a.createElement("p",null,i(e.spec)))});return o.a.createElement("section",{style:a,className:r()(c,m)},o.a.createElement("h2",{className:"style__title___2Ffb2",style:l},i(n.sectionTitle)),o.a.createElement("p",{className:"style__desc___2pxYK"},i(n.sectionDesc)),o.a.createElement("p",{className:"style__desc___2pxYK"},i("v1.test.text1")),o.a.createElement("img",{src:Object(d.a)(n.productImage),alt:n.productImage,style:{width:"320px",height:"320px"}}),o.a.createElement("ul",{className:"style__spec-list___XC4Vw"},p),o.a.createElement("div",{className:"style__link-list___3xBtL"},n.linkList&&n.linkList.map(function(e){return o.a.createElement("p",{key:u()()},i(e))})))}}])&&_(n.prototype,i),a&&_(n,a),t}();v(g,"defaultProps",{t:function(){},component_data:{bgcolor:"#f7f8f9",height:"840",test1:"tp.section.222",light:!1,titleSize:36,specList:[{num:30,spec:"分钟续航"},{num:7,spec:"公里控制距离"},{num:1,spec:"英寸传感器"}],linkList:["1. 功能预计发布时间为2019年1月。","2. 根据当地法规,部分国家和地区不支持 5.8GHz。","3. 飞行速度不超过 8 米/秒时生效。"],productImage:""}}),v(g,"editSetting",{key:"myComponent",name:"myComponent",component_data:{bgcolor:{label:"模块背景色",type:"string"},sectionTitle:{label:"Title文案",type:"i18n"},sectionDesc:{label:"Desc文案",type:"i18n"},height:{label:"模块高度(px)",type:"number"},light:{label:"使用浅色调文本",type:"boolean"},titleSize:{type:"select",label:"标题字号",items:[{value:24,label:"24px"},{value:32,label:"32px"},{value:36,label:"36px"}]},linkList:{type:"array",label:"注释",items:{type:"i18n",label:"注释"}},specList:{type:"array",label:"技术参数list",items:{type:"object",num:{type:"number",label:"数值"},spec:{type:"i18n",label:"技术参数"}}},imgList:{type:"array",label:"img list",items:{type:"object",num:{type:"image",label:"图片"}}},productImage:{label:"产品图片",type:"image"}}});var w=Object(p.a)(g),x=n(2),E=n(12);n(496);function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}
1function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var j=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=S(t).call(this,e))||"object"!==O(r)&&"function"!=typeof r?P(i):r).state={videoVisible:!1},n.handleVideoShow=n.handleVideoShow.bind(P(n)),n.handleVideoHide=n.handleVideoHide.bind(P(n)),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}(t,o.a.Component),n=t,(i=[{key:"handleVideoShow",value:function(){this.setState({videoVisible:!0})}},{key:"handleVideoHide",value:function(){this.setState({videoVisible:!1})}},{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,r=this.state.videoVisible;return o.a.createElement("section",{className:"index__banner-container___qoA55"},o.a.createElement("div",{className:"index__banner-img-container___2GsGO"},o.a.createElement(x.LazyImage,{src:Object(d.a)(n.backgroundImg),className:"index__banner-img___1gAAa"})),o.a.createElement("div",{className:"index__text___3xK0h"},o.a.createElement("h1",null,i(n.title)),o.a.createElement("p",null,i(n.desc)),n.videoLink?o.a.createElement("button",{type:"button",className:"index__video-link___XGdIp",onClick:this.handleVideoShow},i("v1.common.product.watch_video.1"),o.a.createElement(x.Icon,{name:"play-circle-o",className:"index__video-play___1CwIz"})):null),o.a.createElement(E.a,{visible:r,videoLink:n?n.videoLink:"/",onClose:this.handleVideoHide}))}}])&&k(n.prototype,i),r&&k(n,r),t}();N(j,"editSetting",{key:"productBanner",name:"productBanner",component_data:{videoLink:{label:"视频链接",type:"string"},backgroundImg:{label:"banner图片",type:"image"},title:{label:"标题",type:"i18n"},desc:{label:"描述",type:"i18n"}}}),N(j,"defaultProps",{t:function(){},component_data:{videoLink:"/",title:"标题",desc:"描述"}});var C=Object(p.a)(j);n(497);function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function M(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var V=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=I(t).call(this,e))||"object"!==L(r)&&"function"!=typeof r?A(i):r).state={videoVisible:!1},n.handleVideoShow=n.handleVideoShow.bind(A(n)),n.handleVideoHide=n.handleVideoHide.bind(A(n)),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}(t,o.a.Component),n=t,(i=[{key:"handleVideoShow",value:function(){this.setState({videoVisible:!0})}},{key:"handleVideoHide",value:function(){this.setState({videoVisible:!1})}},{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,r=this.state.videoVisible;return o.a.createElement("section",{className:"index__wrapper___2DjAJ"},o.a.createElement("h2",{className:"index__section-title___3CXfh"},i(n.title)),o.a.createElement("p",{className:"index__section-desc___3QK8y"},i(n.desc)),o.a.createElement("div",{className:"index__video-wrap___2ftK7"}
1,o.a.createElement(x.LazyImage,{src:Object(d.a)(n.videoCover),className:"index__video-cover___2mg9g"}),o.a.createElement(x.Icon,{name:"play-circle-o",className:"index__video-play___12pW6",onClick:this.handleVideoShow})),n?function(e){if(!Array.isArray(e))return null;var t=e.map(function(e){return o.a.createElement("div",{key:i(e.featureName),className:"index__feature-item___12zI-"},o.a.createElement(x.LazyImage,{src:Object(d.a)(e.icon),className:"index__feature-icon___3_5Jk"}),o.a.createElement("h4",{className:"index__feature-name___2Nu-b",dangerouslySetInnerHTML:{__html:i(e.featureName)}}),o.a.createElement("p",{className:"index__feature-desc___PuB38"},i(e.featureDesc)))});return o.a.createElement("div",{className:"index__feature-container___w7bSK"},t)}(n.features):null,o.a.createElement(E.a,{visible:r,videoLink:n?n.videoLink:"/",onClose:this.handleVideoHide}))}}])&&M(n.prototype,i),r&&M(n,r),t}();z(V,"editSetting",{key:"videoIntroductionSection",name:"videoIntroductionSection",component_data:{features:{label:"文案及icon",type:"array",items:{type:"object",icon:{type:"image",label:"icon"},featureName:{type:"i18n",label:"特点标题"},featureDesc:{type:"i18n",label:"特点描述"}}},videoLink:{label:"视频链接",type:"string"},videoCover:{label:"视频封面图",type:"image"},title:{label:"标题",type:"i18n"},desc:{label:"描述",type:"i18n"}}}),z(V,"defaultProps",{t:function(){},component_data:{features:[{icon:"02998b3c8feb334e9a3999c5d0c89335.png",featureName:"特点",featureDesc:"一段描述"}],videoLink:"/",videoCover:"/",title:"标题",desc:"描述"}});var R=Object(p.a)(V),B=n(8);n(498);function F(e){return(F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function H(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function W(e,t){return!t||"object"!==F(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function q(e){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function U(e,t){return(U=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Y=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),W(this,q(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e,t=this.props,n=t.component_data,i=void 0===n?{}:n,r=t.t;return o.a.createElement("section",{className:"index__features-section___udUgg"},i?o.a.createElement("div",{className:"index__text-box___3UcJu","data-aos":"fade-in"},o.a.createElement("h2",{className:"index__main-title___1a9wQ"},r(i.title)),o.a.createElement("p",{className:"index__horizon-line___2LJlq"})):null,i.desc?o.a.createElement("div",{className:"index__section-desc___1r5PQ"},r(i.desc)):null,i?(e=i.data,Array.isArray(e)&&e.length?e.map(function(e){return o.a.createElement("div",{className:"index__feature-wrap___1plXo",key:r(e.title)},o.a.createElement(x.LazyImage,{src:Object(d.a)(e.img),className:"index__img-part___37k08","data-aos":"fade-in"}),o.a.createElement("div",{className:"index__text-wrap___1XgMc"},e.title?o.a.createElement("h3",{className:"index__feature-title___237ak","data-aos":"fade-in"},r(e.title)):null,e.desc?o.a.createElement("p",{className:"index__feature-desc___1OGpD","data-aos":"fade-in"},r(e.desc)):null,e.link?o.a.createElement(B.a,{href:e.link,className:"learn-more index__learn-more___1KaBG","data-aos":"fade-in"},r("v1.common.product.learn_more.1"),o.a.createElement(x.Icon,{name:"angle-right",className:"index__learn-more-icon___vICP3"})):null))}):null):null)}}
1])&&H(n.prototype,i),r&&H(n,r),t}();G(Y,"defaultProps",{t:function(){},component_data:{title:"应用场景",data:[{img:"c4184df42cfe4abe0f4e4faea8e69508.jpg",desc:"描述",title:"标题",link:"/"}]}}),G(Y,"editSetting",{key:"features",name:"features",component_data:{title:{type:"i18n",label:"大标题"},desc:{type:"i18n",label:"描述"},data:{label:"展示的数据",type:"array",items:{type:"object",img:{type:"image",label:"图片"},desc:{type:"i18n",label:"描述"},title:{type:"i18n",label:"标题"},link:{type:"string",label:"链接"}}}}});var K=Object(p.a)(Y);n(499);function X(e){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Z(e,t){return!t||"object"!==X(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Q(e){return(Q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function J(e,t){return(J=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var te=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Z(this,Q(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e,t,n=this.props,i=n.component_data,r=void 0===i?{}:i,a=n.t,l={dots:!0,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,LazyLoad:!0,appendDots:function(e){return o.a.createElement("div",{style:{bottom:"45px"}},o.a.createElement("ul",{className:"index__pagination-wrap___1ciPD"},e))},customPaging:function(){return o.a.createElement("div",{className:"index__pagination___2RH1a"})}};return o.a.createElement("section",{className:"index__wrapper___2WryU"},o.a.createElement("h2",{className:"index__section-title___iasWx"},a(r.title)),o.a.createElement("div",{className:"index__container___11FMu"},(e=r.data,t=e.map(function(e){return o.a.createElement("div",{key:a(e.name)},o.a.createElement("div",{className:"index__img-wrap___2UaZm"},o.a.createElement("img",{className:"index__img-item___2dH1Y",src:Object(d.a)(e.img),alt:a(e.name)})),o.a.createElement("p",{className:"index__desc___1RBOa"},a(e.name)))}),o.a.createElement(x.Carousel,l,t))))}}])&&$(n.prototype,i),r&&$(n,r),t}();ee(te,"editSetting",{key:"carousel",name:"carousel",component_data:{data:{label:"内容",type:"array",items:{type:"object",img:{type:"image",label:"图片"},name:{type:"i18n",label:"文案"}}},title:{label:"标题",type:"i18n"}}}),ee(te,"defaultProps",{t:function(){},component_data:{data:[{img:"/",name:"特点"}],title:"大标题"}});var ne=Object(p.a)(te),ie=n(11),re=n(22);n(500);function ae(e){return(ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var oe={"./index.css":{"bg-section":"index__bg-section___2AmL6","section-title":"index__section-title___2qgVx","section-price":"index__section-price___3ewFf",btn:"index__btn____IZPY","product-img":"index__product-img___GgKrN","buy-btn":"index__buy-btn___3f_Xq","buy-btn-item":"index__buy-btn-item___1id5x","link-btn":"index__link-btn___32EXb","modal-default-btn":"index__modal-default-btn___Od9kq","modal-primary-btn":"index__modal-primary-btn___2NB3p","modal-title":"index__modal-title___1ToBE","modal-body":"index__modal-body___3irDl","modal
1-desc":"index__modal-desc___39eR6","modal-container":"index__modal-container___XZuaN","modal-wrap":"index__modal-wrap___MGSlG",checkbox:"index__checkbox___SfFKB","modal-visible":"index__modal-visible___3NsBC","mobile-mode":"index__mobile-mode___3slrU","basic-button-box":"index__basic-button-box___2xwqS","theme-dark":"index__theme-dark___2x7oq","theme-light":"index__theme-light___f7gHT","dark-section":"index__dark-section___2EXRY","light-section":"index__light-section___3OtyQ"}};function le(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function se(e){return(se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ce(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ue(e,t){return(ue=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function de(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pe=function(e){function t(){var e,n,i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(i=se(t).call(this))||"object"!==ae(i)&&"function"!=typeof i?ce(n):i).state={initModal:!1,modalVisible:!1,activeBtns:!1},e.showModal=e.showModal.bind(ce(e)),e.closeModal=e.closeModal.bind(ce(e)),e.handleModalCheck=e.handleModalCheck.bind(ce(e)),e}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ue(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){this.setState({initModal:!0})}},{key:"handleModalCheck",value:function(){var e=this.state.activeBtns;this.setState({activeBtns:!e})}},{key:"showModal",value:function(){var e=Math.max(document.documentElement.scrollTop,document.body.scrollTop);this.setState({modalVisible:!0,scrollTop:e});var t=document.querySelector("html"),n=document.querySelector("body");t&&n&&(t.classList.add("modal-visible"),n.classList.add("modal-visible"))}},{key:"closeModal",value:function(){var e=this.state.scrollTop,t=document.querySelector("html"),n=document.querySelector("body");t&&n&&(t.classList.remove("modal-visible"),n.classList.remove("modal-visible")),this.setState({modalVisible:!1,activeBtns:!1},function(){window.scrollTo(0,e)})}},{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,a=this.state,l=a.modalVisible,c=a.activeBtns,u=a.initModal,p=s()({"bg-section":!0,"dark-section":n&&"dark"===n.theme,"light-section":n&&"light"===n.theme}),f={backgroundColor:n&&n.backgroundColor};return o.a.createElement("section",{style:f,className:r()(p,oe)},o.a.createElement(ie.LazyImage,{className:"index__product-img___GgKrN",src:Object(d.a)(n.img)}),o.a.createElement("h2",{className:"index__section-title___2qgVx"},i(n.name)),o.a.createElement("p",{className:"index__section-price___3ewFf",dangerouslySetInnerHTML:{__html:n&&n.productPrice?i(n.productPrice):""}}),o.a.createElement("div",{className:"btn index__btn____IZPY"},n.link?o.a.createElement(re.a,{text:i(n.bugNowText),iconName:"external-link",theme:"dark"===n.theme?"dark":"light",animate:!1,link:n.link}):null,n.otherBtnText?o.a.createElement("div",{onClick:this.showModal},o.a.createElement(re.a,{text:i(n.otherBtnText),iconName:"angle-right",theme:"dark"===n.theme?"dark":"light",animate:!1})):null),u?o.a.createElement(ie.Modal,{className:"modal",preventRootScroll:!1,visible:l,onCancel:this.closeModal,onClose:this.closeModal,footer:null,size:"mini"},o.a.createElement("div",{className:"index__modal-container___XZuaN"},o.a.createElement("p",{className:"index__modal-title___1ToBE"},i(n.modalTitle)),o.a.createElement("div",{className:"index__modal-body___3irDl"},o.a.createElement(ie.CheckboxInput,{className:"index__checkbox___SfFKB",checked:c,onChange:this.handleModalCheck,id:"check"}),o.a.createElement("label",{htmlFor:"check"},o.a.createElement("p",{className:"index__modal-desc___39eR6",dangerouslySetInnerHTML:{__html:i(n.modalDe
1sc)}}))),o.a.createElement(B.a,{href:n.modalBtnALink,className:"link-btn index__link-btn___32EXb"},o.a.createElement(ie.Button,{disabled:!c,className:"index__modal-default-btn___Od9kq"},i(n.modalBtnA))),o.a.createElement(B.a,{href:n.modalBtnBLink,className:"link-btn index__link-btn___32EXb"},o.a.createElement(ie.Button,{disabled:!c,className:"index__modal-primary-btn___2NB3p"},i(n.modalBtnB))))):null)}}])&&le(n.prototype,i),a&&le(n,a),t}();de(pe,"editSetting",{key:"buyingGuide",name:"buyingGuide",component_data:{theme:{type:"string",label:"主题(light or dark)"},backgroundColor:{label:"section 背景颜色",type:"string"},img:{label:"产品图片",type:"image"},link:{type:"string",label:"链接(填的话直接跳转,不弹窗)"},bugNowText:{type:"string",label:"购买按钮文案"},name:{label:"产品名字",type:"i18n"},modalTitle:{type:"i18n",label:"弹窗标题"},modalDesc:{type:"i18n",label:"弹窗描述"},modalBtnA:{type:"i18n",label:"弹窗按钮A文案"},modalBtnALink:{type:"string",label:"弹窗按钮A链接"},modalBtnB:{type:"i18n",label:"弹窗按钮B文案"},modalBtnBLink:{type:"string",label:"弹窗按钮B链接"},productPrice:{type:"i18n",label:"价格"},otherBtnText:{type:"i18n",label:"其他按钮文案"}}}),de(pe,"defaultProps",{t:function(){},component_data:{theme:"dark",img:"/",link:"/",name:"标题",modalTitle:"This product is sold by DJI based on the authorization of Livox.",modalDesc:"I agree to the non - resale, non - reverse sale clause.",modalBtnA:"Contact us",modalBtnALink:"/",modalBtnB:"Purchase from DJI",modalBtnBLink:"/"}});var fe=Object(p.a)(pe);n(501);function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var _e={"./index.css":{"comment-section":"index__comment-section___3R5Mi","comment-container":"index__comment-container___3Z4Pr",text:"index__text___3jixT","dark-section":"index__dark-section___1gDeo","light-section":"index__light-section___3QF4k"}};function he(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function be(e,t){return!t||"object"!==me(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ye(e){return(ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ve(e,t){return(ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var we=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),be(this,ye(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ve(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,a=n&&Array.isArray(n.commentList)?n.commentList.map(function(e){return o.a.createElement("p",{className:"index__text___3jixT",dangerouslySetInnerHTML:{__html:i(e.text)},key:i(e.text)})}):null,l=s()({"comment-section":!0,"dark-section":n&&"dark"===n.theme,"light-section":n&&"light"===n.theme});return o.a.createElement("section",{className:r()(l,_e)},o.a.createElement("div",{className:"index__comment-container___3Z4Pr"},a))}}])&&he(n.prototype,i),a&&he(n,a),t}();ge(we,"editSetting",{key:"comment",name:"comment",component_data:{theme:{label:"section 背景颜色(dark/light)",type:"string"},commentList:{type:"array",label:"注释list",items:{type:"object",text:{label:"注释内容",type:"i18n"}}}}}),ge(we,"defaultProps",{t:function(){},component_data:{theme:"dark",commentList:[{text:"1.在环境温度为 25℃、激光垂直入射目标的条件下测得。作为参考,水泥地面、灰色车辆表面的反射率约为 20%;白色的墙、白色车辆和白色衣物的反射率约为 80%。"},{text:"2.在环境温度为 25℃、激光垂直入射目标的条件下测得。"}]}});var xe=Object(p.a)(we),Ee=(n(502),function(e){var t=e.title;return o.a.createElement("div",{className:"index__container___2uVIp"},o.a.createElement("h2",{className:"index__sectionTitle___391Z9"},t))});n(503);function Oe(e){return(Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var ke={"./index.css":{container:"index__container___2DN-p","section-wrapper":"index__section-wrapper___gJsxK","platform-card":"index__platform-card___2ZYzf","platform-icon":"index__platform-icon___2UvVT","platform-name":"index__platform-name___Is7Pp","platform-desc":"index__platform-desc___xZDwh","platform-link-icon":"index__platform-link-icon___3K8Si","learn-more":"index__learn-more___2z0kS","support-wrapper":"index__support-wrapper___2SWZx","supp
1ort-card":"index__support-card___2G1IS","support-name":"index__support-name___24INJ","support-icon":"index__support-icon___aBuPC","link-icon":"index__link-icon___2LW4D","product-card":"index__product-card___3vzla","product-img":"index__product-img___1iNWh","product-name":"index__product-name___3Btch","content-container":"index__content-container___7BWHI","product-wrapper":"index__product-wrapper___CButD"}};function Se(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Pe(e,t){return!t||"object"!==Oe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ne(e,t){return(Ne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ce=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Pe(this,Te(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ne(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,a=n&&Array.isArray(n.platforms)?n.platforms.map(function(e){return o.a.createElement("div",{className:"index__platform-card___2ZYzf",key:i(e.platformName)},o.a.createElement(x.LazyImage,{src:Object(d.a)(e.platformIcon),alt:i(e.platformName),className:"index__platform-icon___2UvVT"}),o.a.createElement("h3",{className:"index__platform-name___Is7Pp"},i(e.platformName)),o.a.createElement("p",{className:"index__platform-desc___xZDwh"},i(e.platformDesc)),o.a.createElement(B.a,{className:"learn-more index__learn-more___2z0kS",href:e.platformLink},i("v1.common.product.learn_more.1"),o.a.createElement(x.Icon,{name:"external-link-o",className:"index__platform-link-icon___3K8Si"})))}):null,l=n&&Array.isArray(n.supports)?n.supports.map(function(e){return o.a.createElement(B.a,{href:e.supportLink,className:"support-card index__support-card___2G1IS",key:i(e.supportName)},o.a.createElement(x.Icon,{name:e.supportIcon,className:"index__support-icon___aBuPC"}),o.a.createElement("span",{className:"index__support-name___24INJ"},i(e.supportName)),e.external>=1?o.a.createElement(x.Icon,{name:"external-link-o",className:"index__link-icon___2LW4D"}):o.a.createElement(x.Icon,{name:"angle-right",className:"index__link-icon___2LW4D"}))}):null,c=n&&Array.isArray(n.products)?n.products.map(function(e){return o.a.createElement("div",{className:"index__product-card___3vzla",key:i(e.productName)},o.a.createElement(x.LazyImage,{src:Object(d.a)(e.productImg),alt:i(e.productName),className:"index__product-img___1iNWh"}),o.a.createElement("h3",{className:"index__product-name___3Btch"},i(e.productName)))}):null;return o.a.createElement("div",{className:"index__container___2DN-p"},o.a.createElement("section",{className:"index__section-wrapper___gJsxK"},o.a.createElement(Ee,{title:i(n.sectionTtile1)}),o.a.createElement("div",{className:"index__content-container___7BWHI"},a)),o.a.createElement("section",{className:"index__section-wrapper___gJsxK"},o.a.createElement(Ee,{title:i(n.sectionTtile2)}),o.a.createElement("div",{className:r()(s()(["content-container","support-wrapper"]),ke)},l)),o.a.createElement("section",{className:"index__section-wrapper___gJsxK"},o.a.createElement(Ee,{title:i(n.sectionTtile3)}),o.a.createElement("div",{className:r()(s()(["content-container","product-wrapper"]),ke)},c)))}}])&&Se(n.prototype,i),a&&Se(n,a),t}();je(Ce,"editSetting",{key:"sdk-page",name:"sdk",component_data:{platforms:{label:"开发平台",type:"array",items:{type:"object",platformIcon:{type:"image",label:"平台icon"},platformName:{type:"i18n",label:"平台名字"},platformDesc:{type:"i18n",label:"平台描述"},platformLink:{type:"string",label:"平台链接"}}},supports:{name:"supports",label:"开发支持",type:"array",items:{type:"object",supportIcon:{type:"string",label:"icon名字"},supportName:{type:"i18n",label:"支持名字"},external:{type:"number",label:"是否外部链接(1为是,0为否)"},supportLink:{type:"string",label:"链接"}}}
1,products:{name:"products",label:"产品",type:"array",items:{type:"object",productImg:{type:"image",label:"产品图片"},productName:{type:"i18n",label:"产品名字"}}},sectionTtile1:{type:"i18n",label:"section1标题"},sectionTtile2:{type:"i18n",label:"section2标题"},sectionTtile3:{type:"i18n",label:"section3标题"}}}),je(Ce,"defaultProps",{t:function(){},component_data:{platforms:[{platformIcon:"02eebf615acf018206cd8007d66cf2cc.png",platformName:"name",platformDesc:"desc",platformLink:"/"}],supports:[{supportIcon:"download-o",supportName:"name",external:1,supportLink:"/"}],products:[{productImg:"02eebf615acf018206cd8007d66cf2cc.png",productName:"name"}],sectionTtile1:"section1标题",sectionTtile2:"section2标题",sectionTtile3:"section3标题"}});var Le=Object(p.a)(Ce);n(504);function Me(e){return(Me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Ie={"./index.css":{container:"index__container___TPWiq","content-container":"index__content-container___3R-T7","last-item":"index__last-item___1UHPE"}};function Ae(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function De(e,t){return!t||"object"!==Me(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ze(e){return(ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Be=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),De(this,ze(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ve(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t;return o.a.createElement("section",{className:"index__container___TPWiq"},n?n.data.map(function(e,t){return o.a.createElement("div",{key:i(e.title)},o.a.createElement(Ee,{title:i(e.title)}),o.a.createElement("div",{dangerouslySetInnerHTML:{__html:i(e.content)},className:r()(t===n.data.length-1?s()(["content-container","last-item"]):"content-container",Ie)}))}):null)}}])&&Ae(n.prototype,i),a&&Ae(n,a),t}();Re(Be,"editSetting",{key:"terms",name:"terms",component_data:{data:{label:"数据",type:"array",items:{type:"object",title:{type:"i18n",label:"二级标题"},content:{type:"i18n",label:"内容"}}}}}),Re(Be,"defaultProps",{t:function(){},component_data:{data:[{title:"标题",content:"<div><h3>Text in a modal</h3> <h4>Text in a modal</h4> <p>  Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>  <h4>Text in a modal</h4> <p> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </p> <ul> <li> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. </li></ul></div>"}]}});var Fe=Object(p.a)(Be);n(505);function He(e){return(He="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function We(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function qe(e,t){return!t||"object"!==He(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ue(e){return(Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ge(e,t){return(Ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ke=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),qe(this,Ue(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ge(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,r={backgroundImage:"url(".concat(Object(d.a)(n.bgImg),")")};return o.a.createElement("section",{style:r,className:"index__banner-container___1I6RU"},o.a.createElement("h1",{className:"index__banner-title___PUZ0A"},i(n.title)),o.a.createElement("p",{className:"index__banner-desc___2lFIW"},i(n.desc)))}}
1])&&We(n.prototype,i),r&&We(n,r),t}();Ye(Ke,"editSetting",{key:"textBanner",name:"textBanner",component_data:{bgImg:{type:"image",label:"背景图片"},title:{label:"标题",type:"i18n"},desc:{label:"描述",type:"i18n"}}}),Ye(Ke,"defaultProps",{t:function(){},component_data:{bgImg:"/",title:"标题",desc:"描述"}});var Xe=Object(p.a)(Ke);n(506);function $e(e){return($e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ze(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Qe(e,t){return!t||"object"!==$e(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Je(e){return(Je=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function et(e,t){return(et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nt=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Qe(this,Je(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&et(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t;return o.a.createElement("section",{className:"index__title-container___2JtNY"},o.a.createElement("h1",{className:"index__title___1XV1U"},n&&n.title?i(n.title):null))}}])&&Ze(n.prototype,i),r&&Ze(n,r),t}();tt(nt,"editSetting",{key:"pageTitle",name:"pageTitle",component_data:{title:{label:"title文案",type:"i18n"}}}),tt(nt,"defaultProps",{t:function(){},component_data:{title:"title"}});var it=Object(p.a)(nt);n(507);function rt(e){return(rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var at={"./index.css":{"home-banner-section":"index__home-banner-section___3A_d8","home-banner-bg":"index__home-banner-bg___v3Fg4","content-box-center":"index__content-box-center___TZyDO","content-box-left":"index__content-box-left___1kb3o","content-box":"index__content-box___dYQgh","banner-title":"index__banner-title___2tOKC","banner-desc":"index__banner-desc___2fOkF","video-link":"index__video-link___2YXcS","video-link-icon":"index__video-link-icon___1fjhP"}};function ot(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function lt(e){return(lt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function st(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ct(e,t){return(ct=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dt=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=lt(t).call(this,e))||"object"!==rt(r)&&"function"!=typeof r?st(i):r).state={videoVisible:!1},n.handleVideoShow=n.handleVideoShow.bind(st(n)),n.handleVideoHide=n.handleVideoHide.bind(st(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ct(e,t)}(t,o.a.Component),n=t,(i=[{key:"handleVideoShow",value:function(){this.setState({videoVisible:!0})}},{key:"handleVideoHide",value:function(){this.setState({videoVisible:!1})}},{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,a=this.state.videoVisible,l=this,s=n.bgImg?{backgroundImage:"url(".concat(Object(d.a)(n.bgImg),")")}:null;return o.a.createElement("section",{className:"index__home-banner-section___3A_d8"},o.a.createElement("div",{style:s,className:"index__home-banner-bg___v3Fg4"},o.a.createElement("div",{className:r()("content-box ".concat("center"===n.titleHorizontalLayout?"content-box-center":"content-box-left"),at)},o.a.createElement("h1",{className:"index__banner-title___2tOKC",dangerouslySetInnerHTML:{__html:i(n.title)}}),o.a.createElement("p",{className:"index__banner-desc___2fOkF",dangerouslySetInnerHTML:{__html:i(n.slogan)}}),n.hasWatchVideoButton?o.a.createElement("button",{type:"button",className:"index__video-link___2YXcS",onClick:this.handleVideoShow}
1,i("v1.common.product.watch_video.1"),o.a.createElement(x.Icon,{name:"play-circle-o",className:"index__video-link-icon___1fjhP"})):null)),a?o.a.createElement(E.a,{visible:a,videoLink:n.link,onClose:l.handleVideoHide}):null)}}])&&ot(n.prototype,i),a&&ot(n,a),t}();ut(dt,"defaultProps",{t:function(){},component_data:{link:"/",bgVideo:"/",bgImg:"600dcd88c51f37384443eaf98944d1e6.jpg",title:"Product Brief",slogan:"Product Slogan No Longer Than 80 characters",hasWatchVideoButton:!0,titleHorizontalLayout:"center"}}),ut(dt,"editSetting",{key:"homePage",name:"homePage",component_data:{link:{label:"视频播放链接",type:"string"},bgImg:{label:"背景图片",type:"image"},slogan:{label:"描述文段",type:"i18n"},title:{label:"标题",type:"i18n"},hasWatchVideoButton:{label:"是否出现观看视频的按钮",type:"boolean"},titleHorizontalLayout:{label:"title水平布局",type:"select",items:[{value:"left",label:"居左"},{value:"center",label:"居中"}]}}});var pt=Object(p.a)(dt);n(508);function ft(e){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mt(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _t(e,t){return!t||"object"!==ft(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ht(e){return(ht=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function bt(e,t){return(bt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vt=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),_t(this,ht(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bt(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t;return o.a.createElement("section",{className:"index__section-wrapper___2YuBv"},n&&n.products?n.products.map(function(e){return o.a.createElement("div",{className:"index__wrapper___2XyA6",key:i(e.name)},o.a.createElement("div",{className:"index__container___b4Dh9"},o.a.createElement("div",{className:"index__text-container___FZpRt"},e.newLabel?o.a.createElement("p",{className:"index__new-label___2YiwR",style:{color:e.newLabelColor}},i(e.newLabel)):null,o.a.createElement("h2",{className:"index__product-name___3m_Lh",dangerouslySetInnerHTML:{__html:i(e.name)}}),o.a.createElement("div",{className:"index__under-line___ejkeo"}),o.a.createElement(x.LazyImage,{src:Object(d.a)(e.productImg),className:"index__product-img___29F9s"}),o.a.createElement("p",{className:"index__product-desc___2uUck",dangerouslySetInnerHTML:{__html:i(e.desc)}}),o.a.createElement("p",{className:"index__product-price___3l44M",dangerouslySetInnerHTML:{__html:i(e.price)}}),e.link?o.a.createElement(B.a,{href:e.link,className:"product-link index__product-link___29iKO"},i("v1.common.product.learn_more.1"),o.a.createElement(x.Icon,{name:"angle-right",className:"index__product-link-icon___2pE1C"})):null)))}):null,o.a.createElement("div",{className:"index__bottom-block___3v8xm"},n&&n.bottomLink?o.a.createElement(B.a,{href:n.bottomLink,className:"index__bottom-link___1CztR"},i(n.bottomText),o.a.createElement(x.Icon,{name:"angle-right",className:"index__product-link-icon___2pE1C"})):null))}}])&&mt(n.prototype,i),r&&mt(n,r),t}();yt(vt,"defaultProps",{t:function(){},component_data:{products:[{newLabel:"new",newLabelColor:"#FA8C16",link:"/",productImg:"b1da76ef6f2685eeb39b31ebe1beaf00.jpg",name:"product",desc:"this is a product"}],bottomLink:"/",bottomText:"pdf"}}
1),yt(vt,"editSetting",{key:"productList",name:"productList",component_data:{products:{label:"产品列表",type:"array",items:{type:"object",link:{label:"了解更多链接",type:"string"},productImg:{label:"产品图片",type:"image"},newLabel:{type:"i18n",label:"new label"},newLabelColor:{type:"string",label:"new label color"},name:{label:"产品名字",type:"i18n"},desc:{label:"产品描述",type:"i18n"},price:{label:"价格",type:"i18n"}}},bottomLink:{type:"string",label:"底部链接"},bottomText:{type:"i18n",label:"底部跳转文案"}}});var gt=Object(p.a)(vt),wt=n(101),xt=n(102),Et=n(19),Ot=n.n(Et),kt=(n(509),n(18)),St=n(23),Pt=n(16),Tt=n(76),Nt=n.n(Tt);function jt(e){return(jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ct(e,t,n,i,r,a,o){try{var l=e[a](o),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(i,r)}function Lt(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Mt(e){return(Mt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function It(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function At(e,t){return(At=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zt=n(192),Vt=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,r=Mt(t).call(this,e),(n=!r||"object"!==jt(r)&&"function"!=typeof r?It(i):r).state={modalVisible:!1,modalType:"default",modalContent:"",modalOk:function(){return n.setState({modalVisible:!1})},sendingRequest:!1,backUrl:"",initModal:!1},n.submitInvitationCode=n.submitInvitationCode.bind(It(n)),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&At(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=zt.parse(window.location.search).backUrl,t=Nt.a.parse(e||""),n=new RegExp("www.livoxtech.com");e&&t&&!n.test(t.hostname)||(e="/"),this.setState({backUrl:e,initModal:!0})}},{key:"submitInvitationCode",value:function(){var e,t=(e=Ot.a.mark(function e(t){var n,i,r,a,o,l,s,c,u,d,p,f,m,_,h=this;return Ot.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.props,i=n.localization,r=n.component_data,a=r.successMsg,o=r.failMsg,l=n.t,s=this.state,c=s.sendingRequest,u=s.backUrl,t.preventDefault(),!c){e.next=5;break}return e.abrupt("return");case 5:if(d=(d=this.inputRef.value).trim(),/[0-9a-zA-Z]{8}/.test(d)){e.next=10;break}return this.setState({modalType:"danger",modalContent:l(o),modalVisible:!0}),e.abrupt("return");case 10:return this.setState({sendingRequest:!0}),e.next=13,Object(St.a)({url:Object(Pt.a)("/display/www_cms/tp_invitation_codes/".concat(d))},i);case 13:return p=e.sent,this.setState({sendingRequest:!1}),e.next=17,p.json();case 17:if(e.t0=e.sent,e.t0){e.next=20;break}e.t0={};case 20:f=e.t0,200===p.status&&"Valid"===f.status?((m=new Date).setTime(m.getTime()+216e5),_="; expires=".concat(m.toUTCString()),document.cookie="invitationCode=".concat(d," ").concat(_,' + "; path=/'),this.setState({modalType:"success",modalContent:l(a),modalVisible:!0,modalOk:function(){h.setState({modalVisible:!1}),window.location.href=u}})):this.setState({modalType:"danger",modalContent:l(o),modalVisible:!0});case 22:case"end":return e.stop()}},e,this)}),function(){var t=this,n=arguments;return new Promise(function(i,r){var a=e.apply(t,n);function o(e){Ct(a,i,r,o,l,"next",e)}function l(e){Ct(a,i,r,o,l,"throw",e)}o(void 0)})});return function(e){return t.apply(this,arguments)}}()},{key:"render",value:function(){var e=this,t=this.state,n=t.modalVisible,i=t.modalType,r=t.modalContent,a=t.modalOk,l=t.initModal,s=this.props,c=s.component_data,u=c.icon,p=c.description,f=c.label,m=c.buttonText,_=c.note,h=s.t;return o.a.createElement("div",null,o.a.createElement("div",{className:"style__bg___jnbHi"},o.a.createElement("div",null,o.a.createElement("div",null,o.a.createElement("div",{className:"style__icon___lr0F6"},o.a.createElement("img",{src:Object(d.a)(u),alt:"icon"})),o.a.createElement("p",{className:"style__description___1d9d0"},h(p))),o.a.createElement("div",{className:"style__divider___2SEue"}),o.a.createElement("div",null,o.a.createElement("form",{action:"/",method:"GET"},o.a.createElement("p",{className:"style__label___PmPDA"},h(f)),o.a.createElement(x.Input,{size:"medium",inputRef:function(t){e.inputRef=t}}),o.a.createElement("button",{type:"submit",className:"style__login___hPZ4V",onClick:this.submitInvitationCode},h(m)))),o.a.createElement("div",{className:"style__divider___2SEue"}),o.a.createElement("p",{className:"style__note___3LbAx"},h(_)))),l?o.a.createElement(x.Modal,{visible:n,onCancel:function(){return e.setState({modalVisible:!1})},onClose:function(){return e.setState({modalVisible:!1})},onOk:a,type:i},r):null)}}
1])&&Lt(n.prototype,i),r&&Lt(n,r),t}();Dt(Vt,"defaultProps",{component_data:{icon:"5d51f4c89ad6db7264da0929143e3e01.svg",description:"Brief Welcome Intro Less Than 3 Lines Brief Welcome Intro Less Than",label:"Please Enter Your 8 Characters Invitation Code",buttonText:"Login",note:"Should you have any questions regarding fully access, contact our dedicated customer support team at [email protected] for further assistance and detailed information.",successMsg:"Your Validation Code Is Valid!",failMsg:"Wrong Validation Code!"}}),Dt(Vt,"editSetting",{key:"invitationCode",name:"invitationCode",component_data:{icon:{label:"Icon",type:"image"},description:{label:"描述",type:"i18n"},label:{label:"输入提示",type:"i18n"},buttonText:{label:"按钮字符",type:"i18n"},note:{label:"提示",type:"i18n"},successMsg:{label:"邀请码成功提示",type:"i18n"},failMsg:{label:"邀请码失败提示",type:"i18n"}}});var Rt=Object(kt.b)(function(e){return{localization:e.localization}})(Object(p.a)(Vt));Rt.defaultProps=Vt.defaultProps;var Bt=Rt,Ft=n(110),Ht=n(187);n(510);function Wt(e){return(Wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qt(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Ut(e,t){return!t||"object"!==Wt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Gt(e){return(Gt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Yt(e,t){return(Yt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xt=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ut(this,Gt(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yt(e,t)}(t,o.a.Component),n=t,(i=[{key:"renderNews",value:function(){var e=this.props,t=e.component_data.data,n=void 0===t?[]:t,i=e.t;return n&&n.length>0&&n.map(function(e){return o.a.createElement("div",{key:u()()},o.a.createElement(B.a,{href:i(e.href)},o.a.createElement("img",{className:"style__img___2cwU7",src:Object(d.a)(e.img),alt:""}),o.a.createElement("div",{className:"style__text-box___3l9Yd"},e.title?o.a.createElement("h2",{className:"style__title___2bUkU",dangerouslySetInnerHTML:{__html:i(e.title)}}):null,e.time?o.a.createElement("span",{className:"style__time___1UfGx"},i(e.time)):null)),o.a.createElement("div",{className:"style__line___T6qrg"}))})}},{key:"render",value:function(){var e={marginTop:this.props.component_data.topDistance?"24px":"0"};return o.a.createElement("div",{className:"style__news-vertical___2QEyY",style:e},this.renderNews())}}])&&qt(n.prototype,i),r&&qt(n,r),t}();Kt(Xt,"defaultProps",{component_data:{data:[],topDistance:!1},t:function(){}}),Kt(Xt,"editSetting",{key:"newsVertical",name:"newsVertical",component_data:{data:{type:"array",label:"terms 条款项",items:{type:"object",title:{type:"i18n",label:"标题"},time:{type:"i18n",label:"时间"},img:{type:"image",label:"产品图片"},href:{type:"i18n",label:"链接"}}},topDistance:{type:"boolean",label:"上边距"}}});var $t=Object(p.a)(Xt);n(511);function Zt(e){return(Zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Qt(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Jt(e,t){return!t||"object"!==Zt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function en(e){return(en=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tn(e,t){return(tn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function nn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rn=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Jt(this,en(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tn(e,t)}(t,o.a.Component),n=t,(i=[{key:"renderLevel",value:function(){var e=this.props,t=e.component_data.data,n=void 0===t?[]:t,i=e.t,r=n.concat();try{r&&r.length>1&&r.reverse().sort(function(e,t){return new Date(t.time)-new Date(e.time)})}catch(e){console.log(e,"日期格式错误")}return r&&r.length>0&&r.map(function(e){return o.a.createElement("div",{key:u()(),className:"style__level-box___3row-"},o.a.createElement(B.a,{href:i(e.href)},o.a.createElement("div",{className:"style__level-item____tmB3"},o.a.createElement("div",{className:"style__level-text-box___2Qa48"},o.a.createElement("h3",{className:"style__title___3GtYN",dangerouslySetInnerHTML:{__html:i(e.title)}}),o.a.createElement("p",{className:"style__time___ZMaHI"},e.time)),o.a.createElement("div",{className:"style__level-img-box___p2PsT",style:{backgroundImage:"url(".concat(Object(d.a)(e.img),")")}}))),o.a.createElement("div",{className:"style__line___3IKGi"}))})}},{key:"render",value:function(){var e={marginTop:this.props.component_data.topDistance?"24px":"0"};return o.a.createElement("div",{className:"style__news-level___3FWVW",style:e},this.renderLevel())}}])&&Qt(n.prototype,i),r&&Qt(n,r),t}();nn(rn,"defaultProps",{component_data:{data:[],topDistance:!1},t:function(){}}),nn(rn,"editSetting",{key:"newsLevel",name:"newsLevel",component_data:{data:{type:"array",label:"terms 条款项",items:{type:"object",title:{type:"i18n",label:"标题"},time:{type:"string",label:"时间(格式如 xxxx-xx-xx)"},img:{type:"image",label:"产品图片"},href:{type:"i18n",label:"链接"}}},topDistance:{type:"boolean",label:"上边距"}}});var an=Object(p.a)(rn);n(512);function on(e){return(on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ln(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function sn(e,t){return!t||"object"!==on(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function cn(e){return(cn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function un(e,t){return(un=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pn=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),sn(this,cn(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&un(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=e.t;return o.a.createElement("div",{className:"style__news-detail___22t7h"},o.a.createElement("h1",{className:"style__title___6Lz0w"},n(t.title)),o.a.createElement("span",{className:"style__date___1b97P"},n(t.date)),o.a.createElement("div",{className:"style__line___GvJQz"},"  "),t.desc?o.a.createElement("div",null,o.a.createElement("p",{className:"style__desc___1IaNC",dangerouslySetInnerHTML:{__html:n(t.desc)}}),o.a.createElement("div",{className:"style__line___GvJQz"},"  ")):null,o.a.createElement("div",{dangerouslySetInnerHTML:{__html:n(t.content)},className:"style__content___2M0g8"}))}}
1])&&ln(n.prototype,i),r&&ln(n,r),t}();dn(pn,"defaultProps",{component_data:{title:"页面大标题",date:"日期",desc:"描述"},t:function(){}}),dn(pn,"editSetting",{key:"newsDetail",name:"newsDetail",component_data:{title:{type:"i18n",label:"页面大标题"},date:{type:"i18n",label:"日期"},desc:{type:"i18n",label:"描述"},content:{type:"i18n",label:"内容"}}});var fn=Object(p.a)(pn),mn=n(91);n(513);function _n(e){return(_n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function hn(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function bn(e,t){return!t||"object"!==_n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function yn(e){return(yn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function vn(e,t){return(vn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function gn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wn=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),bn(this,yn(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vn(e,t)}(t,o.a.PureComponent),n=t,(i=[{key:"renderpopContent",value:function(e){var t=this.props.t;return o.a.createElement("div",{className:"tooltip-content",dangerouslySetInnerHTML:{__html:t(e)}})}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,r=i&&Array.isArray(i.featureList)?i.featureList.map(function(t){return o.a.createElement("div",{className:"index__brick-item-wrap___2pn2g",key:u()()},t.link?o.a.createElement(B.a,{href:t.link,className:"index__brick-item-box___345Nn"},o.a.createElement("div",{className:"index__brick-item___azKLu",style:{padding:t.subTitle?"":"16px  16px"}},t.image?o.a.createElement("div",{className:"index__img-box___3FHUM"},o.a.createElement("img",{src:Object(d.a)(t.image),alt:n(t.title)})):null,o.a.createElement("div",{className:"index__item-text-wrap___3HVZR"},o.a.createElement("div",{className:"index__item-text-box___35POq"},t.title?o.a.createElement("h3",{className:"index__item-title___1vWA7"},n(t.title)):null,t.desc?o.a.createElement("p",{className:"index__item-desc___3oLgn"},n(t.desc)):null),o.a.createElement("div",{className:"index__icon-box___3c-LV"},t.icon?o.a.createElement("img",{src:Object(d.a)(t.icon),alt:n(t.title),className:"index__icon___3ecOB"}):o.a.createElement(x.Icon,{name:"angle-right",className:"index__icon___3ecOB"}))))):o.a.createElement("div",{className:"index__brick-item-no-border___2IalF"},t.image?o.a.createElement("div",{className:"index__img-box___3FHUM"},o.a.createElement("img",{src:Object(d.a)(t.image),alt:n(t.title)})):null,o.a.createElement("div",{className:"index__item-text-wrap___3HVZR"},o.a.createElement("div",{className:"index__item-text-box___35POq"},t.title?o.a.createElement("h3",{className:"index__item-title___1vWA7"},n(t.title)):null,t.desc?o.a.createElement("p",{className:"index__item-desc___3oLgn"},n(t.desc)):null,t.textUnderImg?o.a.createElement("img",{src:Object(d.a)(t.textUnderImg),alt:"",className:"index__text-under-img___1s7mc"}):null,t.tel?o.a.createElement("p",{className:"index__item-tel___2jLrh"},n(t.tel),o.a.createElement(x.Tooltip,{trigger:"click",title:e.renderpopContent.bind(e,t.telPopoverText),placement:"bottom",mouseEnterDelay:.3,mouseLeaveDelay:.3},o.a.createElement(x.Icon,{name:"info-circle-o",className:"index__item-tel-icon___2i278"}))):null,t.emailLink&&t.emailText?o.a.createElement(B.a,{href:t.emailLink,target:"_blank",className:"index__item-box___fReJT"},o.a.createElement("p",{className:"index__item-font___bytlY"},n(t.emailText)),o.a.createElement(x.Icon,{name:"angle-right",className:"index__item-icon___3SwuP"})):null,t.learnMoreText&&t.learnMoreLink?o.a.createElement(B.a,{href:t.learnMoreLink,target:"_blank",className:"index__item-box___fReJT"},o.a.createElement("p",{className:"index__item-font___bytlY"},n(t.learnMoreText)),o.a.createElement(x.Icon,{name:"external-link-o",className:"index__item-icon___3SwuP"})):null))))}):null;return o.a.createElement("section",{className:"index__support-brick-fence-component___1ZJUy"},o.a.createElement("div",{className:"index__container___36734"},o.a.createElement("div",{className:"index__text-box___3o0T3"},i&&i.mainTitle?o.a.createElement("div",null,o.a.createElement("h2",{className:"index__main-title___3Om24"},n(i.mainTitle)),o.a.createElement("div",{className:"index__small-horizontal-line___2JEon"})):null,i&&i.subTitle?o.a.createElement("p",{className:"index__sub-title___3F6WD"},n(i.subTitle)):null),i&&Array.isArray(i.featureList)?o.a.createElement("div",{className:"index__brick-box___3OhmP"},r):null,o.a.createElement("div",{className:"index__horizontal-line___yy2Rw"}
1)))}}])&&hn(n.prototype,i),r&&hn(n,r),t}();gn(wn,"editSetting",{key:"supportBrickFence",name:"supportBrickFence",component_data:{mainTitle:{type:"i18n",label:"主标题"},subTitle:{type:"i18n",label:"副标题"},featureList:{type:"array",label:"list",items:{type:"object",image:{type:"image",label:"item左边图片"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},icon:{type:"image",label:"右边的箭头icon"},link:{type:"string",label:"跳转链接"},textUnderImg:{type:"image",label:"文字下方的图片"},tel:{type:"i18n",label:"item 联系电话"},telPopoverText:{type:"i18n",label:"item 图标popover的内容"},emailText:{type:"i18n",label:"email 文案"},emailLink:{type:"string",label:"email 链接"},learnMoreText:{type:"i18n",label:"了解更多文案"},learnMoreLink:{type:"string",label:"了解更多链接"}}}}}),gn(wn,"defaultProps",{t:function(){},component_data:{mainTitle:"Development Platform",featureList:[{title:"MID-40 / MID-100",image:"/",link:"/"},{title:"horizon",image:"/",link:"/"}]}});var xn=Object(p.a)(wn);n(514);function En(e){return(En="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function On(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function kn(e,t){return!t||"object"!==En(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Sn(e){return(Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Pn(e,t){return(Pn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Nn=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),kn(this,Sn(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pn(e,t)}(t,o.a.PureComponent),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.t,n=e.component_data,i={backgroundColor:n.backgroundColor};return o.a.createElement("section",{className:"index__section-with-precision___uuaG6",style:i},o.a.createElement("h2",{className:"index__main-title___2xNK5"},t(n.title)),o.a.createElement("div",{className:"index__small-horizontal-line___29VmB"}),o.a.createElement("p",{className:"index__desc___29a6t",dangerouslySetInnerHTML:{__html:t(n.desc)}}),o.a.createElement("div",{className:"index__list-container___1jQfk"},n.dataList&&n.dataList.length?o.a.createElement(function(){return n.dataList.map(function(e){return o.a.createElement("div",{className:"index__item-content___7bDiJ"},o.a.createElement("h3",{className:"index__item-title___y_8N0",dangerouslySetInnerHTML:{__html:t(e.title)}}),o.a.createElement("div",{className:"index__item-info___16wal"},o.a.createElement("img",{src:Object(d.a)(e.icon),alt:""}),o.a.createElement("div",null,o.a.createElement("div",{className:"index__name-text___1--ix"},t(e.name_text)),o.a.createElement("div",{className:"index__name-content___2vmHG"},t(e.name_content)),o.a.createElement("div",{className:"index__name-text___1--ix"},t(e.size_text)),o.a.createElement("div",{className:"index__name-content___2vmHG"},t(e.size_content)))),o.a.createElement("img",{className:"index__item-img___TuRHQ",src:Object(d.a)(e.descImg),alt:""}),o.a.createElement("p",{className:"index__item-desc___Ut7SS",dangerouslySetInnerHTML:{__html:t(e.desc)}}))})},null):null))}}])&&On(n.prototype,i),r&&On(n,r),t}();Tn(Nn,"editSetting",{key:"sectionWithPrecision",name:"sectionWithPrecision",component_data:{backgroundColor:{type:"string",label:"背景色(支持英文代码、十六进制、rgb字符)"},title:{type:"i18n",label:"主标题"},desc:{type:"i18n",label:"描述(支持富文本)"},dataList:{type:"array",label:"数据列表",items:{type:"object",icon:{type:"image",label:"icon头像"},descImg:{type:"image",label:"详细大图"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述(支持富文本)"},name_text:{type:"i18n",label:"名称-name"},name_content:{type:"i18n",label:"名称-content"},size_text:{type:"i18n",label:"尺寸-name"},size_content:{type:"i18n",label:"尺寸-content"}}}}}),Tn(Nn,"defaultProps",{t:function(){},component_data:{backgroundColor:"#0F0F0F",title:"t15.precison.title",desc:"t15.precison.desc",dataList:[{icon:"",descImg:"",title:"t15.precison.item.name",desc:"t15.precison.item.desc",name_text:"t15.precison.item.name.text",name_content:"t15.precison.item.name.content",size_text:"t15.precison.item.size.text",size_content:"t15.precison.item.size.content"},{icon:"",descImg:"",title:"t15.precison.item.name",desc:"t15.precison.item.desc",name_text:"t15.precison.item.name.text",name_content:"t15.precison.item.name.content",size_text:"t15.precison.item.size.text",size_content:"t15.precison.item.size.content"}]}});var jn=Object(p.a)(Nn),Cn=n(14),Ln=n.n(Cn);n(515);function Mn(e){return(Mn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var In={"./index.css":{"textimg-container-light":"index__textimg-container-light___33aKg","prd-title":"index__prd-title___3N4tM","cell-line":"index__cell-line___pFV-D","prd-desc":"index__prd-desc___1KTao","time-text":"index__time-text___1JO3W","time-content":"index__time-content___76yaY","time-unit":"index__time-unit___1Dt7d","textimg-container-dark":"index__textimg-container-dark___3-Eup","textimg-container":"index__textimg-container___1WmBI","video-box":"index__video-box___18U9E","time-container":"index__time-container___2-lZg","time-left":"index__time-left___3vqWo","time-right":"index__time-right___25fQJ","img-wrapper":"index__img-wrapper___lJLGm","prd-img":"index__prd-img___38Xn_","section-width-text-img-m":"index__section-width-text-img-m___1YxY5","dbv-swti-m":"index__dbv-swti-m___1U6ug","replay-dbv-swti-m":"index__replay-dbv-swti-m___1N64d","replay-box":"index__replay-box___zRgUr","replay-box-hidden":"index__replay-box-hidden___waiRg","replay-button":"index__replay-button___3HbKE","play-video":"index__play-video___2xSue","play-video-icon":"index__play-video-icon___zWh9q","downgrade-video-box":"index__downgrade-video-box___3gA4c"}};function An(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}
1function Dn(e){return(Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function zn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vn(e,t){return(Vn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bn=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=Dn(t).call(this,e))||"object"!==Mn(r)&&"function"!=typeof r?zn(i):r).state={videoVisible:!1},n.handleShowVideo=n.handleShowVideo.bind(zn(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vn(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=this.props.component_data;e&&!e.isReplay?new Ln.a({reset:!1,replayWhenRevisible:!0,visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,containerClassName:"dbv-swti-m",replayClassName:"",downgradeHtml:'<div class="downgrade-video-box" data-href="#href#">\n        <div class="play-video play-video-icon"></div>\n        <img src="#img#">\n        </div>'}):new Ln.a({reset:!1,replayWhenRevisible:!0,visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,containerClassName:"replay-dbv-swti-m",replayClassName:"replay-button",downgradeHtml:'<div class="downgrade-video-box" data-href="#href#">\n        <div class="play-video play-video-icon"></div>\n        <img src="#img#">\n        </div>'})}},{key:"handleShowVideo",value:function(){var e=window.navigator.userAgent,t=!!e.match(/iPad/i)||!!e.match(/iPhone/i),n=!!e.match(/UCBrowser/gi),i=!!e.match(/android/gi),r=!!e.match(/\bm?qqbrowser\/([0-9.]+)/gi),a=this.state.videoVisible;(i||t&&(n||r))&&this.setState({videoVisible:!a})}},{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,a=this.state.videoVisible,l={backgroundColor:n.backgroundColor};return o.a.createElement("section",{style:l,className:"section-width-text-img-m "+r()("textimg-container ".concat(n&&"light"===n.theme?"textimg-container-light":"textimg-container-dark"),In)},o.a.createElement("h2",{className:"index__prd-title___3N4tM",dangerouslySetInnerHTML:{__html:i(n.title)}}),o.a.createElement("div",{className:"index__cell-line___pFV-D"}),o.a.createElement("div",{className:"index__prd-desc___1KTao",dangerouslySetInnerHTML:{__html:i(n.desc)}}),n.time_use&&n.time_total?o.a.createElement("div",{className:"index__time-container___2-lZg"},o.a.createElement("div",{className:"index__time-left___3vqWo"},o.a.createElement("div",{className:"index__time-content___76yaY"},o.a.createElement("span",null,n.time_use),o.a.createElement("span",{className:"index__time-unit___1Dt7d",dangerouslySetInnerHTML:{__html:i(n.unit_time)}})),o.a.createElement("div",{className:"index__time-text___1JO3W",dangerouslySetInnerHTML:{__html:i(n.text_use)}})),o.a.createElement("div",{className:"index__time-right___25fQJ"},o.a.createElement("div",{className:"index__time-content___76yaY"},o.a.createElement("span",null,n.time_total),o.a.createElement("span",{className:"index__time-unit___1Dt7d",dangerouslySetInnerHTML:{__html:i(n.unit_total)}})),o.a.createElement("div",{className:"index__time-text___1JO3W",dangerouslySetInnerHTML:{__html:i(n.text_total)}}))):null,o.a.createElement("div",{className:"index__video-box___18U9E"},n&&n.videoLink?o.a.createElement("div",{className:n&&!n.isReplay?"dbv-swti-m":"replay-dbv-swti-m",onClick:this.handleShowVideo},n.videoLink?o.a.createElement("div",null,o.a.createElement("video",{muted:!0,loop:n.isLoop,name:"media",poster:n?Object(d.a)(n.videoPoster):"/","data-downgrade-img":n?Object(d.a)(n.videoPoster):"/","data-downgrade-href":n&&n.downgradeVideoLink?n.downgradeVideoLink:""},o.a.createElement("source",{"data-layzr-src":n?n.videoLink:"/"})),o.a.createElement("div",{className:!n.isReplay||n.isLoop?"replay-box replay-box-hidden":"replay-box"},o.a.createElement("div",{className:"replay-button"},o.a.createElement(re.b,{iconName:"fa-light-redo",theme:"dark",text:i("v2.product.video.replay_text")})))):null):null,n.img?o.a.createElement("div",{className:"index__img-wrapper___lJLGm"},o.a.createElement("img",{className:"index__prd-img___38Xn_",src:Object(d.a)(n.img),alt:""})):null),a&&n&&n.videoLink?o.a.createElement(E.a,{visible:a,videoLink:n&&n.downgradeVideoLink?n.downgradeVideoLink:"",onClose:this.handleShowVideo}):"")}}
1])&&An(n.prototype,i),a&&An(n,a),t}();Rn(Bn,"defaultProps",{t:function(){},component_data:{backgroundColor:"#0F0F0F",title:"v3.textimg.title",desc:"描述",videoLink:"",videoPoster:"",isReplay:!0,isLoop:!1,img:"02eebf615acf018206cd8007d66cf2cc.png",unit_time:"v3.textimg.unit_time",unit_total:"v3.textimg.unit_total",time_use:"v3.textimg.time_use",time_total:"v3.textimg.time_total",text_use:"v3.textimg.text_use",text_total:"v3.textimg.text_total"}}),Rn(Bn,"editSetting",{key:"textPictureSection",name:"textPictureSection",component_data:{theme:{type:"select",label:"主题",items:[{label:"亮色",value:"light"},{label:"暗色",value:"dark"}]},backgroundColor:{type:"string",label:"背景色(支持英文代码、十六进制、rgb字符)"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},videoLink:{type:"string",label:"视频链接"},videoPoster:{type:"image",label:"视频封面图"},downgradeVideoLink:{type:"string",label:"安卓视频降级链接"},isReplay:{type:"boolean",label:"是否需要重新播放功能"},isLoop:{type:"boolean",label:"是否需要循环播放"},img:{type:"image",label:"产品图"},unit_time:{type:"i18n",label:"使用时间单位"},unit_total:{type:"i18n",label:"总时间单位"},time_use:{type:"string",label:"使用寿命"},time_total:{type:"string",label:"总寿命"},text_use:{type:"i18n",label:"使用寿命"},text_total:{type:"i18n",label:"总寿命"}}});var Fn=Object(p.a)(Bn);n(516);function Hn(e){return(Hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Wn={"./index.css":{"collapse-component":"index__collapse-component___8BqPC","rolling-wrap":"index__rolling-wrap___3Cg3w","collpase-panel":"index__collpase-panel___1y_tq",container:"index__container___17Cwl","horizontal-line":"index__horizontal-line___2xpZU","collapse-title":"index__collapse-title___ywpZC","tab-bar":"index__tab-bar___SiSHP","actvie-line":"index__actvie-line___2zIsy","tab-item":"index__tab-item___3yYoP",actvie:"index__actvie___PigbG","mobile-mode":"index__mobile-mode___2QRWH","quark-collapse-item":"index__quark-collapse-item___30G-a","quark-collapse-header":"index__quark-collapse-header___3JRmW","quark-collapse-header-title":"index__quark-collapse-header-title___2EPMk","quark-collapse-header-inner":"index__quark-collapse-header-inner___2L6I9","quark-collapse-extra":"index__quark-collapse-extra___26cUR","quark-collapse-item-active":"index__quark-collapse-item-active___h9tfX","quark-collapse-content-box":"index__quark-collapse-content-box___31cxk"}};function qn(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Un(e,t){return!t||"object"!==Hn(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Gn(e){return(Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
1function Yn(e,t){return(Yn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Kn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xn=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=(n=Un(this,Gn(t).call(this,e))).props.component_data.faqList,r=[];i&&Array.isArray(i)&&i.forEach(function(e,t){var n=e.title;r[n]||(r[n]={active:0===t,qaList:[],title:n}),r[n].qaList.push(e)});var a=Object.values(r)||[],l=a[0].qaList||[];return n.state={tabList:a,qaList:l},n.tabDom=[],n.tabBar=o.a.createRef(),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yn(e,t)}(t,o.a.PureComponent),n=t,(i=[{key:"componentDidMount",value:function(){var e=this.tabDom[0];if(e){var t=e.children[0].clientWidth,n=e.offsetLeft,i={width:t,transform:"translate3d(".concat(n,"px, 0px, 0px)")};this.setState({inkBarStyle:i})}}},{key:"handelClick",value:function(e){var t=this.state.tabList,n=[];t.forEach(function(t,i){t.active=i===e,n.push(t)});var i=n[e].qaList||[],r={},a=this.tabDom[e];if(a){var o=a.children[0].clientWidth,l=a.offsetLeft;r.width=o,r.transform="translate3d(".concat(l,"px, 0px, 0px)")}this.setState({tabList:n,qaList:i,inkBarStyle:r});var s=document.getElementById("__next").clientWidth;if(a){var c=a.offsetLeft-s/2+(a.offsetWidth+24)/2;this.tabBar.scroll({left:c,behavior:"smooth"})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,a=this.state,l=a.tabList,s=a.qaList,c=a.inkBarStyle,d=i.sectionTitle,p=x.Collapse.Panel,f=o.a.createElement(x.Icon,{name:"angle-down",className:"collapse-icon"}),m=s.map(function(e){return o.a.createElement(p,{title:n(e.question),key:u()(),showIcon:!1,extra:f},o.a.createElement("p",{dangerouslySetInnerHTML:{__html:n(e.answer)},className:"index__collpase-panel___1y_tq"}))}),_=o.a.createElement("ul",{className:"index__tab-bar___SiSHP",ref:function(t){e.tabBar=t}},o.a.createElement("div",{className:"index__actvie-line___2zIsy",style:c}),l&&Array.isArray(l)&&l.map(function(t,i){return o.a.createElement("li",{key:"tab-item-".concat(u()()),onClick:function(){return e.handelClick(i)},ref:function(t){e.tabDom[i]=t},className:r()("tab-item ".concat(t.active?"actvie":""),Wn)},o.a.createElement("span",null,n(t.title)))}));return o.a.createElement("section",{className:"index__collapse-component___8BqPC"},o.a.createElement("div",{className:"index__container___17Cwl"},o.a.createElement("div",{className:"index__rolling-wrap___3Cg3w"},o.a.createElement("h2",{className:"index__collapse-title___ywpZC"},n(d)),_,o.a.createElement(x.Collapse,{tight:!0,border:"bottom"},m)),o.a.createElement("div",{className:"index__horizontal-line___2xpZU"})))}}])&&qn(n.prototype,i),a&&qn(n,a),t}();Kn(Xn,"editSetting",{key:"collapse",name:"collapse",component_data:{sectionTitle:{type:"i18n",label:"section 主标题"},faqList:{type:"array",label:"faq list",items:{title:{type:"i18n",label:"分类名"},type:"object",question:{type:"i18n",label:"faq item 问题"},answer:{type:"i18n",label:"faq item 答案"}}}}}),Kn(Xn,"defaultProps",{t:function(){},component_data:{sectionTitle:"Section Title",faqList:[{title:"Tab Item 1",question:"How do I solve a large margin mid-point error?",answer:"Use the DJI GO app to calibrate the remote controller."},{title:"Tab Item 1",question:"How long does it take to charge a remote controller?",answer:"Fully charging the Inspire 1 remote controller takes approximately 6 hours. It can be used for approximately 4 hours after being fully charged."},{title:"Tab Item 1",question:"How long does it take to charge a remote controller?",answer:"Fully charging the Inspire 1 remote controller takes approximately 6 hours. It can be used for approximately 4 hours after being fully charged."},{title:"Tab Item 2",question:"How do I solve a large margin mid-point error?",answer:"Use the DJI GO app to calibrate the remote controller."},{title:"Tab Item 3",question:"How long does it take to charge a remote controller?",answer:"Fully charging the Inspire 1 remote controller takes approximately 6 hours. It can be used for approximately 4 hours after being fully charged."}]}});var $n=Object(p.a)(Xn);n(517);function Zn(e){return(Zn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Qn={"./index.css":{"veritical-tabs-component":"index__veritical-tabs-component___2L6Rl",container:"index__container___3kRZc","care-tab-box":"index__care-tab-box___24u9x",open:"index__open___Ku3JH","care-tab-box-closed-btn":"index__care-tab-box-closed-btn___E_7JI","care-tab":"index__care-tab___1bavA","select-item":"index__select-item___2hUNw",active:"index__active___3IuZX","tab-content":"index__tab-content___Ab_Qw","tab-panel":"index__tab-panel___2m-Q-","h2-title":"index__h2-title___EYwzd","tex-field":"index__tex-field___386Mz","select-menu":"index__select-menu___3algv","select-menu-icon":"index__select-menu-icon___tac9P"}};function Jn(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}
1function ei(e){return(ei=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ti(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ni(e,t){return(ni=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ii(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ri=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=ei(t).call(this,e))||"object"!==Zn(r)&&"function"!=typeof r?ti(i):r).state={currentActive:0,closed:!0},n.menuOpen=n.menuOpen.bind(ti(n)),n.refDom=[],n.contentDom=[],n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ni(e,t)}(t,o.a.PureComponent),n=t,(i=[{key:"menuOpen",value:function(){var e=this.state.closed;this.setState({closed:!e}),document.body.style.overflow=e?"hidden":"auto"}},{key:"scrollTo",value:function(e){var t=this.contentDom[e].offsetTop;this.setState({closed:!0,currentActive:e}),document.body.style.overflow="auto",window.scrollTo({top:t,behavior:"smooth"})}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,a=this.state,l=a.closed,c=a.currentActive,d=s()({"care-tab-box":!0,open:!l}),p=i&&i.featureList?i.featureList.map(function(t,i){return o.a.createElement("li",{key:u()(),ref:function(t){e.refDom[i]=t},className:r()([i===c?"active":""].join(" "),Qn)},o.a.createElement("a",{className:"index__select-item___2hUNw",href:"#".concat(i),onClick:e.scrollTo.bind(e,i)},n(t.title)))}):null,f=i&&i.featureList?i.featureList.map(function(t,i){return o.a.createElement("section",{key:u()(),className:"index__tab-panel___2m-Q-",ref:function(t){e.contentDom[i]=t}},o.a.createElement("h2",{className:"index__h2-title___EYwzd"},n(t.title)),o.a.createElement("div",{className:"index__tex-field___386Mz",dangerouslySetInnerHTML:{__html:n(t.textField)}}))}):null;return o.a.createElement("section",{className:"index__veritical-tabs-component___2L6Rl"},o.a.createElement("div",{className:"index__container___3kRZc"},o.a.createElement("div",{className:r()(d,Qn)},o.a.createElement("ul",{className:"index__care-tab___1bavA"},o.a.createElement("li",null,o.a.createElement("a",{className:"index__select-item___2hUNw",href:"#none"},n("v2.support.policy.m.menu")),o.a.createElement(ie.Icon,{name:"times",className:"index__care-tab-box-closed-btn___E_7JI",onClick:this.menuOpen})),p)),o.a.createElement("div",{className:"index__tab-content___Ab_Qw"},f),o.a.createElement("div",{className:"index__select-menu___3algv",onClick:this.menuOpen},o.a.createElement(ie.Icon,{name:"list",className:"index__select-menu-icon___tac9P"}))))}}])&&Jn(n.prototype,i),a&&Jn(n,a),t}();ii(ri,"editSetting",{key:"supportPolicy",name:"supportPolicy",component_data:{featureList:{type:"array",label:"list",items:{type:"object",title:{type:"i18n",label:"标题"},textField:{type:"i18n",label:"文本内容"}}}}}),ii(ri,"defaultProps",{t:function(){},component_data:{featureList:[{title:"H2 Title",textField:'<h3>h3 title</h3><h4>h4 title</h4><p>Lorem Ipsum has been the industry"s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. Lorem Ipsum has been the industry"s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into Lorem Ipsum has been the industry"s standard dummy text ever since the 1500s.</p>'}]}});var ai=Object(p.a)(ri);n(518);function oi(e){return(oi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function li(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function si(e,t){return!t||"object"!==oi(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function ci(e){return(ci=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ui(e,t){return(ui=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function di(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pi=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),si(this,ci(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ui(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t;return o.a.createElement("section",{className:"index__section-wrapper___31n3_"},o.a.createElement("div",{className:"index__section-outer-wrapper___3vTkG"},o.a.createElement("div",{className:"index__section-inner-wrapper___13kV-","data-aos":"fade-in"},o.a.createElement("div",{className:"index__title___k3nDF",dangerouslySetInnerHTML:{__html:n&&n.mainTitle?i(n.mainTitle):""}}),n&&n.partnership?n.partnership.map(function(e){return o.a.createElement("div",{className:"index__wrapper___1Gavq",key:u()()},o.a.createElement("div",{className:"index__partner-item___4bcxJ"},o.a.createElement(x.LazyImage,{src:Object(d.a)(e.productImg),className:"index__partner-img___3Ex8K"}),e.link?o.a.createElement(B.a,{href:e.link,className:"partner-link index__partner-link___G780K"}):null,o.a.createElement("p",{className:"index__product-desc___2alSS",dangerouslySetInnerHTML:{__html:i(e.name)}})))}):"")))}}])&&li(n.prototype,i),r&&li(n,r),t}();di(pi,"editSetting",{key:"partnership",name:"partnership",component_data:{mainTitle:{type:"i18n",label:"大标题"},partnership:{label:"合作伙伴列表",type:"array",items:{type:"object",link:{type:"string",label:"合作伙伴链接"},productImg:{type:"image",label:"合作伙伴logo"},name:{type:"i18n",label:"合作伙伴标题"}}}}}),di(pi,"defaultProps",{t:function(){},component_data:{mainTitle:"Partnership",partnership:[{link:"/",productImg:"b1da76ef6f2685eeb39b31ebe1beaf00.jpg",name:"our partnership"}]}});var fi=Object(p.a)(pi);n(519);function mi(e){return(mi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var _i={"./index.css":{"tab-bar-block":"index__tab-bar-block___hERY7",mask:"index__mask___2equF","tab-bar":"index__tab-bar___3WkRp",underline:"index__underline___2YMJi","public-tabs":"index__public-tabs___28hkD","public-tabs-item":"index__public-tabs-item___1mMm6",active:"index__active___evYGj"}};function hi(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function bi(e,t){return!t||"object"!==mi(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function yi(e){return(yi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function vi(e,t){return(vi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var gi=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=bi(this,yi(t).call(this,e))).nav=o.a.createRef(),n.underLine=o.a.createRef(),n.item=o.a.createRef(),n.tabBar=o.a.createRef(),n.state={parentNodeWidth:0},n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vi(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){for(var e=0,t=this.item.current.parentNode.children,n=0;n<t.length;n++)e+=t[n].clientWidth;this.tabBar.current.style.width=window.innerWidth<e?"100%":"".concat(e,"px"),this.setState({parentNodeWidth:e}),this.Calculation()}},{key:"componentDidUpdate",value:function(){var e=this.state.parentNodeWidth;this.tabBar.current.style.width=window.innerWidth<e?"100%":"".concat(e,"px"),this.Calculation()}},{key:"Calculation",value:function(){var e=this.props.selectIndex,t=this.item.current,n=this.item.current.parentNode.children,i=this.underLine.current;i.style.width="".concat(t.clientWidth,"px"),i.style.transform="translateX(".concat(t.offsetLeft,"px)");for(var r=0,a=0,o=e;o<n.length;o++)a+=n[o].clientWidth+24;for(var l=0;l<e;l++)r+=n[l].clientWidth+24;(a>r||a>0)&&(this.nav.current.scrollTo?this.nav.current.scrollTo(r,0):this.nav.current.pageXOffset=r)}},{key:"render",value:function(){var e=this,t=this.props,n=t.handelIndex,i=t.tabTitleList,a=t.selectIndex;return o.a.createElement("div",{className:"index__tab-bar-block___hERY7"},o.a.createElement("div",{className:"index__mask___2equF"}),o.a.createElement("div",{className:"index__tab-bar___3WkRp",ref:this.tabBar},o.a.createElement("div",{className:"index__public-tabs___28hkD",ref:this.nav},o.a.createElement("div",{className:"index__underline___2YMJi",ref:this.underLine}),i.map(function(t,i){return o.a.createElement("div",{key:t,onClick:function(){return n(i)},ref:a===i?e.item:"",className:r()("public-tabs-item ".concat(a===i?"active":""),_i)},t)}))))}}
1])&&hi(n.prototype,i),a&&hi(n,a),t}();n(520);function wi(e){return(wi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var xi={"./index.css":{"tab-panel":"index__tab-panel___3jUek","tab-panel-show":"index__tab-panel-show___35iVS","tab-panel-item":"index__tab-panel-item___2NcMa","tab-panel-item-img":"index__tab-panel-item-img___TWqJf","tab-panel-item-desc":"index__tab-panel-item-desc___3Nevt"}};function Ei(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Oi(e,t){return!t||"object"!==wi(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ki(e){return(ki=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Si(e,t){return(Si=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Pi=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Oi(this,ki(t).call(this,e))).tabPanel=o.a.createRef(),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Si(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){(0,this.props.calculationMaxHeight)(this.tabPanel.current.clientHeight)}},{key:"shouldComponentUpdate",value:function(e){var t=this.props.isHidden;return!(e.isHidden===t&&!t)}},{key:"render",value:function(){var e=this.props,t=e.tabPaneList,n=e.t,i=e.isHidden;return o.a.createElement("div",{style:{opacity:"hidden"===i?0:1},ref:this.tabPanel,className:r()("hidden"===i?"tab-panel":"tab-panel tab-panel-show",xi)},t.map(function(e){return o.a.createElement("li",{key:u()(),className:"index__tab-panel-item___2NcMa"},o.a.createElement(ie.LazyImage,{className:"index__tab-panel-item-img___TWqJf",src:Object(d.a)(e.image),alt:n(e.imgDesc)}),o.a.createElement("p",{className:"index__tab-panel-item-desc___3Nevt"},n(e.imgDesc)))}))}}])&&Ei(n.prototype,i),a&&Ei(n,a),t}();n(521);function Ti(e){return(Ti="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ni(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ji(e,t){return!t||"object"!==Ti(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ci(e){return(Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Li(e,t){return(Li=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Mi=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=ji(this,Ci(t).call(this,e))).state={selectIndex:0,maxHeight:0},n.tabPanelBlock=o.a.createRef(),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Li(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidUpdate",value:function(){var e=this.state.maxHeight;this.tabPanelBlock.current.style.height="".concat(e+144,"px")}},{key:"render",value:function(){var e=this,t=this.props,n=t.tabTitleList,i=t.tabPaneList,r=t.t,a=this.state.selectIndex;return o.a.createElement("div",null,o.a.createElement(gi,{handelIndex:function(t){e.setState({selectIndex:t})},selectIndex:a,tabTitleList:n}),o.a.createElement("div",{className:"index__tab-panel-block___rTtrP",ref:this.tabPanelBlock},i.map(function(t,n){return o.a.createElement(Pi,{index:a,isHidden:a===n?"":"hidden",calculationMaxHeight:function(t){e.setState(function(e){return{maxHeight:t>e.maxHeight?t:e.maxHeight}})},tabPaneList:t,t:r})})))}}
1])&&Ni(n.prototype,i),r&&Ni(n,r),t}();n(522);function Ii(e){return(Ii="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ai(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Di(e,t){return!t||"object"!==Ii(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function zi(e){return(zi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Vi(e,t){return(Vi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ri(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bi=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Di(this,zi(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vi(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,r=n?[i(n.tabTitle1),i(n.tabTitle2),i(n.tabTitle3),i(n.tabTitle4)]:[],a=[],l=n?[n.tabPaneList1,n.tabPaneList2,n.tabPaneList3,n.tabPaneList4]:[],s=[];return r.forEach(function(e){e&&a.push(e)}),l.forEach(function(e){e&&s.push(e)}),o.a.createElement("section",{className:"index__tab-container___BiVWT"},o.a.createElement("div",{className:"index__tab-content-wrapper___3c84E"},o.a.createElement("div",{className:"index__tab-content___RIM6z"},o.a.createElement("h2",{className:"index__tab-title___3e3Gf","data-aos":"fade-in"},n&&n.mainTitle?i(n.mainTitle):""),o.a.createElement(Mi,{t:i,tabTitleList:a,tabPaneList:s}))))}}])&&Ai(n.prototype,i),r&&Ai(n,r),t}();Ri(Bi,"editSetting",{key:"mobileTabComponents",name:"mobileTabComponents",component_data:{mainTitle:{type:"i18n",label:"大标题"},tabTitle1:{type:"i18n",label:"tab title1"},tabTitle2:{type:"i18n",label:"tab title1"},tabTitle3:{type:"i18n",label:"tab title1"},tabTitle4:{type:"i18n",label:"tab title1"},tabPaneList1:{label:"第一个tab集合配置",type:"array",items:{type:"object",image:{type:"image",label:"图片"},imgDesc:{type:"i18n",label:"icon 描述"}}},tabPaneList2:{label:"第二个tab集合配置",type:"array",items:{type:"object",image:{type:"image",label:"图片"},imgDesc:{type:"i18n",label:"icon 描述"}}},tabPaneList3:{label:"第三个tab集合配置",type:"array",items:{type:"object",image:{type:"image",label:"图片"},imgDesc:{type:"i18n",label:"icon 描述"}}},tabPaneList4:{label:"第四个tab集合配置",type:"array",items:{type:"object",image:{type:"image",label:"图片"},imgDesc:{type:"i18n",label:"icon 描述"}}}}}),Ri(Bi,"defaultProps",{t:function(){},component_data:{mainTitle:"Industry Application",tabTitle1:"High-speed Self-driving",tabTitle2:"Robot",tabTitle3:"Mapping",tabTitle4:"Others",tabPaneList1:[{image:"/",imgDesc:"Passenger Car & Robotaxi"},{image:"/",imgDesc:"Truck"},{image:"/",imgDesc:"HD Map"},{image:"/",imgDesc:"V2X"}],tabPaneList2:[{image:"/",imgDesc:"Passenger Car & Robotaxi"},{image:"/",imgDesc:"Truck"},{image:"/",imgDesc:"HD Map"},{image:"/",imgDesc:"V2X"}],tabPaneList3:[{image:"/",imgDesc:"Passenger Car & Robotaxi"},{image:"/",imgDesc:"Truck"},{image:"/",imgDesc:"HD Map"},{image:"/",imgDesc:"V2X"}],tabPaneList4:[{image:"/",imgDesc:"Passenger Car & Robotaxi"},{image:"/",imgDesc:"Truck"},{image:"/",imgDesc:"HD Map"},{image:"/",imgDesc:"V2X"}]}});var Fi=Object(p.a)(Bi);n(523);function Hi(e){return(Hi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Wi(){return(Wi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function qi(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}
1function Ui(e){return(Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Gi(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yi(e,t){return(Yi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ki=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=Ui(t).call(this,e))||"object"!==Hi(r)&&"function"!=typeof r?Gi(i):r).slickGoTo=n.slickGoTo.bind(Gi(n)),n.bindScroll=n.bindScroll.bind(Gi(n)),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yi(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){(0,this.props.onRefChild)(this),window.addEventListener("scroll",this.bindScroll)}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.bindScroll)}},{key:"bindScroll",value:function(){var e=this,t=this.containerDom.offsetHeight;Math.max(document.documentElement.scrollTop,document.body.scrollTop)>=t?this.carousel.slick.slick.slickPause():(this.carousel.slick.slick.slickPlay(),setTimeout(function(){e.carousel.slick.slick.slickNext()},1e3))}},{key:"slickGoTo",value:function(e){this.carousel&&this.carousel.slick.slickGoTo(e)}},{key:"videoShow",value:function(e){var t=this.props.handleVideoShow;this.carousel&&t(e,this.carousel)}},{key:"videoHide",value:function(){this.carousel&&(this.carousel.slick.slick.slickPlay(),this.carousel.slick.slick.slickNext())}},{key:"render",value:function(){var e=this,t=this.props,n=t.component_data,i=t.t,r={color:n.fontColor},a={backgroundColor:n.bgColor},l={dots:!0,dotsClass:"slick-dots slick-thumb slick-dots-m",infinite:n&&n.swiperList.length>1,speed:1e3,autoplaySpeed:8e3,slidesToShow:1,slidesToScroll:1,autoplay:n&&n.swiperList.length>1,pauseOnHover:!1,customPaging:function(){return o.a.createElement("div",{className:"pagination-box"},o.a.createElement("span",{className:"dot-pagination"},o.a.createElement("span",{className:"dot-progress"})))}},s=n&&Array.isArray(n.swiperList)?n.swiperList.map(function(t){return o.a.createElement("div",{key:u()()},o.a.createElement("div",{className:"index__carousel-img___1uwrJ",style:{backgroundImage:"url(".concat(Object(d.a)(t.image),")")}}),o.a.createElement("div",{className:"index__text-container___2mU8a",style:a},o.a.createElement("div",{className:"index__text-box___LyGHI",style:r},o.a.createElement("h3",{className:"index__title___3fXEP",style:r},i(t.title)),o.a.createElement("p",{className:"index__desc___2fcyt"},i(t.desc))),t.learnMoreLink?o.a.createElement("div",{className:"index__learn-more-box___171xX"},o.a.createElement(B.a,{className:"learn-more index__learn-more___H8x0r",href:t.learnMoreLink},o.a.createElement("div",{style:r},i(t.learnMoreBtnText||t.videoBtnText),o.a.createElement(x.Icon,{name:"angle-right",className:"index__platform-link-icon___1AOMy"})))):null,t.videoLink?o.a.createElement("div",{className:"index__learn-more-box___171xX"},o.a.createElement("div",{className:"learn-more index__learn-more___H8x0r",onClick:e.videoShow.bind(e,i(t.videoLink))},o.a.createElement("div",{style:r},i(t.learnMoreBtnText||t.videoBtnText),o.a.createElement(x.Icon,{name:"fa-solid-play",className:"index__platform-link-icon___1AOMy"})))):null))}):"null";return o.a.createElement("div",{ref:function(t){e.containerDom=t},className:"carousel-box"},o.a.createElement(x.Carousel,Wi({ref:function(t){e.carousel=t}},l),s))}}])&&qi(n.prototype,i),r&&qi(n,r),t}(),Xi=Object(p.a)(Ki);n(524);function $i(e){return($i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Zi(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}
1function Qi(e){return(Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ji(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function er(e,t){return(er=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nr=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=Qi(t).call(this,e))||"object"!==$i(r)&&"function"!=typeof r?Ji(i):r).state={videoVisible:!1,videoLink:"/"},n.handleVideoHide=n.handleVideoHide.bind(Ji(n)),n.renderVideoPlayer=n.renderVideoPlayer.bind(Ji(n)),n.onRefChild=n.onRefChild.bind(Ji(n)),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&er(e,t)}(t,o.a.Component),n=t,(i=[{key:"onRefChild",value:function(e){this.child=e}},{key:"handleVideoShow",value:function(e,t){this.setState({videoVisible:!0,videoLink:e}),t&&t.slick.slick.slickPause()}},{key:"handleVideoHide",value:function(){this.child.videoHide(),this.setState({videoVisible:!1})}},{key:"renderVideoPlayer",value:function(){var e=this.state,t=e.videoVisible,n=e.videoLink;return t?o.a.createElement(E.a,{visible:t,videoLink:n,onClose:this.handleVideoHide}):null}},{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t,r={backgroundColor:n.bgColor};return o.a.createElement("section",{className:"index__carousel-wrap___1Lmyp",style:r},o.a.createElement(Xi,{component_data:n,t:i,handleVideoShow:this.handleVideoShow.bind(this),videoHide:this,onRefChild:this.onRefChild}),this.renderVideoPlayer())}}])&&Zi(n.prototype,i),r&&Zi(n,r),t}();tr(nr,"editSetting",{key:"homeSwiper",name:"homeSwiper",component_data:{bgColor:{type:"string",label:"背景颜色"},fontColor:{type:"string",label:"字体颜色"},swiperList:{label:"轮播 list",type:"array",items:{type:"object",title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},videoLink:{type:"i18n",label:"视频link"},videoBtnText:{type:"i18n",label:"观看视频按钮文案"},learnMoreLink:{type:"string",label:"了解更多链接"},learnMoreBtnText:{type:"i18n",label:"了解更多按钮文案"},image:{type:"image",label:"image"}}}}}),tr(nr,"defaultProps",{t:function(){},component_data:{bgColor:"#13c2c2",fontColor:"#fff",swiperList:[{title:"LiDAR Odometry and Mapping Algorithms Package",desc:"The Future in Sight",learnMoreBtnText:"了解更多1",learnMoreLink:"/"},{title:"LiDAR Odometry and Mapping Algorithms Package",desc:"The Future in Sight",videoBtnText:"观看视频",videoLink:"/"}]}});var ir=Object(p.a)(nr);n(525);function rr(e){return(rr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var ar={"./index.css":{"section-with-hero-component":"index__section-with-hero-component___3sqP3",slider:"index__slider___dTUEu",video:"index__video___2g06E","text-box":"index__text-box___2_Ex4",logo:"index__logo___1IMpw","product-title":"index__product-title___2osXZ",slogan:"index__slogan___1k7Pe","price-desc":"index__price-desc___3irII","video-btn":"index__video-btn___EEdct","product-img-box":"index__product-img-box___27t7R","product-img":"index__product-img___1lig-","angle-down-icon":"index__angle-down-icon___ZSDFC","dark-section":"index__dark-section___2AATp","light-section":"index__light-section___2WcYT","basic-button-box":"index__basic-button-box___XTgrr","video-box":"index__video-box___2-JTQ"}};function or(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function lr(e){return(lr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function sr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cr(e,t){return(cr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ur(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dr=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=lr(t).call(this,e))||"object"!==rr(r)&&"function"!=typeof r?sr(i):r).state={videoVisible:!1,initVideo:!1,time:null},n.handleVideo=n.handleVideo.bind(sr(n)),n.shouldMobileVideoDowngrade=n.shouldMobileVideoDowngrade.bind(sr(n)),n.autoPlayBannerVideo=n.autoPlayBannerVideo.bind(sr(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cr(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=this;if(document.getElementsByClassName("video-box").length>0)new Ln.a({reset:!0,replayWhenRevisible:!1,visiblePlay:!0,containerClassName:"video-box",replayClassName:""});window.onload=function(){e.autoPlayBannerVideo()}}},{key:"autoPlayBannerVideo",value:function(){var e=this.state,t=e.initVideo,n=e.time,i=null;!this.videoEle||isNaN(this.videoEle.duration)||t?(i=setTimeout(this.autoPlayBannerVideo,300),n||this.setState({time:i})):(this.videoEle.play(),this.setState({initVideo:!0}),n&&clearTimeout(n))}},{key:"handleVideo",value:function(){var e=this.state.videoVisible;this.setState({videoVisible:!e})}},{key:"shouldMobileVideoDowngrade",value:function(){if("undefined"==typeof window)return!0;var e=window.navigator.userAgent,t=window.navigator.appVersion,n=!!e.match(/MicroMessenger/gi),i=!!e.match(/iPad/i)||!!e.match(/iPhone/i),r=!!e.match(/UCBrowser/gi),a=!!e.match(/android/gi),o=!!e.match(/\bm?qqbrowser\/([0-9.]+)/gi),l=!!e.match(/DJI-App-Ios/gi)||!!e.match(/DJI-App-Android/gi),s=!!e.match(/DJI-App-pilot-go/gi)||!!e.match(/DJI-App-pilot/gi),c=!!e.match(/djifly_ios/gi),u=!!e.match(/DJI-app-mimo-android/gi)||!!e.match(/DJI-app-mimo-ios/gi),d=!!e.match(/\bfirefox\/([0-9.ab]+)/gi),p=window.navigator&&window.navigator.permissions&&-1!==t.indexOf("(KHTML, like Gecko) Chrome");return a&&!d&&!p||c||s||i&&(r||o||n||l||u)}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,a=void 0===i?{}:i,l=this.state.videoVisible,c=s()({"section-with-hero-component":!0,"dark-section":a&&"dark"===a.theme,"light-section":a&&"light"===a.theme}
1),u={textAlign:"left"===a.layout?"left":"center"},p=this.shouldMobileVideoDowngrade();return o.a.createElement("section",{className:"section-with-hero-component "+r()(c,ar)},o.a.createElement("div",{className:"index__product-img-box___27t7R"},o.a.createElement("img",{className:"index__product-img___1lig-",src:a&&a.productImg?Object(d.a)(a.productImg):"",alt:""})),o.a.createElement("div",null,a.isImg||p?null:o.a.createElement("div",{className:"video-box"},o.a.createElement("video",{muted:!0,loop:a.loop,name:"media",autoPlay:!0,className:"index__video___2g06E",ref:function(t){e.videoEle=t}},o.a.createElement("source",{src:a.smallVideoLink})))),o.a.createElement("div",{className:"index__text-box___2_Ex4",style:u},a&&a.titleLogo?o.a.createElement("img",{className:"index__logo___1IMpw",src:Object(d.a)(a.titleLogo),alt:""}):o.a.createElement("h1",{className:"index__product-title___2osXZ","data-aos":"fade-in"},a&&a.mainTitle?n(a.mainTitle):""),o.a.createElement("p",{className:"index__slogan___1k7Pe"},a&&a.slogan?n(a.slogan):""),o.a.createElement("p",{className:"index__price-desc___3irII",dangerouslySetInnerHTML:{__html:a&&a.priceText?n(a.priceText):""}}),a.videoLink?o.a.createElement("div",{className:"video-btn index__video-btn___EEdct",onClick:this.handleVideo,"data-aos":"fade-in"},a.learnMoreText||a.videoText?o.a.createElement(re.a,{text:n(a.learnMoreText)||n(a.videoText),link:a.learnMoreLink,theme:a.theme,iconName:a.videoLink?"fa-solid-play":"angle-right",animate:!1}):""):null),o.a.createElement(ie.Icon,{name:"angle-down",className:"index__angle-down-icon___ZSDFC"}),l&&a&&a.videoLink?o.a.createElement(E.a,{visible:l,videoLink:a&&a.videoLink?a.videoLink:"",onClose:this.handleVideo}):"")}}])&&or(n.prototype,i),a&&or(n,a),t}();ur(dr,"defaultProps",{t:function(){},component_data:{mainTitle:"HORIZON",slogan:"Slogan of this Product",priceText:"仅售 $ 699",videoText:"观看视频",videoLink:"/",theme:"dark",productImg:"/"}}),ur(dr,"editSetting",{key:"sectionWithHero",name:"sectionWithHero",component_data:{titleLogo:{type:"image",label:"标题logo"},theme:{type:"string",label:"主题色(light or dark)"},layout:{type:"select",label:"文字布局",items:[{value:"center",label:"居中"},{value:"left",label:"居左"}]},mainTitle:{label:"主标题",type:"i18n"},slogan:{label:"描述",type:"i18n"},priceText:{label:"价格描述",type:"i18n"},videoText:{label:"观看视频文案",type:"i18n"},videoLink:{label:"视频链接",type:"string"},learnMoreText:{label:"了解更多文案",type:"i18n"},learnMoreLink:{label:"了解更多链接",type:"string"},isImg:{type:"boolean",label:"是否是图片(如果为true,视频链接则不需要配置)"},smallVideoLink:{label:"小视频播放链接",type:"string"},loop:{type:"boolean",label:"是否循环播放"},productImg:{label:"产品图片(如果是图片,配置的就是图片的链接;如果是视频,配置的就是视频的占位图)",type:"image"}}});var pr=Object(p.a)(dr);n(526);function fr(e){return(fr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var mr={"./index.css":{"section-with-badges-component":"index__section-with-badges-component___p6CuC","section-desc":"index__section-desc___2Xi0Z","section-img":"index__section-img___3_peU","card-list-container":"index__card-list-container___1DH35","product-card":"index__product-card___3Y3ye","card-content":"index__card-content___22NPV","card-badge-wrapper":"index__card-badge-wrapper___1grRJ","card-badge":"index__card-badge___1X0Cg","card-badge-placeholder":"index__card-badge-placeholder___1l22p","card-title-wrapper":"index__card-title-wrapper___1XVjo","card-title":"index__card-title___37Mhs","card-title-image":"index__card-title-image___90DSP","card-price":"index__card-price___1blnG","card-currency":"index__card-currency___3MxIG","card-price-value":"index__card-price-value___3bVOX","card-button":"index__card-button___2DpYv","badges-list":"index__badges-list___ZN8HH","feature-list-item":"index__feature-list-item___3eCbN",title:"index__title___2OE2-",desc:"index__desc___wrvsB","dark-section":"index__dark-section___2Ks7e","light-section":"index__light-section___1ARuo"}};function _r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function hr(e,t){return!t||"object"!==fr(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function br(e){return(br=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function yr(e,t){return(yr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function vr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gr=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}
1(this,t),hr(this,br(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yr(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.t,n=e.component_data,i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){vr(e,t,n[t])})}return e}({},this.constructor.defaultProps.component_data,n||{}),a=s()({"section-with-badges-component":!0,"dark-section":i&&"dark"===i.theme,"light-section":i&&"light"===i.theme}),l=function(e,t,n){return Array.isArray(e)&&0!==e.length?e.map(function(e,i){return o.a.createElement("div",{key:u()(),className:"index__product-card___3Y3ye"},o.a.createElement("div",{className:"index__card-content___22NPV"},e.badgeText&&o.a.createElement("div",{className:"index__card-badge-wrapper___1grRJ"},o.a.createElement("div",{className:"index__card-badge___1X0Cg",style:{color:e.badgeTextColor,backgroundColor:e.badgeBgColor},dangerouslySetInnerHTML:{__html:t(e.badgeText)}})),o.a.createElement("div",{className:"index__card-title-wrapper___1XVjo"},e.titleImage?o.a.createElement("img",{src:Object(d.a)(e.titleImage),alt:t(e.title),className:"index__card-title-image___90DSP"}):e.title&&o.a.createElement("h3",{className:"index__card-title___37Mhs",dangerouslySetInnerHTML:{__html:t(e.title)}})),e.price&&o.a.createElement("div",{className:"index__card-price___1blnG"},o.a.createElement("span",{className:"index__card-price-value___3bVOX"},t(e.price))),e.buttonText&&o.a.createElement(re.a,{text:t(e.buttonText),link:t(e.buttonLink)||"#",target:e.buttonTarget||"_self",theme:"dark"===n?"dark":"light",animate:!1})))}):null}(i.cardList,t,i.theme),c=function(e,t){return Array.isArray(e)&&0!==e.length?e.map(function(e){return o.a.createElement("li",{key:u()(),className:"index__feature-list-item___3eCbN","data-aos":"fade-in"},o.a.createElement("h2",{className:"index__title___2OE2-",dangerouslySetInnerHTML:{__html:t(e.itemTitle)}}),o.a.createElement("p",{className:"index__desc___wrvsB",dangerouslySetInnerHTML:{__html:t(e.itemDesc)}}))}):null}(i&&i.featureList,t);return o.a.createElement("section",{className:r()(a,mr)},o.a.createElement("div",{className:"index__section-desc___2Xi0Z","data-aos":"fade-in",dangerouslySetInnerHTML:{__html:i&&i.desc?t(i.desc):""}}),i&&i.bg&&o.a.createElement("img",{className:"index__section-img___3_peU",src:Object(d.a)(i.bg),alt:""}),l&&o.a.createElement("div",{className:"index__card-list-container___1DH35"},l),o.a.createElement("ul",{className:"index__badges-list___ZN8HH"},c))}}])&&_r(n.prototype,i),a&&_r(n,a),t}();vr(gr,"editSetting",{key:"sectionWithBadges",name:"sectionWithBadges",component_data:{theme:{type:"string",label:"主题(light or dark)"},desc:{type:"i18n",label:"描述"},bg:{type:"image",label:"背景图片"},cardList:{label:"卡片列表",type:"array",items:{type:"object",badgeText:{type:"i18n",label:"标签文字"},badgeTextColor:{type:"string",label:"标签文字颜色"},badgeBgColor:{type:"string",label:"标签背景色"},title:{type:"i18n",label:"标题文字"},titleImage:{type:"image",label:"标题图片(如果填写则显示图片,不显示文字)"},price:{type:"i18n",label:"ä»·æ ¼"},buttonText:{type:"i18n",label:"按钮文字"},buttonLink:{type:"i18n",label:"按钮跳转链接"},buttonTarget:{type:"select",label:"按钮跳转方式",items:[{value:"_self",label:"当前窗口"},{value:"_blank",label:"新窗口"}]}}},featureList:{label:"list",type:"array",items:{type:"object",itemTitle:{type:"i18n",label:"标题"},itemDesc:{type:"i18n",label:"描述"}}}}}),vr(gr,"defaultProps",{t:function(){},component_data:{theme:"dark",desc:"Horizon 高性能激光雷达专为 L3/L4 自动驾驶打造,具备宽广水平视场、260 米探测距离[1]、高点云密度及便于嵌入车体的小巧体积,价格仅为同等性能激光雷达 1/10ã€
1‚巨大的技术和成本优势将加速自动驾驶产业量产落地。",bg:"https://s3.amazonaws.com/vg-ec-www-dbeta/dps/a5199edb134e65fbf63ed61b65861012.jpg",cardList:[{badgeText:"啦啦啦",badgeTextColor:"#BE4E04",badgeBgColor:"#BE4E041A",title:"DDD-999",titleImage:"",price:"3599",buttonText:"Button",buttonLink:"/",buttonTarget:"_self"},{badgeText:"",badgeTextColor:"#BE4E04",badgeBgColor:"#BE4E041A",title:"DDD-999",titleImage:"",price:"3999",buttonText:"Button",buttonLink:"/",buttonTarget:"_self"}],featureList:[{itemTitle:"260 m",itemDesc:"探测距离<sup>2</sup>"},{itemTitle:"2 cm",itemDesc:"距离精度"},{itemTitle:"0.05",itemDesc:"探测距离"},{itemTitle:"0.05",itemDesc:"探测距离"},{itemTitle:"0.05&#8451;",itemDesc:"探测距离"},{itemTitle:"0.05",itemDesc:"探测距离"}]}});var wr=Object(p.a)(gr),xr=n(31),Er=n.n(xr);n(527);function Or(e){return(Or="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var kr={"./index.css":{"section-with-video-replay-component":"index__section-with-video-replay-component___1IH1P","text-box":"index__text-box___3KHG8",title:"index__title___3MIIN","horizon-line":"index__horizon-line___daB_h",desc:"index__desc___3rVMM","video-box":"index__video-box___1akis","section-with-video-replay-component-light":"index__section-with-video-replay-component-light___8VHNh","mobile-mode":"index__mobile-mode___2QmkH","replay-box":"index__replay-box___3n5me","play-video":"index__play-video___3P6xk","play-video-icon":"index__play-video-icon___1ifq6","downgrade-video-box":"index__downgrade-video-box___3CeE0"}};function Sr(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Pr(e){return(Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Tr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nr(e,t){return(Nr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function jr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cr=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=Pr(t).call(this,e))||"object"!==Or(r)&&"function"!=typeof r?Tr(i):r).state={videoVisible:!1},n.handleShowVideo=n.handleShowVideo.bind(Tr(n)),n.bindScroll=n.bindScroll.bind(Tr(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nr(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=this.props.component_data;e&&"false"===e.isReplay?new Ln.a({reset:!1,replayWhenRevisible:!1,visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,containerClassName:"dbv",replayClassName:"",downgradeHtml:'<div class="downgrade-video-box" data-href="#href#">\n        <div class="play-video play-video-icon"></div>\n        <img src="#img#">\n        </div>'}):new Ln.a({reset:!1,replayWhenRevisible:!1,visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,containerClassName:"replay-dbv",replayClassName:"replay-button",downgradeHtml:'<div class="downgrade-video-box" data-href="#href#">\n        <div class="play-video play-video-icon"></div>\n        <img src="#img#">\n        </div>'}),window.addEventListener("scroll",this.bindScroll)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.bindScroll)}},{key:"bindScroll",value:function(){this.videoNode&&!isNaN(this.videoNode.duration)&&Er.a.refresh()}},{key:"handleShowVideo",value:function(){var e=window.navigator.userAgent,t=!!e.match(/iPad/i)||!!e.match(/iPhone/i),n=!!e.match(/UCBrowser/gi),i=!!e.match(/android/gi),r=!!e.match(/\bm?qqbrowser\/([0-9.]+)/gi),a=this.state.videoVisible;(i||t&&(n||r))&&this.setState({videoVisible:!a})}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,a=this.state.videoVisible,l={backgroundColor:i.backgroundColor,paddingBottom:i&&i.showVideoDom&&"false"!==i.showVideoDom?"96px":"0px"};return o.a.createElement("section",{style:l,className:r()("section-with-video-replay-component ".concat("light"===i.theme?"section-with-video-replay-component-light":""),kr)},o.a.createElement("div",{className:"index__text-box___3KHG8"},i&&i.title?o.a.createElement("div",null,o.a.createElement("h2",{className:"index__title___3MI
1IN","data-aos":"fade-in",dangerouslySetInnerHTML:{__html:n(i.title)}}),o.a.createElement("p",{className:"index__horizon-line___daB_h","data-aos":"fade-in"})):null,o.a.createElement("div",{className:"index__desc___3rVMM","data-aos":"fade-in",dangerouslySetInnerHTML:{__html:i?n(i.desc):""}})),i&&i.showVideoDom&&"false"!==i.showVideoDom?o.a.createElement("div",{className:"index__video-box___1akis"},i&&i.videoLink?o.a.createElement("div",{className:i&&"false"===i.isReplay?"dbv":"replay-dbv",onClick:this.handleShowVideo},i&&"true"===i.isLoop?o.a.createElement("video",{style:{backgroundSize:"cover",backgroundImage:i?"url(".concat(Object(d.a)(i.videoPoster),")"):"/"},ref:function(t){e.videoNode=t},muted:!0,loop:!0,name:"media","data-downgrade-img":i?Object(d.a)(i.videoPoster):"/","data-downgrade-href":i&&i.downgradeVideoLink?i.downgradeVideoLink:""},o.a.createElement("source",{"data-layzr-src":i?i.videoLink:"/"})):o.a.createElement("video",{style:{backgroundSize:"cover",backgroundImage:i?"url(".concat(Object(d.a)(i.videoPoster),")"):"/"},ref:function(t){e.videoNode=t},muted:!0,name:"media","data-downgrade-img":i?Object(d.a)(i.videoPoster):"/","data-downgrade-href":i&&i.downgradeVideoLink?i.downgradeVideoLink:""},o.a.createElement("source",{"data-layzr-src":i?i.videoLink:"/"})),o.a.createElement("div",{className:"replay-box"},o.a.createElement("div",{className:"replay-button"},o.a.createElement(re.b,{iconName:"fa-light-redo",theme:"dark",text:n("v2.product.video.replay_text")})))):o.a.createElement("img",{src:i?Object(d.a)(i.videoPoster):"/",alt:""})):null,a&&i&&i.videoLink?o.a.createElement(E.a,{visible:a,videoLink:i&&i.downgradeVideoLink?i.downgradeVideoLink:"",onClose:this.handleShowVideo}):"")}}])&&Sr(n.prototype,i),a&&Sr(n,a),t}();jr(Cr,"defaultProps",{t:function(){},component_data:{backgroundColor:"#060606",title:"为自动驾驶开拓宽广视野",desc:"相比于 Mid-40 的圆形视场,Horizon 的视场接近于矩形,更适合自动驾驶车辆使用。全新的横向扫描方式,为 Horizon 带来 81.7° 的水平视场和 25.1° 的垂直视场,其中水平视场较 Mid-40 扩大了 1 倍, 仅需 5 个 Horizon 即可实现 360° 全视场覆盖。",videoLink:"/",isReplay:"true",isLoop:"false"}}),jr(Cr,"editSetting",{key:"sectionWithVideoReplay",name:"sectionWithVideoReplay",component_data:{backgroundColor:{type:"string",label:"背景色(支持英文代码、十六进制、rgb字符)"},theme:{type:"select",label:"主题",items:[{label:"暗色",value:"dark"},{label:"亮色",value:"light"}]},showVideoDom:{label:"是否展示视频dom(true or false 不填是false)",type:"string"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},videoLink:{type:"string",label:"视频链接"},downgradeVideoLink:{type:"string",label:"安卓视频链接(视频中心链接)"},videoPoster:{type:"image",label:"视频封面图"},isReplay:{type:"string",label:"是否需要重新播放功能(true or false 默认是true)"},isLoop:{type:"string",label:"是否需要循环播放(true or false 默认是false)"}}});var Lr=Object(p.a)(Cr);n(528);function Mr(e){return(Mr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ir(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Ar(e){return(Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Dr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zr(e,t){return(zr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Vr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rr=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=Ar(t).call(this,e))||"object"!==Mr(r)&&"function"!=typeof r?Dr(i):r).state={videoVisible:!1},n.handleShowVideo=n.handleShowVideo.bind(Dr(n)),n.bindScroll=n.bindScroll.bind(Dr(n)),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zr(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=this.props.component_data;e&&"false"===e.isReplay?new Ln.a({reset:!1,replayWhenRevisible:!1,visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,containerClassName:"dbv-T15",replayClassName:"",downgradeHtml:'<div class="downgrade-video-box" data-href="#href#">\n        <div class="play-video play-video-icon"></div>\n        <img src="#img#">\n        </div>'}):new Ln.a({reset:!1,replayWhenRevisible:!1,visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,containerClassName:"replay-dbv-T15",replayClassName:"replay-button-T15",downgradeHtml:'<div class="downgrade-video-box" data-href="#href#">\n        <div class="play-video play-video-icon"></div>\n        <img src="#img#">\n        </div>'}),window.addEventListener("scroll",this.bindScroll)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.bindScroll)}},{key:"bindScroll",value:function(){this.videoNode&&!isNaN(this.videoNode.duration)&&Er.a.refresh()}},{key:"handleShowVideo",value:function(){var e=window.navigator.userAgent,t=!!e.match(/iPad/i)||!!e.match(/iPhone/i),n=!!e.match(/UCBrowser/gi),i=!!e.match(/android/gi),r=!!e.match(/\bm?qqbrowser\/([0-9.]+)/gi),a=this.state.videoVisible;(i||t&&(n||r))&&this.setState({videoVisible:!a})}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,r=this.state.videoVisible,a={backgroundColor:i.backgroundColor};
1return o.a.createElement("section",{className:"section-video-replay-T15 index__section-video-replay-T15___2zdkn",style:a},o.a.createElement("div",null,i&&i.title?o.a.createElement("div",null,o.a.createElement("h2",{className:"index__title___1L8sj","data-aos":"fade-in",dangerouslySetInnerHTML:{__html:n(i.title)}}),o.a.createElement("p",{className:"index__horizon-line___2dDem","data-aos":"fade-in"})):null,o.a.createElement("div",{className:"index__desc___t5_Y9","data-aos":"fade-in",dangerouslySetInnerHTML:{__html:i?n(i.desc):""}})),o.a.createElement("div",{className:"index__video-box___3X6TG"},i&&i.videoLink?o.a.createElement("div",{className:i&&"false"===i.isReplay?"dbv-T15":"replay-dbv-T15",onClick:this.handleShowVideo},i.videoLink?o.a.createElement("div",null,o.a.createElement("video",{ref:function(t){e.videoNode=t},muted:!0,loop:"true"===i.isLoop,name:"media",poster:i?Object(d.a)(i.videoPoster):"/","data-downgrade-img":i?Object(d.a)(i.videoPoster):"/","data-downgrade-href":i&&i.downgradeVideoLink?i.downgradeVideoLink:""},o.a.createElement("source",{"data-layzr-src":i?i.videoLink:"/"})),o.a.createElement("div",{className:"replay-box"},o.a.createElement("div",{className:"replay-button-T15"},o.a.createElement(re.b,{iconName:"fa-light-redo",theme:"dark",text:n("v2.product.video.replay_text")})))):null):null,i.imgLink&&o.a.createElement("div",{className:"index__img-warpper___3tR0h"},o.a.createElement("img",{src:Object(d.a)(i.imgLink),alt:""}),o.a.createElement("p",{dangerouslySetInnerHTML:{__html:n(i.imgDesc)}}))),r&&i&&i.videoLink?o.a.createElement(E.a,{visible:r,videoLink:i&&i.downgradeVideoLink?i.downgradeVideoLink:"",onClose:this.handleShowVideo}):"")}}])&&Ir(n.prototype,i),r&&Ir(n,r),t}();Vr(Rr,"editSetting",{key:"sectionWithVideoReplayT15",name:"sectionWithVideoReplayT15",component_data:{backgroundColor:{type:"string",label:"背景色(支持英文代码、十六进制、rgb字符)"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},videoLink:{type:"string",label:"视频链接"},imgLink:{type:"image",label:"图片"},imgDesc:{type:"i18n",label:"图片描述"},downgradeVideoLink:{type:"string",label:"安卓视频链接(视频中心链接)"},videoPoster:{type:"image",label:"视频封面图"},isReplay:{type:"string",label:"是否需要重新播放功能(true or false 默认是true)"},isLoop:{type:"string",label:"是否需要循环播放(true or false 默认是false)"}}}),Vr(Rr,"defaultProps",{t:function(){},component_data:{backgroundColor:"#060606",title:"为自动驾驶开拓宽广视野",desc:"相比于 Mid-40 的圆形视场,Horizon 的视场接近于矩形,更适合自动驾驶车辆使用。全新的横向扫描方式,为 Horizon 带来 81.7° 的水平视场和 25.1° 的垂直视场,其中水平视场较 Mid-40 扩大了 1 倍, 仅需 5 个 Horizon 即可实现 360° 全视场覆盖。",videoLink:"",imgLink:"",imgDesc:"video-replay.imgdesc",isReplay:"true",isLoop:"false"}});var Br=Object(p.a)(Rr);n(357);function Fr(e){return(Fr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Hr={"./index.css":{"tab-slider-component":"index__tab-slider-component___23pCL","text-box":"index__text-box___1Lj0P",title:"index__title___12V5C","horizontal-line":"index__horizontal-line___1V68h",desc:"index__desc___1ZyYR","tab-slider-box":"index__tab-slider-box___15dKi","slider-img-wrap":"index__slider-img-wrap___4KiwT","img-box":"index__img-box___1VRXz","origin-img-box":"index__origin-img-box___3o0Kj","collation-img":"index__collation-img___1FkPO","full-page":"index__full-page___9pbow","tab-container":"index__tab-container___3kZP-","slider-bar":"index__slider-bar___1fQac","tab-item":"index__tab-item___3l8ud",active:"index__active___448jC","tab-wrap":"index__tab-wrap___3201P","tab-nav":"index__tab-nav___hFuiY","change-button-box":"index__change-button-box___jjhz0","collation-text":"index__collation-text___3w4g1","toggle-button":"index__toggle-button___3fsFB","mobile-mode":"index__mobile-mode___3mXTX","active-img":"index__active-img___1LfBy",show:"index__show___eYyf8"}};function Wr(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function qr(e,t){return!t||"object"!==Fr(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ur(e){return(Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Gr(e,t){return(Gr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Yr=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=qr(this,Ur(t).call(this,e))).state={currentIndex:0},n.tabDom=[],n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gr(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){this.updateIndex(0)}},{key:"updateIndex",value:function(e){var t=this.props.onSliderChange;this.setState({currentIndex:e}),this.tabDom[e]&&(this.sliderBar.style.width="".concat(this.tabDom[e].clientWidth,"px"),this.sliderBar.style.transform="translate3d(".concat(this.tabDom[e].offsetLeft,"px,0,0)"),t(e))}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,a=this.state.currentIndex,l=i&&Array.isArray(i.tabList)?i.tabList.map(function(t,i){return o.a.createElement("div",{key:u()(),onClick:e.updateIndex.bind(e,i),ref:function(t){e.tabDom[i]=t},className:r()(["tab-item",i===a?"active":""].join(" "),Hr)},n(t.tabTitle))}):null;return o.a.createElement("div",{className:"index__tab-wrap___3201P"},o.a.createElement("div",{className:"index__tab-nav___hFuiY"},o.a.createElement("div",{className:"index__tab-container___3kZP-"},o.a.createElement("div",{className:"index__slider-bar___1fQac",ref:function(t){e.sliderBar=t}}),l)))}}
1])&&Wr(n.prototype,i),a&&Wr(n,a),t}(),Kr=Object(p.a)(Yr);function Xr(e){return(Xr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var $r={"./index.css":{"tab-slider-component":"index__tab-slider-component___23pCL","text-box":"index__text-box___1Lj0P",title:"index__title___12V5C","horizontal-line":"index__horizontal-line___1V68h",desc:"index__desc___1ZyYR","tab-slider-box":"index__tab-slider-box___15dKi","slider-img-wrap":"index__slider-img-wrap___4KiwT","img-box":"index__img-box___1VRXz","origin-img-box":"index__origin-img-box___3o0Kj","collation-img":"index__collation-img___1FkPO","full-page":"index__full-page___9pbow","tab-container":"index__tab-container___3kZP-","slider-bar":"index__slider-bar___1fQac","tab-item":"index__tab-item___3l8ud",active:"index__active___448jC","tab-wrap":"index__tab-wrap___3201P","tab-nav":"index__tab-nav___hFuiY","change-button-box":"index__change-button-box___jjhz0","collation-text":"index__collation-text___3w4g1","toggle-button":"index__toggle-button___3fsFB","mobile-mode":"index__mobile-mode___3mXTX","active-img":"index__active-img___1LfBy",show:"index__show___eYyf8"}};function Zr(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Qr(e){return(Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Jr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ea(e,t){return(ea=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ta(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var na=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=Qr(t).call(this,e))||"object"!==Xr(r)&&"function"!=typeof r?Jr(i):r).state={},n.compareImg=[],n.toggleButton=n.toggleButton.bind(Jr(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ea(e,t)}(t,o.a.Component),n=t,(i=[{key:"onSliderChange",value:function(e){var t=this;this.compareImg.map(function(e,n){t.compareImg[n].classList.remove("show"),t.compareImg[n].classList.remove("active-img")}),this.compareImg[e].classList.add("show"),this.compareImg[e].classList.add("active-img"),this.toggleButton()}},{key:"toggleButton",value:function(){var e=this,t=document.getElementById("toggle-button");this.compareImg.map(function(n,i){t.checked?e.compareImg[i].classList.remove("active-img"):e.compareImg[i].classList.add("active-img")})}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,a=i&&Array.isArray(i.tabList)?i.tabList.map(function(t,n){return o.a.createElement("div",{key:u()(),ref:function(t){e.compareImg[n]=t},style:{backgroundImage:"url(".concat(Object(d.a)(t.collationMap),")")},className:r()(["collation-img"].join(" "),$r)})}):null;return o.a.createElement("section",{className:"index__tab-slider-component___23pCL",ref:function(t){e.containerDom=t}},o.a.createElement("div",{className:"index__text-box___1Lj0P"},i&&i.title?o.a.createElement("div",null,o.a.createElement("h2",{className:"index__title___12V5C","data-aos":"fade-in"},n(i.title)),o.a.createElement("p",{className:"index__horizontal-line___1V68h","data-aos":"fade-in"})):null,o.a.createElement("div",{className:"index__desc___1ZyYR","data-aos":"fade-in"},i?n(i.desc):null)),o.a.createElement("div",{className:"index__tab-slider-box___15dKi","data-aos":"fade-in"},o.a.createElement("div",{className:"index__slider-img-wrap___4KiwT"},o.a.createElement("div",{className:"index__img-box___1VRXz"},a,o.a.createElement("div",{className:"index__origin-img-box___3o0Kj"},o.a.createElement("img",{src:i&&i.originImg?Object(d.a)(i.originImg):"",alt:""})))),o.a.createElement(Kr,{component_data:i,t:n,onSliderChange:this.onSliderChange.bind(this)}),o.a.createElement("div",{className:"index__change-button-box___jjhz0"},o.a.createElement("span",{className:"index__collation-text___3w4g1"},i&&i.collationText?i.collationText:""),o.a.createElement("input",{id:"toggle-button",type:"checkbox",className:"index__toggle-button___3fsFB",onClick:this.toggleButton}))))}}
1])&&Zr(n.prototype,i),a&&Zr(n,a),t}();ta(na,"editSetting",{key:"sectionWithTabSlider",name:"sectionWithTabSlider",component_data:{title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},originImg:{type:"image",label:"原图"},collationText:{type:"i18n",label:"对比文案"},tabList:{label:"list",type:"array",items:{type:"object",tabTitle:{type:"i18n",label:"tab 标题"},collationMap:{type:"image",label:"对比图"}}}}}),ta(na,"defaultProps",{t:function(){},component_data:{title:"高精度点云,全面覆盖视场",desc:"Horizon 采用独特的非重复横向扫描机制,通过多路激光同时扫描,有效提升视场内点云覆盖率,点云密度可轻松超过传统 64 线激光雷达的水平,点云数据率亦为 Mid 系列的 3 倍,从而得以检测并使用视场内更多细节,有效避免漏检,让自动驾驶更安全可靠。不仅如此,高达 24 万的点云密度均匀分布,在其视野范围内无明显死角,每一个角落都能清晰呈现。",originImg:"/",collationText:"实景对比",tabList:[{tabTitle:"100ms",collationMap:"/"},{tabTitle:"200ms",collationMap:"/"},{tabTitle:"300ms",collationMap:"/"},{tabTitle:"400ms",collationMap:"/"},{tabTitle:"500ms",collationMap:"/"}]}});var ia=Object(p.a)(na);n(358);function ra(e){return(ra="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function aa(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}
1function oa(e){return(oa=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function la(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sa(e,t){return(sa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ca,ua,da,pa=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=oa(t).call(this,e))||"object"!==ra(r)&&"function"!=typeof r?la(i):r).state={videoVisible:!1,link:""},n.handleHideVideo=n.handleHideVideo.bind(la(n)),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sa(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=document.getElementsByClassName("dbv-info-card-img-m"),t=document.getElementsByClassName("replay-dbv-info-card-img-m");if(0!==e.length)new Ln.a({reset:!1,replayWhenRevisible:!0,visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,containerClassName:"dbv-info-card-img-m",replayClassName:"",downgradeHtml:'<div class="downgrade-video-box" data-href="#href#">\n        <div class="play-video play-video-icon"></div>\n        <img src="#img#">\n        </div>'});if(0!==t.length)new Ln.a({reset:!1,replayWhenRevisible:!0,visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,containerClassName:"replay-dbv-info-card-img-m",replayClassName:"replay-button",downgradeHtml:'<div class="downgrade-video-box" data-href="#href#">\n        <div class="play-video play-video-icon"></div>\n        <img src="#img#">\n        </div>'});var n=window.navigator.userAgent,i=!!n.match(/iPad/i)||!!n.match(/iPhone/i),r=!!n.match(/UCBrowser/gi),a=!!n.match(/android/gi),o=!!n.match(/\bm?qqbrowser\/([0-9.]+)/gi);this.setState({downgrade:a||i&&(r||o)})}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"videoShow",value:function(e){(0,this.props.handleVideoShow)(e)}},{key:"handleShowVideo",value:function(e){var t=this.state.downgrade,n=this.props.handleVideoShow;t&&n(e)}},{key:"handleHideVideo",value:function(){this.setState({videoVisible:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,r=i&&Array.isArray(i.cardList)?i.cardList.map(function(t){return o.a.createElement("div",{key:u()(),className:"index__card-item___1DCo1"},t.videoLink?o.a.createElement("div",{style:{backgroundImage:"url(".concat(Object(d.a)(t.videoPoster),")"),backgroundSize:"cover"},className:"true"===t.isReplay?"replay-dbv-info-card-img-m cls":"dbv-info-card-img-m cls",onClick:e.handleShowVideo.bind(e,t.downgradeVideoLink)},o.a.createElement("video",{muted:!0,loop:"true"===t.isLoop,name:"media","data-downgrade-img":Object(d.a)(t.videoPoster),"data-downgrade-href":t.downgradeVideoLink},o.a.createElement("source",{"data-layzr-src":t.videoLink})),o.a.createElement("div",{className:"true"===t.isReplay?"replay-button":"replay-button replay-button-hidden-m"})):o.a.createElement("img",{className:"index__card-img___3Wr-N",src:Object(d.a)(t.img),alt:""}),o.a.createElement("div",{className:"index__text-container___29WcV"},o.a.createElement("h3",{className:"index__card-item-title___2xCWX","data-aos":"fade-in"},n(t.title)),o.a.createElement("p",{className:"index__card-item-desc___25G1U","data-aos":"fade-in"},n(t.desc)),t.watchVideoText&&o.a.createElement("div",{className:"index__card-item-btn___1QZrT",onClick:e.videoShow.bind(e,t.watchVideoLink),"data-aos":"fade-in"},o.a.createElement(re.b,{text:n(t.watchVideoText),theme:"dark",iconName:"play-circle-o",link:""}))))}):null;return o.a.createElement("div",null,r)}}])&&aa(n.prototype,i),r&&aa(n,r),t}();da={t:function(){},component_data:{},handleVideoShow:function(){}},(ua="defaultProps")in(ca=pa)?Object.defineProperty(ca,ua,{value:da,enumerable:!0,configurable:!0,writable:!0}):ca[ua]=da;var fa=Object(p.a)(pa);function ma(e){return(ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var _a={"./index.css":{"info-card-img-component-light":"index__info-card-img-component-light___wG_bI",title:"index__title___3zlf3","section-desc":"index__section-desc___Q-dLD","horizontal-line":"index__horizontal-line___D6ffU","card-item":"index__card-item___1DCo1","card-item-title":"index__card-item-title___2xCWX","card-item-desc":"index__card-item-desc___25G1U","info-card-img-component-dark":"index__info-card-img-component-dark___W-2vl","info-card-img-component":"index__info-card-img-component___1W_H5","text-box":"index__text-box___3Owm3","card-box":"index__card-box___mOddI","card-img":"index__card-img___3Wr-N","text-container":"index__text-container___29WcV","card-item-btn":"index__card-item-btn___1QZrT","info-card-img-component-m":"index__info-card-img-component-m___3Pthe","replay-dbv-info-card-img-m":"index__replay-dbv-info-card-img-m___2zKkS","dbv-info-card-img-m":"index__dbv-info-card-img-m___1UHbU","replay-button":"index__replay-button___3ngp-","replay-button-hidden-m":"index__replay-button-hidden-m___eTBwU"}};function ha(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ba(e,t){return!t||"object"!==ma(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function ya(e){return(ya=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function va(e,t){return(va=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ga(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wa=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=ba(this,ya(t).call(this,e))).state={videoVisible:!1,videoLink:"/"},n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&va(e,t)}(t,o.a.Component),n=t,(i=[{key:"handleVideoShow",value:function(e){this.setState({videoVisible:!0,videoLink:e})}},{key:"handleVideoHide",value:function(){this.setState({videoVisible:!1})}},{key:"render",value:function(){var e=this.props,t=e.t,n=e.component_data,i=this.state,a=i.videoVisible,l=i.videoLink;return o.a.createElement("section",{className:"info-card-img-component-m "+r()("info-card-img-component ".concat(n&&"light"===n.theme?"info-card-img-component-light":"info-card-img-component-dark"),_a)},o.a.createElement("div",{className:"index__text-box___3Owm3"},n&&n.mainTitle?o.a.createElement("div",null,o.a.createElement("h2",{className:"index__title___3zlf3","data-aos":"fade-in"},t(n.mainTitle)),o.a.createElement("p",{className:"index__horizontal-line___D6ffU","data-aos":"fade-in"})):null,n&&n.mainDesc?o.a.createElement("p",{className:"index__section-desc___Q-dLD"},t(n.mainDesc)):null),o.a.createElement("div",{className:"index__card-box___mOddI"},o.a.createElement(fa,{component_data:n,t:t,handleVideoShow:this.handleVideoShow.bind(this)})),a?o.a.createElement(E.a,{visible:a,videoLink:l,onClose:this.handleVideoHide.bind(this)}):null)}}])&&ha(n.prototype,i),a&&ha(n,a),t}();ga(wa,"defaultProps",{t:function(){},component_data:{mainTitle:"高效开发,拓展潜能",cardList:[{img:"/",title:"开放式 SDK",desc:"Livox SDK 支持 Linux/Windows/macOS/ROS 等多种操作系统以及 C/C++/Python 等各种开发语言,方便用户在各种平台上使用 Livox 激光雷达。Livox 还提供 SLAM、外参标定等常用算法,帮助用户快速上手。",watchVideoText:"观看视频",watchVideoLink:"/",videoLink:"",videoPoster:"",isReplay:"true",isLoop:"false"},{img:"/",title:"开放式 SDK",desc:"Livox SDK 支持 Linux/Windows/macOS/ROS 等多种操作系统以及 C/C++/Python 等各种开发语言,方便用户在各种平台上使用 Livox 激光雷达。Livox 还提供 SLAM、外参标定等常用算法,帮助用户快速上手。",watchVideoText:"观看视频",watchVideoLink:"/",videoLink:"",videoPoster:"",isReplay:"true",isLoop:"false"},{img:"/",title:"开放式 SDK",desc:"Livox SDK 支持 Linux/Windows/macOS/ROS 等多种操作系统以及 C/C++/Python 等各种开发语言,方便用户在各种平台上使用 Livox 激光雷达。Livox 还提供 SLAM、外参标定等常用算法,帮助用户快速上手。",watchVideoText:"观看视频",watchVideoLink:"/",videoLink:"",videoPoster:"",isReplay:"true",isLoop:"false"}]}}),ga(wa,"editSetting",{key:"infoCardWithImg",name:"infoCardWithImg",component_data:{theme:{type:"select",label:"主题",items:[{label:"亮色",value:"light"},{label:"暗色",value:"dark"}]},mainTitle:{type:"i18n",label:"主标题"},mainDesc:{type:"i18n",label:"描述"},cardList:{label:"list",type:"array",items:{type:"object",img:{type:"image",label:"图片"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},watchVideoText:{type:"i18n",label:"观看视频文案"},watchVideoLink:{type:"string",label:"观看视频链接"},videoLink:{type:"string",label:"视频链接"},videoPoster:{type:"image",label:"视频封面图"},downgradeVideoLink:{type:"string",label:"安卓视频降级链接"},isReplay:{type:"string",label:"是否需要重新播放功能(true or false 不填为false)"},isLoop:{type:"string",label:"是否需要循环播放(true or false 不填为false)"}}}}});var xa=Object(p.a)(wa),Ea=n(193),Oa=n.n(Ea);n(359);function ka(e){return(ka="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Sa(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}
1function Pa(e){return(Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ta(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Na(e,t){return(Na=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ja=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=Pa(t).call(this,e))||"object"!==ka(r)&&"function"!=typeof r?Ta(i):r).state={videoVisible:!1,link:""},n.handleHideVideo=n.handleHideVideo.bind(Ta(n)),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Na(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=document.getElementsByClassName("dbv-info-card-img-m2"),t=document.getElementsByClassName("replay-dbv-info-card-img-m2");if(0!==e.length)new Ln.a({reset:!1,replayWhenRevisible:!0,visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,containerClassName:"dbv-info-card-img-m2",replayClassName:"",downgradeHtml:'<div class="downgrade-video-box" data-href="#href#">\n        <div class="play-video play-video-icon"></div>\n        <img src="#img#">\n        </div>'});if(0!==t.length)new Ln.a({reset:!1,replayWhenRevisible:!0,visiblePlay:!0,lazyLoad:!0,lazyLoadThreshold:1200,containerClassName:"replay-dbv-info-card-img-m2",replayClassName:"replay-button-infocard-V2",downgradeHtml:'<div class="downgrade-video-box" data-href="#href#">\n        <div class="play-video play-video-icon"></div>\n        <img src="#img#">\n        </div>'});var n=Oa.a.isDowngrade();this.setState({downgrade:n})}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"videoShow",value:function(e){(0,this.props.handleVideoShow)(e)}},{key:"handleShowVideo",value:function(e){var t=this.state.downgrade,n=this.props.handleVideoShow;t&&n(e)}},{key:"handleHideVideo",value:function(){this.setState({videoVisible:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,r=i&&Array.isArray(i.cardList)?i.cardList.map(function(t){return o.a.createElement("div",{key:u()(),className:"index__card-item___3VVsN"},t.videoLink?o.a.createElement("div",{style:{backgroundImage:"url(".concat(Object(d.a)(t.videoPoster),")"),backgroundSize:"cover"},className:"true"===t.isReplay?"replay-dbv-info-card-img-m2 cls":"dbv-info-card-img-m2 cls",onClick:e.handleShowVideo.bind(e,t.downgradeVideoLink)},o.a.createElement("video",{muted:!0,loop:"true"===t.isLoop,name:"media","data-downgrade-img":Object(d.a)(t.videoPoster),"data-downgrade-href":t.downgradeVideoLink},o.a.createElement("source",{"data-layzr-src":t.videoLink})),o.a.createElement("div",{className:"true"===t.isReplay?"replay-button-infocard-V2":"replay-button-infocard-V2 replay-button-hidden-m"})):o.a.createElement("img",{className:"index__card-img___1DQ9_",src:Object(d.a)(t.img),alt:""}),o.a.createElement("div",{className:"index__text-container___2Wrc9"},o.a.createElement("h3",{className:"index__card-item-title___16Eok","data-aos":"fade-in",dangerouslySetInnerHTML:{__html:n(t.title)}}),o.a.createElement("p",{className:"index__card-item-desc___6HBcL","data-aos":"fade-in",dangerouslySetInnerHTML:{__html:n(t.desc)}}),o.a.createElement("div",{className:"index__link___6b69l"},t.linkText?o.a.createElement("div",{className:"index__link-wraper___fAWC7"},o.a.createElement(B.a,{className:"learn-more index__learn-more___2dsVP",href:t.link,target:"_blank"},n(t.linkText)),o.a.createElement(x.Icon,{name:"angle-right",className:"index__link-icon___L9-a1"})):null,t.watchVideoText?o.a.createElement("div",{className:"index__link-wraper___fAWC7"},o.a.createElement("div",{className:"index__learn-more___2dsVP",onClick:e.videoShow.bind(e,t.watchVideoLink)},n(t.watchVideoText)),o.a.createElement(x.Icon,{name:"angle-right",className:"index__link-icon___L9-a1"})):null)))}):null;return o.a.createElement("div",null,r)}}
1])&&Sa(n.prototype,i),r&&Sa(n,r),t}();!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(ja,"defaultProps",{t:function(){},component_data:{},handleVideoShow:function(){}});var Ca=Object(p.a)(ja);function La(e){return(La="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Ma={"./index.css":{"info-card-img-component-light":"index__info-card-img-component-light___1lKQ1",title:"index__title___3xHfT","section-desc":"index__section-desc___cR3rR","horizontal-line":"index__horizontal-line___3F2wW","card-item":"index__card-item___3VVsN","card-item-title":"index__card-item-title___16Eok","card-item-desc":"index__card-item-desc___6HBcL","link-wraper":"index__link-wraper___fAWC7",link:"index__link___6b69l","card-video":"index__card-video___2R3Vg","learn-more":"index__learn-more___2dsVP","link-icon":"index__link-icon___L9-a1","info-card-img-component-dark":"index__info-card-img-component-dark___2_TmR","info-card-img-component":"index__info-card-img-component___3sjd5","text-box":"index__text-box___1der_","card-box":"index__card-box___3foRF","card-img":"index__card-img___1DQ9_","text-container":"index__text-container___2Wrc9","card-item-btn":"index__card-item-btn___3CRmM","info-card-img-component-m2":"index__info-card-img-component-m2___3XiGJ","replay-dbv-info-card-img-m2":"index__replay-dbv-info-card-img-m2___1Kv07","dbv-info-card-img-m2":"index__dbv-info-card-img-m2___3c4ks","replay-button-infocard-V2":"index__replay-button-infocard-V2___RuK7E","replay-button-hidden-m":"index__replay-button-hidden-m___2GaNI"}};function Ia(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Aa(e,t){return!t||"object"!==La(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Da(e){return(Da=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function za(e,t){return(za=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Va(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ra=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Aa(this,Da(t).call(this,e))).state={videoVisible:!1,videoLink:"/"},n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&za(e,t)}(t,o.a.Component),n=t,(i=[{key:"handleVideoShow",value:function(e){this.setState({videoVisible:!0,videoLink:e})}},{key:"handleVideoHide",value:function(){this.setState({videoVisible:!1})}},{key:"render",value:function(){var e=this.props,t=e.t,n=e.component_data,i=this.state,a=i.videoVisible,l=i.videoLink;return o.a.createElement("section",{className:"info-card-img-component-m2 "+r()("info-card-img-component ".concat(n&&"light"===n.theme?"info-card-img-component-light":"info-card-img-component-dark"),Ma)},o.a.createElement("div",{className:"index__text-box___1der_"},n&&n.mainTitle?o.a.createElement("div",null,o.a.createElement("h2",{className:"index__title___3xHfT","data-aos":"fade-in",dangerouslySetInnerHTML:{__html:t(n.mainTitle)}}),o.a.createElement("p",{className:"index__horizontal-line___3F2wW","data-aos":"fade-in"})):null,n&&n.mainDesc?o.a.createElement("p",{className:"index__section-desc___cR3rR",dangerouslySetInnerHTML:{__html:t(n.mainDesc)}}):null),o.a.createElement("div",{className:"index__card-box___3foRF"},o.a.createElement(Ca,{component_data:n,t:t,handleVideoShow:this.handleVideoShow.bind(this)})),a?o.a.createElement(E.a,{visible:a,videoLink:l,onClose:this.handleVideoHide.bind(this)}):null)}}
1])&&Ia(n.prototype,i),a&&Ia(n,a),t}();Va(Ra,"defaultProps",{t:function(){},component_data:{mainTitle:"高效开发,拓展潜能",cardList:[{img:"/",videoPoster:"",videoLink:"",title:"开放式 SDK",desc:"Livox SDK 支持 Linux/Windows/macOS/ROS 等多种操作系统以及 C/C++/Python 等各种开发语言,方便用户在各种平台上使用 Livox 激光雷达。Livox 还提供 SLAM、外参标定等常用算法,帮助用户快速上手。",link:"",linkText:"跳转链接文案",watchVideoText:"观看视频",watchVideoLink:"/",downgradeVideoLink:"",isReplay:"true",isLoop:"false"},{img:"/",videoPoster:"",videoLink:"",title:"开放式 SDK",desc:"Livox SDK 支持 Linux/Windows/macOS/ROS 等多种操作系统以及 C/C++/Python 等各种开发语言,方便用户在各种平台上使用 Livox 激光雷达。Livox 还提供 SLAM、外参标定等常用算法,帮助用户快速上手。",link:"",linkText:"跳转链接文案",watchVideoText:"观看视频",watchVideoLink:"/",downgradeVideoLink:"",isReplay:"true",isLoop:"false"}]}}),Va(Ra,"editSetting",{key:"infoCardWithImg",name:"infoCardWithImg",component_data:{theme:{type:"select",label:"主题",items:[{label:"亮色",value:"light"},{label:"暗色",value:"dark"}]},mainTitle:{type:"i18n",label:"主标题"},mainDesc:{type:"i18n",label:"主描述"},cardList:{label:"list",type:"array",items:{type:"object",img:{type:"image",label:"背景图片(无视频链接时显示背景图)"},videoPoster:{type:"image",label:"视频封面图"},videoLink:{type:"string",label:"背景视频链接"},title:{type:"i18n",label:"小标题"},desc:{type:"i18n",label:"小标题描述"},link:{type:"string",label:"跳转链接"},linkText:{type:"i18n",label:"跳转链接文案"},watchVideoLink:{type:"string",label:"观看视频链接"},watchVideoText:{type:"i18n",label:"观看视频文案"},downgradeVideoLink:{type:"string",label:"安卓视频降级链接"},isReplay:{type:"string",label:"是否需要重新播放功能(true or false 不填为false)"},isLoop:{type:"string",label:"是否需要循环播放(true or false 不填为false)"}}}}});var Ba=Object(p.a)(Ra);n(529);function Fa(e){return(Fa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Ha={"./index.css":{"info-card-icon-component":"index__info-card-icon-component___2K7kA","text-box":"index__text-box___1PqjB",title:"index__title___3P4Yx","horizontal-line":"index__horizontal-line___38Il4","card-box":"index__card-box___qMff6","card-item":"index__card-item___3VYvg","card-icon":"index__card-icon___2tVIz","text-container":"index__text-container___3zQ5A","card-item-title":"index__card-item-title___1tCo9","card-item-desc":"index__card-item-desc___35-Ah","light-section":"index__light-section___1LMz1","dark-section":"index__dark-section___2VKjq"}};function Wa(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function qa(e,t){return!t||"object"!==Fa(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ua(e){return(Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ga(e,t){return(Ga=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ya(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ka=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),qa(this,Ua(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ga(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.t,n=e.component_data,i=n&&Array.isArray(n.cardList)?n.cardList.map(function(e){return o.a.createElement("div",{key:u()(),className:"index__card-item___3VYvg"},o.a.createElement("div",{className:"index__card-icon___2tVIz"},o.a.createElement("img",{src:Object(d.a)(e.icon),alt:t(e.title)})),o.a.createElement("div",{className:"index__text-container___3zQ5A"},o.a.createElement("h3",{className:"index__card-item-title___1tCo9","data-aos":"fade-in"},t(e.title)),o.a.createElement("p",{className:"index__card-item-desc___35-Ah","data-aos":"fade-in"},t(e.desc))))}):null,a=s()({"info-card-icon-component":!0,"dark-section":n&&"dark"===n.theme,"light-section":n&&"light"===n.theme});return o.a.createElement("section",{className:r()(a,Ha)},o.a.createElement("div",{className:"index__text-box___1PqjB"},n&&n.mainTitle?o.a.createElement("div",null,o.a.createElement("h2",{className:"index__title___3P4Yx","data-aos":"fade-in"},t(n.mainTitle)),o.a.createElement("p",{className:"index__horizontal-line___38Il4","data-aos":"fade-in"})):null),o.a.createElement("div",{className:"index__card-box___qMff6"},i))}}
1])&&Wa(n.prototype,i),a&&Wa(n,a),t}();Ya(Ka,"editSetting",{key:"infoCardWithIcon",name:"infoCardWithIcon",component_data:{theme:{type:"string",label:"主题(light or dark)"},mainTitle:{type:"i18n",label:"主标题"},cardList:{label:"list",type:"array",items:{type:"object",icon:{type:"image",label:"图片"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"}}}}}),Ya(Ka,"defaultProps",{t:function(){},component_data:{mainTitle:"高效开发,拓展潜能",theme:"dark",cardList:[{icon:"/",title:"开放式 SDK",desc:"Livox SDK 支持 Linux/Windows/macOS/ROS 等多种操作系统以及 C/C++/Python 等各种开发语言,方便用户在各种平台上使用 Livox 激光雷达。Livox 还提供 SLAM、外参标定等常用算法,帮助用户快速上手。"},{icon:"/",title:"开放式 SDK",desc:"Livox SDK 支持 Linux/Windows/macOS/ROS 等多种操作系统以及 C/C++/Python 等各种开发语言,方便用户在各种平台上使用 Livox 激光雷达。Livox 还提供 SLAM、外参标定等常用算法,帮助用户快速上手。"}]}});var Xa=Object(p.a)(Ka);n(530);function $a(e){return($a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Za(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Qa(e,t){return!t||"object"!==$a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ja(e){return(Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function eo(e,t){return(eo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function to(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var no=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Qa(this,Ja(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eo(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this,t=this.props,n=t.component_data,i=void 0===n?{}:n,r=t.t,a=ie.Tabs.TabPanel,l=i&&Array.isArray(i.data)?i.data.map(function(e){return o.a.createElement(a,{tab:r(e.tabTitle),key:r(e.tabTitle)},o.a.createElement(ie.LazyImage,{src:Object(d.a)(e.img),className:"index__img-part___5XL5S"}))}):null;return o.a.createElement("section",{className:"index__section-wrap___x9OuQ"},i?o.a.createElement("div",{className:"index__text-box___1N5W_","data-aos":"fade-in"},o.a.createElement("h2",{className:"index__main-title___1xybM"},r(i.title)),o.a.createElement("p",{className:"index__horizon-line___KLibT"})):null,i?o.a.createElement("p",{className:"index__desc___34gVe","data-aos":"fade-in"},r(i.desc)):null,i?o.a.createElement("div",null,o.a.createElement(ie.Tabs,{tabPosition:"left",theme:"light",ref:function(t){e.tabDom=t}},l)):null)}}])&&Za(n.prototype,i),r&&Za(n,r),t}();to(no,"editSetting",{key:"tabSwitchSlider",name:"tabSwitchSlider",component_data:{title:{type:"i18n",label:"大标题"},desc:{type:"i18n",label:"描述"},data:{label:"展示的数据",type:"array",items:{type:"object",img:{type:"image",label:"图片"},tabTitle:{type:"i18n",label:"标题"}}}}}),to(no,"defaultProps",{t:function(){},component_data:{title:"远距离,高精度",desc:"Mid 系列采用先进的光学设计,探测范围可达 260 米。其中 Mid-40 的采样率为 100,000 点/秒,角度随机误差小于 0.1°。在圆形视场上,Mid-40 水平视场角为 38.4°,而由三个 Mid-40 横向组合而成的 Mid-100,则将水平视场角进一步提升至 98.4°。",data:[{img:"/",tabTitle:"MID-40"},{img:"/",tabTitle:"MID-100"}]}});var io=Object(p.a)(no);n(531);function ro(e){return(ro="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ao(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function oo(e,t){return!t||"object"!==ro(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function lo(e){return(lo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function so(e,t){return(so=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function co(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uo=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),oo(this,lo(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&so(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=void 0===t?{}:t,i=e.t;return o.a.createElement("section",{className:"index__wrap___25RuO"},o.a.createElement("div",{className:"index__container___PmktJ"},o.a.createElement("img",{className:"index__bg-img___28sSA",src:Object(d.a)(n&&n.bg?n.bg:""),alt:""}),o.a.createElement("div",{className:"index__text-box___3482y"},o.a.createElement("img",{className:"index__icon___2xk6q",src:Object(d.a)(n&&n.icon?n.icon:""),alt:""}),n&&n.title?o.a.createElement("div",null,o.a.createElement("h2",{className:"index__title___33TXk","data-aos":"fade-in"},i(n.title)),o.a.createElement("p",{className:"index__horizontal-line___1DsKc","data-aos":"fade-in"})):null,n&&n.desc?o.a.createElement("p",{className:"index__desc___2citU","data-aos":"fade-in"},i(n.desc)):null)))}}])&&ao(n.prototype,i),r&&ao(n,r),t}();co(uo,"editSetting",{key:"infoBlock",name:"infoBlock",component_data:{bg:{type:"image",label:"背景图片"},icon:{type:"image",label:"icon"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"}}}),co(uo,"defaultProps",{t:function(){},component_data:{bg:"/",icon:"/",title:"德国莱茵 TÜV 安全认证",desc:"Tele-15 采用大口径折射式扫描方案,通过同轴设计的光学系统,可探测远至 500 米外的物体。同时,所使用的 905 nm 激光系统经过德国莱茵 TÜV 安全认证,符合人眼安全标准(Class 1)"}});var po=Object(p.a)(uo);n(532);function fo(e){return(fo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mo(){return(mo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function _o(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ho(e,t){return!t||"object"!==fo(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function bo(e){return(bo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function yo(e,t){return(yo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function vo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var go=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=ho(this,bo(t).call(this,e))).state={},n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yo(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this,t=this.props,n=t.component_data,i=void 0===n?{}:n,r=t.t,a={dots:!0,dotsClass:"slick-dots slick-thumb slick-dots-m",infinite:!0,speed:1e3,autoplaySpeed:8e3,slidesToShow:1,slidesToScroll:1,autoplay:i&&i.swiperList.length>1,pauseOnHover:!1,customPaging:function(){return o.a.createElement("div",{className:"pagination-box"},o.a.createElement("span",{className:"dot-pagination"},o.a.createElement("span",{className:"dot-progress"})))}},l={color:i.fontColor},s=i&&Array.isArray(i.swiperList)?i.swiperList.map(function(e){return o.a.createElement("div",{key:u()(),className:"index__carousel-img___2yd3G"},o.a.createElement("img",{src:Object(d.a)(e.image),alt:""}),o.a.createElement("div",{className:"index__bg-mask___1iYol"}),o.a.createElement("div",{className:"index__text-container___2S5pU"},o.a.createElement("div",{className:"index__text-box___u7j2D",style:l},o.a.createElement("p",{className:"index__tips___1lNq-"},r(e.tips)),o.a.createElement("h3",{className:"index__title___MhSSm",style:l},r(e.title))),e.learnMoreLink?o.a.createElement("div",{className:"index__learn-more-box___290SJ"},o.a.createElement(B.a,{className:"learn-more index__learn-more___2xYWZ",href:e.learnMoreLink},o.a.createElement("div",{style:l},r(e.learnMoreBtnText||e.videoBtnText),o.a.createElement(ie.Icon,{name:"angle-right",className:"index__platform-link-icon___2HCjp"})))):null))}):"null";return o.a.createElement("section",{className:"index__showcase-carousel-wrap___1BF8J"},o.a.createElement("div",{className:"showcase-carousel-box index__carousel-box___26ssO",ref:function(t){e.containerDom=t}},o.a.createElement(ie.Carousel,mo({ref:function(t){e.carousel=t}},a),s)))}}
1])&&_o(n.prototype,i),r&&_o(n,r),t}();vo(go,"editSetting",{key:"showcaseSwiper",name:"showcaseSwiper",component_data:{bgColor:{type:"string",label:"背景颜色"},fontColor:{type:"string",label:"字体颜色"},swiperList:{type:"array",label:"轮播 list",items:{type:"object",tips:{type:"i18n",label:"tip"},title:{type:"i18n",label:"标题"},image:{type:"image",label:"image"},learnMoreLink:{type:"string",label:"了解更多链接"},learnMoreBtnText:{type:"i18n",label:"了解更多按钮文案"}}}}}),vo(go,"defaultProps",{t:function(){},component_data:{bgColor:"#13c2c2",fontColor:"#fff",swiperList:[{tips:"showcase1",title:"LiDAR Odometry and Mapping Algorithms Package",learnMoreBtnText:"了解更多1",learnMoreLink:"/",image:"/"},{tips:"showcase2",title:"LiDAR Odometry and Mapping Algorithms Package",learnMoreBtnText:"了解更多1",learnMoreLink:"/",image:"/"}]}});var wo=Object(p.a)(go);n(533);function xo(e){return(xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Eo(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Oo(e,t){return!t||"object"!==xo(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ko(e){return(ko=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function So(e,t){return(So=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Po(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var To=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Oo(this,ko(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&So(e,t)}(t,o.a.Component),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.component_data,n=e.t;return o.a.createElement("section",{className:"index__dataset-vertical-section___1LqkL"},t.sectionTitle?o.a.createElement("div",{className:"index__header-text-box____nI4S"},o.a.createElement("h3",{className:"index__section-title___X08R8"},n(t.sectionTitle)),o.a.createElement("p",{className:"index__line___1OHKQ"})):null,t.sectionDesc?o.a.createElement("div",{className:"index__section-desc___1rOtZ"},n(t.sectionDesc)):null,o.a.createElement("p",{className:"index__long-line___3ch66"}),o.a.createElement("div",{className:"index__dataset-vertical-section-list___1iW-i"},o.a.createElement("h4",{className:"index__sub-title___NiL58"},n(t.subTitle)),o.a.createElement("p",{className:"index__sub-desc___3th7W"},n(t.subDesc)),o.a.createElement("img",{className:"index__img___TZ9or",src:Object(d.a)(t.img),alt:""}),o.a.createElement("ul",{className:"index__dataset-list-box___1LgBb"},t.datasetList&&Array.isArray(t.datasetList)?t.datasetList.map(function(e){return o.a.createElement("li",{key:u()()},o.a.createElement("h5",{className:"index__item-title___3VsEe"},n(e.title)),o.a.createElement("div",{className:"index__item-desc___Ja1W1",dangerouslySetInnerHTML:{__html:n(e.desc)}}))}):null)))}}])&&Eo(n.prototype,i),r&&Eo(n,r),t}();Po(To,"defaultProps",{t:function(){},component_data:{sectionTitle:"v3.test.livox.dataset.s.t",sectionDesc:"v3.test.livox.dataset.s.d",subTitle:"v3.test.livox.dataset.s.subt",subDesc:"v3.test.livox.dataset.s.desc",img:"/",datasetList:[{title:"v3.test.livox.dataset.list.item1.t",desc:"v3.test.livox.dataset.list.item1.d"},{title:"v3.test.livox.dataset.list.item2.t",desc:"v3.test.livox.dataset.list.item2.d"}]}}),Po(To,"editSetting",{key:"dataSetVerticalSection",name:"dataSetVerticalSection",component_data:{sectionTitle:{type:"i18n",label:"主标题"},sectionDesc:{type:"i18n",label:"描述"},subTitle:{type:"i18n",label:"副标题"},subDesc:{type:"i18n",label:"副描述"},img:{type:"image",label:"图像"}
1,datasetList:{label:"数据集列表",type:"array",items:{type:"object",title:{type:"i18n",label:"列表标题"},desc:{type:"i18n",label:"列表描述"}}}}});var No=Object(p.a)(To),jo=n(188).a;n(264);function Co(e){return(Co="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Lo={"./index.css":{"video-slide-horizontally-wrapper":"index__video-slide-horizontally-wrapper___2cIwO","text-box":"index__text-box___cwMEK",title:"index__title___2aL2U","horizon-line":"index__horizon-line___2Dduo",desc:"index__desc___3khWw","slide-horizontally-title":"index__slide-horizontally-title___1q1aw","show-more":"index__show-more___18lfe","tab-bar-wrapper":"index__tab-bar-wrapper___282Qy","tab-bar-nav-box":"index__tab-bar-nav-box___1U8wi","tab-bar-nav":"index__tab-bar-nav___2vfQc","tab-bar-items":"index__tab-bar-items___19ZDa","tab-bar-item-line":"index__tab-bar-item-line___35RMT","tab-bar-item":"index__tab-bar-item___2KxME","tab-bar-item-content":"index__tab-bar-item-content___17WEG",active:"index__active___Huzya","tab-content-wrapper":"index__tab-content-wrapper___3Rn_m","tab-content-box":"index__tab-content-box___30Pks","tab-content":"index__tab-content___1iNoH","img-wrapper":"index__img-wrapper___18eWJ",scrollbar:"index__scrollbar___yKfqj","scrollbar-thumb":"index__scrollbar-thumb___2L6Lp","hidden-line":"index__hidden-line___1SyiR","img-box":"index__img-box___1KMXA",img:"index__img___3wp_g",avtive:"index__avtive___2rGJR","learn-more-box":"index__learn-more-box___23ySy","learn-more-icon":"index__learn-more-icon___2a9Pa","tab-video-poster-box":"index__tab-video-poster-box___BZsZn","img-mask":"index__img-mask___3x6LQ","play-button":"index__play-button___1ZoEZ"}};function Mo(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Io(e){return(Io=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ao(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Do(e,t){return(Do=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var zo=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=Io(t).call(this,e))||"object"!==Co(r)&&"function"!=typeof r?Ao(i):r).state={tabBarLineStyle:null},n.tabDom=[],n.tabBar=o.a.createRef(),n.activeTab=o.a.createRef(),n.tabBarItem=o.a.createRef(),n.calculateLineStyle=n.calculateLineStyle.bind(Ao(n)),n.handleTabClick=n.handleTabClick.bind(Ao(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Do(e,t)}(t,o.a.PureComponent),n=t,(i=[{key:"componentDidMount",value:function(){this.calculateLineStyle()}},{key:"componentDidUpdate",value:function(e){var t=this;e.activeKey!==this.props.activeKey&&setTimeout(function(){t.calculateLineStyle()},100)}},{key:"getCenter",value:function(e){var t=window.innerWidth,n=this.tabDom[e],i=this.tabBar;if(n){var r=-(n.offsetLeft-(t-n.offsetWidth)/2),a=this.tabBarItem.clientWidth;if(-r<0||0===e)return void i.scroll({left:0,behavior:"smooth"});if(r<t-a)return void i.scroll({left:-(t-a-48),behavior:"smooth"});i.scroll({left:-r,behavior:"smooth"})}}},{key:"calculateLineStyle",value:function(){if(this.activeTab&&this.tabBar){var e={width:"",transform:""},t=this.activeTab.offsetLeft-this.tabBar.offsetLeft,n=this.activeTab.clientWidth;e.transform="translate3d(".concat(t,"px,0,0)"),e.width="".concat(n,"px"),this.setState({tabBarLineStyle:e})}}},{key:"handleTabClick",value:function(e,t){var n=this.props.onTabClick;this.getCenter(t),n&&n(e,t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,a=t.activeKey,l=this.state.tabBarLineStyle;return o.a.createElement("div",{className:"index__tab-bar-wrapper___282Qy"},o.a.createElement("div",{className:"index__tab-bar-nav-box___1U8wi",ref:function(t){e.tabBar=t}},i.tabContentList&&i.tabContentList.length>0&&o.a.createElement("div",{className:"index__tab-bar-nav___2vfQc"},o.a.createElement("div",{className:"index__tab-bar-items___19ZDa",ref:function(t){e.tabBarItem=t}},o.a.createElement("div",{className:"index__tab-bar-item-line___35RMT",style:l}),i.tabContentList.map(function(t,i){return o.a.createElement("div",{key:u()(),onClick:function(){e.handleTabClick(t.tabKey,i)},ref:function(n){e.tabDom[i]=n,a===t.tabKey&&(e.activeTab=n)},className:r()(s()({"tab-bar-item":!0,active:a===t.tabKey}),Lo)},o.a.createElement("div",{className:"index__tab-bar-item-content___17WEG"},n(t.title)))})))))}}
1])&&Mo(n.prototype,i),a&&Mo(n,a),t}();!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(zo,"defaultProps",{t:function(e){return"".concat(e)},component_data:{}});var Vo=Object(p.a)(zo);function Ro(e){return(Ro="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Bo(){return(Bo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function Fo(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Ho(e,t){return!t||"object"!==Ro(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Wo(e){return(Wo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function qo(e,t){return(qo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Uo=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Ho(this,Wo(t).call(this,e))).state={},n.carousel=o.a.createRef(),n.imgWrapperList=[],n.carouselCard=[],n.scrollBar=[],n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qo(e,t)}(t,o.a.PureComponent),n=t,(i=[{key:"componentDidMount",value:function(){(0,this.props.childRef)(this)}},{key:"componentWillUnmount",value:function(){(0,this.props.childRef)(void 0)}},{key:"handleImageClick",value:function(e){(0,this.props.handlePlayVideo)(e)}},{key:"render",value:function(){var e=this,t=this.props.component_data;return o.a.createElement("div",{className:"index__tab-content-wrapper___3Rn_m"},t.tabContentList&&t.tabContentList.length>0&&o.a.createElement("div",{className:"index__tab-content-box___30Pks"},o.a.createElement("div",{className:"index__tab-content___1iNoH"},o.a.createElement(x.Carousel,Bo({ref:function(t){e.carousel=t}},{fade:!0,speed:600,touchMove:!1}),t.tabContentList.map(function(t,n){return o.a.createElement("div",{className:"tab-video-poster-box",key:t.tabKey,ref:function(t){e.carouselCard[n]=t}},o.a.createElement("div",{className:"img-mask",onClick:function(){return e.handleImageClick(n)}},o.a.createElement("div",{className:"play-button"})),o.a.createElement(x.LazyImage,{src:Object(d.a)(t.videoPoster),className:"img"}))})))))}}])&&Fo(n.prototype,i),r&&Fo(n,r),t}();!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(Uo,"defaultProps",{t:function(e){return"".concat(e)},component_data:{}});var Go=Object(p.a)(Uo);function Yo(e){return(Yo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ko(){return(Ko=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function Xo(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function $o(e){return($o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Zo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qo(e,t){return(Qo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Jo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var el=function(e){function t(e){var n,i,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,n=!(r=$o(t).call(this,e))||"object"!==Yo(r)&&"function"!=typeof r?Zo(i):r;var a=e.component_data,l=a.tabContentList&&a.tabContentList[0]&&a.tabContentList[0].tabKey;return n.state={activeKey:l,videoVisible:!1,targetVideoLink:null},n.handleTabClick=n.handleTabClick.bind(Zo(n)),n.tabContent=o.a.createRef(),n.handlePlayVideo=n.handlePlayVideo.bind(Zo(n)),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qo(e,t)}(t,o.a.Component),n=t,(i=[{key:"handleTabClick",value:function(e,t){this.setState({activeKey:e});var n=this.tabContent.carouselCard;
1n.forEach(function(e){e.style.opacity="0"}),n[t].style.opacity="1"}},{key:"handlePlayVideo",value:function(e){var t=this.props.component_data;this.setState({targetVideoLink:t.tabContentList[e].videoLink,videoVisible:!0})}},{key:"handleVideoHide",value:function(){this.setState({videoVisible:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,r=this.state,a=r.activeKey,l=r.videoVisible,s=r.targetVideoLink,c={backgroundColor:i.bgcolor};return o.a.createElement("section",{className:"video-slide-horizontally-wrapper index__video-slide-horizontally-wrapper___2cIwO",style:c},o.a.createElement("div",{className:"index__text-box___cwMEK"},i.title?o.a.createElement("div",null,o.a.createElement("h2",{className:"index__title___2aL2U","data-aos":"fade-in",dangerouslySetInnerHTML:{__html:n(i.title)}}),o.a.createElement("p",{className:"index__horizon-line___2Dduo","data-aos":"fade-in"})):null,o.a.createElement("div",{className:"index__desc___3khWw","data-aos":"fade-in",dangerouslySetInnerHTML:{__html:n?n(i.desc):""}})),o.a.createElement(Go,Ko({},this.props,{activeKey:a,handlePlayVideo:this.handlePlayVideo,childRef:function(t){e.tabContent=t}})),i.tabContentList&&i.tabContentList.length>1?o.a.createElement(Vo,Ko({},this.props,{onTabClick:this.handleTabClick,activeKey:a})):null,n&&i.learnMoreText?o.a.createElement("div",{className:"index__learn-more-box___23ySy"},o.a.createElement("a",{href:i.learnMoreLink,dangerouslySetInnerHTML:{__html:n(i.learnMoreText)}}),o.a.createElement(x.Icon,{name:"angle-right",className:"index__learn-more-icon___2a9Pa"})):null,l?o.a.createElement(E.a,{visible:l,videoLink:s,onClose:this.handleVideoHide.bind(this)}):null)}}])&&Xo(n.prototype,i),r&&Xo(n,r),t}();Jo(el,"defaultProps",{t:function(){},component_data:{backgroundColor:"#060606",title:"千锤百炼 成就车规",desc:"车规版浩界将在全新自建的车规化智能制造和检测中心完成量产交付。该中心按工业4.0标准打造,引进世界领先的先进制造设备与专业队伍,可满足产品核心组件的自主高效生产和测试的需求。历经数年精心打磨,车规版浩界现已通过含EMC/机械/电气/环境可靠性等70余项车规可靠性相关测试项目,确保产品各项指标可满足前装量产车型的严格要求。",tabContentList:[{tabKey:"tab1",title:"机械测试1",videoLink:"/",videoPoster:"8cdc8920d858045b4199a661aa61c258.png"},{tabKey:"tab2",title:"机械测试2",videoLink:"/",videoPoster:"7a646823ddbe4ea42b9cff2f97578797.png"},{tabKey:"tab3",title:"机械测试3",videoLink:"/",videoPoster:"8cdc8920d858045b4199a661aa61c258.png"},{tabKey:"tab4",title:"机械测试4",videoLink:"/",videoPoster:"7a646823ddbe4ea42b9cff2f97578797.png"},{tabKey:"tab5",title:"机械测试5",videoLink:"/",videoPoster:"8cdc8920d858045b4199a661aa61c258.png"}]}}),Jo(el,"editSetting",{key:"sectionWithVideoSwiper",name:"sectionWithVideoSwiper",component_data:{backgroundColor:{type:"string",label:"背景色(支出英文代码、十六进制、rgb字符)"},title:{type:"i18n",label:"标题"},desc:{type:"i18n",label:"描述"},tabContentList:{label:"text list",type:"array",items:{type:"object",tabKey:{label:"tab key(每个tab项都有一个默认key,例如tab1、tab2、tab3...)",type:"string"},title:{type:"i18n",label:"标题"},videoLink:{type:"i18n",label:"视频link"},videoPoster:{type:"image",label:"视频封面图"}}},learnMoreText:{label:"了解更多文案",type:"i18n"},learnMoreLink:{label:"了解更多链接",type:"string"}}});var tl=Object(p.a)(el);n(534);function nl(e){return(nl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var il={"./index.css":{"sections-with-infoCard":"index__sections-with-infoCard___1b7y0","section-wrapper":"index__section-wrapper___2pyPo","section-title":"index__section-title___3TMxZ","section-desc":"index__section-desc___2jHTq",container:"index__container___3VhJ7","hide-warpper":"index__hide-warpper___XcNAg",infoCard:"index__infoCard___3SFsu","link-icon":"index__link-icon___1LBAl",hideItem:"index__hideItem___2e9fY","left-items":"index__left-items___2bmCo",image:"index__image___293ok","center-items":"index__center-items___3Aic2",headline:"index__headline___1lFma",desc:"index__desc___1TdTu","learn-more":"index__learn-more___1NU1l",link:"index__link___35yZv","button-box":"index__button-box___1FLc1","show-more":"index__show-more___3v5X7",less:"index__less___3i6tO"}};function rl(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function al(e,t){return!t||"object"!==nl(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ol(e){return(ol=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ll(e,t){return(ll=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function sl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cl=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=al(this,ol(t).call(this,e))).state={showLess:!1,videoVisible:!1,videoLink:""},n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ll(e,t)}(t,o.a.Component),n=t,(i=[{key:"handelVideo",value:function(e){var t=this.state.videoVisible;this.setState({videoVisible:!t,videoLink:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.component_data,i=void 0===n?{}:n,a=t.t,l=i.headline,s=i.description,c=i.align,u=i.imageWdith,p=i.number,f=i.list,m=this.state,_=m.showLess,h=m.videoVisible,b=m.videoLink,y=f&&Array.isArray(f)&&f.length,v=!!p&&y>p,g=function(t,n){return o.a.createElement("div",{key:"".concat(t.headline+n),className:r()("infoCard ".concat(c),il)}
1,t.image?o.a.createElement(x.LazyImage,{src:Object(d.a)(t.image),alt:a(t.headline),className:"index__image___293ok",style:{width:u}}):null,o.a.createElement("div",{className:"info"},o.a.createElement("h3",{className:"index__headline___1lFma"},a(t.headline)),o.a.createElement("p",{className:"index__desc___1TdTu"},a(t.description)),o.a.createElement("p",{className:"index__link___35yZv"},t.linkText?o.a.createElement(B.a,{className:"learn-more index__learn-more___1NU1l",href:t.link,target:"_blank"},a(t.linkText),o.a.createElement(x.Icon,{name:"external-link-o",className:"index__link-icon___1LBAl"})):null,t.videoText?o.a.createElement("div",{className:"index__learn-more___1NU1l",onClick:function(){return e.setState({videoVisible:!0,videoLink:t.video})}},a(t.videoText),o.a.createElement(x.Icon,{name:"play-circle",className:"index__link-icon___1LBAl"})):null)))};return o.a.createElement("div",{className:"index__sections-with-infoCard___1b7y0"},o.a.createElement("section",{className:"index__section-wrapper___2pyPo"},o.a.createElement("h2",{className:"index__section-title___3TMxZ"},a(l)),o.a.createElement("p",{className:"index__section-desc___2jHTq"},a(s)),o.a.createElement("div",{className:"index__container___3VhJ7"},y>0?f.map(function(e,t){return t<p&&g(e,t)}):null),o.a.createElement("div",{className:"index__container___3VhJ7 index__hide-warpper___XcNAg",style:{maxHeight:_?"200vh":0}},y>0?f.map(function(e,t){return t>=p&&g(e,t)}):null),o.a.createElement("div",{className:"index__button-box___1FLc1"},v?o.a.createElement("button",{className:"index__show-more___3v5X7",onClick:function(){return e.setState({showLess:!_})}},o.a.createElement("span",null,a(_?"v1.common.product.show_less":"v1.common.product.show_more")),o.a.createElement(x.Icon,{name:"angle-down",className:r()("link-icon ".concat(_?"less":""),il)})):null),h&&b?o.a.createElement(E.a,{visible:h,videoLink:b,onClose:function(){return e.setState({videoVisible:!1})}}):null))}}])&&rl(n.prototype,i),a&&rl(n,a),t}();sl(cl,"editSetting",{key:"sectionsWithInfoCard",name:"sectionsWithInfoCard",component_data:{headline:{type:"i18n",label:"标题"},description:{type:"i18n",label:"描述"},align:{type:"select",label:"布局",items:[{value:"center-items",label:"上图下文"},{value:"left-items",label:"左图右文"}]},imageWdith:{type:"string",label:"图片宽度"},number:{type:"number",label:"第几个卡片开始隐藏"},list:{label:"列表",type:"array",items:{type:"object",image:{type:"image",label:"icon或图片"},headline:{type:"i18n",label:"标题"},description:{type:"i18n",label:"描述"},linkText:{type:"i18n",label:"链接文本"},link:{type:"i18n",label:"链接"},videoText:{type:"i18n",label:"观看视频文本"},video:{type:"i18n",label:"观看视频链接"}}}}}),sl(cl,"defaultProps",{t:function(){},component_data:{headline:"Product Support",description:"Description",align:"center-items",imageWdith:"",number:4,list:[{image:"",headline:"Title",description:"Description",linkText:"Link Text",link:"/",videoText:"Watch Video",video:"/"}]}});var ul=Object(p.a)(cl);n(535);function dl(e){return(dl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pl(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function fl(e,t){return!t||"object"!==dl(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ml(e){return(ml=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _l(e,t){return(_l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function hl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bl=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=fl(this,ml(t).call(this,e))).state={videoVisible:!1,videoLink:""},n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_l(e,t)}(t,o.a.Component),n=t,(i=[{key:"handelVideo",value:function(e){var t=this.state.videoVisible;this.setState({videoVisible:!t,videoLink:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.component_data,i=void 0===n?{}:n,r=t.t,a=i.sectionTitle,l=i.videoList,s=this.state,c=s.videoVisible,u=s.videoLink,p=l&&Array.isArray(l)&&l.length;return o.a.createElement("div",{className:"index__sections-with-videoCard___3xksF"},o.a.createElement("section",{className:"index__section-wrapper___DXT4f"},o.a.createElement("h2",{className:"index__section-title___xktrG"},r(a)),o.a.createElement("div",{className:"index__container___36lkp"},p>0?l.map(function(t,n){return o.a.createElement("div",{className:"index__videoCard___1m1uD",key:"".concat(t.title+n)},t.image?o.a.createElement("div",{className:"index__image-box___w0FXY",onClick:function(){return e.setState({videoVisible:!0,videoLink:t.link})}},o.a.createElement("div",{className:"index__play-button___22hEi"},o.a.createElement("img",{className:"index__play-icon___3d41B",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNiAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi43NDE1IDkuMzI1NjFMNS42NDgzNiAxMy4zMzI5QzUuMTY3MzggMTMuNjA0NiA0LjU1NzIzIDEzLjQzNDkgNC4yODU1NiAxMi45NTM4QzQuMjAwOCAxMi44MDM3IDQuMTU2MjUgMTIuNjM0MiA0LjE1NjI1IDEyLjQ2MThMNC4xNTYyNSA0LjQ0NzIzQzQuMTU2MjUgMy44OTQ3IDQuNjA0MDYgMy40NDY3OCA1LjE1NjQ3IDMuNDQ2NzhDNS4zMjg4MyAzLjQ0Njc4IDUuNDk4MjggMy40OTEzMyA1LjY0ODM2IDMuNTc2MTJMMTIuNzQxNSA3LjU4MzM5QzEzLjIyMjUgNy44NTUxMyAxMy4zOTIyIDguNDY1NDIgMTMuMTIwNSA4Ljk0NjUyQzEzLjAzMSA5LjEwNTAyIDEyLjkgOS4yMzYwOSAxMi43NDE1IDkuMzI1NjFaIiBmaWxsPSJ3aGl0ZSIvPgo8bWFzayBpZD0ibWFzazBfNTkwXzc1NTYiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjQiIHk9IjMiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTIuNzQxNSA5LjMyNTYxTDUuNjQ4MzYgMTMuMzMyOUM1LjE2NzM4IDEzLjYwNDYgNC41NTcyMyAxMy40MzQ5IDQuMjg1NTYgMTIuOTUzOEM0LjIwMDggMTIuODAzNyA0LjE1NjI1IDEyLjYzNDIgNC4xNTYyNSAxMi40NjE4TD
1QuMTU2MjUgNC40NDcyM0M0LjE1NjI1IDMuODk0NyA0LjYwNDA2IDMuNDQ2NzggNS4xNTY0NyAzLjQ0Njc4QzUuMzI4ODMgMy40NDY3OCA1LjQ5ODI4IDMuNDkxMzMgNS42NDgzNiAzLjU3NjEyTDEyLjc0MTUgNy41ODMzOUMxMy4yMjI1IDcuODU1MTMgMTMuMzkyMiA4LjQ2NTQyIDEzLjEyMDUgOC45NDY1MkMxMy4wMzEgOS4xMDUwMiAxMi45IDkuMjM2MDkgMTIuNzQxNSA5LjMyNTYxWiIgZmlsbD0id2hpdGUiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzU5MF83NTU2KSI+CjwvZz4KPC9zdmc+Cg==",alt:"play-icon"})),o.a.createElement(x.LazyImage,{src:Object(d.a)(t.image),alt:r(t.title),className:"index__image___3VDcu"})):null,o.a.createElement("div",{className:"index__info___3E7RA"},o.a.createElement("h3",null,r(t.title))))}):null),c&&u?o.a.createElement(E.a,{visible:c,videoLink:u,onClose:function(){return e.setState({videoVisible:!1})}}):null))}}])&&pl(n.prototype,i),r&&pl(n,r),t}();hl(bl,"editSetting",{key:"sectionsWithVideoCard",name:"sectionsWithVideoCard",component_data:{sectionTitle:{type:"i18n",label:"主标题"},videoList:{label:"视频列表",type:"array",items:{type:"object",image:{type:"image",label:"封面图"},title:{type:"i18n",label:"视频标题"},link:{type:"string",label:"视频链接"}}}}}),hl(bl,"defaultProps",{t:function(){},component_data:{sectionTitle:"Tutorials",videoList:[{image:"",title:"Video Title",link:"/"}]}});var yl=Object(p.a)(bl),vl=n(41),gl=n.n(vl);n(360);function wl(e){return(wl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xl(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function El(e){return(El=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ol(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kl(e,t){return(kl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Sl=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=El(t).call(this,e))||"object"!==wl(r)&&"function"!=typeof r?Ol(i):r).state={videoVisible:!1,link:""},n.handleHideVideo=n.handleHideVideo.bind(Ol(n)),n}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kl(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=this.props.component_data.isLoop,t=document.getElementsByClassName("dbv-tab-card-swiper-img-m"),n=document.getElementsByClassName("replay-dbv-tab-card-swiper-img-m");if(0!==t.length)new Ln.a({reset:!1,replayWhenRevisible:!e,visiblePlay:!e,lazyLoad:!0,lazyLoadThreshold:1200,containerClassName:"dbv-tab-card-swiper-img-m",replayClassName:e?"":"replay-button-tab-card-swiper",downgradeHtml:'<div class="downgrade-video-box" data-href="#href#">\n        <div class="play-video play-video-icon"></div>\n        <img src="#img#">\n        </div>'});if(0!==n.length)new Ln.a({reset:!1,replayWhenRevisible:!e,visiblePlay:!e,lazyLoad:!0,lazyLoadThreshold:1200,containerClassName:"replay-dbv-tab-card-swiper-img-m",replayClassName:e?"":"replay-button-tab-card-swiper",downgradeHtml:'<div class="downgrade-video-box" data-href="#href#">\n        <div class="play-video play-video-icon"></div>\n        <img src="#img#">\n        </div>'});var i=window.navigator.userAgent,r=!!i.match(/iPad/i)||!!i.match(/iPhone/i),a=!!i.match(/UCBrowser/gi),o=!!i.match(/android/gi),l=!!i.match(/\bm?qqbrowser\/([0-9.]+)/gi);this.setState({downgrade:o||r&&(a||l)})}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"handleShowVideo",value:function(e){var t=this.state.downgrade,n=this.props.handleVideoShow;t&&n(e)}},{key:"stopPlay",value:function(){(0,this.props.swiperStopPlay)()}},{key:"rePlay",value:function(){(0,this.props.swiperRePlay)()}},{key:"handleHideVideo",value:function(){this.setState({videoVisible:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=(t.t,t.component_data),i=n.isLoop,r=n&&Array.isArray(n.cardList)?n.cardList.map(function(t){return o.a.createElement("div",{key:u()(),className:"swiper-slide index__card-item___hUQxW"},t.videoLink?o.a.createElement("div",{style:{backgroundImage:"url(".concat(Object(d.a)(t.videoPoster),")"),backgroundSize:"cover"},className:"true"===t.isReplay?"replay-dbv-tab-card-swiper-img-m cls":"dbv-tab-card-swiper-img-m cls",onClick:e.handleShowVideo.bind(e,t.downgradeVideoLink)},o.a.createElement("video",{className:"sliderVideo",muted:!0,loop:"true"===t.isLoop&&!i,name:"media","data-downgrade-img":Object(d.a)(t.videoPoster),"data-downgrade-href":t.downgradeVideoLink,onEnded:function(){e.rePlay()}},o.a.createElement("source",{"data-layzr-src":t.videoLink}
1)),o.a.createElement("div",{className:"true"!==t.isReplay||i?"replay-button-tab-card-swiper replay-button-hidden-m":"replay-button-tab-card-swiper",onClick:function(){e.stopPlay()}})):o.a.createElement("div",null,t.img&&o.a.createElement("img",{className:"index__card-img___1O5aY",src:Object(d.a)(t.img),alt:""})))}):null;return o.a.createElement("div",{className:"swiper-wrapper"},r)}}])&&xl(n.prototype,i),r&&xl(n,r),t}();!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(Sl,"defaultProps",{t:function(){},component_data:{},handleVideoShow:function(){},swiperStopPlay:function(){},swiperRePlay:function(){}});var Pl=Object(p.a)(Sl);n(220);function Tl(e){return(Tl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Nl={"swiper/css/swiper.min.css":{"swiper-container":"swiper-min__swiper-container___16d2n","swiper-container-vertical":"swiper-min__swiper-container-vertical___1_GZN","swiper-wrapper":"swiper-min__swiper-wrapper___1p58p","swiper-container-android":"swiper-min__swiper-container-android___1wZmr","swiper-slide":"swiper-min__swiper-slide___2iL4V","swiper-container-multirow":"swiper-min__swiper-container-multirow___3a2oH","swiper-container-multirow-column":"swiper-min__swiper-container-multirow-column___2hnLk","swiper-container-free-mode":"swiper-min__swiper-container-free-mode___22gOm","swiper-slide-invisible-blank":"swiper-min__swiper-slide-invisible-blank___1x3QM","swiper-container-autoheight":"swiper-min__swiper-container-autoheight___3EeHE","swiper-container-3d":"swiper-min__swiper-container-3d___2nUm_","swiper-cube-shadow":"swiper-min__swiper-cube-shadow___WvUzD","swiper-slide-shadow-bottom":"swiper-min__swiper-slide-shadow-bottom___3QLX7","swiper-slide-shadow-left":"swiper-min__swiper-slide-shadow-left___1Wc7d","swiper-slide-shadow-right":"swiper-min__swiper-slide-shadow-right___3zLn5","swiper-slide-shadow-top":"swiper-min__swiper-slide-shadow-top___1BqCj","swiper-container-css-mode":"swiper-min__swiper-container-css-mode___1r1GG","swiper-container-horizontal":"swiper-min__swiper-container-horizontal___2kc7C","swiper-button-next":"swiper-min__swiper-button-next___3Nf2W","swiper-button-prev":"swiper-min__swiper-button-prev___bJaxA","swiper-button-disabled":"swiper-min__swiper-button-disabled___1i-b4","swiper-container-rtl":"swiper-min__swiper-container-rtl___1n4-t","swiper-button-white":"swiper-min__swiper-button-white___3AUO8","swiper-button-black":"swiper-min__swiper-button-black___2TLFd","swiper-button-lock":"swiper-min__swiper-button-lock___1MbQA","swiper-pagination":"swiper-min__swiper-pagination___2VrmL","swiper-pagination-hidden":"swiper-min__swiper-pagination-hidden___ujdIj","swiper-pagination-bullets":"swiper-min__swiper-pagination-bullets___1wjiC","swiper-pagination-custom":"swiper-min__swiper-pagination-custom___18wyB","swiper-pagination-fraction":"swiper-min__swiper-pagination-fraction___1uGsT","swiper-pagination-bullets-dynamic":"swiper-min__swiper-pagination-bullets-dynamic___3d8vi","swiper-pagination-bullet":"swiper-min__swiper-pagination-bullet___98gn_","swiper-pagination-bullet-active":"swiper-min__swiper-pagination-bullet-active___3g6hP","swiper-pagination-bullet-active-main":"swiper-min__swiper-pagination-bullet-active-main___1ocq8","swiper-pagination-bullet-active-prev":"swiper-min__swiper-pagination-bullet-active-prev___3VLWX","swiper-pagination-bullet-active-prev-prev":"swiper-min__swiper-pagination-bullet-active-prev-prev___2HJLy","swiper-pagination-bullet-active-next":"swiper-min__swiper-pagination-bullet-active-next___391kR","swiper-pagination-bullet-active-next-next":"swiper-min__swiper-pagination-bullet-active-next-next___5MadX","swiper-pagination-clickable":"swiper-min__swiper-pagination-clickable___3RHzo","swiper-pagination-progressbar":"swiper-min__swiper-pagination-progressbar___2WTUs","swiper-pagination-progressbar-fill":"swiper-min__swiper-pagination-progressbar-fill___10ZuR","swiper-pagination-progressbar-opposite":"swiper-min__swiper-pagination-progressbar-opposite___3g3eZ","swiper-pagination-white":"swiper-min__swiper-pagination-white___2neip","swiper-pagination-black":"swiper-min__swiper-pagination-black___15s0c","swiper-pagination-lock":"swiper-min__swiper-pagination-lock___1c7vg","swiper-scrollbar":"swiper-min__swiper-scrollbar___yWFY7","swiper-scrollbar-drag":"swiper-min__swiper-scrollbar-drag___1REK2","swiper-scrollbar-cursor-drag":"swiper-min__swiper-scrollbar-cursor-drag___Z7bRA","swiper-scrollbar-lock":"swiper-min__swiper-scrollbar-lock___2t1vP","swiper-zoom-container":"swiper-min__swiper-zoom-container___3y5Pk","swiper-slide-zoomed":"swiper-min__swiper-slide-zoomed___2C6uh","swiper-lazy-preloader":"swiper-min__swiper-lazy-preloader___2FcYI","swiper-preloader-spin":"swiper-min__swiper-preloader-spin___1XE0t","swiper-lazy-preloader-white":"swiper-min__swiper-lazy-preloader-white___1CpW0","swiper-lazy-preloader-black":"swiper-min__swiper-lazy-preloader-black___3vgOi","swiper-notification":"swiper-min__swiper-notification___20v7F","swiper-container-fade":"swiper-min__swiper-container-fade___25Fq5","swiper-slide-active":"swiper-min__swiper-slide-active___OWL4Q","swiper-container-cube":"swiper-min__swiper-container-cube___3R_II","swiper-slide-next":"swiper-min__swiper-slide-next___3uSmn","swiper-slide-prev":"swiper-min__swiper-slide-prev___YFCWM","swiper-container-flip":"swiper-min__swiper-container-flip___3qpc0"},sty:{"info-card-img-component-light":"index__info-card-img-component-light___2uZeF",title:"index__title___2Szya","section-desc":"index__section-desc___1Tb_j","horizontal-line":"index__horizontal-line___1Zdo8","card-item":"index__card-item___hUQxW","card-item-title":"index__card-item-title___1Ycb5","card-item-desc":"index__card-item-desc___3Utx3","info-card-img-component-dark":"index__info-card-img-component-dark___3oU_V","info-card-img-component":"index__info-card-img-component___K8boR","text-box":"index__text-box___1hs1c","card-box":"index__card-box___1crYu","card-img":"index__card-img___1O5aY","card-slider":"index__card-slider___3XBVA","card-tabBar-wrapper":"index__card-tabBar-wrapper___1O5F2","card-tabBar":"index__card-tabBar___3z-ok","card-line":"index__card-line___1LlBj","card-tabBar-items":"index__card-tabBar-items___25bak","card-items-icon":"index__card-items-icon___2de_X","card-items-img":"index__card-items-img___3Vh2Q","card-items-desc":"index__card-items-desc___PWIaw","card-tabBar-items-end":"index__card-tabBar-items-end___3KcJa","card-line-wraper":"index__card-line-wraper___3pR-l","card-bottom-desc":"index__card-bottom-desc___1_l47","info-card-img-component-m":"index__info-card-img-component-m___16QVP","replay-dbv-tab-card-swiper-img-m":"index__replay-dbv-tab-card-swiper-img-m___2ZpIz","dbv-tab-card-swiper-img-m":"index__dbv-tab-card-swiper-img-m___18SD0","replay-button-tab-card-swiper":"index__replay-button-tab-card-swiper___35Ujw","replay-button-hidden-m":"index__replay-button-hidden-m___1HwFT","card-tabBar-items-activy":"index__card-tabBar-items-activy___1VzXL"}};function jl(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Cl(e,t){return!t||"object"!==Tl(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ll(e){return(Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ml(e,t){return(Ml=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Il(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Al=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Cl(this,Ll(t).call(this,e))).state={videoVisible:!1,videoLink:"/",swiper:null,currentSlider:0,wrapperHeight:null,load:!1,isIos:!1,isloop:!1,itemLength:1},n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ml(e,t)}(t,o.a.Component),n=t,(i=[{key:"componentDidMount",value:function(){var e=Oa.a.isIOS(),t=this.props.component_data,n=t.isLoop,i=t.cardList.length,r=this.refs.itemWraper.clientHeight-10;this.setState({wrapperHeight:r,load:!0,isIos:e,isloop:n,itemLength:i});var a=this,o=new gl.a(".tab-card-swiper",{autoplay:!!n&&{delay:5e3},effect:"fade",fadeEffect:{crossFade:!0},on:{init:function(){a.stopVideoPlay(),a.setState({currentSlider:this.activeIndex});var t=this.slides[this.activeIndex].childNodes[0].childNodes[0],i=this.slides[this.activeIndex].childNodes[0].childNodes[1];e&&t&&"VIDEO"===t.tagName&&(i&&(i.style.display="none"),this.autoplay.stop(),t.play()),n&&this.autoplay.start()},slideChangeTransitionStart:function(){a.stopVideoPlay();var e=this.slides[this.activeIndex].childNodes[0].childNodes[1];e&&(e.style.display="none")},slideChangeTransitionEnd:function(){a.setState({currentSlider:this.activeIndex});var t=this.slides[this.activeIndex].childNodes[0].childNodes[0],i=this.slides[this.activeIndex].childNodes[0].childNodes[1];e&&t&&"VIDEO"===t.tagName&&(i&&(i.style.display="none"),this.autoplay.stop(),t.play()),n&&this.autoplay.start()}}});this.setState({swiper:o})}},{key:"stopVideoPlay",value:function(){for(var e=document.getElementsByClassName("sliderVideo"),t=e.length,n=0;n<t;n++)e[n].pause(),e[n].currentTime=0}},{key:"handleVideoShow",value:function(e){this.state.swiper.autoplay.stop(),this.setState({videoVisible:!0,videoLink:e})}},{key:"swiperStopPlay",value:function(){this.state.swiper.autoplay.stop()}},{key:"swiperRePlay",value:function(){var e=this.state,t=e.isloop,n=e.itemLength;
1e.swiper;t&&(this.state.swiper.autoplay.start(),n>this.state.swiper.activeIndex+1?this.state.swiper.slideNext(0,!0):this.state.swiper.slideTo(0))}},{key:"switchSlider",value:function(e){var t=this.state,n=t.swiper,i=t.isloop,r=t.currentSlider,a=n.slides[r].childNodes[0].childNodes[0];a&&"VIDEO"===a.tagName&&(a.paused||a.pause()),n.slideTo(e),i&&n.autoplay.start()}},{key:"handleVideoHide",value:function(){this.state.isloop&&this.state.swiper.autoplay.start(),this.setState({videoVisible:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.component_data,a=this.state,l=a.videoVisible,s=a.videoLink,c=a.currentSlider,u=a.wrapperHeight,p=a.load,f=i.cardList.length;return o.a.createElement("section",{className:"info-card-img-component-m "+r()("sty.info-card-img-component ".concat("sty.info-card-img-component-light"),Nl)},o.a.createElement("div",{className:"index__text-box___1hs1c"},i&&i.mainTitle?o.a.createElement("div",null,o.a.createElement("h2",{className:"index__title___2Szya","data-aos":"fade-in",dangerouslySetInnerHTML:{__html:n(i.mainTitle)}}),o.a.createElement("p",{className:"index__horizontal-line___1Zdo8","data-aos":"fade-in"})):null,i&&i.mainDesc?o.a.createElement("p",{className:"index__section-desc___1Tb_j"},n(i.mainDesc)):null),o.a.createElement("div",{className:"tab-card-swiper swiper-no-swiping index__card-box___1crYu"},o.a.createElement(Pl,{component_data:i,t:n,handleVideoShow:this.handleVideoShow.bind(this),swiperStopPlay:this.swiperStopPlay.bind(this),swiperRePlay:this.swiperRePlay.bind(this)})),o.a.createElement("div",{className:"index__card-slider___3XBVA",style:{height:"".concat(u,"px")}},o.a.createElement("div",{className:"index__card-tabBar-wrapper___1O5F2",ref:"itemWraper",style:{overflowX:p?"auto":null}},o.a.createElement("div",{className:"index__card-tabBar___3z-ok"},o.a.createElement("div",{className:"index__card-line___1LlBj"},i&&Array.isArray(i.cardList)?i.cardList.map(function(t,i){return o.a.createElement("div",{onClick:function(){i!==c&&(e.setState({currentSlider:i}),e.switchSlider(i))},className:(c==i?(c==i?"card-tabBar-items-activy":null)+" ":"")+r()(f===i+1?"sty.card-tabBar-items sty.card-tabBar-items-end":"sty.card-tabBar-items",Nl)},t.icon&&o.a.createElement("div",{className:"index__card-items-icon___2de_X"},o.a.createElement("img",{className:"index__card-items-img___3Vh2Q",src:Object(d.a)(t.icon)})),o.a.createElement("h3",{className:"index__card-items-desc___PWIaw",dangerouslySetInnerHTML:{__html:n(t.headline)}}))}):null,o.a.createElement("div",{className:"index__card-line-wraper___3pR-l"}))))),o.a.createElement("div",{className:"index__card-bottom-desc___1_l47"},n(i.cardList[c].desc)),l?o.a.createElement(E.a,{visible:l,videoLink:s,onClose:this.handleVideoHide.bind(this)}):null)}}])&&jl(n.prototype,i),a&&jl(n,a),t}();Il(Al,"defaultProps",{t:function(){},component_data:{mainTitle:"高效开发,拓展潜能",mainDesc:"足要描述",isLoop:!1,cardList:[{img:"/",videoLink:"",downgradeVideoLink:"",videoPoster:"",isReplay:"true",isLoop:"false",icon:"/",headline:"标题信息1",desc:"描述信息:BBBBBBBBBBBBBBBB"},{img:"/",videoLink:"",downgradeVideoLink:"",videoPoster:"",isReplay:"true",isLoop:"false",icon:"/",headline:"标题信息2",desc:"描述信息:AAAAAAAAAAAAAAAAAA"}]}}),Il(Al,"editSetting",{key:"infoCardWithImg",name:"infoCardWithImg",component_data:{isLoop:{type:"boolean",label:"是否开启轮播功能"},mainTitle:{type:"i18n",label:"主标题"},mainDesc:{type:"i18n",label:"描述"},cardList:{label:"list",type:"array",items:{type:"object",img:{type:"image",label:"背景图片(选择此选项不配置视频展示图片)"},videoLink:{type:"string",label:"IOS视频链接"},downgradeVideoLink:{type:"string",label:"安卓视频降级链接"},videoPoster:{type:"image",label:"视频封面图"},isReplay:{type:"string",label:"是否需要重新播放功能(true or false 不填为false)"},isLoop:{type:"string",label:"是否需要循环播放(true or false 不填为false)"},icon:{type:"image",label:"icon图标或图片"},headline:{type:"i18n",label:"小标题"},desc:{type:"i18n",label:"描述信息"}}}}});var Dl=Object(p.a)(Al),zl={myComponent:w,productBanner:C,videoIntro:R,features:K,picCarousel:ne,buyingGuide:fe,comment:xe,sdk:Le,terms:Fe,textBanner:Xe,pageTitle:it,homeBanner:pt,productList:gt,tpHeader:wt.a,tpFooter:xt.a,invitationCode:Bt,subNav:Ft.a,orderComponent:Ht.a,newsVertical:$t,newsHorizontal:an,newsDetail:fn,contactForm:mn.a,supportBrickFence:xn,sectionWithPrecision:jn,sectionWithTextImg:Fn,collapse:$n,supportPolicy:ai,partnership:fi,mobileTabComponents:Fi,homeSwiper:ir,sectionWithHero:pr,sectionWithBadges:wr,sectionWithVideoReplay:Lr,sectionWithVideoReplayT15:Br,sectionWithTabSlider:ia,infoCardWithImg:xa,infoCardWithImgV2:Ba,infoCardWithIcon:Xa,tabSwitchSlider:io,infoBlock:po,showcaseSwiper:wo,dataSetFormComponent:jo,dataSetVerticalSection:No,videoHorizontallyTab:tl,sectionWithInfoCard:ul,sectionWithVideoCard:yl,tabCardWithSwiper:Dl};t.default=zl},31:function(e,t,n){e.exports=function(e){function t(i){if(n[i])return n[i].exports;
1var r=n[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="dist/",t(0)}([function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},a=n(1),o=(i(a),n(6)),l=i(o),s=n(7),c=i(s),u=n(8),d=i(u),p=n(9),f=i(p),m=n(10),_=i(m),h=n(11),b=i(h),y=n(14),v=i(y),g=[],w=!1,x={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},E=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e&&(w=!0),w)return g=(0,b.default)(g,x),(0,_.default)(g,x.once),g},O=function(){g=(0,v.default)(),E()};e.exports={init:function(e){x=r(x,e),g=(0,v.default)();var t=document.all&&!window.atob;return function(e){return!0===e||"mobile"===e&&f.default.mobile()||"phone"===e&&f.default.phone()||"tablet"===e&&f.default.tablet()||"function"==typeof e&&!0===e()}(x.disable)||t?void g.forEach(function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")}):(x.disableMutationObserver||d.default.isSupported()||(console.info('\n      aos: MutationObserver is not supported on this browser,\n      code mutations observing has been disabled.\n      You may have to call "refreshHard()" by yourself.\n    '),x.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",x.easing),document.querySelector("body").setAttribute("data-aos-duration",x.duration),document.querySelector("body").setAttribute("data-aos-delay",x.delay),"DOMContentLoaded"===x.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?E(!0):"load"===x.startEvent?window.addEventListener(x.startEvent,function(){E(!0)}):document.addEventListener(x.startEvent,function(){E(!0)}),window.addEventListener("resize",(0,c.default)(E,x.debounceDelay,!0)),window.addEventListener("orientationchange",(0,c.default)(E,x.debounceDelay,!0)),window.addEventListener("scroll",(0,l.default)(function(){(0,_.default)(g,x.once)},x.throttleDelay)),x.disableMutationObserver||d.default.ready("[data-aos]",O),g)},refresh:E,refreshHard:O}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function n(e,t,n){function r(t){var n=d,i=p;return d=p=void 0,b=t,m=e.apply(i,n)}function o(e){var n=e-h,i=e-b;return void 0===h||n>=t||n<0||v&&i>=f}function s(){var e=x();return o(e)?c(e):void(_=setTimeout(s,function(e){var n=e-b,i=t-(e-h);return v?w(i,f-n):i}(e)))}function c(e){return _=void 0,E&&d?r(e):(d=p=void 0,m)}function u(){var e=x(),n=o(e);if(d=arguments,p=this,h=e,n){if(void 0===_)return function(e){return b=e,_=setTimeout(s,t),y?r(e):m}(h);if(v)return _=setTimeout(s,t),r(h)}return void 0===_&&(_=setTimeout(s,t)),m}var d,p,f,m,_,h,b=0,y=!1,v=!1,E=!0;if("function"!=typeof e)throw new TypeError(l);return t=a(t)||0,i(n)&&(y=!!n.leading,f=(v="maxWait"in n)?g(a(n.maxWait)||0,t):f,E="trailing"in n?!!n.trailing:E),u.cancel=function(){void 0!==_&&clearTimeout(_),b=0,d=h=p=_=void 0},u.flush=function(){return void 0===_?m:c(x())},u}function i(e){var t=void 0===e?"undefined":o(e);return!!e&&("object"==t||"function"==t)}function r(e){return"symbol"==(void 0===e?"undefined":o(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":o(e))}(e)&&v.call(e)==c}function a(e){if("number"==typeof e)return e;if(r(e))return s;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(u,"");var n=p.test(e);return n||f.test(e)?m(e.slice(2),n?2:8):d.test(e)?s:+e}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l="Expected a function",s=NaN,c="[object Symbol]",u=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,f=/^0o[0-7]+$/i,m=parseInt,_="object"==(void 0===t?"undefined":o(t))&&t&&t.Object===Object&&t,h="object"==("undefined"==typeof self?"undefined":o(self))&&self&&self.Object===Object&&self,b=_||h||Function("return this")(),y=Object.prototype,v=y.toString,g=Math.max,w=Math.min,x=function(){return b.Date.now()};e.exports=function(e,t,r){var a=!0,o=!0;if("function"!=typeof e)throw new TypeError(l);return i(r)&&(a="leading"in r?!!r.leading:a,o="trailing"in r?!!r.trailing:o),n(e,t,{leading:a,maxWait:t,trailing:o})}}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function n(e){var t=void 0===e?"undefined":a(e);return!!e&&("object"==t||"function"==t)}function i(e){return"symbol"==(void 0===e?"undefined":a(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":a(e))}(e)&&y.call(e)==s}function r(e){if("number"==typeof e)return e;if(i(e))return l;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(c,"");var r=d.test(e);return r||p.test(e)?f(e.slice(2),r?2:8):u.test(e)?l:+e}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o="Expected a function",l=NaN,s="[object Symbol]",c=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,p=/^0o[0-7]+$/i,f=parseInt,m="object"==(void 0===t?"undefined":a(t))&&t&&t.Object===Object&&t,_="object"==("undefined"==typeof self?"undefined":a(self))&&self&&self.Object===Object&&self,h=m||_||Function("return this")(),b=Object.prototype,y=b.toString,v=Math.max,g=Math.min,w=function(){return h.Date.now()};e.exports=function(e,t,i){function a(t){var n=d,i=p;return d=p=void 0,b=t,m=e.apply(i,n)}function l(e){var n=e-h,i=e-b;return void 0===h||n>=t||n<0||x&&i>=f}function s(){var e=w();return l(e)?c(e):void(_=setTimeout(s,function(e){var n=e-b,i=t-(e-h);return x?g(i,f-n):i}(e)))}function c(e){return _=void 0,E&&d?a(e):(d=p=void 0,m)}function u(){var e=w(),n=l(e);if(d=arguments,p=this,h=e,n){if(void 0===_)return function(e){return b=e,_=setTimeout(s,t),y?a(e):m}(h);if(x)return _=setTimeout(s,t),a(h)}return void 0===_&&(_=setTimeout(s,t)),m}var d,p,f,m,_,h,b=0,y=!1,x=!1,E=!0;if("function"!=typeof e)throw new TypeError(o);return t=r(t)||0,n(i)&&(y=!!i.leading,f=(x="maxWait"in i)?v(r(i.maxWait)||0,t):f,E="trailing"in i?!!i.trailing:E),u.cancel=function(){void 0!==_&&clearTimeout(_),b=0,d=h=p=_=void 0},u.flush=function(){return void 0===_?m:c(w())},u}}).call(t,function(){return this}())},function(e,t){"use strict";function n(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function i(e){e&&e.forEach(function(e){var t=Array.prototype.slice.call(e.addedNodes),n=Array.prototype.slice.call(e.removedNodes
1),i=t.concat(n);if(function e(t){var n=void 0,i=void 0;for(n=0;n<t.length;n+=1){if((i=t[n]).dataset&&i.dataset.aos)return!0;if(i.children&&e(i.children))return!0}return!1}(i))return r()})}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){};t.default={isSupported:function(){return!!n()},ready:function(e,t){var a=window.document,o=new(n())(i);r=t,o.observe(a.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}}},function(e,t){"use strict";function n(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,a=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,o=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,l=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
1sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return i(e,[{key:"phone",value:function(){var e=n();return!(!r.test(e)&&!a.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=n();return!(!o.test(e)&&!l.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),e}();t.default=new s},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=window.pageYOffset,i=window.innerHeight;e.forEach(function(e,r){!function(e,t,n){var i=e.node.getAttribute("data-aos-once");t>e.position?e.node.classList.add("aos-animate"):void 0!==i&&("false"===i||!n&&"true"!==i)&&e.node.classList.remove("aos-animate")}(e,i+n,t)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(12),r=function(e){return e&&e.__esModule?e:{default:e}}(i);t.default=function(e,t){return e.forEach(function(e,n){e.node.classList.add("aos-init"),e.position=(0,r.default)(e.node,t.offset)}),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(13),r=function(e){return e&&e.__esModule?e:{default:e}}(i);t.default=function(e,t){var n=0,i=0,a=window.innerHeight,o={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(o.offset&&!isNaN(o.offset)&&(i=parseInt(o.offset)),o.anchor&&document.querySelectorAll(o.anchor)&&(e=document.querySelectorAll(o.anchor)[0]),n=(0,r.default)(e).top,o.anchorPlacement){case"top-bottom":break;case"center-bottom":n+=e.offsetHeight/2;break;case"bottom-bottom":n+=e.offsetHeight;break;case"top-center":n+=a/2;break;case"bottom-center":n+=a/2+e.offsetHeight;break;case"center-center":n+=a/2+e.offsetHeight/2;break;case"top-top":n+=a;break;case"bottom-top":n+=e.offsetHeight+a;break;case"center-top":n+=e.offsetHeight/2+a}return o.anchorPlacement||o.offset||isNaN(t)||(i=t),n+i}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),n+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:n,left:t}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,function(e){return{node:e}})}}])},32:function(e,t,n){"use strict";var i=function(){};e.exports=i},340:function(e,t,n){"use strict";n.r(t);var i=n(19),r=n.n(i),a=n(0),o=n.n(a),l=(n(1),n(50)),s=n(8),c=n(3),u=n(18);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function f(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h,b,y,v=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),f(this,m(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(t,o.a.PureComponent),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.statusCode,n=e.t,i={color:"#1897F2",textDecorationLine:"none"};return o.a.createElement("div",null,o.a.createElement("div",{style:{textAlign:"center",paddingTop:"72px",paddingBottom:"96px",fontWeight:"400"}},o.a.createElement("h1",{style:{fontSize:"64px",lineHeight:"80px",margin:"0 auto"}},t),o.a.createElement("p",{style:{fontSize:"20px",lineHeight:"32px",margin:"0 auto 48px 0"}},n(404===t?"v1.common.error.description.1":"v1.common.error.description.2")),o.a.createElement("div",{style:{fontSize:"14px",lineHeight:"24px"}},n("v1.common.error.guide.1"),o.a.createElement(s.a,{href:n("v1.common.error.link.1"),style:i}," ",n("v1.common.error.guide.2")," "),n("v1.common.error.guide.3"),o.a.createElement("div",{style:{height:"8px"}}),o.a.createElement(s.a,{href:n("v1.common.error.link.2"),style:i}," ",n("v1.common.error.guide.4")))))}}
1])&&p(n.prototype,i),r&&p(n,r),t}();y={t:function(){}},(b="defaultProps")in(h=v)?Object.defineProperty(h,b,{value:y,enumerable:!0,configurable:!0,writable:!0}):h[b]=y;var g=Object(u.b)(function(e){return{context:e.context}})(Object(c.a)(v)),w=n(101),x=n(102);function E(e){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t,n,i,r,a,o){try{var l=e[a](o),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(i,r)}function k(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function S(e,t){return!t||"object"!==E(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var N=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),S(this,P(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}(t,o.a.Component),n=t,i=[{key:"renderPCError",value:function(){var e=this.props,t=e.statusCode,n=e.t,i={color:"#1897F2",textDecorationLine:"none"};return o.a.createElement(l.a,null,o.a.createElement("div",{style:{textAlign:"center",paddingTop:"192px",paddingBottom:"228px"}},o.a.createElement("h1",{style:{fontSize:"96px",lineHeight:"108px",margin:"0 auto 8px 0"}},t),o.a.createElement("p",{style:{fontSize:"28px",lineHeight:"40px",margin:"0 auto 48px 0"}},n(404===t?"v1.common.error.description.1":"v1.common.error.description.2")),o.a.createElement("p",{style:{fontSize:"16px",lineHeight:"24px",marginBottom:"16px"}},n("v1.common.error.guide.1"),o.a.createElement(s.a,{href:n("v1.common.error.link.1"),style:i}," ",n("v1.common.error.guide.2")," "),n("v1.common.error.guide.3"),o.a.createElement(s.a,{href:n("v1.common.error.link.2"),style:i}," ",n("v1.common.error.guide.4")))))}},{key:"render",value:function(){return this.props.context.mobileMode?o.a.createElement("div",null,o.a.createElement(w.a,null),o.a.createElement(g,this.props),o.a.createElement(x.a,null)):this.renderPCError()}}],a=[{key:"getInitialProps",value:function(){var e,t=(e=r.a.mark(function e(t){var n,i;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.asPath,i=n.includes("404")?404:500,e.abrupt("return",{statusCode:i});case 3:case"end":return e.stop()}},e)}),function(){var t=this,n=arguments;return new Promise(function(i,r){var a=e.apply(t,n);function o(e){O(a,i,r,o,l,"next",e)}function l(e){O(a,i,r,o,l,"throw",e)}o(void 0)})});return function(e){return t.apply(this,arguments)}}()}],i&&k(n.prototype,i),a&&k(n,a),t}();!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(N,"defaultProps",{t:function(){}});t.default=Object(u.b)(function(e){return{context:e.context}})(Object(c.a)(N))},35:function(e,t){var n=Array.isArray;e.exports=n},36:function(e,t,n){var i=n(58)(Object,"create");e.exports=i},37:function(e,t,n){var i=n(60);e.exports=function(e,t){for(var n=e.length;n--;)if(i(e[n][0],t))return n;return-1}},374:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var i=function(){function e(t,n,i,r){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t||!i)throw new Error("el和imgs是必填参数");if("array"!==n)throw new Error('只支持"array模式');this.el=t,this.mode=n,this.imgs=i,this.imgsLen=null,this.canvas=null,this.ctx=null,this.timer=null,this.state="stop",this.infinite=1e9,this.ispause=!1,this.plusNum=0,this.plusCount=0,this.count=0;var a={cover:0,fps:24,loop:"infinite",ratio:1};this.options=r||a,this.options.cover=r.cover||a.cover,this.options.fps=r.fps||a.fps,this.options.loop=r.loop||a.loop,this.options.ratio=r.ratio||a.ratio,this.recordFrom=0,this.recordTo=null,this.recordInf=this.options.loop,this._init(this)}var t,i,r;return t=e,(i=[{key:"_init",value:function(e){this._createCanvas(e),e.imgsLen=e.imgs.length,e.recordTo=e.imgsLen-1,this._showCover(e)}},{key:"_createCanvas",value:function(e){var t=document.createElement("canvas");t.width=2*e.options.width||e.el.clientWidth,t.height=2*e.options.height||e.el.clientHeight,t.style.display="block",t.style.width="100%",t.style.height="100%",e.ctx=t.getContext("2d"),e.el.appendChild(t),e.canvas=t}},{key:"_drawImg",value:function(e,t){if(e.ctx.clearRect(0,0,e.canvas.width,e.canvas.height),"array"!==e.mode)throw new Error("没有匹配的模式");0!==e.imgs[t].width&&e.ctx.drawImage(e.imgs[t],0,0,e.canvas.width,e.canvas.height)}},{key:"_showCover",value:function(e){this._drawImg(e,e.options.cover)}},{key:"goto",value:function(e){this._drawImg(this,e),this.count=e}},{key:"next",value:function(){var e=this.count+1>=this.imgsLen?0:this.count+1;this.goto(e)}},{key:"play",value:function(e){"play"!==this.state&&(this.ispause?this.ispause=!1:this.fromTo(this.recordFrom,this.recordTo,this.recordInf,e))}},{key:"fromTo",value:function(e,t,n,i){var r=this;clearInterval(this.timer);var a=e,o=function(){if(!r.ispause){if(r.plusNum<=r.plusCount)return clearInterval(r.timer),r.timer=null,r.plusNum=0,r.plusCount=0,r.state="stop",void(i&&i());a>t&&(a=e),r.goto(a),a++,r.plusCount++}};this.plusCount=0,this.state="play",n=n&&"infinite"!==n?n:this.infinite,this.plusNum=(t-e+1)*n,this.ispause=!1,this.recordFrom=e,this.recordTo=t,this.recordInf=n,o(),this.timer=setInterval(o,1e3/this.options.fps)}}
1])&&n(t.prototype,i),r&&n(t,r),e}();e.exports=i},375:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,r=n(0),a=(i=n(108))&&i.__esModule?i:{default:i};t.default=function(){var e=(0,r.useContext)(a.default);if(!e)throw new Error("Could not find `react-scroll-parallax` context value. Please ensure the component is wrapped in a <ParallaxProvider>");return{parallaxController:e}}},376:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{value:0,unit:"px"};if("number"!=typeof e&&"string"!=typeof e)throw new Error("Invalid value provided. Must provide a value as a string or number");if(e=String(e),t.value=parseFloat(e,10),t.unit=e.match(/[\d.\-\+]*\s*(.*)/)[1]||"%",!["px","%"].find(function(e){return e===t.unit}))throw new Error("Invalid unit provided. Must provide a unit of px in or %");return t}},377:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i,r){return(n-t)*(e-i)/(r-i)+t}},378:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}},379:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createId=function(){return++i};var i=0},38:function(e,t,n){var i=n(161);e.exports=function(e,t){var n=e.__data__;return i(t)?n["string"==typeof t?"string":"hash"]:n.map}},380:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.percentMoved=function(e,t,n,i){return(-1*(e-i)+n)/t*100}},381:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setParallaxStyles=function(e,t,n){var r=(0,i.getParallaxOffsets)(t,n),a=r.x,o=a.value,l=a.unit,s=r.y,c=s.value,u=s.unit;e.style.transform="translate3d(".concat(o).concat(l,", ").concat(c).concat(u,", 0)")},t.resetStyles=function(e){e.elInner.style.transform=""};var i=n(286)},382:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isElementInView=function(e,t,n,i){var r=e-i,a=t-i,o=a>=0&&a<=n,l=r<=0&&a>=n;return r>=0&&r<=n||o||l}},383:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.y0,n=e.y1,r=e.x1,a=e.x0,o=(0,i.parseValueAndUnit)(t),l=(0,i.parseValueAndUnit)(n),s=(0,i.parseValueAndUnit)(a),c=(0,i.parseValueAndUnit)(r);
1if(s.unit!==c.unit||o.unit!==l.unit)throw new Error("Must provide matching units for the min and max offset values of each axis.");var u=s.unit||"%",d=o.unit||"%";return{xUnit:u,yUnit:d,y0:o,y1:l,x0:s,x1:c}};var i=n(191)},384:function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}Object.defineProperty(t,"__esModule",{value:!0}),t.View=void 0;var r=function(){function e(t){var n=t.width,i=t.height,r=t.scrollContainer;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scrollContainer=r,this.setSize(n,i)}var t,n,r;return t=e,(n=[{key:"setSize",value:function(e,t){return this.width=e,this.height=t,this}}])&&i(t.prototype,n),r&&i(t,r),e}();t.View=r},385:function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}Object.defineProperty(t,"__esModule",{value:!0}),t.Scroll=void 0;var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setScroll.apply(this,arguments)}var t,n,r;return t=e,(n=[{key:"setScroll",value:function(e,t){return this.x=e,this.y=t,this}}])&&i(t.prototype,n),r&&i(t,r),e}();t.Scroll=r},386:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Element=void 0;var i=n(191),r=n(285),a=n(237),o=s(n(387)),l=s(n(388));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var p=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elInner=t.elInner,this.elOuter=t.elOuter,this.props=t.props,this.scrollAxis=t.scrollAxis,this.id=(0,i.createId)(),this.offsets=(0,r.getOffsets)(this.props),this.isInView=null,this.percent=0,this.updatePosition=t.scrollAxis===a.VERTICAL?this._updatePositionVertical:this._updatePositionHorizontal}var t,n,s;return t=e,(n=[{key:"updateProps",value:function(e){return this.props=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(n,!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},this.props,{},e),this.offsets=(0,r.getOffsets)(e),this}},{key:"setCachedAttributes",value:function(e,t){return this.rect=new l.default(this.elOuter,e,t),this.bounds=new o.default(this.rect,this.offsets,e),this}},{key:"_updatePositionHorizontal",value:function(e,t){return this.isInView=(0,r.isElementInView)(this.bounds.left,this.bounds.right,e.width,t.x),this.isInView?(this.percent=(0,r.percentMoved)(this.rect.left,this.rect.originTotalDistX,e.width,t.x),(0,r.setParallaxStyles)(this.elInner,this.offsets,this.percent),this):this}},{key:"_updatePositionVertical",value:function(e,t){return this.isInView=(0,r.isElementInView)(this.bounds.top,this.bounds.bottom,e.height,t.y),this.isInView?(this.percent=(0,r.percentMoved)(this.rect.top,this.rect.originTotalDistY,e.height,t.y),(0,r.setParallaxStyles)(this.elInner,this.offsets,this.percent),this):this}}])&&d(t.prototype,n),s&&d(t,s),e}();t.Element=p},387:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function e(t,n,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var r=n.y0,a=n.y1,o=n.x1,l=n.x0,s="%"===a.unit&&"%"===r.unit,c=r.value,u=a.value;if(s){var d=t.height/100;c=r.value*d,u=a.value*d}var p="%"===o.unit&&"%"===l.unit,f=l.value,m=o.value;if(p){var _=t.width/100;f=l.value*_,m=o.value*_}var h=Math.abs(c)+Math.abs(u);this.totalDistY=i.height+t.height+h;var b=i.height+t.height+(u>c?-1*h:h),y=Math.abs(f)+Math.abs(m);this.totalDistX=i.width+t.width+y;var v=i.width+t.width+(m>f?-1*y:y),g=t.originTotalDistY/b,w=t.originTotalDistX/v;this.top=t.top,this.bottom=t.bottom,c<0&&(this.top=this.top+c*g),u>0&&(this.bottom=this.bottom+u*g),this.left=t.left,this.right=t.right,f<0&&(this.left=this.left+f*w),m>0&&(this.right=this.right+m*w)};t.default=i},388:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function e(t,n,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var r=t.getBoundingClientRect();if(n.scrollContainer){var a=n.scrollContainer.getBoundingClientRect();r={top:r.top-a.top,right:r.right-a.left,bottom:r.bottom-a.top,left:r.left-a.left}}this.height=t.offsetHeight,this.width=t.offsetWidth,this.left=r.left+i.x,this.right=r.right+i.x,this.top=r.top+i.y,this.bottom=r.bottom+i.y,this.originTotalDistY=n.height+this.height,this.originTotalDistX=n.width+this.width};t.default=i},389:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;var t=u();if(t&&t.has(e))return t.get(e);var n={};if(null!=e){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var a=i?Object.getOwnPropertyDescriptor(e,r):null;a&&(a.get||a.set)?Object.defineProperty(n,r,a):n[r]=e[r]}}n.default=e,t&&t.set(e,n);return n}(n(0)),r=c(n(1)),a=c(n(108)),o=c(n(284)),l=n(237),s=c(n(390));function c(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function f(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){return"undefined"==typeof window?null:o.default.init(e)},y=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=f(this,m(t).call(this,e))).controller=b({scrollAxis:e.scrollAxis,scrollContainer:e.scrollContainer}),n}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(t,i.Component),n=t,(r=[{key:"componentDidUpdate",value:function(e){e.scrollContainer!==this.props.scrollContainer&&this.controller.updateScrollContainer(this.props.scrollContainer)}},{key:"componentWillUnmount",value:function(){this.controller=this.controller.destroy()}},{key:"render",value:function(){var e=this.props.children;return i.default.createElement(a.default.Provider,{value:this.controller},e)}}])&&p(n.prototype,r),o&&p(n,o),t}();t.default=y,h(y,"defaultProps",{scrollAxis:l.VERTICAL}),h(y,"propTypes",{children:r.default.node.isRequired,scrollAxis:r.default.oneOf([l.VERTICAL,l.HORIZONTAL]),scrollContainer:s.default})},39:function(e,t,n){"use strict";function i(e){for(var t=e.offsetTop,n=e.offsetLeft,i=e.offsetWidth,r=e.offsetHeight;e.offsetParent;)t+=(e=e.offsetParent).offsetTop,n+=e.offsetLeft;return t<window.pageYOffset+window.innerHeight&&n<window.pageXOffset+window.innerWidth&&t+r>window.pageYOffset&&n+i>window.pageXOffset}n.d(t,"a",function(){return i})},390:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ANONYMOUS";if("undefined"==typeof window)return null;if(e[t]){var i=e[t],r=i instanceof window.Element;if(!r)return new Error('Prop name "'.concat(t,'" in <').concat(n,"> must be an HTML DOM element."))}return null}},391:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(0)),r=o(n(1)),a=o(n(283));function o(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(n,!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u={position:"relative",overflow:"hidden",width:"100%",height:"50vh"},d={position:"absolute",top:0,right:0,bottom:0,left:0},p=function(e){var t=e.children,n=e.className,r=e.layers,o=e.style,l=e.disabled;return i.default.createElement("div",{style:s({},u,{},o),className:"parallax-banner"+(n?" ".concat(n):"")},r.map(function(e,t){var n=e.image,r=e.amount,o=e.children,c=e.expanded,u=void 0===c||c?{top:100*Math.abs(r)*-1+"%",bottom:100*Math.abs(r)*-1+"%"}:{};return i.default.createElement(a.default,{key:"layer-".concat(t),y:[-1*r*100+"%",100*r+"%"],styleInner:d,styleOuter:d,disabled:l},n?i.default.createElement("div",{className:"parallax-banner-layer-".concat(t),style:s({backgroundImage:"url(".concat(n,")"),backgroundPosition:"center",backgroundSize:"cover"},d,{},u)}):i.default.createElement("div",{className:"parallax-banner-layer-".concat(t),style:s({},d,{},u)},o))}),t)};p.defaultProps={disabled:!1},p.propTypes={children:r.default.node,className:r.default.string,disabled:r.default.bool.isRequired,layers:r.default.arrayOf(r.default.shape({amount:r.default.number.isRequired,children:r.default.oneOfType([r.default.node,r.default.func]),expanded:r.default.bool,image:r.default.string})),style:r.default.object};var f=p;t.default=f},392:function(e,t,n){e.exports={default:n(207),__esModule:!0}},393:function(e,t,n){e.exports={default:n(197),__esModule:!0}},394:function(e,t,n){"use strict";var i=n(0),r=n.n(i),a=(n(1),n(7)),o=n.n(a),l=n(222),s=n(221),c=n(101),u=n(102);n(580);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function f(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function m(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b,y,v,g=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),m(this,_(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,r.a.PureComponent),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.sections,n=e.components,i=e.useHeader,a=e.useFooter,d=e.childern,f=e.mobileMode,m=t.components.map(function(e){if(!(e.slug&&e.slug in n))return null;var t=n[e.slug];return r.a.createElement(t,p({key:o()()},e.data))});return r.a.createElement("div",{className:"page-wrapper"}
1,r.a.createElement(function(){return i?f?r.a.createElement(c.a,null):r.a.createElement(l.a,null):""},null),r.a.createElement("div",{className:"sections-wrapper"},m,d),r.a.createElement(function(){return a?f?r.a.createElement(u.a,null):r.a.createElement(s.a,null):""},null))}}])&&f(n.prototype,i),a&&f(n,a),t}();v={useHeader:!0,useFooter:!0,mobileMode:!1},(y="defaultProps")in(b=g)?Object.defineProperty(b,y,{value:v,enumerable:!0,configurable:!0,writable:!0}):b[y]=v,t.a=g},40:function(e,t,n){(function(e,i){var r;
2/**
3 * @license
4 * Lodash <https://lodash.com/>
5 * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
6 * Released under MIT license <https://lodash.com/license>
7 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
8 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
9 */(function(){var a,o=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",c="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",d=500,p="__lodash_placeholder__",f=1,m=2,_=4,h=1,b=2,y=1,v=2,g=4,w=8,x=16,E=32,O=64,k=128,S=256,P=512,T=30,N="...",j=800,C=16,L=1,M=2,I=1/0,A=9007199254740991,D=1.7976931348623157e308,z=NaN,V=4294967295,R=V-1,B=V>>>1,F=[["ary",k],["bind",y],["bindKey",v],["curry",w],["curryRight",x],["flip",P],["partial",E],["partialRight",O],["rearg",S]],H="[object Arguments]",W="[object Array]",q="[object AsyncFunction]",U="[object Boolean]",G="[object Date]",Y="[object DOMException]",K="[object Error]",X="[object Function]",$="[object GeneratorFunction]",Z="[object Map]",Q="[object Number]",J="[object Null]",ee="[object Object]",te="[object Proxy]",ne="[object RegExp]",ie="[object Set]",re="[object String]",ae="[object Symbol]",oe="[object Undefined]",le="[object WeakMap]",se="[object WeakSet]",ce="[object ArrayBuffer]",ue="[object DataView]",de="[object Float32Array]",pe="[object Float64Array]",fe="[object Int8Array]",me="[object Int16Array]",_e="[object Int32Array]",he="[object Uint8Array]",be="[object Uint8ClampedArray]",ye="[object Uint16Array]",ve="[object Uint32Array]",ge=/\b__p \+= '';/g,we=/\b(__p \+=) '' \+/g,xe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ee=/&(?:amp|lt|gt|quot|#39);/g,Oe=/[&<>"']/g,ke=RegExp(Ee.source),Se=RegExp(Oe.source),Pe=/<%-([\s\S]+?)%>/g,Te=/<%([\s\S]+?)%>/g,Ne=/<%=([\s\S]+?)%>/g,je=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ce=/^\w*$/,Le=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Me=/[\\^$.*+?()[\]{}|]/g,Ie=RegExp(Me.source),Ae=/^\s+/,De=/\s/,ze=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ve=/\{\n\/\* \[wrapped with (.+)\] \*/,Re=/,? & /,Be=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Fe=/[()=,{}\[\]\/\s]/,He=/\\(\\)?/g,We=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qe=/\w*$/,Ue=/^[-+]0x[0-9a-f]+$/i,Ge=/^0b[01]+$/i,Ye=/^\[object .+?Constructor\]$/,Ke=/^0o[0-7]+$/i,Xe=/^(?:0|[1-9]\d*)$/,$e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 3,343 bytes, line 9
97f]/g,Ze=/($^)/,Qe=/['\n\r\u2028\u2029\\]/g,Je="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",et="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",tt="[\\ud800-\\udfff]",nt="["+et+"]",it="["+Je+"]",rt="\\d+",at="[\\u2700-\\u27bf]",ot="[a-z\\xdf-\\xf6\\xf8-\\xff]",lt="[^\\ud800-\\udfff"+et+rt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",st="\\ud83c[\\udffb-\\udfff]",ct="[^\\ud800-\\udfff]",ut="(?:\\ud83c[\\udde6-\\uddff]){2}",dt="[\\ud800-\\udbff][\\udc00-\\udfff]",pt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ft="(?:"+ot+"|"+lt+")",mt="(?:"+pt+"|"+lt+")",_t="(?:"+it+"|"+st+")"+"?",ht="[\\ufe0e\\ufe0f]?"+_t+("(?:\\u200d(?:"+[ct,ut,dt].join("|")+")[\\ufe0e\\ufe0f]?"+_t+")*"),bt="(?:"+[at,ut,dt].join("|")+")"+ht,yt="(?:"+[ct+it+"?",it,ut,dt,tt].join("|")+")",vt=RegExp("['’]","g"),gt=RegExp(it,"g"),wt=RegExp(st+"(?="+st+")|"+yt+ht,"g"),xt=RegExp([pt+"?"+ot+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[nt,pt,"$"].join("|")+")",mt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[nt,pt+ft,"$"].join("|")+")",pt+"?"+ft+"+(?:['’](?:d|ll|m|re|s|t|ve))?",pt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rt,bt].join("|"),"g"),Et=RegExp("[\\u200d\\ud800-\\udfff"+Je+"\\ufe0e\\ufe0f]"),Ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,kt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],St=-1,Pt={};Pt[de]=Pt[pe]=Pt[fe]=Pt[me]=Pt[_e]=Pt[he]=Pt[be]=Pt[ye]=Pt[ve]=!0,Pt[H]=Pt[W]=Pt[ce]=Pt[U]=Pt[ue]=Pt[G]=Pt[K]=Pt[X]=Pt[Z]=Pt[Q]=Pt[ee]=Pt[ne]=Pt[ie]=Pt[re]=Pt[le]=!1;var Tt={};Tt[H]=Tt[W]=Tt[ce]=Tt[ue]=Tt[U]=Tt[G]=Tt[de]=Tt[pe]=Tt[fe]=Tt[me]=Tt[_e]=Tt[Z]=Tt[Q]=Tt[ee]=Tt[ne]=Tt[ie]=Tt[re]=Tt[ae]=Tt[he]=Tt[be]=Tt[ye]=Tt[ve]=!0,Tt[K]=Tt[X]=Tt[le]=!1;var Nt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},jt=parseFloat,Ct=parseInt,Lt="object"==typeof e&&e&&e.Object===Object&&e,Mt="object"==typeof self&&self&&self.Object===Object&&self,It=Lt||Mt||Function("return this")(),At="object"==typeof t&&t&&!t.nodeType&&t,Dt=At&&"object"==typeof i&&i&&!i.nodeType&&i,zt=Dt&&Dt.exports===At,Vt=zt&&Lt.process,Rt=function(){try{var e=Dt&&Dt.require&&Dt.require("util").types;return e||Vt&&Vt.binding&&Vt.binding("util")}catch(e){}}(),Bt=Rt&&Rt.isArrayBuffer,Ft=Rt&&Rt.isDate,Ht=Rt&&Rt.isMap,Wt=Rt&&Rt.isRegExp,qt=Rt&&Rt.isSet,Ut=Rt&&Rt.isTypedArray;function Gt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Yt(e,t,n,i){for(var r=-1,a=null==e?0:e.length;++r<a;){var o=e[r];t(i,o,n(o),e)}return i}function Kt(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}function Xt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function $t(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;
vendor: 4,958 bytes, line 9
9)if(!t(e[n],n,e))return!1;return!0}function Zt(e,t){for(var n=-1,i=null==e?0:e.length,r=0,a=[];++n<i;){var o=e[n];t(o,n,e)&&(a[r++]=o)}return a}function Qt(e,t){return!!(null==e?0:e.length)&&cn(e,t,0)>-1}function Jt(e,t,n){for(var i=-1,r=null==e?0:e.length;++i<r;)if(n(t,e[i]))return!0;return!1}function en(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}function tn(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}function nn(e,t,n,i){var r=-1,a=null==e?0:e.length;for(i&&a&&(n=e[++r]);++r<a;)n=t(n,e[r],r,e);return n}function rn(e,t,n,i){var r=null==e?0:e.length;for(i&&r&&(n=e[--r]);r--;)n=t(n,e[r],r,e);return n}function an(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}var on=fn("length");function ln(e,t,n){var i;return n(e,function(e,n,r){if(t(e,n,r))return i=n,!1}),i}function sn(e,t,n,i){for(var r=e.length,a=n+(i?1:-1);i?a--:++a<r;)if(t(e[a],a,e))return a;return-1}function cn(e,t,n){return t==t?function(e,t,n){var i=n-1,r=e.length;for(;++i<r;)if(e[i]===t)return i;return-1}(e,t,n):sn(e,dn,n)}function un(e,t,n,i){for(var r=n-1,a=e.length;++r<a;)if(i(e[r],t))return r;return-1}function dn(e){return e!=e}function pn(e,t){var n=null==e?0:e.length;return n?hn(e,t)/n:z}function fn(e){return function(t){return null==t?a:t[e]}}function mn(e){return function(t){return null==e?a:e[t]}}function _n(e,t,n,i,r){return r(e,function(e,r,a){n=i?(i=!1,e):t(n,e,r,a)}),n}function hn(e,t){for(var n,i=-1,r=e.length;++i<r;){var o=t(e[i]);o!==a&&(n=n===a?o:n+o)}return n}function bn(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function yn(e){return e?e.slice(0,An(e)+1).replace(Ae,""):e}function vn(e){return function(t){return e(t)}}function gn(e,t){return en(t,function(t){return e[t]})}function wn(e,t){return e.has(t)}function xn(e,t){for(var n=-1,i=e.length;++n<i&&cn(t,e[n],0)>-1;);return n}function En(e,t){for(var n=e.length;n--&&cn(t,e[n],0)>-1;);return n}var On=mn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),kn=mn({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Sn(e){return"\\"+Nt[e]}function Pn(e){return Et.test(e)}function Tn(e){var t=-1,n=Array(e.size);return e.forEach(function(e,i){n[++t]=[i,e]}),n}function Nn(e,t){return function(n){return e(t(n))}}function jn(e,t){for(var n=-1,i=e.length,r=0,a=[];++n<i;){var o=e[n];o!==t&&o!==p||(e[n]=p,a[r++]=n)}return a}function Cn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function Ln(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function Mn(e){return Pn(e)?function(e){var t=wt.lastIndex=0;for(;wt.test(e);)++t;return t}(e):on(e)}function In(e){return Pn(e)?function(e){return e.match(wt)||[]}(e):function(e){return e.split("")}(e)}function An(e){for(var t=e.length;t--&&De.test(e.charAt(t)););return t}var Dn=mn({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var zn=function e(t){var n,i=(t=null==t?It:zn.defaults(It.Object(),t,zn.pick(It,kt))).Array,r=t.Date,De=t.Error,Je=t.Function,et=t.Math,tt=t.Object,nt=t.RegExp,it=t.String,rt=t.TypeError,at=i.prototype,ot=Je.prototype,lt=tt.prototype,st=t["__core-js_shared__"],ct=ot.toString,ut=lt.hasOwnProperty,dt=0,pt=(n=/[^.]+$/.exec(st&&st.keys&&st.keys.IE_PROTO||""))?"Symbol(sr
9c)_1."+n:"",ft=lt.toString,mt=ct.call(tt),_t=It._,ht=nt("^"+ct.call(ut).replace(Me,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bt=zt?t.Buffer:a,yt=t.Symbol,wt=t.Uint8Array,Et=bt?bt.allocUnsafe:a,Nt=Nn(tt.getPrototypeOf,tt),Lt=tt.create,Mt=lt.propertyIsEnumerable,At=at.splice,Dt=yt?yt.isConcatSpreadable:a,Vt=yt?yt.iterator:a,Rt=yt?yt.toStringTag:a,on=function(){try{var e=Ba(tt,"defineProperty");return e({},"",{}),e}catch(e){}}(),mn=t.clearTimeout!==It.clearTimeout&&t.clearTimeout,Vn=r&&r.now!==It.Date.now&&r.now,Rn=t.setTimeout!==It.setTimeout&&t.setTimeout,Bn=et.ceil,Fn=et.floor,Hn=tt.getOwnPropertySymbols,Wn=bt?bt.isBuffer:a,qn=t.isFinite,Un=at.join,Gn=Nn(tt.keys,tt),Yn=et.max,Kn=et.min,Xn=r.now,$n=t.parseInt,Zn=et.random,Qn=at.reverse,Jn=Ba(t,"DataView"),ei=Ba(t,"Map"),ti=Ba(t,"Promise"),ni=Ba(t,"Set"),ii=Ba(t,"WeakMap"),ri=Ba(tt,"create"),ai=ii&&new ii,oi={},li=fo(Jn),si=fo(ei),ci=fo(ti),ui=fo(ni),di=fo(ii),pi=yt?yt.prototype:a,fi=pi?pi.valueOf:a,mi=pi?pi.toString:a;function _i(e){if(jl(e)&&!vl(e)&&!(e instanceof vi)){if(e instanceof yi)return e;if(ut.call(e,"__wrapped__"))return mo(e)}return new yi(e)}var hi=function(){function e(){}return function(t){if(!Nl(t))return{};if(Lt)return Lt(t);e.prototype=t;var n=new e;return e.prototype=a,n}}();function bi(){}function yi(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=a}function vi(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=V,this.__views__=[]}function gi(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function wi(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function xi(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Ei(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new xi;++t<n;)this.add(e[t])}function Oi(e){var t=this.__data__=new wi(e);this.size=t.size}function ki(e,t){var n=vl(e),i=!n&&yl(e),r=!n&&!i&&El(e),a=!n&&!i&&!r&&Vl(e),o=n||i||r||a,l=o?bn(e.length,it):[],s=l.length;for(var c in e)!t&&!ut.call(e,c)||o&&("length"==c||r&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Ya(c,s))||l.push(c);return l}function Si(e){var t=e.length;return t?e[Er(0,t-1)]:a}function Pi(e,t){return co(ra(e),Di(t,0,e.length))}function Ti(e){return co(ra(e))}function Ni(e,t,n){(n===a||_l(e[t],n))&&(n!==a||t in e)||Ii(e,t,n)}function ji(e,t,n){var i=e[t];ut.call(e,t)&&_l(i,n)&&(n!==a||t in e)||Ii(e,t,n)}function Ci(e,t){for(var n=e.length;n--;)if(_l(e[n][0],t))return n;return-1}function Li(e,t,n,i){return Fi(e,function(e,r,a){t(i,e,n(e),a)}),i}function Mi(e,t){return e&&aa(t,os(t),e)}function Ii(e,t,n){"__proto__"==t&&on?on(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Ai(e,t){for(var n=-1,r=t.length,o=i(r),l=null==e;++n<r;)o[n]=l?a:ts(e,t[n]);return o}function Di(e,t,n){return e==e&&(n!==a&&(e=e<=n?e:n),t!==a&&(e=e>=t?e:t)),e}function zi(e,t,n,i,r,o){var l,s=t&f,c=t&m,u=t&_;if(n&&(l=r?n(e,i,r,o):n(e)),l!==a)return l;if(!Nl(e))return e;var d=vl(e);if(d){if(l=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ut.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!s)return ra(e,l)}else{var p=Wa(e),h=p==X||p==$;if(El(e))return Qr(e,s);if(p==ee||p==H||h&&!r){if(l=c||h?{}:Ua(e),!s)return c?function(e,t){return aa(e,Ha(e),t)}(e,function(e,t){return e&&aa(t,ls(t),e)}(l,e)):function(e,t){return aa(e,Fa(e),t)}(e,Mi(l,e))}else{if(!Tt[p])return r?e:{};l=function(e,t,n){var i,r,a,o=e.constructor;switch(t){case ce:return Jr(e);case U:case G:return new o(+e);case ue:return function(e,t){var n=t?Jr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case de:case pe:case fe:case me:case _e:case he:case be:case ye:case ve:return ea(e,n);case Z:return new o;case Q:case re:return new o(e);case ne:return(a=new(r=e).constructor(r.source,qe.exec(r))).lastIndex=r.lastIndex,a;case ie:return new o;case ae:return i=e,fi?tt(fi.call(i)):{}}}(e,p,s)}}o||(o=new Oi);var b=o.get(e);if(b)return b;o.set(e,l),Al(e)?e.forEach(function(i){l.add(zi(i,t,n,i,e,o))}):Cl(e)&&e.forEach(function(i,r){l.set(r,zi(i,t,n,r,e,o))});var y=d?a:(u?c?Ma:La:c?ls:os)(e);
vendor: 4,279 bytes, line 9
9return Kt(y||e,function(i,r){y&&(i=e[r=i]),ji(l,r,zi(i,t,n,r,e,o))}),l}function Vi(e,t,n){var i=n.length;if(null==e)return!i;for(e=tt(e);i--;){var r=n[i],o=t[r],l=e[r];if(l===a&&!(r in e)||!o(l))return!1}return!0}function Ri(e,t,n){if("function"!=typeof e)throw new rt(s);return ao(function(){e.apply(a,n)},t)}function Bi(e,t,n,i){var r=-1,a=Qt,l=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=en(t,vn(n))),i?(a=Jt,l=!1):t.length>=o&&(a=wn,l=!1,t=new Ei(t));e:for(;++r<s;){var d=e[r],p=null==n?d:n(d);if(d=i||0!==d?d:0,l&&p==p){for(var f=u;f--;)if(t[f]===p)continue e;c.push(d)}else a(t,p,i)||c.push(d)}return c}_i.templateSettings={escape:Pe,evaluate:Te,interpolate:Ne,variable:"",imports:{_:_i}},_i.prototype=bi.prototype,_i.prototype.constructor=_i,yi.prototype=hi(bi.prototype),yi.prototype.constructor=yi,vi.prototype=hi(bi.prototype),vi.prototype.constructor=vi,gi.prototype.clear=function(){this.__data__=ri?ri(null):{},this.size=0},gi.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},gi.prototype.get=function(e){var t=this.__data__;if(ri){var n=t[e];return n===u?a:n}return ut.call(t,e)?t[e]:a},gi.prototype.has=function(e){var t=this.__data__;return ri?t[e]!==a:ut.call(t,e)},gi.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ri&&t===a?u:t,this},wi.prototype.clear=function(){this.__data__=[],this.size=0},wi.prototype.delete=function(e){var t=this.__data__,n=Ci(t,e);return!(n<0||(n==t.length-1?t.pop():At.call(t,n,1),--this.size,0))},wi.prototype.get=function(e){var t=this.__data__,n=Ci(t,e);return n<0?a:t[n][1]},wi.prototype.has=function(e){return Ci(this.__data__,e)>-1},wi.prototype.set=function(e,t){var n=this.__data__,i=Ci(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},xi.prototype.clear=function(){this.size=0,this.__data__={hash:new gi,map:new(ei||wi),string:new gi}},xi.prototype.delete=function(e){var t=Va(this,e).delete(e);return this.size-=t?1:0,t},xi.prototype.get=function(e){return Va(this,e).get(e)},xi.prototype.has=function(e){return Va(this,e).has(e)},xi.prototype.set=function(e,t){var n=Va(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},Ei.prototype.add=Ei.prototype.push=function(e){return this.__data__.set(e,u),this},Ei.prototype.has=function(e){return this.__data__.has(e)},Oi.prototype.clear=function(){this.__data__=new wi,this.size=0},Oi.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Oi.prototype.get=function(e){return this.__data__.get(e)},Oi.prototype.has=function(e){return this.__data__.has(e)},Oi.prototype.set=function(e,t){var n=this.__data__;if(n instanceof wi){var i=n.__data__;if(!ei||i.length<o-1)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new xi(i)}return n.set(e,t),this.size=n.size,this};var Fi=sa(Xi),Hi=sa($i,!0);function Wi(e,t){var n=!0;return Fi(e,function(e,i,r){return n=!!t(e,i,r)}),n}function qi(e,t,n){for(var i=-1,r=e.length;++i<r;){var o=e[i],l=t(o);if(null!=l&&(s===a?l==l&&!zl(l):n(l,s)))var s=l,c=o}return c}function Ui(e,t){var n=[];return Fi(e,function(e,i,r){t(e,i,r)&&n.push(e)}),n}function Gi(e,t,n,i,r){var a=-1,o=e.length;for(n||(n=Ga),r||(r=[]);++a<o;){var l=e[a];t>0&&n(l)?t>1?Gi(l,t-1,n,i,r):tn(r,l):i||(r[r.length]=l)}return r}var Yi=ca(),Ki=ca(!0);function Xi(e,t){return e&&Yi(e,t,os)}function $i(e,t){return e&&Ki(e,t,os)}function Zi(e,t){return Zt(t,function(t){return Sl(e[t])})}function Qi(e,t){for(var n=0,i=(t=Kr(t,e)).length;null!=e&&n<i;)e=e[po(t[n++])];return n&&n==i?e:a}function Ji(e,t,n){var i=t(e);return vl(e)?i:tn(i,n(e))}function er(e){return null==e?e===a?oe:J:Rt&&Rt in tt(e)?function(e){var t=ut.call(e,Rt),n=e[Rt];try{e[Rt]=a;var i=!0}catch(e){}var r=ft.call(e);return i&&(t?e[Rt]=n:delete e[Rt]),r}(e):function(e){return ft.call(e)}(e)}function tr(e,t){return e>t}function nr(e,t){return null!=e&&ut.call(e,t)}function ir(e,t){return null!=e&&t in tt(e)}function rr(e,t,n){for(var r=n?Jt:Qt,o=e[0].length,l=e.length,s=l,c=i(l),u=1/0,d=[];s--;){var p=e[s];s&&t&&(p=en(p,vn(t))),u=Kn(p.length,u),c[s]=!n&&(t||o>=120&&p.length>=120)?new Ei(s&&p):a}p=e[0];var f=-1,m=c[0];e:for(;++f<o&&d.length<u;){var _=p[f],h=t?t(_):_;if(_=n||0!==_?_:0,!(m?wn(m,h):r(d,h,n))){for(s=l;--s;){var b=c[s];
vendor: 1,131 bytes, line 9
9if(!(b?wn(b,h):r(e[s],h,n)))continue e}m&&m.push(h),d.push(_)}}return d}function ar(e,t,n){var i=null==(e=no(e,t=Kr(t,e)))?e:e[po(ko(t))];return null==i?a:Gt(i,e,n)}function or(e){return jl(e)&&er(e)==H}function lr(e,t,n,i,r){return e===t||(null==e||null==t||!jl(e)&&!jl(t)?e!=e&&t!=t:function(e,t,n,i,r,o){var l=vl(e),s=vl(t),c=l?W:Wa(e),u=s?W:Wa(t),d=(c=c==H?ee:c)==ee,p=(u=u==H?ee:u)==ee,f=c==u;if(f&&El(e)){if(!El(t))return!1;l=!0,d=!1}if(f&&!d)return o||(o=new Oi),l||Vl(e)?ja(e,t,n,i,r,o):function(e,t,n,i,r,a,o){switch(n){case ue:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ce:return!(e.byteLength!=t.byteLength||!a(new wt(e),new wt(t)));case U:case G:case Q:return _l(+e,+t);case K:return e.name==t.name&&e.message==t.message;case ne:case re:return e==t+"";case Z:var l=Tn;case ie:var s=i&h;if(l||(l=Cn),e.size!=t.size&&!s)return!1;var c=o.get(e);if(c)return c==t;i|=b,o.set(e,t);var u=ja(l(e),l(t),i,r,a,o);return o.delete(e),u;case ae:if(fi)return fi.call(e)==fi.call(t)}return!1}(e,t,c,n,i,r,o);if(!(n&h)){var m=d&&ut.call(e,"__wrapped__"),_=p&&ut.call(t,"__wrapped__");
vendor: 5,424 bytes, line 9
9if(m||_){var y=m?e.value():e,v=_?t.value():t;return o||(o=new Oi),r(y,v,n,i,o)}}return!!f&&(o||(o=new Oi),function(e,t,n,i,r,o){var l=n&h,s=La(e),c=s.length,u=La(t).length;if(c!=u&&!l)return!1;for(var d=c;d--;){var p=s[d];if(!(l?p in t:ut.call(t,p)))return!1}var f=o.get(e),m=o.get(t);if(f&&m)return f==t&&m==e;var _=!0;o.set(e,t),o.set(t,e);for(var b=l;++d<c;){p=s[d];var y=e[p],v=t[p];if(i)var g=l?i(v,y,p,t,e,o):i(y,v,p,e,t,o);if(!(g===a?y===v||r(y,v,n,i,o):g)){_=!1;break}b||(b="constructor"==p)}if(_&&!b){var w=e.constructor,x=t.constructor;w!=x&&"constructor"in e&&"constructor"in t&&!("function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x)&&(_=!1)}return o.delete(e),o.delete(t),_}(e,t,n,i,r,o))}(e,t,n,i,lr,r))}function sr(e,t,n,i){var r=n.length,o=r,l=!i;if(null==e)return!o;for(e=tt(e);r--;){var s=n[r];if(l&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++r<o;){var c=(s=n[r])[0],u=e[c],d=s[1];if(l&&s[2]){if(u===a&&!(c in e))return!1}else{var p=new Oi;if(i)var f=i(u,d,c,e,t,p);if(!(f===a?lr(d,u,h|b,i,p):f))return!1}}return!0}function cr(e){return!(!Nl(e)||(t=e,pt&&pt in t))&&(Sl(e)?ht:Ye).test(fo(e));var t}function ur(e){return"function"==typeof e?e:null==e?Ls:"object"==typeof e?vl(e)?hr(e[0],e[1]):_r(e):Fs(e)}function dr(e){if(!Qa(e))return Gn(e);var t=[];for(var n in tt(e))ut.call(e,n)&&"constructor"!=n&&t.push(n);return t}function pr(e){if(!Nl(e))return function(e){var t=[];if(null!=e)for(var n in tt(e))t.push(n);return t}(e);var t=Qa(e),n=[];for(var i in e)("constructor"!=i||!t&&ut.call(e,i))&&n.push(i);return n}function fr(e,t){return e<t}function mr(e,t){var n=-1,r=wl(e)?i(e.length):[];return Fi(e,function(e,i,a){r[++n]=t(e,i,a)}),r}function _r(e){var t=Ra(e);return 1==t.length&&t[0][2]?eo(t[0][0],t[0][1]):function(n){return n===e||sr(n,e,t)}}function hr(e,t){return Xa(e)&&Ja(t)?eo(po(e),t):function(n){var i=ts(n,e);return i===a&&i===t?ns(n,e):lr(t,i,h|b)}}function br(e,t,n,i,r){e!==t&&Yi(t,function(o,l){if(r||(r=new Oi),Nl(o))!function(e,t,n,i,r,o,l){var s=io(e,n),c=io(t,n),u=l.get(c);if(u)Ni(e,n,u);else{var d=o?o(s,c,n+"",e,t,l):a,p=d===a;if(p){var f=vl(c),m=!f&&El(c),_=!f&&!m&&Vl(c);d=c,f||m||_?vl(s)?d=s:xl(s)?d=ra(s):m?(p=!1,d=Qr(c,!0)):_?(p=!1,d=ea(c,!0)):d=[]:Ml(c)||yl(c)?(d=s,yl(s)?d=Gl(s):Nl(s)&&!Sl(s)||(d=Ua(c))):p=!1}p&&(l.set(c,d),r(d,c,i,o,l),l.delete(c)),Ni(e,n,d)}}(e,t,l,n,br,i,r);else{var s=i?i(io(e,l),o,l+"",e,t,r):a;s===a&&(s=o),Ni(e,l,s)}},ls)}function yr(e,t){var n=e.length;if(n)return Ya(t+=t<0?n:0,n)?e[t]:a}function vr(e,t,n){t=t.length?en(t,function(e){return vl(e)?function(t){return Qi(t,1===e.length?e[0]:e)}:e}):[Ls];var i=-1;return t=en(t,vn(za())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(mr(e,function(e,n,r){return{criteria:en(t,function(t){return t(e)}),index:++i,value:e}}),function(e,t){return function(e,t,n){for(var i=-1,r=e.criteria,a=t.criteria,o=r.length,l=n.length;++i<o;){var s=ta(r[i],a[i]);if(s){if(i>=l)return s;var c=n[i];return s*("desc"==c?-1:1)}}return e.index-t.index}(e,t,n)})}function gr(e,t,n){for(var i=-1,r=t.length,a={};++i<r;){var o=t[i],l=Qi(e,o);n(l,o)&&Tr(a,Kr(o,e),l)}return a}function wr(e,t,n,i){var r=i?un:cn,a=-1,o=t.length,l=e;for(e===t&&(t=ra(t)),n&&(l=en(e,vn(n)));++a<o;)for(var s=0,c=t[a],u=n?n(c):c;(s=r(l,u,s,i))>-1;)l!==e&&At.call(l,s,1),At.call(e,s,1);return e}function xr(e,t){for(var n=e?t.length:0,i=n-1;n--;){var r=t[n];if(n==i||r!==a){var a=r;Ya(r)?At.call(e,r,1):Br(e,r)}}return e}function Er(e,t){return e+Fn(Zn()*(t-e+1))}function Or(e,t){var n="";if(!e||t<1||t>A)return n;do{t%2&&(n+=e),(t=Fn(t/2))&&(e+=e)}while(t);return n}function kr(e,t){return oo(to(e,t,Ls),e+"")}function Sr(e){return Si(_s(e))}function Pr(e,t){var n=_s(e);return co(n,Di(t,0,n.length))}function Tr(e,t,n,i){if(!Nl(e))return e;for(var r=-1,o=(t=Kr(t,e)).length,l=o-1,s=e;null!=s&&++r<o;){var c=po(t[r]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(r!=l){var d=s[c];(u=i?i(d,c,s):a)===a&&(u=Nl(d)?d:Ya(t[r+1])?[]:{})}ji(s,c,u),s=s[c]}return e}var Nr=ai?function(e,t){return ai.set(e,t),e}:Ls,jr=on?function(e,t){return on(e,"toString",{configurable:!0,enumerable:!1,value:Ns(t),writable:!0})}:Ls;function Cr(e){return co(_s(e))}function Lr(e,t,n){var r=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var o=i(a);++r<a;)o[r]=e[r+t];return o}function Mr(e,t){var n;return Fi(e,function(e,i,r){return!(n=t(e,i,r))}),!!n}function Ir(e,t,n){var i=0,r=null==e?i:e.length;if("number"==typeof t&&t==t&&r<=B){for(;i<r;){var a=i+r>>>1,o=e[a];null!==o&&!zl(o)&&(n?o<=t:o<t)?i=a+1:r=a}return r}return Ar(e,t,Ls,n)}function Ar(e,t,n,i){var r=0,o=null==e?0:e.length;if(0===o)return 0;for(var l=(t=n(t))!=t,s=null===t,c=zl(t),u=t===a;r<o;){var d=Fn((r+o)/2),p=n(e[d]),f=p!==a,m=null===p,_=p==p,h=zl(p);if(l)var b=i||_;else b=u?_&&(i||f):s?_&&f&&(i||!m):c?_&&f&&!m&&(i||!h):!m&&!h&&(i?p<=t:p<t);b?r=d+1:o=d}return Kn(o,R)}function Dr(e,t){for(var n=-1,i=e.length,r=0,a=[];++n<i;){var o=e[n],l=t?t(o):o;if(!n||!_l(l,s)){var s=l;a[r++]=0===o?0:o}}return a}function zr(e){return"number"==typeof e?e:zl(e)?z:+e}function Vr(e){if("string"==typeof e)return e;if(vl(e))return en(e,Vr)+"";if(zl(e))return mi?mi.call(e):"";var t=e+"";return"0"==t&&1/e==-I?"-0":t}function Rr(e,t,n){var i=-1,r=Qt,a=e.length,l=!0,s=[],c=s;if(n)l=!1,r=Jt;else if(a>=o){var u=t?null:Oa(e);if(u)return Cn(u);l=!1,r=wn,c=new Ei}else c=t?[]:s;e:for(;++i<a;
vendor: 7,888 bytes, line 9
9){var d=e[i],p=t?t(d):d;if(d=n||0!==d?d:0,l&&p==p){for(var f=c.length;f--;)if(c[f]===p)continue e;t&&c.push(p),s.push(d)}else r(c,p,n)||(c!==s&&c.push(p),s.push(d))}return s}function Br(e,t){return null==(e=no(e,t=Kr(t,e)))||delete e[po(ko(t))]}function Fr(e,t,n,i){return Tr(e,t,n(Qi(e,t)),i)}function Hr(e,t,n,i){for(var r=e.length,a=i?r:-1;(i?a--:++a<r)&&t(e[a],a,e););return n?Lr(e,i?0:a,i?a+1:r):Lr(e,i?a+1:0,i?r:a)}function Wr(e,t){var n=e;return n instanceof vi&&(n=n.value()),nn(t,function(e,t){return t.func.apply(t.thisArg,tn([e],t.args))},n)}function qr(e,t,n){var r=e.length;if(r<2)return r?Rr(e[0]):[];for(var a=-1,o=i(r);++a<r;)for(var l=e[a],s=-1;++s<r;)s!=a&&(o[a]=Bi(o[a]||l,e[s],t,n));return Rr(Gi(o,1),t,n)}function Ur(e,t,n){for(var i=-1,r=e.length,o=t.length,l={};++i<r;){var s=i<o?t[i]:a;n(l,e[i],s)}return l}function Gr(e){return xl(e)?e:[]}function Yr(e){return"function"==typeof e?e:Ls}function Kr(e,t){return vl(e)?e:Xa(e,t)?[e]:uo(Yl(e))}var Xr=kr;function $r(e,t,n){var i=e.length;return n=n===a?i:n,!t&&n>=i?e:Lr(e,t,n)}var Zr=mn||function(e){return It.clearTimeout(e)};function Qr(e,t){if(t)return e.slice();var n=e.length,i=Et?Et(n):new e.constructor(n);return e.copy(i),i}function Jr(e){var t=new e.constructor(e.byteLength);return new wt(t).set(new wt(e)),t}function ea(e,t){var n=t?Jr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ta(e,t){if(e!==t){var n=e!==a,i=null===e,r=e==e,o=zl(e),l=t!==a,s=null===t,c=t==t,u=zl(t);if(!s&&!u&&!o&&e>t||o&&l&&c&&!s&&!u||i&&l&&c||!n&&c||!r)return 1;if(!i&&!o&&!u&&e<t||u&&n&&r&&!i&&!o||s&&n&&r||!l&&r||!c)return-1}return 0}function na(e,t,n,r){for(var a=-1,o=e.length,l=n.length,s=-1,c=t.length,u=Yn(o-l,0),d=i(c+u),p=!r;++s<c;)d[s]=t[s];for(;++a<l;)(p||a<o)&&(d[n[a]]=e[a]);for(;u--;)d[s++]=e[a++];return d}function ia(e,t,n,r){for(var a=-1,o=e.length,l=-1,s=n.length,c=-1,u=t.length,d=Yn(o-s,0),p=i(d+u),f=!r;++a<d;)p[a]=e[a];for(var m=a;++c<u;)p[m+c]=t[c];for(;++l<s;)(f||a<o)&&(p[m+n[l]]=e[a++]);return p}function ra(e,t){var n=-1,r=e.length;for(t||(t=i(r));++n<r;)t[n]=e[n];return t}function aa(e,t,n,i){var r=!n;n||(n={});for(var o=-1,l=t.length;++o<l;){var s=t[o],c=i?i(n[s],e[s],s,n,e):a;c===a&&(c=e[s]),r?Ii(n,s,c):ji(n,s,c)}return n}function oa(e,t){return function(n,i){var r=vl(n)?Yt:Li,a=t?t():{};return r(n,e,za(i,2),a)}}function la(e){return kr(function(t,n){var i=-1,r=n.length,o=r>1?n[r-1]:a,l=r>2?n[2]:a;for(o=e.length>3&&"function"==typeof o?(r--,o):a,l&&Ka(n[0],n[1],l)&&(o=r<3?a:o,r=1),t=tt(t);++i<r;){var s=n[i];s&&e(t,s,i,o)}return t})}function sa(e,t){return function(n,i){if(null==n)return n;if(!wl(n))return e(n,i);for(var r=n.length,a=t?r:-1,o=tt(n);(t?a--:++a<r)&&!1!==i(o[a],a,o););return n}}function ca(e){return function(t,n,i){for(var r=-1,a=tt(t),o=i(t),l=o.length;l--;){var s=o[e?l:++r];if(!1===n(a[s],s,a))break}return t}}function ua(e){return function(t){var n=Pn(t=Yl(t))?In(t):a,i=n?n[0]:t.charAt(0),r=n?$r(n,1).join(""):t.slice(1);return i[e]()+r}}function da(e){return function(t){return nn(Ss(ys(t).replace(vt,"")),e,"")}}function pa(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=hi(e.prototype),i=e.apply(n,t);return Nl(i)?i:n}}function fa(e){return function(t,n,i){var r=tt(t);if(!wl(t)){var o=za(n,3);t=os(t),n=function(e){return o(r[e],e,r)}}var l=e(t,n,i);return l>-1?r[o?t[l]:l]:a}}function ma(e){return Ca(function(t){var n=t.length,i=n,r=yi.prototype.thru;for(e&&t.reverse();i--;){var o=t[i];if("function"!=typeof o)throw new rt(s);if(r&&!l&&"wrapper"==Aa(o))var l=new yi([],!0)}for(i=l?i:n;++i<n;){var c=Aa(o=t[i]),u="wrapper"==c?Ia(o):a;l=u&&$a(u[0])&&u[1]==(k|w|E|S)&&!u[4].length&&1==u[9]?l[Aa(u[0])].apply(l,u[3]):1==o.length&&$a(o)?l[c]():l.thru(o)}return function(){var e=arguments,i=e[0];if(l&&1==e.length&&vl(i))return l.plant(i).value();for(var r=0,a=n?t[r].apply(this,e):i;++r<n;)a=t[r].call(this,a);return a}})}function _a(e,t,n,r,o,l,s,c,u,d){var p=t&k,f=t&y,m=t&v,_=t&(w|x),h=t&P,b=m?a:pa(e);return function y(){for(var v=arguments.length,g=i(v),w=v;w--;)g[w]=arguments[w];if(_)var x=Da(y),E=function(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&++i;return i}(g,x);if(r&&(g=na(g,r,o,_)),l&&(g=ia(g,l,s,_)),v-=E,_&&v<d){var O=jn(g,x);return xa(e,t,_a,y.placeholder,n,g,O,c,u,d-v)}var k=f?n:this,S=m?k[e]:e;return v=g.length,c?g=function(e,t){for(var n=e.length,i=Kn(t.length,n),r=ra(e);i--;){var o=t[i];e[i]=Ya(o,n)?r[o]:a}return e}(g,c):h&&v>1&&g.reverse(),p&&u<v&&(g.length=u),this&&this!==It&&this instanceof y&&(S=b||pa(S)),S.apply(k,g)}}function ha(e,t){return function(n,i){return function(e,t,n,i){return Xi(e,function(e,r,a){t(i,n(e),r,a)}),i}(n,e,t(i),{})}}function ba(e,t){return function(n,i){var r;if(n===a&&i===a)return t;if(n!==a&&(r=n),i!==a){if(r===a)return i;"string"==typeof n||"string"==typeof i?(n=Vr(n),i=Vr(i)):(n=zr(n),i=zr(i)),r=e(n,i)}return r}}function ya(e){return Ca(function(t){return t=en(t,vn(za())),kr(function(n){var i=this;return e(t,function(e){return Gt(e,i,n)})})})}function va(e,t){var n=(t=t===a?" ":Vr(t)).length;if(n<2)return n?Or(t,e):t;var i=Or(t,Bn(e/Mn(t)));return Pn(t)?$r(In(i),0,e).join(""):i.slice(0,e)}function ga(e){return function(t,n,r){return r&&"number"!=typeof r&&Ka(t,n,r)&&(n=r=a),t=Hl(t),n===a?(n=t,t=0):n=Hl(n),function(e,t,n,r){for(var a=-1,o=Yn(Bn((t-e)/(n||1)),0),l=i(o);o--;)l[r?o:++a]=e,e+=n;return l}(t,n,r=r===a?t<n?1:-1:Hl(r),e)}}function wa(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Ul(t),n=Ul(n)),e(t,n)}}function xa(e,t,n,i,r,o,l,s,c,u){var d=t&w;t|=d?E:O,(t&=~(d?O:E))&g||(t&=~(y|v));var p=[e,t,r,d?o:a,d?l:a,d?a:o,d?a:l,s,c,u],f=n.apply(a,p);return $a(e)&&ro(f,p),f.placeholder=i,lo(f,e,t)}function Ea(e){var t=et[e];return function(e,n){if(e=Ul(e),(n=null==n?0:Kn(Wl(n),292))&&qn(e)){var i=(Yl(e)+"e").split("e");return+((i=(Yl(t(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return t(e)}}var Oa=ni&&1/Cn(new ni([,-0]))[1]==I?function(e){return new ni(e)}:zs;function ka(e){return function(t){var n=Wa(t);return n==Z?Tn(t):n==ie?Ln(t):function(e,t){return en(t,function(t){return[t,e[t]]})}(t,e(t))}}function Sa(e,t,n,r,o,l,c,u){var d=t&v;if(!d&&"function"!=typeof e)throw new rt(s);var f=r?r.length:0;if(f||(t&=~(E|O),r=o=a),c=c===a?c:Yn(Wl(c),0),u=u===a?u:Wl(u),f-=o?o.length:0,t&O){var m=r,_=o;r=o=a}var h=d?a:Ia(e),b=[e,t,n,r,o,m,_,l,c,u];if(h&&function(e,t){var n=e[1],i=t[1],r=n|i,a=r<(y|v|k),o=i==k&&n==w||i==k&&n==S&&e[7].length<=t[8]||i==(k|S)&&t[7].length<=t[8]&&n==w;if(!a&&!o)return e;i&y&&(e[2]=t[2],r|=n&y?0:g);var l=t[3];if(l){var s=e[3];e[3]=s?na(s,l,t[4]):l,e[4]=s?jn(e[3],p):t[4]}(l=t[5])&&(s=e[5],e[5]=s?ia(s,l,t[6]):l,e[6]=s?jn(e[5],p):t[6]),(l=t[7])&&(e[7]=l),i&k&&(e[8]=null==e[8]?t[8]:Kn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=r}(b,h),e=b[0],t=b[1],n=b[2],r=b[3],o=b[4],!(u=b[9]=b[9]===a?d?0:e.length:Yn(b[9]-f,0))&&t&(w|x)&&(t&=~(w|x)),t&&t!=y)P=t==w||t==x?function(e,t,n){var r=pa(e);return function o(){for(var l=arguments.length,s=i(l),c=l,u=Da(o);c--;)s[c]=arguments[c];var d=l<3&&s[0]!==u&&s[l-1]!==u?[]:jn(s,u);return(l-=d.length)<n?xa(e,t,_a,o.placeholder,a,s,d,a,a,n-l):Gt(this&&this!==It&&this instanceof o?r:e,this,s)}}(e,t,u):t!=E&&t!=(y|E)||o.length?_a.apply(a,b):function(e,t,n,r){var a=t&y,o=pa(e);return function t(){for(var l=-1,s=arguments.length,c=-1,u=r.length,d=i(u+s),p=this&&this!==It&&this instanceof t?o:e;++c<u;)d[c]=r[c];for(;s--;)d[c++]=arguments[++l];return Gt(p,a?n:this,d)}}(e,t,n,r);else var P=function(e,t,n){var i=t&y,r=pa(e);return function t(){return(this&&this!==It&&this instanceof t?r:e).apply(i?n:this,arguments)}}
vendor: 17,639 bytes, line 9
9(e,t,n);return lo((h?Nr:ro)(P,b),e,t)}function Pa(e,t,n,i){return e===a||_l(e,lt[n])&&!ut.call(i,n)?t:e}function Ta(e,t,n,i,r,o){return Nl(e)&&Nl(t)&&(o.set(t,e),br(e,t,a,Ta,o),o.delete(t)),e}function Na(e){return Ml(e)?a:e}function ja(e,t,n,i,r,o){var l=n&h,s=e.length,c=t.length;if(s!=c&&!(l&&c>s))return!1;var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var p=-1,f=!0,m=n&b?new Ei:a;for(o.set(e,t),o.set(t,e);++p<s;){var _=e[p],y=t[p];if(i)var v=l?i(y,_,p,t,e,o):i(_,y,p,e,t,o);if(v!==a){if(v)continue;f=!1;break}if(m){if(!an(t,function(e,t){if(!wn(m,t)&&(_===e||r(_,e,n,i,o)))return m.push(t)})){f=!1;break}}else if(_!==y&&!r(_,y,n,i,o)){f=!1;break}}return o.delete(e),o.delete(t),f}function Ca(e){return oo(to(e,a,go),e+"")}function La(e){return Ji(e,os,Fa)}function Ma(e){return Ji(e,ls,Ha)}var Ia=ai?function(e){return ai.get(e)}:zs;function Aa(e){for(var t=e.name+"",n=oi[t],i=ut.call(oi,t)?n.length:0;i--;){var r=n[i],a=r.func;if(null==a||a==e)return r.name}return t}function Da(e){return(ut.call(_i,"placeholder")?_i:e).placeholder}function za(){var e=_i.iteratee||Ms;return e=e===Ms?ur:e,arguments.length?e(arguments[0],arguments[1]):e}function Va(e,t){var n,i,r=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function Ra(e){for(var t=os(e),n=t.length;n--;){var i=t[n],r=e[i];t[n]=[i,r,Ja(r)]}return t}function Ba(e,t){var n=function(e,t){return null==e?a:e[t]}(e,t);return cr(n)?n:a}var Fa=Hn?function(e){return null==e?[]:(e=tt(e),Zt(Hn(e),function(t){return Mt.call(e,t)}))}:qs,Ha=Hn?function(e){for(var t=[];e;)tn(t,Fa(e)),e=Nt(e);return t}:qs,Wa=er;function qa(e,t,n){for(var i=-1,r=(t=Kr(t,e)).length,a=!1;++i<r;){var o=po(t[i]);if(!(a=null!=e&&n(e,o)))break;e=e[o]}return a||++i!=r?a:!!(r=null==e?0:e.length)&&Tl(r)&&Ya(o,r)&&(vl(e)||yl(e))}function Ua(e){return"function"!=typeof e.constructor||Qa(e)?{}:hi(Nt(e))}function Ga(e){return vl(e)||yl(e)||!!(Dt&&e&&e[Dt])}function Ya(e,t){var n=typeof e;return!!(t=null==t?A:t)&&("number"==n||"symbol"!=n&&Xe.test(e))&&e>-1&&e%1==0&&e<t}function Ka(e,t,n){if(!Nl(n))return!1;var i=typeof t;return!!("number"==i?wl(n)&&Ya(t,n.length):"string"==i&&t in n)&&_l(n[t],e)}function Xa(e,t){if(vl(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!zl(e))||Ce.test(e)||!je.test(e)||null!=t&&e in tt(t)}function $a(e){var t=Aa(e),n=_i[t];if("function"!=typeof n||!(t in vi.prototype))return!1;if(e===n)return!0;var i=Ia(n);return!!i&&e===i[0]}(Jn&&Wa(new Jn(new ArrayBuffer(1)))!=ue||ei&&Wa(new ei)!=Z||ti&&"[object Promise]"!=Wa(ti.resolve())||ni&&Wa(new ni)!=ie||ii&&Wa(new ii)!=le)&&(Wa=function(e){var t=er(e),n=t==ee?e.constructor:a,i=n?fo(n):"";if(i)switch(i){case li:return ue;case si:return Z;case ci:return"[object Promise]";case ui:return ie;case di:return le}return t});var Za=st?Sl:Us;function Qa(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||lt)}function Ja(e){return e==e&&!Nl(e)}function eo(e,t){return function(n){return null!=n&&n[e]===t&&(t!==a||e in tt(n))}}function to(e,t,n){return t=Yn(t===a?e.length-1:t,0),function(){for(var r=arguments,a=-1,o=Yn(r.length-t,0),l=i(o);++a<o;)l[a]=r[t+a];a=-1;for(var s=i(t+1);++a<t;)s[a]=r[a];return s[t]=n(l),Gt(e,this,s)}}function no(e,t){return t.length<2?e:Qi(e,Lr(t,0,-1))}function io(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ro=so(Nr),ao=Rn||function(e,t){return It.setTimeout(e,t)},oo=so(jr);function lo(e,t,n){var i=t+"";return oo(e,function(e,t){var n=t.length;if(!n)return e;var i=n-1;return t[i]=(n>1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(ze,"{\n/* [wrapped with "+t+"] */\n")}(i,function(e,t){return Kt(F,function(n){var i="_."+n[0];t&n[1]&&!Qt(e,i)&&e.push(i)}),e.sort()}(function(e){var t=e.match(Ve);return t?t[1].split(Re):[]}(i),n)))}function so(e){var t=0,n=0;return function(){var i=Xn(),r=C-(i-n);if(n=i,r>0){if(++t>=j)return arguments[0]}else t=0;return e.apply(a,arguments)}}function co(e,t){var n=-1,i=e.length,r=i-1;for(t=t===a?i:t;++n<t;){var o=Er(n,r),l=e[o];e[o]=e[n],e[n]=l}return e.length=t,e}var uo=function(e){var t=cl(e,function(e){return n.size===d&&n.clear(),e}),n=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Le,function(e,n,i,r){t.push(i?r.replace(He,"$1"):n||e)}),t});function po(e){if("string"==typeof e||zl(e))return e;var t=e+"";return"0"==t&&1/e==-I?"-0":t}function fo(e){if(null!=e){try{return ct.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function mo(e){if(e instanceof vi)return e.clone();var t=new yi(e.__wrapped__,e.__chain__);return t.__actions__=ra(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var _o=kr(function(e,t){return xl(e)?Bi(e,Gi(t,1,xl,!0)):[]}),ho=kr(function(e,t){var n=ko(t);return xl(n)&&(n=a),xl(e)?Bi(e,Gi(t,1,xl,!0),za(n,2)):[]}),bo=kr(function(e,t){var n=ko(t);return xl(n)&&(n=a),xl(e)?Bi(e,Gi(t,1,xl,!0),a,n):[]});function yo(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:Wl(n);return r<0&&(r=Yn(i+r,0)),sn(e,za(t,3),r)}function vo(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i-1;return n!==a&&(r=Wl(n),r=n<0?Yn(i+r,0):Kn(r,i-1)),sn(e,za(t,3),r,!0)}function go(e){return null!=e&&e.length?Gi(e,1):[]}function wo(e){return e&&e.length?e[0]:a}var xo=kr(function(e){var t=en(e,Gr);return t.length&&t[0]===e[0]?rr(t):[]}),Eo=kr(function(e){var t=ko(e),n=en(e,Gr);return t===ko(n)?t=a:n.pop(),n.length&&n[0]===e[0]?rr(n,za(t,2)):[]}),Oo=kr(function(e){var t=ko(e),n=en(e,Gr);return(t="function"==typeof t?t:a)&&n.pop(),n.length&&n[0]===e[0]?rr(n,a,t):[]});function ko(e){var t=null==e?0:e.length;return t?e[t-1]:a}var So=kr(Po);function Po(e,t){return e&&e.length&&t&&t.length?wr(e,t):e}var To=Ca(function(e,t){var n=null==e?0:e.length,i=Ai(e,t);return xr(e,en(t,function(e){return Ya(e,n)?+e:e}).sort(ta)),i});function No(e){return null==e?e:Qn.call(e)}var jo=kr(function(e){return Rr(Gi(e,1,xl,!0))}),Co=kr(function(e){var t=ko(e);return xl(t)&&(t=a),Rr(Gi(e,1,xl,!0),za(t,2))}),Lo=kr(function(e){var t=ko(e);return t="function"==typeof t?t:a,Rr(Gi(e,1,xl,!0),a,t)});function Mo(e){if(!e||!e.length)return[];var t=0;return e=Zt(e,function(e){if(xl(e))return t=Yn(e.length,t),!0}),bn(t,function(t){return en(e,fn(t))})}function Io(e,t){if(!e||!e.length)return[];var n=Mo(e);return null==t?n:en(n,function(e){return Gt(t,a,e)})}var Ao=kr(function(e,t){return xl(e)?Bi(e,t):[]}),Do=kr(function(e){return qr(Zt(e,xl))}),zo=kr(function(e){var t=ko(e);return xl(t)&&(t=a),qr(Zt(e,xl),za(t,2))}),Vo=kr(function(e){var t=ko(e);return t="function"==typeof t?t:a,qr(Zt(e,xl),a,t)}),Ro=kr(Mo);var Bo=kr(function(e){var t=e.length,n=t>1?e[t-1]:a;return n="function"==typeof n?(e.pop(),n):a,Io(e,n)});function Fo(e){var t=_i(e);return t.__chain__=!0,t}function Ho(e,t){return t(e)}var Wo=Ca(function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,r=function(t){return Ai(t,e)};return!(t>1||this.__actions__.length)&&i instanceof vi&&Ya(n)?((i=i.slice(n,+n+(t?1:0))).__actions__.push({func:Ho,args:[r],thisArg:a}),new yi(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(a),e})):this.thru(r)});var qo=oa(function(e,t,n){ut.call(e,n)?++e[n]:Ii(e,n,1)});var Uo=fa(yo),Go=fa(vo);function Yo(e,t){return(vl(e)?Kt:Fi)(e,za(t,3))}function Ko(e,t){return(vl(e)?Xt:Hi)(e,za(t,3))}var Xo=oa(function(e,t,n){ut.call(e,n)?e[n].push(t):Ii(e,n,[t])});var $o=kr(function(e,t,n){var r=-1,a="function"==typeof t,o=wl(e)?i(e.length):[];return Fi(e,function(e){o[++r]=a?Gt(t,e,n):ar(e,t,n)}),o}),Zo=oa(function(e,t,n){Ii(e,n,t)});function Qo(e,t){return(vl(e)?en:mr)(e,za(t,3))}var Jo=oa(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var el=kr(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ka(e,t[0],t[1])?t=[]:n>2&&Ka(t[0],t[1],t[2])&&(t=[t[0]]),vr(e,Gi(t,1),[])}),tl=Vn||function(){return It.Date.now()};function nl(e,t,n){return t=n?a:t,t=e&&null==t?e.length:t,Sa(e,k,a,a,a,a,t)}function il(e,t){var n;if("function"!=typeof t)throw new rt(s);return e=Wl(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=a),n}}var rl=kr(function(e,t,n){var i=y;if(n.length){var r=jn(n,Da(rl));i|=E}return Sa(e,i,t,n,r)}),al=kr(function(e,t,n){var i=y|v;if(n.length){var r=jn(n,Da(al));i|=E}return Sa(t,i,e,n,r)});function ol(e,t,n){var i,r,o,l,c,u,d=0,p=!1,f=!1,m=!0;if("function"!=typeof e)throw new rt(s);function _(t){var n=i,o=r;return i=r=a,d=t,l=e.apply(o,n)}function h(e){var n=e-u;return u===a||n>=t||n<0||f&&e-d>=o}function b(){var e=tl();if(h(e))return y(e);c=ao(b,function(e){var n=t-(e-u);return f?Kn(n,o-(e-d)):n}(e))}function y(e){return c=a,m&&i?_(e):(i=r=a,l)}function v(){var e=tl(),n=h(e);if(i=arguments,r=this,u=e,n){if(c===a)return function(e){return d=e,c=ao(b,t),p?_(e):l}(u);if(f)return Zr(c),c=ao(b,t),_(u)}return c===a&&(c=ao(b,t)),l}return t=Ul(t)||0,Nl(n)&&(p=!!n.leading,o=(f="maxWait"in n)?Yn(Ul(n.maxWait)||0,t):o,m="trailing"in n?!!n.trailing:m),v.cancel=function(){c!==a&&Zr(c),d=0,i=u=r=c=a},v.flush=function(){return c===a?l:y(tl())},v}var ll=kr(function(e,t){return Ri(e,1,t)}),sl=kr(function(e,t,n){return Ri(e,Ul(t)||0,n)});function cl(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new rt(s);var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=e.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(cl.Cache||xi),n}function ul(e){if("function"!=typeof e)throw new rt(s);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}cl.Cache=xi;var dl=Xr(function(e,t){var n=(t=1==t.length&&vl(t[0])?en(t[0],vn(za())):en(Gi(t,1),vn(za()))).length;return kr(function(i){for(var r=-1,a=Kn(i.length,n);++r<a;)i[r]=t[r].call(this,i[r]);return Gt(e,this,i)})}),pl=kr(function(e,t){var n=jn(t,Da(pl));return Sa(e,E,a,t,n)}),fl=kr(function(e,t){var n=jn(t,Da(fl));return Sa(e,O,a,t,n)}),ml=Ca(function(e,t){return Sa(e,S,a,a,a,t)});function _l(e,t){return e===t||e!=e&&t!=t}var hl=wa(tr),bl=wa(function(e,t){return e>=t}),yl=or(function(){return arguments}())?or:function(e){return jl(e)&&ut.call(e,"callee")&&!Mt.call(e,"callee")},vl=i.isArray,gl=Bt?vn(Bt):function(e){return jl(e)&&er(e)==ce};function wl(e){return null!=e&&Tl(e.length)&&!Sl(e)}function xl(e){return jl(e)&&wl(e)}var El=Wn||Us,Ol=Ft?vn(Ft):function(e){return jl(e)&&er(e)==G};function kl(e){if(!jl(e))return!1;var t=er(e);return t==K||t==Y||"string"==typeof e.message&&"string"==typeof e.name&&!Ml(e)}function Sl(e){if(!Nl(e))return!1;var t=er(e);return t==X||t==$||t==q||t==te}function Pl(e){return"number"==typeof e&&e==Wl(e)}function Tl(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=A}function Nl(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function jl(e){return null!=e&&"object"==typeof e}var Cl=Ht?vn(Ht):function(e){return jl(e)&&Wa(e)==Z};function Ll(e){return"number"==typeof e||jl(e)&&er(e)==Q}function Ml(e){if(!jl(e)||er(e)!=ee)return!1;var t=Nt(e);if(null===t)return!0;var n=ut.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ct.call(n)==mt}var Il=Wt?vn(Wt):function(e){return jl(e)&&er(e)==ne};var Al=qt?vn(qt):function(e){return jl(e)&&Wa(e)==ie};function Dl(e){return"string"==typeof e||!vl(e)&&jl(e)&&er(e)==re}function zl(e){return"symbol"==typeof e||jl(e)&&er(e)==ae}var Vl=Ut?vn(Ut):function(e){return jl(e)&&Tl(e.length)&&!!Pt[er(e)]};var Rl=wa(fr),Bl=wa(function(e,t){return e<=t});function Fl(e){if(!e)return[];if(wl(e))return Dl(e)?In(e):ra(e);if(Vt&&e[Vt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Vt]());var t=Wa(e);return(t==Z?Tn:t==ie?Cn:_s)(e)}function Hl(e){return e?(e=Ul(e))===I||e===-I?(e<0?-1:1)*D:e==e?e:0:0===e?e:0}function Wl(e){var t=Hl(e),n=t%1;return t==t?n?t-n:t:0}function ql(e){return e?Di(Wl(e),0,V):0}function Ul(e){if("number"==typeof e)return e;if(zl(e))return z;if(Nl(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Nl(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=yn(e);var n=Ge.test(e);return n||Ke.test(e)?Ct(e.slice(2),n?2:8):Ue.test(e)?z:+e}function Gl(e){return aa(e,ls(e))}function Yl(e){return null==e?"":Vr(e)}var Kl=la(function(e,t){if(Qa(t)||wl(t))aa(t,os(t),e);else for(var n in t)ut.call(t,n)&&ji(e,n,t[n])}),Xl=la(function(e,t){aa(t,ls(t),e)}),$l=la(function(e,t,n,i){aa(t,ls(t),e,i)}),Zl=la(function(e,t,n,i){aa(t,os(t),e,i)}),Ql=Ca(Ai);var Jl=kr(function(e,t){e=tt(e);var n=-1,i=t.length,r=i>2?t[2]:a;for(r&&Ka(t[0],t[1],r)&&(i=1);++n<i;)for(var o=t[n],l=ls(o),s=-1,c=l.length;++s<c;){var u=l[s],d=e[u];(d===a||_l(d,lt[u])&&!ut.call(e,u))&&(e[u]=o[u])}return e}),es=kr(function(e){return e.push(a,Ta),Gt(cs,a,e)});function ts(e,t,n){var i=null==e?a:Qi(e,t);return i===a?n:i}function ns(e,t){return null!=e&&qa(e,t,ir)}var is=ha(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ft.call(t)),e[t]=n},Ns(Ls)),rs=ha(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ft.call(t)),ut.call(e,t)?e[t].push(n):e[t]=[n]},za),as=kr(ar);function os(e){return wl(e)?ki(e):dr(e)}function ls(e){return wl(e)?ki(e,!0):pr(e)}var ss=la(function(e,t,n){br(e,t,n)}),cs=la(function(e,t,n,i){br(e,t,n,i)}),us=Ca(function(e,t){var n={};if(null==e)return n;var i=!1;t=en(t,function(t){return t=Kr(t,e),i||(i=t.length>1),t}),aa(e,Ma(e),n),i&&(n=zi(n,f|m|_,Na));for(var r=t.length;r--;)Br(n,t[r]);return n});var ds=Ca(function(e,t){return null==e?{}:function(e,t){return gr(e,t,function(t,n){return ns(e,n)})}(e,t)});function ps(e,t){if(null==e)return{};var n=en(Ma(e),function(e){return[e]});return t=za(t),gr(e,n,function(e,n){return t(e,n[0])})}var fs=ka(os),ms=ka(ls);function _s(e){return null==e?[]:gn(e,os(e))}var hs=da(function(e,t,n){return t=t.toLowerCase(),e+(n?bs(t):t)});function bs(e){return ks(Yl(e).toLowerCase())}function ys(e){return(e=Yl(e))&&e.replace($e,On).replace(gt,"")}var vs=da(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),gs=da(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),ws=ua("toLowerCase");var xs=da(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});var Es=da(function(e,t,n){return e+(n?" ":"")+ks(t)});var Os=da(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),ks=ua("toUpperCase");function Ss(e,t,n){return e=Yl(e),(t=n?a:t)===a?function(e){return Ot.test(e)}(e)?function(e){return e.match(xt)||[]}(e):function(e){return e.match(Be)||[]}(e):e.match(t)||[]}var Ps=kr(function(e,t){try{return Gt(e,a,t)}catch(e){return kl(e)?e:new De(e)}}),Ts=Ca(function(e,t){return Kt(t,function(t){t=po(t),Ii(e,t,rl(e[t],e))}),e});function Ns(e){return function(){return e}}var js=ma(),Cs=ma(!0);function Ls(e){return e}function Ms(e){return ur("function"==typeof e?e:zi(e,f))}var Is=kr(function(e,t){return function(n){return ar(n,e,t)}}),As=kr(function(e,t){return function(n){return ar(e,n,t)}});function Ds(e,t,n){var i=os(t),r=Zi(t,i);null!=n||Nl(t)&&(r.length||!i.length)||(n=t,t=e,e=this,r=Zi(t,os(t)));var a=!(Nl(n)&&"chain"in n&&!n.chain),o=Sl(e);return Kt(r,function(n){var i=t[n];e[n]=i,o&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__);return(n.__actions__=ra(this.__actions__)).push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,tn([this.value()],arguments))})}),e}function zs(){}var Vs=ya(en),Rs=ya($t),Bs=ya(an);function Fs(e){return Xa(e)?fn(po(e)):function(e){return function(t){return Qi(t,e)}}(e)}var Hs=ga(),Ws=ga(!0);function qs(){return[]}function Us(){return!1}var Gs=ba(function(e,t){return e+t},0),Ys=Ea("ceil"),Ks=ba(function(e,t){return e/t},1),Xs=Ea("floor");var $s,Zs=ba(function(e,t){return e*t},1),Qs=Ea("round"),Js=ba(function(e,t){return e-t},0);return _i.after=function(e,t){if("function"!=typeof t)throw new rt(s);return e=Wl(e),function(){if(--e<1)return t.apply(this,arguments)}},_i.ary=nl,_i.assign=Kl,_i.assignIn=Xl,_i.assignInWith=$l,_i.assignWith=Zl,_i.at=Ql,_i.before=il,_i.bind=rl,_i.bindAll=Ts,_i.bindKey=al,_i.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return vl(e)?e:[e]},_i.chain=Fo,_i.chunk=function(e,t,n){t=(n?Ka(e,t,n):t===a)?1:Yn(Wl(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var o=0,l=0,s=i(Bn(r/t));o<r;)s[l++]=Lr(e,o,o+=t);return s},_i.compact=function(e){for(var t=-1,n=null==e?0:e.length,i=0,r=[];++t<n;){var a=e[t];a&&(r[i++]=a)}return r},_i.concat=function(){var e=arguments.length;if(!e)return[];for(var t=i(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return tn(vl(n)?ra(n):[n],Gi(t,1))},_i.cond=function(e){var t=null==e?0:e.length,n=za();return e=t?en(e,function(e){if("function"!=typeof e[1])throw new rt(s);return[n(e[0]),e[1]]}):[],kr(function(n){for(var i=-1;++i<t;){var r=e[i];if(Gt(r[0],this,n))return Gt(r[1],this,n)}})},_i.conforms=function(e){return function(e){var t=os(e);return function(n){return Vi(n,e,t)}}(zi(e,f))},_i.constant=Ns,_i.countBy=qo,_i.create=function(e,t){var n=hi(e);return null==t?n:Mi(n,t)},_i.curry=function e(t,n,i){var r=Sa(t,w,a,a,a,a,a,n=i?a:n);return r.placeholder=e.placeholder,r},_i.curryRight=function e(t,n,i){var r=Sa(t,x,a,a,a,a,a,n=i?a:n);return r.placeholder=e.placeholder,r},_i.debounce=ol,_i.defaults=Jl,_i.defaultsDeep=es,_i.defer=ll,_i.delay=sl,_i.difference=_o,_i.differenceBy=ho,_i.differenceWith=bo,_i.drop=function(e,t,n){var i=null==e?0:e.length;return i?Lr(e,(t=n||t===a?1:Wl(t))<0?0:t,i):[]},_i.dropRight=function(e,t,n){var i=null==e?0:e.length;return i?Lr(e,0,(t=i-(t=n||t===a?1:Wl(t)))<0?0:t):[]},_i.dropRightWhile=function(e,t){return e&&e.length?Hr(e,za(t,3),!0,
vendor: 5,505 bytes, line 9
9!0):[]},_i.dropWhile=function(e,t){return e&&e.length?Hr(e,za(t,3),!0):[]},_i.fill=function(e,t,n,i){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Ka(e,t,n)&&(n=0,i=r),function(e,t,n,i){var r=e.length;for((n=Wl(n))<0&&(n=-n>r?0:r+n),(i=i===a||i>r?r:Wl(i))<0&&(i+=r),i=n>i?0:ql(i);n<i;)e[n++]=t;return e}(e,t,n,i)):[]},_i.filter=function(e,t){return(vl(e)?Zt:Ui)(e,za(t,3))},_i.flatMap=function(e,t){return Gi(Qo(e,t),1)},_i.flatMapDeep=function(e,t){return Gi(Qo(e,t),I)},_i.flatMapDepth=function(e,t,n){return n=n===a?1:Wl(n),Gi(Qo(e,t),n)},_i.flatten=go,_i.flattenDeep=function(e){return null!=e&&e.length?Gi(e,I):[]},_i.flattenDepth=function(e,t){return null!=e&&e.length?Gi(e,t=t===a?1:Wl(t)):[]},_i.flip=function(e){return Sa(e,P)},_i.flow=js,_i.flowRight=Cs,_i.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,i={};++t<n;){var r=e[t];i[r[0]]=r[1]}return i},_i.functions=function(e){return null==e?[]:Zi(e,os(e))},_i.functionsIn=function(e){return null==e?[]:Zi(e,ls(e))},_i.groupBy=Xo,_i.initial=function(e){return null!=e&&e.length?Lr(e,0,-1):[]},_i.intersection=xo,_i.intersectionBy=Eo,_i.intersectionWith=Oo,_i.invert=is,_i.invertBy=rs,_i.invokeMap=$o,_i.iteratee=Ms,_i.keyBy=Zo,_i.keys=os,_i.keysIn=ls,_i.map=Qo,_i.mapKeys=function(e,t){var n={};return t=za(t,3),Xi(e,function(e,i,r){Ii(n,t(e,i,r),e)}),n},_i.mapValues=function(e,t){var n={};return t=za(t,3),Xi(e,function(e,i,r){Ii(n,i,t(e,i,r))}),n},_i.matches=function(e){return _r(zi(e,f))},_i.matchesProperty=function(e,t){return hr(e,zi(t,f))},_i.memoize=cl,_i.merge=ss,_i.mergeWith=cs,_i.method=Is,_i.methodOf=As,_i.mixin=Ds,_i.negate=ul,_i.nthArg=function(e){return e=Wl(e),kr(function(t){return yr(t,e)})},_i.omit=us,_i.omitBy=function(e,t){return ps(e,ul(za(t)))},_i.once=function(e){return il(2,e)},_i.orderBy=function(e,t,n,i){return null==e?[]:(vl(t)||(t=null==t?[]:[t]),vl(n=i?a:n)||(n=null==n?[]:[n]),vr(e,t,n))},_i.over=Vs,_i.overArgs=dl,_i.overEvery=Rs,_i.overSome=Bs,_i.partial=pl,_i.partialRight=fl,_i.partition=Jo,_i.pick=ds,_i.pickBy=ps,_i.property=Fs,_i.propertyOf=function(e){return function(t){return null==e?a:Qi(e,t)}},_i.pull=So,_i.pullAll=Po,_i.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?wr(e,t,za(n,2)):e},_i.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?wr(e,t,a,n):e},_i.pullAt=To,_i.range=Hs,_i.rangeRight=Ws,_i.rearg=ml,_i.reject=function(e,t){return(vl(e)?Zt:Ui)(e,ul(za(t,3)))},_i.remove=function(e,t){var n=[];if(!e||!e.length)return n;var i=-1,r=[],a=e.length;for(t=za(t,3);++i<a;){var o=e[i];t(o,i,e)&&(n.push(o),r.push(i))}return xr(e,r),n},_i.rest=function(e,t){if("function"!=typeof e)throw new rt(s);return kr(e,t=t===a?t:Wl(t))},_i.reverse=No,_i.sampleSize=function(e,t,n){return t=(n?Ka(e,t,n):t===a)?1:Wl(t),(vl(e)?Pi:Pr)(e,t)},_i.set=function(e,t,n){return null==e?e:Tr(e,t,n)},_i.setWith=function(e,t,n,i){return i="function"==typeof i?i:a,null==e?e:Tr(e,t,n,i)},_i.shuffle=function(e){return(vl(e)?Ti:Cr)(e)},_i.slice=function(e,t,n){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&Ka(e,t,n)?(t=0,n=i):(t=null==t?0:Wl(t),n=n===a?i:Wl(n)),Lr(e,t,n)):[]},_i.sortBy=el,_i.sortedUniq=function(e){return e&&e.length?Dr(e):[]},_i.sortedUniqBy=function(e,t){return e&&e.length?Dr(e,za(t,2)):[]},_i.split=function(e,t,n){return n&&"number"!=typeof n&&Ka(e,t,n)&&(t=n=a),(n=n===a?V:n>>>0)?(e=Yl(e))&&("string"==typeof t||null!=t&&!Il(t))&&!(t=Vr(t))&&Pn(e)?$r(In(e),0,n):e.split(t,n):[]},_i.spread=function(e,t){if("function"!=typeof e)throw new rt(s);return t=null==t?0:Yn(Wl(t),0),kr(function(n){var i=n[t],r=$r(n,0,t);return i&&tn(r,i),Gt(e,this,r)})},_i.tail=function(e){var t=null==e?0:e.length;return t?Lr(e,1,t):[]},_i.take=function(e,t,n){return e&&e.length?Lr(e,0,(t=n||t===a?1:Wl(t))<0?0:t):[]},_i.takeRight=function(e,t,n){var i=null==e?0:e.length;return i?Lr(e,(t=i-(t=n||t===a?1:Wl(t)))<0?0:t,i):[]},_i.takeRightWhile=function(e,t){return e&&e.length?Hr(e,za(t,3),!1,!0):[]},_i.takeWhile=function(e,t){return e&&e.length?Hr(e,za(t,3)):[]},_i.tap=function(e,t){return t(e),e},_i.throttle=function(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new rt(s);return Nl(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),ol(e,t,{leading:i,maxWait:t,trailing:r})},_i.thru=Ho,_i.toArray=Fl,_i.toPairs=fs,_i.toPairsIn=ms,_i.toPath=function(e){return vl(e)?en(e,po):zl(e)?[e]:ra(uo(Yl(e)))},_i.toPlainObject=Gl,_i.transform=function(e,t,n){var i=vl(e),r=i||El(e)||Vl(e);if(t=za(t,4),null==n){var a=e&&e.constructor;n=r?i?new a:[]:Nl(e)&&Sl(a)?hi(Nt(e)):{}}return(r?Kt:Xi)(e,function(e,i,r){return t(n,e,i,r)}),n},_i.unary=function(e){return nl(e,1)},_i.union=jo,_i.unionBy=Co,_i.unionWith=Lo,_i.uniq=function(e){return e&&e.length?Rr(e):[]},_i.uniqBy=function(e,t){return e&&e.length?Rr(e,za(t,2)):[]},_i.uniqWith=function(e,t){return t="function"==typeof t?t:a,e&&e.length?Rr(e,a,t):[]},_i.unset=function(e,t){return null==e||Br(e,t)},_i.unzip=Mo,_i.unzipWith=Io,_i.update=function(e,t,n){return null==e?e:Fr(e,t,Yr(n))},_i.updateWith=function(e,t,n,i){return i="function"==typeof i?i:a,null==e?e:Fr(e,t,Yr(n),i)},_i.values=_s,_i.valuesIn=function(e){return null==e?[]:gn(e,ls(e))},_i.without=Ao,_i.words=Ss,_i.wrap=function(e,t){return pl(Yr(t),e)},_i.xor=Do,_i.xorBy=zo,_i.xorWith=Vo,_i.zip=Ro,_i.zipObject=function(e,t){return Ur(e||[],t||[],ji)},_i.zipObjectDeep=function(e,t){return Ur(e||[],t||[],Tr)},_i.zipWith=Bo,_i.entries=fs,_i.entriesIn=ms,_i.extend=Xl,_i.extendWith=$l,Ds(_i,_i),_i.add=Gs,_i.attempt=Ps,_i.camel
vendor: 1,054 bytes, line 9
9Case=hs,_i.capitalize=bs,_i.ceil=Ys,_i.clamp=function(e,t,n){return n===a&&(n=t,t=a),n!==a&&(n=(n=Ul(n))==n?n:0),t!==a&&(t=(t=Ul(t))==t?t:0),Di(Ul(e),t,n)},_i.clone=function(e){return zi(e,_)},_i.cloneDeep=function(e){return zi(e,f|_)},_i.cloneDeepWith=function(e,t){return zi(e,f|_,t="function"==typeof t?t:a)},_i.cloneWith=function(e,t){return zi(e,_,t="function"==typeof t?t:a)},_i.conformsTo=function(e,t){return null==t||Vi(e,t,os(t))},_i.deburr=ys,_i.defaultTo=function(e,t){return null==e||e!=e?t:e},_i.divide=Ks,_i.endsWith=function(e,t,n){e=Yl(e),t=Vr(t);var i=e.length,r=n=n===a?i:Di(Wl(n),0,i);return(n-=t.length)>=0&&e.slice(n,r)==t},_i.eq=_l,_i.escape=function(e){return(e=Yl(e))&&Se.test(e)?e.replace(Oe,kn):e},_i.escapeRegExp=function(e){return(e=Yl(e))&&Ie.test(e)?e.replace(Me,"\\$&"):e},_i.every=function(e,t,n){var i=vl(e)?$t:Wi;return n&&Ka(e,t,n)&&(t=a),i(e,za(t,3))},_i.find=Uo,_i.findIndex=yo,_i.findKey=function(e,t){return ln(e,za(t,3),Xi)},_i.findLast=Go,_i.findLastIndex=vo,_i.findLastKey=function(e,t){return ln(e,za(t,3),$i)}
vendor: 5,366 bytes, line 9
9,_i.floor=Xs,_i.forEach=Yo,_i.forEachRight=Ko,_i.forIn=function(e,t){return null==e?e:Yi(e,za(t,3),ls)},_i.forInRight=function(e,t){return null==e?e:Ki(e,za(t,3),ls)},_i.forOwn=function(e,t){return e&&Xi(e,za(t,3))},_i.forOwnRight=function(e,t){return e&&$i(e,za(t,3))},_i.get=ts,_i.gt=hl,_i.gte=bl,_i.has=function(e,t){return null!=e&&qa(e,t,nr)},_i.hasIn=ns,_i.head=wo,_i.identity=Ls,_i.includes=function(e,t,n,i){e=wl(e)?e:_s(e),n=n&&!i?Wl(n):0;var r=e.length;return n<0&&(n=Yn(r+n,0)),Dl(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&cn(e,t,n)>-1},_i.indexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:Wl(n);return r<0&&(r=Yn(i+r,0)),cn(e,t,r)},_i.inRange=function(e,t,n){return t=Hl(t),n===a?(n=t,t=0):n=Hl(n),function(e,t,n){return e>=Kn(t,n)&&e<Yn(t,n)}(e=Ul(e),t,n)},_i.invoke=as,_i.isArguments=yl,_i.isArray=vl,_i.isArrayBuffer=gl,_i.isArrayLike=wl,_i.isArrayLikeObject=xl,_i.isBoolean=function(e){return!0===e||!1===e||jl(e)&&er(e)==U},_i.isBuffer=El,_i.isDate=Ol,_i.isElement=function(e){return jl(e)&&1===e.nodeType&&!Ml(e)},_i.isEmpty=function(e){if(null==e)return!0;if(wl(e)&&(vl(e)||"string"==typeof e||"function"==typeof e.splice||El(e)||Vl(e)||yl(e)))return!e.length;var t=Wa(e);if(t==Z||t==ie)return!e.size;if(Qa(e))return!dr(e).length;for(var n in e)if(ut.call(e,n))return!1;return!0},_i.isEqual=function(e,t){return lr(e,t)},_i.isEqualWith=function(e,t,n){var i=(n="function"==typeof n?n:a)?n(e,t):a;return i===a?lr(e,t,a,n):!!i},_i.isError=kl,_i.isFinite=function(e){return"number"==typeof e&&qn(e)},_i.isFunction=Sl,_i.isInteger=Pl,_i.isLength=Tl,_i.isMap=Cl,_i.isMatch=function(e,t){return e===t||sr(e,t,Ra(t))},_i.isMatchWith=function(e,t,n){return n="function"==typeof n?n:a,sr(e,t,Ra(t),n)},_i.isNaN=function(e){return Ll(e)&&e!=+e},_i.isNative=function(e){if(Za(e))throw new De(l);return cr(e)},_i.isNil=function(e){return null==e},_i.isNull=function(e){return null===e},_i.isNumber=Ll,_i.isObject=Nl,_i.isObjectLike=jl,_i.isPlainObject=Ml,_i.isRegExp=Il,_i.isSafeInteger=function(e){return Pl(e)&&e>=-A&&e<=A},_i.isSet=Al,_i.isString=Dl,_i.isSymbol=zl,_i.isTypedArray=Vl,_i.isUndefined=function(e){return e===a},_i.isWeakMap=function(e){return jl(e)&&Wa(e)==le},_i.isWeakSet=function(e){return jl(e)&&er(e)==se},_i.join=function(e,t){return null==e?"":Un.call(e,t)},_i.kebabCase=vs,_i.last=ko,_i.lastIndexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i;return n!==a&&(r=(r=Wl(n))<0?Yn(i+r,0):Kn(r,i-1)),t==t?function(e,t,n){for(var i=n+1;i--;)if(e[i]===t)return i;return i}(e,t,r):sn(e,dn,r,!0)},_i.lowerCase=gs,_i.lowerFirst=ws,_i.lt=Rl,_i.lte=Bl,_i.max=function(e){return e&&e.length?qi(e,Ls,tr):a},_i.maxBy=function(e,t){return e&&e.length?qi(e,za(t,2),tr):a},_i.mean=function(e){return pn(e,Ls)},_i.meanBy=function(e,t){return pn(e,za(t,2))},_i.min=function(e){return e&&e.length?qi(e,Ls,fr):a},_i.minBy=function(e,t){return e&&e.length?qi(e,za(t,2),fr):a},_i.stubArray=qs,_i.stubFalse=Us,_i.stubObject=function(){return{}},_i.stubString=function(){return""},_i.stubTrue=function(){return!0},_i.multiply=Zs,_i.nth=function(e,t){return e&&e.length?yr(e,Wl(t)):a},_i.noConflict=function(){return It._===this&&(It._=_t),this},_i.noop=zs,_i.now=tl,_i.pad=function(e,t,n){e=Yl(e);var i=(t=Wl(t))?Mn(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return va(Fn(r),n)+e+va(Bn(r),n)},_i.padEnd=function(e,t,n){e=Yl(e);var i=(t=Wl(t))?Mn(e):0;return t&&i<t?e+va(t-i,n):e},_i.padStart=function(e,t,n){e=Yl(e);var i=(t=Wl(t))?Mn(e):0;return t&&i<t?va(t-i,n)+e:e},_i.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),$n(Yl(e).replace(Ae,""),t||0)},_i.random=function(e,t,n){if(n&&"boolean"!=typeof n&&Ka(e,t,n)&&(t=n=a),n===a&&("boolean"==typeof t?(n=t,t=a):"boolean"==typeof e&&(n=e,e=a)),e===a&&t===a?(e=0,t=1):(e=Hl(e),t===a?(t=e,e=0):t=Hl(t)),e>t){var i=e;e=t,t=i}if(n||e%1||t%1){var r=Zn();return Kn(e+r*(t-e+jt("1e-"+((r+"").length-1))),t)}return Er(e,t)},_i.reduce=function(e,t,n){var i=vl(e)?nn:_n,r=arguments.length<3;return i(e,za(t,4),n,r,Fi)},_i.reduceRight=function(e,t,n){var i=vl(e)?rn:_n,r=arguments.length<3;return i(e,za(t,4),n,r,Hi)},_i.repeat=function(e,t,n){return t=(n?Ka(e,t,n):t===a)?1:Wl(t),Or(Yl(e),t)},_i.replace=function(){var e=arguments,t=Yl(e[0]);return e.length<3?t:t.replace(e[1],e[2])},_i.result=function(e,t,n){var i=-1,r=(t=Kr(t,e)).length;for(r||(r=1,e=a);++i<r;){var o=null==e?a:e[po(t[i])];o===a&&(i=r,o=n),e=Sl(o)?o.call(e):o}return e},_i.round=Qs,_i.runInContext=e,_i.sample=function(e){return(vl(e)?Si:Sr)(e)},_i.size=function(e){if(null==e)return 0;if(wl(e))return Dl(e)?Mn(e):e.length;var t=Wa(e);return t==Z||t==ie?e.size:dr(e).length},_i.snakeCase=xs,_i.some=function(e,t,n){var i=vl(e)?an:Mr;return n&&Ka(e,t,n)&&(t=a),i(e,za(t,3))},_i.sortedIndex=function(e,t){return Ir(e,t)},_i.sortedIndexBy=function(e,t,n){return Ar(e,t,za(n,2))},_i.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var i=Ir(e,t);if(i<n&&_l(e[i],t))return i}return-1},_i.sortedLastIndex=function(e,t){return Ir(e,t,!0)},_i.sortedLastIndexBy=function(e,t,n){return Ar(e,t,za(n,2),!0)},_i.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=Ir(e,t,!0)-1;if(_l(e[n],t))return n}return-1},_i.startCase=Es,_i.startsWith=function(e,t,n){return e=Yl(e),n=null==n?0:Di(Wl(n),0,e.length),t=Vr(t),e.slice(n,n+t.length)==t},_i.subtract=Js,_i.sum=function(e){return e&&e.length?hn(e,Ls):0}
vendor: 5,164 bytes, line 9
9,_i.sumBy=function(e,t){return e&&e.length?hn(e,za(t,2)):0},_i.template=function(e,t,n){var i=_i.templateSettings;n&&Ka(e,t,n)&&(t=a),e=Yl(e),t=$l({},t,i,Pa);var r,o,l=$l({},t.imports,i.imports,Pa),s=os(l),u=gn(l,s),d=0,p=t.interpolate||Ze,f="__p += '",m=nt((t.escape||Ze).source+"|"+p.source+"|"+(p===Ne?We:Ze).source+"|"+(t.evaluate||Ze).source+"|$","g"),_="//# sourceURL="+(ut.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++St+"]")+"\n";e.replace(m,function(t,n,i,a,l,s){return i||(i=a),f+=e.slice(d,s).replace(Qe,Sn),n&&(r=!0,f+="' +\n__e("+n+") +\n'"),l&&(o=!0,f+="';\n"+l+";\n__p += '"),i&&(f+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),d=s+t.length,t}),f+="';\n";var h=ut.call(t,"variable")&&t.variable;if(h){if(Fe.test(h))throw new De(c)}else f="with (obj) {\n"+f+"\n}\n";f=(o?f.replace(ge,""):f).replace(we,"$1").replace(xe,"$1;"),f="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var b=Ps(function(){return Je(s,_+"return "+f).apply(a,u)});if(b.source=f,kl(b))throw b;return b},_i.times=function(e,t){if((e=Wl(e))<1||e>A)return[];var n=V,i=Kn(e,V);t=za(t),e-=V;for(var r=bn(i,t);++n<e;)t(n);return r},_i.toFinite=Hl,_i.toInteger=Wl,_i.toLength=ql,_i.toLower=function(e){return Yl(e).toLowerCase()},_i.toNumber=Ul,_i.toSafeInteger=function(e){return e?Di(Wl(e),-A,A):0===e?e:0},_i.toString=Yl,_i.toUpper=function(e){return Yl(e).toUpperCase()},_i.trim=function(e,t,n){if((e=Yl(e))&&(n||t===a))return yn(e);if(!e||!(t=Vr(t)))return e;var i=In(e),r=In(t);return $r(i,xn(i,r),En(i,r)+1).join("")},_i.trimEnd=function(e,t,n){if((e=Yl(e))&&(n||t===a))return e.slice(0,An(e)+1);if(!e||!(t=Vr(t)))return e;var i=In(e);return $r(i,0,En(i,In(t))+1).join("")},_i.trimStart=function(e,t,n){if((e=Yl(e))&&(n||t===a))return e.replace(Ae,"");if(!e||!(t=Vr(t)))return e;var i=In(e);return $r(i,xn(i,In(t))).join("")},_i.truncate=function(e,t){var n=T,i=N;if(Nl(t)){var r="separator"in t?t.separator:r;n="length"in t?Wl(t.length):n,i="omission"in t?Vr(t.omission):i}var o=(e=Yl(e)).length;if(Pn(e)){var l=In(e);o=l.length}if(n>=o)return e;var s=n-Mn(i);if(s<1)return i;var c=l?$r(l,0,s).join(""):e.slice(0,s);if(r===a)return c+i;if(l&&(s+=c.length-s),Il(r)){if(e.slice(s).search(r)){var u,d=c;for(r.global||(r=nt(r.source,Yl(qe.exec(r))+"g")),r.lastIndex=0;u=r.exec(d);)var p=u.index;c=c.slice(0,p===a?s:p)}}else if(e.indexOf(Vr(r),s)!=s){var f=c.lastIndexOf(r);f>-1&&(c=c.slice(0,f))}return c+i},_i.unescape=function(e){return(e=Yl(e))&&ke.test(e)?e.replace(Ee,Dn):e},_i.uniqueId=function(e){var t=++dt;return Yl(e)+t},_i.upperCase=Os,_i.upperFirst=ks,_i.each=Yo,_i.eachRight=Ko,_i.first=wo,Ds(_i,($s={},Xi(_i,function(e,t){ut.call(_i.prototype,t)||($s[t]=e)}),$s),{chain:!1}),_i.VERSION="4.17.21",Kt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){_i[e].placeholder=_i}),Kt(["drop","take"],function(e,t){vi.prototype[e]=function(n){n=n===a?1:Yn(Wl(n),0);var i=this.__filtered__&&!t?new vi(this):this.clone();return i.__filtered__?i.__takeCount__=Kn(n,i.__takeCount__):i.__views__.push({size:Kn(n,V),type:e+(i.__dir__<0?"Right":"")}),i},vi.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),Kt(["filter","map","takeWhile"],function(e,t){var n=t+1,i=n==L||3==n;vi.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:za(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}}),Kt(["head","last"],function(e,t){var n="take"+(t?"Right":"");vi.prototype[e]=function(){return this[n](1).value()[0]}}),Kt(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");vi.prototype[e]=function(){return this.__filtered__?new vi(this):this[n](1)}}),vi.prototype.compact=function(){return this.filter(Ls)},vi.prototype.find=function(e){return this.filter(e).head()},vi.prototype.findLast=function(e){return this.reverse().find(e)},vi.prototype.invokeMap=kr(function(e,t){return"function"==typeof e?new vi(this):this.map(function(n){return ar(n,e,t)})}),vi.prototype.reject=function(e){return this.filter(ul(za(e)))},vi.prototype.slice=function(e,t){e=Wl(e);var n=this;return n.__filtered__&&(e>0||t<0)?new vi(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==a&&(n=(t=Wl(t))<0?n.dropRight(-t):n.take(t-e)),n)},vi.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},vi.prototype.toArray=function(){return this.take(V)},Xi(vi.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),r=_i[i?"take"+("last"==t?"Right":""):t],o=i||/^find/.test(t);r&&(_i.prototype[t]=function(){var t=this.__wrapped__,l=i?[1]:arguments,s=t instanceof vi,c=l[0],u=s||vl(t),d=function(e){var t=r.apply(_i,tn([e],l));return i&&p?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(s=u=!1);var p=this.__chain__,f=!!this.__actions__.length,m=o&&!p,_=s&&!f;if(!o&&u){t=_?t:new vi(this);var h=e.apply(t,l);return h.__actions__.push({func:Ho,args:[d],thisArg:a}),new yi(h,p)}return m&&_?e.apply(this,l):(h=this.thru(d),m?i?h.value()[0]:h.value(
9):h)})}),Kt(["pop","push","shift","sort","splice","unshift"],function(e){var t=at[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);_i.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(vl(r)?r:[],e)}return this[n](function(n){return t.apply(vl(n)?n:[],e)})}}),Xi(vi.prototype,function(e,t){var n=_i[t];if(n){var i=n.name+"";ut.call(oi,i)||(oi[i]=[]),oi[i].push({name:t,func:n})}}),oi[_a(a,v).name]=[{name:"wrapper",func:a}],vi.prototype.clone=function(){var e=new vi(this.__wrapped__);return e.__actions__=ra(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ra(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ra(this.__views__),e},vi.prototype.reverse=function(){if(this.__filtered__){var e=new vi(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},vi.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=vl(e),i=t<0,r=n?e.length:0,a=function(e,t,n){for(var i=-1,r=n.length;++i<r;){var a=n[i],o=a.size;switch(a.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=Kn(t,e+o);break;case"takeRight":e=Yn(e,t-o)}}return{start:e,end:t}}(0,r,this.__views__),o=a.start,l=a.end,s=l-o,c=i?l:o-1,u=this.__iteratees__,d=u.length,p=0,f=Kn(s,this.__takeCount__);if(!n||!i&&r==s&&f==s)return Wr(e,this.__actions__);var m=[];e:for(;s--&&p<f;){for(var _=-1,h=e[c+=t];++_<d;){var b=u[_],y=b.iteratee,v=b.type,g=y(h);if(v==M)h=g;else if(!g){if(v==L)continue e;break e}}m[p++]=h}return m},_i.prototype.at=Wo,_i.prototype.chain=function(){return Fo(this)},_i.prototype.commit=function(){return new yi(this.value(),this.__chain__)},_i.prototype.next=function(){this.__values__===a&&(this.__values__=Fl(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?a:this.__values__[this.__index__++]}},_i.prototype.plant=function(e){for(var t,n=this;n instanceof bi;){var i=mo(n);i.__index__=0,i.__values__=a,t?r.__wrapped__=i:t=i;var r=i;n=n.__wrapped__}return r.__wrapped__=e,t},_i.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof vi){var t=e;return this.__actions__.length&&(t=new vi(this)),(t=t.reverse()).__actions__.push({func:Ho,args:[No],thisArg:a}),new yi(t,this.__chain__)}return this.thru(No)},_i.prototype.toJSON=_i.prototype.valueOf=_i.prototype.value=function(){return Wr(this.__wrapped__,this.__actions__)},_i.prototype.first=_i.prototype.head,Vt&&(_i.prototype[Vt]=function(){return this}),_i}();It._=zn,(r=function(){return zn}.call(t,n,t,i))===a||(i.exports=r)}).call(this)}).call(this,n(63),n(99)(e))},41:function(e,t,n){e.exports=function(){"use strict";var e="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,t="undefined"==typeof window?{document:e,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,n=function(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this};function i(i,r){var a=[],o=0;if(i&&!r&&i instanceof n)return i;if(i)if("string"==typeof i){var l,s,c=i.trim();if(c.indexOf("<")>=0&&c.indexOf(">")>=0){var u="div";for(0===c.indexOf("<li")&&(u="ul"),0===c.indexOf("<tr")&&(u="tbody"),0!==c.indexOf("<td")&&0!==c.indexOf("<th")||(u="tr"),0===c.indexOf("<tbody")&&(u="table"),0===c.indexOf("<option")&&(u="select"),(s=e.createElement(u)).innerHTML=c,o=0;o<s.childNodes.length;o+=1)a.push(s.childNodes[o])}else for(l=r||"#"!==i[0]||i.match(/[ .<>:~]/)?(r||e).querySelectorAll(i.trim()):[e.getElementById(i.trim().split("#")[1])],o=0;o<l.length;o+=1)l[o]&&a.push(l[o])}else if(i.nodeType||i===t||i===e)a.push(i);else if(i.length>0&&i[0].nodeType)for(o=0;o<i.length;o+=1)a.push(i[o]);return new n(a)}function r(e){for(var t=[],n=0;n<e.length;
vendor: 4,243 bytes, line 9
9n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}i.fn=n.prototype,i.Class=n,i.Dom7=n;var a={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.add(t[n]);return this},removeClass:function(e){for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.remove(t[n]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.toggle(t[n]);return this},attr:function(e,t){var n=arguments;if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var i=0;i<this.length;i+=1)if(2===n.length)this[i].setAttribute(e,t);else for(var r in e)this[i][r]=e[r],this[i].setAttribute(r,e[r]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var n;if(void 0!==t){for(var i=0;i<this.length;i+=1)(n=this[i]).dom7ElementDataStorage||(n.dom7ElementDataStorage={}),n.dom7ElementDataStorage[e]=t;return this}if(n=this[0]){if(n.dom7ElementDataStorage&&e in n.dom7ElementDataStorage)return n.dom7ElementDataStorage[e];var r=n.getAttribute("data-"+e);return r||void 0}},transform:function(e){for(var t=0;t<this.length;t+=1){var n=this[t].style;n.webkitTransform=e,n.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var n=this[t].style;n.webkitTransitionDuration=e,n.transitionDuration=e}return this},on:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],a=t[1],o=t[2],l=t[3];function s(e){var t=e.target;if(t){var n=e.target.dom7EventData||[];if(n.indexOf(e)<0&&n.unshift(e),i(t).is(a))o.apply(t,n);else for(var r=i(t).parents(),l=0;l<r.length;l+=1)i(r[l]).is(a)&&o.apply(r[l],n)}}function c(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),o.apply(this,t)}"function"==typeof t[1]&&(r=(e=t)[0],o=e[1],l=e[2],a=void 0),l||(l=!1);for(var u,d=r.split(" "),p=0;p<this.length;p+=1){var f=this[p];if(a)for(u=0;u<d.length;u+=1){var m=d[u];f.dom7LiveListeners||(f.dom7LiveListeners={}),f.dom7LiveListeners[m]||(f.dom7LiveListeners[m]=[]),f.dom7LiveListeners[m].push({listener:o,proxyListener:s}),f.addEventListener(m,s,l)}else for(u=0;u<d.length;u+=1){var _=d[u];f.dom7Listeners||(f.dom7Listeners={}),f.dom7Listeners[_]||(f.dom7Listeners[_]=[]),f.dom7Listeners[_].push({listener:o,proxyListener:c}),f.addEventListener(_,c,l)}}return this},off:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];var i=t[0],r=t[1],a=t[2],o=t[3];"function"==typeof t[1]&&(i=(e=t)[0],a=e[1],o=e[2],r=void 0),o||(o=!1);for(var l=i.split(" "),s=0;s<l.length;s+=1)for(var c=l[s],u=0;u<this.length;u+=1){var d=this[u],p=void 0;if(!r&&d.dom7Listeners?p=d.dom7Listeners[c]:r&&d.dom7LiveListeners&&(p=d.dom7LiveListeners[c]),p&&p.length)for(var f=p.length-1;f>=0;f-=1){var m=p[f];a&&m.listener===a?(d.removeEventListener(c,m.proxyListener,o),p.splice(f,1)):a&&m.listener&&m.listener.dom7proxy&&m.listener.dom7proxy===a?(d.removeEventListener(c,m.proxyListener,o),p.splice(f,1)):a||(d.removeEventListener(c,m.proxyListener,o),p.splice(f,1))}}return this},trigger:function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];for(var r=n[0].split(" "),a=n[1],o=0;o<r.length;o+=1)for(var l=r[o],s=0;s<this.length;s+=1){var c=this[s],u=void 0;try{u=new t.CustomEvent(l,{detail:a,bubbles:!0,cancelable:!0})}catch(t){(u=e.createEvent("Event")).initEvent(l,!0,!0),u.detail=a}c.dom7EventData=n.filter(function(e,t){return t>0}),c.dispatchEvent(u),c.dom7EventData=[],delete c.dom7EventData}return this},transitionEnd:function(e){var t,n=["webkitTransitionEnd","transitionend"],i=this;function r(a){if(a.target===this)for(e.call(this,a),t=0;t<n.length;t+=1)i.off(n[t],r)}if(e)for(t=0;t<n.length;t+=1)i.on(n[t],r);return this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+
vendor: 1,493 bytes, line 9
9parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var n=this[0],i=n.getBoundingClientRect(),r=e.body,a=n.clientTop||r.clientTop||0,o=n.clientLeft||r.clientLeft||0,l=n===t?t.scrollY:n.scrollTop,s=n===t?t.scrollX:n.scrollLeft;return{top:i.top+l-a,left:i.left+s-o}}return null},css:function(e,n){var i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var r in e)this[i].style[r]=e[r];return this}if(this[0])return t.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=n;return this}return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(r){var a,o,l=this[0];if(!l||void 0===r)return!1;if("string"==typeof r){if(l.matches)return l.matches(r);if(l.webkitMatchesSelector)return l.webkitMatchesSelector(r);
9if(l.msMatchesSelector)return l.msMatchesSelector(r);for(a=i(r),o=0;o<a.length;o+=1)if(a[o]===l)return!0;return!1}if(r===e)return l===e;if(r===t)return l===t;if(r.nodeType||r instanceof n){for(a=r.nodeType?[r]:r,o=0;o<a.length;o+=1)if(a[o]===l)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,i=this.length;return new n(e>i-1?[]:e<0?(t=i+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var t,i=[],r=arguments.length;r--;)i[r]=arguments[r];for(var a=0;a<i.length;a+=1){t=i[a];for(var o=0;o<this.length;o+=1)if("string"==typeof t){var l=e.createElement("div");for(l.innerHTML=t;l.firstChild;)this[o].appendChild(l.firstChild)}else if(t instanceof n)for(var s=0;s<t.length;s+=1)this[o].appendChild(t[s]);else this[o].appendChild(t)}return this},prepend:function(t){var i,r;for(i=0;i<this.length;i+=1)if("string"==typeof t){var a=e.createElement("div");for(a.innerHTML=t,r=a.childNodes.length-1;r>=0;r-=1)this[i].insertBefore(a.childNodes[r],this[i].childNodes[0])}else if(t instanceof n)for(r=0;r<t.length;r+=1)this[i].insertBefore(t[r],this[i].childNodes[0]);else this[i].insertBefore(t,this[i].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&i(this[0].nextElementSibling).is(e)?new n([this[0].nextElementSibling]):new n([]):this[0].nextElementSibling?new n([this[0].nextElementSibling]):new n([]):new n([])},nextAll:function(e){var t=[],r=this[0];if(!r)return new n([]);for(;r.nextElementSibling;){var a=r.nextElementSibling;e?i(a).is(e)&&t.push(a):t.push(a),r=a}return new n(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&i(t.previousElementSibling).is(e)?new n([t.previousElementSibling]):new n([]):t.previousElementSibling?new n([t.previousElementSibling]):new n([])}return new n([])},prevAll:function(e){var t=[],r=this[0];if(!r)return new n([]);for(;r.previousElementSibling;){var a=r.previousElementSibling;e?i(a).is(e)&&t.push(a):t.push(a),r=a}return new n(t)},parent:function(e){for(var t=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?i(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return i(r(t))},parents:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var a=this[n].parentNode;a;)e?i(a).is(e)&&t.push(a):t.push(a),a=a.parentNode;return i(r(t))},closest:function(e){var t=this;return void 0===e?new n([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var r=this[i].querySelectorAll(e),a=0;a<r.length;a+=1)t.push(r[a]);return new n(t)},children:function(e){for(var t=[],a=0;a<this.length;a+=1)for(var o=this[a].childNodes,l=0;l<o.length;l+=1)e?1===o[l].nodeType&&i(o[l]).is(e)&&t.push(o[l]):1===o[l].nodeType&&t.push(o[l]);return new n(r(t))},filter:function(e){for(var t=[],i=0;i<this.length;i+=1)e.call(this[i],i,this[i])&&t.push(this[i]);return new n(t)},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e,t,n=[],r=arguments.length;r--;)n[r]=arguments[r];for(e=0;e<n.length;e+=1){var a=i(n[e]);for(t=0;t<a.length;t+=1)this[this.length]=a[t],this.length+=1}return this},styles:function(){return this[0]?t.getComputedStyle(this[0],null):{}}};Object.keys(a).forEach(function(e){i.fn[e]=i.fn[e]||a[e]});var o={deleteProps:function(e){var t=e;Object.keys(t).forEach(function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,n){var i,r,a;void 0===n&&(n="x");var o=t.getComputedStyle(e,null);return t.WebKitCSSMatrix?((r=o.transform||o.webkitTransform).split(",").length>6&&(r=r.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),a=new t.WebKitCSSMatrix("none"===r?"":r)):(a=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=a.toString().split(",")),"x"===n&&(r=t.WebKitCSSMatrix?a.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===n&&(r=t.WebKitCSSMatrix?a.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0},parseUrlQuery:function(e){var n,i,r,a,o={},l=e||t.location.href;if("string"==typeof l&&l.length)for(l=l.indexOf("?")>-1?l.replace(/\S*\?/,""):"",i=l.split("&").filter(function(e){return""!==e}),a=i.length,n=0;n<a;n+=1)r=i[n].replace(/#\S+/g,"").split("="),o[decodeURIComponent(r[0])]=void 0===r[1]?void 0:decodeURIComponent(r[1])||"";return o},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=Object(e[0]),i=1;i<e.length;i+=1){var r=e[i];if(null!=r)for(var a=Object.keys(Object(r)),l=0,s=a.length;l<s;l+=1){var c=a[l],u=Object.getOwnPropertyDescriptor(r,c);void 0!==u&&u.enumerable&&(o.isObject(n[c])&&o.isObject(r[c])?o.extend(n[c],r[c]):!o.isObject(n[c])&&o.isObject(r[c])?(n[c]={},o.extend(n[c],r[c])):n[c]=r[c])}}return n}},l={touch:t.Modernizr&&!0===t.Modernizr.touch||!!(t.navigator.maxTouchPoints>0||"ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),pointerEvents:!!t.PointerEvent&&"maxTouchPoints"in t.navigator&&t.navigator.maxTouchPoints>0,observer:"MutationObserver"in t||"WebkitMutationObserver"in t,passiveListener:function(){var e=!1;try{var n=Object.defineProperty({},"passive",{get:function(){e=!0}});t.addEventListener("testPassiveListener",null,n)}catch(e){}return e}(),gestures:"ongesturestart"in t},s=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={}
9,t.params&&t.params.on&&Object.keys(t.params.on).forEach(function(e){t.on(e,t.params.on[e])})},c={components:{configurable:!0}};s.prototype.on=function(e,t,n){var i=this;if("function"!=typeof t)return i;var r=n?"unshift":"push";return e.split(" ").forEach(function(e){i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)}),i},s.prototype.once=function(e,t,n){var i=this;if("function"!=typeof t)return i;function r(){for(var n=[],a=arguments.length;a--;)n[a]=arguments[a];i.off(e,r),r.f7proxy&&delete r.f7proxy,t.apply(i,n)}return r.f7proxy=t,i.on(e,r,n)},s.prototype.off=function(e,t){var n=this;return n.eventsListeners?(e.split(" ").forEach(function(e){void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].length&&n.eventsListeners[e].forEach(function(i,r){(i===t||i.f7proxy&&i.f7proxy===t)&&n.eventsListeners[e].splice(r,1)})}),n):n},s.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,i,r,a=this;if(!a.eventsListeners)return a;"string"==typeof e[0]||Array.isArray(e[0])?(n=e[0],i=e.slice(1,e.length),r=a):(n=e[0].events,i=e[0].data,r=e[0].context||a);var o=Array.isArray(n)?n:n.split(" ");return o.forEach(function(e){if(a.eventsListeners&&a.eventsListeners[e]){var t=[];a.eventsListeners[e].forEach(function(e){t.push(e)}),t.forEach(function(e){e.apply(r,i)})}}),a},s.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach(function(n){var i=t.modules[n];i.params&&o.extend(e,i.params)})},s.prototype.useModules=function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach(function(n){var i=t.modules[n],r=e[n]||{};i.instance&&Object.keys(i.instance).forEach(function(e){var n=i.instance[e];t[e]="function"==typeof n?n.bind(t):n}),i.on&&t.on&&Object.keys(i.on).forEach(function(e){t.on(e,i.on[e])}),i.create&&i.create.bind(t)(r)})},c.components.set=function(e){this.use&&this.use(e)},s.installModule=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this;i.prototype.modules||(i.prototype.modules={});var r=e.name||Object.keys(i.prototype.modules).length+"_"+o.now();return i.prototype.modules[r]=e,e.proto&&Object.keys(e.proto).forEach(function(t){i.prototype[t]=e.proto[t]}),e.static&&Object.keys(e.static).forEach(function(t){i[t]=e.static[t]}),e.install&&e.install.apply(i,t),i},s.use=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this;return Array.isArray(e)?(e.forEach(function(e){return i.installModule(e)}),i):i.installModule.apply(i,[e].concat(t))},Object.defineProperties(s,c);var u,d,p,f,m,_,h,b,y,v,g,w,x,E,O,k={updateSize:function(){var e,t,n=this.$el;e=void 0!==this.params.width?this.params.width:n[0].clientWidth,t=void 0!==this.params.height?this.params.height:n[0].clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(n.css("padding-left"),10)-parseInt(n.css("padding-right"),10),t=t-parseInt(n.css("padding-top"),10)-parseInt(n.css("padding-bottom"),10),o.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var e=this.params,n=this.$wrapperEl,i=this.size,r=this.rtlTranslate,a=this.wrongRTL,l=this.virtual&&e.virtual.enabled,s=l?this.virtual.slides.length:this.slides.length,c=n.children("."+this.params.slideClass),u=l?this.virtual.slides.length:c.length,d=[],p=[],f=[];function m(t){return!e.cssMode||t!==c.length-1}var _=e.slidesOffsetBefore;"function"==typeof _&&(_=e.slidesOffsetBefore.call(this));var h=e.slidesOffsetAfter;"function"==typeof h&&(h=e.slidesOffsetAfter.call(this));var b,y,v=this.snapGrid.length,g=this.snapGrid.length,w=e.spaceBetween,x=-_,E=0,O=0;if(void 0!==i){"string"==typeof w&&w.indexOf("%")>=0&&(w=parseFloat(w.replace("%",""))/100*i),this.virtualSize=-w,r?c.css({marginLeft:"",marginTop:""}):c.css({marginRight:"",marginBottom:""}),e.slidesPerColumn>1&&(b=Math.floor(u/e.slidesPerColumn)===u/this.params.slidesPerColumn?u:Math.ceil(u/e.slidesPerColumn)*e.slidesPerColumn,"auto"!==e.slidesPerView&&"row"===e.slidesPerColumnFill&&(b=Math.max(b,e.slidesPerView*e.slidesPerColumn)));for(var k,S=e.slidesPerColumn,P=b/S,T=Math.floor(u/e.slidesPerColumn),N=0;N<u;N+=1){y=0;var j=c.eq(N);if(e.slidesPerColumn>1){var C=void 0,L=void 0,M=void 0;if("row"===e.slidesPerColumnFill&&e.slidesPerGroup>1){var I=Math.floor(N/(e.slidesPerGroup*e.slidesPerColumn)),A=N-e.slidesPerColumn*e.slidesPerGroup*I,D=0===I?e.slidesPerGroup:Math.min(Math.ceil((u-I*S*e.slidesPerGroup)/S),e.slidesPerGroup);M=Math.floor(A/D),L=A-M*D+I*e.slidesPerGroup,C=L+M*b/S,j.css({"-webkit-box-ordinal-group":C,"-moz-box-ordinal-group":C,"-ms-flex-order":C,"-webkit-order":C,order:C})}else"column"===e.slidesPerColumnFill?(L=Math.floor(N/S),M=N-L*S,(L>T||L===T&&M===S-1)&&(M+=1)>=S&&(M=0,L+=1)):(M=Math.floor(N/P),L=N-M*P);j.css("margin-"+(this.isHorizontal()?"top":"left"),0!==M&&e.spaceBetween&&e.spaceBetween+"px")}if("none"!==j.css("display")){if("auto"===e.slidesPerView){var z=t.getComputedStyle(j[0],null),V=j[0].style.transform,R=j[0].style.webkitTransform;if(V&&(j[0].style.transform="none"),R&&(j[0].style.webkitTransform="none"),e.roundLengths)y=this.isHorizontal()?j.outerWidth(!0):j.outerHeight(!0);else if(this.isHorizontal()){var B=parseFloat(z.getPropertyValue("width")),F=parseFloat(z.getPropertyValue("padding-left")),H=parseFloat(z.getPropertyValue("padding-right")),W=parseFloat(z.getPropertyValue("margin-left")),q=parseFloat(z.getPropertyValue("margin-right")),U=z.getPropertyValue("box-sizing");y=U&&"border-box"===U?B+W+q:B+F+H+W+q}else{var G=parseFloat(z.getPropertyValue("height")),Y=parseFloat(z.getPropertyValue("padding-top")),K=parseFloat(z.getPropertyValue("padding-bottom")),X=p
9arseFloat(z.getPropertyValue("margin-top")),$=parseFloat(z.getPropertyValue("margin-bottom")),Z=z.getPropertyValue("box-sizing");y=Z&&"border-box"===Z?G+X+$:G+Y+K+X+$}V&&(j[0].style.transform=V),R&&(j[0].style.webkitTransform=R),e.roundLengths&&(y=Math.floor(y))}else y=(i-(e.slidesPerView-1)*w)/e.slidesPerView,e.roundLengths&&(y=Math.floor(y)),c[N]&&(this.isHorizontal()?c[N].style.width=y+"px":c[N].style.height=y+"px");c[N]&&(c[N].swiperSlideSize=y),f.push(y),e.centeredSlides?(x=x+y/2+E/2+w,0===E&&0!==N&&(x=x-i/2-w),0===N&&(x=x-i/2-w),Math.abs(x)<.001&&(x=0),e.roundLengths&&(x=Math.floor(x)),O%e.slidesPerGroup==0&&d.push(x),p.push(x)):(e.roundLengths&&(x=Math.floor(x)),O%e.slidesPerGroup==0&&d.push(x),p.push(x),x=x+y+w),this.virtualSize+=y+w,E=y,O+=1}}if(this.virtualSize=Math.max(this.virtualSize,i)+h,r&&a&&("slide"===e.effect||"coverflow"===e.effect)&&n.css({width:this.virtualSize+e.spaceBetween+"px"}),e.setWrapperSize&&(this.isHorizontal()?n.css({width:this.virtualSize+e.spaceBetween+"px"}):n.css({height:this.virtualSize+e.spaceBetween+"px"})),e.slidesPerColumn>1&&(this.virtualSize=(y+e.spaceBetween)*b,this.virtualSize=Math.ceil(this.virtualSize/e.slidesPerColumn)-e.spaceBetween,this.isHorizontal()?n.css({width:this.virtualSize+e.spaceBetween+"px"}):n.css({height:this.virtualSize+e.spaceBetween+"px"}),e.centeredSlides)){k=[];for(var Q=0;Q<d.length;Q+=1){var J=d[Q];e.roundLengths&&(J=Math.floor(J)),d[Q]<this.virtualSize+d[0]&&k.push(J)}d=k}if(!e.centeredSlides){k=[];for(var ee=0;ee<d.length;ee+=1){var te=d[ee];e.roundLengths&&(te=Math.floor(te)),d[ee]<=this.virtualSize-i&&k.push(te)}d=k,Math.floor(this.virtualSize-i)-Math.floor(d[d.length-1])>1&&d.push(this.virtualSize-i)}if(0===d.length&&(d=[0]),0!==e.spaceBetween&&(this.isHorizontal()?r?c.filter(m).css({marginLeft:w+"px"}):c.filter(m).css({marginRight:w+"px"}):c.filter(m).css({marginBottom:w+"px"})),e.centeredSlides&&e.centeredSlidesBounds){var ne=0;f.forEach(function(t){ne+=t+(e.spaceBetween?e.spaceBetween:0)});var ie=(ne-=e.spaceBetween)-i;d=d.map(function(e){return e<0?-_:e>ie?ie+h:e})}if(e.centerInsufficientSlides){var re=0;if(f.forEach(function(t){re+=t+(e.spaceBetween?e.spaceBetween:0)}),(re-=e.spaceBetween)<i){var ae=(i-re)/2;d.forEach(function(e,t){d[t]=e-ae}),p.forEach(function(e,t){p[t]=e+ae})}}o.extend(this,{slides:c,snapGrid:d,slidesGrid:p,slidesSizesGrid:f}),u!==s&&this.emit("slidesLengthChange"),d.length!==v&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),p.length!==g&&this.emit("slidesGridLengthChange"),(e.watchSlidesProgress||e.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(e){var t,n=[],i=0;if("number"==typeof e?this.setTransition(e):!0===e&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&this.params.slidesPerView>1)for(t=0;t<Math.ceil(this.params.slidesPerView);t+=1){var r=this.activeIndex+t;if(r>this.slides.length)break;n.push(this.slides.eq(r)[0])}else n.push(this.slides.eq(this.activeIndex)[0]);for(t=0;t<n.length;t+=1)if(void 0!==n[t]){var a=n[t].offsetHeight;i=a>i?a:i}i&&this.$wrapperEl.css("height",i+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,n=this.slides,r=this.rtlTranslate;if(0!==n.length){void 0===n[0].swiperSlideOffset&&this.updateSlidesOffset();var a=-e;r&&(a=e),n.removeClass(t.slideVisibleClass),this.visibleSlidesIndexes=[],this.visibleSlides=[];for(var o=0;o<n.length;o+=1){var l=n[o],s=(a+(t.centeredSlides?this.minTranslate():0)-l.swiperSlideOffset)/(l.swiperSlideSize+t.spaceBetween);if(t.watchSlidesVisibility){var c=-(a-l.swiperSlideOffset),u=c+this.slidesSizesGrid[o],d=c>=0&&c<this.size-1||u>1&&u<=this.size||c<=0&&u>=this.size;d&&(this.visibleSlides.push(l),this.visibleSlidesIndexes.push(o),n.eq(o).addClass(t.slideVisibleClass))}l.progress=r?-s:s}this.visibleSlides=i(this.visibleSlides)}},updateProgress:function(e){if(void 0===e){var t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}var n=this.params,i=this.maxTranslate()-this.minTranslate(),r=this.progress,a=this.isBeg
9inning,l=this.isEnd,s=a,c=l;0===i?(r=0,a=!0,l=!0):(r=(e-this.minTranslate())/i,a=r<=0,l=r>=1),o.extend(this,{progress:r,isBeginning:a,isEnd:l}),(n.watchSlidesProgress||n.watchSlidesVisibility)&&this.updateSlidesProgress(e),a&&!s&&this.emit("reachBeginning toEdge"),l&&!c&&this.emit("reachEnd toEdge"),(s&&!a||c&&!l)&&this.emit("fromEdge"),this.emit("progress",r)},updateSlidesClasses:function(){var e,t=this.slides,n=this.params,i=this.$wrapperEl,r=this.activeIndex,a=this.realIndex,o=this.virtual&&n.virtual.enabled;t.removeClass(n.slideActiveClass+" "+n.slideNextClass+" "+n.slidePrevClass+" "+n.slideDuplicateActiveClass+" "+n.slideDuplicateNextClass+" "+n.slideDuplicatePrevClass),(e=o?this.$wrapperEl.find("."+n.slideClass+'[data-swiper-slide-index="'+r+'"]'):t.eq(r)).addClass(n.slideActiveClass),n.loop&&(e.hasClass(n.slideDuplicateClass)?i.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+a+'"]').addClass(n.slideDuplicateActiveClass):i.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+a+'"]').addClass(n.slideDuplicateActiveClass));var l=e.nextAll("."+n.slideClass).eq(0).addClass(n.slideNextClass);
9n.loop&&0===l.length&&(l=t.eq(0)).addClass(n.slideNextClass);var s=e.prevAll("."+n.slideClass).eq(0).addClass(n.slidePrevClass);n.loop&&0===s.length&&(s=t.eq(-1)).addClass(n.slidePrevClass),n.loop&&(l.hasClass(n.slideDuplicateClass)?i.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass):i.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass),s.hasClass(n.slideDuplicateClass)?i.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass):i.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,n=this.rtlTranslate?this.translate:-this.translate,i=this.slidesGrid,r=this.snapGrid,a=this.params,l=this.activeIndex,s=this.realIndex,c=this.snapIndex,u=e;if(void 0===u){for(var d=0;d<i.length;d+=1)void 0!==i[d+1]?n>=i[d]&&n<i[d+1]-(i[d+1]-i[d])/2?u=d:n>=i[d]&&n<i[d+1]&&(u=d+1):n>=i[d]&&(u=d);a.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if((t=r.indexOf(n)>=0?r.indexOf(n):Math.floor(u/a.slidesPerGroup))>=r.length&&(t=r.length-1),u!==l){var p=parseInt(this.slides.eq(u).attr("data-swiper-slide-index")||u,10);o.extend(this,{snapIndex:t,realIndex:p,previousIndex:l,activeIndex:u}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),s!==p&&this.emit("realIndexChange"),(this.initialized||this.runCallbacksOnInit)&&this.emit("slideChange")}else t!==c&&(this.snapIndex=t,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this.params,n=i(e.target).closest("."+t.slideClass)[0],r=!1;if(n)for(var a=0;a<this.slides.length;a+=1)this.slides[a]===n&&(r=!0);if(!n||!r)return this.clickedSlide=void 0,void(this.clickedIndex=void 0);this.clickedSlide=n,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(i(n).attr("data-swiper-slide-index"),10):this.clickedIndex=i(n).index(),t.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},S={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,n=this.rtlTranslate,i=this.translate,r=this.$wrapperEl;if(t.virtualTranslate)return n?-i:i;if(t.cssMode)return i;var a=o.getTranslate(r[0],e);return n&&(a=-a),a||0},setTranslate:function(e,t){var n=this.rtlTranslate,i=this.params,r=this.$wrapperEl,a=this.wrapperEl,o=this.progress,l=0,s=0;this.isHorizontal()?l=n?-e:e:s=e,i.roundLengths&&(l=Math.floor(l),s=Math.floor(s)),i.cssMode?a[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-l:-s:i.virtualTranslate||r.transform("translate3d("+l+"px, "+s+"px, 0px)"),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?l:s;var c=this.maxTranslate()-this.minTranslate();(0===c?0:(e-this.minTranslate())/c)!==o&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,i,r){var a;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===i&&(i=!0);var o=this,l=o.params,s=o.wrapperEl;if(o.animating&&l.preventInteractionOnTransition)return!1;var c,u=o.minTranslate(),d=o.maxTranslate();if(c=i&&e>u?u:i&&e<d?d:e,o.updateProgress(c),l.cssMode){var p=o.isHorizontal();return 0===t?s[p?"scrollLeft":"scrollTop"]=-c:s.scrollTo?s.scrollTo(((a={})[p?"left":"top"]=-c,a.behavior="smooth",a)):s[p?"scrollLeft":"scrollTop"]=-c,!0}return 0===t?(o.setTransition(0),o.setTranslate(c),n&&(o.emit("beforeTransitionStart",t,r),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(c),n&&(o.emit("beforeTransitionStart",t,r),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,n&&o.emit("transitionEnd"))}),o.$wrapperEl[0].addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd))),!0}},P={setTransition:function(e,t){this.params.cssMode||this.$wrapperEl.transition(e),this.emit
9("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var n=this.activeIndex,i=this.params,r=this.previousIndex;if(!i.cssMode){i.autoHeight&&this.updateAutoHeight();var a=t;if(a||(a=n>r?"next":n<r?"prev":"reset"),this.emit("transitionStart"),e&&n!==r){if("reset"===a)return void this.emit("slideResetTransitionStart");this.emit("slideChangeTransitionStart"),"next"===a?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart")}}},transitionEnd:function(e,t){void 0===e&&(e=!0);var n=this.activeIndex,i=this.previousIndex,r=this.params;if(this.animating=!1,!r.cssMode){this.setTransition(0);var a=t;if(a||(a=n>i?"next":n<i?"prev":"reset"),this.emit("transitionEnd"),e&&n!==i){if("reset"===a)return void this.emit("slideResetTransitionEnd");this.emit("slideChangeTransitionEnd"),"next"===a?this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd")}}}},T={slideTo:function(e,t,n,i){var r;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0);var a=this,o=e;o<0&&(o=0);var l=a.params,s=a.snapGrid,c=a.slidesGrid,u=a.previousIndex,d=a.activeIndex,p=a.rtlTranslate,f=a.wrapperEl;if(a.animating&&l.preventInteractionOnTransition)return!1;var m=Math.floor(o/l.slidesPerGroup);m>=s.length&&(m=s.length-1),(d||l.initialSlide||0)===(u||0)&&n&&a.emit("beforeSlideChangeStart");var _,h=-s[m];if(a.updateProgress(h),l.normalizeSlideIndex)for(var b=0;b<c.length;b+=1)-Math.floor(100*h)>=Math.floor(100*c[b])&&(o=b);if(a.initialized&&o!==d){if(!a.allowSlideNext&&h<a.translate&&h<a.minTranslate())return!1;if(!a.allowSlidePrev&&h>a.translate&&h>a.maxTranslate()&&(d||0)!==o)return!1}if(_=o>d?"next":o<d?"prev":"reset",p&&-h===a.translate||!p&&h===a.translate)return a.updateActiveIndex(o),l.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==l.effect&&a.setTranslate(h),"reset"!==_&&(a.transitionStart(n,_),a.transitionEnd(n,_)),!1;if(l.cssMode){var y=a.isHorizontal();return 0===t?f[y?"scrollLeft":"scrollTop"]=-h:f.scrollTo?f.scrollTo(((r={})[y?"left":"top"]=-h,r.behavior="smooth",r)):f[y?"scrollLeft":"scrollTop"]=-h,!0}return 0===t?(a.setTransition(0),a.setTranslate(h),a.updateActiveIndex(o),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,i),a.transitionStart(n,_),a.transitionEnd(n,_)):(a.setTransition(t),a.setTranslate(h),a.updateActiveIndex(o),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,i),a.transitionStart(n,_),a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,_))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(e,t,n,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0);var r=e;return this.params.loop&&(r+=this.loopedSlides),this.slideTo(r,t,n,i)},slideNext:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this.params,r=this.animating;return i.loop?!r&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,this.slideTo(this.activeIndex+i.slidesPerGroup,e,t,n)):this.slideTo(this.activeIndex+i.slidesPerGroup,e,t,n)},slidePrev:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this.params,r=this.animating,a=this.snapGrid,o=this.slidesGrid,l=this.rtlTranslate;if(i.loop){if(r)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}function s(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var c,u=s(l?this.translate:-this.translate),d=a.map(function(e){return s(e)}),p=(o.map(function(e){return s(e)}),a[d.indexOf(u)],a[d.indexOf(u)-1]);return void 0===p&&i.cssMode&&a.forEach(function(e){!p&&u>=e&&(p=e)}),void 0!==p&&(c=o.indexOf(p))<0&&(c=this.activeIndex-1),this.slideTo(c,e,t,n)},slideReset:function(e,t,n){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===i&&(i=.5);var r=this.activeIndex,a=Math.floor(r/this.params.slidesPerGroup),o=this.rtlTranslate?this.translate:-this.translate;if(o>=this.snapGrid[a]){var l=this.snapGrid[a],s=this.snapGrid[a+1];o-l>(s-l)*i&&(r+=this.params.slidesPerGroup)}else{var c=this.snapGrid[a-1],u=this.snapGrid[a];o-c<=(u-c)*i&&(r-=this.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,this.snapGrid.length-1),this.slideTo(r,e,t,n)},slideToClickedSlide:function(){var e,t=this,n=t.params,r=t.$wrapperEl,a="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,l=t.clickedIndex;if(n.loop){if(t.animating)return;e=parseInt(i(t.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?l<t.loopedSlides-a/2||l>t.slides.length-t.loopedSlides+a/2?(t.loopFix(),l=r.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),o.nextTick(function(){t.slideTo(l)})):t.slideTo(l):l>t.slides.length-a?(t.loopFix(),l=r.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),o.nextTick(function(){t.slideTo(l)})):t.slideTo(l)}else t.slideTo(l)}},N={loopCreate:function(){var t=this,n=t.params,r=t.$wrapperEl;r.children("."+n.slideClass+"."+n.slideDuplicateClass).remove();var a=r.children("."+n.slideClass);if(n.loopFillGroupWithBlank){var o=n.slidesPerGroup-a.length%n.slidesPerGroup;if(o!==n.slidesPerGroup){for(var l=0;l<o;l+=1){var s=i(e.createElement("div")).addClass(n.slideClass+" "+n.slideBlankClass);r.append(s)}a=r.children("."+n.slideClass)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=a.length),t.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),t.loopedSlides+=n.loopAdditionalSlides,t.loopedSlides>a.length&&(t.loopedSlides=a.length);var c=[],u=[];a.each(function(e,n){var r=i(n);e<t.loopedSlides&&u.push(n),e<a.length&&e>=a.length-t.loopedSlides&&c.push(n),r.attr("data-swiper-slide-index",e)});for(var d=0;d<u.length;d+=1)r.append(i(u[d].cloneNode(!0)).addClass(n.slideDuplicateClass));for(var p=c.length-1;p>=0;p-=1)r.prepend(i(c[p].cloneNode(!0)).addClass(n.slideDuplicateClass))}
9,loopFix:function(){this.emit("beforeLoopFix");var e,t=this.activeIndex,n=this.slides,i=this.loopedSlides,r=this.allowSlidePrev,a=this.allowSlideNext,o=this.snapGrid,l=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var s=-o[t]-this.getTranslate();if(t<i){e=n.length-3*i+t,e+=i;var c=this.slideTo(e,0,!1,!0);c&&0!==s&&this.setTranslate((l?-this.translate:this.translate)-s)}else if(t>=n.length-i){e=-n.length+t+i,e+=i;var u=this.slideTo(e,0,!1,!0);u&&0!==s&&this.setTranslate((l?-this.translate:this.translate)-s)}this.allowSlidePrev=r,this.allowSlideNext=a,this.emit("loopFix")},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,n=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),n.removeAttr("data-swiper-slide-index")}},j={setGrabCursor:function(e){if(!(l.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){l.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}},C={appendSlide:function(e){var t=this.$wrapperEl,n=this.params;if(n.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var i=0;i<e.length;i+=1)e[i]&&t.append(e[i]);else t.append(e);n.loop&&this.loopCreate(),n.observer&&l.observer||this.update()},prependSlide:function(e){var t=this.params,n=this.$wrapperEl,i=this.activeIndex;t.loop&&this.loopDestroy();var r=i+1;if("object"==typeof e&&"length"in e){for(var a=0;a<e.length;a+=1)e[a]&&n.prepend(e[a]);r=i+e.length}else n.prepend(e);t.loop&&this.loopCreate(),t.observer&&l.observer||this.update(),this.slideTo(r,0,!1)},addSlide:function(e,t){var n=this.$wrapperEl,i=this.params,r=this.activeIndex;i.loop&&(r-=this.loopedSlides,this.loopDestroy(),this.slides=n.children("."+i.slideClass));var a=this.slides.length;if(e<=0)this.prependSlide(t);else if(e>=a)this.appendSlide(t);else{for(var o=r>e?r+1:r,s=[],c=a-1;c>=e;c-=1){var u=this.slides.eq(c);u.remove(),s.unshift(u)}if("object"==typeof t&&"length"in t){for(var d=0;d<t.length;d+=1)t[d]&&n.append(t[d]);o=r>e?r+t.length:r}else n.append(t);for(var p=0;p<s.length;p+=1)n.append(s[p]);i.loop&&this.loopCreate(),i.observer&&l.observer||this.update(),i.loop?this.slideTo(o+this.loopedSlides,0,!1):this.slideTo(o,0,!1)}},removeSlide:function(e){var t=this.params,n=this.$wrapperEl,i=this.activeIndex;t.loop&&(i-=this.loopedSlides,this.loopDestroy(),this.slides=n.children("."+t.slideClass));var r,a=i;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)r=e[o],this.slides[r]&&this.slides.eq(r).remove(),r<a&&(a-=1);a=Math.max(a,0)}else r=e,this.slides[r]&&this.slides.eq(r).remove(),r<a&&(a-=1),a=Math.max(a,0);t.loop&&this.loopCreate(),t.observer&&l.observer||this.update(),t.loop?this.slideTo(a+this.loopedSlides,0,!1):this.slideTo(a,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},L=(u=t.navigator.platform,d=t.navigator.userAgent,p={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!t.cordova&&!t.phonegap),phonegap:!(!t.cordova&&!t.phonegap),electron:!1},f=t.screen.width,m=t.screen.height,_=d.match(/(Android);?[\s\/]+([\d.]+)?/),h=d.match(/(iPad).*OS\s([\d_]+)/),b=d.match(/(iPod)(.*OS\s([\d_]+))?/),y=!h&&d.match(/(iPhone\sOS|iOS)\s([\d_]+)/),v=d.indexOf("MSIE ")>=0||d.indexOf("Trident/")>=0,g=d.indexOf("Edge/")>=0,w=d.indexOf("Gecko/")>=0&&d.indexOf("Firefox/")>=0,x="Win32"===u,E=d.toLowerCase().indexOf("electron")>=0,O="MacIntel"===u,!h&&O&&l.touch&&(1024===f&&1366===m||834===f&&1194===m||834===f&&1112===m||768===f&&1024===m)&&(h=d.match(/(Version)\/([\d.]+)/),O=!1),p.ie=v,p.edge=g,p.firefox=w,_&&!x&&(p.os="android",p.osVersion=_[2],p.android=!0,p.androidChrome=d.toLowerCase().indexOf("chrome")>=0),(h||y||b)&&(p.os="ios",p.ios=!0),y&&!b&&(p.osVersion=y[2].replace(/_/g,"."),p.iphone=!0),h&&(p.osVersion=h[2].replace(/_/g,"."),p.ipad=!0),b&&(p.osVersion=b[3]?b[3].replace(/_/g,"."):null,p.ipod=!0),p.ios&&p.osVersion&&d.indexOf("Version/")>=0&&"10"===p.osVersion.split(".")[0]&&(p.osVersion=d.toLowerCase().split("version/")[1].split(" ")[0]),p.webView=!(!(y||h||b)||!d.match(/.*AppleWeb
9Kit(?!.*Safari)/i)&&!t.navigator.standalone)||t.matchMedia&&t.matchMedia("(display-mode: standalone)").matches,p.webview=p.webView,p.standalone=p.webView,p.desktop=!(p.ios||p.android)||E,p.desktop&&(p.electron=E,p.macos=O,p.windows=x,p.macos&&(p.os="macos"),p.windows&&(p.os="windows")),p.pixelRatio=t.devicePixelRatio||1,p);function M(){var e=this.params,t=this.el;if(!t||0!==t.offsetWidth){e.breakpoints&&this.setBreakpoint();var n=this.allowSlideNext,i=this.allowSlidePrev,r=this.snapGrid;this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),this.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0),this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=i,this.allowSlideNext=n,this.params.watchOverflow&&r!==this.snapGrid&&this.checkOverflow()}}var I=!1;function A(){}var D={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},z={update:k,translate:S,transition:P,slide:T,loop:N,grabCursor:j,manipulation:C,events:{attachEvents:function(){var n=this.params,r=this.touchEvents,a=this.el,s=this.wrapperEl;this.onTouchStart=function(n){var r=this.touchEventsData,a=this.params,l=this.touches;if(!this.animating||!a.preventInteractionOnTransition){var s=n;s.originalEvent&&(s=s.originalEvent);var c=i(s.target);if(("wrapper"!==a.touchEventsTarget||c.closest(this.wrapperEl).length)&&(r.isTouchEvent="touchstart"===s.type,(r.isTouchEvent||!("which"in s)||3!==s.which)&&!(!r.isTouchEvent&&"button"in s&&s.button>0||r.isTouched&&r.isMoved)))if(a.noSwiping&&c.closest(a.noSwipingSelector?a.noSwipingSelector:"."+a.noSwipingClass)[0])this.allowClick=!0;else if(!a.swipeHandler||c.closest(a.swipeHandler)[0]){l.currentX="touchstart"===s.type?s.targetTouches[0].pageX:s.pageX,l.currentY="touchstart"===s.type?s.targetTouches[0].pageY:s.pageY;var u=l.currentX,d=l.currentY,p=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,f=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(!p||!(u<=f||u>=t.screen.width-f)){if(o.extend(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=u,l.startY=d,r.touchStartTime=o.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,a.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==s.type){var m=!0;c.is(r.formElements)&&(m=!1),e.activeElement&&i(e.activeElement).is(r.formElements)&&e.activeElement!==c[0]&&e.activeElement.blur();var _=m&&this.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||_)&&s.preventDefault()}
9this.emit("touchStart",s)}}}}.bind(this),this.onTouchMove=function(t){var n=this.touchEventsData,r=this.params,a=this.touches,l=this.rtlTranslate,s=t;if(s.originalEvent&&(s=s.originalEvent),n.isTouched){if(!n.isTouchEvent||"mousemove"!==s.type){var c="touchmove"===s.type&&s.targetTouches&&(s.targetTouches[0]||s.changedTouches[0]),u="touchmove"===s.type?c.pageX:s.pageX,d="touchmove"===s.type?c.pageY:s.pageY;if(s.preventedByNestedSwiper)return a.startX=u,void(a.startY=d);if(!this.allowTouchMove)return this.allowClick=!1,void(n.isTouched&&(o.extend(a,{startX:u,startY:d,currentX:u,currentY:d}),n.touchStartTime=o.now()));if(n.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(this.isVertical()){if(d<a.startY&&this.translate<=this.maxTranslate()||d>a.startY&&this.translate>=this.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(u<a.startX&&this.translate<=this.maxTranslate()||u>a.startX&&this.translate>=this.minTranslate())return;if(n.isTouchEvent&&e.activeElement&&s.target===e.activeElement&&i(s.target).is(n.formElements))return n.isMoved=!0,void(this.allowClick=!1);if(n.allowTouchCallbacks&&this.emit("touchMove",s),!(s.targetTouches&&s.targetTouches.length>1)){a.currentX=u,a.currentY=d;var p,f=a.currentX-a.startX,m=a.currentY-a.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(f,2)+Math.pow(m,2))<this.params.threshold))if(void 0===n.isScrolling&&(this.isHorizontal()&&a.currentY===a.startY||this.isVertical()&&a.currentX===a.startX?n.isScrolling=!1:f*f+m*m>=25&&(p=180*Math.atan2(Math.abs(m),Math.abs(f))/Math.PI,n.isScrolling=this.isHorizontal()?p>r.touchAngle:90-p>r.touchAngle)),n.isScrolling&&this.emit("touchMoveOpposite",s),void 0===n.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(n.startMoving=!0)),n.isScrolling)n.isTouched=!1;else if(n.startMoving){this.allowClick=!1,r.cssMode||s.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&s.stopPropagation(),n.isMoved||(r.loop&&this.loopFix(),n.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!r.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",s)),this.emit("sliderMove",s),n.isMoved=!0;var _=this.isHorizontal()?f:m;a.diff=_,_*=r.touchRatio,l&&(_=-_),this.swipeDirection=_>0?"prev":"next",n.currentTranslate=_+n.startTranslate;var h=!0,b=r.resistanceRatio;if(r.touchReleaseOnEdges&&(b=0),_>0&&n.currentTranslate>this.minTranslate()?(h=!1,r.resistance&&(n.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+n.startTranslate+_,b))):_<0&&n.currentTranslate<this.maxTranslate()&&(h=!1,r.resistance&&(n.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-n.startTranslate-_,b))),h&&(s.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),r.threshold>0){if(!(Math.abs(_)>r.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);
9if(!n.allowThresholdMove)return n.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,n.currentTranslate=n.startTranslate,void(a.diff=this.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}r.followFinger&&!r.cssMode&&((r.freeMode||r.watchSlidesProgress||r.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),r.freeMode&&(0===n.velocities.length&&n.velocities.push({position:a[this.isHorizontal()?"startX":"startY"],time:n.touchStartTime}),n.velocities.push({position:a[this.isHorizontal()?"currentX":"currentY"],time:o.now()})),this.updateProgress(n.currentTranslate),this.setTranslate(n.currentTranslate))}}}}else n.startMoving&&n.isScrolling&&this.emit("touchMoveOpposite",s)}.bind(this),this.onTouchEnd=function(e){var t=this,n=t.touchEventsData,i=t.params,r=t.touches,a=t.rtlTranslate,l=t.$wrapperEl,s=t.slidesGrid,c=t.snapGrid,u=e;if(u.originalEvent&&(u=u.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",u),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var d,p=o.now(),f=p-n.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(u),t.emit("tap click",u),f<300&&p-n.lastClickTime<300&&t.emit("doubleTap doubleClick",u)),n.lastClickTime=o.now(),o.nextTick(function(){t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,d=i.followFinger?a?t.translate:-t.translate:-n.currentTranslate,!i.cssMode)if(i.freeMode){if(d<-t.minTranslate())return void t.slideTo(t.activeIndex);if(d>-t.maxTranslate())return void(t.slides.length<c.length?t.slideTo(c.length-1):t.slideTo(t.slides.length-1));if(i.freeModeMomentum){if(n.velocities.length>1){var m=n.velocities.pop(),_=n.velocities.pop(),h=m.position-_.position,b=m.time-_.time;t.velocity=h/b,t.velocity/=2,Math.abs(t.velocity)<i.freeModeMinimumVelocity&&(t.velocity=0),(b>150||o.now()-m.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio,n.velocities.length=0;var y=1e3*i.freeModeMomentumRatio,v=t.velocity*y,g=t.translate+v;a&&(g=-g);var w,x,E=!1,O=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;if(g<t.maxTranslate())i.freeModeMomentumBounce?(g+t.maxTranslate()<-O&&(g=t.maxTranslate()-O),w=t.maxTranslate(),E=!0,n.allowMomentumBounce=!0):g=t.maxTranslate(),i.loop&&i.centeredSlides&&(x=!0);else if(g>t.minTranslate())i.freeModeMomentumBounce?(g-t.minTranslate()>O&&(g=t.minTranslate()+O),w=t.minTranslate(),E=!0,n.allowMomentumBounce=!0):g=t.minTranslate(),i.loop&&i.centeredSlides&&(x=!0);else if(i.freeModeSticky){for(var k,S=0;S<c.length;S+=1)if(c[S]>-g){k=S;break}g=-(g=Math.abs(c[k]-g)<Math.abs(c[k-1]-g)||"next"===t.swipeDirection?c[k]:c[k-1])}if(x&&t.once("transitionEnd",function(){t.loopFix()}),0!==t.velocity){if(y=a?Math.abs((-g-t.translate)/t.velocity):Math.abs((g-t.translate)/t.velocity),i.freeModeSticky){var P=Math.abs((a?-g:g)-t.translate),T=t.slidesSizesGrid[t.activeIndex];y=P<T?i.speed:P<2*T?1.5*i.speed:2.5*i.speed}}else if(i.freeModeSticky)return void t.slideToClosest();i.freeModeMomentumBounce&&E?(t.updateProgress(w),t.setTransition(y),t.setTranslate(g),t.transitionStart(!0,t.swipeDirection),t.animating=!0,l.transitionEnd(function(){t&&!t.destroyed&&n.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(i.speed),t.setTranslate(w),l.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))})):t.velocity?(t.updateProgress(g),t.setTransition(y),t.setTranslate(g),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,l.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(g),t.updateActiveIndex(),t.updateSlidesClasses()}else if(i.freeModeSticky)return void t.slideToClosest();(!i.freeModeMomentum||f>=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var N=0,j=t.slidesSizesGrid[0],C=0;C<s.length;C+=i.slidesPerGroup)void 0!==s[C+i.slidesPerGroup]?d>=s[C]&&d<s[C+i.slidesPerGroup]&&(N=C,j=s[C+i.slidesPerGroup]-s[C]):d>=s[C]&&(N=C,j=s[s.length-1]-s[s.length-2]);var L=(d-s[N])/j;if(f>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(L>=i.longSwipesRatio?t.slideTo(N+i.slidesPerGroup):t.slideTo(N)),"prev"===t.swipeDirection&&(L>1-i.longSwipesRatio?t.slideTo(N+i.slidesPerGroup):t.slideTo(N))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);var M=t.navigation&&(u.target===t.navigation.nextEl||u.target===t.navigation.prevEl);M?u.target===t.navigation.nextEl?t.slideTo(N+i.slidesPerGroup):t.slideTo(N):("next"===t.swipeDirection&&t.slideTo(N+i.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(N))}}}.bind(this),n.cssMode&&(this.onScroll=function(){var e=this.wrapperEl;this.previousTranslate=this.translate,this.translate=this.isHorizontal()?-e.scrollLeft:-e.scrollTop,-0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();var t=this.maxTranslate()-this.minTranslate();(0===t?0:(this.translate-this.minTranslate())/t)!==this.progress&&this.updateProgress(this.translate),this.emit
9("setTranslate",this.translate,!1)}.bind(this)),this.onClick=function(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}.bind(this);var c=!!n.nested;if(!l.touch&&l.pointerEvents)a.addEventListener(r.start,this.onTouchStart,!1),e.addEventListener(r.move,this.onTouchMove,c),e.addEventListener(r.end,this.onTouchEnd,!1);else{if(l.touch){var u=!("touchstart"!==r.start||!l.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};a.addEventListener(r.start,this.onTouchStart,u),a.addEventListener(r.move,this.onTouchMove,l.passiveListener?{passive:!1,capture:c}:c),a.addEventListener(r.end,this.onTouchEnd,u),r.cancel&&a.addEventListener(r.cancel,this.onTouchEnd,u),I||(e.addEventListener("touchstart",A),I=!0)}(n.simulateTouch&&!L.ios&&!L.android||n.simulateTouch&&!l.touch&&L.ios)&&(a.addEventListener("mousedown",this.onTouchStart,!1),e.addEventListener("mousemove",this.onTouchMove,c),e.addEventListener("mouseup",this.onTouchEnd,!1))}(n.preventClicks||n.preventClicksPropagation)&&a.addEventListener("click",this.onClick,!0),n.cssMode&&s.addEventListener("scroll",this.onScroll),n.updateOnWindowResize?this.on(L.ios||L.android?"resize orientationchange observerUpdate":"resize observerUpdate",M,!0):this.on("observerUpdate",M,!0)},detachEvents:function(){var t=this.params,n=this.touchEvents,i=this.el,r=this.wrapperEl,a=!!t.nested;if(!l.touch&&l.pointerEvents)i.removeEventListener(n.start,this.onTouchStart,!1),e.removeEventListener(n.move,this.onTouchMove,a),e.removeEventListener(n.end,this.onTouchEnd,!1);else{if(l.touch){var o=!("onTouchStart"!==n.start||!l.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};i.removeEventListener(n.start,this.onTouchStart,o),i.removeEventListener(n.move,this.onTouchMove,a),i.removeEventListener(n.end,this.onTouchEnd,o),n.cancel&&i.removeEventListener(n.cancel,this.onTouchEnd,o)}(t.simulateTouch&&!L.ios&&!L.android||t.simulateTouch&&!l.touch&&L.ios)&&(i.removeEventListener("mousedown",this.onTouchStart,!1),e.removeEventListener("mousemove",this.onTouchMove,a),e.removeEventListener("mouseup",this.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&i.removeEventListener("click",this.onClick,!0),t.cssMode&&r.removeEventListener("scroll",this.onScroll),this.off(L.ios||L.android?"resize orientationchange observerUpdate":"resize observerUpdate",M)}},breakpoints:{setBreakpoint:function(){var e=this.activeIndex,t=this.initialized,n=this.loopedSlides;void 0===n&&(n=0);var i=this.params,r=this.$el,a=i.breakpoints;if(a&&(!a||0!==Object.keys(a).length)){var l=this.getBreakpoint(a);if(l&&this.currentBreakpoint!==l){var s=l in a?a[l]:void 0;s&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerColumn"].forEach(function(e){var t=s[e];void 0!==t&&(s[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")});var c=s||this.originalParams,u=i.slidesPerColumn>1,d=c.slidesPerColumn>1;u&&!d?r.removeClass(i.containerModifierClass+"multirow "+i.containerModifierClass+"multirow-column"):!u&&d&&(r.addClass(i.containerModifierClass+"multirow"),"column"===c.slidesPerColumnFill&&r.addClass(i.containerModifierClass+"multirow-column"));var p=c.direction&&c.direction!==i.direction,f=i.loop&&(c.slidesPerView!==i.slidesPerView||p);p&&t&&this.changeDirection(),o.extend(this.params,c),o.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=l,f&&t&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(e-n+this.loopedSlides,0,!1)),this.emit("breakpoint",c)}}},getBreakpoint:function(e){if(e){var n=!1,i=[];Object.keys(e).forEach(function(e){i.push(e)}),i.sort(function(e,t){return parseInt(e,10)-parseInt(t,10)});for(var r=0;r<i.length;r+=1){var a=i[r];a<=t.innerWidth&&(n=a)}return n||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.params,t=this.isLocked,n=this.slides.length>0&&e.slidesOffsetBefore+e.spaceBetween*(this.slides.length-1)+this.slides[0].offsetWidth*this.slides.length;e.slidesOffsetBefore&&e.slidesOffsetAfter&&n?this.isLocked=n<=this.size:this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,t!==this.isLocked&&this.emit
9(this.isLocked?"lock":"unlock"),t&&t!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var e=this.classNames,t=this.params,n=this.rtl,i=this.$el,r=[];r.push("initialized"),r.push(t.direction),t.freeMode&&r.push("free-mode"),t.autoHeight&&r.push("autoheight"),n&&r.push("rtl"),t.slidesPerColumn>1&&(r.push("multirow"),"column"===t.slidesPerColumnFill&&r.push("multirow-column")),L.android&&r.push("android"),L.ios&&r.push("ios"),t.cssMode&&r.push("css-mode"),r.forEach(function(n){e.push(t.containerModifierClass+n)}),i.addClass(e.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,n,i,r,a,o){var l;function s(){o&&o()}e.complete&&a?s():n?((l=new t.Image).onload=s,l.onerror=s,r&&(l.sizes=r),i&&(l.srcset=i),n&&(l.src=n)):s()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var n=0;n<e.imagesToLoad.length;n+=1){var i=e.imagesToLoad[n];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},V={},R=function(e){function t(){for(var n,r,a,s=[],c=arguments.length;c--;)s[c]=arguments[c];1===s.length&&s[0].constructor&&s[0].constructor===Object?a=s[0]:(r=(n=s)[0],a=n[1]),a||(a={}),a=o.extend({},a),r&&!a.el&&(a.el=r),e.call(this,a),Object.keys(z).forEach(function(e){Object.keys(z[e]).forEach(function(n){t.prototype[n]||(t.prototype[n]=z[e][n])})});var u=this;void 0===u.modules&&(u.modules={}),Object.keys(u.modules).forEach(function(e){var t=u.modules[e];if(t.params){var n=Object.keys(t.params)[0],i=t.params[n];if("object"!=typeof i||null===i)return;if(!(n in a&&"enabled"in i))return;!0===a[n]&&(a[n]={enabled:!0}),"object"!=typeof a[n]||"enabled"in a[n]||(a[n].enabled=!0),a[n]||(a[n]={enabled:!1})}});var d=o.extend({},D);u.useModulesParams(d),u.params=o.extend({},d,V,a),u.originalParams=o.extend({},u.params),u.passedParams=o.extend({},a),u.$=i;var p=i(u.params.el);
9if(r=p[0]){if(p.length>1){var f=[];return p.each(function(e,n){var i=o.extend({},a,{el:n});f.push(new t(i))}),f}var m,_,h;return r.swiper=u,p.data("swiper",u),r&&r.shadowRoot&&r.shadowRoot.querySelector?(m=i(r.shadowRoot.querySelector("."+u.params.wrapperClass))).children=function(e){return p.children(e)}:m=p.children("."+u.params.wrapperClass),o.extend(u,{$el:p,el:r,$wrapperEl:m,wrapperEl:m[0],classNames:[],slides:i(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===u.params.direction},isVertical:function(){return"vertical"===u.params.direction},rtl:"rtl"===r.dir.toLowerCase()||"rtl"===p.css("direction"),rtlTranslate:"horizontal"===u.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===p.css("direction")),wrongRTL:"-webkit-box"===m.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:u.params.allowSlideNext,allowSlidePrev:u.params.allowSlidePrev,touchEvents:(_=["touchstart","touchmove","touchend","touchcancel"],h=["mousedown","mousemove","mouseup"],l.pointerEvents&&(h=["pointerdown","pointermove","pointerup"]),u.touchEventsTouch={start:_[0],move:_[1],end:_[2],cancel:_[3]},u.touchEventsDesktop={start:h[0],move:h[1],end:h[2]},l.touch||!u.params.simulateTouch?u.touchEventsTouch:u.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:o.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:u.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),u.useModules(),u.params.init&&u.init(),u}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return t.prototype.slidesPerViewDynamic=function(){var e=this.params,t=this.slides,n=this.slidesGrid,i=this.size,r=this.activeIndex,a=1;if(e.centeredSlides){for(var o,l=t[r].swiperSlideSize,s=r+1;s<t.length;s+=1)t[s]&&!o&&(l+=t[s].swiperSlideSize,a+=1,l>i&&(o=!0));for(var c=r-1;c>=0;c-=1)t[c]&&!o&&(l+=t[c].swiperSlideSize,a+=1,l>i&&(o=!0))}else for(var u=r+1;u<t.length;u+=1)n[u]-n[r]<i&&(a+=1);return a},t.prototype.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,n=e.params;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(i(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||i(),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function i(){var t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}},t.prototype.changeDirection=function(e,t){void 0===t&&(t=!0);var n=this.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e?this:(this.$el.removeClass(""+this.params.containerModifierClass+n).addClass(""+this.params.containerModifierClass+e),this.params.direction=e,this.slides.each(function(t,n){"vertical"===e?n.style.width="":n.style.height=""}),this.emit("changeDirection"),t&&this.update(),this)},t.prototype.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit
9("init"))},t.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var n=this,i=n.params,r=n.$el,a=n.$wrapperEl,l=n.slides;return void 0===n.params||n.destroyed?null:(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),r.removeAttr("style"),a.removeAttr("style"),l&&l.length&&l.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(function(e){n.off(e)}),!1!==e&&(n.$el[0].swiper=null,n.$el.data("swiper",null),o.deleteProps(n)),n.destroyed=!0,null)},t.extendDefaults=function(e){o.extend(V,e)},n.extendedDefaults.get=function(){return V},n.defaults.get=function(){return D},n.Class.get=function(){return e},n.$.get=function(){return i},Object.defineProperties(t,n),t}(s),B={name:"device",proto:{device:L},static:{device:L}},F={name:"support",proto:{support:l},static:{support:l}},H=function(){return{isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:(e=t.navigator.userAgent.toLowerCase(),e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)};var e}(),W={name:"browser",proto:{browser:H},static:{browser:H}},q={name:"resize",create:function(){var e=this;o.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){t.addEventListener("resize",this.resize.resizeHandler),t.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){t.removeEventListener("resize",this.resize.resizeHandler),t.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},U={func:t.MutationObserver||t.WebkitMutationObserver,attach:function(e,n){void 0===n&&(n={});var i=this,r=U.func,a=new r(function(e){if(1!==e.length){var n=function(){i.emit("observerUpdate",e[0])};t.requestAnimationFrame?t.requestAnimationFrame(n):t.setTimeout(n,0)}else i.emit("observerUpdate",e[0])});a.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:void 0===n.childList||n.childList,characterData:void 0===n.characterData||n.characterData}),i.observer.observers.push(a)},init:function(){if(l.observer&&this.params.observer){if(this.params.observeParents)for(var e=this.$el.parents(),t=0;t<e.length;t+=1)this.observer.attach(e[t]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach(function(e){e.disconnect()}),this.observer.observers=[]}},G={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){o.extend(this,{observer:{init:U.init.bind(this),attach:U.attach.bind(this),destroy:U.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},Y={update:function(e){var t=this,n=t.params,i=n.slidesPerView,r=n.slidesPerGroup,a=n.centeredSlides,l=t.params.virtual,s=l.addSlidesBefore,c=l.addSlidesAfter,u=t.virtual,d=u.from,p=u.to,f=u.slides,m=u.slidesGrid,_=u.renderSlide,h=u.offset;t.updateActiveIndex();var b,y,v,g=t.activeIndex||0;b=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",a?(y=Math.floor(i/2)+r+s,v=Math.floor(i/2)+r+c):(y=i+(r-1)+s,v=r+c);var w=Math.max((g||0)-v,0),x=Math.min((g||0)+y,f.length-1),E=(t.slidesGrid[w]||0)-(t.slidesGrid[0]||0);function O(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(o.extend(t.virtual,{from:w,to:x,offset:E,slidesGrid:t.slidesGrid}),d===w&&p===x&&!e)return t.slidesGrid!==m&&E!==h&&t.slides.css(b,E+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:E,from:w,to:x,slides:function(){for(var e=[],t=w;t<=x;t+=1)e.push(f[t]);return e}()}),void O();var k=[],S=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var P=d;P<=p;P+=1)(P<w||P>x)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+P+'"]').remove();for(var T=0;T<f.length;T+=1)T>=w&&T<=x&&(void 0===p||e?S.push(T):(T>p&&S.push(T),T<d&&k.push(T)));
9S.forEach(function(e){t.$wrapperEl.append(_(f[e],e))}),k.sort(function(e,t){return t-e}).forEach(function(e){t.$wrapperEl.prepend(_(f[e],e))}),t.$wrapperEl.children(".swiper-slide").css(b,E+"px"),O()},renderSlide:function(e,t){var n=this.params.virtual;if(n.cache&&this.virtual.cache[t])return this.virtual.cache[t];var r=n.renderSlide?i(n.renderSlide.call(this,e,t)):i('<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",t),n.cache&&(this.virtual.cache[t]=r),r},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var t=this.activeIndex,n=t+1,i=1;if(Array.isArray(e)){for(var r=0;r<e.length;r+=1)e[r]&&this.virtual.slides.unshift(e[r]);n=t+e.length,i=e.length}else this.virtual.slides.unshift(e);if(this.params.virtual.cache){var a=this.virtual.cache,o={};Object.keys(a).forEach(function(e){var t=a[e],n=t.attr("data-swiper-slide-index");n&&t.attr("data-swiper-slide-index",parseInt(n,10)+1),o[parseInt(e,10)+i]=t}),this.virtual.cache=o}this.virtual.update(!0),this.slideTo(n,0)},removeSlide:function(e){if(null!=e){var t=this.activeIndex;if(Array.isArray(e))for(var n=e.length-1;n>=0;n-=1)this.virtual.slides.splice(e[n],1),this.params.virtual.cache&&delete this.virtual.cache[e[n]],e[n]<t&&(t-=1),t=Math.max(t,0);else this.virtual.slides.splice(e,1),this.params.virtual.cache&&delete this.virtual.cache[e],e<t&&(t-=1),t=Math.max(t,0);this.virtual.update(!0),this.slideTo(t,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},K={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){o.extend(this,{virtual:{update:Y.update.bind(this),appendSlide:Y.appendSlide.bind(this),prependSlide:Y.prependSlide.bind(this),removeSlide:Y.removeSlide.bind(this),removeAllSlides:Y.removeAllSlides.bind(this),renderSlide:Y.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){if(this.params.virtual.enabled){this.classNames.push(this.params.containerModifierClass+"virtual");var e={watchSlidesProgress:!0};o.extend(this.params,e),o.extend(this.originalParams,e),this.params.initialSlide||this.virtual.update(
9)}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},X={handle:function(n){var i=this.rtlTranslate,r=n;r.originalEvent&&(r=r.originalEvent);var a=r.keyCode||r.charCode;if(!this.allowSlideNext&&(this.isHorizontal()&&39===a||this.isVertical()&&40===a||34===a))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&37===a||this.isVertical()&&38===a||33===a))return!1;if(!(r.shiftKey||r.altKey||r.ctrlKey||r.metaKey||e.activeElement&&e.activeElement.nodeName&&("input"===e.activeElement.nodeName.toLowerCase()||"textarea"===e.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(33===a||34===a||37===a||39===a||38===a||40===a)){var o=!1;if(this.$el.parents("."+this.params.slideClass).length>0&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var l=t.innerWidth,s=t.innerHeight,c=this.$el.offset();i&&(c.left-=this.$el[0].scrollLeft);for(var u=[[c.left,c.top],[c.left+this.width,c.top],[c.left,c.top+this.height],[c.left+this.width,c.top+this.height]],d=0;d<u.length;d+=1){var p=u[d];p[0]>=0&&p[0]<=l&&p[1]>=0&&p[1]<=s&&(o=!0)}if(!o)return}this.isHorizontal()?(33!==a&&34!==a&&37!==a&&39!==a||(r.preventDefault?r.preventDefault():r.returnValue=!1),(34!==a&&39!==a||i)&&(33!==a&&37!==a||!i)||this.slideNext(),(33!==a&&37!==a||i)&&(34!==a&&39!==a||!i)||this.slidePrev()):(33!==a&&34!==a&&38!==a&&40!==a||(r.preventDefault?r.preventDefault():r.returnValue=!1),34!==a&&40!==a||this.slideNext(),33!==a&&38!==a||this.slidePrev()),this.emit("keyPress",a)}},enable:function(){this.keyboard.enabled||(i(e).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(i(e).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},$={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){o.extend(this,{keyboard:{enabled:!1,enable:X.enable.bind(this),disable:X.disable.bind(this),handle:X.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},Z={lastScrollTime:o.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return t.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var t="onwheel"in e;if(!t){var n=e.createElement("div");n.setAttribute("onwheel","return;"),t="function"==typeof n.onwheel}return!t&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(t=e.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel"},normalize:function(e){var t=0,n=0,i=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),i=10*t,r=10*n,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(i=e.deltaX),e.shiftKey&&!i&&(i=r,r=0),(i||r)&&e.deltaMode&&(1===e.deltaMode?(i*=40,r*=40):(i*=800,r*=800)),i&&!t&&(t=i<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:i,pixelY:r}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,n=this,i=n.params.mousewheel;if(n.params.cssMode&&t.preventDefault(),!n.mouseEntered&&!i.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var r=0,a=n.rtlTranslate?-1:1,l=Z.normalize(t);if(i.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(l.pixelX)>Math.abs(l.pixelY)))return!0;r=l.pixelX*a}else{if(!(Math.abs(l.pixelY)>Math.abs(l.pixelX)))return!0;r=l.pixelY}else r=Math.abs(l.pixelX)>Math.abs(l.pixelY)?-l.pixelX*a:-l.pixelY;if(0===r)return!0;if(i.invert&&(r=-r),n.params.freeMode){var s={time:o.now(),delta:Math.abs(r),direction:Math.sign(r)},c=n.mousewheel,u=c.lastEventBeforeSnap,d=u&&s.time<u.time+500&&s.delta<=u.delta&&s.direction===u.direction;if(!d){n.mousewheel.lastEventBeforeSnap=void 0,n.params.loop&&n.loopFix();var p=n.getTranslate()+r*i.sensitivity,f=n.isBeginning,m=n.isEnd;if(p>=n.minTranslate()&&(p=n.minTranslate()),p<=n.maxTranslate()&&(p=n.maxTranslate()),n.setTransition(0),n.setTranslate(p),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!f&&n.isBeginning||!m&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky){clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=void 0;var _=n.mousewheel.recentWheelEvents;_.length>=15&&_.shift();var h=_.length?_[_.length-1]:void 0,b=_[0];if(_.push(s),h&&(s.delta>h.delta||s.direction!==h.direction))_.splice(0);else if(_.length>=15&&s.time-b.time<500&&b.delta-s.delta>=1&&s.delta<=6){var y=r>0?.8:.2;n.mousewheel.lastEventBeforeSnap=s,_.splice(0),n.mousewheel.timeout=o.nextTick(function(){n.slideToClosest(n.params.speed,!0,void 0,y)}
9,0)}n.mousewheel.timeout||(n.mousewheel.timeout=o.nextTick(function(){n.mousewheel.lastEventBeforeSnap=s,_.splice(0),n.slideToClosest(n.params.speed,!0,void 0,.5)},500))}if(d||n.emit("scroll",t),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),p===n.minTranslate()||p===n.maxTranslate())return!0}}else{var v={time:o.now(),delta:Math.abs(r),direction:Math.sign(r),raw:e},g=n.mousewheel.recentWheelEvents;g.length>=2&&g.shift();var w=g.length?g[g.length-1]:void 0;if(g.push(v),w?(v.direction!==w.direction||v.delta>w.delta)&&n.mousewheel.animateSlider(v):n.mousewheel.animateSlider(v),n.mousewheel.releaseScroll(v))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider:function(e){return e.delta>=6&&o.now()-this.mousewheel.lastScrollTime<60||(e.direction<0?this.isEnd&&!this.params.loop||this.animating||(this.slideNext(),this.emit("scroll",e.raw)):this.isBeginning&&!this.params.loop||this.animating||(this.slidePrev(),this.emit("scroll",e.raw)),this.mousewheel.lastScrollTime=(new t.Date).getTime(),!1)},releaseScroll:function(e){var t=this.params.mousewheel;if(e.direction<0){if(this.isEnd&&!this.params.loop&&t.releaseOnEdges)return!0}else if(this.isBeginning&&!this.params.loop&&t.releaseOnEdges)return!0;return!1},enable:function(){var e=Z.event();if(this.params.cssMode)return this.wrapperEl.removeEventListener(e,this.mousewheel.handle),!0;if(!e)return!1;if(this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=i(this.params.mousewheel.eventsTarged)),t.on("mouseenter",this.mousewheel.handleMouseEnter),t.on("mouseleave",this.mousewheel.handleMouseLeave),t.on(e,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){var e=Z.event();if(this.params.cssMode)return this.wrapperEl.addEventListener(e,this.mousewheel.handle),!0;if(!e)return!1;if(!this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=i(this.params.mousewheel.eventsTarged)),t.off(e,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},Q={update:function(){var e=this.params.navigation;if(!this.params.loop){var t=this.navigation,n=t.$nextEl,i=t.$prevEl;i&&i.length>0&&(this.isBeginning?i.addClass(e.disabledClass):i.removeClass(e.disabledClass),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)),n&&n.length>0&&(this.isEnd?n.addClass(e.disabledClass):n.removeClass(e.disabledClass),n[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass))}},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,n=this.params.navigation;(n.nextEl||n.prevEl)&&(n.nextEl&&(e=i(n.nextEl),this.params.uniqueNavElements&&"string"==typeof n.nextEl&&e.length>1&&1===this.$el.find(n.nextEl).length&&(e=this.$el.find(n.nextEl))),n.prevEl&&(t=i(n.prevEl),this.params.uniqueNavElements&&"string"==typeof n.prevEl&&t.length>1&&1===this.$el.find(n.prevEl).length&&(t=this.$el.find(n.prevEl))),e&&e.length>0&&e.on("click",this.navigation.onNextClick),t&&t.length>0&&t.on("click",this.navigation.onPrevClick),o.extend(this.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,n=e.$prevEl;t&&t.length&&(t.off("click",this.navigation.onNextClick),t.removeClass(this.params.navigation.disabledClass)),n&&n.length&&(n.off("click",this.navigation.onPrevClick),n.removeClass(this.params.navigation.disabledClass))}},J={update:function(){var e=this.rtl,t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var n,r=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,a=this.pagination.$el,o=this.params.loop?Math.ceil((r-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((n=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>r-1-2*this.loopedSlides&&(n-=r-2*this.loopedSlides),n>o-1&&(n-=o),n<0&&"bullets"!==this.params.paginationType&&(n=o+n)):n=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===t.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var l,s,c,u=this.pagination.bullets;if(t.dynamicBullets&&(this.pagination.bulletSize=u.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),a.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(t.dynamicMainBullets+4)+"px"),t.dynamicMainBullets>1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=n-this.previousIndex,this.pagination.dynamicBulletIndex>t.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=t.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),l=n-this.pagination.dynamicBulletIndex,s=l+(Math.min(u.length,t.dynamicMainBullets)-1),c=(s+l)/2),u.removeClass(t.bulletActiveClass+" "+t.bulletActiveClass+"-next "+t.bulletActiveClass+"-next-next "+t.bulletActiveClass+"-prev "+t.bulletActiveClass+"-prev-prev "+t.bulletActiveClass+"-main"),a.length>1)u.each(function(e,r){var a=i(r),o=a.index();o===n&&a.addClass(t.bulletActiveClass),t.dynamicBullets&&(o>=l&&o<=s&&a.addClass(t.bulletActiveClass+"-main"),o===l&&a.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),o===s&&a.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next"))});else{var d=u.eq(n),p=d.index();if(d.addClass(t.bulletActiveClass),t.dynamicBullets){for(var f=u.eq(l),m=u.eq(s),_=l;_<=s;_+=1)u.eq(_).addClass(t.bulletActiveClass+"-main");if(this.params.loop)if(p>=u.length-t.dynamicMainBullets){for(var h=t.dynamicMainBullets;h>=0;h-=1)u.eq(u.length-h).addClass(t.bulletActiveClass+"-main");
9u.eq(u.length-t.dynamicMainBullets-1).addClass(t.bulletActiveClass+"-prev")}else f.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),m.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next");else f.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),m.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next")}}if(t.dynamicBullets){var b=Math.min(u.length,t.dynamicMainBullets+4),y=(this.pagination.bulletSize*b-this.pagination.bulletSize)/2-c*this.pagination.bulletSize,v=e?"right":"left";u.css(this.isHorizontal()?v:"top",y+"px")}}if("fraction"===t.type&&(a.find("."+t.currentClass).text(t.formatFractionCurrent(n+1)),a.find("."+t.totalClass).text(t.formatFractionTotal(o))),"progressbar"===t.type){var g;g=t.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical";var w=(n+1)/o,x=1,E=1;"horizontal"===g?x=w:E=w,a.find("."+t.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+x+") scaleY("+E+")").transition(this.params.speed)}"custom"===t.type&&t.renderCustom?(a.html(t.renderCustom(this,n+1,o)),this.emit("paginationRender",this,a[0])):this.emit("paginationUpdate",this,a[0]),a[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass)}},render:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,n=this.pagination.$el,i="";if("bullets"===e.type){for(var r=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,a=0;a<r;a+=1)e.renderBullet?i+=e.renderBullet.call(this,a,e.bulletClass):i+="<"+e.bulletElement+' class="'+e.bulletClass+'"></'+e.bulletElement+">";n.html(i),this.pagination.bullets=n.find("."+e.bulletClass)}"fraction"===e.type&&(i=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):'<span class="'+e.currentClass+'"></span> / <span class="'+e.totalClass+'"></span>',n.html(i)),"progressbar"===e.type&&(i=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'<span class="'+e.progressbarFillClass+'"></span>',n.html(i)),"custom"!==e.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var n=i(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&n.length>1&&1===e.$el.find(t.el).length&&(n=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(n.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click","."+t.bulletClass,function(t){t.preventDefault();var n=i(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)}),o.extend(e.pagination,{$el:n,el:n[0]}))}},destroy:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}}},ee={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=this.rtlTranslate,n=this.progress,i=e.dragSize,r=e.trackSize,a=e.$dragEl,o=e.$el,l=this.params.scrollbar,s=i,c=(r-i)*n;t?(c=-c)>0?(s=i-c,c=0):-c+i>r&&(s=r+c):c<0?(s=i+c,c=0):c+i>r&&(s=r-c),this.isHorizontal()?(a.transform("translate3d("+c+"px, 0, 0)"),a[0].style.width=s+"px"):(a.transform("translate3d(0px, "+c+"px, 0)"),a[0].style.height=s+"px"),l.hide&&(clearTimeout(this.scrollbar.timeout),o[0].style.opacity=1,this.scrollbar.timeout=setTimeout(function(){o[0].style.opacity=0,o.transition(400)},1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=e.$dragEl,n=e.$el;t[0].style.width="",t[0].style.height="";var i,r=this.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,a=this.size/this.virtualSize,l=a*(r/this.size);i="auto"===this.params.scrollbar.dragSize?r*a:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=i+"px":t[0].style.height=i+"px",n[0].style.display=a>=1?"none":"",this.params.scrollbar.hide&&(n[0].style.opacity=0),o.extend(e,{trackSize:r,divider:a,moveDivider:l,dragSize:i}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY}
9,setDragPosition:function(e){var t,n=this.scrollbar,i=this.rtlTranslate,r=n.$el,a=n.dragSize,o=n.trackSize,l=n.dragStartPos;t=(n.getPointerPosition(e)-r.offset()[this.isHorizontal()?"left":"top"]-(null!==l?l:a/2))/(o-a),t=Math.max(Math.min(t,1),0),i&&(t=1-t);var s=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t;this.updateProgress(s),this.setTranslate(s),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(e){var t=this.params.scrollbar,n=this.scrollbar,i=this.$wrapperEl,r=n.$el,a=n.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===a[0]||e.target===a?n.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.transition(100),a.transition(100),n.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),r.transition(0),t.hide&&r.css("opacity",1),this.params.cssMode&&this.$wrapperEl.css("scroll-snap-type","none"),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,n=this.$wrapperEl,i=t.$el,r=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),n.transition(0),i.transition(0),r.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,n=this.scrollbar,i=this.$wrapperEl,r=n.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,this.params.cssMode&&(this.$wrapperEl.css("scroll-snap-type",""),i.transition("")),t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=o.nextTick(function(){r.css("opacity",0),r.transition(400)},1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var t=this.scrollbar,n=this.touchEventsTouch,i=this.touchEventsDesktop,r=this.params,a=t.$el,o=a[0],s=!(!l.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},c=!(!l.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};l.touch?(o.addEventListener(n.start,this.scrollbar.onDragStart,s),o.addEventListener(n.move,this.scrollbar.onDragMove,s),o.addEventListener(n.end,this.scrollbar.onDragEnd,c)):(o.addEventListener(i.start,this.scrollbar.onDragStart,s),e.addEventListener(i.move,this.scrollbar.onDragMove,s),e.addEventListener(i.end,this.scrollbar.onDragEnd,c))}},disableDraggable:function(){if(this.params.scrollbar.el){var t=this.scrollbar,n=this.touchEventsTouch,i=this.touchEventsDesktop,r=this.params,a=t.$el,o=a[0],s=!(!l.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},c=!(!l.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};l.touch?(o.removeEventListener(n.start,this.scrollbar.onDragStart,s),o.removeEventListener(n.move,this.scrollbar.onDragMove,s),o.removeEventListener(n.end,this.scrollbar.onDragEnd,c)):(o.removeEventListener(i.start,this.scrollbar.onDragStart,s),e.removeEventListener(i.move,this.scrollbar.onDragMove,s),e.removeEventListener(i.end,this.scrollbar.onDragEnd,c))}},init:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.$el,n=this.params.scrollbar,r=i(n.el);this.params.uniqueNavElements&&"string"==typeof n.el&&r.length>1&&1===t.find(n.el).length&&(r=t.find(n.el));var a=r.find("."+this.params.scrollbar.dragClass);0===a.length&&(a=i('<div class="'+this.params.scrollbar.dragClass+'"></div>'),r.append(a)),o.extend(e,{$el:r,el:r[0],$dragEl:a,dragEl:a[0]}),n.draggable&&e.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},te={setTransform:function(e,t){var n=this.rtl,r=i(e),a=n?-1:1,o=r.attr("data-swiper-parallax")||"0",l=r.attr("data-swiper-parallax-x"),s=r.attr("data-swiper-parallax-y"),c=r.attr("data-swiper-parallax-scale"),u=r.attr("data-swiper-parallax-opacity");if(l||s?(l=l||"0",s=s||"0"):this.isHorizontal()?(l=o,s="0"):(s=o,l="0"),l=l.indexOf("%")>=0?parseInt(l,10)*t*a+"%":l*t*a+"px",s=s.indexOf("%")>=0?parseInt(s,10)*t+"%":s*t+"px",null!=u){var d=u-(u-1)*(1-Math.abs(t));r[0].style.opacity=d}if(null==c)r.transform("translate3d("+l+", "+s+", 0px)");else{var p=c-(c-1)*(1-Math.abs(t));r.transform("translate3d("+l+", "+s+", 0px) scale("+p+")")}},setTranslate:function(){var e=this,t=e.$el,n=e.slides,r=e.progress,a=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(t,n){e.parallax.setTransform(n,r)}),n.each(function(t,n){var o=n.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(o+=Math.ceil(t/2)-r*(a.length-1)),o=Math.min(Math.max(o,-1),1),i(n).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(t,n){e.parallax.setTransform(n,o)})})},setTransition:function(e){void 0===e&&(e=this.params.speed);var t=this.$el;t.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(t,n){var r=i(n),a=parseInt(r.attr("data-swiper-parallax-duration"),10)||e;0===e&&(a=0),r.transition(a)})}},ne={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;
vendor: 5,494 bytes, line 9
9var t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,r=e.targetTouches[1].pageY,a=Math.sqrt(Math.pow(i-t,2)+Math.pow(r-n,2));return a},onGestureStart:function(e){var t=this.params.zoom,n=this.zoom,r=n.gesture;if(n.fakeGestureTouched=!1,n.fakeGestureMoved=!1,!l.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;n.fakeGestureTouched=!0,r.scaleStart=ne.getDistanceBetweenTouches(e)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=i(e.target).closest(".swiper-slide"),0===r.$slideEl.length&&(r.$slideEl=this.slides.eq(this.activeIndex)),r.$imageEl=r.$slideEl.find("img, svg, canvas"),r.$imageWrapEl=r.$imageEl.parent("."+t.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl.transition(0),this.zoom.isScaling=!0):r.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,n=this.zoom,i=n.gesture;if(!l.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;n.fakeGestureMoved=!0,i.scaleMove=ne.getDistanceBetweenTouches(e)}i.$imageEl&&0!==i.$imageEl.length&&(l.gestures?n.scale=e.scale*n.currentScale:n.scale=i.scaleMove/i.scaleStart*n.currentScale,n.scale>i.maxRatio&&(n.scale=i.maxRatio-1+Math.pow(n.scale-i.maxRatio+1,.5)),n.scale<t.minRatio&&(n.scale=t.minRatio+1-Math.pow(t.minRatio-n.scale+1,.5)),i.$imageEl.transform("translate3d(0,0,0) scale("+n.scale+")"))},onGestureEnd:function(e){var t=this.params.zoom,n=this.zoom,i=n.gesture;if(!l.gestures){if(!n.fakeGestureTouched||!n.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!L.android)return;n.fakeGestureTouched=!1,n.fakeGestureMoved=!1}i.$imageEl&&0!==i.$imageEl.length&&(n.scale=Math.max(Math.min(n.scale,i.maxRatio),t.minRatio),i.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+n.scale+")"),n.currentScale=n.scale,n.isScaling=!1,1===n.scale&&(i.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,n=t.gesture,i=t.image;n.$imageEl&&0!==n.$imageEl.length&&(i.isTouched||(L.android&&e.preventDefault(),i.isTouched=!0,i.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this.zoom,n=t.gesture,i=t.image,r=t.velocity;if(n.$imageEl&&0!==n.$imageEl.length&&(this.allowClick=!1,i.isTouched&&n.$slideEl)){i.isMoved||(i.width=n.$imageEl[0].offsetWidth,i.height=n.$imageEl[0].offsetHeight,i.startX=o.getTranslate(n.$imageWrapEl[0],"x")||0,i.startY=o.getTranslate(n.$imageWrapEl[0],"y")||0,n.slideWidth=n.$slideEl[0].offsetWidth,n.slideHeight=n.$slideEl[0].offsetHeight,n.$imageWrapEl.transition(0),this.rtl&&(i.startX=-i.startX,i.startY=-i.startY));var a=i.width*t.scale,l=i.height*t.scale;if(!(a<n.slideWidth&&l<n.slideHeight)){if(i.minX=Math.min(n.slideWidth/2-a/2,0),i.maxX=-i.minX,i.minY=Math.min(n.slideHeight/2-l/2,0),i.maxY=-i.minY,i.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!i.isMoved&&!t.isScaling){if(this.isHorizontal()&&(Math.floor(i.minX)===Math.floor(i.startX)&&i.touchesCurrent.x<i.touchesStart.x||Math.floor(i.maxX)===Math.floor(i.startX)&&i.touchesCurrent.x>i.touchesStart.x))return void(i.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(i.minY)===Math.floor(i.startY)&&i.touchesCurrent.y<i.touchesStart.y||Math.floor(i.maxY)===Math.floor(i.startY)&&i.touchesCurrent.y>i.touchesStart.y))return void(i.isTouched=!1)}e.preventDefault(),e.stopPropagation(),i.isMoved=!0,i.currentX=i.touchesCurrent.x-i.touchesStart.x+i.startX,i.currentY=i.touchesCurrent.y-i.touchesStart.y+i.startY,i.currentX<i.minX&&(i.currentX=i.minX+1-Math.pow(i.minX-i.currentX+1,.8)),i.currentX>i.maxX&&(i.currentX=i.maxX-1+Math.pow(i.currentX-i.maxX+1,.8)),i.currentY<i.minY&&(i.currentY=i.minY+1-Math.pow(i.minY-i.currentY+1,.8)),i.currentY>i.maxY&&(i.currentY=i.maxY-1+Math.pow(i.currentY-i.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=i.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=i.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(i.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(i.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(i.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(i.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=i.touchesCurrent.x,r.prevPositionY=i.touchesCurrent.y,r.prevTime=Date.now(),n.$imageWrapEl.transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,n=e.image,i=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!n.isTouched||!n.isMoved)return n.isTouched=!1,void(n.isMoved=!1);n.isTouched=!1,n.isMoved=!1;var r=300,a=300,o=i.x*r,l=n.currentX+o,s=i.y*a,c=n.currentY+s;0!==i.x&&(r=Math.abs((l-n.currentX)/i.x)),0!==i.y&&(a=Math.abs((c-n.currentY)/i.y));var u=Math.max(r,a);n.currentX=l,n.currentY=c;var d=n.width*e.scale,p=n.height*e.scale;n.minX=Math.min(t.slideWidth/2-d/2,0),n.maxX=-n.minX,n.minY=Math.min(t.slideHeight/2-p/2,0),n.maxY=-n.minY,n.currentX=Math.max(Math.min(n.currentX,n.maxX),n.minX),n.currentY=Math.max(Math.min(n.currentY,n.maxY),n.minY),t.$imageWrapEl.transition(u).transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,
90,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,n,r,a,o,l,s,c,u,d,p,f,m,_,h,b,y,v,g=this.zoom,w=this.params.zoom,x=g.gesture,E=g.image;x.$slideEl||(x.$slideEl=this.clickedSlide?i(this.clickedSlide):this.slides.eq(this.activeIndex),x.$imageEl=x.$slideEl.find("img, svg, canvas"),x.$imageWrapEl=x.$imageEl.parent("."+w.containerClass)),x.$imageEl&&0!==x.$imageEl.length&&(x.$slideEl.addClass(""+w.zoomedSlideClass),void 0===E.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,n="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=E.touchesStart.x,n=E.touchesStart.y),g.scale=x.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,g.currentScale=x.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,e?(y=x.$slideEl[0].offsetWidth,v=x.$slideEl[0].offsetHeight,r=x.$slideEl.offset().left,a=x.$slideEl.offset().top,o=r+y/2-t,l=a+v/2-n,u=
9x.$imageEl[0].offsetWidth,d=x.$imageEl[0].offsetHeight,p=u*g.scale,f=d*g.scale,m=Math.min(y/2-p/2,0),_=Math.min(v/2-f/2,0),h=-m,b=-_,s=o*g.scale,c=l*g.scale,s<m&&(s=m),s>h&&(s=h),c<_&&(c=_),c>b&&(c=b)):(s=0,c=0),x.$imageWrapEl.transition(300).transform("translate3d("+s+"px, "+c+"px,0)"),x.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+g.scale+")"))},out:function(){var e=this.zoom,t=this.params.zoom,n=e.gesture;n.$slideEl||(n.$slideEl=this.clickedSlide?i(this.clickedSlide):this.slides.eq(this.activeIndex),n.$imageEl=n.$slideEl.find("img, svg, canvas"),n.$imageWrapEl=n.$imageEl.parent("."+t.containerClass)),n.$imageEl&&0!==n.$imageEl.length&&(e.scale=1,e.currentScale=1,n.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),n.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),n.$slideEl.removeClass(""+t.zoomedSlideClass),n.$slideEl=void 0)},enable:function(){var e=this.zoom;if(!e.enabled){e.enabled=!0;var t=!("touchstart"!==this.touchEvents.start||!l.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},n=!l.passiveListener||{passive:!1,capture:!0};l.gestures?(this.$wrapperEl.on("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,".swiper-slide",e.onGestureChange,n),this.$wrapperEl.on(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.on(this.touchEvents.cancel,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,n)}},disable:function(){var e=this.zoom;if(e.enabled){this.zoom.enabled=!1;var t=!("touchstart"!==this.touchEvents.start||!l.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},n=!l.passiveListener||{passive:!1,capture:!0};l.gestures?(this.$wrapperEl.off("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,".swiper-slide",e.onGestureChange,n),this.$wrapperEl.off(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.off(this.touchEvents.cancel,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,n)}}},ie={loadInSlide:function(e,t){void 0===t&&(t=!0);var n=this,r=n.params.lazy;if(void 0!==e&&0!==n.slides.length){var a=n.virtual&&n.params.virtual.enabled,o=a?n.$wrapperEl.children("."+n.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):n.slides.eq(e),l=o.find("."+r.elementClass+":not(."+r.loadedClass+"):not(."+r.loadingClass+")");!o.hasClass(r.elementClass)||o.hasClass(r.loadedClass)||o.hasClass(r.loadingClass)||(l=l.add(o[0])),0!==l.length&&l.each(function(e,a){var l=i(a);l.addClass(r.loadingClass);var s=l.attr("data-background"),c=l.attr("data-src"),u=l.attr("data-srcset"),d=l.attr("data-sizes");n.loadImage(l[0],c||s,u,d,!1,function(){if(null!=n&&n&&(!n||n.params)&&!n.destroyed){if(s?(l.css("background-image",'url("'+s+'")'),l.removeAttr("data-background")):(u&&(l.attr("srcset",u),l.removeAttr("data-srcset")),d&&(l.attr("sizes",d),l.removeAttr("data-sizes")),c&&(l.attr("src",c),l.removeAttr("data-src"))),l.addClass(r.loadedClass).removeClass(r.loadingClass),o.find("."+r.preloaderClass).remove(),n.params.loop&&t){var e=o.attr("data-swiper-slide-index");if(o.hasClass(n.params.slideDuplicateClass)){var i=n.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+n.params.slideDuplicateClass+")");n.lazy.loadInSlide(i.index(),!1)}else{var a=n.$wrapperEl.children("."+n.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');n.lazy.loadInSlide(a.index(),!1)}}n.emit("lazyImageReady",o[0],l[0])}}),n.emit("lazyImageLoad",o[0],l[0])})}},load:function(){var e=this,t=e.$wrapperEl,n=e.params,r=e.slides,a=e.activeIndex,o=e.virtual&&n.virtual.enabled,l=n.lazy,s=n.slidesPerView;function c(e){if(o){if(t.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(r[e])return!0;return!1}function u(e){return o?i(e).attr("data-swiper-slide-index"):i(e).index()}if("auto"===s&&(s=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+n.slideVisibleClass).each(function(t,n){var r=o?i(n).attr("data-swiper-slide-index"):i(n).index();e.lazy.loadInSlide(r)});else if(s>1)for(var d=a;d<a+s;d+=1)c(d)&&e.lazy.loadInSlide(d);else e.lazy.loadInSlide(a);if(l.loadPrevNext)if(s>1||l.loadPrevNextAmount&&l.loadPrevNextAmount>1){for(var p=l.loadPrevNextAmount,f=s,m=Math.min(a+f+Math.max(p,f),r.length),_=Math.max(a-Math.max(f,p),0),h=a+s;h<m;h+=1)c(h)&&e.lazy.loadInSlide(h);for(var b=_;b<a;b+=1)c(b)&&e.lazy.loadInSlide(b)}else{var y=t.children("."+n.slideNextClass);y.length>0&&e.lazy.loadInSlide(u(y));var v=t.children("."+n.slidePrevClass);v.length>0&&e.lazy.loadInSlide(u(v))}}},re={LinearSpline:function(e,t){var n,i,r,a,o,l=function(e,t){for(i=-1,n=e.length;n-i>1;)e[r=n+i>>1]<=t?i=r:n=r;return n};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(o=l(this.x,e),a=o-1,(e-this.x[a])*(this.y[o]-this.y[a])/(this.x[o]-this.x[a])+this.y[a]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new re.LinearSpline(this.slidesGrid,e.slidesGrid):new re.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var n,i,r=this,a=r.controller.control;function o(e){var t=r.rtlTranslate?-r.translate:r.translate;"slide"===r.params.controller.by&&(r.controller.getInterpolateFunction(e),i=-r.controller.spline.interpolate(-t)),i&&"container"!==r.params.controller.by||(n=(e.maxTranslate()-e.minTranslate())/(r.maxTranslate()-r.minTranslate()),i=(t-r.minTranslate())*n+e.minTranslate()),r.params.controller.inverse&&(i=e.maxTranslate()-i),e.updateProgress(i),e.setTranslate(i,r),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(a))for(var l=0;l<a.length;l+=1)a[l]!==t&&a[l]instanceof R&&o(a[l]);else a instanceof R&&t!==a&&o(a)},setTransition:function(e,t){var n,i=this,r=i.controller.control;function a(t){t.setTransition(e,i),0!==e&&(t.transitionStart(),t.params.autoHeight&&o.nextTick(function(){t.updateAutoHeight()}),t.$wrapperEl.transitionEnd(function(){r&&(t.params.loop&&"slide"===i.params.controller.by&&t.loopFix(),t.transitionEnd())}))}if(Array.isArray(r))for(n=0;n<r.length;n+=1)r[n]!==t&&r[n]instanceof R&&a(r[n]);else r instanceof R&&t!==r&&a(r)}},ae={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){o.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:re.getInterpolateFunction.bind(this),setTranslate:re.setTranslate.bind(this),setTransition:re.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},oe={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this.params.a11y;if(13===e.keyCode){var n=i(e.target);this.navigation&&this.navigation.$nextEl&&n.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.isEnd?this.a11y.notify(t.lastSlideMessage):this.a11y.notify(t.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&n.is(this.navigation.$prevEl)&&(this.isBeg
9inning&&!this.params.loop||this.slidePrev(),this.isBeginning?this.a11y.notify(t.firstSlideMessage):this.a11y.notify(t.prevSlideMessage)),this.pagination&&n.is("."+this.params.pagination.bulletClass)&&n[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){if(!this.params.loop&&this.navigation){var e=this.navigation,t=e.$nextEl,n=e.$prevEl;n&&n.length>0&&(this.isBeginning?this.a11y.disableEl(n):this.a11y.enableEl(n)),t&&t.length>0&&(this.isEnd?this.a11y.disableEl(t):this.a11y.enableEl(t))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each(function(n,r){var a=i(r);e.a11y.makeElFocusable(a),e.a11y.addElRole(a,"button"),e.a11y.addElLabel(a,t.paginationBulletMessage.replace(/{{index}}/,a.index()+1))})},init:function(){this.$el.append(this.a11y.liveRegion);var e,t,n=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,n.nextSlideMessage),e.on("keydown",this.a11y.onEnterKey)),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,n.prevSlideMessage),t.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var e,t;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},le={init:function(){if(this.params.history){if(!t.history||!t.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var e=this.history;e.initialized=!0,e.paths=le.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||t.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||t.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=le.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=t.location.pathname.slice(1).split("/").filter(function(e){return""!==e}),n=e.length,i=e[n-2],r=e[n-1];return{key:i,value:r}},setHistory:function(e,n){if(this.history.initialized&&this.params.history.enabled){var i=this.slides.eq(n),r=le.slugify(i.attr("data-history"));t.location.pathname.includes(e)||(r=e+"/"+r);var a=t.history.state;a&&a.value===r||(this.params.history.replaceState?t.history.replaceState({value:r},null,r):t.history.pushState({value:r},null,r))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,n){if(t)for(var i=0,r=this.slides.length;i<r;i+=1){var a=this.slides.eq(i),o=le.slugify(a.attr("data-history"));if(o===t&&!a.hasClass(this.params.slideDuplicateClass)){var l=a.index();this.slideTo(l,e,n)}}else this.slideTo(0,e,n)}},se={onHashCange:function(){var t=e.location.hash.replace("#",""),n=this.slides.eq(this.activeIndex).attr("data-hash");if(t!==n){var i=this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+t+'"]').index();if(void 0===i)return;this.slideTo(i)}},setHash:function(){if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled)if(this.params.hashNavigation.replaceState&&t.history&&t.history.replaceState)t.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||"");else{var n=this.slides.eq(this.activeIndex),i=n.attr("data-hash")||n.attr("data-history");e.location.hash=i||""}},init:function(){if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var n=e.location.hash.replace("#","");if(n)for(var r=0,a=this.slides.length;r<a;r+=1){var o=this.slides.eq(r),l=o.attr("data-hash")||o.attr("data-history");if(l===n&&!o.hasClass(this.params.slideDuplicateClass)){var s=o.index();this.slideTo(s,0,this.params.runCallbacksOnInit,!0)}}this.params.hashNavigation.watchState&&i(t).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&i(t).off("hashchange",this.hashNavigation.onHashCange)}},ce={run:function(){var e=this,t=e.slides.eq(e.activeIndex),n=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(n=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=o.nextTick(function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,
9!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()},n)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(e){this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==e&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run())))}},ue={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var n=this.slides.eq(t),i=n[0].swiperSlideOffset,r=-i;this.params.virtualTranslate||(r-=this.translate);var a=0;this.isHorizontal()||(a=r,r=0);var o=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(n[0].progress),0):1+Math.min(Math.max(n[0].progress,-1),0);n.css({opacity:o}).transform("translate3d("+r+"px, "+a+"px, 0px)")}},setTransition:function(e){var t=this,n=t.slides,i=t.$wrapperEl;if(n.transition(e),t.params.virtualTranslate&&0!==e){var r=!1;n.transitionEnd(function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],n=0;n<e.length;n+=1)i.trigger(e[n])}})}}},de={setTranslate:function(){var e,t=this.$el,n=this.$wrapperEl,r=this.slides,a=this.width,o=this.height,l=this.rtlTranslate,s=this.size,c=this.params.cubeEffect,u=this.isHorizontal(),d=this.virtual&&this.params.virtual.enabled,p=0;c.shadow&&(u?(0===(e=n.find(".swiper-cube-shadow")).length&&(e=i('<div class="swiper-cube-shadow"></div>'),n.append(e)),e.css({height:a+"px"})):0===(e=t.find(".swiper-cube-shadow")).length&&(e=i('<div class="swiper-cube-shadow"></div>'),t.append(e)));for(var f=0;f<r.length;f+=1){var m=r.eq(f),_=f;d&&(_=parseInt(m.attr("data-swiper-slide-index"),10));var h=90*_,b=Math.floor(h/360);l&&(h=-h,b=Math.floor(-h/360));var y=Math.max(Math.min(m[0].progress,1),-1),v=0,g=0,w=0;_%4==0?(v=4*-b*s,w=0):(_-1)%4==0?(v=0,w=4*-b*s):(_-2)%4==0?(v=s+4*b*s,w=s):(_-3)%4==0&&(v=-s,w=3*s+4*s*b),l&&(v=-v),u||(g=v,v=0);var x="rotateX("+(u?0:-h)+"deg) rotateY("+(u?h:0)+"deg) translate3d("+v+"px, "+g+"px, "+w+"px)";if(y<=1&&y>-1&&(p=90*_+90*y,l&&(p=90*-_-90*y)),m.transform(x),c.slideShadows){var E=u?m.find(".swiper-slide-shadow-left"):m.find(".swiper-slide-shadow-top"),O=u?m.find(".swiper-slide-shadow-right"):m.find(".swiper-slide-shadow-bottom");0===E.length&&(E=i('<div class="swiper-slide-shadow-'+(u?"left":"top")+'"></div>'),m.append(E)),0===O.length&&(O=i('<div class="swiper-slide-shadow-'+(u?"right":"bottom")+'"></div>'),m.append(O)),E.length&&(E[0].style.opacity=Math.max(-y,0)),O.length&&(O[0].style.opacity=Math.max(y,0))}}if(n.css({"-webkit-transform-origin":"50% 50% -"+s/2+"px","-moz-transform-origin":"50% 50% -"+s/2+"px","-ms-transform-origin":"50% 50% -"+s/2+"px","transform-origin":"50% 50% -"+s/2+"px"}),c.shadow)if(u)e.transform("translate3d(0px, "+(a/2+c.shadowOffset)+"px, "+-a/2+"px) rotateX(90deg) rotateZ(0deg) scale("+c.shadowScale+")");else{var k=Math.abs(p)-90*Math.floor(Math.abs(p)/90),S=1.5-(Math.sin(2*k*Math.PI/360)/2+Math.cos(2*k*Math.PI/360)/2),P=c.shadowScale,T=c.shadowScale/S,N=c.shadowOffset;e.transform("scale3d("+P+", 1, "+T+") translate3d(0px, "+(o/2+N)+"px, "+-o/2/T+"px) rotateX(-90deg)")}var j=H.isSafari||H.isUiWebView?-s/2:0;n.transform("translate3d(0px,0,"+j+"px) rotateX("+(this.isHorizontal()?0:p)+"deg) rotateY("+(this.isHorizontal()?-p:0)+"deg)")},setTransition:function(e){var t=this.$el,n=this.slides;n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},pe={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,n=0;n<e.length;n+=1){var r=e.eq(n),a=r[0].progress;this.params.flipEffect.limitRotation&&(a=Math.max(Math.min(r[0].progress,
91),-1));var o=r[0].swiperSlideOffset,l=-180*a,s=l,c=0,u=-o,d=0;if(this.isHorizontal()?t&&(s=-s):(d=u,u=0,c=-s,s=0),r[0].style.zIndex=-Math.abs(Math.round(a))+e.length,this.params.flipEffect.slideShadows){var p=this.isHorizontal()?r.find(".swiper-slide-shadow-left"):r.find(".swiper-slide-shadow-top"),f=this.isHorizontal()?r.find(".swiper-slide-shadow-right"):r.find(".swiper-slide-shadow-bottom");0===p.length&&(p=i('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),r.append(p)),0===f.length&&(f=i('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),r.append(f)),p.length&&(p[0].style.opacity=Math.max(-a,0)),f.length&&(f[0].style.opacity=Math.max(a,0))}r.transform("translate3d("+u+"px, "+d+"px, 0px) rotateX("+c+"deg) rotateY("+s+"deg)")}},setTransition:function(e){var t=this,n=t.slides,i=t.activeIndex,r=t.$wrapperEl;if(n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var a=!1;n.eq(i).transitionEnd(function(){if(!a&&t&&!t.destroyed){a=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],n=0;n<e.length;n+=1)r.trigger(e[n])}})}}},fe={setTranslate:function(){for(var e=this.width,t=this.height,n=this.slides,r=this.$wrapperEl,a=this.slidesSizesGrid,o=this.params.coverflowEffect,s=this.isHorizontal(),c=this.translate,u=s?e/2-c:t/2-c,d=s?o.rotate:-o.rotate,p=o.depth,f=0,m=n.length;f<m;f+=1){var _=n.eq(f),h=a[f],b=_[0].swiperSlideOffset,y=(u-b-h/2)/h*o.modifier,v=s?d*y:0,g=s?0:d*y,w=-p*Math.abs(y),x=s?0:o.stretch*y,E=s?o.stretch*y:0;Math.abs(E)<.001&&(E=0),Math.abs(x)<.001&&(x=0),Math.abs(w)<.001&&(w=0),Math.abs(v)<.001&&(v=0),Math.abs(g)<.001&&(g=0);var O="translate3d("+E+"px,"+x+"px,"+w+"px)  rotateX("+g+"deg) rotateY("+v+"deg)";if(_.transform(O),_[0].style.zIndex=1-Math.abs(Math.round(y)),o.slideShadows){var k=s?_.find(".swiper-slide-shadow-left"):_.find(".swiper-slide-shadow-top"),S=s?_.find(".swiper-slide-shadow-right"):_.find(".swiper-slide-shadow-bottom");0===k.length&&(k=i('<div class="swiper-slide-shadow-'+(s?"left":"top")+'"></div>'),_.append(k)),0===S.length&&(S=i('<div class="swiper-slide-shadow-'+(s?"right":"bottom")+'"></div>'),_.append(S)),k.length&&(k[0].style.opacity=y>0?y:0),S.length&&(S[0].style.opacity=-y>0?-y:0)}}if(l.pointerEvents||l.prefixedPointerEvents){var P=r[0].style;P.perspectiveOrigin=u+"px 50%"}},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},me={init:function(){var e=this.params,t=e.thumbs,n=this.constructor;t.swiper instanceof n?(this.thumbs.swiper=t.swiper,o.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),o.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):o.isObject(t.swiper)&&(this.thumbs.swiper=new n(o.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick:function(){var e=this.thumbs.swiper;if(e){var t=e.clickedIndex,n=e.clickedSlide;if(!(n&&i(n).hasClass(this.params.thumbs.slideThumbActiveClass)||null==t)){var r;if(r=e.params.loop?parseInt(i(e.clickedSlide).attr("data-swiper-slide-index"),10):t,this.params.loop){var a=this.activeIndex;this.slides.eq(a).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,a=this.activeIndex);var o=this.slides.eq(a).prevAll('[data-swiper-slide-index="'+r+'"]').eq(0).index(),l=this.slides.eq(a).nextAll('[data-swiper-slide-index="'+r+'"]').eq(0).index();r=void 0===o?l:void 0===l?o:l-a<a-o?l:o}this.slideTo(r)}}},update:function(e){var t=this.thumbs.swiper;if(t){var n="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():t.params.slidesPerView;if(this.realIndex!==t.realIndex){var i,r=t.activeIndex;if(t.params.loop){t.slides.eq(r).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,r=t.activeIndex);var a=t.slides.eq(r).prevAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index(),o=t.slides.eq(r).nextAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index();
9i=void 0===a?o:void 0===o?a:o-r==r-a?r:o-r<r-a?o:a}else i=this.realIndex;t.visibleSlidesIndexes&&t.visibleSlidesIndexes.indexOf(i)<0&&(t.params.centeredSlides?i=i>r?i-Math.floor(n/2)+1:i+Math.floor(n/2)-1:i>r&&(i=i-n+1),t.slideTo(i,e?0:void 0))}var l=1,s=this.params.thumbs.slideThumbActiveClass;if(this.params.slidesPerView>1&&!this.params.centeredSlides&&(l=this.params.slidesPerView),this.params.thumbs.multipleActiveThumbs||(l=1),l=Math.floor(l),t.slides.removeClass(s),t.params.loop||t.params.virtual&&t.params.virtual.enabled)for(var c=0;c<l;c+=1)t.$wrapperEl.children('[data-swiper-slide-index="'+(this.realIndex+c)+'"]').addClass(s);else for(var u=0;u<l;u+=1)t.slides.eq(this.realIndex+u).addClass(s)}}},_e=[B,F,W,q,G,K,$,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){o.extend(this,{mousewheel:{enabled:!1,enable:Z.enable.bind(this),disable:Z.disable.bind(this),handle:Z.handle.bind(this),handleMouseEnter:Z.handleMouseEnter.bind(this),handleMouseLeave:Z.handleMouseLeave.bind(this),animateSlider:Z.animateSlider.bind(this),releaseScroll:Z.releaseScroll.bind(this),lastScrollTime:o.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[]}})},on:{init:function(){!this.params.mousewheel.enabled&&this.params.cssMode&&this.mousewheel.disable(),this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.params.cssMode&&this.mousewheel.enable(),this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){o.extend(this,{navigation:{init:Q.init.bind(this),update:Q.update.bind(this),destroy:Q.destroy.bind(this),onNextClick:Q.onNextClick.bind(this),onPrevClick:Q.onPrevClick.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,n=this.navigation,r=n.$nextEl,a=n.$prevEl;!this.params.navigation.hideOnClick||i(e.target).is(a)||i(e.target).is(r)||(r?t=r.hasClass(this.params.navigation.hiddenClass):a&&(t=a.hasClass(this.params.navigation.hiddenClass)),!0===t?this.emit("navigationShow",this):this.emit("navigationHide",this),r&&r.toggleClass(this.params.navigation.hiddenClass),a&&a.toggleClass(this.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){o.extend(this,{pagination:{init:J.init.bind(this),render:J.render.bind(this),update:J.update.bind(this),destroy:J.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){this.params.loop?this.pagination.update():void 0===this.snapIndex&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){if(this.params.pagination.el&&this.params.pagination.hideOnClick&&this.pagination.$el.length>0&&!i(e.target).hasClass(this.params.pagination.bulletClass)){var t=this.pagination.$el.hasClass(this.params.pagination.hiddenClass);
9!0===t?this.emit("paginationShow",this):this.emit("paginationHide",this),this.pagination.$el.toggleClass(this.params.pagination.hiddenClass)}}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){o.extend(this,{scrollbar:{init:ee.init.bind(this),destroy:ee.destroy.bind(this),updateSize:ee.updateSize.bind(this),setTranslate:ee.setTranslate.bind(this),setTransition:ee.setTransition.bind(this),enableDraggable:ee.enableDraggable.bind(this),disableDraggable:ee.disableDraggable.bind(this),setDragPosition:ee.setDragPosition.bind(this),getPointerPosition:ee.getPointerPosition.bind(this),onDragStart:ee.onDragStart.bind(this),onDragMove:ee.onDragMove.bind(this),onDragEnd:ee.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){o.extend(this,{parallax:{setTransform:te.setTransform.bind(this),setTranslate:te.setTranslate.bind(this),setTransition:te.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(function(n){t[n]=ne[n].bind(e)}),o.extend(e,{zoom:t});var n=1;Object.defineProperty(e.zoom,"scale",{get:function(){return n},set:function(t){if(n!==t){var i=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,r=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,i,r)}n=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()},slideChange:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.params.cssMode&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){o.extend(this,{lazy:{initialImageLoaded:!1,load:ie.load.bind(this),loadInSlide:ie.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()},slideChange:function(){this.params.lazy.enabled&&this.params.cssMode&&this.lazy.load()}}},ae,{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var e=this;o.extend(e,{a11y:{liveRegion:i('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(oe).forEach(function(t){e.a11y[t]=oe[t].bind(e)})},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){o.extend(this,{history:{init:le.init.bind(this),setHistory:le.setHistory.bind(this),setHistoryPopState:le.setHistoryPopState.bind(this),scrollToSlide:le.scrollToSlide.bind(this),destroy:le.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)},slideChange:function(){this.history.initialized&&this.params.cssMode&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){o.extend(this,{hashNavigation:{initialized:!1,init:se.init.bind(this),destroy:se.destroy.bind(this),setHash:se.setHash.bind(this),onHashCange:se.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()},slideChange:function(){this.hashNavigation.initialized&&this.params.cssMode&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;o.extend(e,{autoplay:{running:!1,paused:!1,run:ce.run.bind(e),start:ce.start.bind(e),stop:ce.stop.bind(e),pause:ce.pause.bind(e),onVisibilityChange:function(){"hidden"===document.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===document.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&(this.autoplay.start(),document.addEventListener("visibilitychange",this.autoplay.onVisibilityChange))},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},touchEnd:function(){this.params.cssMode&&this.autoplay.paused&&!this.params.autoplay.disableOnInteraction&&this.autoplay.run()},destroy:function(){this.autoplay.running&&this.autoplay.stop(),document.removeEventListener("visibilitychange",this.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){o.extend(this,{fadeEffect:{setTranslate:ue.setTranslate.bind(this),setTransition:ue.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"fade");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};o.extend(this.params,e),o.extend(this.originalParams,e)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){o.extend(this,{cubeEffect:{setTranslate:de.setTranslate.bind(this),setTransition:de.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};o.extend(this.params,e),o.extend(this.originalParams,e)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){o.extend(this,{flipEffect:{setTranslate:pe.setTranslate.bind(this),setTransition:pe.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};o.extend(this.params,e),o.extend(this.originalParams,e)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){o.extend(this,{coverflowEffect:{setTranslate:fe.setTranslate.bind(this),setTransition:fe.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{multipleActiveThumbs:!0,swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){o.extend(this,{thumbs:{swiper:null,init:me.init.bind(this),update:me.update.bind(this),onThumbClick:me.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params,t=e.thumbs;t&&t.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===R.use&&(R.use=R.Class.use,R.installModule=R.Class.installModule),R.use(_e),R}()},46:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i={INITIAL:"initial",LOADING:"loading",SUCCESS:"success",FAILURE:"failure"}},48:function(e,t,n){"use strict";t.__esModule=!0;var i,r=n(171),a=(i=r)&&i.__esModule?i:{default:i};t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,a.default)(e)}},52:function(e,t,n){var i=n(35),r=n(132),a=n(136),o=n(165);e.exports=function(e,t){return i(e)?e:r(e,t)?[e]:a(o(e))}},53:function(e,t,n){var i=n(54),r=n(57),a="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||r(e)&&i(e)==a}},54:function(e,t,n){var i=n(55),r=n(134),a=n(135),o="[object Null]",l="[object Undef
9ined]",s=i?i.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?l:o:s&&s in Object(e)?r(e):a(e)}},55:function(e,t,n){var i=n(56).Symbol;e.exports=i},56:function(e,t,n){var i=n(133),r="object"==typeof self&&self&&self.Object===Object&&self,a=i||r||Function("return this")();e.exports=a},57:function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},58:function(e,t,n){var i=n(143),r=n(148);e.exports=function(e,t){var n=r(e,t);return i(n)?n:void 0}},59:function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},60:function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},61:function(e,t,n){var i=n(53),r=1/0;e.exports=function(e){if("string"==typeof e||i(e))return e;var t=e+"";return"0"==t&&1/e==-r?"-0":t}},62:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(10));t.argumentContainer=function(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,(0,r.default)(e,t)},t.identity=function(e){return e},t.flattenArray=function(e){return Array.prototype.concat.apply([],e)},t.treeTraverse=l,t.flattenFields=function(e,t,n){var i={};return l(void 0,e,t,n,function(e,t){i[e]=t}),i},t.normalizeValidateRules=function(e,t,n){var r=e.map(function(e){var t=(0,i.default)({},e,{trigger:e.trigger||[]});return"string"==typeof t.trigger&&(t.trigger=[t.trigger]),t});t&&r.push({trigger:n?[].concat(n):[],rules:t});return r},t.getValidateTriggers=function(e){return e.filter(function(e){return!!e.rules&&e.rules.length}).map(function(e){return e.trigger}).reduce(function(e,t){return e.concat(t)},[])},t.getValueFromEvent=function(e){if(!e||!e.target)return e;var t=e.target;return"checkbox"===t.type?t.checked:t.value},t.getErrorStrs=function(e){if(e)return e.map(function(e){return e&&e.message?e.message:e});return e},t.getParams=function(e,t,n){var i=e,r=t,a=n;void 0===n&&("function"==typeof i?(a=i,r={},i=void 0):Array.isArray(i)?"function"==typeof r?(a=r,r={}):r=r||{}:(a=r,r=i||{},i=void 0));return{names:i,options:r,callback:a}},t.isEmptyObject=function(e){return 0===Object.keys(e).length},t.hasRules=function(e){if(e)return e.some(function(e){return e.rules&&e.rules.length});return!1},t.startsWith=function(e,t){return 0===e.lastIndexOf(t,0)};var r=o(n(182)),a=o(n(32));function o(e){return e&&e.__esModule?e:{default:e}}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments[1],n=arguments[2],i=arguments[3],r=arguments[4];if(n(e,t))r(e,t);else if(null==t);else if(Array.isArray(t))t.forEach(function(t,a){return l(e+"["+a+"]",t,n,i,r)});else{if("object"!=typeof t)return void(0,a.default)(!1,i);Object.keys(t).forEach(function(a){var o=t[a];l(e+(e?".":"")+a,o,n,i,r)})}}},70:function(e,t,n){"use strict";var i=n(5),r=n.n(i),a=n(0),o=n.n(a),l=(n(1),n(6)),s=n.n(l),c=n(39);n(339);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var d={"./index.css":{container:"index__container___i9f4e","title-container":"index__title-container___2OOWb","col-left-wrap":"index__col-left-wrap___2BH6p","fixed-default":"index__fixed-default___3Wf4a","fixed-subNav":"index__fixed-subNav___3sy7p",normal:"index__normal___1uEs6",absoluted:"index__absoluted___1E8dx"}};function p(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h,b,y,v=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,(n=!(r=f(t).call(this,e))||"object"!==u(r)&&"function"!=typeof r?m(i):r).state={fixedTop:!1,fixedDomBottom:!1},n.bindScroll=n.bindScroll.bind(m(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(t,o.a.Component),n=t,a=[{key:"renderPlaceHolder",value:function(e,t){var n={display:"none"};return e&&(n={opacity:0,display:"block"}),o.a.createElement("h2",{style:n},t)}}],(i=[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.bindScroll)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.bindScroll)}},{key:"bindScroll",value:function(){var e=this.containerDom.offsetTop,t=this.containerDom.offsetTop+this.containerDom.clientHeight-this.titleDom.clientHeight,n=this.state.fixedTop,i=this.props.withSubNav,r=Math.max(document.documentElement.scrollTop,document.body.scrollTop);(t=i?t-64:t)<=r&&Object(c.a)(this.containerDom)?this.setState({fixedDomBottom:!0}):this.setState({fixedDomBottom:!1}),n?(t<r||r<e)&&this.setState({fixedTop:!1}):e<r&&r<t&&this.setState({fixedTop:!0})}},{key:"render",value:function(){var e=this,n=this.state,i=n.fixedTop,a=n.fixedDomBottom,l=this.props,c=l.title,u=l.children,p=l.withSubNav,f=l.tabBar,m=s()({"fixed-default":i&&!p,"fixed-subNav":i&&p,absoluted:a});return o.a.createElement("div",{className:"index__container___i9f4e",ref:function(t){e.containerDom=t}},o.a.createElement("div",{className:"index__title-container___2OOWb"},o.a.createElement("h2",{ref:function(t){e.titleDom=t},className:r()(m,d)},c),f,t.renderPlaceHolder(i,c)),o.a.createElement("div",{className:"index__col-left-wrap___2BH6p"},u))}}
vendor: 4,152 bytes, line 9
9])&&p(n.prototype,i),a&&p(n,a),t}();y={withSubNav:!1},(b="defaultProps")in(h=v)?Object.defineProperty(h,b,{value:y,enumerable:!0,configurable:!0,writable:!0}):h[b]=y,t.a=v},76:function(e,t,n){"use strict";var i=n(121),r=n(122);function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=v,t.resolve=function(e,t){return v(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?v(e,!1,!0).resolveObject(t):t},t.format=function(e){r.isString(e)&&(e=v(e));return e instanceof a?e.format():a.prototype.format.call(e)},t.Url=a;var o=/^([a-z0-9.+-]+:)/i,l=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(c),d=["%","/","?",";","#"].concat(u),p=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},h={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n(123);function v(e,t,n){if(e&&r.isObject(e)&&e instanceof a)return e;var i=new a;return i.parse(e,t,n),i}a.prototype.parse=function(e,t,n){if(!r.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),l=-1!==a&&a<e.indexOf("#")?"?":"#",c=e.split(l);c[0]=c[0].replace(/\\/g,"/");var v=e=c.join(l);if(v=v.trim(),!n&&1===e.split("#").length){var g=s.exec(v);if(g)return this.path=v,this.href=v,this.pathname=g[1],g[2]?(this.search=g[2],this.query=t?y.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=o.exec(v);if(w){var x=(w=w[0]).toLowerCase();this.protocol=x,v=v.substr(w.length)}if(n||w||v.match(/^\/\/[^@\/]+@[^@\/]+/)){var E="//"===v.substr(0,2);!E||w&&h[w]||(v=v.substr(2),this.slashes=!0)}if(!h[w]&&(E||w&&!b[w])){for(var O,k,S=-1,P=0;P<p.length;P++){-1!==(T=v.indexOf(p[P]))&&(-1===S||T<S)&&(S=T)}-1!==(k=-1===S?v.lastIndexOf("@"):v.lastIndexOf("@",S))&&(O=v.slice(0,k),v=v.slice(k+1),this.auth=decodeURIComponent(O)),S=-1;for(P=0;P<d.length;P++){var T;-1!==(T=v.indexOf(d[P]))&&(-1===S||T<S)&&(S=T)}-1===S&&(S=v.length),this.host=v.slice(0,S),v=v.slice(S),this.parseHost(),this.hostname=this.hostname||"";var N="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!N)for(var j=this.hostname.split(/\./),C=(P=0,j.length);P<C;P++){var L=j[P];if(L&&!L.match(f)){for(var M="",I=0,A=L.length;I<A;I++)L.charCodeAt(I)>127?M+="x":M+=L[I];if(!M.match(f)){var D=j.slice(0,P),z=j.slice(P+1),V=L.match(m);V&&(D.push(V[1]),z.unshift(V[2])),z.length&&(v="/"+z.join(".")+v),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),N||(this.hostname=i.toASCII(this.hostname));var R=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+R,this.href+=this.host,N&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!_[x])for(P=0,C=u.length;P<C;P++){var F=u[P];if(-1!==v.indexOf(F)){var H=encodeURIComponent(F);H===F&&(H=escape(F)),v=v.split(F).join(H)}}var W=v.indexOf("#");-1!==W&&(this.hash=v.substr(W),v=v.slice(0,W));var q=v.indexOf("?");if(-1!==q?(this.search=v.substr(q),this.query=v.substr(q+1),t&&(this.query=y.parse(this.query)),v=v.slice(0,q)):t&&(this.search="",this.query={}),v&&(this.pathname=v),b[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){R=this.pathname||"";var U=this.search||"";this.path=R+U}return this.href=this.format(),this},a.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",i=this.hash||"",a=!1,o="";this.host?a=e+this.host:this.hostname&&(a=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(a+=":"+this.port)),this.query&&r.isObject(this.query)&&Object.keys(this.query).length&&(o=y.stringify(this.query));var l=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&
9!1!==a?(a="//"+(a||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):a||(a=""),i&&"#"!==i.charAt(0)&&(i="#"+i),l&&"?"!==l.charAt(0)&&(l="?"+l),t+a+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(l=l.replace("#","%23"))+i},a.prototype.resolve=function(e){return this.resolveObject(v(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(r.isString(e)){var t=new a;t.parse(e,!1,!0),e=t}for(var n=new a,i=Object.keys(this),o=0;o<i.length;o++){var l=i[o];n[l]=this[l]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),c=0;c<s.length;c++){var u=s[c];"protocol"!==u&&(n[u]=e[u])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!b[e.protocol]){for(var d=Object.keys(e),p=0;p<d.length;p++){var f=d[p];n[f]=e[f]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||h[e.protocol])n.pathname=e.pathname;else{for(var m=(e.pathname||"").split("/");m.length&&!(e.host=m.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==m[0]&&m.unshift(""),m.length<2&&m.unshift(""),n.pathname=m.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var _=n.pathname||"",y=n.search||"";n.path=_+y}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var v=n.pathname&&"/"===n.pathname.charAt(0),g=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=g||v||n.host&&e.pathname,x=w,E=n.pathname&&n.pathname.split("/")||[],O=(m=e.pathname&&e.pathname.split("/")||[],n.protocol&&!b[n.protocol]);if(O&&(n.hostname="",n.port=null,n.host&&(""===E[0]?E[0]=n.host:E.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===m[0]?m[0]=e.host:m.unshift(e.host)),e.host=null),w=w&&(""===m[0]||""===E[0])),g)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,E=m;else if(m.length)E||(E=[]),E.pop(),E=E.concat(m),n.search=e.search,n.query=e.query;else if(!r.isNullOrUndefined(e.search)){if(O)n.hostname=n.host=E.shift(),(N=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=N.shift(),n.host=n.hostname=N.shift());return n.search=e.search,n.query=e.query,r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!E.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var k=E.slice(-1)[0],S=(n.host||e.host||E.length>1)&&("."===k||".."===k)||""===k,P=0,T=E.length;T>=0;T--)"."===(k=E[T])?E.splice(T,1):".."===k?(E.splice(T,1),P++):P&&(E.splice(T,1),P--);if(!w&&!x)for(;P--;P)E.unshift("..");!w||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),S&&"/"!==E.join("/").substr(-1)&&E.push("");var N,j=""===E[0]||E[0]&&"/"===E[0].charAt(0);O&&(n.hostname=n.host=j?"":E.length?E.shift():"",(N=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=N.shift(),n.host=n.hostname=N.shift()));return(w=w||n.host&&E.length)&&!j&&E.unshift(""),E.length?n.pathname=E.join("/"):(n.pathname=null,n.path=null),r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=l.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},78:function(e,t,n){var i=n(27),r=n(20),a=n(93);e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],o={};o[e]=t(n),i(i.S+i.F*a(function(){n(1)}),"Object",o)}},84:function(e,t){var n=9007199254740991,i=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?n:t)&&("number"==r||"symbol"!=r&&i.test(e))&&e>-1&&e%1==0&&e<t}},85:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=_(n(49)),r=_(n(13)),a=_(n(10)),o=_(n(48)),l=_(n(0)),s=_(n(172)),c=_(n(184)),u=(_(n(32)),_(n(174))),d=_(n(86)),p=_(n(60)),f=_(n(180)),m=n(62);
9function _(e){return e&&e.__esModule?e:{default:e}}var h="onChange";t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.validateMessages,_=e.onFieldsChange,b=e.onValuesChange,y=e.mapProps,v=void 0===y?m.identity:y,g=e.mapPropsToFields,w=e.fieldNameProp,x=e.fieldMetaProp,E=e.fieldDataProp,O=e.formPropName,k=void 0===O?"form":O,S=e.name,P=e.withRef;return function(e){var y=(0,s.default)({displayName:"Form",mixins:t,getInitialState:function(){var e=this,t=g&&g(this.props);return this.fieldsStore=(0,f.default)(t||{}),this.instances={},this.cachedBind={},this.clearedFieldMetaCache={},this.renderFields={},this.domFields={},["getFieldsValue","getFieldValue","setFieldsInitialValue","getFieldsError","getFieldError","isFieldValidating","isFieldsValidating","isFieldsTouched","isFieldTouched"].forEach(function(t){e[t]=function(){var n;return(n=e.fieldsStore)[t].apply(n,arguments)}}),{submitting:!1}},componentDidMount:function(){this.cleanUpUselessFields()},componentWillReceiveProps:function(e){g&&this.fieldsStore.updateFields(g(e))},componentDidUpdate:function(){this.cleanUpUselessFields()},onCollectCommon:function(e,t,n){var i=this.fieldsStore.getFieldMeta(e);if(i[t])i[t].apply(i,(0,o.default)(n));else if(i.originalProps&&i.originalProps[t]){var l;(l=i.originalProps)[t].apply(l,(0,o.default)(n))}var s=i.getValueFromEvent?i.getValueFromEvent.apply(i,(0,o.default)(n)):m.getValueFromEvent.apply(void 0,(0,o.default)(n));if(b&&s!==this.fieldsStore.getFieldValue(e)){var c=this.fieldsStore.getAllValues(),u={};c[e]=s,Object.keys(c).forEach(function(e){return(0,d.default)(u,e,c[e])}),b((0,a.default)((0,r.default)({},k,this.getForm()),this.props),(0,d.default)({},e,s),u)}var p=this.fieldsStore.getField(e);return{name:e,field:(0,a.default)({},p,{value:s,touched:!0}),fieldMeta:i}},onCollect:function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];var l=this.onCollectCommon(e,t,i),s=l.name,c=l.field,u=l.fieldMeta.validate;this.fieldsStore.setFieldsAsDirty();var d=(0,a.default)({},c,{dirty:(0,m.hasRules)(u)});this.setFields((0,r.default)({},s,d))},onCollectValidate:function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];var o=this.onCollectCommon(e,t,i),l=o.field,s=o.fieldMeta,c=(0,a.default)({},l,{dirty:!0});this.fieldsStore.setFieldsAsDirty(),this.validateFieldsInternal([c],{action:t,options:{firstFields:!!s.validateFirst}})},getCacheBind:function(e,t,n){this.cachedBind[e]||(this.cachedBind[e]={});var i=this.cachedBind[e];return i[t]&&i[t].oriFn===n||(i[t]={fn:n.bind(this,e,t),oriFn:n}),i[t].fn},getFieldDecorator:function(e,t){var n=this,i=this.getFieldProps(e,t);return function(t){n.renderFields[e]=!0;var r=n.fieldsStore.getFieldMeta(e),o=t.props;return r.originalProps=o,r.ref=t.ref,l.default.cloneElement(t,(0,a.default)({},i,n.fieldsStore.getFieldValuePropValue(r)))}},getFieldProps:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};
9if(!e)throw new Error("Must call `getFieldProps` with valid name string!");delete this.clearedFieldMetaCache[e];var i=(0,a.default)({name:e,trigger:h,valuePropName:"value",validate:[]},n),r=i.rules,o=i.trigger,l=i.validateTrigger,s=void 0===l?o:l,c=i.validate,u=this.fieldsStore.getFieldMeta(e);"initialValue"in i&&(u.initialValue=i.initialValue);var d=(0,a.default)({},this.fieldsStore.getFieldValuePropValue(i),{ref:this.getCacheBind(e,e+"__ref",this.saveRef)});w&&(d[w]=S?S+"_"+e:e);var p=(0,m.normalizeValidateRules)(c,r,s),f=(0,m.getValidateTriggers)(p);f.forEach(function(n){d[n]||(d[n]=t.getCacheBind(e,n,t.onCollectValidate))}),o&&-1===f.indexOf(o)&&(d[o]=this.getCacheBind(e,o,this.onCollect));var _=(0,a.default)({},u,i,{validate:p});return this.fieldsStore.setFieldMeta(e,_),x&&(d[x]=_),E&&(d[E]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,d},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){var n=e.validate.filter(function(e){return!t||e.trigger.indexOf(t)>=0}).map(function(e){return e.rules});return(0,m.flattenArray)(n)},setFields:function(e,t){var n=this,i=this.fieldsStore.flattenRegisteredFields(e);if(this.fieldsStore.setFields(i),_){var o=Object.keys(i).reduce(function(e,t){return(0,d.default)(e,t,n.fieldsStore.getField(t))},{});_((0,a.default)((0,r.default)({},k,this.getForm()),this.props),o,this.fieldsStore.getNestedAllFields())}this.forceUpdate(t)},setFieldsValue:function(e,t){var n=this.fieldsStore.fieldsMeta,i=this.fieldsStore.flattenRegisteredFields(e),o=Object.keys(i).reduce(function(e,t){if(n[t]){var r=i[t];e[t]={value:r}}return e},{});if(this.setFields(o,t),b){var l=this.fieldsStore.getAllValues();b((0,a.default)((0,r.default)({},k,this.getForm()),this.props),e,l)}},saveRef:function(e,t,n){if(!n){var i=this.fieldsStore.getFieldMeta(e);return i.preserve||(this.clearedFieldMetaCache[e]={field:this.fieldsStore.getField(e),meta:i},this.clearField(e)),void delete this.domFields[e]}this.domFields[e]=!0,this.recoverClearedField(e);var r=this.fieldsStore.getFieldMeta(e);if(r){var a=r.ref;if(a){if("string"==typeof a)throw new Error("can not set ref string for "+e);"function"==typeof a?a(n):Object.prototype.hasOwnProperty.call(a,"current")&&(a.current=n)}}this.instances[e]=n},cleanUpUselessFields:function(){var e=this,t=this.fieldsStore.getAllFieldsName().filter(function(t){var n=e.fieldsStore.getFieldMeta(t);return!e.renderFields[t]&&!e.domFields[t]&&!n.preserve});t.length&&t.forEach(this.clearField),this.renderFields={}},clearField:function(e){this.fieldsStore.clearField(e),delete this.instances[e],delete this.cachedBind[e]},resetFields:function(e){var t=this,n=this.fieldsStore.resetFields(e);Object.keys(n).length>0&&this.setFields(n),e?(Array.isArray(e)?e:[e]).forEach(function(e){return delete t.clearedFieldMetaCache[e]}):this.clearedFieldMetaCache={}},recoverClearedField:function(e){this.clearedFieldMetaCache[e]&&(this.fieldsStore.setFields((0,r.default)({},e,this.clearedFieldMetaCache[e].field)),this.fieldsStore.setFieldMeta(e,this.clearedFieldMetaCache[e].meta),delete this.clearedFieldMetaCache[e])},validateFieldsInternal:function(e,t,i){var r=this,o=t.fieldNames,l=t.action,s=t.options,f=void 0===s?{}:s,_={},h={},b={},y={};if(e.forEach(function(e){var t=e.name;if(!0===f.force||!1!==e.dirty){var n=r.fieldsStore.getFieldMeta(t),i=(0,a.default)({},e);i.errors=void 0,i.validating=!0,i.dirty=!0,_[t]=r.getRules(n,l),h[t]=i.value,b[t]=i}else e.errors&&(0,d.default)(y,t,{errors:e.errors})}),this.setFields(b),Object.keys(h).forEach(function(e){h[e]=r.fieldsStore.getFieldValue(e)}),i&&(0,m.isEmptyObject)(b))i((0,m.isEmptyObject)(y)?null:y,this.fieldsStore.getFieldsValue(o));else{var v=new c.default(_);n&&v.messages(n),v.validate(h,f,function(e){var t=(0,a.default)({},y);e&&e.length&&e.forEach(function(e){var n=e.field,i=(0,u.default)(t,n);("object"!=typeof i||Array.isArray(i))&&(0,d.default)(t,n,{errors:[]}),(0,u.default)(t,n.concat(".errors")).push(e)});var n=[],l={};Object.keys(_).forEach(function(e){var i=(0,u.default)(t,e),a=r.fieldsStore.getField(e);(0,p.default)(a.value,h[e])?(a.errors=i&&i.errors,a.value=h[e],a.validating=!1,a.dirty=!1,l[e]=a):n.push({name:e})}
9),r.setFields(l),i&&(n.length&&n.forEach(function(e){var n=e.name,i=[{message:n+" need to revalidate",field:n}];(0,d.default)(t,n,{expired:!0,errors:i})}),i((0,m.isEmptyObject)(t)?null:t,r.fieldsStore.getFieldsValue(o)))})}},validateFields:function(e,t,n){var i=this,r=new Promise(function(r,a){var o=(0,m.getParams)(e,t,n),l=o.names,s=o.options,c=(0,m.getParams)(e,t,n).callback;if(!c||"function"==typeof c){var u=c;c=function(e,t){u?u(e,t):e?a({errors:e,values:t}):r(t)}}var d=l?i.fieldsStore.getValidFieldsFullName(l):i.fieldsStore.getValidFieldsName(),p=d.filter(function(e){var t=i.fieldsStore.getFieldMeta(e);return(0,m.hasRules)(t.validate)}).map(function(e){var t=i.fieldsStore.getField(e);return t.value=i.fieldsStore.getFieldValue(e),t});p.length?("firstFields"in s||(s.firstFields=d.filter(function(e){return!!i.fieldsStore.getFieldMeta(e).validateFirst})),i.validateFieldsInternal(p,{fieldNames:d,options:s},c)):c&&c(null,i.fieldsStore.getFieldsValue(d))});return r.catch(function(e){return console.error&&console.error(e),e}),r},isSubmitting:function(){return this.state.submitting},submit:function(e){var t=this;this.setState({submitting:!0}),e(function(){t.setState({submitting:!1})})},render:function(){var t=this.props,n=t.wrappedComponentRef,o=(0,i.default)(t,["wrappedComponentRef"]),s=(0,r.default)({},k,this.getForm());P?s.ref="wrappedComponent":n&&(s.ref=n);var c=v.call(this,(0,a.default)({},s,o));return l.default.createElement(e,c)}});return(0,m.argumentContainer)(y,e)}},e.exports=t.default},86:function(e,t,n){var i=n(176);e.exports=function(e,t,n){return null==e?e:i(e,t,n)}},87:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=u(n(10)),r=u(n(29)),a=u(n(126)),o=u(n(129)),l=u(n(85)),s=n(183),c=n(62);function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var n=window.getComputedStyle,i=n?n(e):e.currentStyle;if(i)return i[t.replace(/-(\w)/gi,function(e,t){return t.toUpperCase()})]}var p={getForm:function(){return(0,i.default)({},s.mixin.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(e,t,n){var l=this,s=(0,c.getParams)(e,t,n),u=s.names,p=s.callback,f=s.options;return this.validateFields(u,f,function(e,t){if(e){var n=l.fieldsStore.getValidFieldsName(),s=void 0,c=void 0;if(n.forEach(function(t){if((0,o.default)(e,t)){var n=l.getFieldInstance(t);if(n){var i=r.default.findDOMNode(n),a=i.getBoundingClientRect().top;"hidden"!==i.type&&(void 0===c||c>a)&&(c=a,s=i)}}}),s){var u=f.container||function(e){for(var t=e,n=void 0;"body"!==(n=t.nodeName.toLowerCase());){var i=d(t,"overflowY");if(t!==e&&("auto"===i||"scroll"===i)&&t.scrollHeight>t.clientHeight)return t;t=t.parentNode}return"body"===n?t.ownerDocument:t}(s);(0,a.default)(s,u,(0,i.default)({onlyScrollIfNeeded:!0},f.scroll))}}"function"==typeof p&&p(e,t)})}};t.default=function(e){return(0,l.default)((0,i.default)({},e),[p])},e.exports=t.default},88:function(e,t,n){"use strict";var i=n(0),r=n.n(i);n(1),n(279);t.a=function(e){var t=e.title;return r.a.createElement("div",{className:"index__container___qZKtl"},r.a.createElement("h1",{className:"index__pageTitle___3Af3c"},t))}},9:function(e,t,n){"use strict";var i=n(5),r=n.n(i),a=n(0),o=n.n(a),l=n(1),s=n.n(l),c=n(6),u=n.n(c),d=n(87),p=n.n(d),f=n(40),m=n.n(f);n(114);function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var b={"./style.css":{"tp-form":"style__tp-form___lOv0M","tp-form-item":"style__tp-form-item___17Oh3","tp-form-item-margin":"style__tp-form-item-margin___290z1","tp-form-item-label":"style__tp-form-item-label___2lGc-","tp-button":"style__tp-button___1O1EW","tp-form-error":"style__tp-form-error___3GVCG","tp-form-error-height":"style__tp-form-error-height___3drL0","tp-form-item-control-wrapper":"style__tp-form-item-control-wrapper___3AE9x","tp-form-hide":"style__tp-form-hide___xIi_l"}};function y(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function v(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
9function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O={prefixCls:s.a.string,children:s.a.node,onSubmit:s.a.func,style:s.a.string,create:s.a.func},k=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,r=g(t).call(this,e),n=!r||"object"!==_(r)&&"function"!=typeof r?w(i):r,E(w(n),"onSubmit",function(e){var t=n.props.onSubmit;"function"==typeof t&&t(e)}),n.state={},n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x(e,t)}(t,o.a.PureComponent),n=t,(i=[{key:"getChildContext",value:function(){return{formObj:this.props.form}}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.prefixCls,i=e.children,a=(e.onSubmit,y(e,["className","prefixCls","children","onSubmit"])),l=u()(n),s=m.a.omit(a,Object.keys(O));return o.a.createElement("form",h({},s,{onSubmit:this.onSubmit,autoComplete:"off",className:(t?t+" ":"")+r()(l,b)}),i)}}])&&v(n.prototype,i),a&&v(n,a),t}();E(k,"childContextTypes",{formObj:s.a.object}),E(k,"create",function(){return p()()}),k.defaultProps={prefixCls:"tp-form",children:"",style:"",onSubmit:function(e){e.preventDefault()},create:function(){}};var S=k,P=n(2);function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var N={"./style.css":{"tp-form":"style__tp-form___lOv0M","tp-form-item":"style__tp-form-item___17Oh3","tp-form-item-margin":"style__tp-form-item-margin___290z1","tp-form-item-label":"style__tp-form-item-label___2lGc-","tp-button":"style__tp-button___1O1EW","tp-form-error":"style__tp-form-error___3GVCG","tp-form-error-height":"style__tp-form-error-height___3drL0","tp-form-item-control-wrapper":"style__tp-form-item-control-wrapper___3AE9x","tp-form-hide":"style__tp-form-hide___xIi_l"}};function j(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function C(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=C(this,L(t).call(this,e))).state={},n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M(e,t)}(t,o.a.PureComponent),n=t,(i=[{key:"getHelpMessage",value:function(e){var t,n=e.props.error,i=this.props.prefixCls,a=this.context.formObj,l=n?a.getFieldError(n):"",s=u()((I(t={},"".concat(i,"-error-height"),!0),I(t,"".concat(i,"-error"),l),t));return l?o.a.createElement("div",{key:"error",className:r()(s,N)},o.a.createElement(P.Icon,{name:"times-circle"}),l):o.a.createElement("div",{key:"error",className:r()("".concat(i,"-error"),N)}," ")}},{key:"renderLabel",value:function(){var e=this.props,t=e.prefixCls,n=e.label,i=e.id,a=u()(I({},"".concat(t,"-item-required"),!1)),l=n;return n?o.a.createElement("div",{key:"label",className:r()("".concat(t,"-item-label"),N)},o.a.createElement("label",{htmlFor:i,className:r()(a,N)},l)):null}},{key:"renderWrapper",value:function(e){var t=this.props.prefixCls,n=u()(["".concat(t,"-item-control-wrapper")]);return o.a.createElement("div",{key:"wrapper",className:r()(n,N)},e)}},{key:"renderChildren",value:function(){var e=this.props.children;return[this.renderLabel(),this.renderWrapper(e),this.getHelpMessage(e)]}},{key:"renderFormItem",value:function(e){var t,n=this.props,i=n.prefixCls,a=n.className,l=n.style,s=n.hide,c=u()((I(t={},"".concat(i,"-item"),!0),I(t,"".concat(i,"-hide"),s),t),a);return o.a.createElement("div",{style:l,className:r()(c,N)},e)}},{key:"render",value:function(){var e=this.renderChildren();return this.renderFormItem(e)}}
9])&&j(n.prototype,i),a&&j(n,a),t}();I(A,"contextTypes",{formObj:s.a.object}),A.defaultProps={prefixCls:"tp-form",label:"",children:{},className:"",id:"",style:{},hide:!1};var D=A;n.d(t,"a",function(){return S}),n.d(t,"b",function(){return D})},91:function(e,t,n){"use strict";var i=n(0),r=n.n(i),a=(n(1),n(3)),o=n(7),l=n.n(o),s=n(4),c=n(5),u=n.n(c),d=n(6),p=n.n(d),f=n(23),m=n(16),_=n(9),h=n(2);n(219);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var y={"./style.css":{wrapper:"style__wrapper___3Ce4o",divider:"style__divider___3a1PT","contact-item":"style__contact-item___4Sghb","contact-name":"style__contact-name___1--aU","contact-format":"style__contact-format___5rmKn","contact-form-page":"style__contact-form-page___33gMz","main-wrapper":"style__main-wrapper___1QQq4","form-section-container":"style__form-section-container___mhGYU","side-section-container":"style__side-section-container___2p3wm","sub-side-title":"style__sub-side-title___2_GjI","content-container":"style__content-container___1evAQ","content-box":"style__content-box___h_WSd","title-container":"style__title-container___2rce6","info-title":"style__info-title___rVwRw","phone-wrap":"style__phone-wrap___2U0Wq","email-wrap":"style__email-wrap___1jyiZ","address-wrap":"style__address-wrap___3tSck","info-message":"style__info-message___X71Op","email-link":"style__email-link___1iyuF",policy:"style__policy___3zKiO","contactus-form":"style__contactus-form___3DPPK",loading:"style__loading___3YMPS",wrap:"style__wrap___2WTLR","form-wrap":"style__form-wrap___43poW","part-wrap":"style__part-wrap___2EPj1","sub-title":"style__sub-title___23q9p","select-box":"style__select-box___2VyRv",select:"style__select___3YPpR",icon:"style__icon___3Dxz4",textarea:"style__textarea___11sne",checkboxs:"style__checkboxs___LTcVW","captcha-label":"style__captcha-label___3W1Jn",checkbox:"style__checkbox___1yQBy","checkbox-label":"style__checkbox-label___4uxJS","checkbox-item":"style__checkbox-item___3SrW1",hide:"style__hide___1EEUk",captcha:"style__captcha___31EWc","button-state":"style__button-state___PQJbr","form-button":"style__form-button___3Eidn","button-box":"style__button-box___iyd7Q","loading-circle":"style__loading-circle___1beH4",btn:"style__btn___1wuFX","submit-btn":"style__submit-btn___1ueMl","submit-box":"style__submit-box___BDZfG","form-message":"style__form-message___3MSIa","modal-button-box":"style__modal-button-box___33sYL",cancle:"style__cancle___1hb8l","primary-btn":"style__primary-btn___GmFNB","form-success-icon":"style__form-success-icon___1Zn34","form-fail-icon":"style__form-fail-icon___3IqPY","form-modal-box":"style__form-modal-box___1X1fX","contact-page":"style__contact-page____8gsq"}};function v(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O=function(e){function t(e){var n,i,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,r=g(t).call(this,e),n=!r||"object"!==b(r)&&"function"!=typeof r?w(i):r,E(w(n),"handleSubmit",function(e){e.preventDefault();var t=n.props,i=t.local,r=t.form,a=n.state.products;r.validateFieldsAndScroll({scroll:{offsetTop:80}},function(e,t){if(!e){n.setState({buttonState:!0}),t.source||(t.source="tp"),a.length>0&&(t.products=a);var r={},o=["activity_type","source","email","_rucaptcha","_captcha_key","private"];Object.keys(t).forEach(function(e){-1===o.indexOf(e)&&(r[e]=t[e],delete t[e])}),r&&(t.extra=r),Object(f.a)({method:"POST",url:Object(m.a)("/form/www_cms/activities"),data:t},i).then(function(e){return e.json()}).then(function(e){n.setState({message:e.success?"":e.message,defaultVisible:!0,formState:e.success,buttonState:!1})})}})}),n.state={country:[],products:[],captchaKey:"",captcha:{},buttonState:!1,defaultVisible:!1,initModal:!1},n.handleChangeContinent=n.handleChangeContinent.bind(w(n)),n.handleChange=n.handleChange.bind(w(n)),n.fetchCaptcha=n.fetchCaptcha.bind(w(n)),n.handleSubmit=n.handleSubmit.bind(w(n)),n.closeModal=n.closeModal.bind(w(n)),n.val
9idatorPhoneNumber=n.validatorPhoneNumber.bind(w(n)),n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x(e,t)}(t,r.a.PureComponent),n=t,(i=[{key:"componentDidMount",value:function(){this.fetchCaptcha(),this.setState({initModal:!0})}},{key:"getTimestamp",value:function(){return Math.round((new Date).getTime()/1e3)+Math.floor(999999*Math.random())}},{key:"closeModal",value:function(){this.props.form.resetFields("_rucaptcha"),this.fetchCaptcha(),this.setState({defaultVisible:!1})}},{key:"validatorPhoneNumber",value:function(e,t,n){var i=this.props,r=i.component_data,a=i.t;!/^\d+(\.\d+)?$/.test(t)&&t?n(a(r.formPhoneInvalid)):n()}},{key:"fetchCaptcha",value:function(){var e=this,t=this.props.local,n=this.getTimestamp();this.setState({captchaKey:n});var i=Object(m.a)("/form/terminator_captcha/".concat(n));Object(f.a)({url:i},t).then(function(){e.setState({captcha:{url:i}})})}},{key:"handleChangeContinent",value:function(e){var t=this,n=e.target.value,i=this.props,r=i.local,a=i.form;Object(f.a)({url:Object(m.a)("/display/locations/countries"),query:{continent:n}},r).then(function(e){return e.json()}).then(function(e){a.resetFields("country"),t.setState({country:e})})}},{key:"handleChange",value:function(e){var t=this.state.products,n=e.target.value,i=t.slice(),r=i.indexOf(n);-1===r?i.push(n):i.splice(r,1),this.setState({products:i})}},{key:"renderContinent",value:function(){var e=this.props.continent;return e&&e.length>0?e.map(function(e){return r.a.createElement("option",{value:e.code,key:e.code},e.name)}):null}},{key:"renderCountry",value:function(){var e=this.state.country;return e&&e.length>0?e.map(function(e){return r.a.createElement("option",{value:e.code,key:e.code},e.name)}):null}},{key:"renderIndustry",value:function(){var e=this.props,t=e.component_data.industryList,n=e.t;return t&&t.length>0?t.map(function(e){return r.a.createElement("option",{value:e.industryType,key:e.industryType},n(e.industry))}):null}},{key:"renderComment",value:function(){var e=this.props,t=e.component_data.commentList,n=e.t;return t&&t.length>0?t.map(function(e){return r.a.createElement("option",{value:e.commentValue,key:e.commentValue},n(e.commentType))}):null}},{key:"renderProducts",value:function(){var e=this,t=this.props,n=t.component_data.productList,i=t.t;return n&&n.length>0?n.map(function(t){return r.a.createElement("label",{className:"style__checkbox-label___4uxJS",key:t.productValue},r.a.createElement("input",{type:"checkbox",name:"prodctus",value:t.productValue,className:"style__checkbox-item___3SrW1",onChange:e.handleChange}),i(t.product))}):null}},{key:"render",value:function(){var e=this,t=this.props,n=t.t,i=t.form,a=t.component_data,o=t.mobile,l=i.getFieldDecorator,s=this.state,c=s.captcha,d=s.captchaKey,f=s.buttonState,m=s.defaultVisible,b=s.initModal,v=s.message,g=s.formState,w=p()({"button-state":f,"form-button":!0}),x=g?r.a.createElement("div",{className:"style__form-modal-box___1X1fX"},r.a.createElement(h.Icon,{name:"check-circle-o",className:"style__form-success-icon___1Zn34"}),r.a.createElement("h5",null,n(a.formSuccessTitle))):r.a.createElement("div",{className:"style__form-modal-box___1X1fX"},r.a.createElement(h.Icon,{name:"exclamation-circle-light",className:"style__form-fail-icon___3IqPY"}),r.a.createElement("h5",null,n(a.formFailTitle)));return r.a.createElement("div",{className:"style__form-wrap___43poW"},r.a.createElement(_.a,{form:i},r.a.createElement("div",{className:"style__wrap___2WTLR"},r.a.createElement("div",{className:"style__part-wrap___2EPj1"},r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement("h2",{className:"style__sub-title___23q9p"},n(a.formSubTitleContact)))),r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement(_.b,{label:"".concat(n(a.firstName)," *")},l("firstname",{validateTrigger:"onBlur",rules:[{required:!0,message:n(a.formRequire)}],initialValue:""})(r.a.createElement("input",{type:"text",error:"firstname",name:"firstname",maxLength:"255"}))))),r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement(_.b,{label:"".concat(n(a.lastName)," *")},l("lastname",{validateTrigger:"onBlur",rules:[{required:!0,message:n(a.formRequire)}],initialValue:""})(r.a.createElement("input",{type:"text",error:"lastname",name:"lastname",maxLength:"255"}))))),r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement(_.b,{label:"".concat(n(a.email)," *")},l("email",{rules:[{required:!0,message:n(a.formRequire)},{type:"email",message:n(a.formEmailInvalid)}],initialValue:"",validateTrigger:"onBlur"})(r.a.createElement("input",{type:"text",error:"email",maxLength:"255"}))))),r.a.createElement(h.Row,{size:8,gutter:"medium"},r.a.createElement(h.Col,{size:o?8:3},r.a.createElement(_.b,{label:"".concat(n(a.phoneAreaCode)," *")},l("phone_area_code",{validateTrigger:"onBlur",rules:[{required:!0,message:n(a.formRequire)}],initialValue:""})(r.a.createElement("input",{type:"text",error:"phone_area_code",name:"phone_area_code",maxLength:"255"})))),r.a.createElement(h.Col,{size:o?8:5},r.a.createElement(_.b,{label:"".concat(n(a.phone)," *")},l("phone",{rules:[{required:!0,message:n(a.formRequire)}],initialValue:"",validateTrigger:"onBlur"})(r.a.createElement("input",{type:"text",error:"phone",name:"phone",maxLength:"255"})))))),r.a.createElement("div",{className:"style__part-wrap___2EPj1"},r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement("h2",{className:"style__sub-title___23q9p"},n(a.formSubTitleCompanty)))),r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement(_.b,{label:"".concat(n(a.company)," *")},l("company",{rules:[{required:!0,message:n(a.formRequire)}],initialValue:"",validateTrigger:"onBlur"})(r.a.createElement("input",{type:"text",error:"company",name:"company",maxLength:"255"}))))),r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement(_.b,{label:n(a.website)},l("website",{initialValue:"",validateTrigger:"onBlur"})(r.a.createElement("input",{type:"text",error:"website",name:"website",maxLength:"255"}))))),r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement(_.b,{label:"".concat(n(a.job)," *")},l("job",{rules:[{required:!0,message:n(a.formRequire)}],initialValue:"",validateTrigger:"onBlur"})(r.a.createElement("input",{type:"text",error:"job",name:"job",maxLength:"255"}))))),r.a.createElement(h.Row,{size:8,gutter:"medium"},r.a.createElement(h.Col,{size:4},r.a.createElement(_.b,{label:"".concat(n(a.continent)," *")},l("continent",{rules:[{required:!0,message:n(a.formRequire)}],validateTrigger:"onBlur"})(r.a.createElement("div",{className:"style__select-box___2VyRv",error:"continent"},r.a.createElement("select",{className:"style__select___3YPpR",name:"continent",onChange:this.handleChangeContinent},r.a.createElement("option",{value:""}),this.renderContinent()),r.a.createElement("div",{className:"style__icon___3Dxz4"}
9,r.a.createElement(h.Icon,{name:"caret-down"})))))),r.a.createElement(h.Col,{size:4},r.a.createElement(_.b,{label:"".concat(n(a.country)," *")},l("country",{rules:[{required:!0,message:n(a.formRequire)}],initialValue:""})(r.a.createElement("div",{error:"country",className:"style__select-box___2VyRv"},r.a.createElement("select",{className:"style__select___3YPpR"},r.a.createElement("option",{value:""}),this.renderCountry()),r.a.createElement("div",{className:"style__icon___3Dxz4"},r.a.createElement(h.Icon,{name:"caret-down"}))))))),r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement(_.b,{label:"".concat(n(a.state)," *")},l("state",{rules:[{required:!0,message:n(a.formRequire)}],initialValue:""})(r.a.createElement("input",{type:"text",error:"state",name:"state",maxLength:"255"}))))),r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement(_.b,{label:"".concat(n(a.industry)," *")},l("industry",{rules:[{required:!0,message:n(a.formRequire)}],initialValue:""})(r.a.createElement("div",{error:"industry",className:"style__select-box___2VyRv"},r.a.createElement("select",{className:"style__select___3YPpR"},r.a.createElement("option",{value:""}),this.renderIndustry()),r.a.createElement("div",{className:"style__icon___3Dxz4"},r.a.createElement(h.Icon,{name:"caret-down"})))))))),r.a.createElement("div",{className:"style__part-wrap___2EPj1"},r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement("h2",{className:"style__sub-title___23q9p"},n(a.formSubTitleConsulting)))),r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement(_.b,{label:"".concat(n(a.comment)," *")},l("comment",{rules:[{required:!0,message:n(a.formRequire)}],initialValue:""})(r.a.createElement("div",{error:"comment",className:"style__select-box___2VyRv"},r.a.createElement("select",{className:"style__select___3YPpR"},r.a.createElement("option",{value:""}),this.renderComment()),r.a.createElement("div",{className:"style__icon___3Dxz4"},r.a.createElement(h.Icon,{name:"caret-down"}))))))),r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement(_.b,{label:"".concat(n(a.commentWarp)," *")},l("commentWarp",{rules:[{required:!0,message:n(a.formRequire)}],initialValue:"",validateTrigger:"onBlur"})(r.a.createElement("textarea",{type:"text",error:"commentWarp",maxLength:"5000",className:"style__textarea___11sne"})))))),r.a.createElement("div",{className:"style__part-wrap___2EPj1"},r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement("h2",{className:"style__sub-title___23q9p"},n(a.formSubTitleProduct)))),r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement(_.b,{label:n(a.products)},l("products",{initialValue:"",validateTrigger:"onBlur"})(r.a.createElement("div",{error:"products",className:"style__checkboxs___LTcVW"},this.renderProducts())))))),r.a.createElement("div",{className:"style__part-wrap___2EPj1"},r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement("h2",{className:"style__sub-title___23q9p"},n(a.formSubTitleTerms)))),r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement(_.b,{label:n(a.newsletter)},l("newsletter",{initialValue:"",validateTrigger:"onBlur"})(r.a.createElement("div",{error:"newsletter",className:"style__checkbox___1yQBy"},r.a.createElement("label",{className:"style__checkbox-label___4uxJS"},r.a.createElement("input",{type:"checkbox",name:"newsletter",value:"newsletter",className:"style__checkbox-item___3SrW1"}),n(a.newsletterMessage))))))),r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement(_.b,{label:"".concat(n(a.policy)," *")},l("policy",{rules:[{required:!0,message:n(a.formRequire)}],initialValue:"",validateTrigger:"onBlur"})(r.a.createElement("div",{error:"policy",className:"style__checkbox___1yQBy"},r.a.createElement("label",{className:"style__checkbox-label___4uxJS"},r.a.createElement("input",{type:"checkbox",name:"policy",value:"policy",className:"style__checkbox-item___3SrW1"}),r.a.createElement("p",{className:"style__policy___3zKiO",dangerouslySetInnerHTML:{__html:n(a.policyMessage)}})))))))),r.a.createElement("div",{className:"style__part-wrap___2EPj1"},r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement("p",{className:"style__captcha-label___3W1Jn"},"".concat(n(a.captcha)," *")))),r.a.createElement(h.Row,{size:8,gutter:"medium"},r.a.createElement(h.Col,{size:4},r.a.createElement(_.b,{label:""},l("_rucaptcha",{rules:[{required:!0,message:n(a.formRequire)},{whitespace:!0,message:n(a.formEmpty)}],initialValue:"",validateTrigger:"onBlur"})(r.a.createElement("input",{type:"text",error:"_rucaptcha",maxLength:"5",ref:function(t){e.captcha=t}}
9)))),r.a.createElement(h.Col,{size:4},r.a.createElement("div",null,r.a.createElement(_.b,{label:""},r.a.createElement("div",{className:u()(c.url?"":"hide",y)},r.a.createElement("img",{src:c.url,alt:"captcha",className:"style__captcha___31EWc",onClick:this.fetchCaptcha,onKeyUp:function(){},role:"presentation"})))))))),r.a.createElement("div",{className:"style__submit-box___BDZfG"},r.a.createElement(h.Row,null,r.a.createElement(h.Col,null,r.a.createElement(_.b,{className:"tp-button"},r.a.createElement("div",{className:u()(w,y)},r.a.createElement(h.Button,{block:!0,size:"medium",type:"primary",value:"Submit",onClick:this.handleSubmit,className:"style__btn___1wuFX"},r.a.createElement("div",{className:"style__button-box___iyd7Q"},f?r.a.createElement("span",{className:"style__loading-circle___1beH4"}):"",r.a.createElement("span",{className:"style__submit-btn___1ueMl"},n(a.formSubmitBtn)))))),r.a.createElement(_.b,{hide:!0},l("activity_type",{initialValue:"tp_contact_us"})(r.a.createElement("input",null))),r.a.createElement(_.b,{hide:!0},l("_captcha_key",{initialValue:d})(r.a.createElement("input",null))),r.a.createElement(_.b,{hide:!0},l("private",{initialValue:!0})(r.a.createElement("input",null))))))),b?r.a.createElement(h.Modal,{visible:m,onCancel:this.closeModal,onClose:this.closeModal,type:"default",cancelText:"stay",okText:"back to homepage",size:o?"mini":"medium",footer:null},r.a.createElement("div",null,x,!g&&v?r.a.createElement("div",{className:"style__form-message___3MSIa"},v):null,r.a.createElement("div",{className:"style__modal-button-box___33sYL"}))):null)}}])&&v(n.prototype,i),a&&v(n,a),t}();E(O,"defaultProps",{t:function(){},form:"",component_data:{},continent:[],local:{},mobile:!1});var k=_.a.create()(Object(a.a)(O));function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function P(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function T(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),T(this,N(t).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j(e,t)}(t,r.a.PureComponent),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.t,n=e.component_data,i=e.continent,a=e.local,o=e.mobile,c=n.infoList&&n.infoList.length>0&&n.infoList.map(function(e){return r.a.createElement("div",{className:"style__content-box___h_WSd",key:l()()},r.a.createElement("h3",{className:"style__info-title___rVwRw"},t(e.title)),r.a.createElement("div",{className:"style__phone-wrap___2U0Wq"},e.phoneIcon?r.a.createElement("img",{src:Object(s.a)(e.phoneIcon),alt:"phone icon"}):null,e.phone?r.a.createElement("p",{className:"style__info-message___X71Op"},t(e.phone)):null),r.a.createElement("div",{className:"style__email-wrap___1jyiZ"},e.emailIcon?r.a.createElement("img",{src:Object(s.a)(e.emailIcon),alt:"email icon"}):null,e.email?r.a.createElement("p",{className:"style__info-message___X71Op"},r.a.createElement("a",{href:t(e.mailbox),className:"style__email-link___1iyuF"},t(e.email))):null),r.a.createElement("div",{className:"style__address-wrap___3tSck"},e.addressIcon?r.a.createElement("img",{src:Object(s.a)(e.addressIcon),alt:"address icon"}):null,e.address?r.a.createElement("p",{className:"style__info-message___X71Op"},t(e.address)):null))});return r.a.createElement("div",{className:"style__contact-form-page___33gMz"},r.a.createElement("div",{className:"style__main-wrapper___1QQq4"}
9,r.a.createElement("div",{className:"style__form-section-container___mhGYU"},r.a.createElement("div",{className:"style__contactus-form___3DPPK"},r.a.createElement(k,{component_data:n,continent:i,local:a,mobile:o}))),r.a.createElement("div",null,r.a.createElement("div",{className:"style__side-section-container___2p3wm"},r.a.createElement("div",{className:"style__title-container___2rce6"},r.a.createElement("h2",{className:"style__sub-side-title___2_GjI"},t(n.title))),r.a.createElement("div",{className:"style__content-container___1evAQ"},n.infoList&&n.infoList.length>0?c:null)))))}}])&&P(n.prototype,i),a&&P(n,a),t}();C(L,"defaultProps",{t:function(){},continent:[],local:{},mobile:!1,component_data:{title:"title",infoList:[{emailIcon:"",email:"[email protected]",phoneIcon:"",phone:"",addressIcon:"",address:"深圳南山区"}]}}),C(L,"editSetting",{key:"contactForm",name:"contactForm",component_data:{title:{type:"i18n",label:"contact 右侧标题"},infoList:{type:"array",label:"右侧info",items:{type:"object",title:{type:"i18n",label:"标题"},emailIcon:{type:"image",label:"邮箱图片"},email:{type:"i18n",label:"邮箱"},mailbox:{type:"i18n",label:"邮箱号"},phoneIcon:{type:"image",label:"电话icon"},phone:{type:"i18n",label:"联系电话"},addressIcon:{type:"image",label:"地址icon"},address:{type:"i18n",label:"address"}}},formSubTitleContact:{type:"i18n",label:"contact 左侧表单小标题1(联络信息)"},formSubTitleCompanty:{type:"i18n",label:"contact 左侧表单小标题2(公司信息)"},formSubTitleConsulting:{type:"i18n",label:"contact 左侧表单小标题3(咨询内容)"},formSubTitleProduct:{type:"i18n",label:"contact 左侧表单小标题4(意向产品)"},formSubTitleTerms:{type:"i18n",label:"contact 左侧表单小标题4(条款)"},formSubmitBtn:{type:"i18n",label:"提交按钮"},firstName:{type:"i18n",label:"姓"},lastName:{type:"i18n",label:"名"},email:{type:"i18n",label:"邮箱"},phoneAreaCode:{type:"i18n",label:"国家区号"},phone:{type:"i18n",label:"电话号码"},company:{type:"i18n",label:"公司名称"},website:{type:"i18n",label:"公司官网"},job:{type:"i18n",label:"工作职位"},continent:{type:"i18n",label:"大洲"},country:{type:"i18n",label:"国家/地区"},state:{type:"i18n",label:"城市"},industry:{type:"i18n",label:"行业类别"},comment:{type:"i18n",label:"留言主题"},commentWarp:{type:"i18n",label:"留言内容"},products:{type:"i18n",label:"产品"},newsletter:{type:"i18n",label:"订阅Livox资讯title"},newsletterMessage:{type:"i18n",label:"订阅Livox资讯"},policy:{type:"i18n",label:"隐私政策条款title"},policyMessage:{type:"i18n",label:"隐私政策条款"},captcha:{type:"i18n",label:"验证码title"},industryList:{type:"array",label:"行业类别list",items:{type:"object",industry:{type:"i18n",label:"行业类别"},industryType:{type:"string",label:"行业value(提交到后台,所有语言统一)"}}},commentList:{type:"array",label:"留言主题list",items:{type:"object",commentType:{type:"i18n",label:"留言主题"},commentValue:{type:"string",label:"留言主题value(提交到后台,所有语言统一)"}}},productList:{type:"array",label:"产品列表",items:{type:"object",product:{type:"i18n",label:"产品"},productValue:{type:"string",label:"产品value(提交到后台,所有语言统一)"}}},formRequire:{type:"i18n",label:"必填提示"},formEmpty:{type:"i18n",label:"不能输入空格提示"},formEmailInvalid:{type:"i18n",label:"邮箱格式错误提示"},formSuccessTitle:{type:"i18n",label:"表单提交成功title"},formFailTitle:{type:"i18n",label:"表单提交失败title"},formPhoneInvalid:{type:"i18n",label:"只能输入数字错误提示"}}});t.a=Object(a.a)(L)}},[[1002,1,0,2]]]);

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