{"version":3,"file":"component---src-templates-landing-pages-article-js-23e0247bf4b1d92715c6.js","mappings":"idAeO,SAASA,EAAaC,EAAMC,GACjC,IAAIC,EAAS,EAQb,MAPwB,iBAAbD,EACTC,EAASD,EACa,WAAbA,EACTC,EAASF,EAAKG,OAAS,EACD,WAAbF,IACTC,EAASF,EAAKG,QAETD,CACT,CACO,SAASE,EAAcJ,EAAMK,GAClC,IAAIH,EAAS,EAQb,MAP0B,iBAAfG,EACTH,EAASG,EACe,WAAfA,EACTH,EAASF,EAAKM,MAAQ,EACE,UAAfD,IACTH,EAASF,EAAKM,OAETJ,CACT,CACA,SAASK,EAAwBC,GAC/B,MAAO,CAACA,EAAgBH,WAAYG,EAAgBP,UAAUQ,KAAI,SAAUC,GAC1E,MAAoB,iBAANA,EAAiB,GAAGC,OAAOD,EAAG,MAAQA,CACtD,IAAGE,KAAK,IACV,CAWA,SAASC,EAAYC,GACnB,MAA2B,mBAAbA,EAA0BA,IAAaA,CACvD,CACO,IAkBHC,EAAuB,cAAiB,SAAiBC,EAAOC,GAClE,IAAIC,EAASF,EAAME,OACjBJ,EAAWE,EAAMF,SACjBK,EAAsBH,EAAMI,aAC5BA,OAAuC,IAAxBD,EAAiC,CAC9ClB,SAAU,MACVI,WAAY,QACVc,EACJE,EAAiBL,EAAMK,eACvBC,EAAwBN,EAAMO,gBAC9BA,OAA4C,IAA1BD,EAAmC,WAAaA,EAClEE,EAAWR,EAAMQ,SACjBC,EAAUT,EAAMS,QAChBC,EAAYV,EAAMU,UAClBC,EAAgBX,EAAMY,UACtBC,EAAmBb,EAAMc,UACzBA,OAAiC,IAArBD,EAA8B,EAAIA,EAC9CE,EAAqBf,EAAMe,mBAC3BC,EAAwBhB,EAAMiB,gBAC9BA,OAA4C,IAA1BD,EAAmC,GAAKA,EAC1DE,EAAUlB,EAAMkB,QAChBC,EAAYnB,EAAMmB,UAClBC,EAAapB,EAAMoB,WACnBC,EAASrB,EAAMqB,OACfC,EAAWtB,EAAMsB,SACjB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,GAAY,GAC7B,IAAIR,EAAI,CAAC,WAAY,UAAW,cAAe,UAAW,SAAU,QAAS,WAAY,YACvFC,EAAIX,EAAS,CAAC,EAAG1a,GACnBob,EAAEtd,SAAQ,SAAUsc,GAClB,cAAciB,EAAEjB,EAClB,IAAIQ,EAAIppB,EAAE6pB,GAAID,EAAEvW,QAAO,SAAUuV,GAC/B,OAAO,MAAQQ,EAAE9oB,MAAMsoB,IAAMQ,EAAE9oB,MAAMsoB,KAAOpa,EAAEoa,EAChD,IAAGtkB,QAAU8lB,GAAY,EAC3B,MAAOhB,EAAIzI,EAAMqC,cAAc,QAASkG,EAAS,CAC/C3oB,IAAKkpB,KAAKtd,WACTqC,IACH,IAAI6b,EAAI,CACN7a,QAASia,KAAKja,QACdF,OAAQma,KAAKna,QAEf,OAAOma,KAAKoF,YAAYnG,OAASla,EAAEhE,UAAYgE,EAAEmB,WAAa0a,EAAE9a,SAAWka,KAAKla,SAAU8a,EAAE+F,QAAU3G,KAAK2G,QAAS/F,EAAE9W,YAAckW,KAAKlW,aAAc,MAAQ/E,EAAEhG,QAAU6hB,EAAE7hB,MAAQihB,KAAKjhB,QAAS4gB,EAAIzI,EAAMsQ,aAAa7H,EAAGiB,EAC/N,EAAGzB,CACL,CAlQmB,CAkQjBjI,EAAM3Y,WACRkpB,EAAOC,QAAUtD,C,wBCvffqD,EAAOC,QAAU,EAAjB,M","sources":["webpack://SlatePages/./node_modules/@material-ui/core/esm/Popover/Popover.js","webpack://SlatePages/./node_modules/@material-ui/core/esm/List/ListContext.js","webpack://SlatePages/./node_modules/@material-ui/core/esm/List/List.js","webpack://SlatePages/./node_modules/@material-ui/core/esm/MenuList/MenuList.js","webpack://SlatePages/./node_modules/@material-ui/core/esm/Menu/Menu.js","webpack://SlatePages/./node_modules/@material-ui/core/esm/Select/SelectInput.js","webpack://SlatePages/./node_modules/@material-ui/core/esm/internal/svg-icons/ArrowDropDown.js","webpack://SlatePages/./node_modules/@material-ui/core/esm/NativeSelect/NativeSelectInput.js","webpack://SlatePages/./node_modules/@material-ui/core/esm/NativeSelect/NativeSelect.js","webpack://SlatePages/./node_modules/@material-ui/core/esm/FilledInput/FilledInput.js","webpack://SlatePages/./node_modules/@material-ui/core/esm/OutlinedInput/NotchedOutline.js","webpack://SlatePages/./node_modules/@material-ui/core/esm/OutlinedInput/OutlinedInput.js","webpack://SlatePages/./node_modules/@material-ui/core/esm/Select/Select.js","webpack://SlatePages/./node_modules/@material-ui/core/esm/ListItem/ListItem.js","webpack://SlatePages/./node_modules/@material-ui/core/esm/MenuItem/MenuItem.js","webpack://SlatePages/./src/templates/landing-pages-article.js","webpack://SlatePages/./node_modules/react-input-mask/lib/react-input-mask.production.min.js","webpack://SlatePages/./node_modules/react-input-mask/index.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { chainPropTypes, elementTypeAcceptingRef, refType, HTMLElementType } from '@material-ui/utils';\nimport debounce from '../utils/debounce';\nimport clsx from 'clsx';\nimport ownerDocument from '../utils/ownerDocument';\nimport ownerWindow from '../utils/ownerWindow';\nimport createChainedFunction from '../utils/createChainedFunction';\nimport deprecatedPropType from '../utils/deprecatedPropType';\nimport withStyles from '../styles/withStyles';\nimport Modal from '../Modal';\nimport Grow from '../Grow';\nimport Paper from '../Paper';\nexport function getOffsetTop(rect, vertical) {\n  var offset = 0;\n  if (typeof vertical === 'number') {\n    offset = vertical;\n  } else if (vertical === 'center') {\n    offset = rect.height / 2;\n  } else if (vertical === 'bottom') {\n    offset = rect.height;\n  }\n  return offset;\n}\nexport function getOffsetLeft(rect, horizontal) {\n  var offset = 0;\n  if (typeof horizontal === 'number') {\n    offset = horizontal;\n  } else if (horizontal === 'center') {\n    offset = rect.width / 2;\n  } else if (horizontal === 'right') {\n    offset = rect.width;\n  }\n  return offset;\n}\nfunction getTransformOriginValue(transformOrigin) {\n  return [transformOrigin.horizontal, transformOrigin.vertical].map(function (n) {\n    return typeof n === 'number' ? \"\".concat(n, \"px\") : n;\n  }).join(' ');\n} // Sum the scrollTop between two elements.\n\nfunction getScrollParent(parent, child) {\n  var element = child;\n  var scrollTop = 0;\n  while (element && element !== parent) {\n    element = element.parentElement;\n    scrollTop += element.scrollTop;\n  }\n  return scrollTop;\n}\nfunction getAnchorEl(anchorEl) {\n  return typeof anchorEl === 'function' ? anchorEl() : anchorEl;\n}\nexport var styles = {\n  /* Styles applied to the root element. */\n  root: {},\n  /* Styles applied to the `Paper` component. */\n  paper: {\n    position: 'absolute',\n    overflowY: 'auto',\n    overflowX: 'hidden',\n    // So we see the popover when it's empty.\n    // It's most likely on issue on userland.\n    minWidth: 16,\n    minHeight: 16,\n    maxWidth: 'calc(100% - 32px)',\n    maxHeight: 'calc(100% - 32px)',\n    // We disable the focus ring for mouse, touch and keyboard users.\n    outline: 0\n  }\n};\nvar Popover = /*#__PURE__*/React.forwardRef(function Popover(props, ref) {\n  var action = props.action,\n    anchorEl = props.anchorEl,\n    _props$anchorOrigin = props.anchorOrigin,\n    anchorOrigin = _props$anchorOrigin === void 0 ? {\n      vertical: 'top',\n      horizontal: 'left'\n    } : _props$anchorOrigin,\n    anchorPosition = props.anchorPosition,\n    _props$anchorReferenc = props.anchorReference,\n    anchorReference = _props$anchorReferenc === void 0 ? 'anchorEl' : _props$anchorReferenc,\n    children = props.children,\n    classes = props.classes,\n    className = props.className,\n    containerProp = props.container,\n    _props$elevation = props.elevation,\n    elevation = _props$elevation === void 0 ? 8 : _props$elevation,\n    getContentAnchorEl = props.getContentAnchorEl,\n    _props$marginThreshol = props.marginThreshold,\n    marginThreshold = _props$marginThreshol === void 0 ? 16 : _props$marginThreshol,\n    onEnter = props.onEnter,\n    onEntered = props.onEntered,\n    onEntering = props.onEntering,\n    onExit = props.onExit,\n    onExited = props.onExited,\n    onExiting = props.onExiting,\n    open = props.open,\n    _props$PaperProps = props.PaperProps,\n    PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps,\n    _props$transformOrigi = props.transformOrigin,\n    transformOrigin = _props$transformOrigi === void 0 ? {\n      vertical: 'top',\n      horizontal: 'left'\n    } : _props$transformOrigi,\n    _props$TransitionComp = props.TransitionComponent,\n    TransitionComponent = _props$TransitionComp === void 0 ? Grow : _props$TransitionComp,\n    _props$transitionDura = props.transitionDuration,\n    transitionDurationProp = _props$transitionDura === void 0 ? 'auto' : _props$transitionDura,\n    _props$TransitionProp = props.TransitionProps,\n    TransitionProps = _props$TransitionProp === void 0 ? {} : _props$TransitionProp,\n    other = _objectWithoutProperties(props, [\"action\", \"anchorEl\", \"anchorOrigin\", \"anchorPosition\", \"anchorReference\", \"children\", \"classes\", \"className\", \"container\", \"elevation\", \"getContentAnchorEl\", \"marginThreshold\", \"onEnter\", \"onEntered\", \"onEntering\", \"onExit\", \"onExited\", \"onExiting\", \"open\", \"PaperProps\", \"transformOrigin\", \"TransitionComponent\", \"transitionDuration\", \"TransitionProps\"]);\n  var paperRef = React.useRef(); // Returns the top/left offset of the position\n  // to attach to on the anchor element (or body if none is provided)\n\n  var getAnchorOffset = React.useCallback(function (contentAnchorOffset) {\n    if (anchorReference === 'anchorPosition') {\n      if (process.env.NODE_ENV !== 'production') {\n        if (!anchorPosition) {\n          console.error('Material-UI: You need to provide a `anchorPosition` prop when using ' + '<Popover anchorReference=\"anchorPosition\" />.');\n        }\n      }\n      return anchorPosition;\n    }\n    var resolvedAnchorEl = getAnchorEl(anchorEl); // If an anchor element wasn't provided, just use the parent body element of this Popover\n\n    var anchorElement = resolvedAnchorEl && resolvedAnchorEl.nodeType === 1 ? resolvedAnchorEl : ownerDocument(paperRef.current).body;\n    var anchorRect = anchorElement.getBoundingClientRect();\n    if (process.env.NODE_ENV !== 'production') {\n      var box = anchorElement.getBoundingClientRect();\n      if (process.env.NODE_ENV !== 'test' && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n        console.warn(['Material-UI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n      }\n    }\n    var anchorVertical = contentAnchorOffset === 0 ? anchorOrigin.vertical : 'center';\n    return {\n      top: anchorRect.top + getOffsetTop(anchorRect, anchorVertical),\n      left: anchorRect.left + getOffsetLeft(anchorRect, anchorOrigin.horizontal)\n    };\n  }, [anchorEl, anchorOrigin.horizontal, anchorOrigin.vertical, anchorPosition, anchorReference]); // Returns the vertical offset of inner content to anchor the transform on if provided\n\n  var getContentAnchorOffset = React.useCallback(function (element) {\n    var contentAnchorOffset = 0;\n    if (getContentAnchorEl && anchorReference === 'anchorEl') {\n      var contentAnchorEl = getContentAnchorEl(element);\n      if (contentAnchorEl && element.contains(contentAnchorEl)) {\n        var scrollTop = getScrollParent(element, contentAnchorEl);\n        contentAnchorOffset = contentAnchorEl.offsetTop + contentAnchorEl.clientHeight / 2 - scrollTop || 0;\n      } // != the default value\n\n      if (process.env.NODE_ENV !== 'production') {\n        if (anchorOrigin.vertical !== 'top') {\n          console.error(['Material-UI: You can not change the default `anchorOrigin.vertical` value ', 'when also providing the `getContentAnchorEl` prop to the popover component.', 'Only use one of the two props.', 'Set `getContentAnchorEl` to `null | undefined`' + ' or leave `anchorOrigin.vertical` unchanged.'].join('\\n'));\n        }\n      }\n    }\n    return contentAnchorOffset;\n  }, [anchorOrigin.vertical, anchorReference, getContentAnchorEl]); // Return the base transform origin using the element\n  // and taking the content anchor offset into account if in use\n\n  var getTransformOrigin = React.useCallback(function (elemRect) {\n    var contentAnchorOffset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n    return {\n      vertical: getOffsetTop(elemRect, transformOrigin.vertical) + contentAnchorOffset,\n      horizontal: getOffsetLeft(elemRect, transformOrigin.horizontal)\n    };\n  }, [transformOrigin.horizontal, transformOrigin.vertical]);\n  var getPositioningStyle = React.useCallback(function (element) {\n    // Check if the parent has requested anchoring on an inner content node\n    var contentAnchorOffset = getContentAnchorOffset(element);\n    var elemRect = {\n      width: element.offsetWidth,\n      height: element.offsetHeight\n    }; // Get the transform origin point on the element itself\n\n    var elemTransformOrigin = getTransformOrigin(elemRect, contentAnchorOffset);\n    if (anchorReference === 'none') {\n      return {\n        top: null,\n        left: null,\n        transformOrigin: getTransformOriginValue(elemTransformOrigin)\n      };\n    } // Get the offset of of the anchoring element\n\n    var anchorOffset = getAnchorOffset(contentAnchorOffset); // Calculate element positioning\n\n    var top = anchorOffset.top - elemTransformOrigin.vertical;\n    var left = anchorOffset.left - elemTransformOrigin.horizontal;\n    var bottom = top + elemRect.height;\n    var right = left + elemRect.width; // Use the parent window of the anchorEl if provided\n\n    var containerWindow = ownerWindow(getAnchorEl(anchorEl)); // Window thresholds taking required margin into account\n\n    var heightThreshold = containerWindow.innerHeight - marginThreshold;\n    var widthThreshold = containerWindow.innerWidth - marginThreshold; // Check if the vertical axis needs shifting\n\n    if (top < marginThreshold) {\n      var diff = top - marginThreshold;\n      top -= diff;\n      elemTransformOrigin.vertical += diff;\n    } else if (bottom > heightThreshold) {\n      var _diff = bottom - heightThreshold;\n      top -= _diff;\n      elemTransformOrigin.vertical += _diff;\n    }\n    if (process.env.NODE_ENV !== 'production') {\n      if (elemRect.height > heightThreshold && elemRect.height && heightThreshold) {\n        console.error(['Material-UI: The popover component is too tall.', \"Some part of it can not be seen on the screen (\".concat(elemRect.height - heightThreshold, \"px).\"), 'Please consider adding a `max-height` to improve the user-experience.'].join('\\n'));\n      }\n    } // Check if the horizontal axis needs shifting\n\n    if (left < marginThreshold) {\n      var _diff2 = left - marginThreshold;\n      left -= _diff2;\n      elemTransformOrigin.horizontal += _diff2;\n    } else if (right > widthThreshold) {\n      var _diff3 = right - widthThreshold;\n      left -= _diff3;\n      elemTransformOrigin.horizontal += _diff3;\n    }\n    return {\n      top: \"\".concat(Math.round(top), \"px\"),\n      left: \"\".concat(Math.round(left), \"px\"),\n      transformOrigin: getTransformOriginValue(elemTransformOrigin)\n    };\n  }, [anchorEl, anchorReference, getAnchorOffset, getContentAnchorOffset, getTransformOrigin, marginThreshold]);\n  var setPositioningStyles = React.useCallback(function () {\n    var element = paperRef.current;\n    if (!element) {\n      return;\n    }\n    var positioning = getPositioningStyle(element);\n    if (positioning.top !== null) {\n      element.style.top = positioning.top;\n    }\n    if (positioning.left !== null) {\n      element.style.left = positioning.left;\n    }\n    element.style.transformOrigin = positioning.transformOrigin;\n  }, [getPositioningStyle]);\n  var handleEntering = function handleEntering(element, isAppearing) {\n    if (onEntering) {\n      onEntering(element, isAppearing);\n    }\n    setPositioningStyles();\n  };\n  var handlePaperRef = React.useCallback(function (instance) {\n    // #StrictMode ready\n    paperRef.current = ReactDOM.findDOMNode(instance);\n  }, []);\n  React.useEffect(function () {\n    if (open) {\n      setPositioningStyles();\n    }\n  });\n  React.useImperativeHandle(action, function () {\n    return open ? {\n      updatePosition: function updatePosition() {\n        setPositioningStyles();\n      }\n    } : null;\n  }, [open, setPositioningStyles]);\n  React.useEffect(function () {\n    if (!open) {\n      return undefined;\n    }\n    var handleResize = debounce(function () {\n      setPositioningStyles();\n    });\n    window.addEventListener('resize', handleResize);\n    return function () {\n      handleResize.clear();\n      window.removeEventListener('resize', handleResize);\n    };\n  }, [open, setPositioningStyles]);\n  var transitionDuration = transitionDurationProp;\n  if (transitionDurationProp === 'auto' && !TransitionComponent.muiSupportAuto) {\n    transitionDuration = undefined;\n  } // If the container prop is provided, use that\n  // If the anchorEl prop is provided, use its parent body element as the container\n  // If neither are provided let the Modal take care of choosing the container\n\n  var container = containerProp || (anchorEl ? ownerDocument(getAnchorEl(anchorEl)).body : undefined);\n  return /*#__PURE__*/React.createElement(Modal, _extends({\n    container: container,\n    open: open,\n    ref: ref,\n    BackdropProps: {\n      invisible: true\n    },\n    className: clsx(classes.root, className)\n  }, other), /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n    appear: true,\n    in: open,\n    onEnter: onEnter,\n    onEntered: onEntered,\n    onExit: onExit,\n    onExited: onExited,\n    onExiting: onExiting,\n    timeout: transitionDuration\n  }, TransitionProps, {\n    onEntering: createChainedFunction(handleEntering, TransitionProps.onEntering)\n  }), /*#__PURE__*/React.createElement(Paper, _extends({\n    elevation: elevation,\n    ref: handlePaperRef\n  }, PaperProps, {\n    className: clsx(classes.paper, PaperProps.className)\n  }), children)));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n  name: 'MuiPopover'\n})(Popover);","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nvar ListContext = React.createContext({});\nif (process.env.NODE_ENV !== 'production') {\n  ListContext.displayName = 'ListContext';\n}\nexport default ListContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ListContext from './ListContext';\nexport var styles = {\n  /* Styles applied to the root element. */\n  root: {\n    listStyle: 'none',\n    margin: 0,\n    padding: 0,\n    position: 'relative'\n  },\n  /* Styles applied to the root element if `disablePadding={false}`. */\n  padding: {\n    paddingTop: 8,\n    paddingBottom: 8\n  },\n  /* Styles applied to the root element if dense. */\n  dense: {},\n  /* Styles applied to the root element if a `subheader` is provided. */\n  subheader: {\n    paddingTop: 0\n  }\n};\nvar List = /*#__PURE__*/React.forwardRef(function List(props, ref) {\n  var children = props.children,\n    classes = props.classes,\n    className = props.className,\n    _props$component = props.component,\n    Component = _props$component === void 0 ? 'ul' : _props$component,\n    _props$dense = props.dense,\n    dense = _props$dense === void 0 ? false : _props$dense,\n    _props$disablePadding = props.disablePadding,\n    disablePadding = _props$disablePadding === void 0 ? false : _props$disablePadding,\n    subheader = props.subheader,\n    other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"component\", \"dense\", \"disablePadding\", \"subheader\"]);\n  var context = React.useMemo(function () {\n    return {\n      dense: dense\n    };\n  }, [dense]);\n  return /*#__PURE__*/React.createElement(ListContext.Provider, {\n    value: context\n  }, /*#__PURE__*/React.createElement(Component, _extends({\n    className: clsx(classes.root, className, dense && classes.dense, !disablePadding && classes.padding, subheader && classes.subheader),\n    ref: ref\n  }, other), subheader, children));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n  name: 'MuiList'\n})(List);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport * as ReactDOM from 'react-dom';\nimport ownerDocument from '../utils/ownerDocument';\nimport List from '../List';\nimport getScrollbarSize from '../utils/getScrollbarSize';\nimport useForkRef from '../utils/useForkRef';\nfunction nextItem(list, item, disableListWrap) {\n  if (list === item) {\n    return list.firstChild;\n  }\n  if (item && item.nextElementSibling) {\n    return item.nextElementSibling;\n  }\n  return disableListWrap ? null : list.firstChild;\n}\nfunction previousItem(list, item, disableListWrap) {\n  if (list === item) {\n    return disableListWrap ? list.firstChild : list.lastChild;\n  }\n  if (item && item.previousElementSibling) {\n    return item.previousElementSibling;\n  }\n  return disableListWrap ? null : list.lastChild;\n}\nfunction textCriteriaMatches(nextFocus, textCriteria) {\n  if (textCriteria === undefined) {\n    return true;\n  }\n  var text = nextFocus.innerText;\n  if (text === undefined) {\n    // jsdom doesn't support innerText\n    text = nextFocus.textContent;\n  }\n  text = text.trim().toLowerCase();\n  if (text.length === 0) {\n    return false;\n  }\n  if (textCriteria.repeating) {\n    return text[0] === textCriteria.keys[0];\n  }\n  return text.indexOf(textCriteria.keys.join('')) === 0;\n}\nfunction moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, traversalFunction, textCriteria) {\n  var wrappedOnce = false;\n  var nextFocus = traversalFunction(list, currentFocus, currentFocus ? disableListWrap : false);\n  while (nextFocus) {\n    // Prevent infinite loop.\n    if (nextFocus === list.firstChild) {\n      if (wrappedOnce) {\n        return;\n      }\n      wrappedOnce = true;\n    } // Same logic as useAutocomplete.js\n\n    var nextFocusDisabled = disabledItemsFocusable ? false : nextFocus.disabled || nextFocus.getAttribute('aria-disabled') === 'true';\n    if (!nextFocus.hasAttribute('tabindex') || !textCriteriaMatches(nextFocus, textCriteria) || nextFocusDisabled) {\n      // Move to the next element.\n      nextFocus = traversalFunction(list, nextFocus, disableListWrap);\n    } else {\n      nextFocus.focus();\n      return;\n    }\n  }\n}\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n/**\n * A permanently displayed menu following https://www.w3.org/TR/wai-aria-practices/#menubutton.\n * It's exposed to help customization of the [`Menu`](/api/menu/) component. If you\n * use it separately you need to move focus into the component manually. Once\n * the focus is placed inside the component it is fully keyboard accessible.\n */\n\nvar MenuList = /*#__PURE__*/React.forwardRef(function MenuList(props, ref) {\n  var actions = props.actions,\n    _props$autoFocus = props.autoFocus,\n    autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus,\n    _props$autoFocusItem = props.autoFocusItem,\n    autoFocusItem = _props$autoFocusItem === void 0 ? false : _props$autoFocusItem,\n    children = props.children,\n    className = props.className,\n    _props$disabledItemsF = props.disabledItemsFocusable,\n    disabledItemsFocusable = _props$disabledItemsF === void 0 ? false : _props$disabledItemsF,\n    _props$disableListWra = props.disableListWrap,\n    disableListWrap = _props$disableListWra === void 0 ? false : _props$disableListWra,\n    onKeyDown = props.onKeyDown,\n    _props$variant = props.variant,\n    variant = _props$variant === void 0 ? 'selectedMenu' : _props$variant,\n    other = _objectWithoutProperties(props, [\"actions\", \"autoFocus\", \"autoFocusItem\", \"children\", \"className\", \"disabledItemsFocusable\", \"disableListWrap\", \"onKeyDown\", \"variant\"]);\n  var listRef = React.useRef(null);\n  var textCriteriaRef = React.useRef({\n    keys: [],\n    repeating: true,\n    previousKeyMatched: true,\n    lastTime: null\n  });\n  useEnhancedEffect(function () {\n    if (autoFocus) {\n      listRef.current.focus();\n    }\n  }, [autoFocus]);\n  React.useImperativeHandle(actions, function () {\n    return {\n      adjustStyleForScrollbar: function adjustStyleForScrollbar(containerElement, theme) {\n        // Let's ignore that piece of logic if users are already overriding the width\n        // of the menu.\n        var noExplicitWidth = !listRef.current.style.width;\n        if (containerElement.clientHeight < listRef.current.clientHeight && noExplicitWidth) {\n          var scrollbarSize = \"\".concat(getScrollbarSize(true), \"px\");\n          listRef.current.style[theme.direction === 'rtl' ? 'paddingLeft' : 'paddingRight'] = scrollbarSize;\n          listRef.current.style.width = \"calc(100% + \".concat(scrollbarSize, \")\");\n        }\n        return listRef.current;\n      }\n    };\n  }, []);\n  var handleKeyDown = function handleKeyDown(event) {\n    var list = listRef.current;\n    var key = event.key;\n    /**\n     * @type {Element} - will always be defined since we are in a keydown handler\n     * attached to an element. A keydown event is either dispatched to the activeElement\n     * or document.body or document.documentElement. Only the first case will\n     * trigger this specific handler.\n     */\n\n    var currentFocus = ownerDocument(list).activeElement;\n    if (key === 'ArrowDown') {\n      // Prevent scroll of the page\n      event.preventDefault();\n      moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, nextItem);\n    } else if (key === 'ArrowUp') {\n      event.preventDefault();\n      moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, previousItem);\n    } else if (key === 'Home') {\n      event.preventDefault();\n      moveFocus(list, null, disableListWrap, disabledItemsFocusable, nextItem);\n    } else if (key === 'End') {\n      event.preventDefault();\n      moveFocus(list, null, disableListWrap, disabledItemsFocusable, previousItem);\n    } else if (key.length === 1) {\n      var criteria = textCriteriaRef.current;\n      var lowerKey = key.toLowerCase();\n      var currTime = performance.now();\n      if (criteria.keys.length > 0) {\n        // Reset\n        if (currTime - criteria.lastTime > 500) {\n          criteria.keys = [];\n          criteria.repeating = true;\n          criteria.previousKeyMatched = true;\n        } else if (criteria.repeating && lowerKey !== criteria.keys[0]) {\n          criteria.repeating = false;\n        }\n      }\n      criteria.lastTime = currTime;\n      criteria.keys.push(lowerKey);\n      var keepFocusOnCurrent = currentFocus && !criteria.repeating && textCriteriaMatches(currentFocus, criteria);\n      if (criteria.previousKeyMatched && (keepFocusOnCurrent || moveFocus(list, currentFocus, false, disabledItemsFocusable, nextItem, criteria))) {\n        event.preventDefault();\n      } else {\n        criteria.previousKeyMatched = false;\n      }\n    }\n    if (onKeyDown) {\n      onKeyDown(event);\n    }\n  };\n  var handleOwnRef = React.useCallback(function (instance) {\n    // #StrictMode ready\n    listRef.current = ReactDOM.findDOMNode(instance);\n  }, []);\n  var handleRef = useForkRef(handleOwnRef, ref);\n  /**\n   * the index of the item should receive focus\n   * in a `variant=\"selectedMenu\"` it's the first `selected` item\n   * otherwise it's the very first item.\n   */\n\n  var activeItemIndex = -1; // since we inject focus related props into children we have to do a lookahead\n  // to check if there is a `selected` item. We're looking for the last `selected`\n  // item and use the first valid item as a fallback\n\n  React.Children.forEach(children, function (child, index) {\n    if (! /*#__PURE__*/React.isValidElement(child)) {\n      return;\n    }\n    if (process.env.NODE_ENV !== 'production') {\n      if (isFragment(child)) {\n        console.error([\"Material-UI: The Menu component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n      }\n    }\n    if (!child.props.disabled) {\n      if (variant === 'selectedMenu' && child.props.selected) {\n        activeItemIndex = index;\n      } else if (activeItemIndex === -1) {\n        activeItemIndex = index;\n      }\n    }\n  });\n  var items = React.Children.map(children, function (child, index) {\n    if (index === activeItemIndex) {\n      var newChildProps = {};\n      if (autoFocusItem) {\n        newChildProps.autoFocus = true;\n      }\n      if (child.props.tabIndex === undefined && variant === 'selectedMenu') {\n        newChildProps.tabIndex = 0;\n      }\n      return /*#__PURE__*/React.cloneElement(child, newChildProps);\n    }\n    return child;\n  });\n  return /*#__PURE__*/React.createElement(List, _extends({\n    role: \"menu\",\n    ref: handleRef,\n    className: className,\n    onKeyDown: handleKeyDown,\n    tabIndex: autoFocus ? 0 : -1\n  }, other), items);\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default MenuList;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport clsx from 'clsx';\nimport { HTMLElementType } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport Popover from '../Popover';\nimport MenuList from '../MenuList';\nimport * as ReactDOM from 'react-dom';\nimport setRef from '../utils/setRef';\nimport useTheme from '../styles/useTheme';\nimport deprecatedPropType from '../utils/deprecatedPropType';\nvar RTL_ORIGIN = {\n  vertical: 'top',\n  horizontal: 'right'\n};\nvar LTR_ORIGIN = {\n  vertical: 'top',\n  horizontal: 'left'\n};\nexport var styles = {\n  /* Styles applied to the `Paper` component. */\n  paper: {\n    // specZ: The maximum height of a simple menu should be one or more rows less than the view\n    // height. This ensures a tapable area outside of the simple menu with which to dismiss\n    // the menu.\n    maxHeight: 'calc(100% - 96px)',\n    // Add iOS momentum scrolling.\n    WebkitOverflowScrolling: 'touch'\n  },\n  /* Styles applied to the `List` component via `MenuList`. */\n  list: {\n    // We disable the focus ring for mouse, touch and keyboard users.\n    outline: 0\n  }\n};\nvar Menu = /*#__PURE__*/React.forwardRef(function Menu(props, ref) {\n  var _props$autoFocus = props.autoFocus,\n    autoFocus = _props$autoFocus === void 0 ? true : _props$autoFocus,\n    children = props.children,\n    classes = props.classes,\n    _props$disableAutoFoc = props.disableAutoFocusItem,\n    disableAutoFocusItem = _props$disableAutoFoc === void 0 ? false : _props$disableAutoFoc,\n    _props$MenuListProps = props.MenuListProps,\n    MenuListProps = _props$MenuListProps === void 0 ? {} : _props$MenuListProps,\n    onClose = props.onClose,\n    onEnteringProp = props.onEntering,\n    open = props.open,\n    _props$PaperProps = props.PaperProps,\n    PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps,\n    PopoverClasses = props.PopoverClasses,\n    _props$transitionDura = props.transitionDuration,\n    transitionDuration = _props$transitionDura === void 0 ? 'auto' : _props$transitionDura,\n    _props$TransitionProp = props.TransitionProps;\n  _props$TransitionProp = _props$TransitionProp === void 0 ? {} : _props$TransitionProp;\n  var onEntering = _props$TransitionProp.onEntering,\n    TransitionProps = _objectWithoutProperties(_props$TransitionProp, [\"onEntering\"]),\n    _props$variant = props.variant,\n    variant = _props$variant === void 0 ? 'selectedMenu' : _props$variant,\n    other = _objectWithoutProperties(props, [\"autoFocus\", \"children\", \"classes\", \"disableAutoFocusItem\", \"MenuListProps\", \"onClose\", \"onEntering\", \"open\", \"PaperProps\", \"PopoverClasses\", \"transitionDuration\", \"TransitionProps\", \"variant\"]);\n  var theme = useTheme();\n  var autoFocusItem = autoFocus && !disableAutoFocusItem && open;\n  var menuListActionsRef = React.useRef(null);\n  var contentAnchorRef = React.useRef(null);\n  var getContentAnchorEl = function getContentAnchorEl() {\n    return contentAnchorRef.current;\n  };\n  var handleEntering = function handleEntering(element, isAppearing) {\n    if (menuListActionsRef.current) {\n      menuListActionsRef.current.adjustStyleForScrollbar(element, theme);\n    }\n    if (onEnteringProp) {\n      onEnteringProp(element, isAppearing);\n    }\n    if (onEntering) {\n      onEntering(element, isAppearing);\n    }\n  };\n  var handleListKeyDown = function handleListKeyDown(event) {\n    if (event.key === 'Tab') {\n      event.preventDefault();\n      if (onClose) {\n        onClose(event, 'tabKeyDown');\n      }\n    }\n  };\n  /**\n   * the index of the item should receive focus\n   * in a `variant=\"selectedMenu\"` it's the first `selected` item\n   * otherwise it's the very first item.\n   */\n\n  var activeItemIndex = -1; // since we inject focus related props into children we have to do a lookahead\n  // to check if there is a `selected` item. We're looking for the last `selected`\n  // item and use the first valid item as a fallback\n\n  React.Children.map(children, function (child, index) {\n    if (! /*#__PURE__*/React.isValidElement(child)) {\n      return;\n    }\n    if (process.env.NODE_ENV !== 'production') {\n      if (isFragment(child)) {\n        console.error([\"Material-UI: The Menu component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n      }\n    }\n    if (!child.props.disabled) {\n      if (variant !== \"menu\" && child.props.selected) {\n        activeItemIndex = index;\n      } else if (activeItemIndex === -1) {\n        activeItemIndex = index;\n      }\n    }\n  });\n  var items = React.Children.map(children, function (child, index) {\n    if (index === activeItemIndex) {\n      return /*#__PURE__*/React.cloneElement(child, {\n        ref: function ref(instance) {\n          // #StrictMode ready\n          contentAnchorRef.current = ReactDOM.findDOMNode(instance);\n          setRef(child.ref, instance);\n        }\n      });\n    }\n    return child;\n  });\n  return /*#__PURE__*/React.createElement(Popover, _extends({\n    getContentAnchorEl: getContentAnchorEl,\n    classes: PopoverClasses,\n    onClose: onClose,\n    TransitionProps: _extends({\n      onEntering: handleEntering\n    }, TransitionProps),\n    anchorOrigin: theme.direction === 'rtl' ? RTL_ORIGIN : LTR_ORIGIN,\n    transformOrigin: theme.direction === 'rtl' ? RTL_ORIGIN : LTR_ORIGIN,\n    PaperProps: _extends({}, PaperProps, {\n      classes: _extends({}, PaperProps.classes, {\n        root: classes.paper\n      })\n    }),\n    open: open,\n    ref: ref,\n    transitionDuration: transitionDuration\n  }, other), /*#__PURE__*/React.createElement(MenuList, _extends({\n    onKeyDown: handleListKeyDown,\n    actions: menuListActionsRef,\n    autoFocus: autoFocus && (activeItemIndex === -1 || disableAutoFocusItem),\n    autoFocusItem: autoFocusItem,\n    variant: variant\n  }, MenuListProps, {\n    className: clsx(classes.list, MenuListProps.className)\n  }), items));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n  name: 'MuiMenu'\n})(Menu);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport { formatMuiErrorMessage as _formatMuiErrorMessage } from \"@material-ui/utils\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport clsx from 'clsx';\nimport ownerDocument from '../utils/ownerDocument';\nimport capitalize from '../utils/capitalize';\nimport { refType } from '@material-ui/utils';\nimport Menu from '../Menu/Menu';\nimport { isFilled } from '../InputBase/utils';\nimport useForkRef from '../utils/useForkRef';\nimport useControlled from '../utils/useControlled';\nfunction areEqualValues(a, b) {\n  if (_typeof(b) === 'object' && b !== null) {\n    return a === b;\n  }\n  return String(a) === String(b);\n}\nfunction isEmpty(display) {\n  return display == null || typeof display === 'string' && !display.trim();\n}\n/**\n * @ignore - internal component.\n */\n\nvar SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, ref) {\n  var ariaLabel = props['aria-label'],\n    autoFocus = props.autoFocus,\n    autoWidth = props.autoWidth,\n    children = props.children,\n    classes = props.classes,\n    className = props.className,\n    defaultValue = props.defaultValue,\n    disabled = props.disabled,\n    displayEmpty = props.displayEmpty,\n    IconComponent = props.IconComponent,\n    inputRefProp = props.inputRef,\n    labelId = props.labelId,\n    _props$MenuProps = props.MenuProps,\n    MenuProps = _props$MenuProps === void 0 ? {} : _props$MenuProps,\n    multiple = props.multiple,\n    name = props.name,\n    onBlur = props.onBlur,\n    onChange = props.onChange,\n    onClose = props.onClose,\n    onFocus = props.onFocus,\n    onOpen = props.onOpen,\n    openProp = props.open,\n    readOnly = props.readOnly,\n    renderValue = props.renderValue,\n    _props$SelectDisplayP = props.SelectDisplayProps,\n    SelectDisplayProps = _props$SelectDisplayP === void 0 ? {} : _props$SelectDisplayP,\n    tabIndexProp = props.tabIndex,\n    type = props.type,\n    valueProp = props.value,\n    _props$variant = props.variant,\n    variant = _props$variant === void 0 ? 'standard' : _props$variant,\n    other = _objectWithoutProperties(props, [\"aria-label\", \"autoFocus\", \"autoWidth\", \"children\", \"classes\", \"className\", \"defaultValue\", \"disabled\", \"displayEmpty\", \"IconComponent\", \"inputRef\", \"labelId\", \"MenuProps\", \"multiple\", \"name\", \"onBlur\", \"onChange\", \"onClose\", \"onFocus\", \"onOpen\", \"open\", \"readOnly\", \"renderValue\", \"SelectDisplayProps\", \"tabIndex\", \"type\", \"value\", \"variant\"]);\n  var _useControlled = useControlled({\n      controlled: valueProp,\n      default: defaultValue,\n      name: 'Select'\n    }),\n    _useControlled2 = _slicedToArray(_useControlled, 2),\n    value = _useControlled2[0],\n    setValue = _useControlled2[1];\n  var inputRef = React.useRef(null);\n  var _React$useState = React.useState(null),\n    displayNode = _React$useState[0],\n    setDisplayNode = _React$useState[1];\n  var _React$useRef = React.useRef(openProp != null),\n    isOpenControlled = _React$useRef.current;\n  var _React$useState2 = React.useState(),\n    menuMinWidthState = _React$useState2[0],\n    setMenuMinWidthState = _React$useState2[1];\n  var _React$useState3 = React.useState(false),\n    openState = _React$useState3[0],\n    setOpenState = _React$useState3[1];\n  var handleRef = useForkRef(ref, inputRefProp);\n  React.useImperativeHandle(handleRef, function () {\n    return {\n      focus: function focus() {\n        displayNode.focus();\n      },\n      node: inputRef.current,\n      value: value\n    };\n  }, [displayNode, value]);\n  React.useEffect(function () {\n    if (autoFocus && displayNode) {\n      displayNode.focus();\n    }\n  }, [autoFocus, displayNode]);\n  React.useEffect(function () {\n    if (displayNode) {\n      var label = ownerDocument(displayNode).getElementById(labelId);\n      if (label) {\n        var handler = function handler() {\n          if (getSelection().isCollapsed) {\n            displayNode.focus();\n          }\n        };\n        label.addEventListener('click', handler);\n        return function () {\n          label.removeEventListener('click', handler);\n        };\n      }\n    }\n    return undefined;\n  }, [labelId, displayNode]);\n  var update = function update(open, event) {\n    if (open) {\n      if (onOpen) {\n        onOpen(event);\n      }\n    } else if (onClose) {\n      onClose(event);\n    }\n    if (!isOpenControlled) {\n      setMenuMinWidthState(autoWidth ? null : displayNode.clientWidth);\n      setOpenState(open);\n    }\n  };\n  var handleMouseDown = function handleMouseDown(event) {\n    // Ignore everything but left-click\n    if (event.button !== 0) {\n      return;\n    } // Hijack the default focus behavior.\n\n    event.preventDefault();\n    displayNode.focus();\n    update(true, event);\n  };\n  var handleClose = function handleClose(event) {\n    update(false, event);\n  };\n  var childrenArray = React.Children.toArray(children); // Support autofill.\n\n  var handleChange = function handleChange(event) {\n    var index = childrenArray.map(function (child) {\n      return child.props.value;\n    }).indexOf(event.target.value);\n    if (index === -1) {\n      return;\n    }\n    var child = childrenArray[index];\n    setValue(child.props.value);\n    if (onChange) {\n      onChange(event, child);\n    }\n  };\n  var handleItemClick = function handleItemClick(child) {\n    return function (event) {\n      if (!multiple) {\n        update(false, event);\n      }\n      var newValue;\n      if (multiple) {\n        newValue = Array.isArray(value) ? value.slice() : [];\n        var itemIndex = value.indexOf(child.props.value);\n        if (itemIndex === -1) {\n          newValue.push(child.props.value);\n        } else {\n          newValue.splice(itemIndex, 1);\n        }\n      } else {\n        newValue = child.props.value;\n      }\n      if (child.props.onClick) {\n        child.props.onClick(event);\n      }\n      if (value === newValue) {\n        return;\n      }\n      setValue(newValue);\n      if (onChange) {\n        event.persist(); // Preact support, target is read only property on a native event.\n\n        Object.defineProperty(event, 'target', {\n          writable: true,\n          value: {\n            value: newValue,\n            name: name\n          }\n        });\n        onChange(event, child);\n      }\n    };\n  };\n  var handleKeyDown = function handleKeyDown(event) {\n    if (!readOnly) {\n      var validKeys = [' ', 'ArrowUp', 'ArrowDown',\n      // The native select doesn't respond to enter on MacOS, but it's recommended by\n      // https://www.w3.org/TR/wai-aria-practices/examples/listbox/listbox-collapsible.html\n      'Enter'];\n      if (validKeys.indexOf(event.key) !== -1) {\n        event.preventDefault();\n        update(true, event);\n      }\n    }\n  };\n  var open = displayNode !== null && (isOpenControlled ? openProp : openState);\n  var handleBlur = function handleBlur(event) {\n    // if open event.stopImmediatePropagation\n    if (!open && onBlur) {\n      event.persist(); // Preact support, target is read only property on a native event.\n\n      Object.defineProperty(event, 'target', {\n        writable: true,\n        value: {\n          value: value,\n          name: name\n        }\n      });\n      onBlur(event);\n    }\n  };\n  delete other['aria-invalid'];\n  var display;\n  var displaySingle;\n  var displayMultiple = [];\n  var computeDisplay = false;\n  var foundMatch = false; // No need to display any value if the field is empty.\n\n  if (isFilled({\n    value: value\n  }) || displayEmpty) {\n    if (renderValue) {\n      display = renderValue(value);\n    } else {\n      computeDisplay = true;\n    }\n  }\n  var items = childrenArray.map(function (child) {\n    if (! /*#__PURE__*/React.isValidElement(child)) {\n      return null;\n    }\n    if (process.env.NODE_ENV !== 'production') {\n      if (isFragment(child)) {\n        console.error([\"Material-UI: The Select component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n      }\n    }\n    var selected;\n    if (multiple) {\n      if (!Array.isArray(value)) {\n        throw new Error(process.env.NODE_ENV !== \"production\" ? \"Material-UI: The `value` prop must be an array when using the `Select` component with `multiple`.\" : _formatMuiErrorMessage(2));\n      }\n      selected = value.some(function (v) {\n        return areEqualValues(v, child.props.value);\n      });\n      if (selected && computeDisplay) {\n        displayMultiple.push(child.props.children);\n      }\n    } else {\n      selected = areEqualValues(value, child.props.value);\n      if (selected && computeDisplay) {\n        displaySingle = child.props.children;\n      }\n    }\n    if (selected) {\n      foundMatch = true;\n    }\n    return /*#__PURE__*/React.cloneElement(child, {\n      'aria-selected': selected ? 'true' : undefined,\n      onClick: handleItemClick(child),\n      onKeyUp: function onKeyUp(event) {\n        if (event.key === ' ') {\n          // otherwise our MenuItems dispatches a click event\n          // it's not behavior of the native <option> and causes\n          // the select to close immediately since we open on space keydown\n          event.preventDefault();\n        }\n        if (child.props.onKeyUp) {\n          child.props.onKeyUp(event);\n        }\n      },\n      role: 'option',\n      selected: selected,\n      value: undefined,\n      // The value is most likely not a valid HTML attribute.\n      'data-value': child.props.value // Instead, we provide it as a data attribute.\n    });\n  });\n  if (process.env.NODE_ENV !== 'production') {\n    // eslint-disable-next-line react-hooks/rules-of-hooks\n    React.useEffect(function () {\n      if (!foundMatch && !multiple && value !== '') {\n        var values = childrenArray.map(function (child) {\n          return child.props.value;\n        });\n        console.warn([\"Material-UI: You have provided an out-of-range value `\".concat(value, \"` for the select \").concat(name ? \"(name=\\\"\".concat(name, \"\\\") \") : '', \"component.\"), \"Consider providing a value that matches one of the available options or ''.\", \"The available values are \".concat(values.filter(function (x) {\n          return x != null;\n        }).map(function (x) {\n          return \"`\".concat(x, \"`\");\n        }).join(', ') || '\"\"', \".\")].join('\\n'));\n      }\n    }, [foundMatch, childrenArray, multiple, name, value]);\n  }\n  if (computeDisplay) {\n    display = multiple ? displayMultiple.join(', ') : displaySingle;\n  } // Avoid performing a layout computation in the render method.\n\n  var menuMinWidth = menuMinWidthState;\n  if (!autoWidth && isOpenControlled && displayNode) {\n    menuMinWidth = displayNode.clientWidth;\n  }\n  var tabIndex;\n  if (typeof tabIndexProp !== 'undefined') {\n    tabIndex = tabIndexProp;\n  } else {\n    tabIndex = disabled ? null : 0;\n  }\n  var buttonId = SelectDisplayProps.id || (name ? \"mui-component-select-\".concat(name) : undefined);\n  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", _extends({\n    className: clsx(classes.root,\n    // TODO v5: merge root and select\n    classes.select, classes.selectMenu, classes[variant], className, disabled && classes.disabled),\n    ref: setDisplayNode,\n    tabIndex: tabIndex,\n    role: \"button\",\n    \"aria-disabled\": disabled ? 'true' : undefined,\n    \"aria-expanded\": open ? 'true' : undefined,\n    \"aria-haspopup\": \"listbox\",\n    \"aria-label\": ariaLabel,\n    \"aria-labelledby\": [labelId, buttonId].filter(Boolean).join(' ') || undefined,\n    onKeyDown: handleKeyDown,\n    onMouseDown: disabled || readOnly ? null : handleMouseDown,\n    onBlur: handleBlur,\n    onFocus: onFocus\n  }, SelectDisplayProps, {\n    // The id is required for proper a11y\n    id: buttonId\n  }), isEmpty(display) ? /*#__PURE__*/\n  // eslint-disable-next-line react/no-danger\n  React.createElement(\"span\", {\n    dangerouslySetInnerHTML: {\n      __html: '&#8203;'\n    }\n  }) : display), /*#__PURE__*/React.createElement(\"input\", _extends({\n    value: Array.isArray(value) ? value.join(',') : value,\n    name: name,\n    ref: inputRef,\n    \"aria-hidden\": true,\n    onChange: handleChange,\n    tabIndex: -1,\n    className: classes.nativeInput,\n    autoFocus: autoFocus\n  }, other)), /*#__PURE__*/React.createElement(IconComponent, {\n    className: clsx(classes.icon, classes[\"icon\".concat(capitalize(variant))], open && classes.iconOpen, disabled && classes.disabled)\n  }), /*#__PURE__*/React.createElement(Menu, _extends({\n    id: \"menu-\".concat(name || ''),\n    anchorEl: displayNode,\n    open: open,\n    onClose: handleClose\n  }, MenuProps, {\n    MenuListProps: _extends({\n      'aria-labelledby': labelId,\n      role: 'listbox',\n      disableListWrap: true\n    }, MenuProps.MenuListProps),\n    PaperProps: _extends({}, MenuProps.PaperProps, {\n      style: _extends({\n        minWidth: menuMinWidth\n      }, MenuProps.PaperProps != null ? MenuProps.PaperProps.style : null)\n    })\n  }), items));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default SelectInput;","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon(/*#__PURE__*/React.createElement(\"path\", {\n  d: \"M7 10l5 5 5-5z\"\n}), 'ArrowDropDown');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport capitalize from '../utils/capitalize';\n/**\n * @ignore - internal component.\n */\n\nvar NativeSelectInput = /*#__PURE__*/React.forwardRef(function NativeSelectInput(props, ref) {\n  var classes = props.classes,\n    className = props.className,\n    disabled = props.disabled,\n    IconComponent = props.IconComponent,\n    inputRef = props.inputRef,\n    _props$variant = props.variant,\n    variant = _props$variant === void 0 ? 'standard' : _props$variant,\n    other = _objectWithoutProperties(props, [\"classes\", \"className\", \"disabled\", \"IconComponent\", \"inputRef\", \"variant\"]);\n  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"select\", _extends({\n    className: clsx(classes.root,\n    // TODO v5: merge root and select\n    classes.select, classes[variant], className, disabled && classes.disabled),\n    disabled: disabled,\n    ref: inputRef || ref\n  }, other)), props.multiple ? null : /*#__PURE__*/React.createElement(IconComponent, {\n    className: clsx(classes.icon, classes[\"icon\".concat(capitalize(variant))], disabled && classes.disabled)\n  }));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default NativeSelectInput;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport NativeSelectInput from './NativeSelectInput';\nimport withStyles from '../styles/withStyles';\nimport formControlState from '../FormControl/formControlState';\nimport useFormControl from '../FormControl/useFormControl';\nimport ArrowDropDownIcon from '../internal/svg-icons/ArrowDropDown';\nimport Input from '../Input';\nexport var styles = function styles(theme) {\n  return {\n    /* Styles applied to the select component `root` class. */\n    root: {},\n    /* Styles applied to the select component `select` class. */\n    select: {\n      '-moz-appearance': 'none',\n      // Reset\n      '-webkit-appearance': 'none',\n      // Reset\n      // When interacting quickly, the text can end up selected.\n      // Native select can't be selected either.\n      userSelect: 'none',\n      borderRadius: 0,\n      // Reset\n      minWidth: 16,\n      // So it doesn't collapse.\n      cursor: 'pointer',\n      '&:focus': {\n        // Show that it's not an text input\n        backgroundColor: theme.palette.type === 'light' ? 'rgba(0, 0, 0, 0.05)' : 'rgba(255, 255, 255, 0.05)',\n        borderRadius: 0 // Reset Chrome style\n      },\n      // Remove IE 11 arrow\n      '&::-ms-expand': {\n        display: 'none'\n      },\n      '&$disabled': {\n        cursor: 'default'\n      },\n      '&[multiple]': {\n        height: 'auto'\n      },\n      '&:not([multiple]) option, &:not([multiple]) optgroup': {\n        backgroundColor: theme.palette.background.paper\n      },\n      '&&': {\n        paddingRight: 24\n      }\n    },\n    /* Styles applied to the select component if `variant=\"filled\"`. */\n    filled: {\n      '&&': {\n        paddingRight: 32\n      }\n    },\n    /* Styles applied to the select component if `variant=\"outlined\"`. */\n    outlined: {\n      borderRadius: theme.shape.borderRadius,\n      '&&': {\n        paddingRight: 32\n      }\n    },\n    /* Styles applied to the select component `selectMenu` class. */\n    selectMenu: {\n      height: 'auto',\n      // Resets for multpile select with chips\n      minHeight: '1.1876em',\n      // Required for select\\text-field height consistency\n      textOverflow: 'ellipsis',\n      whiteSpace: 'nowrap',\n      overflow: 'hidden'\n    },\n    /* Pseudo-class applied to the select component `disabled` class. */\n    disabled: {},\n    /* Styles applied to the icon component. */\n    icon: {\n      // We use a position absolute over a flexbox in order to forward the pointer events\n      // to the input and to support wrapping tags..\n      position: 'absolute',\n      right: 0,\n      top: 'calc(50% - 12px)',\n      // Center vertically\n      pointerEvents: 'none',\n      // Don't block pointer events on the select under the icon.\n      color: theme.palette.action.active,\n      '&$disabled': {\n        color: theme.palette.action.disabled\n      }\n    },\n    /* Styles applied to the icon component if the popup is open. */\n    iconOpen: {\n      transform: 'rotate(180deg)'\n    },\n    /* Styles applied to the icon component if `variant=\"filled\"`. */\n    iconFilled: {\n      right: 7\n    },\n    /* Styles applied to the icon component if `variant=\"outlined\"`. */\n    iconOutlined: {\n      right: 7\n    },\n    /* Styles applied to the underlying native input component. */\n    nativeInput: {\n      bottom: 0,\n      left: 0,\n      position: 'absolute',\n      opacity: 0,\n      pointerEvents: 'none',\n      width: '100%'\n    }\n  };\n};\nvar defaultInput = /*#__PURE__*/React.createElement(Input, null);\n/**\n * An alternative to `<Select native />` with a much smaller bundle size footprint.\n */\n\nvar NativeSelect = /*#__PURE__*/React.forwardRef(function NativeSelect(props, ref) {\n  var children = props.children,\n    classes = props.classes,\n    _props$IconComponent = props.IconComponent,\n    IconComponent = _props$IconComponent === void 0 ? ArrowDropDownIcon : _props$IconComponent,\n    _props$input = props.input,\n    input = _props$input === void 0 ? defaultInput : _props$input,\n    inputProps = props.inputProps,\n    variant = props.variant,\n    other = _objectWithoutProperties(props, [\"children\", \"classes\", \"IconComponent\", \"input\", \"inputProps\", \"variant\"]);\n  var muiFormControl = useFormControl();\n  var fcs = formControlState({\n    props: props,\n    muiFormControl: muiFormControl,\n    states: ['variant']\n  });\n  return /*#__PURE__*/React.cloneElement(input, _extends({\n    // Most of the logic is implemented in `NativeSelectInput`.\n    // The `Select` component is a simple API wrapper to expose something better to play with.\n    inputComponent: NativeSelectInput,\n    inputProps: _extends({\n      children: children,\n      classes: classes,\n      IconComponent: IconComponent,\n      variant: fcs.variant,\n      type: undefined\n    }, inputProps, input ? input.props.inputProps : {}),\n    ref: ref\n  }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nNativeSelect.muiName = 'Select';\nexport default withStyles(styles, {\n  name: 'MuiNativeSelect'\n})(NativeSelect);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport InputBase from '../InputBase';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n  var light = theme.palette.type === 'light';\n  var bottomLineColor = light ? 'rgba(0, 0, 0, 0.42)' : 'rgba(255, 255, 255, 0.7)';\n  var backgroundColor = light ? 'rgba(0, 0, 0, 0.09)' : 'rgba(255, 255, 255, 0.09)';\n  return {\n    /* Styles applied to the root element. */\n    root: {\n      position: 'relative',\n      backgroundColor: backgroundColor,\n      borderTopLeftRadius: theme.shape.borderRadius,\n      borderTopRightRadius: theme.shape.borderRadius,\n      transition: theme.transitions.create('background-color', {\n        duration: theme.transitions.duration.shorter,\n        easing: theme.transitions.easing.easeOut\n      }),\n      '&:hover': {\n        backgroundColor: light ? 'rgba(0, 0, 0, 0.13)' : 'rgba(255, 255, 255, 0.13)',\n        // Reset on touch devices, it doesn't add specificity\n        '@media (hover: none)': {\n          backgroundColor: backgroundColor\n        }\n      },\n      '&$focused': {\n        backgroundColor: light ? 'rgba(0, 0, 0, 0.09)' : 'rgba(255, 255, 255, 0.09)'\n      },\n      '&$disabled': {\n        backgroundColor: light ? 'rgba(0, 0, 0, 0.12)' : 'rgba(255, 255, 255, 0.12)'\n      }\n    },\n    /* Styles applied to the root element if color secondary. */\n    colorSecondary: {\n      '&$underline:after': {\n        borderBottomColor: theme.palette.secondary.main\n      }\n    },\n    /* Styles applied to the root element if `disableUnderline={false}`. */\n    underline: {\n      '&:after': {\n        borderBottom: \"2px solid \".concat(theme.palette.primary.main),\n        left: 0,\n        bottom: 0,\n        // Doing the other way around crash on IE 11 \"''\" https://github.com/cssinjs/jss/issues/242\n        content: '\"\"',\n        position: 'absolute',\n        right: 0,\n        transform: 'scaleX(0)',\n        transition: theme.transitions.create('transform', {\n          duration: theme.transitions.duration.shorter,\n          easing: theme.transitions.easing.easeOut\n        }),\n        pointerEvents: 'none' // Transparent to the hover style.\n      },\n      '&$focused:after': {\n        transform: 'scaleX(1)'\n      },\n      '&$error:after': {\n        borderBottomColor: theme.palette.error.main,\n        transform: 'scaleX(1)' // error is always underlined in red\n      },\n      '&:before': {\n        borderBottom: \"1px solid \".concat(bottomLineColor),\n        left: 0,\n        bottom: 0,\n        // Doing the other way around crash on IE 11 \"''\" https://github.com/cssinjs/jss/issues/242\n        content: '\"\\\\00a0\"',\n        position: 'absolute',\n        right: 0,\n        transition: theme.transitions.create('border-bottom-color', {\n          duration: theme.transitions.duration.shorter\n        }),\n        pointerEvents: 'none' // Transparent to the hover style.\n      },\n      '&:hover:before': {\n        borderBottom: \"1px solid \".concat(theme.palette.text.primary)\n      },\n      '&$disabled:before': {\n        borderBottomStyle: 'dotted'\n      }\n    },\n    /* Pseudo-class applied to the root element if the component is focused. */\n    focused: {},\n    /* Pseudo-class applied to the root element if `disabled={true}`. */\n    disabled: {},\n    /* Styles applied to the root element if `startAdornment` is provided. */\n    adornedStart: {\n      paddingLeft: 12\n    },\n    /* Styles applied to the root element if `endAdornment` is provided. */\n    adornedEnd: {\n      paddingRight: 12\n    },\n    /* Pseudo-class applied to the root element if `error={true}`. */\n    error: {},\n    /* Styles applied to the `input` element if `margin=\"dense\"`. */\n    marginDense: {},\n    /* Styles applied to the root element if `multiline={true}`. */\n    multiline: {\n      padding: '27px 12px 10px',\n      '&$marginDense': {\n        paddingTop: 23,\n        paddingBottom: 6\n      }\n    },\n    /* Styles applied to the `input` element. */\n    input: {\n      padding: '27px 12px 10px',\n      '&:-webkit-autofill': {\n        WebkitBoxShadow: theme.palette.type === 'light' ? null : '0 0 0 100px #266798 inset',\n        WebkitTextFillColor: theme.palette.type === 'light' ? null : '#fff',\n        caretColor: theme.palette.type === 'light' ? null : '#fff',\n        borderTopLeftRadius: 'inherit',\n        borderTopRightRadius: 'inherit'\n      }\n    },\n    /* Styles applied to the `input` element if `margin=\"dense\"`. */\n    inputMarginDense: {\n      paddingTop: 23,\n      paddingBottom: 6\n    },\n    /* Styles applied to the `input` if in `<FormControl hiddenLabel />`. */\n    inputHiddenLabel: {\n      paddingTop: 18,\n      paddingBottom: 19,\n      '&$inputMarginDense': {\n        paddingTop: 10,\n        paddingBottom: 11\n      }\n    },\n    /* Styles applied to the `input` element if `multiline={true}`. */\n    inputMultiline: {\n      padding: 0\n    },\n    /* Styles applied to the `input` element if `startAdornment` is provided. */\n    inputAdornedStart: {\n      paddingLeft: 0\n    },\n    /* Styles applied to the `input` element if `endAdornment` is provided. */\n    inputAdornedEnd: {\n      paddingRight: 0\n    }\n  };\n};\nvar FilledInput = /*#__PURE__*/React.forwardRef(function FilledInput(props, ref) {\n  var disableUnderline = props.disableUnderline,\n    classes = props.classes,\n    _props$fullWidth = props.fullWidth,\n    fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n    _props$inputComponent = props.inputComponent,\n    inputComponent = _props$inputComponent === void 0 ? 'input' : _props$inputComponent,\n    _props$multiline = props.multiline,\n    multiline = _props$multiline === void 0 ? false : _props$multiline,\n    _props$type = props.type,\n    type = _props$type === void 0 ? 'text' : _props$type,\n    other = _objectWithoutProperties(props, [\"disableUnderline\", \"classes\", \"fullWidth\", \"inputComponent\", \"multiline\", \"type\"]);\n  return /*#__PURE__*/React.createElement(InputBase, _extends({\n    classes: _extends({}, classes, {\n      root: clsx(classes.root, !disableUnderline && classes.underline),\n      underline: null\n    }),\n    fullWidth: fullWidth,\n    inputComponent: inputComponent,\n    multiline: multiline,\n    ref: ref,\n    type: type\n  }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nFilledInput.muiName = 'Input';\nexport default withStyles(styles, {\n  name: 'MuiFilledInput'\n})(FilledInput);","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport useTheme from '../styles/useTheme';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n  return {\n    /* Styles applied to the root element. */\n    root: {\n      position: 'absolute',\n      bottom: 0,\n      right: 0,\n      top: -5,\n      left: 0,\n      margin: 0,\n      padding: '0 8px',\n      pointerEvents: 'none',\n      borderRadius: 'inherit',\n      borderStyle: 'solid',\n      borderWidth: 1,\n      overflow: 'hidden'\n    },\n    /* Styles applied to the legend element when `labelWidth` is provided. */\n    legend: {\n      textAlign: 'left',\n      padding: 0,\n      lineHeight: '11px',\n      // sync with `height` in `legend` styles\n      transition: theme.transitions.create('width', {\n        duration: 150,\n        easing: theme.transitions.easing.easeOut\n      })\n    },\n    /* Styles applied to the legend element. */\n    legendLabelled: {\n      display: 'block',\n      width: 'auto',\n      textAlign: 'left',\n      padding: 0,\n      height: 11,\n      // sync with `lineHeight` in `legend` styles\n      fontSize: '0.75em',\n      visibility: 'hidden',\n      maxWidth: 0.01,\n      transition: theme.transitions.create('max-width', {\n        duration: 50,\n        easing: theme.transitions.easing.easeOut\n      }),\n      '& > span': {\n        paddingLeft: 5,\n        paddingRight: 5,\n        display: 'inline-block'\n      }\n    },\n    /* Styles applied to the legend element is notched. */\n    legendNotched: {\n      maxWidth: 1000,\n      transition: theme.transitions.create('max-width', {\n        duration: 100,\n        easing: theme.transitions.easing.easeOut,\n        delay: 50\n      })\n    }\n  };\n};\n/**\n * @ignore - internal component.\n */\n\nvar NotchedOutline = /*#__PURE__*/React.forwardRef(function NotchedOutline(props, ref) {\n  var children = props.children,\n    classes = props.classes,\n    className = props.className,\n    label = props.label,\n    labelWidthProp = props.labelWidth,\n    notched = props.notched,\n    style = props.style,\n    other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"label\", \"labelWidth\", \"notched\", \"style\"]);\n  var theme = useTheme();\n  var align = theme.direction === 'rtl' ? 'right' : 'left';\n  if (label !== undefined) {\n    return /*#__PURE__*/React.createElement(\"fieldset\", _extends({\n      \"aria-hidden\": true,\n      className: clsx(classes.root, className),\n      ref: ref,\n      style: style\n    }, other), /*#__PURE__*/React.createElement(\"legend\", {\n      className: clsx(classes.legendLabelled, notched && classes.legendNotched)\n    }, label ? /*#__PURE__*/React.createElement(\"span\", null, label) : /*#__PURE__*/React.createElement(\"span\", {\n      dangerouslySetInnerHTML: {\n        __html: '&#8203;'\n      }\n    })));\n  }\n  var labelWidth = labelWidthProp > 0 ? labelWidthProp * 0.75 + 8 : 0.01;\n  return /*#__PURE__*/React.createElement(\"fieldset\", _extends({\n    \"aria-hidden\": true,\n    style: _extends(_defineProperty({}, \"padding\".concat(capitalize(align)), 8), style),\n    className: clsx(classes.root, className),\n    ref: ref\n  }, other), /*#__PURE__*/React.createElement(\"legend\", {\n    className: classes.legend,\n    style: {\n      // IE 11: fieldset with legend does not render\n      // a border radius. This maintains consistency\n      // by always having a legend rendered\n      width: notched ? labelWidth : 0.01\n    }\n  }, /*#__PURE__*/React.createElement(\"span\", {\n    dangerouslySetInnerHTML: {\n      __html: '&#8203;'\n    }\n  })));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n  name: 'PrivateNotchedOutline'\n})(NotchedOutline);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport InputBase from '../InputBase';\nimport NotchedOutline from './NotchedOutline';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n  var borderColor = theme.palette.type === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';\n  return {\n    /* Styles applied to the root element. */\n    root: {\n      position: 'relative',\n      borderRadius: theme.shape.borderRadius,\n      '&:hover $notchedOutline': {\n        borderColor: theme.palette.text.primary\n      },\n      // Reset on touch devices, it doesn't add specificity\n      '@media (hover: none)': {\n        '&:hover $notchedOutline': {\n          borderColor: borderColor\n        }\n      },\n      '&$focused $notchedOutline': {\n        borderColor: theme.palette.primary.main,\n        borderWidth: 2\n      },\n      '&$error $notchedOutline': {\n        borderColor: theme.palette.error.main\n      },\n      '&$disabled $notchedOutline': {\n        borderColor: theme.palette.action.disabled\n      }\n    },\n    /* Styles applied to the root element if the color is secondary. */\n    colorSecondary: {\n      '&$focused $notchedOutline': {\n        borderColor: theme.palette.secondary.main\n      }\n    },\n    /* Styles applied to the root element if the component is focused. */\n    focused: {},\n    /* Styles applied to the root element if `disabled={true}`. */\n    disabled: {},\n    /* Styles applied to the root element if `startAdornment` is provided. */\n    adornedStart: {\n      paddingLeft: 14\n    },\n    /* Styles applied to the root element if `endAdornment` is provided. */\n    adornedEnd: {\n      paddingRight: 14\n    },\n    /* Pseudo-class applied to the root element if `error={true}`. */\n    error: {},\n    /* Styles applied to the `input` element if `margin=\"dense\"`. */\n    marginDense: {},\n    /* Styles applied to the root element if `multiline={true}`. */\n    multiline: {\n      padding: '18.5px 14px',\n      '&$marginDense': {\n        paddingTop: 10.5,\n        paddingBottom: 10.5\n      }\n    },\n    /* Styles applied to the `NotchedOutline` element. */\n    notchedOutline: {\n      borderColor: borderColor\n    },\n    /* Styles applied to the `input` element. */\n    input: {\n      padding: '18.5px 14px',\n      '&:-webkit-autofill': {\n        WebkitBoxShadow: theme.palette.type === 'light' ? null : '0 0 0 100px #266798 inset',\n        WebkitTextFillColor: theme.palette.type === 'light' ? null : '#fff',\n        caretColor: theme.palette.type === 'light' ? null : '#fff',\n        borderRadius: 'inherit'\n      }\n    },\n    /* Styles applied to the `input` element if `margin=\"dense\"`. */\n    inputMarginDense: {\n      paddingTop: 10.5,\n      paddingBottom: 10.5\n    },\n    /* Styles applied to the `input` element if `multiline={true}`. */\n    inputMultiline: {\n      padding: 0\n    },\n    /* Styles applied to the `input` element if `startAdornment` is provided. */\n    inputAdornedStart: {\n      paddingLeft: 0\n    },\n    /* Styles applied to the `input` element if `endAdornment` is provided. */\n    inputAdornedEnd: {\n      paddingRight: 0\n    }\n  };\n};\nvar OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(props, ref) {\n  var classes = props.classes,\n    _props$fullWidth = props.fullWidth,\n    fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n    _props$inputComponent = props.inputComponent,\n    inputComponent = _props$inputComponent === void 0 ? 'input' : _props$inputComponent,\n    label = props.label,\n    _props$labelWidth = props.labelWidth,\n    labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth,\n    _props$multiline = props.multiline,\n    multiline = _props$multiline === void 0 ? false : _props$multiline,\n    notched = props.notched,\n    _props$type = props.type,\n    type = _props$type === void 0 ? 'text' : _props$type,\n    other = _objectWithoutProperties(props, [\"classes\", \"fullWidth\", \"inputComponent\", \"label\", \"labelWidth\", \"multiline\", \"notched\", \"type\"]);\n  return /*#__PURE__*/React.createElement(InputBase, _extends({\n    renderSuffix: function renderSuffix(state) {\n      return /*#__PURE__*/React.createElement(NotchedOutline, {\n        className: classes.notchedOutline,\n        label: label,\n        labelWidth: labelWidth,\n        notched: typeof notched !== 'undefined' ? notched : Boolean(state.startAdornment || state.filled || state.focused)\n      });\n    },\n    classes: _extends({}, classes, {\n      root: clsx(classes.root, classes.underline),\n      notchedOutline: null\n    }),\n    fullWidth: fullWidth,\n    inputComponent: inputComponent,\n    multiline: multiline,\n    ref: ref,\n    type: type\n  }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nOutlinedInput.muiName = 'Input';\nexport default withStyles(styles, {\n  name: 'MuiOutlinedInput'\n})(OutlinedInput);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { mergeClasses } from '@material-ui/styles';\nimport SelectInput from './SelectInput';\nimport formControlState from '../FormControl/formControlState';\nimport useFormControl from '../FormControl/useFormControl';\nimport withStyles from '../styles/withStyles';\nimport ArrowDropDownIcon from '../internal/svg-icons/ArrowDropDown';\nimport Input from '../Input';\nimport { styles as nativeSelectStyles } from '../NativeSelect/NativeSelect';\nimport NativeSelectInput from '../NativeSelect/NativeSelectInput';\nimport FilledInput from '../FilledInput';\nimport OutlinedInput from '../OutlinedInput';\nexport var styles = nativeSelectStyles;\nvar _ref = /*#__PURE__*/React.createElement(Input, null);\nvar _ref2 = /*#__PURE__*/React.createElement(FilledInput, null);\nvar Select = /*#__PURE__*/React.forwardRef(function Select(props, ref) {\n  var _props$autoWidth = props.autoWidth,\n    autoWidth = _props$autoWidth === void 0 ? false : _props$autoWidth,\n    children = props.children,\n    classes = props.classes,\n    _props$displayEmpty = props.displayEmpty,\n    displayEmpty = _props$displayEmpty === void 0 ? false : _props$displayEmpty,\n    _props$IconComponent = props.IconComponent,\n    IconComponent = _props$IconComponent === void 0 ? ArrowDropDownIcon : _props$IconComponent,\n    id = props.id,\n    input = props.input,\n    inputProps = props.inputProps,\n    label = props.label,\n    labelId = props.labelId,\n    _props$labelWidth = props.labelWidth,\n    labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth,\n    MenuProps = props.MenuProps,\n    _props$multiple = props.multiple,\n    multiple = _props$multiple === void 0 ? false : _props$multiple,\n    _props$native = props.native,\n    native = _props$native === void 0 ? false : _props$native,\n    onClose = props.onClose,\n    onOpen = props.onOpen,\n    open = props.open,\n    renderValue = props.renderValue,\n    SelectDisplayProps = props.SelectDisplayProps,\n    _props$variant = props.variant,\n    variantProps = _props$variant === void 0 ? 'standard' : _props$variant,\n    other = _objectWithoutProperties(props, [\"autoWidth\", \"children\", \"classes\", \"displayEmpty\", \"IconComponent\", \"id\", \"input\", \"inputProps\", \"label\", \"labelId\", \"labelWidth\", \"MenuProps\", \"multiple\", \"native\", \"onClose\", \"onOpen\", \"open\", \"renderValue\", \"SelectDisplayProps\", \"variant\"]);\n  var inputComponent = native ? NativeSelectInput : SelectInput;\n  var muiFormControl = useFormControl();\n  var fcs = formControlState({\n    props: props,\n    muiFormControl: muiFormControl,\n    states: ['variant']\n  });\n  var variant = fcs.variant || variantProps;\n  var InputComponent = input || {\n    standard: _ref,\n    outlined: /*#__PURE__*/React.createElement(OutlinedInput, {\n      label: label,\n      labelWidth: labelWidth\n    }),\n    filled: _ref2\n  }[variant];\n  return /*#__PURE__*/React.cloneElement(InputComponent, _extends({\n    // Most of the logic is implemented in `SelectInput`.\n    // The `Select` component is a simple API wrapper to expose something better to play with.\n    inputComponent: inputComponent,\n    inputProps: _extends({\n      children: children,\n      IconComponent: IconComponent,\n      variant: variant,\n      type: undefined,\n      // We render a select. We can ignore the type provided by the `Input`.\n      multiple: multiple\n    }, native ? {\n      id: id\n    } : {\n      autoWidth: autoWidth,\n      displayEmpty: displayEmpty,\n      labelId: labelId,\n      MenuProps: MenuProps,\n      onClose: onClose,\n      onOpen: onOpen,\n      open: open,\n      renderValue: renderValue,\n      SelectDisplayProps: _extends({\n        id: id\n      }, SelectDisplayProps)\n    }, inputProps, {\n      classes: inputProps ? mergeClasses({\n        baseClasses: classes,\n        newClasses: inputProps.classes,\n        Component: Select\n      }) : classes\n    }, input ? input.props.inputProps : {}),\n    ref: ref\n  }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nSelect.muiName = 'Select';\nexport default withStyles(styles, {\n  name: 'MuiSelect'\n})(Select);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nimport isMuiElement from '../utils/isMuiElement';\nimport useForkRef from '../utils/useForkRef';\nimport ListContext from '../List/ListContext';\nimport * as ReactDOM from 'react-dom';\nexport var styles = function styles(theme) {\n  return {\n    /* Styles applied to the (normally root) `component` element. May be wrapped by a `container`. */\n    root: {\n      display: 'flex',\n      justifyContent: 'flex-start',\n      alignItems: 'center',\n      position: 'relative',\n      textDecoration: 'none',\n      width: '100%',\n      boxSizing: 'border-box',\n      textAlign: 'left',\n      paddingTop: 8,\n      paddingBottom: 8,\n      '&$focusVisible': {\n        backgroundColor: theme.palette.action.selected\n      },\n      '&$selected, &$selected:hover': {\n        backgroundColor: theme.palette.action.selected\n      },\n      '&$disabled': {\n        opacity: 0.5\n      }\n    },\n    /* Styles applied to the `container` element if `children` includes `ListItemSecondaryAction`. */\n    container: {\n      position: 'relative'\n    },\n    /* Pseudo-class applied to the `component`'s `focusVisibleClassName` prop if `button={true}`. */\n    focusVisible: {},\n    /* Styles applied to the `component` element if dense. */\n    dense: {\n      paddingTop: 4,\n      paddingBottom: 4\n    },\n    /* Styles applied to the `component` element if `alignItems=\"flex-start\"`. */\n    alignItemsFlexStart: {\n      alignItems: 'flex-start'\n    },\n    /* Pseudo-class applied to the inner `component` element if `disabled={true}`. */\n    disabled: {},\n    /* Styles applied to the inner `component` element if `divider={true}`. */\n    divider: {\n      borderBottom: \"1px solid \".concat(theme.palette.divider),\n      backgroundClip: 'padding-box'\n    },\n    /* Styles applied to the inner `component` element if `disableGutters={false}`. */\n    gutters: {\n      paddingLeft: 16,\n      paddingRight: 16\n    },\n    /* Styles applied to the inner `component` element if `button={true}`. */\n    button: {\n      transition: theme.transitions.create('background-color', {\n        duration: theme.transitions.duration.shortest\n      }),\n      '&:hover': {\n        textDecoration: 'none',\n        backgroundColor: theme.palette.action.hover,\n        // Reset on touch devices, it doesn't add specificity\n        '@media (hover: none)': {\n          backgroundColor: 'transparent'\n        }\n      }\n    },\n    /* Styles applied to the `component` element if `children` includes `ListItemSecondaryAction`. */\n    secondaryAction: {\n      // Add some space to avoid collision as `ListItemSecondaryAction`\n      // is absolutely positioned.\n      paddingRight: 48\n    },\n    /* Pseudo-class applied to the root element if `selected={true}`. */\n    selected: {}\n  };\n};\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n/**\n * Uses an additional container component if `ListItemSecondaryAction` is the last child.\n */\n\nvar ListItem = /*#__PURE__*/React.forwardRef(function ListItem(props, ref) {\n  var _props$alignItems = props.alignItems,\n    alignItems = _props$alignItems === void 0 ? 'center' : _props$alignItems,\n    _props$autoFocus = props.autoFocus,\n    autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus,\n    _props$button = props.button,\n    button = _props$button === void 0 ? false : _props$button,\n    childrenProp = props.children,\n    classes = props.classes,\n    className = props.className,\n    componentProp = props.component,\n    _props$ContainerCompo = props.ContainerComponent,\n    ContainerComponent = _props$ContainerCompo === void 0 ? 'li' : _props$ContainerCompo,\n    _props$ContainerProps = props.ContainerProps;\n  _props$ContainerProps = _props$ContainerProps === void 0 ? {} : _props$ContainerProps;\n  var ContainerClassName = _props$ContainerProps.className,\n    ContainerProps = _objectWithoutProperties(_props$ContainerProps, [\"className\"]),\n    _props$dense = props.dense,\n    dense = _props$dense === void 0 ? false : _props$dense,\n    _props$disabled = props.disabled,\n    disabled = _props$disabled === void 0 ? false : _props$disabled,\n    _props$disableGutters = props.disableGutters,\n    disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,\n    _props$divider = props.divider,\n    divider = _props$divider === void 0 ? false : _props$divider,\n    focusVisibleClassName = props.focusVisibleClassName,\n    _props$selected = props.selected,\n    selected = _props$selected === void 0 ? false : _props$selected,\n    other = _objectWithoutProperties(props, [\"alignItems\", \"autoFocus\", \"button\", \"children\", \"classes\", \"className\", \"component\", \"ContainerComponent\", \"ContainerProps\", \"dense\", \"disabled\", \"disableGutters\", \"divider\", \"focusVisibleClassName\", \"selected\"]);\n  var context = React.useContext(ListContext);\n  var childContext = {\n    dense: dense || context.dense || false,\n    alignItems: alignItems\n  };\n  var listItemRef = React.useRef(null);\n  useEnhancedEffect(function () {\n    if (autoFocus) {\n      if (listItemRef.current) {\n        listItemRef.current.focus();\n      } else if (process.env.NODE_ENV !== 'production') {\n        console.error('Material-UI: Unable to set focus to a ListItem whose component has not been rendered.');\n      }\n    }\n  }, [autoFocus]);\n  var children = React.Children.toArray(childrenProp);\n  var hasSecondaryAction = children.length && isMuiElement(children[children.length - 1], ['ListItemSecondaryAction']);\n  var handleOwnRef = React.useCallback(function (instance) {\n    // #StrictMode ready\n    listItemRef.current = ReactDOM.findDOMNode(instance);\n  }, []);\n  var handleRef = useForkRef(handleOwnRef, ref);\n  var componentProps = _extends({\n    className: clsx(classes.root, className, childContext.dense && classes.dense, !disableGutters && classes.gutters, divider && classes.divider, disabled && classes.disabled, button && classes.button, alignItems !== \"center\" && classes.alignItemsFlexStart, hasSecondaryAction && classes.secondaryAction, selected && classes.selected),\n    disabled: disabled\n  }, other);\n  var Component = componentProp || 'li';\n  if (button) {\n    componentProps.component = componentProp || 'div';\n    componentProps.focusVisibleClassName = clsx(classes.focusVisible, focusVisibleClassName);\n    Component = ButtonBase;\n  }\n  if (hasSecondaryAction) {\n    // Use div by default.\n    Component = !componentProps.component && !componentProp ? 'div' : Component; // Avoid nesting of li > li.\n\n    if (ContainerComponent === 'li') {\n      if (Component === 'li') {\n        Component = 'div';\n      } else if (componentProps.component === 'li') {\n        componentProps.component = 'div';\n      }\n    }\n    return /*#__PURE__*/React.createElement(ListContext.Provider, {\n      value: childContext\n    }, /*#__PURE__*/React.createElement(ContainerComponent, _extends({\n      className: clsx(classes.container, ContainerClassName),\n      ref: handleRef\n    }, ContainerProps), /*#__PURE__*/React.createElement(Component, componentProps, children), children.pop()));\n  }\n  return /*#__PURE__*/React.createElement(ListContext.Provider, {\n    value: childContext\n  }, /*#__PURE__*/React.createElement(Component, _extends({\n    ref: handleRef\n  }, componentProps), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n  name: 'MuiListItem'\n})(ListItem);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ListItem from '../ListItem';\nexport var styles = function styles(theme) {\n  return {\n    /* Styles applied to the root element. */\n    root: _extends({}, theme.typography.body1, _defineProperty({\n      minHeight: 48,\n      paddingTop: 6,\n      paddingBottom: 6,\n      boxSizing: 'border-box',\n      width: 'auto',\n      overflow: 'hidden',\n      whiteSpace: 'nowrap'\n    }, theme.breakpoints.up('sm'), {\n      minHeight: 'auto'\n    })),\n    // TODO v5: remove\n\n    /* Styles applied to the root element if `disableGutters={false}`. */\n    gutters: {},\n    /* Styles applied to the root element if `selected={true}`. */\n    selected: {},\n    /* Styles applied to the root element if dense. */\n    dense: _extends({}, theme.typography.body2, {\n      minHeight: 'auto'\n    })\n  };\n};\nvar MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(props, ref) {\n  var classes = props.classes,\n    className = props.className,\n    _props$component = props.component,\n    component = _props$component === void 0 ? 'li' : _props$component,\n    _props$disableGutters = props.disableGutters,\n    disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,\n    ListItemClasses = props.ListItemClasses,\n    _props$role = props.role,\n    role = _props$role === void 0 ? 'menuitem' : _props$role,\n    selected = props.selected,\n    tabIndexProp = props.tabIndex,\n    other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\", \"disableGutters\", \"ListItemClasses\", \"role\", \"selected\", \"tabIndex\"]);\n  var tabIndex;\n  if (!props.disabled) {\n    tabIndex = tabIndexProp !== undefined ? tabIndexProp : -1;\n  }\n  return /*#__PURE__*/React.createElement(ListItem, _extends({\n    button: true,\n    role: role,\n    tabIndex: tabIndex,\n    component: component,\n    selected: selected,\n    disableGutters: disableGutters,\n    classes: _extends({\n      dense: classes.dense\n    }, ListItemClasses),\n    className: clsx(classes.root, className, selected && classes.selected, !disableGutters && classes.gutters),\n    ref: ref\n  }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n  name: 'MuiMenuItem'\n})(MenuItem);","import React, { useEffect } from \"react\";\nimport PageWithCmsWrapper from \"../components/shared/page-with-cms-wrapper\";\nimport { graphql } from \"gatsby\";\nimport cx from \"classnames\";\nimport CustomButton from \"../components/shared/custom-button\";\nimport { STATUS, validateEmail } from \"../constants/contact\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport { CircularProgress, FormControl, MenuItem, Select, Snackbar } from \"@material-ui/core\";\nimport { Alert } from \"@material-ui/lab\";\nimport { SelectArrow } from \"../pages/contact-us\";\nimport { updateSnakeCaseToCapitalisedText } from \"../utils/helpers\";\nimport InputMask from \"react-input-mask\";\nimport { navigate } from \"gatsby\";\nimport Typography from \"@material-ui/core/Typography\";\nimport queryString from \"query-string\";\n\nconst useStyles = makeStyles((theme) => ({\n  margin: {\n    margin: 50,\n  },\n  passwordFormWrapper: {\n    display: \"flex\",\n    flexDirection: \"column\",\n    alignItems: \"center\",\n    justifyContent: \"center\",\n  },\n  submitButton: {\n    padding: \"8px 38px\",\n    margin: 0,\n    fontSize: \"1.2em\",\n    lineHeight: 1.5,\n  },\n  fieldsContainerMini: {\n    width: \"48%\",\n    marginBottom: 30,\n\n    [theme.breakpoints.down(680)]: {\n      width: \"100%\",\n      marginBottom: 30,\n    },\n  },\n  fieldsContainer: {\n    maxWidth: 450,\n    width: \"100%\",\n    marginBottom: 30,\n  },\n  label: {\n    width: \"100%\",\n    display: \"block\",\n    fontSize: \".75rem\",\n    marginBottom: 10,\n    color: \"#5D5D5D\",\n    textTransform: \"uppercase\",\n  },\n  formControl: {\n    width: \"100%\",\n    \"&.MuiOutlinedInput-notchedOutline\": {\n      borderColor: \"green\",\n    },\n  },\n  input: {\n    outline: 0,\n    borderRadius: 8,\n    border: \"1px solid #ddd\",\n    transition: \"border .12s ease-in-out\",\n    padding: 10,\n    fontSize: \"1.1rem\",\n    lineHeight: \"2rem\",\n    width: \"100%\",\n    fontFamily: \"\\\"Roboto\\\", sans-serif\",\n    paddingLeft: 18,\n\n    \"&:focus\": {\n      outline: 0,\n      border: \"1px solid rgba(241, 90, 41, 1) !important\",\n    },\n    \"&:active\": {\n      outline: 0,\n      border: \"1px solid rgba(241, 90, 41, 1)\",\n    },\n  },\n  inputWithError: {\n    borderColor: \"red !important\",\n  },\n  blurStyle: {\n    filter: \"blur(1px)\",\n  },\n  formControlInput: {\n    padding: \"12px 14px\",\n  },\n  formControlInputOutlined: {\n    padding: 10,\n    paddingLeft: 18,\n    fontSize: \"1.1rem\",\n    lineHeight: \"2rem\",\n  },\n  inputError: {\n    color: \"#cc3340\",\n    borderRadius: 4,\n    lineHeight: \".8rem\",\n    marginTop: 5,\n    padding: 5,\n    position: \"relative\",\n    textAlign: \"left\",\n    verticalAlign: \"middle\",\n    fontSize: \".75rem\",\n    alignItems: \"center\",\n    display: \"flex\",\n  },\n  errorImg: {\n    margin: \"-2px 5px 0 0\",\n  },\n  formContainer: {\n    display: \"flex\",\n    justifyContent: \"center\",\n    flexDirection: \"column\",\n    width: \"100%\",\n    alignItems: \"center\",\n    marginTop: 45,\n    position: \"relative\",\n  },\n  fakeBlockWithScrollingKey: {\n    position: \"absolute\",\n    top: \"-100px\",\n  },\n  formForBot: {\n    maxHeight: 0,\n    overflow: \"hidden\",\n  },\n}));\n\nconst initialSnackbarData = {\n  status: \"\",\n  text: \"\",\n  open: false,\n};\n\nconst LandingPagesTemplate = ({\n                                location,\n                                path,\n                                data: {\n                                  strapiLandingPages: {\n                                    content,\n                                    SeoTitle,\n                                    MetaDescriptions,\n                                    image,\n                                    formFields: {\n                                      fields,\n                                      hidden_fields,\n                                    },\n                                    submitButtonText,\n                                    addPagePathToRequestBody,\n                                    requestUrl,\n                                    runIfRequestIsSuccessOPTION,\n                                    runIfRequestIsSuccessBODY,\n                                    password,\n                                  },\n                                },\n                              }) => {\n  const classes = useStyles();\n  const [form, setForm] = React.useState({});\n  const [hiddenFields, setHiddenFields] = React.useState({});\n  const [errorsList, setErrorsList] = React.useState({});\n  const [isRequestSend, setIsRequestSend] = React.useState(false);\n  const [botValue, setBotValue] = React.useState(\"\");\n  const [snackbarState, setSnackbarState] = React.useState(initialSnackbarData);\n  const [hasAccess, setHasAccess] = React.useState(false);\n  const [userPassword, setUserPassword] = React.useState(\"\");\n  const [userPasswordError, setUserPasswordError] = React.useState(false);\n  const [renderHubspotForm, setRenderHubspotForm] = React.useState(true);\n\n  useEffect(() => {\n    // set default values\n    const _form = {};\n    fields.forEach(field => _form[field.api_name] = field.value || \"\");\n    setForm(_form);\n\n    // set empty error list\n    const _errors = {};\n    fields.forEach(field => _errors[field.api_name] = \"\");\n    setErrorsList(_errors);\n\n    // set empty error list\n    const _hiddenFields = {};\n    hidden_fields.forEach(field => _hiddenFields[field.api_name] = field.value);\n    setHiddenFields(_hiddenFields);\n\n    if (!password) {\n      setHasAccess(true);\n      addHubspotForm();\n    }\n  }, []);\n\n  const trackByGA = () => {\n    typeof window !== \"undefined\" && window.gtag && window.gtag(\"event\", \"click\", {\n      category: \"Form Submission\",\n      label: \"page slug\",\n    });\n  };\n\n  const handleClose = (event, reason) => {\n    if (reason === \"clickaway\") {\n      return;\n    }\n    setSnackbarState(initialSnackbarData);\n  };\n\n  const addHubspotForm = async () => {\n    /* eslint-disable */\n    const queryParamsFromUrl = queryString.parse(location.search);\n    const _hubspotFormId = (queryParamsFromUrl[\"hubspot-form-id\"]);\n\n    if (_hubspotFormId) {\n      const script = document.createElement(\"script\");\n      script.src = \"https://js.hsforms.net/forms/v2.js\";\n      document.body.appendChild(script);\n      script.addEventListener(\"load\", async () => {\n        if (window.hbspt) {\n          const formObj = {\n            region: 'na1',\n            portalId: '39841862',\n            formId: _hubspotFormId,\n            target: \"#hubspotForm\",\n            onFormReady: function() {\n              setRenderHubspotForm(true);\n              document.getElementById(\"loader\").remove();\n              const nameField = document.getElementsByTagName(\"firstname\")[0];\n              nameField.focus();\n              window && window.scrollBy(0, nameField.getBoundingClientRect().top - 200);\n              let { message, reason, subject } = parsedQuery;\n              if (message) {\n                document.getElementsByTagName(\"message\")[0].value = message;\n              }\n              if (reason) {\n                document.getElementsByTagName(\"reason\")[0].value = reason;\n              }\n              if (subject) {\n                document.getElementsByTagName(\"subject\")[0].value = subject;\n              }\n            },\n          };\n          window.hbspt.forms.create(formObj);\n\n          await awaitDelay(300);\n          if (document.getElementById(\"loader\")) {\n            setRenderHubspotForm(false);\n          }\n        }\n      });\n    } else {\n      setRenderHubspotForm(false);\n    }\n  };\n\n  function awaitDelay(ms) {\n    return new Promise(resolve => setTimeout(resolve, ms));\n  }\n\n  const checkAccess = () => {\n    if (userPassword === password) {\n      setHasAccess(true);\n      setUserPasswordError(false);\n      addHubspotForm();\n\n      trackByGA();\n    } else {\n      setUserPasswordError(true);\n    }\n  };\n\n  const changeUserPassword = (event) => {\n    if (userPasswordError) {\n      setUserPasswordError(false);\n    }\n    setUserPassword(event.currentTarget.value);\n  };\n\n  const handleEnter = (event) => {\n    if (userPasswordError) {\n      setUserPasswordError(false);\n    }\n\n    if (\n      event.location.toString() === \"3\" ||\n      event.keyCode.toString() === \"13\" ||\n      event.code === \"Enter\" ||\n      event.code === \"NumpadEnter\"\n    ) {\n      checkAccess();\n      event.preventDefault();\n    }\n  };\n\n  const changeVal = (event, _name) => {\n    const { name, value } = event.target;\n    if (errorsList[name]) {\n      setErrorsList({ ...errorsList, [name ?? _name]: \"\" });\n    }\n    const newFormVal = { ...form, [name ?? _name]: value };\n    setForm(newFormVal);\n  };\n\n  const sentRequest = async () => {\n    setIsRequestSend(true);\n    const optionalParms = addPagePathToRequestBody ? { \"landingPage\": `https://dev.slatepages.com${path}` } : {};\n\n    try {\n      let result = await fetch(requestUrl, {\n        method: \"POST\",\n        mode: \"cors\",\n        cache: \"no-cache\",\n        credentials: \"same-origin\",\n        headers: {\n          \"Content-Type\": \"application/json\",\n        },\n        redirect: \"follow\",\n        referrerPolicy: \"no-referrer\",\n        body: JSON.stringify({\n          ...hiddenFields,\n          ...optionalParms,\n          ...form,\n        }),\n      });\n\n      if (result.ok) {\n        switch (runIfRequestIsSuccessOPTION) {\n          case \"redirect\":\n            if (window) {\n              runIfRequestIsSuccessBODY.startsWith(\"/\")\n                ? await navigate(runIfRequestIsSuccessBODY)\n                : window.location.href = runIfRequestIsSuccessBODY;\n            }\n            break;\n          case \"showNotification\":\n            setSnackbarState({\n              status: STATUS.success,\n              text: runIfRequestIsSuccessBODY,\n              open: true,\n            });\n            break;\n          case \"none\":\n            break;\n          default:\n            break;\n        }\n      } else {\n        let response = await result.json();\n        if (response.validationErrors && response.validationErrors.dataErrors) {\n          const newErrors = { ...errorsList };\n          Object.keys(response.validationErrors.dataErrors).forEach((key => {\n            if (key in form) {\n              newErrors[key] = response.validationErrors.dataErrors[key];\n            }\n          }));\n          setErrorsList(newErrors);\n        } else {\n          setSnackbarState({\n            status: STATUS.error,\n            text: \"Something seems to have gone wrong. Try again.\",\n            open: true,\n          });\n        }\n      }\n    } catch {\n      setSnackbarState({\n        status: STATUS.error,\n        text: \"Something seems to have gone wrong. Try again.\",\n        open: true,\n      });\n    }\n    setIsRequestSend(false);\n  };\n\n  const formSubmit = () => {\n    if (botValue !== \"\") {\n      return;\n    }\n\n    let newErrorsList = { ...errorsList };\n\n    Object.keys(errorsList).map((key, index) => {\n      let value = form[key];\n\n      if ((!value || value.replaceAll(\" \", \"\").length === 0) && fields[index].required) {\n        newErrorsList[key] = \"The value is required\";\n      } else if (key === \"email\" && value && !validateEmail(value)) {\n        newErrorsList[key] = `Email: ${value} is not properly formatted`;\n      } else {\n        newErrorsList[key] && (newErrorsList[key] = ``);\n      }\n    });\n    setErrorsList(newErrorsList);\n    let hasErrors = false;\n    Object.keys(errorsList).forEach((key) => {\n      if (!!newErrorsList[key]) {\n        hasErrors = true;\n      }\n    });\n\n    if (!hasErrors) {\n      trackByGA();\n      sentRequest().then(() => {\n      });\n    }\n  };\n\n  const fakeEvent = () => {\n    setBotValue(\"bot\");\n  };\n\n  return (\n    <>\n      <Snackbar\n        anchorOrigin={{\n          vertical: \"top\",\n          horizontal: \"right\",\n        }}\n        open={snackbarState.open}\n        autoHideDuration={6000}\n        onClose={handleClose}\n      >\n        <Alert onClose={handleClose} severity={snackbarState.status}>\n          {snackbarState.text}\n        </Alert>\n      </Snackbar>\n      <PageWithCmsWrapper\n        path={path}\n        content={hasAccess ? content : \"\"}\n        image={hasAccess ? image : \"\"}\n        useSpecialLandingPageStyle\n        seoProps={{ title: SeoTitle, description: MetaDescriptions, image: image, noIndexed: true }}\n      >\n        {\n          hasAccess ?\n            <div className={classes.formContainer}>\n\n              <div id={\"customForm\"} className={classes.fakeBlockWithScrollingKey} />\n              {/*// for bot*/}\n              <form onSubmit={fakeEvent} className={classes.formForBot}>\n                <label>\n                  Name:\n                  <input type=\"text\" id={\"_name\"} required onChange={setBotValue} />\n                </label>\n                <label>\n                  Email:\n                  <input type=\"text\" id={\"_email\"} required onChange={setBotValue} />\n                </label>\n                <label>\n                  Phone:\n                  <input type=\"text\" id={\"_phone\"} required onChange={setBotValue} />\n                </label>\n                <input type=\"submit\" value=\"Submit\" onClick={fakeEvent} />\n              </form>\n\n\n              {!renderHubspotForm && JSON.stringify(form) !== JSON.stringify({}) && <>\n                {fields.map((field) => {\n                  const _placeholder = field.placeholder ?? updateSnakeCaseToCapitalisedText(field.api_name);\n                  const _title = field.title ?? _placeholder;\n\n                  if (field.type === \"selector\") {\n                    return <Selector\n                      key={field}\n                      isRequestSend={isRequestSend}\n                      field={field}\n                      placeholder={_placeholder}\n                      title={_title}\n                      errorsList={errorsList}\n                      form={form}\n                      changeVal={changeVal}\n                    />;\n                  } else if (field.type === \"phone\") {\n                    return <PhoneInput\n                      key={field}\n                      isRequestSend={isRequestSend}\n                      field={field}\n                      placeholder={_placeholder}\n                      title={_title}\n                      errorsList={errorsList}\n                      form={form}\n                      changeVal={changeVal}\n                    />;\n                  } else {\n                    return <TextInput\n                      key={field}\n                      isRequestSend={isRequestSend}\n                      field={field}\n                      title={_title}\n                      placeholder={_placeholder}\n                      errorsList={errorsList}\n                      form={form}\n                      changeVal={changeVal}\n                    />;\n                  }\n                })}\n                <div className={classes.formForBot}>\n                  <CustomButton variant=\"contained\" color=\"primary\" mb={3}\n                                onClick={fakeEvent}\n                                className={classes.formForBot}\n                                disabled={isRequestSend}\n                  >\n                    Bot Submit\n                  </CustomButton>\n                  <CustomButton variant=\"contained\" color=\"primary\" mb={3}\n                                onClick={fakeEvent}\n                                className={classes.formForBot}\n                                disabled={isRequestSend}\n                  >\n                    Bot Submit\n                  </CustomButton>\n                </div>\n\n\n                <CustomButton variant=\"contained\" color=\"primary\" mb={3}\n                              onClick={formSubmit}\n                              className={classes.submitButton}\n                              disabled={isRequestSend}\n                >\n                  {submitButtonText || \"Submit\"}\n                </CustomButton>\n              </>}\n              <div id={\"hubspotForm\"} style={{\n                padding: renderHubspotForm ? 20 : 0,\n                width: \"100%\",\n              }}>\n                {\n                  renderHubspotForm &&\n                  <div id=\"loader\" style={{ display: \"flex\", justifyContent: \"center\", alignItems: \"center\" }}>\n                    <CircularProgress size={50} className={classes.buttonProgress} />\n                  </div>\n                }\n              </div>\n            </div> :\n            <div className={classes.passwordFormWrapper}>\n              <Typography className={cx(classes.typography, classes.margin, { [classes.typographyFlex]: true })}\n                          align={\"center\"}>\n                {\"This is a limited-access page. Please enter your password to access it.\"}\n              </Typography>\n              <div className={cx(\n                classes.fieldsContainer,\n              )}\n              >\n                <div className={classes.label}>{\"Enter password\"}</div>\n                <input type={\"password\"}\n                       onKeyDown={handleEnter}\n                       aria-required=\"true\"\n                       className={cx(classes.input, {\n                         [classes.inputWithError]: userPasswordError,\n                       })}\n                       data-garden-focus-visible=\"true\"\n                       value={userPassword}\n                       onChange={changeUserPassword}\n                       placeholder={\"Enter password\"}\n                />\n                {\n                  !!userPasswordError &&\n                  <div className={classes.inputError}>\n                    {\"Password is not valid\"}\n                  </div>\n                }\n              </div>\n              <CustomButton variant=\"contained\" color=\"primary\" mb={3}\n                            onClick={checkAccess}\n                            className={classes.submitButton}\n              >\n                {\"Confirm\"}\n              </CustomButton>\n            </div>\n        }\n      </PageWithCmsWrapper>\n    </>\n  );\n};\n\nexport default LandingPagesTemplate;\n\n\nexport const query = graphql`\nquery LandingPagesTemplate($id: String!)\n{\n  strapiLandingPages(id\n:\n  {\n    eq: $id\n  }\n)\n  {\n    id\n    content\n    created_at\n    SeoTitle\n    MetaDescriptions\n    image\n    formFields\n    {\n      fields\n      {\n        type\n        required\n        placeholder\n        title\n        options\n        {\n          id\n          value\n        }\n        api_name\n        value\n      }\n      hidden_fields\n      {\n        api_name\n        value\n      }\n    }\n    submitButtonText\n    addPagePathToRequestBody\n    requestUrl\n    runIfRequestIsSuccessOPTION\n    runIfRequestIsSuccessBODY\n    password\n  }\n}\n`;\n\nconst TextInput = (props) => {\n    const classes = useStyles();\n    const { isRequestSend, field, placeholder, errorsList, form, changeVal, title } = props;\n\n    return <div className={cx(\n      classes.fieldsContainerMini,\n      {\n        [classes.blurStyle]: isRequestSend,\n      },\n    )}\n    >\n      <div className={classes.label}>{title ?? placeholder}</div>\n      <input type={field.type}\n             name={field.api_name}\n             aria-required=\"true\"\n             className={cx(classes.input, {\n               [classes.inputWithError]: !!errorsList[field.api_name].length,\n             })}\n             data-garden-focus-visible=\"true\"\n             value={form[field.api_name]}\n             onChange={changeVal}\n             placeholder={placeholder}\n             disabled={isRequestSend}\n             required={field.required}\n      />\n      {\n        !!errorsList[field.api_name].length &&\n        <div className={classes.inputError}>\n          {errorsList[field.api_name]}\n        </div>\n      }\n    </div>;\n  }\n;\n\nconst PhoneInput = (props) => {\n    const classes = useStyles();\n    const { isRequestSend, field, placeholder, errorsList, form, changeVal, title } = props;\n\n    return <div className={cx(\n      classes.fieldsContainerMini,\n      {\n        [classes.blurStyle]: isRequestSend,\n      },\n    )}\n    >\n      <div className={classes.label}>{title ?? placeholder}</div>\n      <InputMask\n        mask=\"(999) 999-9999\"\n        value={form[field.api_name]}\n        disabled={isRequestSend}\n        maskChar=\" \"\n        onChange={(e) => changeVal(e, \"phone\")}\n      >\n        {() =>\n          <input name={field.api_name}\n                 type=\"tel\"\n                 pattern=\"[0-9]{3}-[0-9]{3}-[0-9]{4}\"\n                 aria-required=\"true\"\n                 className={cx(classes.input, {\n                   [classes.inputWithError]: !!errorsList[field.api_name].length,\n                 })}\n                 data-garden-focus-visible=\"true\"\n                 placeholder={placeholder}\n          />}\n      </InputMask>\n      {\n        !!errorsList[field.api_name].length &&\n        <div className={classes.inputError}>\n          {errorsList[field.api_name]}\n        </div>\n      }\n    </div>;\n  }\n;\n\nconst Selector = (props) => {\n  const classes = useStyles();\n  const { isRequestSend, field, placeholder, errorsList, form, changeVal, title } = props;\n\n  return <div className={cx(\n    classes.fieldsContainerMini,\n    {\n      [classes.blurStyle]: isRequestSend,\n    },\n  )}>\n    <div className={classes.label}>{title ?? placeholder}</div>\n    <FormControl variant=\"outlined\"\n                 className={classes.formControl}\n                 placeholder={placeholder}\n                 error={!!errorsList[field.api_name].length}\n    >\n      <Select\n        displayEmpty\n        labelId=\"demo-simple-select-outlined-label\"\n        name={field.api_name}\n        defaultValue={\"\"}\n        classes={{\n          outlined: classes.formControlInputOutlined,\n          input: classes.formControlInput,\n          notchedOutline: !!errorsList[field.api_name].length ? classes.inputWithError : {},\n        }}\n        value={form[field.api_name]}\n        onChange={changeVal}\n        placeholder={placeholder}\n        disabled={isRequestSend}\n        IconComponent={SelectArrow}\n      >\n        <MenuItem value=\"\" disabled>\n          <em>{placeholder}</em>\n        </MenuItem>\n        {field.options.map(({ id, value }) => (\n          <MenuItem value={id} key={id}>{value}</MenuItem>\n        ))}\n      </Select>\n    </FormControl>\n    {\n      !!errorsList[field.api_name].length &&\n      <div className={classes.inputError}>\n        {errorsList[field.api_name]}\n      </div>\n    }\n  </div>;\n};\n","\"use strict\";\n\nfunction _interopDefault(e) {\n  return e && \"object\" == typeof e && \"default\" in e ? e[\"default\"] : e;\n}\nvar React = _interopDefault(require(\"react\")),\n  reactDom = require(\"react-dom\");\nfunction _defaults2(e, t) {\n  for (var n = Object.getOwnPropertyNames(t), a = 0; a < n.length; a++) {\n    var i = n[a],\n      r = Object.getOwnPropertyDescriptor(t, i);\n    r && r.configurable && e[i] === undefined && Object.defineProperty(e, i, r);\n  }\n  return e;\n}\nfunction _extends() {\n  return (_extends = Object.assign || function (e) {\n    for (var t = 1; t < arguments.length; t++) {\n      var n = arguments[t];\n      for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);\n    }\n    return e;\n  }).apply(this, arguments);\n}\nfunction _inheritsLoose(e, t) {\n  e.prototype = Object.create(t.prototype), _defaults2(e.prototype.constructor = e, t);\n}\nfunction _objectWithoutPropertiesLoose(e, t) {\n  if (null == e) return {};\n  var n,\n    a,\n    i = {},\n    r = Object.keys(e);\n  for (a = 0; a < r.length; a++) n = r[a], 0 <= t.indexOf(n) || (i[n] = e[n]);\n  return i;\n}\nfunction _assertThisInitialized(e) {\n  if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n  return e;\n}\nvar invariant = function (e, t, n, a, i, r, o, s) {\n    if (!e) {\n      var l;\n      if (t === undefined) l = new Error(\"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.\");else {\n        var u = [n, a, i, r, o, s],\n          c = 0;\n        (l = new Error(t.replace(/%s/g, function () {\n          return u[c++];\n        }))).name = \"Invariant Violation\";\n      }\n      throw l.framesToPop = 1, l;\n    }\n  },\n  invariant_1 = invariant;\nfunction setInputSelection(e, t, n) {\n  if (\"selectionStart\" in e && \"selectionEnd\" in e) e.selectionStart = t, e.selectionEnd = n;else {\n    var a = e.createTextRange();\n    a.collapse(!0), a.moveStart(\"character\", t), a.moveEnd(\"character\", n - t), a.select();\n  }\n}\nfunction getInputSelection(e) {\n  var t = 0,\n    n = 0;\n  if (\"selectionStart\" in e && \"selectionEnd\" in e) t = e.selectionStart, n = e.selectionEnd;else {\n    var a = document.selection.createRange();\n    a.parentElement() === e && (t = -a.moveStart(\"character\", -e.value.length), n = -a.moveEnd(\"character\", -e.value.length));\n  }\n  return {\n    start: t,\n    end: n,\n    length: n - t\n  };\n}\nvar defaultFormatChars = {\n    9: \"[0-9]\",\n    a: \"[A-Za-z]\",\n    \"*\": \"[A-Za-z0-9]\"\n  },\n  defaultMaskChar = \"_\";\nfunction parseMask(e, t, n) {\n  var a = \"\",\n    i = \"\",\n    r = null,\n    o = [];\n  if (t === undefined && (t = defaultMaskChar), null == n && (n = defaultFormatChars), !e || \"string\" != typeof e) return {\n    maskChar: t,\n    formatChars: n,\n    mask: null,\n    prefix: null,\n    lastEditablePosition: null,\n    permanents: []\n  };\n  var s = !1;\n  return e.split(\"\").forEach(function (e) {\n    s = !s && \"\\\\\" === e || (s || !n[e] ? (o.push(a.length), a.length === o.length - 1 && (i += e)) : r = a.length + 1, a += e, !1);\n  }), {\n    maskChar: t,\n    formatChars: n,\n    prefix: i,\n    mask: a,\n    lastEditablePosition: r,\n    permanents: o\n  };\n}\nfunction isPermanentCharacter(e, t) {\n  return -1 !== e.permanents.indexOf(t);\n}\nfunction isAllowedCharacter(e, t, n) {\n  var a = e.mask,\n    i = e.formatChars;\n  if (!n) return !1;\n  if (isPermanentCharacter(e, t)) return a[t] === n;\n  var r = i[a[t]];\n  return new RegExp(r).test(n);\n}\nfunction isEmpty(n, e) {\n  return e.split(\"\").every(function (e, t) {\n    return isPermanentCharacter(n, t) || !isAllowedCharacter(n, t, e);\n  });\n}\nfunction getFilledLength(e, t) {\n  var n = e.maskChar,\n    a = e.prefix;\n  if (!n) {\n    for (; t.length > a.length && isPermanentCharacter(e, t.length - 1);) t = t.slice(0, t.length - 1);\n    return t.length;\n  }\n  for (var i = a.length, r = t.length; r >= a.length; r--) {\n    var o = t[r];\n    if (!isPermanentCharacter(e, r) && isAllowedCharacter(e, r, o)) {\n      i = r + 1;\n      break;\n    }\n  }\n  return i;\n}\nfunction isFilled(e, t) {\n  return getFilledLength(e, t) === e.mask.length;\n}\nfunction formatValue(e, t) {\n  var n = e.maskChar,\n    a = e.mask,\n    i = e.prefix;\n  if (!n) {\n    for ((t = insertString(e, \"\", t, 0)).length < i.length && (t = i); t.length < a.length && isPermanentCharacter(e, t.length);) t += a[t.length];\n    return t;\n  }\n  if (t) return insertString(e, formatValue(e, \"\"), t, 0);\n  for (var r = 0; r < a.length; r++) isPermanentCharacter(e, r) ? t += a[r] : t += n;\n  return t;\n}\nfunction clearRange(n, e, a, t) {\n  var i = a + t,\n    r = n.maskChar,\n    o = n.mask,\n    s = n.prefix,\n    l = e.split(\"\");\n  if (r) return l.map(function (e, t) {\n    return t < a || i <= t ? e : isPermanentCharacter(n, t) ? o[t] : r;\n  }).join(\"\");\n  for (var u = i; u < l.length; u++) isPermanentCharacter(n, u) && (l[u] = \"\");\n  return a = Math.max(s.length, a), l.splice(a, i - a), e = l.join(\"\"), formatValue(n, e);\n}\nfunction insertString(r, o, e, s) {\n  var l = r.mask,\n    u = r.maskChar,\n    c = r.prefix,\n    t = e.split(\"\"),\n    h = isFilled(r, o);\n  return !u && s > o.length && (o += l.slice(o.length, s)), t.every(function (e) {\n    for (; i = e, isPermanentCharacter(r, a = s) && i !== l[a];) {\n      if (s >= o.length && (o += l[s]), t = e, n = s, u && isPermanentCharacter(r, n) && t === u) return !0;\n      if (++s >= l.length) return !1;\n    }\n    var t, n, a, i;\n    return !isAllowedCharacter(r, s, e) && e !== u || (s < o.length ? o = u || h || s < c.length ? o.slice(0, s) + e + o.slice(s + 1) : (o = o.slice(0, s) + e + o.slice(s), formatValue(r, o)) : u || (o += e), ++s < l.length);\n  }), o;\n}\nfunction getInsertStringLength(a, e, t, i) {\n  var r = a.mask,\n    o = a.maskChar,\n    n = t.split(\"\"),\n    s = i;\n  return n.every(function (e) {\n    for (; n = e, isPermanentCharacter(a, t = i) && n !== r[t];) if (++i >= r.length) return !1;\n    var t, n;\n    return (isAllowedCharacter(a, i, e) || e === o) && i++, i < r.length;\n  }), i - s;\n}\nfunction getLeftEditablePosition(e, t) {\n  for (var n = t; 0 <= n; --n) if (!isPermanentCharacter(e, n)) return n;\n  return null;\n}\nfunction getRightEditablePosition(e, t) {\n  for (var n = e.mask, a = t; a < n.length; ++a) if (!isPermanentCharacter(e, a)) return a;\n  return null;\n}\nfunction getStringValue(e) {\n  return e || 0 === e ? e + \"\" : \"\";\n}\nfunction processChange(e, t, n, a, i) {\n  var r = e.mask,\n    o = e.prefix,\n    s = e.lastEditablePosition,\n    l = t,\n    u = \"\",\n    c = 0,\n    h = 0,\n    f = Math.min(i.start, n.start);\n  if (n.end > i.start ? h = (c = getInsertStringLength(e, a, u = l.slice(i.start, n.end), f)) ? i.length : 0 : l.length < a.length && (h = a.length - l.length), l = a, h) {\n    if (1 === h && !i.length) f = i.start === n.start ? getRightEditablePosition(e, n.start) : getLeftEditablePosition(e, n.start);\n    l = clearRange(e, l, f, h);\n  }\n  return l = insertString(e, l, u, f), (f += c) >= r.length ? f = r.length : f < o.length && !c ? f = o.length : f >= o.length && f < s && c && (f = getRightEditablePosition(e, f)), u || (u = null), {\n    value: l = formatValue(e, l),\n    enteredString: u,\n    selection: {\n      start: f,\n      end: f\n    }\n  };\n}\nfunction isWindowsPhoneBrowser() {\n  var e = new RegExp(\"windows\", \"i\"),\n    t = new RegExp(\"phone\", \"i\"),\n    n = navigator.userAgent;\n  return e.test(n) && t.test(n);\n}\nfunction isFunction(e) {\n  return \"function\" == typeof e;\n}\nfunction getRequestAnimationFrame() {\n  return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame;\n}\nfunction getCancelAnimationFrame() {\n  return window.cancelAnimationFrame || window.webkitCancelRequestAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame;\n}\nfunction defer(e) {\n  return (!!getCancelAnimationFrame() ? getRequestAnimationFrame() : function () {\n    return setTimeout(e, 1e3 / 60);\n  })(e);\n}\nfunction cancelDefer(e) {\n  (getCancelAnimationFrame() || clearTimeout)(e);\n}\nvar InputElement = function (c) {\n  function e(e) {\n    var f = c.call(this, e) || this;\n    f.focused = !1, f.mounted = !1, f.previousSelection = null, f.selectionDeferId = null, f.saveSelectionLoopDeferId = null, f.saveSelectionLoop = function () {\n      f.previousSelection = f.getSelection(), f.saveSelectionLoopDeferId = defer(f.saveSelectionLoop);\n    }, f.runSaveSelectionLoop = function () {\n      null === f.saveSelectionLoopDeferId && f.saveSelectionLoop();\n    }, f.stopSaveSelectionLoop = function () {\n      null !== f.saveSelectionLoopDeferId && (cancelDefer(f.saveSelectionLoopDeferId), f.saveSelectionLoopDeferId = null, f.previousSelection = null);\n    }, f.getInputDOMNode = function () {\n      if (!f.mounted) return null;\n      var e = reactDom.findDOMNode(_assertThisInitialized(_assertThisInitialized(f))),\n        t = \"undefined\" != typeof window && e instanceof window.Element;\n      if (e && !t) return null;\n      if (\"INPUT\" !== e.nodeName && (e = e.querySelector(\"input\")), !e) throw new Error(\"react-input-mask: inputComponent doesn't contain input node\");\n      return e;\n    }, f.getInputValue = function () {\n      var e = f.getInputDOMNode();\n      return e ? e.value : null;\n    }, f.setInputValue = function (e) {\n      var t = f.getInputDOMNode();\n      t && (f.value = e, t.value = e);\n    }, f.setCursorToEnd = function () {\n      var e = getFilledLength(f.maskOptions, f.value),\n        t = getRightEditablePosition(f.maskOptions, e);\n      null !== t && f.setCursorPosition(t);\n    }, f.setSelection = function (e, t, n) {\n      void 0 === n && (n = {});\n      var a = f.getInputDOMNode(),\n        i = f.isFocused();\n      a && i && (n.deferred || setInputSelection(a, e, t), null !== f.selectionDeferId && cancelDefer(f.selectionDeferId), f.selectionDeferId = defer(function () {\n        f.selectionDeferId = null, setInputSelection(a, e, t);\n      }), f.previousSelection = {\n        start: e,\n        end: t,\n        length: Math.abs(t - e)\n      });\n    }, f.getSelection = function () {\n      return getInputSelection(f.getInputDOMNode());\n    }, f.getCursorPosition = function () {\n      return f.getSelection().start;\n    }, f.setCursorPosition = function (e) {\n      f.setSelection(e, e);\n    }, f.isFocused = function () {\n      return f.focused;\n    }, f.getBeforeMaskedValueChangeConfig = function () {\n      var e = f.maskOptions,\n        t = e.mask,\n        n = e.maskChar,\n        a = e.permanents,\n        i = e.formatChars;\n      return {\n        mask: t,\n        maskChar: n,\n        permanents: a,\n        alwaysShowMask: !!f.props.alwaysShowMask,\n        formatChars: i\n      };\n    }, f.isInputAutofilled = function (e, t, n, a) {\n      var i = f.getInputDOMNode();\n      try {\n        if (i.matches(\":-webkit-autofill\")) return !0;\n      } catch (r) {}\n      return !f.focused || a.end < n.length && t.end === e.length;\n    }, f.onChange = function (e) {\n      var t = _assertThisInitialized(_assertThisInitialized(f)).beforePasteState,\n        n = _assertThisInitialized(_assertThisInitialized(f)).previousSelection,\n        a = f.props.beforeMaskedValueChange,\n        i = f.getInputValue(),\n        r = f.value,\n        o = f.getSelection();\n      f.isInputAutofilled(i, o, r, n) && (r = formatValue(f.maskOptions, \"\"), n = {\n        start: 0,\n        end: 0,\n        length: 0\n      }), t && (n = t.selection, r = t.value, o = {\n        start: n.start + i.length,\n        end: n.start + i.length,\n        length: 0\n      }, i = r.slice(0, n.start) + i + r.slice(n.end), f.beforePasteState = null);\n      var s = processChange(f.maskOptions, i, o, r, n),\n        l = s.enteredString,\n        u = s.selection,\n        c = s.value;\n      if (isFunction(a)) {\n        var h = a({\n          value: c,\n          selection: u\n        }, {\n          value: r,\n          selection: n\n        }, l, f.getBeforeMaskedValueChangeConfig());\n        c = h.value, u = h.selection;\n      }\n      f.setInputValue(c), isFunction(f.props.onChange) && f.props.onChange(e), f.isWindowsPhoneBrowser ? f.setSelection(u.start, u.end, {\n        deferred: !0\n      }) : f.setSelection(u.start, u.end);\n    }, f.onFocus = function (e) {\n      var t = f.props.beforeMaskedValueChange,\n        n = f.maskOptions,\n        a = n.mask,\n        i = n.prefix;\n      if (f.focused = !0, f.mounted = !0, a) {\n        if (f.value) getFilledLength(f.maskOptions, f.value) < f.maskOptions.mask.length && f.setCursorToEnd();else {\n          var r = formatValue(f.maskOptions, i),\n            o = formatValue(f.maskOptions, r),\n            s = getFilledLength(f.maskOptions, o),\n            l = getRightEditablePosition(f.maskOptions, s),\n            u = {\n              start: l,\n              end: l\n            };\n          if (isFunction(t)) {\n            var c = t({\n              value: o,\n              selection: u\n            }, {\n              value: f.value,\n              selection: null\n            }, null, f.getBeforeMaskedValueChangeConfig());\n            o = c.value, u = c.selection;\n          }\n          var h = o !== f.getInputValue();\n          h && f.setInputValue(o), h && isFunction(f.props.onChange) && f.props.onChange(e), f.setSelection(u.start, u.end);\n        }\n        f.runSaveSelectionLoop();\n      }\n      isFunction(f.props.onFocus) && f.props.onFocus(e);\n    }, f.onBlur = function (e) {\n      var t = f.props.beforeMaskedValueChange,\n        n = f.maskOptions.mask;\n      if (f.stopSaveSelectionLoop(), f.focused = !1, n && !f.props.alwaysShowMask && isEmpty(f.maskOptions, f.value)) {\n        var a = \"\";\n        if (isFunction(t)) a = t({\n          value: a,\n          selection: null\n        }, {\n          value: f.value,\n          selection: f.previousSelection\n        }, null, f.getBeforeMaskedValueChangeConfig()).value;\n        var i = a !== f.getInputValue();\n        i && f.setInputValue(a), i && isFunction(f.props.onChange) && f.props.onChange(e);\n      }\n      isFunction(f.props.onBlur) && f.props.onBlur(e);\n    }, f.onMouseDown = function (e) {\n      if (!f.focused && document.addEventListener) {\n        f.mouseDownX = e.clientX, f.mouseDownY = e.clientY, f.mouseDownTime = new Date().getTime();\n        var r = function r(e) {\n          if (document.removeEventListener(\"mouseup\", r), f.focused) {\n            var t = Math.abs(e.clientX - f.mouseDownX),\n              n = Math.abs(e.clientY - f.mouseDownY),\n              a = Math.max(t, n),\n              i = new Date().getTime() - f.mouseDownTime;\n            (a <= 10 && i <= 200 || a <= 5 && i <= 300) && f.setCursorToEnd();\n          }\n        };\n        document.addEventListener(\"mouseup\", r);\n      }\n      isFunction(f.props.onMouseDown) && f.props.onMouseDown(e);\n    }, f.onPaste = function (e) {\n      isFunction(f.props.onPaste) && f.props.onPaste(e), e.defaultPrevented || (f.beforePasteState = {\n        value: f.getInputValue(),\n        selection: f.getSelection()\n      }, f.setInputValue(\"\"));\n    }, f.handleRef = function (e) {\n      null == f.props.children && isFunction(f.props.inputRef) && f.props.inputRef(e);\n    };\n    var t = e.mask,\n      n = e.maskChar,\n      a = e.formatChars,\n      i = e.alwaysShowMask,\n      r = e.beforeMaskedValueChange,\n      o = e.defaultValue,\n      s = e.value;\n    f.maskOptions = parseMask(t, n, a), null == o && (o = \"\"), null == s && (s = o);\n    var l = getStringValue(s);\n    if (f.maskOptions.mask && (i || l) && (l = formatValue(f.maskOptions, l), isFunction(r))) {\n      var u = e.value;\n      null == e.value && (u = o), l = r({\n        value: l,\n        selection: null\n      }, {\n        value: u = getStringValue(u),\n        selection: null\n      }, null, f.getBeforeMaskedValueChangeConfig()).value;\n    }\n    return f.value = l, f;\n  }\n  _inheritsLoose(e, c);\n  var t = e.prototype;\n  return t.componentDidMount = function () {\n    this.mounted = !0, this.getInputDOMNode() && (this.isWindowsPhoneBrowser = isWindowsPhoneBrowser(), this.maskOptions.mask && this.getInputValue() !== this.value && this.setInputValue(this.value));\n  }, t.componentDidUpdate = function () {\n    var e = this.previousSelection,\n      t = this.props,\n      n = t.beforeMaskedValueChange,\n      a = t.alwaysShowMask,\n      i = t.mask,\n      r = t.maskChar,\n      o = t.formatChars,\n      s = this.maskOptions,\n      l = a || this.isFocused(),\n      u = null != this.props.value,\n      c = u ? getStringValue(this.props.value) : this.value,\n      h = e ? e.start : null;\n    if (this.maskOptions = parseMask(i, r, o), this.maskOptions.mask) {\n      !s.mask && this.isFocused() && this.runSaveSelectionLoop();\n      var f = this.maskOptions.mask && this.maskOptions.mask !== s.mask;\n      if (s.mask || u || (c = this.getInputValue()), (f || this.maskOptions.mask && (c || l)) && (c = formatValue(this.maskOptions, c)), f) {\n        var p = getFilledLength(this.maskOptions, c);\n        (null === h || p < h) && (h = isFilled(this.maskOptions, c) ? p : getRightEditablePosition(this.maskOptions, p));\n      }\n      !this.maskOptions.mask || !isEmpty(this.maskOptions, c) || l || u && this.props.value || (c = \"\");\n      var d = {\n        start: h,\n        end: h\n      };\n      if (isFunction(n)) {\n        var m = n({\n          value: c,\n          selection: d\n        }, {\n          value: this.value,\n          selection: this.previousSelection\n        }, null, this.getBeforeMaskedValueChangeConfig());\n        c = m.value, d = m.selection;\n      }\n      this.value = c;\n      var g = this.getInputValue() !== this.value;\n      g ? (this.setInputValue(this.value), this.forceUpdate()) : f && this.forceUpdate();\n      var v = !1;\n      null != d.start && null != d.end && (v = !e || e.start !== d.start || e.end !== d.end), (v || g) && this.setSelection(d.start, d.end);\n    } else s.mask && (this.stopSaveSelectionLoop(), this.forceUpdate());\n  }, t.componentWillUnmount = function () {\n    this.mounted = !1, null !== this.selectionDeferId && cancelDefer(this.selectionDeferId), this.stopSaveSelectionLoop();\n  }, t.render = function () {\n    var t,\n      e = this.props,\n      n = (e.mask, e.alwaysShowMask, e.maskChar, e.formatChars, e.inputRef, e.beforeMaskedValueChange, e.children),\n      a = _objectWithoutPropertiesLoose(e, [\"mask\", \"alwaysShowMask\", \"maskChar\", \"formatChars\", \"inputRef\", \"beforeMaskedValueChange\", \"children\"]);\n    if (n) {\n      isFunction(n) || invariant_1(!1);\n      var i = [\"onChange\", \"onPaste\", \"onMouseDown\", \"onFocus\", \"onBlur\", \"value\", \"disabled\", \"readOnly\"],\n        r = _extends({}, a);\n      i.forEach(function (e) {\n        return delete r[e];\n      }), t = n(r), i.filter(function (e) {\n        return null != t.props[e] && t.props[e] !== a[e];\n      }).length && invariant_1(!1);\n    } else t = React.createElement(\"input\", _extends({\n      ref: this.handleRef\n    }, a));\n    var o = {\n      onFocus: this.onFocus,\n      onBlur: this.onBlur\n    };\n    return this.maskOptions.mask && (a.disabled || a.readOnly || (o.onChange = this.onChange, o.onPaste = this.onPaste, o.onMouseDown = this.onMouseDown), null != a.value && (o.value = this.value)), t = React.cloneElement(t, o);\n  }, e;\n}(React.Component);\nmodule.exports = InputElement;","if (process.env.NODE_ENV === 'production') {\n  module.exports = require('./lib/react-input-mask.production.min.js');\n} else {\n  module.exports = require('./lib/react-input-mask.development.js');\n}"],"names":["getOffsetTop","rect","vertical","offset","height","getOffsetLeft","horizontal","width","getTransformOriginValue","transformOrigin","map","n","concat","join","getAnchorEl","anchorEl","Popover","props","ref","action","_props$anchorOrigin","anchorOrigin","anchorPosition","_props$anchorReferenc","anchorReference","children","classes","className","containerProp","container","_props$elevation","elevation","getContentAnchorEl","_props$marginThreshol","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","_props$PaperProps","PaperProps","_props$transformOrigi","_props$TransitionComp","TransitionComponent","Grow","_props$transitionDura","transitionDuration","transitionDurationProp","_props$TransitionProp","TransitionProps","other","paperRef","getAnchorOffset","contentAnchorOffset","resolvedAnchorEl","anchorRect","nodeType","ownerDocument","current","body","getBoundingClientRect","anchorVertical","top","left","getContentAnchorOffset","element","contentAnchorEl","contains","scrollTop","parent","child","parentElement","getScrollParent","offsetTop","clientHeight","getTransformOrigin","elemRect","arguments","length","undefined","getPositioningStyle","offsetWidth","offsetHeight","elemTransformOrigin","anchorOffset","bottom","right","containerWindow","ownerWindow","heightThreshold","innerHeight","widthThreshold","innerWidth","diff","_diff","_diff2","_diff3","Math","round","setPositioningStyles","positioning","style","handlePaperRef","instance","updatePosition","handleResize","debounce","window","addEventListener","clear","removeEventListener","muiSupportAuto","Modal","BackdropProps","invisible","root","appear","in","timeout","createChainedFunction","isAppearing","Paper","paper","withStyles","position","overflowY","overflowX","minWidth","minHeight","maxWidth","maxHeight","outline","name","List","_props$component","component","Component","_props$dense","dense","_props$disablePadding","disablePadding","subheader","context","Provider","value","padding","listStyle","margin","paddingTop","paddingBottom","nextItem","list","item","disableListWrap","firstChild","nextElementSibling","previousItem","lastChild","previousElementSibling","textCriteriaMatches","nextFocus","textCriteria","text","innerText","textContent","trim","toLowerCase","repeating","keys","indexOf","moveFocus","currentFocus","disabledItemsFocusable","traversalFunction","wrappedOnce","nextFocusDisabled","disabled","getAttribute","hasAttribute","focus","useEnhancedEffect","actions","_props$autoFocus","autoFocus","_props$autoFocusItem","autoFocusItem","_props$disabledItemsF","_props$disableListWra","onKeyDown","_props$variant","variant","listRef","textCriteriaRef","previousKeyMatched","lastTime","adjustStyleForScrollbar","containerElement","theme","noExplicitWidth","scrollbarSize","getScrollbarSize","direction","handleOwnRef","handleRef","useForkRef","activeItemIndex","forEach","index","selected","items","newChildProps","tabIndex","role","event","key","activeElement","preventDefault","criteria","lowerKey","currTime","performance","now","push","keepFocusOnCurrent","RTL_ORIGIN","LTR_ORIGIN","Menu","_props$disableAutoFoc","disableAutoFocusItem","_props$MenuListProps","MenuListProps","onClose","onEnteringProp","PopoverClasses","useTheme","menuListActionsRef","contentAnchorRef","setRef","WebkitOverflowScrolling","areEqualValues","a","b","String","ariaLabel","autoWidth","defaultValue","displayEmpty","IconComponent","inputRefProp","inputRef","labelId","_props$MenuProps","MenuProps","multiple","onBlur","onChange","onFocus","onOpen","openProp","readOnly","renderValue","_props$SelectDisplayP","SelectDisplayProps","tabIndexProp","valueProp","type","_useControlled","useControlled","controlled","default","_useControlled2","setValue","_React$useState","displayNode","setDisplayNode","isOpenControlled","_React$useState2","menuMinWidthState","setMenuMinWidthState","_React$useState3","openState","setOpenState","node","label","getElementById","handler","getSelection","isCollapsed","display","displaySingle","update","clientWidth","childrenArray","toArray","handleItemClick","newValue","Array","isArray","slice","itemIndex","splice","onClick","persist","Object","defineProperty","writable","displayMultiple","computeDisplay","Error","some","v","onKeyUp","menuMinWidth","buttonId","id","select","selectMenu","filter","Boolean","onMouseDown","button","isEmpty","dangerouslySetInnerHTML","__html","target","nativeInput","icon","capitalize","iconOpen","d","userSelect","borderRadius","cursor","backgroundColor","palette","background","paddingRight","filled","outlined","shape","textOverflow","whiteSpace","overflow","pointerEvents","color","active","transform","iconFilled","iconOutlined","opacity","defaultInput","Input","NativeSelect","_props$IconComponent","ArrowDropDown","_props$input","input","inputProps","muiFormControl","useFormControl","fcs","formControlState","states","inputComponent","muiName","FilledInput","disableUnderline","_props$fullWidth","fullWidth","_props$inputComponent","_props$multiline","multiline","_props$type","InputBase","underline","light","bottomLineColor","borderTopLeftRadius","borderTopRightRadius","transition","transitions","create","duration","shorter","easing","easeOut","colorSecondary","borderBottomColor","secondary","main","borderBottom","primary","content","error","borderBottomStyle","focused","adornedStart","paddingLeft","adornedEnd","marginDense","WebkitBoxShadow","WebkitTextFillColor","caretColor","inputMarginDense","inputHiddenLabel","inputMultiline","inputAdornedStart","inputAdornedEnd","NotchedOutline","labelWidthProp","labelWidth","notched","align","legendLabelled","legendNotched","legend","borderStyle","borderWidth","textAlign","lineHeight","fontSize","visibility","delay","OutlinedInput","_props$labelWidth","renderSuffix","state","notchedOutline","startAdornment","borderColor","_ref","_ref2","Select","_props$autoWidth","_props$displayEmpty","_props$multiple","_props$native","native","variantProps","InputComponent","standard","mergeClasses","baseClasses","newClasses","ListItem","_props$alignItems","alignItems","_props$button","childrenProp","componentProp","_props$ContainerCompo","ContainerComponent","_props$ContainerProps","ContainerProps","ContainerClassName","_props$disabled","_props$disableGutters","disableGutters","_props$divider","divider","focusVisibleClassName","_props$selected","childContext","listItemRef","hasSecondaryAction","isMuiElement","componentProps","gutters","alignItemsFlexStart","secondaryAction","focusVisible","ButtonBase","pop","justifyContent","textDecoration","boxSizing","backgroundClip","shortest","hover","MenuItem","ListItemClasses","_props$role","typography","body1","breakpoints","up","body2","useStyles","makeStyles","passwordFormWrapper","flexDirection","submitButton","fieldsContainerMini","marginBottom","down","fieldsContainer","textTransform","formControl","border","fontFamily","inputWithError","blurStyle","formControlInput","formControlInputOutlined","inputError","marginTop","verticalAlign","errorImg","formContainer","fakeBlockWithScrollingKey","formForBot","initialSnackbarData","status","location","path","data","strapiLandingPages","SeoTitle","MetaDescriptions","image","formFields","fields","hidden_fields","submitButtonText","addPagePathToRequestBody","requestUrl","runIfRequestIsSuccessOPTION","runIfRequestIsSuccessBODY","password","form","setForm","React","hiddenFields","setHiddenFields","errorsList","setErrorsList","isRequestSend","setIsRequestSend","botValue","setBotValue","snackbarState","setSnackbarState","hasAccess","setHasAccess","userPassword","setUserPassword","userPasswordError","setUserPasswordError","renderHubspotForm","setRenderHubspotForm","useEffect","_form","field","api_name","_errors","_hiddenFields","addHubspotForm","trackByGA","gtag","category","handleClose","reason","async","_hubspotFormId","queryString","search","script","document","createElement","src","appendChild","hbspt","formObj","region","portalId","formId","onFormReady","remove","nameField","getElementsByTagName","scrollBy","message","subject","parsedQuery","forms","ms","Promise","resolve","setTimeout","checkAccess","changeVal","_name","newFormVal","fakeEvent","Snackbar","autoHideDuration","Alert","severity","PageWithCmsWrapper","useSpecialLandingPageStyle","seoProps","title","description","noIndexed","onSubmit","required","JSON","stringify","_field$placeholder","_field$title","_placeholder","placeholder","updateSnakeCaseToCapitalisedText","_title","Selector","PhoneInput","TextInput","CustomButton","mb","formSubmit","newErrorsList","replaceAll","validateEmail","hasErrors","optionalParms","result","fetch","method","mode","cache","credentials","headers","redirect","referrerPolicy","ok","startsWith","navigate","href","STATUS","success","response","json","validationErrors","dataErrors","newErrors","sentRequest","then","CircularProgress","size","buttonProgress","Typography","cx","typographyFlex","toString","keyCode","code","currentTarget","InputMask","mask","maskChar","e","pattern","FormControl","SelectArrow","options","reactDom","_extends","assign","t","prototype","hasOwnProperty","call","apply","this","_inheritsLoose","getOwnPropertyNames","i","r","getOwnPropertyDescriptor","configurable","_defaults2","constructor","_assertThisInitialized","ReferenceError","invariant_1","o","s","l","u","c","replace","framesToPop","setInputSelection","selectionStart","selectionEnd","createTextRange","collapse","moveStart","moveEnd","defaultFormatChars","parseMask","formatChars","prefix","lastEditablePosition","permanents","split","isPermanentCharacter","isAllowedCharacter","RegExp","test","every","getFilledLength","isFilled","formatValue","insertString","h","getRightEditablePosition","getStringValue","processChange","f","min","start","end","getInsertStringLength","getLeftEditablePosition","max","clearRange","enteredString","selection","isFunction","getCancelAnimationFrame","cancelAnimationFrame","webkitCancelRequestAnimationFrame","webkitCancelAnimationFrame","mozCancelAnimationFrame","defer","requestAnimationFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","cancelDefer","clearTimeout","InputElement","mounted","previousSelection","selectionDeferId","saveSelectionLoopDeferId","saveSelectionLoop","runSaveSelectionLoop","stopSaveSelectionLoop","getInputDOMNode","findDOMNode","Element","nodeName","querySelector","getInputValue","setInputValue","setCursorToEnd","maskOptions","setCursorPosition","setSelection","isFocused","deferred","abs","createRange","getInputSelection","getCursorPosition","getBeforeMaskedValueChangeConfig","alwaysShowMask","isInputAutofilled","matches","beforePasteState","beforeMaskedValueChange","isWindowsPhoneBrowser","mouseDownX","clientX","mouseDownY","clientY","mouseDownTime","Date","getTime","onPaste","defaultPrevented","componentDidMount","navigator","userAgent","componentDidUpdate","p","m","g","forceUpdate","componentWillUnmount","render","_objectWithoutPropertiesLoose","cloneElement","module","exports"],"sourceRoot":""}