1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[44],{"/PZL":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={defaultEasing:function(e){return e<.5?Math.pow(2*e,2)/2:1-Math.pow(2*(1-e),2)/2},linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:(4-2*e)*e-1},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}}},"6HYk":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n("nKUr");function r(e){var t=e.backgroundImageUrl,n=void 0===t?"":t,r=e.style,a=void 0===r?{}:r,i=e.title,s=void 0===i?"":i,c=e.subTitle,l=void 0===c?"":c;return n&&(a.backgroundImage="url(".concat(n,")")),Object(o.jsxs)("div",{className:"banner",style:a,children:[Object(o.jsx)("h4",{className:"font-primary",children:l}),Object(o.jsx)("h2",{className:"font-primary",children:s})]})}},"7FV1":function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}var c=n("q1tI"),l=(n("i8i4"),n("xFC4"),n("wT0s")),u=n("zPnG"),f=n("17x9"),d=n("Dy/p"),p={to:f.string.isRequired,containerId:f.string,container:f.object,activeClass:f.string,spy:f.bool,smooth:f.oneOfType([f.bool,f.string]),offset:f.number,delay:f.number,isDynamic:f.bool,onClick:f.func,duration:f.oneOfType([f.number,f.func]),absolute:f.bool,onSetActive:f.func,onSetInactive:f.func,ignoreCancelEvents:f.bool,hashSpy:f.bool,spyThrottle:f.number},m={Scroll:function(e,t){console.warn("Helpers.Scroll is deprecated since v1.7.0");var n=t||u,f=function(t){function u(e){a(this,u);var t=i(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,e));return m.call(t),t.state={active:!1},t}return s(u,t),r(u,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();l.isMounted(e)||l.mount(e,this.props.spyThrottle),this.props.hashSpy&&(d.isMounted()||d.mount(n),d.mapContainer(this.props.to,e)),this.props.spy&&l.addStateHandler(this.stateHandler),l.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){l.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n=o({},this.props);for(var r in p)n.hasOwnProperty(r)&&delete n[r];return n.className=t,n.onClick=this.handleClick,c.createElement(e,n)}}]),u}(c.Component),m=function(){var e=this;this.scrollTo=function(t,r){n.scrollTo(t,o({},e.state,r))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.stateHandler=function(){n.getActiveLink()!==e.props.to&&(null!==e.state&&e.state.active&&e.props.onSetInactive&&e.props.onSetInactive(),e.setState({active:!1}))},this.spyHandler=function(t){var o=e.getScrollSpyContainer();if(!d.isMounted()||d.isInitialized()){var r=e.props.to,a=null,i=0,s=0,c=0;if(o.getBoundingClientRect)c=o.getBoundingClientRect().top;if(!a||e.props.isDynamic){if(!(a=n.get(r)))return;var u=a.getBoundingClientRect();s=(i=u.top-c+t)+u.height}var f=t-e.props.offset,p=f>=Math.floor(i)&&f<Math.floor(s),m=f<Math.floor(i)||f>=Math.floor(s),h=n.getActiveLink();return m?(r===h&&n.setActiveLink(void 0),e.props.hashSpy&&d.getHash()===r&&d.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive()),l.updateStates()):p&&h!==r?(n.setActiveLink(r),e.props.hashSpy&&d.changeHash(r),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(r)),l.updateStates()):void 0}}};return f.propTypes=p,f.defaultProps={offset:0},f},Element:function(e){console.warn("Helpers.Element is deprecated since v1.7.0");var t=function(t){function n(e){a(this,n);var t=i(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}
1return s(n,t),r(n,[{key:"componentDidMount",value:function(){if("undefined"===typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(e){this.props.name!==e.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"===typeof window)return!1;u.unregister(this.props.name)}},{key:"registerElems",value:function(e){u.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return c.createElement(e,o({},this.props,{parentBindings:this.childBindings}))}}]),n}(c.Component);return t.propTypes={name:f.string,id:f.string},t}};e.exports=m},"7lKP":function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact-us",function(){return n("LOdK")}])},"7wkA":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=i(n("q1tI")),a=i(n("pUFB"));function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 l=function(e){function t(){return s(this,t),c(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,e),o(t,[{key:"render",value:function(){return r.default.createElement("button",this.props,this.props.children)}}]),t}(r.default.Component);t.default=(0,a.default)(l)},"8QoP":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("QLqi"),r=["mousedown","wheel","touchmove","keydown"];t.default={subscribe:function(e){return"undefined"!==typeof document&&r.forEach((function(t){return(0,o.addPassiveEventListener)(document,t,e)}))}}},"Dy/p":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n("QLqi");var o,r=n("xFC4"),a=(o=r)&&o.__esModule?o:{default:o};var i={mountFlag:!1,initialized:!1,scroller:null,containers:{},mount:function(e){this.scroller=e,this.handleHashChange=this.handleHashChange.bind(this),window.addEventListener("hashchange",this.handleHashChange),this.initStateFromHash(),this.mountFlag=!0},mapContainer:function(e,t){this.containers[e]=t},isMounted:function(){return this.mountFlag},isInitialized:function(){return this.initialized},initStateFromHash:function(){var e=this,t=this.getHash();t?window.setTimeout((function(){e.scrollTo(t,!0),e.initialized=!0}),10):this.initialized=!0},scrollTo:function(e,t){var n=this.scroller;if(n.get(e)&&(t||e!==n.getActiveLink())){var o=this.containers[e]||document;n.scrollTo(e,{container:o})}},getHash:function(){return a.default.getHash()},changeHash:function(e,t){this.isInitialized()&&a.default.getHash()!==e&&a.default.updateHash(e,t)},handleHashChange:function(){this.scrollTo(this.getHash())},unmount:function(){this.scroller=null,this.containers=null,window.removeEventListener("hashchange",this.handleHashChange)}};t.default=i},FAat:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=m(n("q1tI")),r=m(n("17x9")),a=m(n("LdHM")),i=d(n("TSYQ")),s=d(n("BGR+")),c=n("vgIT"),l=d(n("aVg8")),u=d(n("Pbn2")),f=n("KEtS");function d(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function m(e){if(e&&e.__esModule)return e;if(null===e||"object"!==h(e)&&"function"!==typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var a=o?Object.getOwnPropertyDescriptor(e,r):null;a&&(a.get||a.set)?Object.defineProperty(n,r,a):n[r]=e[r]}return n.default=e,t&&t.set(e,n),n}
1function h(e){return(h="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 b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}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}function v(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=w(e);if(t){var r=w(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return O(this,n)}}function O(e,t){return!t||"object"!==h(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 w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n},S=(0,f.tuple)("default","large","small"),P=((0,f.tuple)("default","multiple","tags","combobox","SECRET_COMBOBOX_MODE_DO_NOT_USE"),{prefixCls:r.string,className:r.string,size:r.oneOf(S),notFoundContent:r.any,showSearch:r.bool,optionLabelProp:r.string,transitionName:r.string,choiceTransitionName:r.string,id:r.string}),E=function(e){!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)}(d,e);var t,n,r,f=j(d);function d(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(t=f.call(this,e)).saveSelect=function(e){t.rcSelect=e},t.renderSelect=function(e){var n,r=e.getPopupContainer,c=e.getPrefixCls,l=e.renderEmpty,f=t.props,d=f.prefixCls,p=f.className,m=void 0===p?"":p,h=f.size,v=f.mode,g=f.getPopupContainer,j=f.removeIcon,O=f.clearIcon,w=f.menuItemSelectedIcon,S=f.showArrow,P=x(f,["prefixCls","className","size","mode","getPopupContainer","removeIcon","clearIcon","menuItemSelectedIcon","showArrow"]),E=(0,s.default)(P,["inputIcon"]),_=c("select",d),C=(0,i.default)((y(n={},"".concat(_,"-lg"),"large"===h),y(n,"".concat(_,"-sm"),"small"===h),y(n,"".concat(_,"-show-arrow"),S),n),m),T=t.props.optionLabelProp;t.isCombobox()&&(T=T||"value");var k={multiple:"multiple"===v,tags:"tags"===v,combobox:t.isCombobox()},M=j&&(o.isValidElement(j)?o.cloneElement(j,{className:(0,i.default)(j.props.className,"".concat(_,"-remove-icon"))}):j)||o.createElement(u.default,{type:"close",className:"".concat(_,"-remove-icon")}),N=O&&(o.isValidElement(O)?o.cloneElement(O,{className:(0,i.default)(O.props.className,"".concat(_,"-clear-icon"))}):O)||o.createElement(u.default,{type:"close-circle",theme:"filled",className:"".concat(_,"-clear-icon")}),I=w&&(o.isValidElement(w)?o.cloneElement(w,{className:(0,i.default)(w.props.className,"".concat(_,"-selected-icon"))}):w)||o.createElement(u.default,{type:"check",className:"".concat(_,"-selected-icon")});return o.createElement(a.default,b({inputIcon:t.renderSuffixIcon(_),removeIcon:M,clearIcon:N,menuItemSelectedIcon:I,showArrow:S},E,k,{prefixCls:_,className:C,optionLabelProp:T||"children",notFoundContent:t.getNotFoundContent(l),getPopupContainer:g||r,ref:t.saveSelect}))},(0,l.default)("combobox"!==e.mode,"Select","The combobox mode is deprecated, it will be removed in next major version, please use AutoComplete instead"),t}return t=d,(n=[{key:"getNotFoundContent",value:function(e){var t=this.props.notFoundContent;return void 0!==t?t:this.isCombobox()?null:e("Select")}},{key:"focus",value:function(){this.rcSelect.focus()}},{key:"blur",value:function(){this.rcSelect.blur()}},{key:"isCombobox",value:function(){var e=this.props.mode;return"combobox"===e||e===d.SECRET_COMBOBOX_MODE_DO_NOT_USE}},{key:"renderSuffixIcon",value:function(e){var t=this.props,n=t.loading,r=t.suffixIcon;return r?o.isValidElement(r)?o.cloneElement(r,{className:(0,i.default)(r.props.className,"".concat(e,"-arrow-icon"))}):r:n?o.createElement(u.default,{type:"loading"}):o.createElement(u.default,{type:"down",className:"".concat(e,"-arrow-icon")})}},{key:"render",value:function(){return o.createElement(c.ConfigConsumer,null,this.renderSelect)}}])&&v(t.prototype,n),r&&v(t,r),d}(o.Component);t.default=E,E.Option=a.Option,E.OptGroup=a.OptGroup,E.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",E.defaultProps={showSearch:!1,transitionName:"slide-up",choiceTransitionName:"zoom"},E.propTypes=P},LOdK:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return X}));var o=n("9xET"),r=n.n(o),a=n("4IMT"),i=n.n(a),s=n("Pbn2"),c=n.n(s),l=n("ZPTe"),u=n.n(l),f=n("ODXe"),d=n("o0o1"),p=n.n(d),m=n("HaE+"),h=n("1OyB"),b=n("vuIU"),y=n("JX7q"),v=n("Ji7U"),g=n("md7G"),j=n("foSv"),O=n("rePB"),w=n("nKUr"),x=n("q1tI"),S=n.n(x),P=n("8Kt/"),E=n.n(P),_=n("snBi"),C=n("/iMo"),T=n("oqc9"),k=n("iJl9"),M=n.n(k),N=n("qu0K"),I=n.n(N),H=n("FAat"),B=n.n(H);function L(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Object(j.a)(e);if(t){var r=Object(j.a)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Object(g.a)(this,n)}}var R=B.a.Option,D=I.a.create()(function(e){Object(v.a)(n,e);var t=L(n);function n(){var e;Object(h.a)(this,n);for(var o=arguments.length,r=new Array(o),a=0;a<o;a++)r[a]=arguments[a];return e=t.call.apply(t,[this].concat(r)),Object(O.a)(Object(y.a)(e),"state",{emailSubject:""}),e}return Object(b.a)(n,[{key:"getParameterByName",value:function(e,t){t||(t=window.location.pathname),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);
1return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}},{key:"componentDidMount",value:function(){var e=window.location.href,t=this.getParameterByName("sub",e);this.setState({emailSubject:t}),T.Events.scrollEvent.register("begin",(function(){console.log("begin",arguments)})),T.Events.scrollEvent.register("end",(function(){console.log("end",arguments)}))}},{key:"scrollToForm",value:function(){T.scroller.scrollTo("contact-form",{duration:800,delay:0,smooth:"easeInOutQuart",offset:-10})}},{key:"render",value:function(){var e=this.props.form.getFieldDecorator;return Object(w.jsxs)(x.Fragment,{children:[this.state.emailSubject?this.scrollToForm():"",Object(w.jsxs)(T.Element,{name:"contact-form",children:[Object(w.jsxs)(r.a,{gutter:24,type:"flex",justify:"space-between",children:[Object(w.jsx)(u.a,{xs:24,sm:6,md:6,lg:6,xl:6,xxl:6,children:Object(w.jsxs)(I.a.Item,{className:"getntouch",children:[Object(w.jsxs)("span",{className:"fs-15 color-black",children:["Salutation",Object(w.jsx)("span",{className:"color-red",children:"*"})]}),e("salutation",{initialValue:null!=this.props.customer?this.props.customer.name:"Mr",rules:[{required:!0,message:"Please select salutation",whitespace:!0}]})(Object(w.jsxs)(B.a,{size:"large",children:[Object(w.jsx)(R,{children:"Mr"},"Mr."),Object(w.jsx)(R,{children:"Ms"},"Ms."),Object(w.jsx)(R,{children:"Mdm"},"Mdm")]}))]})}),Object(w.jsx)(u.a,{xs:24,sm:18,md:18,lg:18,xl:18,xxl:18,children:Object(w.jsxs)(I.a.Item,{className:"getntouch",children:[Object(w.jsxs)("span",{className:"fs-15 color-black",children:["Name",Object(w.jsx)("span",{className:"color-red",children:"*"})]}),e("name",{initialValue:null!=this.props.customer?this.props.customer.name:"",rules:[{required:!0,message:"Please enter your name",whitespace:!0}]})(Object(w.jsx)(M.a,{placeholder:"How do we address you?",size:"large"}))]})}),Object(w.jsx)(u.a,{xs:24,sm:24,md:24,lg:24,xl:24,xxl:24,children:Object(w.jsxs)(I.a.Item,{children:[Object(w.jsxs)("span",{className:"fs-15 color-black",children:["Contact No",Object(w.jsx)("span",{className:"color-red",children:"*"})]}),e("phone",{rules:[{required:!0,pattern:new RegExp("^[0-9 ]*$"),message:"Please enter only numbers"}]})(Object(w.jsx)(M.a,{placeholder:"Your reachable mobile",size:"large"}))]})}),Object(w.jsx)(u.a,{xs:24,sm:24,md:24,lg:24,xl:24,xxl:24,children:Object(w.jsxs)(I.a.Item,{className:"getntouch",children:[Object(w.jsxs)("span",{className:"fs-15 color-black",children:["Email",Object(w.jsx)("span",{className:"color-red",children:"*"})]}),e("email",{initialValue:null!=this.props.customer?this.props.customer.email:"",rules:[{type:"email",message:"E-mail is not valid"},{required:!0,message:"Please enter your E-mail"}]})(Object(w.jsx)(M.a,{placeholder:"Your reachable inbox",size:"large"}))]})}),Object(w.jsx)(u.a,{xs:24,sm:24,md:24,lg:24,xl:24,xxl:24,children:Object(w.jsxs)(I.a.Item,{className:"getntouch",children:[Object(w.jsx)("span",{className:"fs-15 color-black",children:"Company Name"}),e("company-name",{rules:[{required:!0,message:"Please enter your company name",whitespace:!0}]})(Object(w.jsx)(M.a,{placeholder:"Your Company's name",size:"large"}))]})}),Object(w.jsx)(u.a,{xs:24,sm:24,md:24,lg:24,xl:24,xxl:24,children:Object(w.jsxs)(I.a.Item,{className:"getntouch",children:[Object(w.jsxs)("span",{className:"fs-15 color-black",children:["Interested to find out more on",Object(w.jsx)("span",{className:"color-red",children:"*"})]}),e("topic",{rules:[{required:!0,message:"Please select a topic",whitespace:!0}]})(Object(w.jsxs)(B.a,{placeholder:"Please select a topic",size:"large",children:[Object(w.jsx)(R,{children:"Corporate Travel"},"Corporate Travel"),Object(w.jsx)(R,{children:"Digital Travel Solutions"},"Digital Travel Solutions"),Object(w.jsx)(R,{children:"M.I.C.E Services"},"M.I.C.E Services"),Object(w.jsx)(R,{children:"Others"},"Others")]}))]})})]}),Object(w.jsx)(r.a,{type:"flex",justify:"space-between",children:Object(w.jsx)(u.a,{xs:24,sm:24,md:24,lg:24,xl:24,xxl:24,children:Object(w.jsxs)(I.a.Item,{children:[Object(w.jsx)("span",{className:"fs-15 color-black",children:"Message"}),e("message",{rules:[{required:!0,message:"Please enter your message",whitespace:!0}]})(Object(w.jsx)(M.a.TextArea,{autoSize:{minRows:8,maxRows:8},placeholder:"Your Message"}))]})})})]})]})}}]),n}(S.a.Component)),F=n("mLFu"),A=n("sIwP"),z=n("6HYk"),q=n("YFqc"),U=n.n(q),Q=n("xt8a"),W=n("YOJ1");function Y(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Object(j.a)(e);if(t){var r=Object(j.a)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Object(g.a)(this,n)}}var X=function(e){Object(v.a)(n,e);var t=Y(n);function n(){var e;Object(h.a)(this,n);for(var o=arguments.length,r=new Array(o),a=0;a<o;a++)r[a]=arguments[a];return e=t.call.apply(t,[this].concat(r)),Object(O.a)(Object(y.a)(e),"formRef",void 0),Object(O.a)(Object(y.a)(e),"state",{formState:"",showForm:!0}),Object(O.a)(Object(y.a)(e),"onSubmit",(function(){var t=new C.TravelCloudClient(_.a);e.formRef.props.form.validateFieldsAndScroll(function(){var n=Object(m.a)(p.a.mark((function n(o,r){return p.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o){n.next=8;break}return e.setState({formState:"submitting"}),n.next=4,t.emailAdmins({customer_name:r.name,customer_email:r.email,admin_emails:["[email protected]"]},r);case 4:null==n.sent.result?e.setState({formState:"error"}):e.setState({formState:"submitted",showForm:!1}),n.next=8;break;case 8:case"end":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}())})),e}return Object(b.a)(n,[{key:"getParameterByName",value:function(e,t){t||(t=window.location.pathname),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);
1return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}},{key:"componentDidMount",value:function(){window.scrollTo(0,0);var e=window.location.href,t=this.getParameterByName("sub",e);this.setState({emailSubject:t}),T.Events.scrollEvent.register("begin",(function(){console.log("begin",arguments)})),T.Events.scrollEvent.register("end",(function(){console.log("end",arguments)}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.banner,o=t.contactDocument,a=t.travelWithPegasus,s=n.photos.find((function(e){return"168"===String(e.id)}));return Object(w.jsxs)("section",{id:"contact-us",children:[Object(w.jsx)(E.a,{children:Object(w.jsxs)("title",{children:["Contact | ",_.a.defaultTitle," "]})}),Object(w.jsx)(z.a,{backgroundImageUrl:Object(F.e)(s.url),title:s.title||"",subTitle:s.desc||""}),Object(w.jsx)(Q.a,{children:Object(w.jsx)("div",{className:"wrap pad-y",children:Object(w.jsxs)(r.a,{type:"flex",children:[Object(w.jsxs)(u.a,{xs:24,lg:6,children:[Object(w.jsx)(A.a,{title:"Coffee With Us",subtitle:" <p>We look forward to answer any questions you may have or to assist you in customising your trip.</p> <p>Simply type your requests in the fields provided and we will be in touch with you shortly.</p> ",align:"left"}),Object(w.jsx)("p",{className:"color-primary",style:{fontSize:15,fontWeight:"bold"},children:"Connect With Us"}),o.photos.map((function(e){var t=Object(F.c)(e.title),n=Object(f.a)(t,2),o=(n[0],n[1]);return Object(w.jsx)("div",{className:"contact-icon-div",children:Object(w.jsx)("a",{href:o,target:"_blank",children:Object(w.jsx)("img",{src:e.url,className:"contact-icon"})})},e.id)}))]}),Object(w.jsx)(u.a,{xs:24,lg:2}),Object(w.jsx)(u.a,{xs:24,lg:8,children:Object(w.jsxs)(T.Element,{name:"contact-form",children:["submitted"===this.state.formState?Object(w.jsxs)("div",{className:"center-block success",children:[Object(w.jsx)(c.a,{type:"smile",theme:"outlined"}),Object(w.jsx)("p",{children:"We have received your enquiry and will get back to you as soon as possible."})]}):Object(w.jsx)(w.Fragment,{children:Object(w.jsxs)("section",{style:{display:this.state.showForm?"block":"none"},children:[Object(w.jsx)(D,{wrappedComponentRef:function(t){e.formRef=t}}),Object(w.jsx)(i.a,{className:"bold w-100",style:{width:"100%",marginBottom:20},type:"primary",disabled:""!==this.state.formState&&"error"!==this.state.formState,onClick:this.onSubmit,children:""!==this.state.formState&&"error"!==this.state.formState?"Sending...":"Submit Form"}),Object(w.jsxs)("div",{style:{textAlign:"center"},children:["Please read our ",Object(w.jsx)(U.a,{href:"/privacy-policy",children:Object(w.jsx)("a",{style:{fontWeight:"bold",textDecoration:"underline"},children:"Privacy Policy"})})," before submitting"]})]})}),"error"===this.state.formState&&Object(w.jsxs)("div",{className:"center-block error",children:[Object(w.jsx)(c.a,{type:"meh",theme:"outlined"}),Object(w.jsx)("p",{children:"There was a problem submitting the form. Please try again later."})]})]})}),Object(w.jsx)(u.a,{xs:24,lg:2}),Object(w.jsx)(u.a,{xs:24,lg:6,children:Object(w.jsxs)("div",{style:{width:"100%"},children:[Object(w.jsx)("p",{className:"color-primary",children:Object(w.jsx)("strong",{children:"Locate Us"})}),Object(w.jsx)("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3988.814952041406!2d103.806792865536!3d1.2849918121364279!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x31da1bcde3fb3a2b%3A0xaf9312163f40cac0!2sPegasus%20Travel%20Management!5e0!3m2!1sen!2smm!4v1594201720637!5m2!1sen!2smm",width:"100%",height:"250",frameBorder:0,style:{border:"1px solid #F9F9F9"}}),Object(w.jsx)("div",{className:"contact-content",style:{marginTop:20},dangerouslySetInnerHTML:{__html:o.content}})]})})]})})}),a&&Object(w.jsx)("div",{style:{backgroundColor:"#f9f9f9",textAlign:"center"},children:Object(w.jsxs)("div",{className:"wrap pad-y",children:[Object(w.jsx)(A.a,{title:a.name}),Object(w.jsx)(r.a,{type:"flex",gutter:50,children:a.photos.map((function(e,t){return Object(w.jsxs)(u.a,{xs:12,md:6,"data-aos":"fade-in","data-aos-duration":200,"data-aos-delay":200*(t+1),"data-aos-easing":"ease-out","data-aos-once":"true",children:[Object(w.jsx)("img",{src:Object(F.e)(e.url),style:{marginBottom:20}}),Object(w.jsx)("div",{style:{maxWidth:260,margin:"auto"},children:e.desc})]},e.id)}))})]})})]})}}],[{key:"getInitialProps",value:function(){var e=Object(m.a)(p.a.mark((function e(t){var n,o,r,a,i;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new C.TravelCloudClient(_.a),e.next=3,n.document({id:15});case 3:return o=e.sent.result,e.next=6,n.document({id:31});case 6:return r=e.sent.result,e.next=9,Object(W.a)(n,["#corporate","home"]);case 9:return a=e.sent,i=a.find((function(e){return"11"===String(e.id)})),e.abrupt("return",{client:n,banner:o,contactDocument:r,travelWithPegasus:i});case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}]),n}(S.a.PureComponent)},NEP4:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=(s(n("xFC4")),s(n("/PZL"))),a=s(n("8QoP")),i=s(n("QQPg"));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return r.default[e.smooth]||r.default.defaultEasing},l=function(){if("undefined"!==typeof window)return window.requestAnimationFrame||window.webkitRequestAnimationFrame}()||function(e,t,n){window.setTimeout(e,n||1e3/60,(new Date).getTime())},u=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollLeft;var n=void 0!==window.pageXOffset,o="CSS1Compat"===(document.compatMode||"");return n?window.pageXOffset:o?document.documentElement.scrollLeft:document.body.scrollLeft},f=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollTop;var n=void 0!==window.pageXOffset,o="CSS1Compat"===(document.compatMode||"");return n?window.pageYOffset:o?document.documentElement.scrollTop:document.body.scrollTop},d=function e(t,n,o){var r=n.data;if(n.ignoreCancelEvents||!r.cancel)if(r.delta=Math.round(r.targetPosition-r.startPosition),null===r.start&&(r.start=o),r.progress=o-r.start,r.percent=r.progress>=r.duration?1:t(r.progress/r.duration),r.currentPosition=r.startPosition+Math.ceil(r.delta*r.percent),r.containerElement&&r.containerElement!==document&&r.containerElement!==document.body?n.horizontal?r.containerElement.scrollLeft=r.currentPosition:r.containerElement.scrollTop=r.currentPosition:n.horizontal?window.scrollTo(r.currentPosition,0):window.scrollTo(0,r.currentPosition),r.percent<1){var a=e.bind(null,t,n);l.call(window,a)}else i.default.registered.end&&i.default.registered.end(r.to,r.target,r.currentPosition);else i.default.registered.end&&i.default.registered.end(r.to,r.target,r.currentPositionY)},p=function(e){e.data.containerElement=e?e.containerId?document.getElementById(e.containerId):e.container&&e.container.nodeType?e.container:document:null},m=function(e,t,n,o){t.data=t.data||{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null},window.clearTimeout(t.data.delayTimeout);if(a.default.subscribe((function(){t.data.cancel=!0})),p(t),t.data.start=null,t.data.cancel=!1,t.data.startPosition=t.horizontal?u(t):f(t),t.data.targetPosition=t.absolute?e:e+t.data.startPosition,t.data.startPosition!==t.data.targetPosition){var r;t.data.delta=Math.round(t.data.targetPosition-t.data.startPosition),t.data.duration=("function"===typeof(r=t.duration)?r:function(){return r})(t.data.delta),t.data.duration=isNaN(parseFloat(t.data.duration))?1e3:parseFloat(t.data.duration),t.data.to=n,t.data.target=o;var s=c(t),m=d.bind(null,s,t);t&&t.delay>0?t.data.delayTimeout=window.setTimeout((function(){i.default.registered.begin&&i.default.registered.begin(t.data.to,t.data.target),l.call(window,m)}),t.delay):(i.default.registered.begin&&i.default.registered.begin(t.data.to,t.data.target),l.call(window,m))}else i.default.registered.end&&i.default.registered.end(t.data.to,t.data.target,t.data.currentPosition)},h=function(e){return(e=o({},e)).data=e.data||{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null},e.absolute=!0,e};t.default={animateTopScroll:m,getAnimationType:c,scrollToTop:function(e){m(0,h(e))},scrollToBottom:function(e){e=h(e),p(e),m(e.horizontal?function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollWidth-t.offsetWidth;var n=document.body,o=document.documentElement;return Math.max(n.scrollWidth,n.offsetWidth,o.clientWidth,o.scrollWidth,o.offsetWidth)}(e):function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollHeight-t.offsetHeight;var n=document.body,o=document.documentElement;return Math.max(n.scrollHeight,n.offsetHeight,o.clientHeight,o.scrollHeight,o.offsetHeight)}(e),e)},scrollTo:function(e,t){m(e,h(t))},scrollMore:function(e,t){t=h(t),p(t);var n=t.horizontal?u(t):f(t);m(e+n,t)}}},PGca:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var o=a(n("q1tI")),r=a(n("pUFB"));function a(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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 c=function(e){function t(){var e,n,r;i(this,t);for(var a=arguments.length,c=Array(a),l=0;l<a;l++)c[l]=arguments[l];return n=r=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),r.render=function(){return o.default.createElement("a",r.props,r.props.children)},s(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,e),t}(o.default.Component);t.default=(0,r.default)(c)},QLqi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.addPassiveEventListener=function(e,t,n){var r=n.name;r||(r=t,console.warn("Listener must be a named function.")),o.has(t)||o.set(t,new Set);var a=o.get(t);if(!a.has(r)){var i=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(n){}return e}();e.addEventListener(t,n,!!i&&{passive:!0}),a.add(r)}},t.removePassiveEventListener=function(e,t,n){e.removeEventListener(t,n),o.get(t).delete(n.name||t)};var o=new Map},QQPg:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={registered:{},scrollEvent:{register:function(e,t){o.registered[e]=t},remove:function(e){o.registered[e]=null}}};t.default=o},Y30y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=c(n("q1tI")),i=c(n("w2Tm")),s=c(n("17x9"));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 f=function(e){function t(){return l(this,t),u(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,e),r(t,[{key:"render",value:function(){var e=this,t=o({},this.props);return delete t.name,t.parentBindings&&delete t.parentBindings,a.default.createElement("div",o({},t,{ref:function(t){e.props.parentBindings.domNode=t}}),this.props.children)}}]),t}(a.default.Component);f.propTypes={name:s.default.string,id:s.default.string},t.default=(0,i.default)(f)},"hKI/":function(e,t,n){(function(t){var n=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,a=/^0o[0-7]+$/i,i=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,c="object"==typeof self&&self&&self.Object===Object&&self,l=s||c||Function("return this")(),u=Object.prototype.toString,f=Math.max,d=Math.min,p=function(){return l.Date.now()};function m(e,t,n){var o,r,a,i,s,c,l=0,u=!1,m=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=o,a=r;return o=r=void 0,l=t,i=e.apply(a,n)}function g(e){return l=e,s=setTimeout(O,t),u?v(e):i}function j(e){var n=e-c;return void 0===c||n>=t||n<0||m&&e-l>=a}function O(){var e=p();if(j(e))return w(e);
1s=setTimeout(O,function(e){var n=t-(e-c);return m?d(n,a-(e-l)):n}(e))}function w(e){return s=void 0,y&&o?v(e):(o=r=void 0,i)}function x(){var e=p(),n=j(e);if(o=arguments,r=this,c=e,n){if(void 0===s)return g(c);if(m)return s=setTimeout(O,t),v(c)}return void 0===s&&(s=setTimeout(O,t)),i}return t=b(t)||0,h(n)&&(u=!!n.leading,a=(m="maxWait"in n)?f(b(n.maxWait)||0,t):a,y="trailing"in n?!!n.trailing:y),x.cancel=function(){void 0!==s&&clearTimeout(s),l=0,o=c=r=s=void 0},x.flush=function(){return void 0===s?i:w(p())},x}function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var s=r.test(e);return s||a.test(e)?i(e.slice(2),s?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var o=!0,r=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return h(n)&&(o="leading"in n?!!n.leading:o,r="trailing"in n?!!n.trailing:r),m(e,t,{leading:o,maxWait:t,trailing:r})}}).call(this,n("yLpj"))},oqc9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Helpers=t.ScrollElement=t.ScrollLink=t.animateScroll=t.scrollSpy=t.Events=t.scroller=t.Element=t.Button=t.Link=void 0;var o=p(n("PGca")),r=p(n("7wkA")),a=p(n("Y30y")),i=p(n("zPnG")),s=p(n("QQPg")),c=p(n("wT0s")),l=p(n("NEP4")),u=p(n("pUFB")),f=p(n("w2Tm")),d=p(n("7FV1"));function p(e){return e&&e.__esModule?e:{default:e}}t.Link=o.default,t.Button=r.default,t.Element=a.default,t.scroller=i.default,t.Events=s.default,t.scrollSpy=c.default,t.animateScroll=l.default,t.ScrollLink=u.default,t.ScrollElement=f.default,t.Helpers=d.default,t.default={Link:o.default,Button:r.default,Element:a.default,scroller:i.default,Events:s.default,scrollSpy:c.default,animateScroll:l.default,ScrollLink:u.default,ScrollElement:f.default,Helpers:d.default}},pUFB:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=u(n("q1tI")),i=u(n("wT0s")),s=u(n("zPnG")),c=u(n("17x9")),l=u(n("Dy/p"));function u(e){return e&&e.__esModule?e:{default:e}}var f={to:c.default.string.isRequired,containerId:c.default.string,container:c.default.object,activeClass:c.default.string,activeStyle:c.default.object,spy:c.default.bool,horizontal:c.default.bool,smooth:c.default.oneOfType([c.default.bool,c.default.string]),offset:c.default.number,delay:c.default.number,isDynamic:c.default.bool,onClick:c.default.func,duration:c.default.oneOfType([c.default.number,c.default.func]),absolute:c.default.bool,onSetActive:c.default.func,onSetInactive:c.default.func,ignoreCancelEvents:c.default.bool,hashSpy:c.default.bool,saveHashHistory:c.default.bool,spyThrottle:c.default.number};t.default=function(e,t){var n=t||s.default,c=function(t){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var 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,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return u.call(t),t.state={active:!1},t.beforeUnmountCallbacks=[],t}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)}(s,t),r(s,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e&&!t?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();if(!i.default.isMounted(e)){var t=i.default.mount(e,this.props.spyThrottle);
1this.beforeUnmountCallbacks.push(t)}this.props.hashSpy&&(l.default.isMounted()||l.default.mount(n),l.default.mapContainer(this.props.to,e)),i.default.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){i.default.unmount(this.stateHandler,this.spyHandler),this.beforeUnmountCallbacks.forEach((function(e){return e()}))}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n={};n=this.state&&this.state.active?o({},this.props.style,this.props.activeStyle):o({},this.props.style);var r=o({},this.props);for(var i in f)r.hasOwnProperty(i)&&delete r[i];return r.className=t,r.style=n,r.onClick=this.handleClick,a.default.createElement(e,r)}}]),s}(a.default.PureComponent),u=function(){var e=this;this.scrollTo=function(t,r){n.scrollTo(t,o({},e.state,r))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.spyHandler=function(t,o){var r=e.getScrollSpyContainer();if(!l.default.isMounted()||l.default.isInitialized()){var a=e.props.horizontal,i=e.props.to,s=null,c=void 0,u=void 0;if(a){var f=0,d=0,p=0;if(r.getBoundingClientRect)p=r.getBoundingClientRect().left;if(!s||e.props.isDynamic){if(!(s=n.get(i)))return;var m=s.getBoundingClientRect();d=(f=m.left-p+t)+m.width}var h=t-e.props.offset;c=h>=Math.floor(f)&&h<Math.floor(d),u=h<Math.floor(f)||h>=Math.floor(d)}else{var b=0,y=0,v=0;if(r.getBoundingClientRect)v=r.getBoundingClientRect().top;if(!s||e.props.isDynamic){if(!(s=n.get(i)))return;var g=s.getBoundingClientRect();y=(b=g.top-v+o)+g.height}var j=o-e.props.offset;c=j>=Math.floor(b)&&j<Math.floor(y),u=j<Math.floor(b)||j>=Math.floor(y)}var O=n.getActiveLink();if(u){if(i===O&&n.setActiveLink(void 0),e.props.hashSpy&&l.default.getHash()===i){var w=e.props.saveHashHistory,x=void 0!==w&&w;l.default.changeHash("",x)}e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive(i,s))}if(c&&(O!==i||!1===e.state.active)){n.setActiveLink(i);var S=e.props.saveHashHistory,P=void 0!==S&&S;e.props.hashSpy&&l.default.changeHash(i,P),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(i,s))}}}};return c.propTypes=f,c.defaultProps={offset:0},c}},w2Tm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=c(n("q1tI")),i=(c(n("i8i4")),c(n("zPnG"))),s=c(n("17x9"));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var 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,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}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)}(n,t),r(n,[{key:"componentDidMount",value:function(){if("undefined"===typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(e){this.props.name!==e.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"===typeof window)return!1;i.default.unregister(this.props.name)}},{key:"registerElems",value:function(e){i.default.register(e,this.childBindings.domNo
1de)}},{key:"render",value:function(){return a.default.createElement(e,o({},this.props,{parentBindings:this.childBindings}))}}]),n}(a.default.Component);return t.propTypes={name:s.default.string,id:s.default.string},t}},wT0s:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n("hKI/"),a=(o=r)&&o.__esModule?o:{default:o},i=n("QLqi");var s={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(e,t){if(e){var n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:66;return(0,a.default)(e,t)}((function(t){s.scrollHandler(e)}),t);return s.scrollSpyContainers.push(e),(0,i.addPassiveEventListener)(e,"scroll",n),function(){(0,i.removePassiveEventListener)(e,"scroll",n),s.scrollSpyContainers.splice(s.scrollSpyContainers.indexOf(e),1)}}return function(){}},isMounted:function(e){return-1!==s.scrollSpyContainers.indexOf(e)},currentPositionX:function(e){if(e===document){var t=void 0!==window.scrollY,n="CSS1Compat"===(document.compatMode||"");return t?window.scrollX:n?document.documentElement.scrollLeft:document.body.scrollLeft}return e.scrollLeft},currentPositionY:function(e){if(e===document){var t=void 0!==window.scrollX,n="CSS1Compat"===(document.compatMode||"");return t?window.scrollY:n?document.documentElement.scrollTop:document.body.scrollTop}return e.scrollTop},scrollHandler:function(e){(s.scrollSpyContainers[s.scrollSpyContainers.indexOf(e)].spyCallbacks||[]).forEach((function(t){return t(s.currentPositionX(e),s.currentPositionY(e))}))},addStateHandler:function(e){s.spySetState.push(e)},addSpyHandler:function(e,t){var n=s.scrollSpyContainers[s.scrollSpyContainers.indexOf(t)];n.spyCallbacks||(n.spyCallbacks=[]),n.spyCallbacks.push(e)},updateStates:function(){s.spySetState.forEach((function(e){return e()}))},unmount:function(e,t){s.scrollSpyContainers.forEach((function(e){return e.spyCallbacks&&e.spyCallbacks.length&&e.spyCallbacks.indexOf(t)>-1&&e.spyCallbacks.splice(e.spyCallbacks.indexOf(t),1)})),s.spySetState&&s.spySetState.length&&s.spySetState.indexOf(e)>-1&&s.spySetState.splice(s.spySetState.indexOf(e),1),document.removeEventListener("scroll",s.scrollHandler)},update:function(){return s.scrollSpyContainers.forEach((function(e){return s.scrollHandler(e)}))}};t.default=s},xFC4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e,t){for(var n=e.offsetTop,o=e.offsetParent;o&&!t(o);)n+=o.offsetTop,o=o.offsetParent;return{offsetTop:n,offsetParent:o}};t.default={updateHash:function(e,t){var n=0===e.indexOf("#")?e.substring(1):e,o=n?"#"+n:"",r=window&&window.location,a=o?r.pathname+r.search+o:r.pathname+r.search;t?history.pushState(history.state,"",a):history.replaceState(history.state,"",a)},getHash:function(){return window.location.hash.replace(/^#/,"")},filterElementInContainer:function(e){return function(t){return e.contains?e!=t&&e.contains(t):!!(16&e.compareDocumentPosition(t))}},scrollOffset:function(e,t,n){if(n)return e===document?t.getBoundingClientRect().left+(window.scrollX||window.pageXOffset):"static"!==getComputedStyle(e).position?t.offsetLeft:t.offsetLeft-e.offsetLeft;if(e===document)return t.getBoundingClientRect().top+(window.scrollY||window.pageYOffset);if("static"!==getComputedStyle(e).position){if(t.offsetParent!==e){var r=o(t,(function(t){return t===e||t===document})),a=r.offsetTop;if(r.offsetParent!==e)throw new Error("Seems containerElement is not an ancestor of the Element");return a}return t.offsetTop}if(t.offsetParent===e.offsetParent)return t.offsetTop-e.offsetTop;var i=function(e){return e===document};return o(t,i).offsetTop-o(e,i).offsetTop}}},zPnG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=s(n("xFC4")),a=s(n("NEP4")),i=s(n("QQPg"));function s(e){return e&&e.__esModule?e:{default:e}}var c={},l=void 0;t.default={unmount:function(){c={}},register:function(e,t){c[e]=t},unregister:function(e){delete c[e]},get:function(e){return c[e]||document.getElementById(e)||document.getElementsByName(e)[0]||document.getElementsByClassName(e)[0]}
1,setActiveLink:function(e){return l=e},getActiveLink:function(){return l},scrollTo:function(e,t){var n=this.get(e);if(n){var s=(t=o({},t,{absolute:!1})).containerId,c=t.container,l=void 0;l=s?document.getElementById(s):c&&c.nodeType?c:document,t.absolute=!0;var u=t.horizontal,f=r.default.scrollOffset(l,n,u)+(t.offset||0);if(!t.smooth)return i.default.registered.begin&&i.default.registered.begin(e,n),l===document?t.horizontal?window.scrollTo(f,0):window.scrollTo(0,f):l.scrollTop=f,void(i.default.registered.end&&i.default.registered.end(e,n));a.default.animateTopScroll(f,t,e,n)}else console.warn("target Element not found")}}}},[["7lKP",0,1,4,8,2,3,5,6,7,9,10,11,12,13,14,15,20,23,26,28]]]);
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.