(window.webpackJsonp=window.webpackJsonp||[]).push([[128,68],{"+6hd":function(e,t,n){"use strict";var o=n("q1tI"),r=n.n(o),i=n("fhwx"),a=n.n(i),l=n("OS56"),s=n.n(l),c=(n("2v50"),n("euZO"),n("60Bi")),u=n.n(c),d=n("0WgE"),f=(n("1s6y"),r.a.createElement);t.a=function(e){var t,n,i,l,c,h,p,v,m,g,y,b,w,k,O,S,T,N,x,j,_,E,C,P,L,D=e.data,A=e.etgAdvisory,M=void 0!==A&&A,H=e.showTopSection,I=void 0!==H&&H,q=e.oneHealthAdvisory,z=void 0!==q&&q,R=e.showVideo,F=void 0!==R&&R,U=Object(o.useState)(0),B=U[0],W=U[1],V=Object(o.useState)(!1),G=V[0],K=V[1],$=Object(o.useState)(!1),Y=$[0],J=$[1],X=Object(o.useState)(!1),Z=X[0],Q=X[1],ee=Object(o.useRef)(),te=Object(o.useState)(!1),ne=te[0],oe=te[1];return Object(o.useEffect)((function(){var e=function(){oe(window.screen.width<990)};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),f(r.a.Fragment,null,f("div",{className:"container-fluid"},f("div",{className:"principalWrapper"},ne&&f("div",{className:"principalLeftSection"},f(s.a,{slidesToScroll:2,slidesToShow:2,infinite:!0,dots:!1,arrows:!0,autoplay:!1,useTransform:!0},D&&D.map((function(e,t){return f("div",{key:t,className:"nameBox ".concat(B===t?"active":""),onClick:function(){return W(t)}},e.name||e.title)})))),f("div",{className:"principalLeftSection ".concat(1==z&&"one-health-advisory")},!ne&&(null===D||void 0===D?void 0:D.map((function(e,t){return f("div",{className:"nameBox ".concat(B===t?"active":""),onClick:function(){return W(t)}},e.name||e.title)})))),f("div",{className:"principalRightSection ".concat(M?"etg":"")},D[B].profileSummary?f(r.a.Fragment,null,f("div",{className:"rightTopSection"},a()(D[B].profileSummary)),f("div",{className:"rightBottomSection"},((null===(t=D[B])||void 0===t?void 0:null===(n=t.cardImage)||void 0===n?void 0:n.url)||(null===(i=D[B])||void 0===i?void 0:null===(l=i.image)||void 0===l?void 0:l.url))&&f("div",{className:"imageSection"},f("img",{src:(null===(c=D[B])||void 0===c?void 0:null===(h=c.cardImage)||void 0===h?void 0:h.url)||(null===(p=D[B])||void 0===p?void 0:null===(v=p.image)||void 0===v?void 0:v.url),alt:(null===(m=D[B])||void 0===m?void 0:null===(g=m.cardImage)||void 0===g?void 0:g.alt)||(null===(y=D[B])||void 0===y?void 0:null===(b=y.image)||void 0===b?void 0:b.url)})),f("div",{className:"mainContent"},f("div",{className:"intiativeSection mb-30"},a()(D[B].majorInitiatives)),f("div",{className:"SignificatawardSection mb-30"},null===D||void 0===D?void 0:null===(w=D[B])||void 0===w?void 0:null===(k=w.awardSummary)||void 0===k?void 0:null===(O=k.split("<br />"))||void 0===O?void 0:O.map((function(e,t){return f(r.a.Fragment,null,0===t?f("strong",null,a()(e)):f("div",{className:"award-wrapper"},f("span",{className:"award-icon"},a()(e))))}))),f("div",{className:"profile mb-30"},f("p",null,f("strong",null,"Profile")),a()(D[B].profile)),f("div",{className:"awardSection mb-30"},f("p",null,f("strong",null,"Awards")),a()(D[B].awards))))):f(r.a.Fragment,null,I&&f(r.a.Fragment,null,f("div",{className:"rightTopSection scrollSection",onScroll:function(){var e=ee.current.scrollTop,t=ee.current.scrollHeight-ee.current.clientHeight;e>=t!==G&&K(e>=t)},ref:ee},f("div",{className:"scroll-wrap"},a()(D[B].description)),f("div",{className:"icon-arrow"},G?"":f("img",{src:"/assets/images/dropdown_arrow.svg"})))),f("div",{className:"rightBottomSection"},D[B].test_detail?a()(D[B].test_detail):f(r.a.Fragment,null,(null===(S=D[B])||void 0===S?void 0:S.image)?f(r.a.Fragment,null," ",ne?f("div",{className:"process-modal"},f(d.default,{isOpen:Z,onClose:function(){return Q(!1)},width:"100%",height:"100%",modalContentHeight:"600px",showClosebutton:!0}," ",f("img",{className:"goals",src:"/assets/images/goals_vertical.png"})," "),f("div",{className:"zoom-flip",onClick:function(){return Q(!0)}},f("img",{src:"/assets/images/zoom_flip.svg"})),f("img",{src:null===(_=D[B])||void 0===_?void 0:null===(E=_.image)||void 0===E?void 0:E.url,alt:null===(C=D[B])||void 0===C?void 0:null===(P=C.image)||void 0===P?void 0:P.alt})):f("img",{src:null===(T=D[B])||void 0===T?void 0:null===(N=T.image)||void 0===N?void 0:N.url,alt:null===(x=D[B])||void 0===x?void 0:null===(j=x.image)||void 0===j?void 0:j.alt})):f("div",{style:{width:"100%"}},Y&&f("div",{className:"videoOnModal"},f(u.a,{channel:"youtube",isOpen:Y,videoId:null===(L=D[B])||void 0===L?void 0:L.video,onClose:function(){return J(!1)}})),F&&f("div",{className:"video-section",style:{position:"relative"}},f("div",{className:"playIcon lg",onClick:function(){return J(!0)}}))))))))))}},"+U0L":function(e,t,n){function o(){throw new Error('Looks like you are expecting the previous "elasticsearch" module. It is now the "es" module. To create a client with this module use `new es.Client(params)`.')}o.Client=n("JvoY"),o.ConnectionPool=n("IDUY"),o.Transport=n("3B+5"),o.errors=n("3lc3"),e.exports=o},"+jTQ":function(e,t,n){"use strict";var o=n("KQm4"),r=n("q1tI"),i=n.n(r),a=n("fhwx"),l=n.n(a),s=(n("2iKN"),n("2v50")),c=i.a.createElement;t.a=function(e){var t=e.introData,n=Object(r.useState)(!1),a=n[0],u=n[1],d=Object(r.useState)([0,1,2]),f=d[0],h=d[1],p=Object(r.useState)(0),v=p[0],m=p[1],g=function(){var e=[].concat(Object(o.a)(f.slice(1)),[f[0]]);u((function(e){return!e})),h(e),m((v+1)%f.length)},y=function(){var e=[f[f.length-1]].concat(Object(o.a)(f.slice(0,f.length-1)));u((function(e){return!e})),h(e),m((v-1+f.length)%f.length)};return Object(r.useEffect)((function(){u((function(e){return!e}))}),[f]),c(i.a.Fragment,null,c("div",null,Object(s.o)()?c("div",{className:"container-fluid"},c("h3",{className:"heading-02 missionintro-slider-heading"},"OUR WORK THEMES")):c("h3",{className:"heading-02 missionintro-slider-heading"},"OUR WORK THEMES"),Object(s.o)()&&c("div",{className:"container-fluid"},c("div",{className:a?"fade-in missionintro-image-middle top-image":"missionintro-image-middle top-image fade-out",style:{backgroundSize:"cover",backgroundPosition:"center",backgroundImage:"url(".concat(t.work_themes[f[1]].image,")"),width:"100%"}},c("div",{className:"center-image-wrapper"},c("div",{className:"center-image-content"},c("h2",{className:"text-white heading-02"},l()(t.work_themes[f[1]].description.slice(t.work_themes[f[1]].description.indexOf("<h2>")+4,t.work_themes[f[1]].description.indexOf("</h2>")))),c("p",{className:"text-white"},t.work_themes[f[1]].description.slice(t.work_themes[f[1]].description.indexOf("<p>")+4,t.work_themes[f[1]].description.indexOf("</p>"))))))),c("div",{className:"missionintro-slider",style:{display:"flex",flexDirection:"row"}},(null===t||void 0===t?void 0:t.work_themes)&&t.work_themes.map((function(e,n){return c(i.a.Fragment,null,1!==n?c("div",{className:"missionintro-image prev-image"},c("img",{className:a?"fade-in":"fade-out",src:t.work_themes[f[n]].image,alt:"workThemesBackground"})):c("div",{className:a?"fade-in missionintro-image-middle middle-mob":"missionintro-image-middle fade-out middle-mob",style:{backgroundSize:"cover",backgroundPosition:"center",backgroundImage:"url(".concat(t.work_themes[f[n]].image,")")}},c("div",{className:"center-image-wrapper"},c("div",{className:"center-image-content"},c("h2",{className:"text-white heading-02"},l()(t.work_themes[f[n]].description.slice(t.work_themes[f[n]].description.indexOf("<h2>")+4,t.work_themes[f[n]].description.indexOf("</h2>")))),!Object(s.o)()&&c("p",{className:"text-white"},t.work_themes[f[n]].description.slice(t.work_themes[f[n]].description.indexOf("<p>")+4,t.work_themes[f[n]].description.indexOf("</p>")))),c("button",{className:"arrow-yellow-prev arrow-yellow",onClick:y}),c("button",{className:"arrow-yellow-next arrow-yellow",onClick:g}))))})))))}},"+xXU":function(e,t,n){var o=n("nqsp"),r=n("2XKd");function i(){}o.inherits(i,r),i.prototype.encode=function(e){switch(typeof e){case"string":return e;case"object":if(e)return angular.toJson(e);default:return}},e.exports=i},"/M1s":function(e,t,n){},"/wW9":function(e,t,n){var o={xhr:n("Pt6o"),jquery:n("1zUT"),angular:n("5Tn3")};n("LvDl").each(o,(function(e,t){"function"!==typeof e&&delete o[t]})),o.xhr?o._default="xhr":o.angular?o._default="angular":o._default="jquery",e.exports=o},"0TYm":function(e,t,n){"use strict";var o=n("q1tI"),r=n.n(o),i=n("fhwx"),a=n.n(i),l=(n("2v50"),n("wdW+"),n("BUpc")),s=r.a.createElement;t.a=function(e){var t,n,i,c,u,d,f,h,p,v,m,g,y,b=e.data,w=e.hideTitle,k=void 0!==w&&w,O=e.insideHexagon,S=void 0!==O&&O,T=e.showTooltip,N=void 0!==T&&T,x=Object(o.useState)(0),j=x[0],_=x[1],E=Object(o.useState)(!1),C=E[0],P=E[1];return Object(o.useEffect)((function(){var e=function(){P(window.screen.width<990)};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),s("div",{className:"hexagon-slider mt-50 ".concat(S?"":"mb-50 mb-md-30"," mt-md-30")},s("div",{className:"".concat(S?"":"container-fluid")},C?s("div",null,s("div",{className:"hexagon-slider-wrapper",style:{display:"flex",flexWrap:"wrap",justifyContent:"center"}},b.map((function(e,t){var n,o;return s(r.a.Fragment,null,!k&&s(r.a.Fragment,null,s("div",{className:"".concat(j===t?"hexa-active":"hexagon-inactive"),onClick:function(){_(t)}},s("h3",{className:"lato-heading text-uppercase"},(null===e||void 0===e?void 0:null===(n=e.title)||void 0===n?void 0:null===(o=n[0])||void 0===o?void 0:o.value)||e.title))))}))),s("div",null,s("div",{className:"hexagon-slider-wrapper mob"},s("div",{className:"hexa-inactive"},s("div",{className:"hexagon-slider-content"},s("div",{className:"hexagon-inner"},s("div",{className:"hexagon-icon"},s("img",{src:(null===(t=b[j])||void 0===t?void 0:null===(n=t.normalImage)||void 0===n?void 0:n.url)||(null===(i=b[j])||void 0===i?void 0:null===(c=i.image)||void 0===c?void 0:c.url)||(null===(u=b[j])||void 0===u?void 0:u.image),alt:(null===(d=b[j])||void 0===d?void 0:null===(f=d.normalImage)||void 0===f?void 0:f.alt)||(null===(h=b[j])||void 0===h?void 0:null===(p=h.image)||void 0===p?void 0:p.alt)||(null===(v=b[j])||void 0===v?void 0:v.alt)})),!k&&s(r.a.Fragment,null,s("h3",{className:"lato-heading text-uppercase"},(null===(m=b[j])||void 0===m?void 0:null===(g=m.title)||void 0===g?void 0:null===(y=g[0])||void 0===y?void 0:y.value)||b[j].title)),s("div",{className:"lato-paragraph-xsmall"},a()(b[j].detail||b[j].description)))))))):s("div",{className:"hexagon-slider-wrapper",style:{display:"flex",flexDirection:"row",justifyContent:"space-between"}},b.map((function(e,t){var n,o,i,c,u,d;return s(r.a.Fragment,null,j!==t?s("div",{key:t,className:"hexagon-inactive ".concat(t<j?"left":t!==j&&"right"),onClick:function(){_(t)}},s("div",{className:"hexagon-inactive-text"},s("p",null,e.title))):s("div",{key:t,className:"".concat(j===t?"hexa-active":"")},s("div",{className:"hexagon-slider-content"},s("div",{className:"hexagon-inner"},s("div",{className:"hexagon-icon"},s("img",{src:(null===e||void 0===e?void 0:null===(n=e.normalImage)||void 0===n?void 0:n.url)||(null===e||void 0===e?void 0:null===(o=e.image)||void 0===o?void 0:o.url)||(null===e||void 0===e?void 0:e.image),alt:(null===e||void 0===e?void 0:null===(i=e.normalImage)||void 0===i?void 0:i.alt)||(null===e||void 0===e?void 0:null===(c=e.image)||void 0===c?void 0:c.alt)||(null===e||void 0===e?void 0:e.alt)})),!k&&s(r.a.Fragment,null,s("h3",{className:"lato-heading text-uppercase"},(null===e||void 0===e?void 0:null===(u=e.title)||void 0===u?void 0:null===(d=u[0])||void 0===d?void 0:d.value)||e.title)),s(r.a.Fragment,null,N?s(l.a,{text:a()(e.detail||e.description)},s("div",{className:"lato-paragraph-xsmall"},a()(e.detail||e.description))):s("div",{className:"lato-paragraph-xsmall"},a()(e.detail||e.description)))))))})))))}},"0WgE":function(e,t,n){"use strict";n.r(t);var o=n("q1tI"),r=n.n(o),i=(n("JyNM"),r.a.createElement);t.default=function(e){var t=e.isOpen,n=e.onClose,o=e.children,r=e.width,a=e.height,l=e.modalContentHeight,s=e.closeButtonStyle,c=void 0===s?{}:s,u=e.showClosebutton,d=e.overFlowX,f=void 0===d?"hidden":d,h=e.overFlowY,p=void 0===h?"hidden":h,v=e.padding;return t?i("div",{className:"modal-overlay",style:{width:r,height:a}},i("div",{className:"modal-content",style:{height:l,overflowX:f,overflowY:p,padding:void 0===v?"20px":v}},u&&i("span",{className:"close-button",style:c,onClick:n},"\xd7"),o)):null}},"0sBl":function(e,t,n){},"1TCz":function(e,t,n){"use strict";n.r(t),n.d(t,"MyContext",(function(){return rt}));var o={};n.r(o),n.d(o,"initialize",(function(){return V})),n.d(o,"ga",(function(){return G})),n.d(o,"set",(function(){return K})),n.d(o,"send",(function(){return $})),n.d(o,"pageview",(function(){return Y})),n.d(o,"modalview",(function(){return J})),n.d(o,"timing",(function(){return X})),n.d(o,"event",(function(){return Z})),n.d(o,"exception",(function(){return Q})),n.d(o,"plugin",(function(){return ee})),n.d(o,"outboundLink",(function(){return te})),n.d(o,"testModeAPI",(function(){return ne})),n.d(o,"default",(function(){return oe}));var r=n("nOHt"),i=n("q1tI"),a=n.n(i),l=n("9a8T"),s=n.n(l),c=n("17x9"),u=n.n(c);function d(e){console.warn("[react-ga]",e)}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){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function p(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],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 o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(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 b(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="_blank",k=1,O=function(e){function t(){var e,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return n=function(e,t){return!t||"object"!==f(t)&&"function"!==typeof t?g(e):t}(this,(e=m(t)).call.apply(e,[this].concat(r))),b(g(n),"handleClick",(function(e){var o=n.props,r=o.target,i=o.eventLabel,a=o.to,l=o.onClick,s=o.trackerNames,c={label:i},u=r!==w,d=!(e.ctrlKey||e.shiftKey||e.metaKey||e.button===k);u&&d?(e.preventDefault(),t.trackLink(c,(function(){window.location.href=a}),s)):t.trackLink(c,(function(){}),s),l&&l(e)})),n}var n,o,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&&y(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=this.props,t=e.to,n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(n,!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},p(e,["to"]),{href:t,onClick:this.handleClick});return this.props.target===w&&(n.rel="noopener noreferrer"),delete n.eventLabel,delete n.trackerNames,a.a.createElement("a",n)}}])&&v(n.prototype,o),r&&v(n,r),t}(i.Component);function S(e){return e.replace(/^\s+|\s+$/g,"")}b(O,"trackLink",(function(){d("ga tracking not enabled")})),b(O,"propTypes",{eventLabel:u.a.string.isRequired,target:u.a.string,to:u.a.string,onClick:u.a.func,trackerNames:u.a.arrayOf(u.a.string)}),b(O,"defaultProps",{target:null,to:null,onClick:null,trackerNames:null});var T=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;var N="REDACTED (Potential Email Address)";function x(e,t){return function(e){return"string"===typeof e&&-1!==e.indexOf("@")}(e)?(d("This arg looks like an email address, redacting."),N):t?S(e).replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,(function(e,t,n){return t>0&&t+e.length!==n.length&&e.search(T)>-1&&":"!==n.charAt(t-2)&&("-"!==n.charAt(t+e.length)||"-"===n.charAt(t-1))&&n.charAt(t-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)})):e}var j=function(e){var t,n,o,r,i,a,l,s="https://www.google-analytics.com/analytics.js";e&&e.gaAddress?s=e.gaAddress:e&&e.debug&&(s="https://www.google-analytics.com/analytics_debug.js"),t=window,n=document,o="script",r=s,i="ga",t.GoogleAnalyticsObject=i,t.ga=t.ga||function(){(t.ga.q=t.ga.q||[]).push(arguments)},t.ga.l=1*new Date,a=n.createElement(o),l=n.getElementsByTagName(o)[0],a.async=1,a.src=r,l.parentNode.insertBefore(a,l)};function _(e){console.info("[react-ga]",e)}var E=[],C={calls:E,ga:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];E.push([].concat(t))},resetCalls:function(){E.length=0}};function P(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}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 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 M(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")}()}var H="undefined"===typeof window||"undefined"===typeof document,I=!1,q=!0,z=!1,R=!0,F=function(){var e;return z?C.ga.apply(C,arguments):!H&&(window.ga?(e=window).ga.apply(e,arguments):d("ReactGA.initialize must be called first or GoogleAnalytics should be loaded manually"))};function U(e){return x(e,q)}function B(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var r=n[0];if("function"===typeof F){if("string"!==typeof r)return void d("ga command must be a string");!R&&Array.isArray(e)||F.apply(void 0,n),Array.isArray(e)&&e.forEach((function(e){F.apply(void 0,M(["".concat(e,".").concat(r)].concat(n.slice(1))))}))}}function W(e,t){e?t&&(t.debug&&!0===t.debug&&(I=!0),!1===t.titleCase&&(q=!1),t.useExistingGa)||(t&&t.gaOptions?F("create",e,t.gaOptions):F("create",e,"auto")):d("gaTrackingID is required in initialize()")}function V(e,t){if(t&&!0===t.testMode)z=!0;else{if(H)return!1;t&&!0===t.standardImplementation||j(t)}return R=!t||"boolean"!==typeof t.alwaysSendToDefaultTracker||t.alwaysSendToDefaultTracker,Array.isArray(e)?e.forEach((function(e){"object"===A(e)?W(e.trackingId,e):d("All configs must be an object")})):W(e,t),!0}function G(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length>0&&(F.apply(void 0,t),I&&(_("called ga('arguments');"),_("with arguments: ".concat(JSON.stringify(t))))),window.ga}function K(e,t){e?"object"===A(e)?(0===Object.keys(e).length&&d("empty `fieldsObject` given to .set()"),B(t,"set",e),I&&(_("called ga('set', fieldsObject);"),_("with fieldsObject: ".concat(JSON.stringify(e))))):d("Expected `fieldsObject` arg to be an Object"):d("`fieldsObject` is required in .set()")}function $(e,t){B(t,"send",e),I&&(_("called ga('send', fieldObject);"),_("with fieldObject: ".concat(JSON.stringify(e))),_("with trackers: ".concat(JSON.stringify(t))))}function Y(e,t,n){if(e){var o=S(e);if(""!==o){var r={};if(n&&(r.title=n),B(t,"send",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(n,!0).forEach((function(t){D(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}({hitType:"pageview",page:o},r)),I){_("called ga('send', 'pageview', path);");var i="";n&&(i=" and title: ".concat(n)),_("with path: ".concat(o).concat(i))}}else d("path cannot be an empty string in .pageview()")}else d("path is required in .pageview()")}function J(e,t){if(e){var n,o="/"===(n=S(e)).substring(0,1)?n.substring(1):n;if(""!==o){var r="/modal/".concat(o);B(t,"send","pageview",r),I&&(_("called ga('send', 'pageview', path);"),_("with path: ".concat(r)))}else d("modalName cannot be an empty string or a single / in .modalview()")}else d("modalName is required in .modalview(modalName)")}function X(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.category,n=e.variable,o=e.value,r=e.label,i=arguments.length>1?arguments[1]:void 0;if(t&&n&&o&&"number"===typeof o){var a={hitType:"timing",timingCategory:U(t),timingVar:U(n),timingValue:o};r&&(a.timingLabel=U(r)),$(a,i)}else d("args.category, args.variable AND args.value are required in timing() AND args.value has to be a number")}function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.category,n=e.action,o=e.label,r=e.value,i=e.nonInteraction,a=e.transport,l=P(e,["category","action","label","value","nonInteraction","transport"]),s=arguments.length>1?arguments[1]:void 0;if(t&&n){var c={hitType:"event",eventCategory:U(t),eventAction:U(n)};o&&(c.eventLabel=U(o)),"undefined"!==typeof r&&("number"!==typeof r?d("Expected `args.value` arg to be a Number."):c.eventValue=r),"undefined"!==typeof i&&("boolean"!==typeof i?d("`args.nonInteraction` must be a boolean."):c.nonInteraction=i),"undefined"!==typeof a&&("string"!==typeof a?d("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(a)&&d("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),c.transport=a)),Object.keys(l).filter((function(e){return"dimension"===e.substr(0,"dimension".length)})).forEach((function(e){c[e]=l[e]})),Object.keys(l).filter((function(e){return"metric"===e.substr(0,"metric".length)})).forEach((function(e){c[e]=l[e]})),$(c,s)}else d("args.category AND args.action are required in event()")}function Q(e,t){var n=e.description,o=e.fatal,r={hitType:"exception"};n&&(r.exDescription=U(n)),"undefined"!==typeof o&&("boolean"!==typeof o?d("`args.fatal` must be a boolean."):r.exFatal=o),$(r,t)}var ee={require:function(e,t,n){if(e){var o=S(e);if(""!==o){var r=n?"".concat(n,".require"):"require";if(t){if("object"!==A(t))return void d("Expected `options` arg to be an Object");0===Object.keys(t).length&&d("Empty `options` given to .require()"),G(r,o,t),I&&_("called ga('require', '".concat(o,"', ").concat(JSON.stringify(t)))}else G(r,o),I&&_("called ga('require', '".concat(o,"');"))}else d("`name` cannot be an empty string in .require()")}else d("`name` is required in .require()")},execute:function(e,t){var n,o;if(1===(arguments.length<=2?0:arguments.length-2)?n=arguments.length<=2?void 0:arguments[2]:(o=arguments.length<=2?void 0:arguments[2],n=arguments.length<=3?void 0:arguments[3]),"string"!==typeof e)d("Expected `pluginName` arg to be a String.");else if("string"!==typeof t)d("Expected `action` arg to be a String.");else{var r="".concat(e,":").concat(t);n=n||null,o&&n?(G(r,o,n),I&&(_("called ga('".concat(r,"');")),_('actionType: "'.concat(o,'" with payload: ').concat(JSON.stringify(n))))):n?(G(r,n),I&&(_("called ga('".concat(r,"');")),_("with payload: ".concat(JSON.stringify(n))))):(G(r),I&&_("called ga('".concat(r,"');")))}}};function te(e,t,n){if("function"===typeof t)if(e&&e.label){var o={hitType:"event",eventCategory:"Outbound",eventAction:"Click",eventLabel:U(e.label)},r=!1,i=setTimeout((function(){r=!0,t()}),250);o.hitCallback=function(){clearTimeout(i),r||t()},$(o,n)}else d("args.label is required in outboundLink()");else d("hitCallback function is required")}var ne=C,oe={initialize:V,ga:G,set:K,send:$,pageview:Y,modalview:J,timing:X,event:Z,exception:Q,plugin:ee,outboundLink:te,testModeAPI:C};function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}O.origTrackLink=O.trackLink,O.trackLink=te;var ae=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(n,!0).forEach((function(t){ie(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},o,{OutboundLink:O}),le=n("838P"),se=n("81xT"),ce=n("YFqc"),ue=n.n(ce),de=n("2v50"),fe=n("Ff2n"),he=n("wx14"),pe=n("k82f"),ve=(n("1kDh"),a.a.createElement),me=a.a.memo((function(e){var t=Object(i.useState)(!1),n=t[0],o=t[1],r=e.maxHeight;Object(i.useEffect)((function(){for(var e=document.querySelectorAll(".custom-scrollbar"),t=0;t<e.length;t++){e[t].clientHeight>=e[t].children[0].querySelector(".inner-scroll").clientHeight&&e[t].classList.add("disabled-state")}}),[n]);return ve(pe.Scrollbars,{className:"custom-scrollbar",renderTrackHorizontal:function(e){return ve("div",Object(he.a)({},e,{className:"track track-horizontal"}))},renderTrackVertical:function(e){return ve("div",Object(he.a)({},e,{className:"track track-vertical"}))},renderThumbHorizontal:function(e){return ve("div",Object(he.a)({},e,{className:"thumb thumb-horizontal"}))},renderThumbVertical:function(e){return ve("div",Object(he.a)({},e,{className:"thumb thumb-vertical"}))},renderView:function(e){return ve("div",Object(he.a)({},e,{className:"scroll-body"}))},autoHeight:!0,universal:!0,autoHeightMax:r,autoHideTimeout:1e3,autoHideDuration:200},ve("div",{className:"inner-scroll",onMouseOver:function(){o(!0)}}," ",e.children))})),ge=(n("T5sl"),n("i+1a"),n("mwIZ")),ye=n.n(ge),be=n("cTJO"),we=n.n(be),ke=["condition","children"],Oe=a.a.createElement,Se=(a.a.memo((function(e){var t=e.menuItems,n=e.modalActive,o=Object(i.useState)([]),r=o[0],l=o[1],s=Object(i.useState)(!1),c=s[0],u=s[1],d=Object(i.useState)(0),f=d[0],h=d[1],p=Object(de.k)(),v=Object(i.useState)(null),m=v[0],g=v[1],y=Object(i.useState)(null),b=y[0],w=y[1],k=Object(i.useState)(null),O=k[0],S=k[1],T=e.toggleState,N=e.selectedIndex,x=e.setToggleData,j=e.mobileToggleClose,_=function(e){e.id;var t=e.title,n=e.children,o=e.data,r=(e.modalActive,Object(i.useState)(o===t)),a=r[0],l=r[1];return Object(i.useEffect)((function(){var e=document.getElementsByClassName("mobileNavigation")[0];(null===e||void 0===e?void 0:e.classList.value.includes("active"))?l(o===t):(l(!1),w(null),g(null))}),[]),Oe("div",null,Oe("p",{onClick:function(){return l(!a)}},t),a&&Oe("div",null,n))};Object(i.useEffect)((function(){var e=[];t&&t.forEach((function(t,n){t&&t.childrens&&ye()(t,"childrens",[]).forEach((function(n){n&&n.subheader&&(-1!==e.findIndex((function(e){return e.linkName===t.linkName}))||e.push(t.linkName))}))})),l(e)}),[]);var E=function(e){var t=e.condition,n=e.children,o=Object(fe.a)(e,ke);return t?n:Oe(me,o,n)};return Oe("div",{className:"header_menu"},e.menuItems.map((function(e,t){return Oe("div",{key:"".concat(e.linkName,"-").concat(t),className:"menu_item ".concat(t==N&&1==T&&e.hasChild?"active":""," ").concat(e.hasChild?"sub_menu":"")},Oe("span",{onClick:function(){return x(t)}},e.hasChild?Oe("a",null,"".concat(e.linkName)):e.linkUrl?Oe(we.a,{prefetch:!1,href:e&&e.apiKey?"".concat(p).concat(e.linkUrl):"".concat(p,"/innerPage").concat(e.linkUrl,"/").concat(e.id)},Oe("a",{onClick:function(){return j()}},e&&e.linkName)):Oe("a",{onClick:function(){return j()}},e&&e.linkName)),e.hasChild&&Oe("div",{className:"menu_list ".concat(r.indexOf(e.linkName)>-1?"sub-header-full":"sub-header-default")},Oe(E,{condition:ye()(e,"childrens",[]).some((function(e){return"subheader"in e})),maxHeight:480},Oe("ul",null,e.childrens&&e.childrens.map((function(e,t){var o,r,i;return(null===e||void 0===e?void 0:null===(o=e.childrens)||void 0===o?void 0:o.length)>0?Oe(a.a.Fragment,null,Oe("div",{className:"inner_submenu--desktop"},Oe("li",{class:["inner_submenu",f===t+1&&"inner_submenu--active"].join(" "),key:t,onClick:function(){return function(e){var t=e.i;u(!c),h(f===t+1?0:t+1)}({i:t})}},Oe("a",{href:"#"},e.linkName),Oe("ul",{className:"SubMenuChild"},null===e||void 0===e?void 0:null===(r=e.childrens)||void 0===r?void 0:r.map((function(e,n){var o;return Oe("li",{key:n,class:["inner_submenu",f===t+1&&"inner_submenu--active"].join(" ")},Oe("a",{href:e&&(null===e||void 0===e?void 0:e.apiKey)?"".concat(null===e||void 0===e?void 0:e.linkUrl):"".concat(e.linkUrl,"/").concat(e.id)},Oe("div",{onClick:function(){return j()}},e.linkName),e.hasChild&&Oe("ul",{className:"SubMenuChild thirdLevelList"},null===e||void 0===e?void 0:null===(o=e.childrens)||void 0===o?void 0:o.map((function(e,t){return Oe("li",{key:t},Oe("a",{href:e.linkUrl},e.linkName))})))))}))))),Oe("div",{className:"inner_submenu--mobile"},Oe(_,{modalActive:n,id:t,data:b,title:e.linkName},Oe("ul",{className:"SubMenuChild"},null===e||void 0===e?void 0:null===(i=e.childrens)||void 0===i?void 0:i.map((function(t,n){var o;return Oe("li",{key:n},Oe("a",{href:t&&t.apiKey?"".concat(t.linkUrl):"".concat(t.linkUrl,"/").concat(t.id),onClick:function(e){e.preventDefault(),!0===O&&S(!1),t.hasChild?(!0===O||!1===O)&&(window.location.href=t&&t.apiKey?"".concat(t.linkUrl):"".concat(t.linkUrl,"/").concat(t.id)):window.location.href=t&&t.apiKey?"".concat(t.linkUrl):"".concat(t.linkUrl,"/").concat(t.id)}},Oe("div",{onClick:function(){t.hasChild?(S(!0),g(n),w(e.linkName)):j()}},t.linkName),t.hasChild&&Oe("ul",{style:m===n?{display:"block"}:{display:"none"},className:"SubMenuChild thirdLevelList"},null===t||void 0===t?void 0:null===(o=t.childrens)||void 0===o?void 0:o.map((function(e,t){return Oe("li",{key:t},Oe("a",{onClick:function(t){t.stopPropagation(),window.location.href=e.linkUrl},href:e.linkUrl},e.linkName))})))))})))))):Oe("li",{key:t},Oe("a",{href:e&&(null===e||void 0===e?void 0:e.apiKey)?"".concat(null===e||void 0===e?void 0:e.linkUrl):"/innerPage".concat(e.linkUrl,"/").concat(e.id)},Oe("span",{onClick:function(){return j()}},e.linkName)))}))))))})))})),n("9gS8"),a.a.createElement,n("1OyB")),Te=n("vuIU"),Ne=n("JX7q"),xe=n("Ji7U"),je=n("md7G"),_e=n("foSv"),Ee=n("rePB"),Ce=n("KQm4"),Pe=n("E+oP"),Le=n.n(Pe),De=function(e){var t=[];return e&&Object.values(e).map((function(e){if(!Le()(e._source)){var n={},o="",r="";"publication"==e._source.type?(n={url:"/assets/images/search-pdf-img.jpg",alt:e._source.resource_img_alt},o="VIEW PDF",r="pdf"):"video_img_url"in e._source&&"video"==e._source.type?(n={url:e._source.video_img_url,alt:e._source.video_img_alt},o="WATCH VIDEO",r=e._source.type):"resource_img_url"in e._source||"video_img_url"in e._source?(n={url:e._source.resource_img_url||e._source.video_img_url,alt:e._source.resource_img_alt||e._source.video_img_alt},o="article"===e._source.type?e._source.resource_link_title?e._source.resource_link_title:"READ ARTICLE":"VISIT PAGE",r="article"===e._source.type?"article":"page"):(n={url:"/assets/images/SearchDefaultImage.png",alt:"defaultImage"},o="VISIT PAGE",r="page"),t.push({title:e._source.title,link:{url:e._source.resource_link?e._source.resource_link:null,type:e._source.resource_link_type?e._source.resource_link_type:null},body:e._source.body?e._source.body.replace(/(<([^>]+)>)/gi,""):null,image:Object.keys(n).length>0?n:null,link_title:e._source.resource_link&&o?o:"",type:r||""})}})),t},Ae=n("yJGS"),Me=n("60Bi"),He=n.n(Me),Ie=(n("PEOI"),a.a.createElement);function qe(){qe=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(_){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof f?t:f,a=Object.create(i.prototype),l=new N(r||[]);return o(a,"_invoke",{value:k(e,n,l)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(_){return{type:"throw",arg:_}}}e.wrap=c;var d={};function f(){}function h(){}function p(){}var v={};s(v,i,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(x([])));g&&g!==t&&n.call(g,i)&&(v=g);var y=p.prototype=f.prototype=Object.create(v);function b(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){var r;o(this,"_invoke",{value:function(o,i){function a(){return new t((function(r,a){!function o(r,i,a,l){var s=u(e[r],e,i);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return o("throw",e,a,l)}))}l(s.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}})}function k(e,t,n){var o="suspendedStart";return function(r,i){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===r)throw i;return j()}for(n.method=r,n.arg=i;;){var a=n.delegate;if(a){var l=O(a,n);if(l){if(l===d)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===o)throw o="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o="executing";var s=u(e,t,n);if("normal"===s.type){if(o=n.done?"completed":"suspendedYield",s.arg===d)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o="completed",n.method="throw",n.arg=s.arg)}}}function O(e,t){var n=t.method,o=e.iterator[n];if(void 0===o)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,O(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var r=u(o,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,d;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function x(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,r=function t(){for(;++o<e.length;)if(n.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:j}}function j(){return{value:void 0,done:!0}}return h.prototype=p,o(y,"constructor",{value:p,configurable:!0}),o(p,"constructor",{value:h,configurable:!0}),h.displayName=s(p,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,l,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},b(w.prototype),s(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,o,r,i){void 0===i&&(i=Promise);var a=new w(c(t,n,o,r),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(y),s(y,l,"Generator"),s(y,i,(function(){return this})),s(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var o in t)n.push(o);return n.reverse(),function e(){for(;n.length;){var o=n.pop();if(o in t)return e.value=o,e.done=!1,e}return e.done=!0,e}},e.values=x,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(n,o){return a.type="throw",a.arg=e,t.next=n,o&&(t.method="next",t.arg=void 0),!!o}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;T(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function ze(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Object(_e.a)(e);if(t){var r=Object(_e.a)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Object(je.a)(this,n)}}i.Component,n("hKr0"),a.a.createElement,n("Zp/L"),a.a.createElement;var Re="https://static.psa.gov.in/",Fe=(n("gF98"),a.a.createElement,n("BkrC"),n("FuTH"),["condition","children"]),Ue=a.a.createElement,Be=a.a.memo((function(e){var t=e.menuItems,n=e.modalActive,o=Object(i.useState)([]),r=o[0],l=o[1],s=Object(i.useState)(!1),c=s[0],u=s[1],d=Object(i.useState)(0),f=d[0],h=d[1],p=Object(de.k)(),v=Object(i.useState)(null),m=v[0],g=v[1],y=Object(i.useState)(null),b=y[0],w=y[1],k=Object(i.useState)(null),O=k[0],S=k[1],T=e.toggleState,N=e.selectedIndex,x=e.setToggleData,j=e.mobileToggleClose,_=function(e){e.id;var t=e.title,n=e.children,o=e.data,r=(e.modalActive,Object(i.useState)(o===t)),a=r[0],l=r[1];return Object(i.useEffect)((function(){var e=document.getElementsByClassName("mobileNavigation")[0];(null===e||void 0===e?void 0:e.classList.value.includes("active"))?l(o===t):(l(!1),w(null),g(null))}),[]),Ue("div",null,Ue("p",{onClick:function(){return l(!a)}},t),a&&Ue("div",null,n))};Object(i.useEffect)((function(){var e=[];t&&t.forEach((function(t,n){t&&t.childrens&&ye()(t,"childrens",[]).forEach((function(n){n&&n.subheader&&(-1!==e.findIndex((function(e){return e.linkName===t.linkName}))||e.push(t.linkName))}))})),l(e)}),[]);var E=function(e){var t=e.condition,n=e.children,o=Object(fe.a)(e,Fe);return t?n:Ue(me,o,n)};return Ue("div",{className:"header-nav"},e.menuItems.map((function(e,t){return Ue("div",{key:"".concat(e.linkName,"-").concat(t),className:"menu_item ".concat(t==N&&1==T&&e.hasChild?"active":""," ").concat(e.hasChild?"sub_menu":"")},Ue("span",{onClick:function(){return x(t)}},e.hasChild?Ue("a",null,"".concat(e.linkName)):e.linkUrl?Ue(we.a,{prefetch:!1,href:e&&e.apiKey?"".concat(p).concat(e.linkUrl):"".concat(p,"/innerPage").concat(e.linkUrl,"/").concat(e.id)},Ue("a",{onClick:function(){return j()}},e&&e.linkName)):Ue("a",{onClick:function(){return j()}},e&&e.linkName)),e.hasChild&&Ue("div",{className:"menu_list ".concat(r.indexOf(e.linkName)>-1?"sub-header-full":"sub-header-default")},Ue(E,{condition:ye()(e,"childrens",[]).some((function(e){return"subheader"in e})),maxHeight:480},Ue("ul",null,e.childrens&&e.childrens.map((function(e,t){var o,r,i;return(null===e||void 0===e?void 0:null===(o=e.childrens)||void 0===o?void 0:o.length)>0?Ue(a.a.Fragment,null,Ue("div",{className:"inner_submenu--desktop"},Ue("li",{class:["inner_submenu link-with-arrow",f===t+1&&"inner_submenu--active"].join(" "),key:t,onClick:function(){return function(e){var t=e.i;u(!c),h(f===t+1?0:t+1)}({i:t})}},Ue("a",{href:"#"},e.linkName),Ue("ul",{className:"SubMenuChild"},null===e||void 0===e?void 0:null===(r=e.childrens)||void 0===r?void 0:r.map((function(e,n){var o;return Ue("li",{key:n,class:["inner_submenu link-with-arrow",f===t+1&&"inner_submenu--active"].join(" ")},Ue("a",{href:e&&(null===e||void 0===e?void 0:e.apiKey)?"".concat(null===e||void 0===e?void 0:e.linkUrl):"".concat(e.linkUrl,"/").concat(e.id)},Ue("div",{onClick:function(){return j()}},e.linkName),e.hasChild&&Ue("ul",{className:"SubMenuChild thirdLevelList"},null===e||void 0===e?void 0:null===(o=e.childrens)||void 0===o?void 0:o.map((function(e,t){return Ue("li",{class:"link-with-arrow",key:t},Ue("a",{href:e.linkUrl},e.linkName))})))))}))))),Ue("div",{className:"inner_submenu--mobile"},Ue(_,{modalActive:n,id:t,data:b,title:e.linkName},Ue("ul",{className:"SubMenuChild"},null===e||void 0===e?void 0:null===(i=e.childrens)||void 0===i?void 0:i.map((function(t,n){var o;return Ue("li",{class:"link-with-arrow",key:n},Ue("a",{href:t&&t.apiKey?"".concat(t.linkUrl):"".concat(t.linkUrl,"/").concat(t.id),onClick:function(e){e.preventDefault(),!0===O&&S(!1),t.hasChild?(!0===O||!1===O)&&(window.location.href=t&&t.apiKey?"".concat(t.linkUrl):"".concat(t.linkUrl,"/").concat(t.id)):window.location.href=t&&t.apiKey?"".concat(t.linkUrl):"".concat(t.linkUrl,"/").concat(t.id)}},Ue("div",{onClick:function(){t.hasChild?(S(!0),g(n),w(e.linkName)):j()}},t.linkName),t.hasChild&&Ue("ul",{style:m===n?{display:"block"}:{display:"none"},className:"SubMenuChild thirdLevelList"},null===t||void 0===t?void 0:null===(o=t.childrens)||void 0===o?void 0:o.map((function(e,t){return Ue("li",{class:"link-with-arrow",key:t},Ue("a",{onClick:function(t){t.stopPropagation(),window.location.href=e.linkUrl},href:e.linkUrl},e.linkName))})))))})))))):Ue("li",{class:"link-with-arrow",key:t},Ue("a",{href:e&&(null===e||void 0===e?void 0:e.apiKey)?"".concat(null===e||void 0===e?void 0:e.linkUrl):"/innerPage".concat(e.linkUrl,"/").concat(e.id)},Ue("span",{onClick:function(){return j()}},e.linkName)))}))))))})))})),We=n("0WgE"),Ve=n("fhwx"),Ge=n.n(Ve),Ke=(n("kqTW"),a.a.createElement);function $e(){$e=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(_){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof f?t:f,a=Object.create(i.prototype),l=new N(r||[]);return o(a,"_invoke",{value:k(e,n,l)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(_){return{type:"throw",arg:_}}}e.wrap=c;var d={};function f(){}function h(){}function p(){}var v={};s(v,i,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(x([])));g&&g!==t&&n.call(g,i)&&(v=g);var y=p.prototype=f.prototype=Object.create(v);function b(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){var r;o(this,"_invoke",{value:function(o,i){function a(){return new t((function(r,a){!function o(r,i,a,l){var s=u(e[r],e,i);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return o("throw",e,a,l)}))}l(s.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}})}function k(e,t,n){var o="suspendedStart";return function(r,i){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===r)throw i;return j()}for(n.method=r,n.arg=i;;){var a=n.delegate;if(a){var l=O(a,n);if(l){if(l===d)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===o)throw o="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o="executing";var s=u(e,t,n);if("normal"===s.type){if(o=n.done?"completed":"suspendedYield",s.arg===d)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o="completed",n.method="throw",n.arg=s.arg)}}}function O(e,t){var n=t.method,o=e.iterator[n];if(void 0===o)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,O(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var r=u(o,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,d;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function x(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,r=function t(){for(;++o<e.length;)if(n.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:j}}function j(){return{value:void 0,done:!0}}return h.prototype=p,o(y,"constructor",{value:p,configurable:!0}),o(p,"constructor",{value:h,configurable:!0}),h.displayName=s(p,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,l,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},b(w.prototype),s(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,o,r,i){void 0===i&&(i=Promise);var a=new w(c(t,n,o,r),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(y),s(y,l,"Generator"),s(y,i,(function(){return this})),s(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var o in t)n.push(o);return n.reverse(),function e(){for(;n.length;){var o=n.pop();if(o in t)return e.value=o,e.done=!1,e}return e.done=!0,e}},e.values=x,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(n,o){return a.type="throw",a.arg=e,t.next=n,o&&(t.method="next",t.arg=void 0),!!o}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;T(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}var Ye=function(e){var t=Object(i.useState)(null),n=t[0],o=t[1],r=Object(i.useState)(null),l=r[0],s=r[1],c=Object(i.useState)(!1),u=c[0],d=c[1],f=Object(i.useState)(0),h=f[0],p=f[1],v=Object(i.useState)(""),m=v[0],g=v[1],y=Object(i.useState)(""),b=y[0],w=y[1],k=Object(i.useState)(""),O=k[0],S=k[1],T=Object(i.useState)(""),N=T[0],x=T[1],j=Object(i.useState)(""),_=(j[0],j[1]),E=Object(i.useState)([]),C=E[0],P=E[1],L=Object(i.useState)(!1),D=L[0],A=L[1],M=Object(i.useState)(null),H=M[0],I=M[1],q=Object(i.useState)(!1),z=q[0],R=q[1],F=Object(i.useState)(!1),U=F[0],B=F[1],W=Object(i.useState)(!1),V=W[0],G=W[1];Object(i.useEffect)((function(){g(U?"font-accessibility activeAccess":"")}),[U]);var K=Object(i.useRef)(null),$=Object(i.useRef)(null),Y=Object(i.useRef)(null),J=Object(i.useRef)(null),X=Object(i.useRef)(),Z=Object(i.useRef)(null),Q=function(e){s(e),l==e?o(!n):(0==n||null==n)&&o(!n)},ee=function(e){K&&K.current&&!K.current.contains(e.target)&&te(),$.current&&!$.current.contains(e.target)&&g(""),Y.current&&!Y.current.contains(e.target)&&G(!1),Y.current&&!Y.current.contains(e.target)&&w(!1),Y.current.contains(e.target)||S(!1),J.current&&!J.current.contains(e.target)&&(P([]),A(!1))};Object(i.useEffect)((function(){return document.addEventListener("click",ee,!0),sessionStorage.setItem("increaseFontSize",h),function(){document.removeEventListener("click",ee,!0)}}),[]);Object(i.useEffect)((function(){return document.addEventListener("click",ee,!0),sessionStorage.setItem("increaseFontSize",h),document.documentElement.style.setProperty("--font-size","".concat(100+h,"%")),document.documentElement.style.setProperty("--font-size-pixel","".concat(h,"px")),function(){document.removeEventListener("click",ee,!0)}}),[h]);var te=function(){s(null),o(null),document.getElementsByTagName("body")[0].classList.remove("menuOpen"),document.getElementsByClassName("mobileNavigation")[0].classList.remove("active")},ne=function(e){return $e().async((function(t){for(;;)switch(t.prev=t.next){case 0:x(e.target.value||document.getElementsByName("searchValue")[0].value),_("");case 2:case"end":return t.stop()}}),null,null,null,Promise)},oe=function(e){var t,n,o,r,i,a;return $e().async((function(l){for(;;)switch(l.prev=l.next){case 0:if(!((e.target.value&&e.target.value.length>=3||N.length>=3)&&"searchButtontest"===e.target.className||e.target.value&&e.target.value.length>=3&&13==e.keyCode)||!0===z){l.next=12;break}return R(!0),o=e.target.value||document.getElementsByName("searchValue")[0].value,l.next=5,$e().awrap(Object(Ae.b)("api/content-search?q="+o,{method:"POST",mode:"cors"}));case 5:return r=l.sent,void 0===(i=r.data.resultItems)&&null===i||R(!1),a=i&&i.length>0?i:[],P(Object(Ce.a)(a)),A(!0),l.abrupt("return",a);case 12:(null===e||void 0===e?void 0:null===(t=e.target)||void 0===t?void 0:null===(n=t.value)||void 0===n?void 0:n.length)<3&&A(!1);case 13:case"end":return l.stop()}}),null,null,null,Promise)};return Ke("header",{className:"sticky"},Ke("div",{className:"header_container_white",ref:Z},Ke("div",{className:"container-fluid"},Ke("div",{className:"header-main"},Ke("div",{className:"site-logo"},Ke(ue.a,{prefetch:!1,href:"".concat(Object(de.g)(),"/")},Ke("a",null,Ke("img",{src:e&&e.logoImage?e.logoImage.url:"",alt:e&&e.logoImage?e.logoImage.alt:""})))),Ke("div",{className:"search-layer nav-search-field",onClick:function(){S(!O)}},Object(de.o)()&&Ke("img",{className:"searchButtonMob",onClick:function(){G(!V)},src:"/assets/images/new_search.svg"}),0===N.length&&Ke("div",{className:"search_data_suggestion ".concat(O?"active":"")},Ke("div",{className:"most-search"},Ke("h4",null,"You may be interested in"),Ke("ul",null,Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/covid-related-information"},"Information about Covid-19")),Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/pm-stiac"},"Prime Minister's Science, Technology and Innovation Advisory Council")),Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/etg"},"Empowered Technology Group (ETG)")),Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/mission/natural-language-translation/33"},"Natural Language Translation")),Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/st-clusters"},"Science & Technology Clusters")))))),Ke("div",{className:"mobileToggle",onClick:function(){d(!1),document.getElementsByTagName("body")[0].classList.add("menuOpen"),document.getElementsByClassName("mobileNavigation")[0].classList.add("active")}},Ke("span",null),Ke("span",null),Ke("span",null)),Ke(Be,{modalActive:u,mobileToggleClose:te,setToggleData:Q,toggleState:n,selectedIndex:n,menuItems:e&&e.pageProps?e.pageProps.headerMenu:[]}),Ke("div",{className:"search-layer nav-search-field",onClick:function(){w(!b)},ref:Y},!Object(de.o)()&&Ke("input",{type:"text",name:"searchValue",style:{zIndex:4,position:"relative"},placeholder:"Search Here...",onChange:function(e){return ne(e)},onKeyUp:function(e){return oe(e)},value:N}),Object(de.o)()&&V&&Ke("div",{className:"searchMob"},Ke("div",{className:"searchMob-wrap"},Ke("input",{className:"test",type:"text",name:"searchValue",style:{position:"relative"},placeholder:"Search..",onChange:function(e){return ne(e)},onKeyUp:function(e){return oe(e)},value:N}),Ke("img",z?{className:"search-loader",src:"/assets/images/Loader.gif",alt:"search-button"}:{className:"searchButtontest",onClick:function(e){return oe(e)},src:"/assets/images/new_search.svg"}))),!Object(de.o)()&&V&&Ke("input",{className:"test",type:"text",name:"searchValue",style:{zIndex:4,position:"relative"},placeholder:"Search Here...",onChange:function(e){return ne(e)},onKeyUp:function(e){return oe(e)},value:N}),!Object(de.o)()&&Ke("img",z?{src:"/assets/images/Loader.gif",className:"search-loader",alt:"search-button"}:{className:"searchButtontest",onClick:function(e){return oe(e)},src:"/assets/images/new_search.svg"}),0===N.length&&Ke("div",{className:"search_data_suggestion ".concat(b?"active":"")},Ke("div",{className:"most-search"},Ke("h4",null,"You may be interested in"),Ke("ul",null,Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/covid-related-information"},"Information about Covid-19")),Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/pm-stiac"},"Prime Minister's Science, Technology and Innovation Advisory Council")),Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/etg"},"Empowered Technology Group (ETG)")),Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/mission/natural-language-translation/33"},"Natural Language Translation")),Ke("li",{className:"link-with-arrow"},Ke("a",{href:"/st-clusters"},"Science & Technology Clusters"))))),!z&&Ke(We.default,{closeButtonStyle:{},width:"100vw",height:"100vh",modalContentHeight:"50vh",padding:"0",overFlowX:"hidden",overFlowY:"hidden",showClosebutton:!1,isOpen:D,onClose:function(){A(!1)}},Ke("div",{className:"search_data_content ",ref:J},Ke("div",{className:"search-result-wrap ".concat(b?"active":"")},Ke("div",{class:"search-view-block"},Ke("div",{class:"search-result-text"},Ke("p",null,"Showing ",Ke("b",null," ")," Search Results for ",Ke("b",null,"'",N,"'")),Ke("span",{className:"close-button",onClick:function(){A(!1)}}))),C.length>0?Ke("div",{className:"search-result-grid ".concat(C.length<=2?"no-arrow":""),onScroll:function(){var e=X.current.scrollTop,t=X.current.scrollHeight-X.current.clientHeight;e===t!==H&&I(e===t)},ref:X},C&&C.map((function(e,t){return Ke(a.a.Fragment,null,Ke("div",{className:"search-result-item"},Ke("div",{className:"search-result-info"},Ke("div",{className:"search-result-info-text"},Ke("h5",null,e.title),Ke("p",null,Ge()(e.description))),Ke("a",{href:e.clickUrl,className:"readmore"},"Read More"))))}))):Ke("div",{class:"search-no-result"},Ke("div",{className:"search-result-grid"},Ke("p",null,"No Result Found!"))),Ke("div",{className:"icon-arrow"},H?"":Ke("img",{src:"assets/images/dropdown_arrow.svg"}))))),Ke("div",null)),Ke("div",{onClick:function(){return g("font-accessibility activeAccess")},className:m||"font-accessibility",ref:$},Ke("div",{className:"accesss-toggle",onClick:function(){B(!U)}},Ke("img",{src:"/assets/images/accessibility_icon2.svg",alt:"fontSizeChange"})),Ke("ul",null,Ke("li",{onClick:function(){h<15&&(p((function(e){return e+1})),sessionStorage.setItem("increaseFontSize",h+1))}},"A+"),Ke("li",{onClick:function(){p(0),sessionStorage.setItem("increaseFontSize",0)}},"A"),Ke("li",{onClick:function(){h>-3&&(p((function(e){return e-1})),sessionStorage.setItem("increaseFontSize",h-1))}},"A-")))))),Ke("div",{ref:K,className:"mobileNavigation"},Ke("div",{className:"mNavigationHead"},Ke("span",null,"Menu"),Ke("div",{className:"menuCloseToggle",onClick:te})),Ke("div",{className:"mobMenuWrap"},Ke(Be,{modalActive:u,mobileToggleClose:te,setToggleData:Q,toggleState:n,selectedIndex:l,menuItems:e&&e.pageProps?e.pageProps.headerMenu:[]}))))},Je=(n("IrBP"),a.a.createElement),Xe=function(e){e.settings;var t=e.pageProps,n=e.logoImage,o=e.lastUpdatedOn,l=void 0===o?"":o,s=Object(de.k)(),c=(Object(r.useRouter)(),function(){var e=document.getElementById("myBtn");document.body.scrollTop>300||document.documentElement.scrollTop,e.style.display="none"});return Object(i.useEffect)((function(){window.addEventListener("scroll",c)}),[]),Je(a.a.Fragment,null,Je("div",{className:"footer-main-wrapper"},t&&t.ourAssociation&&t.ourAssociation.label?Je("h3",{className:"text-center"},t.ourAssociation.label.normal):null,Je("ul",{className:"association-wrapper"},Je("div",{className:"container"},Je("div",{className:"association-items"},t&&t.ourAssociation&&t.ourAssociation.data&&t.ourAssociation.data.map((function(e,t){return Je("li",{className:"association-item",key:"association-".concat(t)},Je("a",{href:"".concat(s).concat(e.link),target:"_blank"},Je("img",{src:e.image&&e.image.url,alt:e.image.alt})))}))))),Je("div",{className:"footer-bottom"},Je("div",{className:"container"},Je("div",{className:"footer-bottom-main"},Je("div",{className:"footer-bottom-left"},Je("div",{className:"footer-info"},Je("div",{className:"logo"},Je("img",{src:n&&n.url,alt:n&&n.alt})),Je("div",{className:"footer-info-text"},Je("p",null,"The Government of India established the Office of the Principal Scientific Adviser (PSA) in November 1999. The PSA's office aims to provide pragmatic and objective advice to the Prime Minister and the cabinet in matters of Science and Technology.")),Je("div",{className:"social-icons"},Je("div",null,Je(ue.a,{prefetch:!1,href:"https://www.facebook.com/prinsciadvoff/"},Je("a",{className:"facebook",target:"_blank"},Je("img",{src:"/assets/images/facebook-square.svg",alt:"facebook"}))),Je(ue.a,{prefetch:!1,href:"https://twitter.com/PrinSciAdvOff"},Je("a",{className:"twitter",target:"_blank"},Je("img",{src:"/assets/images/twitter-square.svg",alt:"twitter"}))),Je(ue.a,{prefetch:!1,href:"https://in.linkedin.com/company/prinsciadvoff"},Je("a",{className:"linkedin",target:"_blank"},Je("img",{src:"/assets/images/linkedin-square.svg",alt:"instagram"})))),l&&Je("div",{className:"updated-at"},"Last Updated on : ",l)))),Je("div",{className:"footer_menu"},Je("ul",null,t&&t.footerMenu.map((function(e,t){return Je("li",{key:"".concat(e.linkName,"-").concat(t)},Je("a",{prefetch:!1,href:e&&e.apiKey?"".concat(s).concat(e.linkUrl):"".concat(s,"/innerPage").concat(e.linkUrl,"/").concat(e.id)},e.linkName))})))))))),Je("div",{className:"topbutton",id:"myBtn",onClick:function(){return window.scrollTo(0,0)}},Je("div",null,Je("figure",null,Je("img",{src:"/assets/images/back-arrow2.svg",alt:"topbutton"})),!Object(de.o)()&&Je("p",null,"Back to Top"))))},Ze=a.a.createElement,Qe=function(e){var t=e.children,n=e.pageProps,o=e.componentProps,l=Object(i.useState)(!1),s=l[0],c=l[1],u=Object(i.useState)(""),d=u[0],f=u[1],h=Object(i.useState)(""),p=h[0],v=h[1],m=Object(r.useRouter)();Object(i.useEffect)((function(){n&&n.pageData&&n.pageData.errorCode&&"/_error"!==window.location.pathname&&Object(de.c)(n.pageData.errorCode,m)}),[n]);var g=Object(i.useCallback)((function(e){var t=Object(de.e)(e),n=!!e&&!!e.path&&e.path.sort()||!!t&&t.sort(),o=n[n.length-1],r=!!o&&"A"==o.nodeName&&o.getAttribute("href"),i=!!o&&"A"==o.nodeName&&!!o.getAttribute("class")&&"btn is-external"==o.getAttribute("class"),a=!!o&&"A"==o.nodeName&&o.getAttribute("target"),l=!!o&&!!o.baseURI&&o.baseURI.split("/").slice(0,3).join("/")+"/";f(r),v(a);var s="";!r||i||0!=r.indexOf("http://")&&0!=r.indexOf("https://")||(s=r.split("/").slice(0,3).join("/")+"/",r&&l!==s&&s!==Re&&"_blank"==a?(e.preventDefault(),c(!0)):(c(!1),f("")))}),[]);Object(i.useEffect)((function(){return window.addEventListener("click",g,!1),function(){window.removeEventListener("click",g,!1),f(""),v(""),c(!1)}}),[g]);return Ze(a.a.Fragment,null,Ze(se.a,{showModal:s,modalClass:"external-links-modal"},Ze("div",{className:"external-link-wrap text-align-center"},Ze("p",null,Ze("strong",null,"You are being redirected to an external website."),Ze("span",null,"Please note that the Office of Principal Scientific Adviser, Government of India cannot be held responsible for external websites content & privacy policies.")),Ze("a",{className:"btn is-external",href:d,onClick:function(){return c(!1),!0},target:p||"_self"},"OK"),Ze("button",{className:"cross_btn",onClick:function(){c(!1),f(""),v("")}},"\xd7"))),Ze("div",null,Ze(Ye,{pageProps:o&&o.header,logoImage:o&&o.logoImage}),Ze("div",{className:"content-region"},t),Ze(Xe,{pageProps:o&&o.footer,logoImage:o&&o.logoImage,lastUpdatedOn:o&&(null===o||void 0===o?void 0:o.UpdatedContentDate)})))},et=(n("wyBh"),n("+/r8"),a.a.createElement,n("wWBu"),n("pdi6"),n("qWJ0"),n("tyWD"),n("K7k0"),n("jDDT"),n("6Cl6"),n("1qWt")),tt=a.a.createElement;function nt(){nt=function(){return t};var e,t={},n=Object.prototype,o=n.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype),l=new C(o||[]);return r(a,"_invoke",{value:x(e,n,l)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f="suspendedStart",h="suspendedYield",p="executing",v="completed",m={};function g(){}function y(){}function b(){}var w={};c(w,a,(function(){return this}));var k=Object.getPrototypeOf,O=k&&k(k(P([])));O&&O!==n&&o.call(O,a)&&(w=O);var S=b.prototype=g.prototype=Object.create(w);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function N(e,t){function n(r,i,a,l){var s=d(e[r],e,i);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&o.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,l)}))}l(s.arg)}var i;r(this,"_invoke",{value:function(e,o){function r(){return new t((function(t,r){n(e,o,t,r)}))}return i=i?i.then(r,r):r()}})}function x(t,n,o){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===v){if("throw"===i)throw a;return{value:e,done:!0}}for(o.method=i,o.arg=a;;){var l=o.delegate;if(l){var s=j(l,o);if(s){if(s===m)continue;return s}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(r===f)throw r=v,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);r=p;var c=d(t,n,o);if("normal"===c.type){if(r=o.done?v:h,c.arg===m)continue;return{value:c.arg,done:o.done}}"throw"===c.type&&(r=v,o.method="throw",o.arg=c.arg)}}}function j(t,n){var o=n.method,r=t.iterator[o];if(r===e)return n.delegate=null,"throw"===o&&t.iterator.return&&(n.method="return",n.arg=e,j(t,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+o+"' method")),m;var i=d(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function P(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function n(){for(;++r<t.length;)if(o.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return y.prototype=b,r(S,"constructor",{value:b,configurable:!0}),r(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,s,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},T(N.prototype),c(N.prototype,l,(function(){return this})),t.AsyncIterator=N,t.async=function(e,n,o,r,i){void 0===i&&(i=Promise);var a=new N(u(e,n,o,r),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(S),c(S,s,"Generator"),c(S,a,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var o in t)n.push(o);return n.reverse(),function e(){for(;n.length;){var o=n.pop();if(o in t)return e.value=o,e.done=!1,e}return e.done=!0,e}},t.values=P,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(E),!t)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(o,r){return l.type="throw",l.arg=t,n.next=o,r&&(n.method="next",n.arg=e),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=o.call(a,"catchLoc"),c=o.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;E(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,o){return this.delegate={iterator:P(t),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=e),m}},t}var ot=n("00EI").SITE_KEY,rt=a.a.createContext("default");function it(e){ae.set({page:window.location.pathname}),ae.pageview(window.location.pathname),setTimeout((function(){s.a.init(),s.a.refreshHard()}),1e3);var t=e.Component,n=e.pageProps,o=e.componentProps;return tt(rt.Provider,{value:{manifest:{aboutUs:"/web/api/v1/about-us",pmStiac:"/web/api/v1/pm-stiac",etgData:"/web/api/v1/etg-data",missionDetail:"/web/api/v1/mission",commonPage:"/api/v1/common-page"},pageProps:n}},tt(Qe,{pageProps:n,componentProps:o},tt(le.ToastContainer,{autoClose:2e3}),tt(et.a,{reCaptchaKey:ot},tt(t,n)),tt("noscript",null,tt("iframe",{src:"https://www.googletagmanager.com/ns.html?id=GTM-5VK6TZR2",height:"0",width:"0",style:{display:"none",visibility:"hidden"}}))))}r.Router.events.on("routeChangeStart",(function(){})),r.Router.events.on("routeChangeComplete",(function(){})),r.Router.events.on("routeChangeError",(function(){})),ae.initialize("UA-110918455-3",{debug:!0}),it.getInitialProps=function(e){var t;return nt().async((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,nt().awrap(Ae.a.get("api/v1/header-footer-menu"));case 2:return t=e.sent,e.abrupt("return",{componentProps:t.data.data});case 4:case"end":return e.stop()}}),null,null,null,Promise)};t.default=it},"1qWt":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var o=n("q1tI"),r=n.n(o),i=function(){return(i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};var a,l=function(e,t){(function(e){var t;e?function(e){if(e)for(;e.lastChild;)e.lastChild.remove()}("string"==typeof e?document.getElementById(e):e):(t=document.querySelector(".grecaptcha-badge"))&&t.parentNode&&document.body.removeChild(t.parentNode)})(t),window.___grecaptcha_cfg=void 0;var n=document.querySelector("#"+e);n&&n.remove(),function(){var e=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]');e&&e.remove()}()},s=function(e){var t=e.render,n=e.onLoadCallbackName,o=e.language,r=e.onLoad,i=e.useRecaptchaNet,a=e.useEnterprise,l=e.scriptProps,s=void 0===l?{}:l,c=s.nonce,u=void 0===c?"":c,d=s.defer,f=void 0!==d&&d,h=s.async,p=void 0!==h&&h,v=s.id,m=void 0===v?"":v,g=s.appendTo,y=m||"google-recaptcha-v3";if(function(e){return!!document.querySelector("#"+e)}(y))r();else{var b=function(e){return"https://www."+(e.useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(e.useEnterprise?"enterprise.js":"api.js")}({useEnterprise:a,useRecaptchaNet:i}),w=document.createElement("script");w.id=y,w.src=b+"?render="+t+("explicit"===t?"&onload="+n:"")+(o?"&hl="+o:""),u&&(w.nonce=u),w.defer=!!f,w.async=!!p,w.onload=r,("body"===g?document.body:document.getElementsByTagName("head")[0]).appendChild(w)}},c=function(t){"undefined"!=typeof e&&e.env,console.warn(t)};(a||(a={})).SCRIPT_NOT_AVAILABLE="Recaptcha script is not available";var u=Object(o.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}});u.Consumer;function d(e){var t=e.reCaptchaKey,n=e.useEnterprise,d=void 0!==n&&n,f=e.useRecaptchaNet,h=void 0!==f&&f,p=e.scriptProps,v=e.language,m=e.container,g=e.children,y=Object(o.useState)(null),b=y[0],w=y[1],k=Object(o.useRef)(t),O=JSON.stringify(p),S=JSON.stringify(null==m?void 0:m.parameters);Object(o.useEffect)((function(){if(t){var e=(null==p?void 0:p.id)||"google-recaptcha-v3",n=(null==p?void 0:p.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[n]=function(){var e=d?window.grecaptcha.enterprise:window.grecaptcha,n=i({badge:"inline",size:"invisible",sitekey:t},(null==m?void 0:m.parameters)||{});k.current=e.render(null==m?void 0:m.element,n)},s({render:(null==m?void 0:m.element)?"explicit":t,onLoadCallbackName:n,useEnterprise:d,useRecaptchaNet:h,scriptProps:p,language:v,onLoad:function(){if(window&&window.grecaptcha){var e=d?window.grecaptcha.enterprise:window.grecaptcha;e.ready((function(){w(e)}))}else c("<GoogleRecaptchaProvider /> "+a.SCRIPT_NOT_AVAILABLE)},onError:function(){c("Error loading google recaptcha script")}}),function(){l(e,null==m?void 0:m.element)}}c("<GoogleReCaptchaProvider /> recaptcha key not provided")}),[d,h,O,S,v,t,null==m?void 0:m.element]);var T=Object(o.useCallback)((function(e){if(!b||!b.execute)throw new Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return b.execute(k.current,{action:e})}),[b,k]),N=Object(o.useMemo)((function(){return{executeRecaptcha:b?T:void 0,container:null==m?void 0:m.element}}),[T,b,null==m?void 0:m.element]);return r.a.createElement(u.Provider,{value:N},g)}function f(e,t){return e(t={exports:{}},t.exports),t.exports}var h="function"==typeof Symbol&&Symbol.for,p=h?Symbol.for("react.element"):60103,v=h?Symbol.for("react.portal"):60106,m=h?Symbol.for("react.fragment"):60107,g=h?Symbol.for("react.strict_mode"):60108,y=h?Symbol.for("react.profiler"):60114,b=h?Symbol.for("react.provider"):60109,w=h?Symbol.for("react.context"):60110,k=h?Symbol.for("react.async_mode"):60111,O=h?Symbol.for("react.concurrent_mode"):60111,S=h?Symbol.for("react.forward_ref"):60112,T=h?Symbol.for("react.suspense"):60113,N=h?Symbol.for("react.suspense_list"):60120,x=h?Symbol.for("react.memo"):60115,j=h?Symbol.for("react.lazy"):60116,_=h?Symbol.for("react.block"):60121,E=h?Symbol.for("react.fundamental"):60117,C=h?Symbol.for("react.responder"):60118,P=h?Symbol.for("react.scope"):60119;function L(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case p:switch(e=e.type){case k:case O:case m:case y:case g:case T:return e;default:switch(e=e&&e.$$typeof){case w:case S:case j:case x:case b:return e;default:return t}}case v:return t}}}function D(e){return L(e)===O}var A={AsyncMode:k,ConcurrentMode:O,ContextConsumer:w,ContextProvider:b,Element:p,ForwardRef:S,Fragment:m,Lazy:j,Memo:x,Portal:v,Profiler:y,StrictMode:g,Suspense:T,isAsyncMode:function(e){return D(e)||L(e)===k},isConcurrentMode:D,isContextConsumer:function(e){return L(e)===w},isContextProvider:function(e){return L(e)===b},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===p},isForwardRef:function(e){return L(e)===S},isFragment:function(e){return L(e)===m},isLazy:function(e){return L(e)===j},isMemo:function(e){return L(e)===x},isPortal:function(e){return L(e)===v},isProfiler:function(e){return L(e)===y},isStrictMode:function(e){return L(e)===g},isSuspense:function(e){return L(e)===T},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===m||e===O||e===y||e===g||e===T||e===N||"object"==typeof e&&null!==e&&(e.$$typeof===j||e.$$typeof===x||e.$$typeof===b||e.$$typeof===w||e.$$typeof===S||e.$$typeof===E||e.$$typeof===C||e.$$typeof===P||e.$$typeof===_)},typeOf:L},M=f((function(e,t){})),H=(M.AsyncMode,M.ConcurrentMode,M.ContextConsumer,M.ContextProvider,M.Element,M.ForwardRef,M.Fragment,M.Lazy,M.Memo,M.Portal,M.Profiler,M.StrictMode,M.Suspense,M.isAsyncMode,M.isConcurrentMode,M.isContextConsumer,M.isContextProvider,M.isElement,M.isForwardRef,M.isFragment,M.isLazy,M.isMemo,M.isPortal,M.isProfiler,M.isStrictMode,M.isSuspense,M.isValidElementType,M.typeOf,f((function(e){e.exports=A}))),I={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},q={};q[H.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},q[H.Memo]=I;Object.defineProperty,Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype}).call(this,n("8oxB"))},"1zUT":function(e,t,n){e.exports=a;var o=n("nqsp"),r=n("AHSw"),i=n("3lc3").ConnectionFault;function a(e,t){r.call(this,e,t)}o.inherits(a,r),a.prototype.request=function(e,t){var n={url:this.host.makeUrl(e),data:e.body,type:e.method,dataType:"text",headers:this.host.getHeaders(e.headers),done:t},o=jQuery.ajax(n).done((function(e){t(null,e,o.statusCode(),{"content-type":o.getResponseHeader("content-type")})})).fail((function(e,n,r){e&&e.responseText?t(null,e.responseText,o.statusCode(),{"content-type":o.getResponseHeader("content-type")}):t(new i(r&&r.message))}));return function(){o.abort()}}},"2XKd":function(e,t,n){e.exports=r;var o=n("LvDl");function r(){}r.prototype.serialize=function(e,t,n){switch(typeof e){case"string":return e;case"object":if(e)return t||n?JSON.stringify(e,t,n):JSON.stringify(e);default:return}},r.prototype.serialize.contentType="application/json",r.prototype.deserialize=function(e){if("string"===typeof e)try{return JSON.parse(e)}catch(t){}},r.prototype.bulkBody=function(e){var t,n="";if(o.isArray(e))for(t=0;t<e.length;t++)n+=this.serialize(e[t])+"\n";else{if("string"!==typeof e)throw new TypeError("Bulk body should either be an Array of commands/string, or a String");n=e+("\n"===e[e.length-1]?"":"\n")}return n},r.prototype.bulkBody.contentType="application/x-ndjson"},"2qu3":function(e,t,n){"use strict";var o=n("/GRZ"),r=n("i2R6");function i(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){s=!0,i=e},f:function(){try{l||null==n.return||n.return()}finally{if(s)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=l(n("q1tI")),c=n("8L3h"),u=n("jwwS"),d=[],f=[],h=!1;function p(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function v(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(o){var r=p(e[o]);r.loading?t.loading=!0:(t.loaded[o]=r.loaded,t.error=r.error),n.push(r.promise),r.promise.then((function(e){t.loaded[o]=e})).catch((function(e){t.error=e}))}))}catch(o){t.error=o}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function m(e,t){return s.default.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function g(e,t){var n=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:m,webpack:null,modules:null},t),o=null;function r(){if(!o){var t=new y(e,n);o={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return o.promise()}if(!h&&"function"===typeof n.webpack){var a=n.webpack();f.push((function(e){var t,n=i(a);try{for(n.s();!(t=n.n()).done;){var o=t.value;if(-1!==e.indexOf(o))return r()}}catch(l){n.e(l)}finally{n.f()}}))}var l=function(e,t){r();var i=s.default.useContext(u.LoadableContext),a=c.useSubscription(o);return s.default.useImperativeHandle(t,(function(){return{retry:o.retry}}),[]),i&&Array.isArray(n.modules)&&n.modules.forEach((function(e){i(e)})),s.default.useMemo((function(){return a.loading||a.error?s.default.createElement(n.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:o.retry}):a.loaded?n.render(a.loaded,e):null}),[e,a])};return l.preload=function(){return r()},l.displayName="LoadableComponent",s.default.forwardRef(l)}var y=function(){function e(t,n){o(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return r(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),"number"===typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update({}),e._clearTimeouts()})).catch((function(t){e._update({}),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=Object.assign(Object.assign(Object.assign({},this._state),{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading}),e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function b(e){return g(p,e)}function w(e,t){for(var n=[];e.length;){var o=e.pop();n.push(o(t))}return Promise.all(n).then((function(){if(e.length)return w(e,t)}))}b.Map=function(e){if("function"!==typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return g(v,e)},b.preloadAll=function(){return new Promise((function(e,t){w(d).then(e,t)}))},b.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return h=!0,t()};w(f,e).then(n,n)}))},window.__NEXT_PRELOADREADY=b.preloadReady,t.default=b},"3B+5":function(e,t,n){(function(t){e.exports=c;var o=n("LvDl"),r=n("nqsp"),i=n("3lc3"),a=n("TWcL"),l=n("k5Bo"),s=n("fcP5");function c(e){var t=this,i="function"===typeof(e=t._config=e||{}).log?e.log:n("fTNz");e.log=t.log=new i(e);var u=r.funcEnum(e,"connectionPool",c.connectionPools,"main");t.connectionPool=new u(e);var d=r.funcEnum(e,"serializer",c.serializers,"json");t.serializer=new d(e),t.nodesToHostCallback=r.funcEnum(e,"nodesToHostCallback",c.nodesToHostCallbacks,"main"),t.maxRetries=e.hasOwnProperty("maxRetries")?e.maxRetries:3,t.sniffEndpoint=e.hasOwnProperty("sniffEndpoint")?e.sniffEndpoint:"/_nodes/_all/http",t.requestTimeout=e.hasOwnProperty("requestTimeout")?e.requestTimeout:3e4,t.pingTimeout=e.hasOwnProperty("pingTimeout")?e.pingTimeout:3e3,e.hasOwnProperty("defer")&&(t.defer=e.defer);var f=!e.hasOwnProperty("randomizeHosts")||!!e.randomizeHosts;if(e.host&&(e.hosts=e.host),e.hosts){var h=r.createArray(e.hosts,(function(e){if(o.isPlainObject(e)||o.isString(e)||e instanceof a)return e}));if(!h)throw new TypeError("Invalid hosts config. Expected a URL, an array of urls, a host config object, or an array of host config objects.");f&&(h=o.shuffle(h)),t.setHosts(h)}e.hasOwnProperty("sniffedNodesProtocol")?t.sniffedNodesProtocol=e.sniffedNodesProtocol||null:t.sniffedNodesProtocol=s(t.connectionPool.getAllHosts())||null,e.hasOwnProperty("sniffedNodesFilterPath")?t.sniffedNodesFilterPath=e.sniffedNodesFilterPath:t.sniffedNodesFilterPath=["nodes.*.http.publish_address","nodes.*.name","nodes.*.hostname","nodes.*.host","nodes.*.version"].join(","),e.sniffOnStart&&t.sniff(),e.sniffInterval&&t._timeout((function n(){t.sniff(),t._timeout(n,e.sniffInterval)}),e.sniffInterval),e.sniffOnConnectionFault&&l(t)}c.connectionPools={main:n("IDUY")},c.serializers=n("eT2a"),c.nodesToHostCallbacks={main:n("cs6Z")},c.prototype.defer=function(){if("undefined"===typeof Promise)throw new Error("No Promise implementation found. In order for elasticsearch-js to create promises either specify the `defer` configuration or include a global Promise shim");var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e},c.prototype.request=function(e,n){var a,l,s,c,u,d=this,f=this.maxRetries,h=this.requestTimeout,p=!1,v=e.body,m=e.headers?o.transform(e.headers,(function(e,t,n){e[String(n).toLowerCase()]=t})):{};if(d.log.debug("starting request",e),"function"===typeof n?(t.domain&&(n=t.domain.bind(n)),c={abort:O}):(c=(u=this.defer()).promise).abort=O,v&&"GET"===e.method)return r.nextTick(k,new TypeError('Body can not be sent with method "GET"')),c;if(v){var g=d.serializer,y=g[e.bulkBody?"bulkBody":"serialize"];v=y.call(g,v),m["content-type"]||(m["content-type"]=y.contentType)}if(e.hasOwnProperty("maxRetries")&&(f=e.maxRetries),e.hasOwnProperty("requestTimeout")&&(h=e.requestTimeout),"/"===e.path&&"HEAD"===e.method){const t=e.hasOwnProperty("requestTimeout")&&e.requestTimeout;h=t||this.pingTimeout}function b(t,n){p||(t?k(t):n?l=(a=n).request(e.req,w):(d.log.warning("No living connections"),k(new i.NoConnections)))}function w(t,n,o,r){if(!p){if(l=void 0,t instanceof i.RequestTypeError)return d.log.error("Connection refused to execute the request",t),void k(t,n,o,r);if(t){a.setStatus("dead");var s=t.message||"";s="\n"+e.req.method+" "+a.host.makeUrl(e.req)+(s.length?" => ":"")+s,f?(f--,d.log.error("Request error, retrying"+s),d.connectionPool.select(b)):(d.log.error("Request complete with error"+s),k(new i.ConnectionFault(t)))}else d.log.debug("Request complete"),k(void 0,n,o,r)}}function k(t,r,a,l){if(!p){var c;d._timeout(s);var f=!l||l["content-type"]&&~l["content-type"].indexOf("application/json");if(!t&&r&&(f?null==(c=d.serializer.deserialize(r))&&(t=new i.Serialization,c=r):c=r),(!t||t instanceof i.Serialization)&&(a<200||a>=300)&&(!e.ignore||!o.includes(e.ignore,a))){var h=o.pick(e.req,["path","query","body"]);h.statusCode=a,h.response=r,401===a&&l&&l["www-authenticate"]&&(h.wwwAuthenticateDirective=l["www-authenticate"]),t=i[a]?new i[a](c&&c.error,h):new i.Generic("unknown error",h)}e.castExists&&(t&&t instanceof i.NotFound?(c=!1,t=void 0):c=!t),"function"===typeof n?n(t||void 0,c,a):t?(t.body=c,t.status=a,u.reject(t)):u.resolve(c)}}function O(){p||(p=!0,f=0,d._timeout(s),"function"===typeof l&&l())}return e.req={method:e.method,path:e.path||"/",query:e.query,body:v,headers:m},h&&h!==1/0&&(s=this._timeout((function(){k(new i.RequestTimeout("Request Timeout after "+h+"ms")),O()}),h)),a?b(void 0,a):d.connectionPool.select(b),c},c.prototype._timeout=function(e,t){if(!this.closed){var n,r=this._timers||(this._timers=[]);if("function"!==typeof e&&(n=e,e=void 0),e)return n=setTimeout((function(){o.pull(r,n),e()}),t),r.push(n),n;if(n){clearTimeout(n);var i=this._timers.indexOf(n);-1!==i&&this._timers.splice(i,1)}}},c.prototype.sniff=function(e){var t=this,n=this.nodesToHostCallback,r=this.log,i=this.sniffedNodesProtocol,a=this.sniffedNodesFilterPath;e="function"===typeof e?e:o.noop,this.request({path:this.sniffEndpoint,query:{filter_path:a},method:"GET"},(function(a,l,s){if(!a&&l&&l.nodes){var c;try{c=n(l.nodes)}catch(u){return void r.error(new Error("Unable to convert node list from "+t.sniffEndpoint+" to hosts durring sniff. Encountered error:\n"+(u.stack||u.message)))}o.forEach(c,(function(e){i&&(e.protocol=i)})),t.setHosts(c)}e(a,l,s)}))},c.prototype.setHosts=function(e){var t=this._config;this.connectionPool.setHosts(o.map(e,(function(e){return e instanceof a?e:new a(e,t)})))},c.prototype.close=function(){this.log.close(),this.closed=!0,o.each(this._timers,clearTimeout),this._timers=null,this.connectionPool.close()}}).call(this,n("8oxB"))},"3GpW":function(e,t){e.exports=function(e){return e[Math.floor(Math.random()*e.length)]}},"3IO0":function(e,t){e.exports=function(e){return n.test(e)?e.toLowerCase():o.test(e)?(function(e){return e.replace(i,(function(e,t){return t?" "+t:""}))}(e)||e).toLowerCase():r.test(e)?function(e){return e.replace(a,(function(e,t,n){return t+" "+n.toLowerCase().split("").join(" ")}))}(e).toLowerCase():e.toLowerCase()};var n=/\s/,o=/(_|-|\.|:)/,r=/([a-z][A-Z]|[A-Z][a-z])/;var i=/[\W_]+(.|$)/g;var a=/(.)([A-Z]+)/g},"3lc3":function(e,t,n){var o=n("LvDl"),r=n("nqsp"),i=e.exports,a="function"===typeof Error.captureStackTrace,l=!!(new Error).stack;function s(e,t,n){this.message=e,Error.call(this,this.message),a?Error.captureStackTrace(this,t):this.stack=l?(new Error).stack:"",n&&(o.assign(this,n),this.toString=function(){return e+" :: "+JSON.stringify(n)},this.toJSON=function(){return o.assign({msg:e},n)})}i._Abstract=s,r.inherits(s,Error),i.ConnectionFault=function(e){s.call(this,e||"Connection Failure",i.ConnectionFault)},r.inherits(i.ConnectionFault,s),i.NoConnections=function(e){s.call(this,e||"No Living connections",i.NoConnections)},r.inherits(i.NoConnections,s),i.Generic=function(e,t){s.call(this,e||"Generic Error",i.Generic,t)},r.inherits(i.Generic,s),i.RequestTimeout=function(e){s.call(this,e||"Request Timeout",i.RequestTimeout)},r.inherits(i.RequestTimeout,s),i.Serialization=function(e){s.call(this,e||"Unable to parse/serialize body",i.Serialization)},r.inherits(i.Serialization,s),i.RequestTypeError=function(e){s.call(this,"Cross-domain AJAX requests "+e+" are not supported",i.RequestTypeError)},r.inherits(i.RequestTypeError,s);o.each([[300,"Multiple Choices"],[301,"Moved Permanently"],[302,"Found"],[303,"See Other"],[304,"Not Modified"],[305,"Use Proxy"],[307,"Temporary Redirect"],[308,"Permanent Redirect"],[400,"Bad Request"],[401,"Authentication Exception"],[402,"Payment Required"],[403,["Authorization Exception","Forbidden"]],[404,"Not Found"],[405,"Method Not Allowed"],[406,"Not Acceptable"],[407,"Proxy Authentication Required"],[408,"Request Timeout"],[409,"Conflict"],[410,"Gone"],[411,"Length Required"],[412,"Precondition Failed"],[413,"Request Entity Too Large"],[414,"Request URIToo Long"],[415,"Unsupported Media Type"],[416,"Requested Range Not Satisfiable"],[417,"Expectation Failed"],[418,"Im ATeapot"],[421,"Too Many Connections From This IP"],[426,"Upgrade Required"],[429,"Too Many Requests"],[450,"Blocked By Windows Parental Controls"],[494,"Request Header Too Large"],[497,"HTTPTo HTTPS"],[499,"Client Closed Request"],[500,"Internal Server Error"],[501,"Not Implemented"],[502,"Bad Gateway"],[503,"Service Unavailable"],[504,"Gateway Timeout"],[505,"HTTPVersion Not Supported"],[506,"Variant Also Negotiates"],[510,"Not Extended"]],(function(e){var t=e[0],n=e[1],a=[].concat(n,t),l=a[0],c=r.studlyCase(l);function u(e,n){this.status=t,this.displayName=c;var r=null;return o.isPlainObject(e)&&(r=e,e=null),r?((e=[].concat(r.root_cause||[]).reduce((function(e,t){e&&(e+=" (and) "),e+="["+t.type+"] "+t.reason;var n=o.omit(t,["type","reason"]);return o.size(n)&&(e+=", with "+function(e){const t=[];return function e(n){if("object"!==typeof n)return JSON.stringify(n);if(t.indexOf(n)>-1)return"[circular]";t.push(n);try{return"{ "+o.map(n,(function(t,n){return n+"="+e(t)})).join(" & ")+" }"}finally{t.pop()}}(e)}(n)),e}),""))||(r.type&&(e+="["+r.type+"] "),r.reason&&(e+=r.reason)),s.call(this,e||l,u,n),this):(s.call(this,e||l,u,n),this)}a=o.uniq(a.concat(c)),r.inherits(u,s),a.forEach((function(e){i[e]=u}))}))},"5Tn3":function(e,t,n){e.exports=a;var o=n("nqsp"),r=n("AHSw"),i=n("3lc3").ConnectionFault;function a(e,t){r.call(this,e,t);var n=this;t.$injector.invoke(["$http","$q",function(e,t){n.$q=t,n.$http=e}])}o.inherits(a,r),a.prototype.request=function(e,t){var n=this.$q.defer();return this.$http({method:e.method,url:this.host.makeUrl(e),data:e.body,cache:!1,headers:this.host.getHeaders(e.headers),transformRequest:[],transformResponse:[],timeout:n.promise}).then((function(e){t(null,e.data,e.status,e.headers())}),(function(e){e.status?t(null,e.data,e.status,e.headers()):t(new i(e.message))})),function(){n.resolve()}}},"7+Yh":function(e,t,n){},"7tlc":function(e,t,n){(function(e){var o=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},o=0;o<t.length;o++)n[t[o]]=Object.getOwnPropertyDescriptor(e,t[o]);return n},r=/%[sdj%]/g;t.format=function(e){if(!g(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(l(arguments[n]));return t.join(" ")}n=1;for(var o=arguments,i=o.length,a=String(e).replace(r,(function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(o[n++]);case"%d":return Number(o[n++]);case"%j":try{return JSON.stringify(o[n++])}catch(t){return"[Circular]"}default:return e}})),s=o[n];n<i;s=o[++n])v(s)||!w(s)?a+=" "+s:a+=" "+l(s);return a},t.deprecate=function(n,o){if("undefined"!==typeof e&&!0===e.noDeprecation)return n;if("undefined"===typeof e)return function(){return t.deprecate(n,o).apply(this,arguments)};var r=!1;return function(){if(!r){if(e.throwDeprecation)throw new Error(o);e.traceDeprecation?console.trace(o):console.error(o),r=!0}return n.apply(this,arguments)}};var i,a={};function l(e,n){var o={seen:[],stylize:c};return arguments.length>=3&&(o.depth=arguments[2]),arguments.length>=4&&(o.colors=arguments[3]),p(n)?o.showHidden=n:n&&t._extend(o,n),y(o.showHidden)&&(o.showHidden=!1),y(o.depth)&&(o.depth=2),y(o.colors)&&(o.colors=!1),y(o.customInspect)&&(o.customInspect=!0),o.colors&&(o.stylize=s),u(o,e,o.depth)}function s(e,t){var n=l.styles[t];return n?"\x1b["+l.colors[n][0]+"m"+e+"\x1b["+l.colors[n][1]+"m":e}function c(e,t){return e}function u(e,n,o){if(e.customInspect&&n&&S(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var r=n.inspect(o,e);return g(r)||(r=u(e,r,o)),r}var i=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(g(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(m(t))return e.stylize(""+t,"number");if(p(t))return e.stylize(""+t,"boolean");if(v(t))return e.stylize("null","null")}(e,n);if(i)return i;var a=Object.keys(n),l=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),O(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(n);if(0===a.length){if(S(n)){var s=n.name?": "+n.name:"";return e.stylize("[Function"+s+"]","special")}if(b(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(k(n))return e.stylize(Date.prototype.toString.call(n),"date");if(O(n))return d(n)}var c,w="",T=!1,N=["{","}"];(h(n)&&(T=!0,N=["[","]"]),S(n))&&(w=" [Function"+(n.name?": "+n.name:"")+"]");return b(n)&&(w=" "+RegExp.prototype.toString.call(n)),k(n)&&(w=" "+Date.prototype.toUTCString.call(n)),O(n)&&(w=" "+d(n)),0!==a.length||T&&0!=n.length?o<0?b(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),c=T?function(e,t,n,o,r){for(var i=[],a=0,l=t.length;a<l;++a)_(t,String(a))?i.push(f(e,t,n,o,String(a),!0)):i.push("");return r.forEach((function(r){r.match(/^\d+$/)||i.push(f(e,t,n,o,r,!0))})),i}(e,n,o,l,a):a.map((function(t){return f(e,n,o,l,t,T)})),e.seen.pop(),function(e,t,n){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(c,w,N)):N[0]+w+N[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,n,o,r,i){var a,l,s;if((s=Object.getOwnPropertyDescriptor(t,r)||{value:t[r]}).get?l=s.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):s.set&&(l=e.stylize("[Setter]","special")),_(o,r)||(a="["+r+"]"),l||(e.seen.indexOf(s.value)<0?(l=v(n)?u(e,s.value,null):u(e,s.value,n-1)).indexOf("\n")>-1&&(l=i?l.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+l.split("\n").map((function(e){return" "+e})).join("\n")):l=e.stylize("[Circular]","special")),y(a)){if(i&&r.match(/^\d+$/))return l;(a=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+l}function h(e){return Array.isArray(e)}function p(e){return"boolean"===typeof e}function v(e){return null===e}function m(e){return"number"===typeof e}function g(e){return"string"===typeof e}function y(e){return void 0===e}function b(e){return w(e)&&"[object RegExp]"===T(e)}function w(e){return"object"===typeof e&&null!==e}function k(e){return w(e)&&"[object Date]"===T(e)}function O(e){return w(e)&&("[object Error]"===T(e)||e instanceof Error)}function S(e){return"function"===typeof e}function T(e){return Object.prototype.toString.call(e)}function N(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(y(i)&&(i=e.env.NODE_DEBUG||""),n=n.toUpperCase(),!a[n])if(new RegExp("\\b"+n+"\\b","i").test(i)){var o=e.pid;a[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,o,e)}}else a[n]=function(){};return a[n]},t.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=h,t.isBoolean=p,t.isNull=v,t.isNullOrUndefined=function(e){return null==e},t.isNumber=m,t.isString=g,t.isSymbol=function(e){return"symbol"===typeof e},t.isUndefined=y,t.isRegExp=b,t.isObject=w,t.isDate=k,t.isError=O,t.isFunction=S,t.isPrimitive=function(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e},t.isBuffer=n("j/1Z");var x=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function j(){var e=new Date,t=[N(e.getHours()),N(e.getMinutes()),N(e.getSeconds())].join(":");return[e.getDate(),x[e.getMonth()],t].join(" ")}function _(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",j(),t.format.apply(t,arguments))},t.inherits=n("FfBw"),t._extend=function(e,t){if(!t||!w(t))return e;for(var n=Object.keys(t),o=n.length;o--;)e[n[o]]=t[n[o]];return e};var E="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function C(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(E&&e[E]){var t;if("function"!==typeof(t=e[E]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,E,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,o=new Promise((function(e,o){t=e,n=o})),r=[],i=0;i<arguments.length;i++)r.push(arguments[i]);r.push((function(e,o){e?n(e):t(o)}));try{e.apply(this,r)}catch(a){n(a)}return o}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),E&&Object.defineProperty(t,E,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,o(e))},t.promisify.custom=E,t.callbackify=function(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],o=0;o<arguments.length;o++)n.push(arguments[o]);var r=n.pop();if("function"!==typeof r)throw new TypeError("The last argument must be of type Function");var i=this,a=function(){return r.apply(i,arguments)};t.apply(this,n).then((function(t){e.nextTick(a,null,t)}),(function(t){e.nextTick(C,t,a)}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),Object.defineProperties(n,o(t)),n}}).call(this,n("8oxB"))},"81xT":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var o=n("q1tI"),r=n.n(o),i=n("9rZX"),a=n.n(i),l=r.a.createElement,s={overlay:{zIndex:"99"}};function c(e){var t=e.showModal,n=e.closeModal,o=e.modalClass,r=e.overlayClassName,i="Modal ".concat(o);return l("div",{className:"modal_wrapper"},l(a.a,{isOpen:t,onRequestClose:n,className:i,overlayClassName:"overlay ".concat(r||""),contentLabel:"Example Modal",style:s,closeTimeoutMS:200,ariaHideApp:!1},e.children))}},"8xmT":function(e,t,n){},"9a8T":function(e,t,n){e.exports=function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].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 o(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 o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i=(o(n(1)),n(6)),a=o(i),l=o(n(7)),s=o(n(8)),c=o(n(9)),u=o(n(10)),d=o(n(11)),f=o(n(14)),h=[],p=!1,v={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},m=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e&&(p=!0),p)return h=(0,d.default)(h,v),(0,u.default)(h,v.once),h},g=function(){h=(0,f.default)(),m()};e.exports={init:function(e){v=r(v,e),h=(0,f.default)();var t=document.all&&!window.atob;return function(e){return!0===e||"mobile"===e&&c.default.mobile()||"phone"===e&&c.default.phone()||"tablet"===e&&c.default.tablet()||"function"==typeof e&&!0===e()}(v.disable)||t?void h.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")})):(v.disableMutationObserver||s.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 '),v.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",v.easing),document.querySelector("body").setAttribute("data-aos-duration",v.duration),document.querySelector("body").setAttribute("data-aos-delay",v.delay),"DOMContentLoaded"===v.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?m(!0):"load"===v.startEvent?window.addEventListener(v.startEvent,(function(){m(!0)})):document.addEventListener(v.startEvent,(function(){m(!0)})),window.addEventListener("resize",(0,l.default)(m,v.debounceDelay,!0)),window.addEventListener("orientationchange",(0,l.default)(m,v.debounceDelay,!0)),window.addEventListener("scroll",(0,a.default)((function(){(0,u.default)(h,v.once)}),v.throttleDelay)),v.disableMutationObserver||s.default.ready("[data-aos]",g),h)},refresh:m,refreshHard:g}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function n(e,t,n){function r(t){var n=d,o=f;return d=f=void 0,g=t,p=e.apply(o,n)}function a(e){var n=e-m;return void 0===m||n>=t||n<0||O&&e-g>=h}function s(){var e=k();return a(e)?c(e):void(v=setTimeout(s,function(e){var n=t-(e-m);return O?w(n,h-(e-g)):n}(e)))}function c(e){return v=void 0,S&&d?r(e):(d=f=void 0,p)}function u(){var e=k(),n=a(e);if(d=arguments,f=this,m=e,n){if(void 0===v)return function(e){return g=e,v=setTimeout(s,t),y?r(e):p}(m);if(O)return v=setTimeout(s,t),r(m)}return void 0===v&&(v=setTimeout(s,t)),p}var d,f,h,p,v,m,g=0,y=!1,O=!1,S=!0;if("function"!=typeof e)throw new TypeError(l);return t=i(t)||0,o(n)&&(y=!!n.leading,h=(O="maxWait"in n)?b(i(n.maxWait)||0,t):h,S="trailing"in n?!!n.trailing:S),u.cancel=function(){void 0!==v&&clearTimeout(v),g=0,d=m=f=v=void 0},u.flush=function(){return void 0===v?p:c(k())},u}function o(e){var t="undefined"==typeof e?"undefined":a(e);return!!e&&("object"==t||"function"==t)}function r(e){return"symbol"==("undefined"==typeof e?"undefined":a(e))||function(e){return!!e&&"object"==("undefined"==typeof e?"undefined":a(e))}(e)&&y.call(e)==c}function i(e){if("number"==typeof e)return e;if(r(e))return s;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(u,"");var n=f.test(e);return n||h.test(e)?p(e.slice(2),n?2:8):d.test(e)?s:+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},l="Expected a function",s=NaN,c="[object Symbol]",u=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,h=/^0o[0-7]+$/i,p=parseInt,v="object"==("undefined"==typeof t?"undefined":a(t))&&t&&t.Object===Object&&t,m="object"==("undefined"==typeof self?"undefined":a(self))&&self&&self.Object===Object&&self,g=v||m||Function("return this")(),y=Object.prototype.toString,b=Math.max,w=Math.min,k=function(){return g.Date.now()};e.exports=function(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError(l);return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:i,maxWait:t,trailing:a})}}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function n(e){var t="undefined"==typeof e?"undefined":i(e);return!!e&&("object"==t||"function"==t)}function o(e){return"symbol"==("undefined"==typeof e?"undefined":i(e))||function(e){return!!e&&"object"==("undefined"==typeof e?"undefined":i(e))}(e)&&g.call(e)==s}function r(e){if("number"==typeof e)return e;if(o(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||f.test(e)?h(e.slice(2),r?2:8):u.test(e)?l:+e}var 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},a="Expected a function",l=NaN,s="[object Symbol]",c=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,f=/^0o[0-7]+$/i,h=parseInt,p="object"==("undefined"==typeof t?"undefined":i(t))&&t&&t.Object===Object&&t,v="object"==("undefined"==typeof self?"undefined":i(self))&&self&&self.Object===Object&&self,m=p||v||Function("return this")(),g=Object.prototype.toString,y=Math.max,b=Math.min,w=function(){return m.Date.now()};e.exports=function(e,t,o){function i(t){var n=d,o=f;return d=f=void 0,g=t,p=e.apply(o,n)}function l(e){var n=e-m;return void 0===m||n>=t||n<0||O&&e-g>=h}function s(){var e=w();return l(e)?c(e):void(v=setTimeout(s,function(e){var n=t-(e-m);return O?b(n,h-(e-g)):n}(e)))}function c(e){return v=void 0,S&&d?i(e):(d=f=void 0,p)}function u(){var e=w(),n=l(e);if(d=arguments,f=this,m=e,n){if(void 0===v)return function(e){return g=e,v=setTimeout(s,t),k?i(e):p}(m);if(O)return v=setTimeout(s,t),i(m)}return void 0===v&&(v=setTimeout(s,t)),p}var d,f,h,p,v,m,g=0,k=!1,O=!1,S=!0;if("function"!=typeof e)throw new TypeError(a);return t=r(t)||0,n(o)&&(k=!!o.leading,h=(O="maxWait"in o)?y(r(o.maxWait)||0,t):h,S="trailing"in o?!!o.trailing:S),u.cancel=function(){void 0!==v&&clearTimeout(v),g=0,d=m=f=v=void 0},u.flush=function(){return void 0===v?p:c(w())},u}}).call(t,function(){return this}())},function(e,t){"use strict";function n(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function o(e){e&&e.forEach((function(e){var t=Array.prototype.slice.call(e.addedNodes),n=Array.prototype.slice.call(e.removedNodes);if(function e(t){var n=void 0,o=void 0;for(n=0;n<t.length;n+=1){if((o=t[n]).dataset&&o.dataset.aos)return!0;if(o.children&&e(o.children))return!0}return!1}(t.concat(n)))return r()}))}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){};t.default={isSupported:function(){return!!n()},ready:function(e,t){var i=window.document,a=new(n())(o);r=t,a.observe(i.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 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=/(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,i=/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,a=/(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 )|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,s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return o(e,[{key:"phone",value:function(){var e=n();return!(!r.test(e)&&!i.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=n();return!(!a.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,o=window.innerHeight;e.forEach((function(e,r){!function(e,t,n){var o=e.node.getAttribute("data-aos-once");t>e.position?e.node.classList.add("aos-animate"):"undefined"!=typeof o&&("false"===o||!n&&"true"!==o)&&e.node.classList.remove("aos-animate")}(e,o+n,t)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(12));t.default=function(e,t){return e.forEach((function(e,n){e.node.classList.add("aos-init"),e.position=(0,o.default)(e.node,t.offset)})),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(13));t.default=function(e,t){var n=0,r=0,i=window.innerHeight,a={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(a.offset&&!isNaN(a.offset)&&(r=parseInt(a.offset)),a.anchor&&document.querySelectorAll(a.anchor)&&(e=document.querySelectorAll(a.anchor)[0]),n=(0,o.default)(e).top,a.anchorPlacement){case"top-bottom":break;case"center-bottom":n+=e.offsetHeight/2;break;case"bottom-bottom":n+=e.offsetHeight;break;case"top-center":n+=i/2;break;case"bottom-center":n+=i/2+e.offsetHeight;break;case"center-center":n+=i/2+e.offsetHeight/2;break;case"top-top":n+=i;break;case"bottom-top":n+=e.offsetHeight+i;break;case"center-top":n+=e.offsetHeight/2+i}return a.anchorPlacement||a.offset||isNaN(t)||(r=t),n+r}},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}}))}}])},AHSw:function(e,t,n){e.exports=c;var o=n("LvDl"),r=n("nqsp"),i=n("+qE3").EventEmitter,a=n("fTNz"),l=n("TWcL"),s=n("3lc3");function c(e,t){if(t=t||{},i.call(this),this.log=t.log||new a,this.pingTimeout=t.pingTimeout||3e3,!e)throw new TypeError("Missing host");if(!(e instanceof l))throw new TypeError("Invalid host");this.host=e,r.makeBoundMethods(this)}r.inherits(c,i),c.prototype.request=function(){throw new Error("Connection#request must be overwritten by the Connector")},c.prototype.ping=function(e,t){"function"===typeof e?(t=e,e=null):t="function"===typeof t?t:null;var n,r,i,a=this.pingTimeout;e&&e.hasOwnProperty("requestTimeout")&&(a=e.requestTimeout),i=this.request(o.defaults(e||{},{path:"/",method:"HEAD"}),(function(e){r||(clearTimeout(n),t&&t(e))})),a&&(n=setTimeout((function(){i&&i(),r=!0,t&&t(new s.RequestTimeout("Ping Timeout after "+a+"ms"))}),a))},c.prototype.setStatus=function(e){var t=this.status;this.status=e,this.emit("status set",e,t,this),"closed"===e&&this.removeAllListeners()}},Ain4:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("q1tI"),r=n.n(o),i=(n("KRKC"),r.a.createElement);function a(e){return i("div",{className:"container"},i("div",{className:"inner-box-container"},e.component))}},BUpc:function(e,t,n){"use strict";var o=n("q1tI"),r=n.n(o),i=(n("TZZU"),r.a.createElement);t.a=function(e){var t=e.text,n=e.children,r=Object(o.useState)(!1),a=r[0],l=r[1];return i("div",{className:"tooltip-container",onMouseEnter:function(){return l(!0)},onMouseLeave:function(){return l(!1)}},n,a&&i("div",{className:"tooltip-box"},t))}},CevC:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var o=n("q1tI"),r=n.n(o),i=n("YFqc"),a=n.n(i),l=n("LvDl"),s=n("2v50"),c=r.a.createElement;function u(e){var t=e.data,n=void 0===t?{}:t,o=e._dataIndex,i=e.pageData,u=e.doNotShowNextStory,d=(e.isViewMore,e.nextClick),f=!Object(l.isEmpty)(n)&&n.link&&Object(s.l)(n.link);return c(r.a.Fragment,null,Object(l.isEmpty)(n)?null:c("div",null,c(r.a.Fragment,null,f?c("div",{className:"slide_content"},c(a.a,{prefetch:!1,href:"".concat(f)},c("a",{target:Object(s.j)(n.link)||"_blank"},n.video?c("div",{className:"video_slide"},c("img",{src:"/assets/images/slider-img.jpg"}),c("a",{className:"playBtn"})):c("div",{className:"image_wrap"},c("img",{className:"image_slide",src:n.image&&n.image.url,alt:n.image&&n.image.url})),c("div",{className:"content_section"},c("div",{className:"content"},c("h2",null,n.title),n.body&&c("div",{dangerouslySetInnerHTML:{__html:n.body},className:"sub-title"})),c("span",{className:"btn"},n.link.title))))):c("div",{className:"slide_content"},Object(l.isEmpty)(n)||n.video?c("div",{className:"video_slide"},c("img",{src:"/assets/images/slider-img.jpg"}),c("a",{className:"playBtn"})):c("div",{className:"image_wrap"},c("img",{className:"image_slide",src:n.image&&n.image.url,alt:n.image&&n.image.url})),c("div",{className:"content_section"},c("div",{className:"content"},c("h2",null,n&&n.title),n&&n.body&&c("div",{dangerouslySetInnerHTML:{__html:n.body},className:"sub-title"})),f&&c(a.a,{prefetch:!1,href:"".concat(f)},c("a",{target:"_blank",className:"btn"},c("span",null,n.link.title))))),!u&&c("div",{className:"next_section"},c("div",{className:"story"},"Next"," - "),c("h5",{onClick:d},i.bannerData&&i.bannerData.banner&&i.bannerData.banner[o]&&i.bannerData.banner[o].title)))))}},E3gg:function(e,t,n){"use strict";n.r(t),n.d(t,"__N_SSP",(function(){return j})),n.d(t,"default",(function(){return _}));var o=n("wx14"),r=n("q1tI"),i=n.n(r),a=n("gF98"),l=n("2v50"),s=n("OS56"),c=n.n(s),u=n("0WgE"),d=n("fhwx"),f=n.n(d),h=(n("60Bi"),n("/M1s"),n("LvDl"),n("Ain4"),n("CevC"),n("wUFB"),n("WBog")),p=n("YVY1"),v=n("On4K"),m=n("X27C"),g=n("MYpF"),y=n("0TYm"),b=n("kdJN"),w=n("+6hd"),k=n("o8WR"),O=(n("8xmT"),n("0sBl"),n("Ewtw"),n("yOVY"),n("VASv"),i.a.createElement);function S(e){var t=e.data;return O(i.a.Fragment,null,O("div",{className:"article-main-wrap-new"},O("div",{className:"article-main"},O("div",{className:"article_main_wrap",dangerouslySetInnerHTML:{__html:t}}))))}var T=i.a.createElement;function N(e){e.component,e.heading,e.subHeading,e.dataProps,e.pageData;var t,n,o,a,s,d,O,N,x,j,_,E,C,P,L,D,A,M,H,I,q,z,R,F,U,B,W,V,G,K,$,Y,J,X,Z,Q,ee,te,ne,oe,re,ie,ae,le=e.otherData,se=Object(r.useState)(!1),ce=(se[0],se[1],Object(r.useState)(!1)),ue=ce[0],de=ce[1],fe=Object(r.useState)(null),he=(fe[0],fe[1],Object(r.useState)(1)),pe=(he[0],he[1],Object(r.useState)(0)),ve=pe[0],me=pe[1],ge=Object(r.useState)(null),ye=(ge[0],ge[1]),be=Object(r.useState)(!1),we=be[0],ke=(be[1],Object(r.useState)(0)),Oe=(ke[0],ke[1],Object(r.useRef)(null),Object(l.k)());Object(r.useEffect)((function(){var e=setInterval((function(){var e,t=(ve+1)%(null===le||void 0===le?void 0:null===(e=le.newsUrl)||void 0===e?void 0:e.length);me(t)}),2e3);return ye(e),function(){return clearInterval(e)}}),[ve,null===le||void 0===le?void 0:null===(t=le.newsUrl)||void 0===t?void 0:t.length,we]);var Se=Object(r.useState)(!1),Te=Se[0],Ne=Se[1];Object(r.useEffect)((function(){var e=function(){Ne(window.screen.width<990)};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]);return T(i.a.Fragment,null,(null===e||void 0===e?void 0:null===(n=e.otherData)||void 0===n?void 0:n.title)&&T(p.a,{dataProps:{title:null===e||void 0===e?void 0:null===(o=e.otherData)||void 0===o?void 0:o.title,testBannerImage:{url:null===le||void 0===le?void 0:null===(a=le.image)||void 0===a?void 0:a.url,alt:null===le||void 0===le?void 0:null===(s=le.image)||void 0===s?void 0:s.alt}}}),le.newsUrl&&T(v.a,{otherPages:!0,title:"Latest News",data:le.newsUrl}),e.otherData.oneHealthTitle&&T("div",{className:"mt-50 mt-md-30 mb-50 mb-md-30"},T(m.a,{introData:{body:e.otherData.oneDesc,title:e.otherData.oneHealthTitle}})),(null===(d=e.otherData)||void 0===d?void 0:d.body)&&T("div",{className:"mt-50 mt-md-30 mb-50 mb-md-30"},T(m.a,{introData:{body:e.otherData.body}})),(null===(O=e.otherData)||void 0===O?void 0:null===(N=O.national)||void 0===N?void 0:N[0])&&T(i.a.Fragment,null,T(g.a,{introData:null===(x=e.otherData)||void 0===x?void 0:null===(j=x.national)||void 0===j?void 0:j[0].title}),T("div",{className:"container-fluid lato-paragraph mt-50 mt-md-30 mb-50 mb-md-30"},f()(null===(_=e.otherData)||void 0===_?void 0:null===(E=_.national)||void 0===E?void 0:E[0].description)),T("div",{className:"container-fluid one-health-section"},Te?T("div",null,T("div",{className:"process-modal"},T(u.default,{isOpen:ue,onClose:function(){return de(!1)},width:"100%",height:"100%",modalContentHeight:"600px",showClosebutton:!0}," ",T("img",{className:"goals",src:"/assets/images/mission_mob.png"})," "),T("div",{className:"zoom-flip",onClick:function(){return de(!0)}},T("img",{src:"/assets/images/zoom_flip.svg"}))),T("img",{className:"full-width",src:null===(A=e.otherData)||void 0===A?void 0:null===(M=A.national)||void 0===M?void 0:M[0].image.url,alt:null===(H=e.otherData)||void 0===H?void 0:null===(I=H.national)||void 0===I?void 0:I[0].image.alt})):T("img",{className:"full-width",src:null===(C=e.otherData)||void 0===C?void 0:null===(P=C.national)||void 0===P?void 0:P[0].image.url,alt:null===(L=e.otherData)||void 0===L?void 0:null===(D=L.national)||void 0===D?void 0:D[0].image.alt}))),(null===e||void 0===e?void 0:null===(q=e.otherData)||void 0===q?void 0:null===(z=q.test_goals_title)||void 0===z?void 0:z.length)>0&&T(i.a.Fragment,null,T(g.a,{introData:e.otherData.test_goals_title[0].title}),T("div",{className:"container-fluid lato-paragraph mt-50 mt-md-30 mb-50 mb-md-30"},f()(e.otherData.test_goals_title[0].description[0].value))),(null===e||void 0===e?void 0:null===(R=e.otherData)||void 0===R?void 0:null===(F=R.goal_section)||void 0===F?void 0:F.length)>0&&T(i.a.Fragment,null,(null===e||void 0===e?void 0:null===(U=e.otherData)||void 0===U?void 0:null===(B=U.goal_section)||void 0===B?void 0:B.length)>0&&T(w.a,{oneHealthAdvisory:!0,showTopSection:!0,data:null===e||void 0===e?void 0:null===(W=e.otherData)||void 0===W?void 0:W.goal_section})),(null===e||void 0===e?void 0:null===(V=e.otherData)||void 0===V?void 0:V.goals)&&T(i.a.Fragment,null,T("div",{className:"container-fluid lato-paragraph"},f()(null===e||void 0===e?void 0:null===(G=e.otherData)||void 0===G?void 0:G.goals))),(null===e||void 0===e?void 0:null===(K=e.otherData)||void 0===K?void 0:null===($=K.certical_title)||void 0===$?void 0:null===(Y=$[0])||void 0===Y?void 0:Y.title)&&T("div",{className:"border-container-left bg-grey-09 introduction-wrapper mt-50 mb-50 mt-md-30 mb-md-30"},T("h2",{className:"heading-02"},null===e||void 0===e?void 0:null===(J=e.otherData)||void 0===J?void 0:null===(X=J.certical_title)||void 0===X?void 0:null===(Z=X[0])||void 0===Z?void 0:Z.title),T("div",{className:"lato-paragraph"},f()(null===e||void 0===e?void 0:null===(Q=e.otherData)||void 0===Q?void 0:null===(ee=Q.certical_title)||void 0===ee?void 0:ee[0].description[0].value)),!Te&&T(y.a,{insideHexagon:!0,data:null===e||void 0===e?void 0:null===(te=e.otherData)||void 0===te?void 0:te.certical_section})),T("div",{className:"container-fluid"},(null===e||void 0===e?void 0:null===(ne=e.otherData)||void 0===ne?void 0:null===(oe=ne.certical_title)||void 0===oe?void 0:null===(re=oe[0])||void 0===re?void 0:re.title)&&T(i.a.Fragment,null,Te&&T(y.a,{insideHexagon:!0,data:null===e||void 0===e?void 0:null===(ie=e.otherData)||void 0===ie?void 0:ie.certical_section}))),le.publication&&!Te&&T("div",{className:"right-container-yellow-border bg-grey-09 introduction-wrapper mt-50 mb-50 mt-md-30 mb-md-30"},T(b.a,{baseUrl:Oe,data:le.publication})),le.publication&&Te&&T("div",{className:"container-fluid mt-50 mb-md-30"},T(b.a,{baseUrl:Oe,data:le.publication})),le.exercises_section.title[0]&&T(i.a.Fragment,null,T(g.a,{introData:le.exercises_section.title[0].title}),T("div",{className:"number-para-section"},T("div",{className:"container-fluid lato-paragraph mb-50 mb-md-30"},f()(le.exercises_section.title[0].description[0].value)),T(i.a.Fragment,null,Te?T(c.a,{slidesToShow:1,arrows:!0,slidesToScroll:1,autoplay:!1,infinite:!1,dots:!0},le.exercises_section.description.map((function(e,t){return T(i.a.Fragment,null,T("div",{className:"bg-grey-09 text-border-bottom lato-paragraph number-section-item item-".concat(t)},f()(e.description[0].value)))}))):le.exercises_section.description.map((function(e,t){return T(i.a.Fragment,null,T("div",{className:"bg-grey-09 text-border-bottom lato-paragraph number-section-item item-".concat(t)},f()(e.description[0].value)))})))),T("div",{className:"container-fluid lato-paragraph"},f()(le.exercises_section.body))),T("div",{className:"mt-50 mt-md-30 mb-50 mb-md-30"}),le.agencies&&T(k.a,{dataProps:{label:{normal:le.agencies_title},data:le.agencies},roundedStaticImage:!0}),T("div",{className:"content_section mt-50 mt-md-30"},T("div",{className:"container-fluid"},!le.body&&T("div",{className:"content_block"},!le.body&&T("div",{className:"flipbook_section full_width"},T("div",{className:"flipbook-tiles"},T("div",{style:{width:"100%;",position:"relative"}},T("div",null,(null===le||void 0===le?void 0:null===(ae=le.imgUrl)||void 0===ae?void 0:ae.length)>0&&T(h.a,{apiData:le.imgUrl})))))))),(null===le||void 0===le?void 0:le.RtiDisclosure)&&T("div",null,T(S,{data:null===le||void 0===le?void 0:le.RtiDisclosure})))}var x=i.a.createElement,j=!0;function _(e){return x(i.a.Fragment,null,x(a.a,Object(o.a)({homePagetest:!0},e.pageData.metaData)),x(N,{dataProps:e.pageData&&e.pageData.pid,otherData:e.pageData&&e.pageData.componentData}))}},EiQ3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.clientWidth,n=getComputedStyle(e),o=n.paddingLeft,r=n.paddingRight;return t-parseFloat(o)-parseFloat(r)}},F39V:function(e,t,n){var o=n("NtLt");e.exports=function(e){return o(e).replace(/\s(\w)/g,(function(e,t){return t.toUpperCase()}))}},FfBw:function(e,t){"function"===typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},HF17:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"===typeof e}},IDUY:function(e,t,n){(function(t){e.exports=a;var o=n("LvDl"),r=n("nqsp"),i=n("fTNz");function a(e){e=e||{},r.makeBoundMethods(this),e.log?this.log=e.log:(this.log=new i,e.log=this.log),this._config=e,this.selector=r.funcEnum(e,"selector",a.selectors,a.defaultSelector),this.Connection=r.funcEnum(e,"connectionClass",a.connectionClasses,a.defaultConnectionClass),this.deadTimeout=e.hasOwnProperty("deadTimeout")?e.deadTimeout:6e4,this.maxDeadTimeout=e.hasOwnProperty("maxDeadTimeout")?e.maxDeadTimeout:18e5,this.calcDeadTimeout=r.funcEnum(e,"calcDeadTimeout",a.calcDeadTimeoutOptions,"exponential"),this.index={},this._conns={alive:[],dead:[]},this._timeouts=[]}a.selectors=n("TIcO"),a.defaultSelector="roundRobin",a.connectionClasses=n("/wW9"),a.defaultConnectionClass=a.connectionClasses._default,delete a.connectionClasses._default,a.calcDeadTimeoutOptions={flat:function(e,t){return t},exponential:function(e,t){return Math.min(2*t*Math.pow(2,.5*e-1),this.maxDeadTimeout)}},a.prototype.select=function(e){if(this._conns.alive.length)if(this.selector.length>1)this.selector(this._conns.alive,e);else try{r.nextTick(e,void 0,this.selector(this._conns.alive))}catch(t){e(t)}else this._timeouts.length?this._selectDeadConnection(e):r.nextTick(e,void 0)},a.prototype.onStatusSet=r.handler((function(e,t,n){var r,i="dead"===e,a=i&&"dead"===t,l=!i&&"dead"===t,s=t===e,c=this._conns[t],u=this._conns[e];if(s&&!i)return!0;c!==u&&(o.isArray(c)&&-1!==(r=c.indexOf(n))&&c.splice(r,1),o.isArray(u)&&-1===(r=u.indexOf(n))&&u.push(n)),i&&this._onConnectionDied(n,a),l&&this._onConnectionRevived(n)})),a.prototype._onConnectionRevived=function(e){for(var t,n=0;n<this._timeouts.length;n++)if(this._timeouts[n].conn===e){(t=this._timeouts[n]).id&&clearTimeout(t.id),this._timeouts.splice(n,1);break}},a.prototype._onConnectionDied=function(e,t){var n;if(t){for(var o=0;o<this._timeouts.length;o++)if(this._timeouts[o].conn===e){n=this._timeouts[o];break}}else n={conn:e,attempt:0,revive:function(t){n.attempt++,e.ping((function(n){e.setStatus(n?"dead":"alive"),t&&"function"===typeof t&&t(n)}))}},this._timeouts.push(n);n.id&&clearTimeout(n.id);var i=this.calcDeadTimeout(n.attempt,this.deadTimeout);n.id=setTimeout(n.revive,i),n.runAt=r.now()+i},a.prototype._selectDeadConnection=function(e){var n=o.sortBy(this._timeouts,"runAt"),r=this.log;t.nextTick((function o(){var i=n.shift();i?i.conn?"dead"===i.conn.status?i.revive((function(n){n?(r.warning("Unable to revive connection: "+i.conn.id),t.nextTick(o)):e(void 0,i.conn)})):e(void 0,i.conn):o():e(void 0)}))},a.prototype.getConnections=function(e,t){var n;return n=e?this._conns[e]:this._conns[this._conns.alive.length?"alive":"dead"],null==t?n.slice(0):o.shuffle(n).slice(0,t)},a.prototype.addConnection=function(e){e.id||(e.id=e.host.toString()),this.index[e.id]||(this.log.info("Adding connection to",e.id),this.index[e.id]=e,e.on("status set",this.bound.onStatusSet),e.setStatus("alive"))},a.prototype.removeConnection=function(e){e.id||(e.id=e.host.toString()),this.index[e.id]&&(delete this.index[e.id],e.setStatus("closed"),e.removeListener("status set",this.bound.onStatusSet))},a.prototype.setHosts=function(e){var t,n,r,i,a=o.clone(this.index);for(n=0;n<e.length;n++)r=(i=e[n]).toString(),this.index[r]?delete a[r]:((t=new this.Connection(i,this._config)).id=r,this.addConnection(t));var l=o.keys(a);for(n=0;n<l.length;n++)this.removeConnection(this.index[l[n]])},a.prototype.getAllHosts=function(){return o.values(this.index).map((function(e){return e.host}))},a.prototype.close=function(){this.setHosts([])},a.prototype.empty=a.prototype.close}).call(this,n("8oxB"))},J1sY: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}}(),i=n("xEkU"),a=g(i),l=g(n("cegH")),s=n("q1tI"),c=g(n("17x9")),u=g(n("HF17")),d=g(n("KSAl")),f=g(n("ToH2")),h=g(n("EiQ3")),p=g(n("eYAL")),v=n("yXmM"),m=n("h27F");function g(e){return e&&e.__esModule?e:{default:e}}var y=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);for(var o=arguments.length,r=Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];var a=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=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this,e].concat(r)));return a.getScrollLeft=a.getScrollLeft.bind(a),a.getScrollTop=a.getScrollTop.bind(a),a.getScrollWidth=a.getScrollWidth.bind(a),a.getScrollHeight=a.getScrollHeight.bind(a),a.getClientWidth=a.getClientWidth.bind(a),a.getClientHeight=a.getClientHeight.bind(a),a.getValues=a.getValues.bind(a),a.getThumbHorizontalWidth=a.getThumbHorizontalWidth.bind(a),a.getThumbVerticalHeight=a.getThumbVerticalHeight.bind(a),a.getScrollLeftForOffset=a.getScrollLeftForOffset.bind(a),a.getScrollTopForOffset=a.getScrollTopForOffset.bind(a),a.scrollLeft=a.scrollLeft.bind(a),a.scrollTop=a.scrollTop.bind(a),a.scrollToLeft=a.scrollToLeft.bind(a),a.scrollToTop=a.scrollToTop.bind(a),a.scrollToRight=a.scrollToRight.bind(a),a.scrollToBottom=a.scrollToBottom.bind(a),a.handleTrackMouseEnter=a.handleTrackMouseEnter.bind(a),a.handleTrackMouseLeave=a.handleTrackMouseLeave.bind(a),a.handleHorizontalTrackMouseDown=a.handleHorizontalTrackMouseDown.bind(a),a.handleVerticalTrackMouseDown=a.handleVerticalTrackMouseDown.bind(a),a.handleHorizontalThumbMouseDown=a.handleHorizontalThumbMouseDown.bind(a),a.handleVerticalThumbMouseDown=a.handleVerticalThumbMouseDown.bind(a),a.handleWindowResize=a.handleWindowResize.bind(a),a.handleScroll=a.handleScroll.bind(a),a.handleDrag=a.handleDrag.bind(a),a.handleDragEnd=a.handleDragEnd.bind(a),a.state={didMountUniversal:!1},a}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:"componentDidMount",value:function(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:"componentDidMountUniversal",value:function(){this.props.universal&&this.setState({didMountUniversal:!0})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"componentWillUnmount",value:function(){this.removeListeners(),(0,i.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}},{key:"getScrollLeft",value:function(){return this.view?this.view.scrollLeft:0}},{key:"getScrollTop",value:function(){return this.view?this.view.scrollTop:0}},{key:"getScrollWidth",value:function(){return this.view?this.view.scrollWidth:0}},{key:"getScrollHeight",value:function(){return this.view?this.view.scrollHeight:0}},{key:"getClientWidth",value:function(){return this.view?this.view.clientWidth:0}},{key:"getClientHeight",value:function(){return this.view?this.view.clientHeight:0}},{key:"getValues",value:function(){var e=this.view||{},t=e.scrollLeft,n=void 0===t?0:t,o=e.scrollTop,r=void 0===o?0:o,i=e.scrollWidth,a=void 0===i?0:i,l=e.scrollHeight,s=void 0===l?0:l,c=e.clientWidth,u=void 0===c?0:c,d=e.clientHeight,f=void 0===d?0:d;return{left:n/(a-u)||0,top:r/(s-f)||0,scrollLeft:n,scrollTop:r,scrollWidth:a,scrollHeight:s,clientWidth:u,clientHeight:f}}},{key:"getThumbHorizontalWidth",value:function(){var e=this.props,t=e.thumbSize,n=e.thumbMinSize,o=this.view,r=o.scrollWidth,i=o.clientWidth,a=(0,h.default)(this.trackHorizontal),l=Math.ceil(i/r*a);return a===l?0:t||Math.max(l,n)}},{key:"getThumbVerticalHeight",value:function(){var e=this.props,t=e.thumbSize,n=e.thumbMinSize,o=this.view,r=o.scrollHeight,i=o.clientHeight,a=(0,p.default)(this.trackVertical),l=Math.ceil(i/r*a);return a===l?0:t||Math.max(l,n)}},{key:"getScrollLeftForOffset",value:function(e){var t=this.view,n=t.scrollWidth,o=t.clientWidth;return e/((0,h.default)(this.trackHorizontal)-this.getThumbHorizontalWidth())*(n-o)}},{key:"getScrollTopForOffset",value:function(e){var t=this.view,n=t.scrollHeight,o=t.clientHeight;return e/((0,p.default)(this.trackVertical)-this.getThumbVerticalHeight())*(n-o)}},{key:"scrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollLeft=e)}},{key:"scrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollTop=e)}},{key:"scrollToLeft",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){this.view&&(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if("undefined"!==typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,o=this.thumbHorizontal,r=this.thumbVertical;e.addEventListener("scroll",this.handleScroll),(0,d.default)()&&(t.addEventListener("mouseenter",this.handleTrackMouseEnter),t.addEventListener("mouseleave",this.handleTrackMouseLeave),t.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.addEventListener("mouseenter",this.handleTrackMouseEnter),n.addEventListener("mouseleave",this.handleTrackMouseLeave),n.addEventListener("mousedown",this.handleVerticalTrackMouseDown),o.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),r.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if("undefined"!==typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,o=this.thumbHorizontal,r=this.thumbVertical;e.removeEventListener("scroll",this.handleScroll),(0,d.default)()&&(t.removeEventListener("mouseenter",this.handleTrackMouseEnter),t.removeEventListener("mouseleave",this.handleTrackMouseLeave),t.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.removeEventListener("mouseenter",this.handleTrackMouseEnter),n.removeEventListener("mouseleave",this.handleTrackMouseLeave),n.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),o.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),r.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(e){var t=this,n=this.props,o=n.onScroll,r=n.onScrollFrame;o&&o(e),this.update((function(e){var n=e.scrollLeft,o=e.scrollTop;t.viewScrollLeft=n,t.viewScrollTop=o,r&&r(e)})),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var e=this.props.onScrollStart;e&&e(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleScrollStop",value:function(){var e=this.props.onScrollStop;e&&e(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleWindowResize",value:function(){this.update()}},{key:"handleHorizontalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientX,o=t.getBoundingClientRect().left,r=this.getThumbHorizontalWidth(),i=Math.abs(o-n)-r/2;this.view.scrollLeft=this.getScrollLeftForOffset(i)}},{key:"handleVerticalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientY,o=t.getBoundingClientRect().top,r=this.getThumbVerticalHeight(),i=Math.abs(o-n)-r/2;this.view.scrollTop=this.getScrollTopForOffset(i)}},{key:"handleHorizontalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientX,o=t.offsetWidth,r=t.getBoundingClientRect().left;this.prevPageX=o-(n-r)}},{key:"handleVerticalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientY,o=t.offsetHeight,r=t.getBoundingClientRect().top;this.prevPageY=o-(n-r)}},{key:"setupDragging",value:function(){(0,l.default)(document.body,v.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=f.default}},{key:"teardownDragging",value:function(){(0,l.default)(document.body,v.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(e){this.dragging=!0,e.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(e){if(this.prevPageX){var t=e.clientX,n=-this.trackHorizontal.getBoundingClientRect().left+t-(this.getThumbHorizontalWidth()-this.prevPageX);this.view.scrollLeft=this.getScrollLeftForOffset(n)}if(this.prevPageY){var o=e.clientY,r=-this.trackVertical.getBoundingClientRect().top+o-(this.getThumbVerticalHeight()-this.prevPageY);this.view.scrollTop=this.getScrollTopForOffset(r)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,l.default)(this.trackHorizontal,{opacity:1}),(0,l.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var e=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var t=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout((function(){(0,l.default)(e.trackHorizontal,{opacity:0}),(0,l.default)(e.trackVertical,{opacity:0})}),t)}}},{key:"detectScrolling",value:function(){var e=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval((function(){e.lastViewScrollLeft===e.viewScrollLeft&&e.lastViewScrollTop===e.viewScrollTop&&(clearInterval(e.detectScrollingInterval),e.scrolling=!1,e.handleScrollStop()),e.lastViewScrollLeft=e.viewScrollLeft,e.lastViewScrollTop=e.viewScrollTop}),100))}},{key:"raf",value:function(e){var t=this;this.requestFrame&&a.default.cancel(this.requestFrame),this.requestFrame=(0,a.default)((function(){t.requestFrame=void 0,e()}))}},{key:"update",value:function(e){var t=this;this.raf((function(){return t._update(e)}))}},{key:"_update",value:function(e){var t=this.props,n=t.onUpdate,o=t.hideTracksWhenNotNeeded,r=this.getValues();if((0,d.default)()){var i=r.scrollLeft,a=r.clientWidth,s=r.scrollWidth,c=(0,h.default)(this.trackHorizontal),u=this.getThumbHorizontalWidth(),f={width:u,transform:"translateX("+i/(s-a)*(c-u)+"px)"},v=r.scrollTop,m=r.clientHeight,g=r.scrollHeight,y=(0,p.default)(this.trackVertical),b=this.getThumbVerticalHeight(),w={height:b,transform:"translateY("+v/(g-m)*(y-b)+"px)"};if(o){var k={visibility:s>a?"visible":"hidden"},O={visibility:g>m?"visible":"hidden"};(0,l.default)(this.trackHorizontal,k),(0,l.default)(this.trackVertical,O)}(0,l.default)(this.thumbHorizontal,f),(0,l.default)(this.thumbVertical,w)}n&&n(r),"function"===typeof e&&e(r)}},{key:"render",value:function(){var e=this,t=(0,d.default)(),n=this.props,r=(n.onScroll,n.onScrollFrame,n.onScrollStart,n.onScrollStop,n.onUpdate,n.renderView),i=n.renderTrackHorizontal,a=n.renderTrackVertical,l=n.renderThumbHorizontal,c=n.renderThumbVertical,f=n.tagName,h=(n.hideTracksWhenNotNeeded,n.autoHide),p=(n.autoHideTimeout,n.autoHideDuration),m=(n.thumbSize,n.thumbMinSize,n.universal),g=n.autoHeight,y=n.autoHeightMin,b=n.autoHeightMax,w=n.style,k=n.children,O=function(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(n,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),S=this.state.didMountUniversal,T=o({},v.containerStyleDefault,g&&o({},v.containerStyleAutoHeight,{minHeight:y,maxHeight:b}),w),N=o({},v.viewStyleDefault,{marginRight:t?-t:0,marginBottom:t?-t:0},g&&o({},v.viewStyleAutoHeight,{minHeight:(0,u.default)(y)?"calc("+y+" + "+t+"px)":y+t,maxHeight:(0,u.default)(b)?"calc("+b+" + "+t+"px)":b+t}),g&&m&&!S&&{minHeight:y,maxHeight:b},m&&!S&&v.viewStyleUniversalInitial),x={transition:"opacity "+p+"ms",opacity:0},j=o({},v.trackHorizontalStyleDefault,h&&x,(!t||m&&!S)&&{display:"none"}),_=o({},v.trackVerticalStyleDefault,h&&x,(!t||m&&!S)&&{display:"none"});return(0,s.createElement)(f,o({},O,{style:T,ref:function(t){e.container=t}}),[(0,s.cloneElement)(r({style:N}),{key:"view",ref:function(t){e.view=t}},k),(0,s.cloneElement)(i({style:j}),{key:"trackHorizontal",ref:function(t){e.trackHorizontal=t}},(0,s.cloneElement)(l({style:v.thumbHorizontalStyleDefault}),{ref:function(t){e.thumbHorizontal=t}})),(0,s.cloneElement)(a({style:_}),{key:"trackVertical",ref:function(t){e.trackVertical=t}},(0,s.cloneElement)(c({style:v.thumbVerticalStyleDefault}),{ref:function(t){e.thumbVertical=t}}))])}}]),t}(s.Component);t.default=y,y.propTypes={onScroll:c.default.func,onScrollFrame:c.default.func,onScrollStart:c.default.func,onScrollStop:c.default.func,onUpdate:c.default.func,renderView:c.default.func,renderTrackHorizontal:c.default.func,renderTrackVertical:c.default.func,renderThumbHorizontal:c.default.func,renderThumbVertical:c.default.func,tagName:c.default.string,thumbSize:c.default.number,thumbMinSize:c.default.number,hideTracksWhenNotNeeded:c.default.bool,autoHide:c.default.bool,autoHideTimeout:c.default.number,autoHideDuration:c.default.number,autoHeight:c.default.bool,autoHeightMin:c.default.oneOfType([c.default.number,c.default.string]),autoHeightMax:c.default.oneOfType([c.default.number,c.default.string]),universal:c.default.bool,style:c.default.object,children:c.default.node},y.defaultProps={renderView:m.renderViewDefault,renderTrackHorizontal:m.renderTrackHorizontalDefault,renderTrackVertical:m.renderTrackVerticalDefault,renderThumbHorizontal:m.renderThumbHorizontalDefault,renderThumbVertical:m.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},JvoY:function(e,t,n){e.exports=l;var o=n("3B+5"),r=n("u7TS"),i=n("LvDl"),a=n("nqsp");function l(e){if((e=e||{}).__reused)throw new Error("Do not reuse objects to configure the elasticsearch Client class: https://github.com/elasticsearch/elasticsearch-js/issues/33");function t(){e.hasOwnProperty("log")||(e.log="warning"),e.hosts||e.host||(e.host="http://localhost:9200"),this.close=function(){this.transport.close()},this.transport=new o(e),i.each(t.prototype,i.bind((function(e,t){e.prototype instanceof r.ApiNamespace&&(this[t]=new e(this.transport,this))}),this)),delete this._namespaces}e.__reused=!0,t.prototype=a.funcEnum(e,"apiVersion",l.apis,"_default"),e.sniffEndpoint||t.prototype!==l.apis["0.90"]||(e.sniffEndpoint="/_cluster/nodes");var s=t;return e.plugins&&(s.prototype=i.cloneDeep(s.prototype),i.each(e.plugins,(function(t){s=t(s,e,{apis:n("cmx5"),connectors:n("/wW9"),loggers:n("WCNl"),selectors:n("TIcO"),serializers:n("eT2a"),Client:n("JvoY"),clientAction:r,Connection:n("AHSw"),ConnectionPool:n("IDUY"),Errors:n("3lc3"),Host:n("TWcL"),Log:n("fTNz"),Logger:n("Jw19"),NodesToHost:n("cs6Z"),Transport:n("3B+5")})||s}))),new s}l.apis=n("cmx5")},Jw19:function(e,t,n){var o=n("LvDl"),r=n("nqsp");function i(e,t){this.log=e,this.listeningLevels=[],r.makeBoundMethods(this),this.log.once("closing",this.bound.cleanUpListeners),this.setupListeners(t.levels)}function a(e){return e<10?"0"+e.toString(10):e.toString(10)}i.prototype.timestamp=function(){var e=new Date;return e.getUTCFullYear()+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"Z"},i.prototype.format=function(e,t){return e+": "+this.timestamp()+"\n"+function(e,t){var n=r.repeat(" ",t||2);return(e||"").split(/\r?\n/).map((function(e){return n+e})).join("\n")}(t)+"\n\n"},i.prototype.write=function(){throw new Error("This should be overwritten by the logger")},i.prototype.setupListeners=function(e){this.cleanUpListeners(),this.listeningLevels=[],o.each(e,o.bind((function(e){var t="on"+r.ucfirst(e);if(!this.bound[t])throw new Error('Unable to listen for level "'+e+'"');this.listeningLevels.push(e),this.log.on(e,this.bound[t])}),this))},i.prototype.cleanUpListeners=r.handler((function(){o.each(this.listeningLevels,o.bind((function(e){this.log.removeListener(e,this.bound["on"+r.ucfirst(e)])}),this))})),i.prototype.onError=r.handler((function(e){this.write("Error"===e.name?"ERROR":e.name,e.stack)})),i.prototype.onWarning=r.handler((function(e){this.write("WARNING",e)})),i.prototype.onInfo=r.handler((function(e){this.write("INFO",e)})),i.prototype.onDebug=r.handler((function(e){this.write("DEBUG",e)})),i.prototype.onTrace=r.handler((function(e){this.write("TRACE",this._formatTraceMessage(e))})),i.prototype._formatTraceMessage=function(e){return"-> "+e.method+" "+e.url+"\n"+this._prettyJson(e.body)+"\n<- "+e.status+"\n"+this._prettyJson(e.response)},i.prototype._prettyJson=function(e){try{return"string"===typeof e&&(e=JSON.parse(e)),JSON.stringify(e,null," ").replace(/'/g,"\\u0027")}catch(t){return"string"===typeof e?e:""}},e.exports=i},KRKC:function(e,t,n){},KSAl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!1!==a)return a;if("undefined"!==typeof document){var e=document.createElement("div");(0,i.default)(e,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(e),a=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}else a=0;return a||0};var o,r=n("cegH"),i=(o=r)&&o.__esModule?o:{default:o};var a=!1},MYpF:function(e,t,n){"use strict";var o=n("q1tI"),r=n.n(o),i=(n("fhwx"),n("0sBl"),n("8xmT"),r.a.createElement);t.a=function(e){var t=e.introData;return i("h3",{class:"heading-02 heading-with-border mt-50 mt-md-30 mb-50 mb-md-30"},i("span",null,t))}},NtLt:function(e,t,n){var o=n("3IO0");e.exports=function(e){return o(e).replace(/[\W_]+(.|$)/g,(function(e,t){return t?" "+t:""})).trim()}},On4K:function(e,t,n){"use strict";var o=n("q1tI"),r=n.n(o),i=n("fhwx"),a=n.n(i),l=(n("SYMe"),r.a.createElement);t.a=function(e){var t=e.data,n=e.title,o=void 0!==n&&n,r=e.otherPages,i=void 0!==r&&r;return l("div",{className:"marquee-container-new"},l("div",{className:"latest-update-title"},l("span",{className:"title-text"},"".concat(o||"Latest News"))),l("div",{className:"marquee-content ".concat(1==i?"fast-animation":"")},null===t||void 0===t?void 0:t.map((function(e,t){var n;return l("span",null,l("span",null,e.length>1&&t>0?"|":"",a()(e.created)),l("a",{href:null===e||void 0===e?void 0:null===(n=e.link)||void 0===n?void 0:n.uri},e.title||a()(e.description[0].value)))}))))}},PEOI:function(e,t,n){(function(t){var o=n("+U0L"),r=t.env.ELASTIC_HOST,i=new o.Client({host:r});e.exports=i}).call(this,n("8oxB"))},Pt6o:function(e,t,n){e.exports=s;var o=n("LvDl"),r=n("nqsp"),i=n("AHSw"),a=n("3lc3").ConnectionFault,l=!(navigator&&/PhantomJS/i.test(navigator.userAgent));function s(e,t){i.call(this,e,t)}r.inherits(s,i);var c=o.noop;if(!(c="undefined"!==typeof XMLHttpRequest?function(){return new XMLHttpRequest}:o(["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"]).map((function(e){try{new window.ActiveXObject(e);return function(){return new window.ActiveXObject(e)}}catch(t){return!1}})).compact().head()))throw new Error("getXhr(): XMLHttpRequest not available");s.prototype.request=function(e,t){var n=c(),o=this.host,r=this.log,i=o.makeUrl(e),s=o.getHeaders(e.headers),u=!1!==e.async&&l;if(n.open(e.method||"GET",i,u),s)for(var d in s)void 0!==s[d]&&n.setRequestHeader(d,s[d]);return n.onreadystatechange=function(){if(4===n.readyState){clearTimeout(void 0),r.trace(e.method,i,e.body,n.responseText,n.status);var o=n.status?void 0:new a(n.statusText||"Request failed to complete.");t(o,n.responseText,n.status)}},n.send(e.body||void 0),function(){n.abort()}}},ReiF:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/innerPage/[...pid]",function(){return n("E3gg")}])},TIcO:function(e,t,n){e.exports={random:n("3GpW"),roundRobin:n("veZ0")}},TWcL:function(e,t,n){(function(t){e.exports=h;var o,r=n("QmWs"),i=n("s4NR"),a=n("LvDl"),l=n("nqsp"),s=/^([a-z]+:)?\/\//,c="http:";"undefined"!==typeof window&&"undefined"!==typeof window.location&&(c=window.location.protocol,o=window.btoa),o=o||function(e){return new t(e,"utf8").toString("base64")};var u=["protocol","hostname","pathname","port","auth","query"],d=["host","path"],f={pfx:null,key:null,passphrase:null,cert:null,ca:null,ciphers:void 0,rejectUnauthorized:!1,secureProtocol:null};function h(e,t){if(e=a.clone(e||{}),t=t||{},this.protocol="http",this.host="localhost",this.path="",this.port=9200,this.query=null,this.headers=null,this.suggestCompression=!!t.suggestCompression,this.ssl=a.defaults({},e.ssl||{},t.ssl||{},f),"string"===typeof e){var n=e.indexOf(":"),p=e.indexOf("/"),v=-1===p,m=n>-1&&v;if((v||m||!m&&n<p)&&!s.test(e)&&(e=c+"//"+e),!(e=a.pick(r.parse(e,!1,!0),u)).port){var g=e.protocol||"http";":"===g.charAt(g.length-1)&&(g=g.substring(0,g.length-1)),h.defaultPorts[g]&&(e.port=h.defaultPorts[g])}}a.isObject(e)?a.each(d,(function(t){var n=t+"name";e[n]&&e[t]?0===e[t].indexOf(e[n])&&(e[t]=e[n]):e[n]&&(e[t]=e[n]),delete e[n]})):e={},!e.auth&&t.httpAuth&&(e.auth=t.httpAuth),e.auth&&(e.headers=e.headers||{},e.headers.Authorization="Basic "+o(e.auth),delete e.auth),a.forOwn(e,a.bind((function(e,t){null!=e&&(this[t]=a.clone(e))}),this)),null===this.query?this.query={}:a.isPlainObject(this.query)||(this.query=i.parse(this.query)),l.isNumeric(this.port)?this.port=parseInt(this.port,10):this.port=9200,"/"===this.path?this.path="":this.path&&"/"!==this.path.charAt(0)&&(this.path="/"+(this.path||"")),":"===this.protocol.substr(-1)&&(this.protocol=this.protocol.substring(0,this.protocol.length-1))}function p(e,t){return function(n){t&&(n=t.call(this,n));var o=this[e];return o||n?(n&&(o=a.assign({},o,n)),a.size(o)?o:null):null}}h.defaultPorts={http:80,https:443},h.prototype.makeUrl=function(e){e=e||{};var t="";this.port!==h.defaultPorts[this.protocol]&&(t=":"+this.port);var n=""+(this.path||"")+(e.path||"");"/"!==n.charAt(0)&&(n="/"+n);var o=i.stringify(this.getQuery(e.query));return this.host?this.protocol+"://"+this.host+t+n+(o?"?"+o:""):n+(o?"?"+o:"")},h.prototype.getHeaders=p("headers",(function(e){return this.suggestCompression?a.defaults(e||{},{"Accept-Encoding":"gzip,deflate"}):e})),h.prototype.getQuery=p("query",(function(e){return"string"===typeof e?i.parse(e):e})),h.prototype.toString=function(){return this.makeUrl()}}).call(this,n("tjlA").Buffer)},ToH2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!1}},WBog:function(e,t,n){"use strict";var o=n("ODXe"),r=n("KQm4"),i=n("q1tI"),a=n.n(i),l=n("2v50"),s=(n("7+Yh"),n("a6RD")),c=n.n(s),u=a.a.createElement,d=c()((function(){return Promise.all([n.e(8),n.e(68)]).then(n.bind(null,"0WgE"))}),{loading:function(){return u("p",null,"Loading...")},loadableGenerated:{webpack:function(){return["0WgE"]},modules:["../ModalOverlay/modal"]}});t.a=function(e){var t=e.apiData,n=Object(i.useState)(null),s=n[0],c=n[1],f=Object(i.useState)(null),h=f[0],p=f[1],v=Object(i.useState)(0),m=v[0],g=v[1],y=Object(i.useState)(null),b=y[0],w=y[1],k=Object(i.useState)(!1),O=(k[0],k[1]),S=Object(i.useState)(null),T=(S[0],S[1]),N=Object(i.useState)(!0),x=(N[0],N[1],Object(i.useState)(!0)),j=x[0],_=x[1],E=Object(i.useState)(!1),C=(E[0],E[1]),P=function(){window.innerWidth<=1e3&&_(!1),window.innerWidth<=1200&&C(!0)};return Object(i.useEffect)((function(){var e={};t.forEach((function(t){null!==t.date&&(e[t.date]?e[t.date]=[].concat(Object(r.a)(e[t.date]),[{image:t.image,link:t.link}]):e[t.date]=[{image:t.image,link:t.link}])}));var n=Object.keys(e);return n.forEach((function(t,r){e[n[r]].sort((function(e,t){var n=e.link.title.split(" "),r=Object(o.a)(n,2),i=r[0],a=r[1],s=t.link.title.split(" "),c=Object(o.a)(s,2),u=c[0],d=c[1],f=new Date(Number(a),Object(l.i)(i));return new Date(Number(d),Object(l.i)(u))-f}))})),c(e),window.addEventListener("resize",P),function(){window.removeEventListener("resize",P)}}),[]),Object(i.useEffect)((function(){s&&p(Object.keys(s).sort((function(e,t){return t-e}))[0])}),[s]),u(a.a.Fragment,null,u("div",{className:"vigyan-dhara"},s&&Object.keys(s).sort((function(e,t){return t-e})).map((function(e,t){return u("button",{class:"btn-primary ".concat(m===t?"active":""),onClick:function(){p(e),g(t)}},e)})),u("div",{class:"pdf-card-wrap"},h&&s&&s[h].map((function(e,t){return u("ul",{class:"pdf-card",onMouseEnter:function(){w(t)},onMouseLeave:function(){w(null)}},u("li",null,u("div",{class:"pdf-card-content publishing-content"},u("div",{className:"pdf-card-image-wrap"},u("img",{alt:e.image.alt,"data-entity-type":"file",height:"218",src:e.image.url,width:"157"})),u("strong",{class:"pdf-card-title"},e.link.title.split(" ")[0]),u("span",{className:"publishing-download-icon",onClick:function(){window.location.href=e.link.uri}}),u(d,{isOpen:b===t,showClosebutton:!1,onClose:function(){w(null)}},j&&u("button",{class:"btn-secondary",onClick:function(){O(!0),T(t)},style:{marginBottom:"10px"}},u("span",{className:"view-icon"}),"VIEW PDF")))))})))))}},WCNl:function(e,t,n){e.exports={console:n("gS9x")}},X27C:function(e,t,n){"use strict";n("KQm4");var o=n("q1tI"),r=n.n(o),i=n("fhwx"),a=n.n(i),l=(n("Ewtw"),n("0WgE"),n("+jTQ")),s=n("kdJN"),c=(n("2v50"),r.a.createElement);t.a=function(e){var t,n,i,u,d,f=e.introData,h=e.showSlider,p=void 0!==h&&h,v=e.bgColor,m=void 0===v||v,g=e.sliderData,y=void 0===g?{}:g,b=e.showAgniiSlider,w=void 0!==b&&b,k=Object(o.useState)(!1),O=(k[0],k[1]),S=Object(o.useState)([0,1,2]),T=S[0],N=(S[1],Object(o.useState)(0));N[0],N[1];return Object(o.useEffect)((function(){O((function(e){return!e}))}),[T]),c(r.a.Fragment,null,c("div",{className:"right-container-yellow-border ".concat(1==m?"bg-grey-09":"mob-full-width-white"," introduction-wrapper")},((null===f||void 0===f?void 0:null===(t=f.introduction)||void 0===t?void 0:null===(n=t.label)||void 0===n?void 0:n.normal)||(null===f||void 0===f?void 0:f.label)||f.agnii_title||f.title)&&c("h3",{className:"heading-02"},(null===f||void 0===f?void 0:null===(i=f.introduction)||void 0===i?void 0:null===(u=i.label)||void 0===u?void 0:u.normal)||(null===f||void 0===f?void 0:f.label)||f.agnii_title||f.title),c("p",{className:"intro-text"},a()((null===f||void 0===f?void 0:null===(d=f.introduction)||void 0===d?void 0:d.data)||f.data||(null===f||void 0===f?void 0:f.body)||(null===f||void 0===f?void 0:f.description))),p&&c(l.a,{introData:f}),w&&c("div",{className:"mt-50 mt-md-30"},c(s.a,{data:y}))))}},YVY1:function(e,t,n){"use strict";var o=n("wx14"),r=n("q1tI"),i=n.n(r),a=(n("m4a8"),n("wWBu")),l=n("1TCz"),s=n("60Bi"),c=n.n(s),u=n("E+oP"),d=n.n(u),f=n("fhwx"),h=n.n(f),p=n("zAOk"),v=n("mwIZ"),m=n.n(v),g=i.a.createElement;t.a=function(e){var t,n,i,s,u=e.dataProps,f=e.infotext,v=e.bannerDesc,y=void 0!==v&&v,b=e.showCounterSection,w=void 0!==b&&b,k=e.pageData,O=void 0===k?{}:k,S=e.counterVerticalView,T=void 0!==S&&S,N=e.pmstiacHeading,x=void 0!==N&&N,j=Object(r.useContext)(l.MyContext).pageProps,_=Object(r.useState)(!1),E=_[0],C=_[1],P=!d()(m()(u,"video"))&&m()(u,"video").split("=");return g("div",{className:"header-banner-mission"},g("div",{className:"header-banner-info"},g("div",{className:"header-banner-text"},u.title&&g("h1",{className:"heading-01"},h()(u.title)),u.subTitle&&g("span",{className:"subtitle-heading-01",style:{display:"flex",flexDirection:"row",alignItems:"center"}},g("span",null,"by \xa0"),g("h5",{style:{margin:"0px"}},u.subTitle)),u.agnii_logo&&g("div",null),g("div",{className:"header-banner-headline ".concat(1==x&&"pmstiac-heading")},u.body&&!y&&g("div",null," ",h()(u.body)),u.banner_desc&&y&&g("p",{dangerouslySetInnerHTML:{__html:u.test_banner_desc||u.banner_desc}}),u.linkData&&g("a",{className:"link-with-arrow",href:u.linkData.uri},u.linkData.title)),g(a.a,Object(o.a)({},j,{dataProps:u}))),P&&g("div",{className:"videoOnModal"},E&&g(c.a,{baseUrl:"",channel:"youtube",isOpen:E,videoId:P&&P[1],onClose:function(){return C(!1)}})),g("div",{className:"header-banner-images",onClick:function(){return P?C(!0):{}}},((null===u||void 0===u?void 0:null===(t=u.testBannerImage)||void 0===t?void 0:t.url)||(null===u||void 0===u?void 0:null===(n=u.videoImage)||void 0===n?void 0:n.url)||w)&&g("figure",{style:{position:"relative"}},!w&&g("img",{src:u.testBannerImage?u.testBannerImage.url:u.videoImage.url,alt:u.testBannerImage?u.testBannerImage.alt:u.videoImage.alt}),P&&g("div",{className:"playIcon lg",onClick:function(){return C(!0)}}),w?g(p.a,{infotext:f,showDescription:!1,counterVerticalView:T,pageData:O,introduction:(null===O||void 0===O?void 0:null===(i=O.componentData)||void 0===i?void 0:i.introduction)||null,announcement_info:(null===(s=O.componentData)||void 0===s?void 0:s.announcement_info)||null}):null))))}},a6RD:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=o(n("q1tI")),i=o(n("2qu3")),a=!1;function l(e,t){if(delete t.webpack,delete t.modules,!a)return e(t);var n=t.loading;return function(){return r.default.createElement(n,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}}t.noSSR=l,t.default=function(e,t){var n=i.default,o={loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};if(e instanceof Promise?o.loader=function(){return e}:"function"===typeof e?o.loader=e:"object"===typeof e&&(o=Object.assign(Object.assign({},o),e)),o=Object.assign(Object.assign({},o),t),"object"===typeof e&&!(e instanceof Promise)&&(e.render&&(o.render=function(t,n){return e.render(n,t)}),e.modules)){n=i.default.Map;var r={},a=e.modules();Object.keys(a).forEach((function(e){var t=a[e];"function"!==typeof t.then?r[e]=t:r[e]=function(){return t.then((function(e){return e.default||e}))}})),o.loader=r}if(o.loadableGenerated&&delete(o=Object.assign(Object.assign({},o),o.loadableGenerated)).loadableGenerated,"boolean"===typeof o.ssr){if(!o.ssr)return delete o.ssr,l(n,o);delete o.ssr}return n(o)}},amwb:function(e,t){var n=null,o=["Webkit","Moz","O","ms"];e.exports=function(e){n||(n=document.createElement("div"));var t=n.style;if(e in t)return e;for(var r=e.charAt(0).toUpperCase()+e.slice(1),i=o.length;i>=0;i--){var a=o[i]+r;if(a in t)return a}return!1}},bQgK:function(e,t,n){(function(t){(function(){var n,o,r,i,a,l;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},o=t.hrtime,i=(n=function(){var e;return 1e9*(e=o())[0]+e[1]})(),l=1e9*t.uptime(),a=i-l):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)}).call(this,n("8oxB"))},cegH:function(e,t,n){var o=n("amwb"),r=n("F39V"),i={float:"cssFloat"},a=n("z/Nc");function l(e,t,n){var l=i[t];if("undefined"===typeof l&&(l=function(e){var t=r(e),n=o(t);return i[t]=i[e]=i[n]=n,n}(t)),l){if(void 0===n)return e.style[l];e.style[l]=a(l,n)}}function s(){2===arguments.length?"string"===typeof arguments[1]?arguments[0].style.cssText=arguments[1]:function(e,t){for(var n in t)t.hasOwnProperty(n)&&l(e,n,t[n])}(arguments[0],arguments[1]):l(arguments[0],arguments[1],arguments[2])}e.exports=s,e.exports.set=s,e.exports.get=function(e,t){return Array.isArray(t)?t.reduce((function(t,n){return t[n]=l(e,n||""),t}),{}):l(e,t||"")}},cmx5:function(e,t,n){e.exports={_default:n("6V6p"),7.6:n("6V6p"),7.5:n("MsHR"),7.4:n("McvC"),7.3:n("Gz6I"),7.2:n("gzIU"),7.7:n("jT8C"),"7.x":n("Nb7y"),master:n("HUE4")}},cs6Z:function(e,t,n){var o,r=n("LvDl"),i=/\[(?:(.*)\/)?(.+?):(\d+)\]/;e.exports=(o="http.publish_address",function(e){return r.transform(e,(function(e,t,n){var a=r.get(t,o);if(a){var l={host:void 0,port:void 0,_meta:{id:n,name:t.name,version:t.version}},s=new Error("Malformed "+o+". Got "+JSON.stringify(a)+' and expected it to match "{hostname?}/{ip}:{port}".'),c=i.exec(a);if(c)return l.host=c[1]||c[2],l.port=parseInt(c[3],10),void e.push(l);if(a.indexOf("/")>-1){var u=a.split("/");if(2!==u.length)throw s;l.host=u.shift(),a=u.shift()}if(a.indexOf(":")<0)throw s;var d=a.split(":");if(2!==d.length)throw s;l.host=l.host||d[0],l.port=parseInt(d[1],10),e.push(l)}}),[])})},eT2a:function(e,t,n){e.exports={angular:n("+xXU"),json:n("2XKd")}},eYAL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.clientHeight,n=getComputedStyle(e),o=n.paddingTop,r=n.paddingBottom;return t-parseFloat(o)-parseFloat(r)}},fTNz:function(e,t,n){var o=n("LvDl"),r=n("nqsp"),i=n("QmWs"),a=n("+qE3").EventEmitter;function l(e){if((e=e||{}).log){var t,n;if(!(n=r.isArrayOfStrings(e.log)?[{levels:e.log}]:r.createArray(e.log,(function(e){return o.isPlainObject(e)?e:"string"===typeof e?{level:e}:void 0}))))throw new TypeError("Invalid logging output config. Expected either a log level, array of log levels, a logger config object, or an array of logger config objects.");for(t=0;t<n.length;t++)this.addOutput(n[t])}}r.inherits(l,a),l.loggers=n("WCNl"),l.prototype.close=function(){this.emit("closing"),this.listenerCount()&&(console.error("Something is still listening for log events, but the logger is closing."),this.clearAllListeners())},a.prototype.listenerCount?l.prototype.listenerCount=a.prototype.listenerCount:a.listenerCount?l.prototype.listenerCount=function(e){return a.listenerCount(this,e)}:l.prototype.listenerCount=function(e){return this.listeners(e).length},l.levels=["error","warning","info","debug","trace"],l.parseLevels=function(e){switch(typeof e){case"string":var t=o.indexOf(l.levels,e);if(t>=0)return l.levels.slice(0,t+1);case"object":if(o.isArray(e)){var n=o.intersection(e,l.levels);if(n.length===e.length)return n}default:throw new TypeError("invalid logging level "+e+". Expected zero or more of these options: "+l.levels.join(", "))}},l.join=function(e){return o.map(e,(function(e){return o.isPlainObject(e)?JSON.stringify(e,null,2)+"\n":e.toString()})).join(" ")},l.prototype.addOutput=function(e){return(e=e||{}).levels=l.parseLevels(e.levels||e.level||"warning"),delete e.level,new(r.funcEnum(e,"type",l.loggers,"console"))(this,e)},l.prototype.error=function(e){if(this.listenerCount("error"))return this.emit("error",e instanceof Error?e:new Error(e))},l.prototype.warning=function(){if(this.listenerCount("warning"))return this.emit("warning",l.join(arguments))},l.prototype.info=function(){if(this.listenerCount("info"))return this.emit("info",l.join(arguments))},l.prototype.debug=function(){if(this.listenerCount("debug"))return this.emit("debug",l.join(arguments))},l.prototype.trace=function(e,t,n,o,r){if(this.listenerCount("trace"))return this.emit("trace",l.normalizeTraceArgs(e,t,n,o,r))},l.normalizeTraceArgs=function(e,t,n,r,a){return"string"===typeof t?t=i.parse(t,!0,!0):((t=o.clone(t)).path&&(t.query=i.parse(t.path,!0,!1).query),!t.pathname&&t.path&&(t.pathname=t.path.split("?").shift())),delete t.auth,{method:e,url:i.format(t),body:n,status:a,response:r}},e.exports=l},fcP5:function(e,t,n){var o=n("LvDl");e.exports=function(e){if(o.isEmpty(e))return!1;for(var t=e.shift().protocol,n=0;n<e.length;n++)if(t!==e[n].protocol)return!1;return t}},gS9x:function(e,t,n){e.exports=a;var o=n("Jw19"),r=n("LvDl"),i=n("nqsp");function a(e,t){o.call(this,e,t),this.color=!r.has(t,"color")||!!t.color}i.inherits(a,o),a.prototype.setupListeners=function(e){o.prototype.setupListeners.call(this,e)},a.prototype.write=function(e,t,n){console[n]&&console[n](this.format(e,t))},a.prototype.onError=i.handler((function(e){var t=console.error?"error":"log";this.write("Error"===e.name?"ERROR":e.name,e.stack||e.message,t)})),a.prototype.onWarning=i.handler((function(e){this.write("WARNING",e,console.warn?"warn":"log")})),a.prototype.onInfo=i.handler((function(e){this.write("INFO",e,console.info?"info":"log")})),a.prototype.onDebug=i.handler((function(e){this.write("DEBUG",e,console.debug?"debug":"log")})),a.prototype.onTrace=i.handler((function(e){this.write("TRACE",this._formatTraceMessage(e),"log")}))},h27F: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};t.renderViewDefault=function(e){return a.default.createElement("div",e)},t.renderTrackHorizontalDefault=function(e){var t=e.style,n=l(e,["style"]),r=o({},t,{right:2,bottom:2,left:2,borderRadius:3});return a.default.createElement("div",o({style:r},n))},t.renderTrackVerticalDefault=function(e){var t=e.style,n=l(e,["style"]),r=o({},t,{right:2,bottom:2,top:2,borderRadius:3});return a.default.createElement("div",o({style:r},n))},t.renderThumbHorizontalDefault=function(e){var t=e.style,n=l(e,["style"]),r=o({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return a.default.createElement("div",o({style:r},n))},t.renderThumbVerticalDefault=function(e){var t=e.style,n=l(e,["style"]),r=o({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return a.default.createElement("div",o({style:r},n))};var r,i=n("q1tI"),a=(r=i)&&r.__esModule?r:{default:r};function l(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}},"j/1Z":function(e,t){e.exports=function(e){return e&&"object"===typeof e&&"function"===typeof e.copy&&"function"===typeof e.fill&&"function"===typeof e.readUInt8}},jwwS:function(e,t,n){"use strict";var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var r=o(n("q1tI"));t.LoadableContext=r.createContext(null)},k5Bo:function(e,t,n){var o=n("nqsp");e.exports=function(e){var t=0,n=e.connectionPool,r=n._onConnectionDied,i=function(){i.timerId=e._timeout(i.timerId),e.sniff()};n._onConnectionDied=function(a,l){var s=r.call(n,a,l);t=i.timerId?t+1:0;var c=n.calcDeadTimeout(t,1e3);return i.timerId&&c<i.timerId&&i.countdown()&&(i.timerId=e._timeout(i.timerId)),i.timerId||(i.timerId=e._timeout(i,c),i.countdown=function(e){var t=o.now();return function(){return t-e}}(c)),s},n._onConnectionDied.restore=function(){n._onConnectionDied=r}}},k82f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scrollbars=void 0;var o,r=n("J1sY"),i=(o=r)&&o.__esModule?o:{default:o};t.default=i.default,t.Scrollbars=i.default},kdJN:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var o=n("wx14"),r=n("q1tI"),i=n.n(r),a=n("2v50"),l=n("OS56"),s=n.n(l),c=n("mwIZ"),u=n.n(c),d=n("E+oP"),f=n.n(d),h=n("a6RD"),p=n.n(h),v=(n("Ewtw"),n("3ux9"),i.a.createElement);p()((function(){return Promise.resolve().then(n.bind(null,"0WgE"))}),{loading:function(){return v("p",null,"Loading...")},loadableGenerated:{webpack:function(){return["0WgE"]},modules:["../ModalOverlay/modal"]}});function m(e){var t,n,l,c,d,h,p,m,g,y,b,w=e.data,k=void 0===w?{}:w,O=Object(r.useState)(null),S=(O[0],O[1]),T=Object(r.useState)(!0),N=(T[0],T[1],Object(r.useState)(!1)),x=(N[0],N[1],Object(r.useState)(!1)),j=(x[0],x[1],Object(r.useState)(null)),_=(j[0],j[1]),E=Object(r.useState)(!0),C=(E[0],E[1],Object(r.useState)(!0)),P=(C[0],C[1]),L=Object(r.useState)(!1),D=(L[0],L[1]),A=function(){window.innerWidth<=1e3&&P(!1),window.innerWidth<=1300&&D(!0)},M={slidesToShow:(null===(t=(null===k||void 0===k?void 0:k.data)||k)||void 0===t?void 0:t.length)>4?4:null===(n=(null===k||void 0===k?void 0:k.data)||k)||void 0===n?void 0:n.length,slidesToScroll:1,infinite:!0,arrows:!0,autoplay:!1,responsive:[{breakpoint:767,settings:{slidesToShow:1,slidesToScroll:1,infinite:!0}},{breakpoint:990,settings:{slidesToShow:(null===(l=(null===k||void 0===k?void 0:k.data)||k)||void 0===l?void 0:l.length)>3?3:null===(c=(null===k||void 0===k?void 0:k.data)||k)||void 0===c?void 0:c.length,slidesToScroll:1,infinite:!0}},{breakpoint:1565,settings:{slidesToShow:(null===(d=(null===k||void 0===k?void 0:k.data)||k)||void 0===d?void 0:d.length)>4?4:null===(h=(null===k||void 0===k?void 0:k.data)||k)||void 0===h?void 0:h.length,slidesToScroll:1,infinite:!0}},{breakpoint:1930,settings:{slidesToShow:(null===(p=(null===k||void 0===k?void 0:k.data)||k)||void 0===p?void 0:p.length)>4?5:null===(m=(null===k||void 0===k?void 0:k.data)||k)||void 0===m?void 0:m.length,slidesToScroll:1,infinite:!0}}]},H=function(e){S((function(t){return e}))};return Object(r.useEffect)((function(){var e=u()(k,"data",[]).map((function(e){return e.pdfFile}));return _(e),window.addEventListener("resize",A),function(){window.removeEventListener("resize",A)}}),[]),v(i.a.Fragment,null,v("div",{className:"publishing-section-new"},v("h2",{className:"heading-02"},f()(u()(k,"label"))?v("h2",{className:"heading-02"},(null===k||void 0===k?void 0:k.title)||"Publications and reports"):v("div",null,u()(k,"label.normal","")," ",u()(k,"label.colored",""))),v("div",{className:"publishing-wrap-new"},v("div",{className:"slider-container"},(null===k||void 0===k?void 0:null===(g=k.data)||void 0===g?void 0:g.length)>4||(null===k||void 0===k?void 0:k.length)>4?v(s.a,Object(o.a)({},M,{style:{overflow:"hidden"}}),null===(y=(null===k||void 0===k?void 0:k.data)||k)||void 0===y?void 0:y.map((function(e,t){var n,o;return v("div",{key:t,className:"emerging-slide publishing-content",onMouseOver:function(){return H(t)}},v("div",{className:"emerging-card ".concat(u()(e,"pdfColor")?u()(e,"pdfColor"):""),style:{backgroundImage:"url(".concat(u()(e,"cardImge.url")||u()(e,"image.url")||"assets/images/default_publication.png",")")}},v("div",{className:"emerging-info"},u()(e,"category")&&v("div",{className:"mark_row"},v("mark",null,u()(e,"category"))),v("p",{className:"card-text"},u()(e,"title")||e.description),v("div",{className:"link-detail"},v("div",{className:"details"},(!f()(u()(e,"created"))||e.date)&&v("span",null,e.created?Object(a.d)(e.created):Object(a.d)(e.date)))),(e.pdfFile||(null===(n=e.link)||void 0===n?void 0:null===(o=n[0])||void 0===o?void 0:o.url)||e.pdf_file)&&v("div",null,v("a",{target:"_blank",href:"".concat(e.pdfFile),className:" publishing-download"},v("span",{className:"publishing-download-icon"}))))))}))):v("div",{className:"flexbox publication-less-cards"},null===(b=(null===k||void 0===k?void 0:k.data)||k)||void 0===b?void 0:b.map((function(e,t){var n,o,r,i;return v("div",{key:t,className:"emerging-slide publishing-content",onMouseOver:function(){return H(t)}},v("div",{className:"emerging-card ".concat(u()(e,"pdfColor")?u()(e,"pdfColor"):""),style:{backgroundImage:"url(".concat(u()(e,"cardImge.url")||u()(e,"image.url")||"assets/images/default_publication.png",")")}},v("div",{className:"emerging-info"},u()(e,"category")&&v("div",{className:"mark_row"},v("mark",null,u()(e,"category"))),v("p",{className:"card-text"},u()(e,"title")||e.description),v("div",{className:"link-detail"},v("div",{className:"details"},(!f()(u()(e,"created"))||e.date)&&v("span",null,e.created?Object(a.d)(e.created):Object(a.d)(e.date)))),(e.pdfFile||(null===(n=e.link)||void 0===n?void 0:null===(o=n[0])||void 0===o?void 0:o.url)||e.pdf_file)&&v("div",null,v("a",{target:"_blank",href:"".concat(e.pdfFile||(null===(r=e.link)||void 0===r?void 0:null===(i=r[0])||void 0===i?void 0:i.url)||e.pdf_file),className:" publishing-download"},v("span",{className:"publishing-download-icon"}))))))})))))))}},nqsp:function(e,t,n){(function(t,o){var r=n("LvDl"),i=n("7tlc"),a={};function l(e,t,n){return function(o){for(var r,i,a,l,s=0,c=[],u="";s<o.length;s++)r=o.charCodeAt(s),i=o.charAt(s),l=r>=97&&r<=122||r>=48&&r<=57,!(a=r>=65&&r<=90)&&l||(u.length&&c.push(u),u=""),(a||l)&&(l&&u.length?u+=i:u=!c.length&&e||c.length&&t?i.toUpperCase():i.toLowerCase());return u.length&&c.push(u),c.length&&"_"===o.charAt(0)&&(c[0]="_"+c[0]),c.join(n)}}a.inherits=i.inherits,a.isArrayOfStrings=function(e){return r.isArray(e)&&r.every(e.slice(0,10),r.isString)},a.ucfirst=function(e){return e[0].toUpperCase()+e.substring(1).toLowerCase()},a.studlyCase=l(!0,!0,""),a.camelCase=l(!1,!0,""),a.snakeCase=l(!1,!1,"_"),a.toUpperString=function(e){return e?"string"!==typeof e&&(e=e.toString()):e="",e.toUpperCase()},a.isNumeric=function(e){return"object"!==typeof e&&e-parseFloat(e)>=0};var s=/^(\d+(?:\.\d+)?)(M|w|d|h|m|s|y|ms)$/;a.isInterval=function(e){return!(!e.match||!e.match(s))},a.repeat=function(e,t){return new Array(t+1).join(e)},a.applyArgs=function(e,t,n,o){switch(o=o||0,n.length-o){case 0:return e.call(t);case 1:return e.call(t,n[0+o]);case 2:return e.call(t,n[0+o],n[1+o]);case 3:return e.call(t,n[0+o],n[1+o],n[2+o]);case 4:return e.call(t,n[0+o],n[1+o],n[2+o],n[3+o]);case 5:return e.call(t,n[0+o],n[1+o],n[2+o],n[3+o],n[4+o]);default:return e.apply(t,Array.prototype.slice.call(n,o))}},a.nextTick=function(e){t.nextTick(r.bindKey(a,"applyArgs",e,null,arguments,1))},a.handler=function(e){return e._provideBound=!0,e},a.makeBoundMethods=function(e){for(var t in e.bound={},e)"function"===typeof e[t]&&!0===e[t]._provideBound&&(e.bound[t]=r.bind(e[t],e))},a.funcEnum=function(e,t,n,o){var i=e[t];switch(typeof i){case"undefined":return n[o];case"function":return i;case"string":if(n.hasOwnProperty(i))return n[i];default:var a="Invalid "+t+' "'+i+'", expected a function';switch(r.size(n)){case 0:break;case 1:a+=" or "+r.keys(n)[0];break;default:a+=" or one of "+r.keys(n).join(", ")}throw new TypeError(a)}},a.createArray=function(e,t){t="function"===typeof t?t:r.identity;var n,o,i=[];for(r.isArray(e)||(e=[e]),o=0;o<e.length;o++){if(void 0===(n=t(e[o])))return!1;i.push(n)}return i},a.getUnwrittenFromStream=function(e){var t=a.getStreamWriteBuffer(e);if(t){var n="";return t.length?(r.each(t,(function(e){if(e.chunk)n+=""+e.chunk;else{if(!r.isArray(e)||"string"!==typeof e[0]&&!o.isBuffer(e[0]))return!1;n+=""+e[0]}})),n):n}},a.getStreamWriteBuffer=function(e){if(e&&e._writableState){var t=e._writableState;return t.getBuffer?t.getBuffer():t.buffer?t.buffer:void 0}},a.clearWriteStreamBuffer=function(e){var t=a.getStreamWriteBuffer(e);return t&&t.splice(0)},a.now=function(){return"function"===typeof Date.now?Date.now():(new Date).getTime()},e.exports=a}).call(this,n("8oxB"),n("tjlA").Buffer)},o8WR:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var o=n("q1tI"),r=n.n(o),i=n("LvDl"),a=n("OS56"),l=n.n(a),s=(n("YFqc"),n("2v50")),c=(n("4gSE"),r.a.createElement);function u(e){var t=e.dataProps,n=e.roundedStaticImage,a=void 0!==n&&n,u=Object(o.useState)(1),d=u[0],f=u[1],h=Object(o.useState)(!1),p=(h[0],h[1]),v=Object(s.k)(),m={slidesToShow:t.data.length>3?3:t.data.length,infinite:!0,dots:!1,arrows:!0,autoplay:!1,centerMode:!1,centerPadding:"80px",swipeToSlide:!0,focusOnSelect:!0,responsive:[{breakpoint:767,settings:{slidesToShow:1,arrows:!0,slidesToScroll:1,draggable:!0,vertical:!1,autoplay:!1,swipe:!0,infinite:!0,swipeToSlide:!0,beforeChange:function(e,t){f(t+1)}}},{breakpoint:990,settings:{slidesToShow:t.data.length>2?2:t.data.length,arrows:!0,slidesToScroll:1,draggable:!0,vertical:!1,autoplay:!1,swipe:!0,infinite:!0,beforeChange:function(e,t){f(t+1)},swipeToSlide:!0,centerMode:!1}}]};return Object(o.useEffect)((function(){t&&t.leadPartners&&t.leadPartners.data&&t.leadPartners.data.length<3&&p(!0)}),[]),c("div",{className:"lead-partner-wrapper"},c("div",{className:"lead-partner-container border-container-left mt-0"},c("div",{className:"lead-content"},c("h3",{style:{textTransform:"upperCase"}},Object(i.get)(t,"label.normal","")),Object(s.o)()&&c("p",{className:"count-slide"},d,"/",t.data.length)),c(l.a,m,t.data&&t.data.map((function(e,t){var n,o,l,s,u,d,f,h,p,m,g,y,b,w,k,O,S,T,N;return c(r.a.Fragment,null,Object(i.isEmpty)(null===e||void 0===e?void 0:null===(n=e.link)||void 0===n?void 0:n.uri)&&Object(i.isEmpty)(null===e||void 0===e?void 0:null===(o=e.link)||void 0===o?void 0:null===(l=o[t])||void 0===l?void 0:l.url)&&Object(i.isEmpty)(null===e||void 0===e?void 0:null===(s=e.link)||void 0===s?void 0:null===(u=s[0])||void 0===u?void 0:u.url)?c("div",{className:"image2 ".concat(1==a?"rounded-border":"")},c("img",{src:e.foregroundImage&&(null===(O=e.foregroundImage)||void 0===O?void 0:O.url)||e.foreground_image||(null===(S=e.backgroundImage)||void 0===S?void 0:S.url),alt:(null===(T=e.foregroundImage)||void 0===T?void 0:T.alt)||(null===(N=e.backgroundImage)||void 0===N?void 0:N.alt)||"leadPartners"})):c("a",{target:"_blank",href:"external"===e.link.type||"external"===(null===(d=e.link[t])||void 0===d?void 0:d.type)?(null===(f=e.link)||void 0===f?void 0:f.uri)||(null===(h=e.link[t])||void 0===h?void 0:h.url):"".concat(v).concat(e.link.uri||(null===(p=e.link[t])||void 0===p?void 0:p.url)||(null===e||void 0===e?void 0:null===(m=e.link)||void 0===m?void 0:null===(g=m[0])||void 0===g?void 0:g.url))},c("div",{className:"lead-card",style:{background:"white",borderRadius:"10px"}},(e.foregroundImage||e.foreground_image||e.backgroundImage)&&c("div",{className:"image2"},c("img",{src:(null===(y=e.foregroundImage)||void 0===y?void 0:y.url)||e.foreground_image||(null===(b=e.backgroundImage)||void 0===b?void 0:b.url),alt:(null===(w=e.foregroundImage)||void 0===w?void 0:w.alt)||(null===(k=e.backgroundImage)||void 0===k?void 0:k.alt)||"leadPartners"})))))})))))}},u7TS:function(e,t,n){var o=n("LvDl"),r=n("nqsp");function i(e){e=e||o.identity;var t=function(t){function n(e,n){"function"===typeof e?(n=e,e={}):(e=e||{},n="function"===typeof n?n:null);try{return function(e,t,n,i){var s,c={method:t.method},u={};t.requestTimeout&&(c.requestTimeout=t.requestTimeout);!n.body&&t.paramAsBody&&("object"===typeof t.paramAsBody?(n.body={},t.paramAsBody.castToArray?n.body[t.paramAsBody.body]=[].concat(n[t.paramAsBody.param]):n.body[t.paramAsBody.body]=n[t.paramAsBody.param],delete n[t.paramAsBody.param]):(n.body=n[t.paramAsBody],delete n[t.paramAsBody]));if(t.needsBody&&!n.body)throw new TypeError("A request body is required.");t.bulkBody&&(c.bulkBody=!0);"HEAD"===t.method&&(c.castExists=!0);if(t.url)c.path=l(t.url,n);else for(s=0;s<t.urls.length&&(c.path=l(t.urls[s],n),!c.path);s++);if(!c.path){var d=t.url||t.urls[t.urls.length-1];throw new TypeError("Unable to build a path with those params. Supply at least "+o.keys(d.req).join(", "))}t.paramKeys||(t.paramKeys=o.keys(t.params),t.requireParamKeys=o.transform(t.params,(function(e,t,n){t.required&&e.push(n)}),[]));for(var f in n)if(n.hasOwnProperty(f)&&null!=n[f])switch(f){case"body":case"headers":case"requestTimeout":case"maxRetries":c[f]=n[f];break;case"ignore":c.ignore=o.isArray(n[f])?n[f]:[n[f]];break;case"method":c.method=r.toUpperString(n[f]);break;default:var h=t.params[f];h?(h.name=h.name||f,null!=n[f]&&(a[h.type]?u[h.name]=a[h.type](h,n[f],f):u[h.name]=n[f],h.default&&u[h.name]===h.default&&delete u[h.name])):u[f]=n[f]}for(s=0;s<t.requireParamKeys.length;s++)if(!u.hasOwnProperty(t.requireParamKeys[s]))throw new TypeError("Missing required parameter "+t.requireParamKeys[s]);return c.query=u,e.request(c,i)}(this.transport,t,o.clone(e),n)}catch(s){if("function"!==typeof n){var i=this.transport.defer();return i.reject(s),i.promise}r.nextTick(n,s)}}return t=e(t),o.isPlainObject(t.params)||(t.params={}),t.method||(t.method="GET"),n.spec=t,n};return t.proxy=function(e,t){return function(n,o){return"function"===typeof n?(o=n,n={}):(n=n||{},o="function"===typeof o?o:null),t.transform&&t.transform(n),e.call(this,n,o)}},t}t.makeFactoryWithModifier=i,t.factory=i(),t.proxyFactory=t.factory.proxy,t._resolveUrl=l,t.ApiNamespace=function(){},t.namespaceFactory=function(){function e(e,t){this.transport=e,this.client=t}return e.prototype=new t.ApiNamespace,e};var a={enum:function e(t,n,r){if(o.isString(n)&&n.indexOf(",")>-1&&(n=s(n)),o.isArray(n))return n.map((function(n){return e(t,n,r)})).join(",");for(var i=0;i<t.options.length;i++)if(t.options[i]===String(n))return t.options[i];throw new TypeError("Invalid "+r+": expected "+(t.options.length>1?"one of "+t.options.join(","):t.options[0]))},duration:function(e,t,n){if(r.isNumeric(t)||r.isInterval(t))return t;throw new TypeError("Invalid "+n+": expected a number or interval (an integer followed by one of M, w, d, h, m, s, y or ms).")},list:function(e,t,n){switch(typeof t){case"number":case"boolean":return""+t;case"string":t=s(t);case"object":if(o.isArray(t))return t.join(",");default:throw new TypeError("Invalid "+n+": expected be a comma separated list, array, number or string.")}},boolean:function(e,t){return"no"!==(t=o.isString(t)?t.toLowerCase():t)&&"off"!==t&&!!t},number:function(e,t,n){if(r.isNumeric(t))return 1*t;throw new TypeError("Invalid "+n+": expected a number.")},string:function(e,t,n){switch(typeof t){case"number":case"string":return""+t;default:throw new TypeError("Invalid "+n+": expected a string.")}},time:function(e,t,n){if("string"===typeof t)return t;if(r.isNumeric(t))return""+t;if(t instanceof Date)return""+t.getTime();throw new TypeError("Invalid "+n+": expected some sort of time.")}};function l(e,t){var n,r,i={};if(e.req)for(e.reqParamKeys||(e.reqParamKeys=o.keys(e.req)),n=0;n<e.reqParamKeys.length;n++){if(r=e.reqParamKeys[n],!t.hasOwnProperty(r)||null==t[r])return!1;a[e.req[r].type]?i[r]=a[e.req[r].type](e.req[r],t[r],r):i[r]=t[r]}if(e.opt)for(e.optParamKeys||(e.optParamKeys=o.keys(e.opt)),n=0;n<e.optParamKeys.length;n++)r=e.optParamKeys[n],t[r]?a[e.opt[r].type]||null==t[r]?i[r]=a[e.opt[r].type](e.opt[r],t[r],r):i[r]=t[r]:i[r]=e.opt[r].default;return e.template||(e.template=o.template(e.fmt)),e.template(o.transform(i,(function(e,n,o){e[o]=encodeURIComponent(n),delete t[o]}),{}))}function s(e){return e.split(",").map((function(e){return e.trim()}))}},veZ0:function(e,t){e.exports=function(e){var t=e[0];return e.push(e.shift()),t}},wWBu:function(e,t,n){"use strict";var o=n("q1tI"),r=n.n(o),i=n("nOHt"),a=n("wyBh"),l=(n("ApMp"),r.a.createElement);t.a=function(e){var t=e.pageTitle,n=e.pageData,o=void 0===n?{}:n,s=o.pageTitle,c=(o.breadcrumbDarkFont,o.customBreadcrumbClass),u=void 0===c?"":c,d=Object(i.useRouter)(),f=d&&d.pathname,h=a.a.filter((function(e){return f&&-1!==f.indexOf(e.route)}))||[],p=[];h&&(p=h[0]&&h[0].link||[]);var v=!!(p&&p.length>0)||!!t||!!s||!1,m=t||s||"";return l("div",{className:"new-breadcrumb-container ".concat(u," dark")},v&&l("div",{className:"breadcrumb"},v&&l(r.a.Fragment,null,l("a",{href:"/"},"HOME"),p&&p instanceof Array&&p.map((function(e){return l(r.a.Fragment,{key:e.text},l("span",null," | "),e.url&&m?l("a",{href:e.url},e.text):l("span",null,e.text))})),m&&l(r.a.Fragment,null,l("span",null," "," | "," "),l("span",null,m)))),!v&&l("div",{class:"breadcrumb"},l("a",{href:"/"},"HOME"),l("span",null," | "),l("span",{class:"current"},e.dataProps&&e.dataProps.title)))}},xEkU:function(e,t,n){(function(t){for(var o=n("bQgK"),r="undefined"===typeof window?t:window,i=["moz","webkit"],a="AnimationFrame",l=r["request"+a],s=r["cancel"+a]||r["cancelRequest"+a],c=0;!l&&c<i.length;c++)l=r[i[c]+"Request"+a],s=r[i[c]+"Cancel"+a]||r[i[c]+"CancelRequest"+a];if(!l||!s){var u=0,d=0,f=[];l=function(e){if(0===f.length){var t=o(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=f.slice(0);f.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(n))}return f.push({handle:++d,callback:e,cancelled:!1}),d},s=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return l.call(r,e)},e.exports.cancel=function(){s.apply(r,arguments)},e.exports.polyfill=function(e){e||(e=r),e.requestAnimationFrame=l,e.cancelAnimationFrame=s}}).call(this,n("yLpj"))},yXmM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},t.containerStyleAutoHeight={height:"auto"},t.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},t.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},t.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},t.trackHorizontalStyleDefault={position:"absolute",height:6},t.trackVerticalStyleDefault={position:"absolute",width:6},t.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},t.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},t.disableSelectStyle={userSelect:"none"},t.disableSelectStyleReset={userSelect:""}},"z/Nc":function(e,t){var n={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};e.exports=function(e,t){return"number"!==typeof t||n[e]?t:t+"px"}}},[["ReiF",0,1,9,20,18,17,24,25,22,23,21,2,3,4,5,7,6,10,11,12,14,13,15,16,19,8]]]);