https://rmssoftwaretech.netlify.app/c2669abf141648a21fe9bdb7c6eeba8d4bfff45d-8ba4aea85a83ec458ef0.js
1"use strict";(self.webpackChunk_elegantstack_gatsby_starter_flexiblocks=self.webpackChunk_elegantstack_gatsby_starter_flexiblocks||[]).push([[8770],{9212:function(t,e,n){n.d(e,{Z:function(){return E}});var o=n(7378),r=n(2298),l=n(2575),i=n(349),s=n(1309),a=n(6986),c=n(141),u=n(1403),d=n.n(u),p=n(7228),f=n(4359);function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach((function(e){(0,c.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const m={panelContent:{height:"100%",zIndex:2,bg:"contentBg",overflowY:"scroll",p:3},openButton:{verticalAlign:"middle"},closeButton:{position:"fixed",zIndex:99999,left:"-20%",top:4,color:"white"}};var y=t=>{let{children:e,buttonStyle:n}=t;const{0:r,1:l}=(0,o.useState)(),i=()=>l(!r);return(0,f.tZ)(o.Fragment,null,(0,f.tZ)(s.hU,{onClick:i,sx:b(b({},m.openButton),n),"aria-label":"Open Drawer"},(0,f.tZ)(p.Fm7,null)),(0,f.tZ)(d(),{isOpen:r,onRequestClose:i,closeTimeoutMS:300,contentLabel:"Drawer",className:"DrawerPortalContent",overlayClassName:"DrawerPortalOverlay"},(0,f.tZ)(s.xu,{sx:m.panelContent},e),(0,f.tZ)(s.hU,{onClick:i,sx:b(b({},m.closeButton),n),"aria-label":"Close Drawer"},(0,f.tZ)(p.aHS,null))))},g=n(8940),v=n(8534),w=n(9832);const x={wrapper:{position:"relative",zIndex:10,".nav-container":{bg:"headerBg",position:"fixed",transition:"all 250ms ease-in",py:3},".nav-sticky .nav-container":{bg:"headerActiveBg",boxShadow:"0 0 25px rgba(140,152,164,.25)",py:[3,null,2],".button-group-link.level-1, button-group-link.level-1:visited":{color:"headerActiveColor"}},".button-group-button":{minWidth:120,fontSize:1,px:3,py:1}},header:{justifyContent:"space-between",alignItems:"center"},logoContainer:{flexShrink:0,mr:[null,null,3,5]},desktopMenu:{display:["none",null,"block"],minWidth:"auto",flexGrow:1},mobileMenu:{display:["block",null,"none"]}},k=t=>{let{content:{images:e,collection:n},menuJustify:c}=t;return(0,f.tZ)(o.Fragment,null,(0,f.tZ)(l.ZP,{enabled:"true",stickyClassName:"nav-sticky",css:(0,i.i)(x.wrapper)},(0,f.tZ)(s.W2,{variant:"full",className:"nav-container"},(0,f.tZ)(s.W2,{px:"4"},(0,f.tZ)(s.kC,{sx:x.header},(0,f.tZ)(s.xu,{sx:x.logoContainer},(0,f.tZ)(r.rU,{to:"/"},(0,f.tZ)(g.Z,{content:{images:e},sx:x.image,imageEffect:"fadeIn"}))),n&&(0,f.tZ)(o.Fragment,null,(0,f.tZ)(s.xu,{sx:x.desktopMenu},(0,f.tZ)(a.Z,{effect:"fadeInDown"},(0,f.tZ)(s.kC,{sx:{alignItems:"center",justifyContent:c}},n.map(((t,e)=>{let{buttons:n}=t;return n&&(0,f.tZ)(s.xu,{key:"item-"+e,sx:{"& + &":{ml:4}}},(0,f.tZ)(v.Z,{content:n}))}))))),(0,f.tZ)(s.xu,{sx:x.mobileMenu},(0,f.tZ)(y,{buttonStyle:{svg:{size:32}}},n.map(((t,e)=>{let{buttons:n}=t;return n&&(0,f.tZ)(s.xu,{key:"item-"+e,sx:{fontSize:3,".button-group-link.level-1, button-group-link.level-1:visited":{color:"headerActiveColor"}}},(0,f.tZ)(v.Z,{content:n,variant:"vertical"}))}))))))))))};k.defaultProps={menuJustify:"flex-end"};var E=(0,w.Z)(k)},8157:function(t,e,n){n.d(e,{Z:function(){return c}});var o=n(5773),r=(n(7378),n(1309)),l=n(1928),i=n(1450),s=n(4359);const a=t=>{let{icon:e,iconProps:n,text:a,description:c,compact:u,vertical:d,center:p,middle:f}=t;return(0,s.tZ)(r.kC,{sx:{flexDirection:d?"column":"row",alignItems:p?"center":"flex-start",textAlign:p&&d?"center":"unset",justifyContent:f?"center":"unset","& + &":{mt:c?u?3:4:2}}},(null==e?void 0:e.src)&&(0,s.tZ)(r.xu,{sx:{display:"inline-flex",flexShrink:0,[d?"mb":"mr"]:u?2:3}},(0,s.tZ)(i.Z,(0,o.Z)({content:e,size:"sm",p:u?1:void 0},n))),(0,s.tZ)(r.xu,{sx:{alignSelf:d?"auto":"center"}},(0,s.tZ)(l.Z,{content:a})))};a.defaultProps={iconProps:{}};var c=a},4327:function(t,e,n){e.__esModule=!0,e.default=void 0;var o=l(n(7378)),r=l(n(8030));function l(t){return t&&t.__esModule?t:{default:t}}function i(){return i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},i.apply(this,arguments)}function s(t){var e=t.mode,n=t.onFixedToggle,l=t.hideOnBoundaryHit,s=t.offsetTransforms,a=t.disabled,c=t.boundaryElement,u=t.scrollElement,d=t.bottomOffset,p=t.topOffset,f=t.positionRecheckInterval,h=t.children,b=t.isIOSFixEnabled,m=t.dontUpdateHolderHeightWhenSticky,y=t.
1wrapperClassName,g=t.stickyClassName,v=t.stickyStyle,w=function(t,e){if(null==t)return{};var n,o,r={},l=Object.keys(t);for(o=0;o<l.length;o++)n=l[o],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,["mode","onFixedToggle","hideOnBoundaryHit","offsetTransforms","disabled","boundaryElement","scrollElement","bottomOffset","topOffset","positionRecheckInterval","children","isIOSFixEnabled","dontUpdateHolderHeightWhenSticky","wrapperClassName","stickyClassName","stickyStyle"]);return o.default.createElement(r.default,{mode:e,onFixedToggle:n,hideOnBoundaryHit:l,offsetTransforms:s,disabled:a,boundaryElement:c,scrollElement:u,bottomOffset:d,topOffset:p,positionRecheckInterval:f,isIOSFixEnabled:b,dontUpdateHolderHeightWhenSticky:m},(function(t){var e=t.isFixed,n=t.wrapperStyles,r=t.wrapperRef,l=t.holderStyles,s=t.holderRef;return o.default.createElement("div",i({},w,{ref:s,style:l}),o.default.createElement("div",i({},w,{className:y+" "+(e?g:""),style:e?i({},n,v):n,ref:r}),h))}))}s.defaultProps={stickyClassName:"sticky",wrapperClassName:"",stickyStyle:{}};var a=s;e.default=a,t.exports=e.default},7237:function(t,e){e.__esModule=!0,e.listen=function(t,e,n){for(var o=0,l=e.length;o<l;o+=1)r(t,e[o],n)},e.unlisten=function(t,e,n){for(var o=0,r=e.length;o<r;o+=1)l(t,e[o],n)};var n=[],o=[];function r(t,e,r){var l=n.indexOf(t);-1===l&&(l=n.length,n.push(t),o.push(function(t){return{el:t,callbacks:{},realCallbacks:{},realListenersCnt:0}}(t))),function(t,e,n){t.callbacks[e]?-1===t.callbacks[e].indexOf(n)&&t.callbacks[e].push(n):(t.callbacks[e]=[n],t.realCallbacks[e]=function(n){for(var o=0,r=t.callbacks[e].length;o<r;o+=1)t.callbacks[e][o](n)},t.el.addEventListener(e,t.realCallbacks[e]),t.realListenersCnt+=1)}(o[l],e,r)}function l(t,e,r){var l=n.indexOf(t);if(-1!==l){var i=o[l];!function(t,e,n){if(t.callbacks[e]){var o=t.callbacks[e].indexOf(n);-1!==o&&(t.callbacks[e].splice(o,1),t.callbacks[e].length>0||(t.el.removeEventListener(e,t.realCallbacks[e]),delete t.callbacks[e],delete t.realCallbacks[e],t.realListenersCnt-=1))}}(i,e,r),i.realListenersCnt>0||(n.splice(l,1),o.splice(l,1))}}},7702:function(t,e){e.__esModule=!0,e.default=function(t,e){if(!t)return null;if(n.hasOwnProperty(t))return n[t];if("#"===t[0])return document.getElementById(t.slice(1));if(null===o)return null;var r=e;for(;r=r.parentElement;)if(r[o](t))return r||null;return null};var n={};"undefined"!=typeof document&&(n.body=document.body,n.window=window,n.document=document);var o=function(){if("undefined"!=typeof document&&document.body){var t=document.body;return"function"==typeof t.matches?"matches":"function"==typeof t.webkitMatchesSelector?"webkitMatchesSelector":"function"==typeof t.mozMatchesSelector?"mozMatchesSelector":"function"==typeof t.msMatchesSelector?"msMatchesSelector":"function"==typeof t.oMatchesSelector?"oMatchesSelector":null}return null}();t.exports=e.default},2081:function(t,e){e.__esModule=!0,e.default=function(t){do{var e=window.getComputedStyle(t);if("none"!==e.transform||"none"!==e.webkitTransform)return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null},t.exports=e.default},380:function(t,e){e.__esModule=!0,e.getRect=function(t){if(t&&"function"==typeof t.getBoundingClientRect)return t.getBoundingClientRect();if(t===window||t===document)return{top:0,left:0,bottom:window.innerHeight,height:window.innerHeight,width:window.innerWidth,right:window.innerWidth};return{top:0,left:0,right:0,bottom:0,width:0,height:0}},e.isIntersecting=function(t,e,n,o){var r=t.top+n,l=t.bottom+o;return r>=e.top&&r<=e.bottom||l>=e.top&&l<=e.bottom||l>=e.bottom&&r<=e.top},e.infiniteRect=void 0;var n={top:-1/0,bottom:1/0,height:1/0,left:-1/0,right:1/0,width:1/0};e.infiniteRect=n},2575:function(t,e,n){function o(t){return t&&t.__esModule?t:{default:t}}e.ZP=void 0,o(n(8030)).default;var r=o(n(4327)).default;e.ZP=r},8030:function(t,e,n){e.__esModule=!0,e.default=void 0;var o=n(7378),r=n(7237),l=a(n(7702)),i=a(n(2081)),s=n(380);function a(t){return t&&t.__esModule?t:{default:t}}function c(){return c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},c.apply(this,arguments)}function u(t,e){return u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},u(t,e)}var d=function(t,e){var n=e.bottomOffset,o=e.hideOnBoundaryHit,r=t.top,l=t.height,i=t.width,s=t.boundaryBottom;return o||r+l+n<s?{top:r+"px",width:i+"px",position:"fixed"}:!o&&s>0?{top:s-l-n+"px",width:i+"px",position:"fixed"}:{width:i+"px",bottom:n+"px",position:"absolute"}},p=function(t,e){var n=e.bottomOffset,o=e.hideOnBoundaryHit,r=t.bottom,l=t.height,i=t.width,s=t.boundaryTop;return o||r-l-n>s?{width:i+"px",top:r-l+"px",position:"fixed"}:{width:i+"px",top:n+"px",position:"absolute"}},f=function(t,e,n){return("top"===t?d:p)(n,e)},h=function(t){var e,n;function o(){for(var e,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(e=t.call.apply(t,[this].concat(o))||this).holderEl=null,e.wrapperEl=null,e.el=null,e.scrollEl=null,e.boundaryEl=null,e.disabled=!1,e.checkPositionIntervalId=void 0,e.lastMinHeight=void 0,e.state={isFixed:!1,wrapperStyles:null,holderStyles:null,height:0},e.holderRef=function(t){t!==e.holderEl&&(e.holderEl=t)},e.wrapperRef=function(t){t!==e.wrapperEl&&(e.wrapperEl=t,e.updateScrollEl(),e.updateBoundaryEl())},e.checkPosition=function(){var t=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
1(e),n=t.holderEl,o=t.wrapperEl,r=t.boundaryEl,l=t.scrollEl,a=t.disabled;if(l&&n&&o){var u=e.props,d=u.mode,p=u.onFixedToggle,h=u.offsetTransforms,b=u.isIOSFixEnabled,m=u.dontUpdateHolderHeightWhenSticky;if(a)e.state.isFixed&&e.setState({isFixed:!1,wrapperStyles:{}});else if(n.getBoundingClientRect&&o.getBoundingClientRect){var y=n.getBoundingClientRect(),g=o.getBoundingClientRect(),v=r?(0,s.getRect)(r):s.infiniteRect,w=(0,s.getRect)(l),x=e.isFixed(y,g,v,w),k=null;if(h&&x){var E=(0,i.default)(l);E&&(k=(0,s.getRect)(E))}var O=e.state.isFixed&&m&&e.lastMinHeight?e.lastMinHeight:g.height;e.lastMinHeight=O;var S=b?{transform:"translateZ(0)",WebkitTransform:"translateZ(0)"}:null,Z={isFixed:x,height:g.height,holderStyles:{minHeight:O+"px"},wrapperStyles:x?c({},S,f(d,e.props,{boundaryTop:"bottom"===d?v.top:0,boundaryBottom:"top"===d?v.bottom:0,top:"top"===d?w.top-(k?k.top:0):0,bottom:"bottom"===d?w.bottom-(k?k.bottom:0):0,width:y.width,height:g.height})):S};x!==e.state.isFixed&&p&&"function"==typeof p&&p(x),function(t,e){var n=t.wrapperStyles,o=e.wrapperStyles;if(t.isFixed!==e.isFixed||t.height!==e.height||!n&&o||n&&!o)return!1;if(!o)return!0;for(var r in n)if(n.hasOwnProperty(r)&&n[r]!==o[r])return!1;return!0}(e.state,Z)||e.setState(Z)}}else console.error("Missing required elements:",{scrollEl:l,holderEl:n,wrapperEl:o})},e}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,u(e,n);var a=o.prototype;return a.isFixed=function(t,e,n,o){var r=this.props,l=r.hideOnBoundaryHit,i=r.bottomOffset,a=r.topOffset,c=r.mode;if(this.disabled)return!1;if(l&&n&&!(0,s.isIntersecting)(n,o,a,i))return!1;var u=l?e.height+i:0;return"top"===c?t.top+a<o.top&&o.top+u<=n.bottom:t.bottom-a>o.bottom&&o.bottom-u>=n.top},a.updateScrollEl=function(){if(this.wrapperEl){this.scrollEl&&((0,r.unlisten)(this.scrollEl,["scroll"],this.checkPosition),this.scrollEl=null);var t=this.props.scrollElement;this.scrollEl="string"==typeof t?(0,l.default)(t,this.wrapperEl):t,this.scrollEl?(0,r.listen)(this.scrollEl,["scroll"],this.checkPosition):console.error("Cannot find scrollElement "+("string"==typeof t?t:"unknown"))}},a.updateBoundaryEl=function(){if(this.wrapperEl){var t=this.props.boundaryElement;this.boundaryEl=(0,l.default)(t,this.wrapperEl),this.boundaryEl!==window&&this.boundaryEl!==document||(this.boundaryEl=null)}},a.initialize=function(){var t=this.props,e=t.positionRecheckInterval,n=t.disabled;this.disabled=n,(0,r.listen)(window,["scroll","resize","pageshow","load"],this.checkPosition),this.checkPosition(),e&&(this.checkPositionIntervalId=setInterval(this.checkPosition,e))},a.componentDidUpdate=function(t){var e=t.scrollElement,n=t.boundaryElement,o=t.disabled;e!==this.props.scrollElement&&this.updateScrollEl(),n!==this.props.boundaryElement&&this.updateBoundaryEl(),o!==this.props.disabled&&(this.disabled=this.props.disabled,this.checkPosition())},a.componentDidMount=function(){this.initialize(),null===this.wrapperEl&&console.error("Wrapper element is missing, please make sure that you have assigned refs correctly")},a.componentWillUnmount=function(){this.scrollEl&&(0,r.unlisten)(this.scrollEl,["scroll"],this.checkPosition),(0,r.unlisten)(window,["scroll","resize","pageshow","load"],this.checkPosition),this.boundaryEl=null,this.scrollEl=null,clearInterval(this.checkPositionIntervalId)},a.render=function(){var t=this.holderRef,e=this.wrapperRef,n=this.state,o=n.isFixed,r=n.wrapperStyles,l=n.holderStyles;return this.props.children({holderRef:t,wrapperRef:e,isFixed:o,wrapperStyles:r,holderStyles:l})},o}(o.Component);h.defaultProps={mode:"top",topOffset:0,bottomOffset:0,isIOSFixEnabled:!0,disabled:!1,onFixedToggle:null,boundaryElement:null,scrollElement:"window",dontUpdateHolderHeightWhenSticky:!1};var b=h;e.default=b,t.exports=e.default}}]); 2//# sourceMappingURL=c2669abf141648a21fe9bdb7c6eeba8d4bfff45d-8ba4aea85a83ec458ef0.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.