!function(){"use strict";var e={d:function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);rr?1:-1,u=setTimeout((function(){o(r+c)}),f);return function(){return clearTimeout(u)}}),[i.React.Children.count(e.children),f,r,p,a]),i.React.createElement(s,{className:e.className},i.React.Children.map(e.children,(function(t,n){return i.React.createElement(d,{className:e.childClassName,style:{transition:"opacity ".concat(a,"ms, transform ").concat(a,"ms"),transform:r>n?"none":"translateY(".concat(l,"px)"),opacity:r>n?1:0}},t)})))}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}function s(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var h=["src","checkForExisting"],O=i.React.useState,w=i.React.useEffect,j="undefined"!=typeof window&&void 0!==window.document,S={},E=function(e){var t=document.querySelector('script[src="'.concat(e,'"]'));if(t)return S[e]={loading:!1,error:null,scriptEl:t}};function P(e){var t=e.src,r=e.checkForExisting,o=void 0!==r&&r,i=g(e,h),c=t?S[t]:void 0;!c&&o&&t&&j&&(c=E(t));var u=n(O(c?c.loading:Boolean(t)),2),a=u[0],l=u[1],f=n(O(c?c.error:null),2),s=f[0],d=f[1];return w((function(){if(j&&t&&a&&!s){var e;!(c=S[t])&&o&&(c=E(t)),c?e=c.scriptEl:((e=document.createElement("script")).src=t,Object.keys(i).forEach((function(t){void 0===e[t]?e.setAttribute(t,i[t]):e[t]=i[t]})),c=S[t]={loading:!0,error:null,scriptEl:e});var r=function(){c&&(c.loading=!1),l(!1)},n=function(e){c&&(c.error=e),d(e)};return e.addEventListener("load",r),e.addEventListener("error",n),document.body.appendChild(e),function(){e.removeEventListener("load",r),e.removeEventListener("error",n)}}}),[t]),[a,s]}var R=gform.utils,A=/input|select|textarea|button|object/,D="a, input, select, textarea, button, object, [tabindex]";function T(e){var t=e.getAttribute("tabindex");return null===t&&(t=void 0),parseInt(t,10)}function k(e){var t=e.nodeName.toLowerCase(),r=!isNaN(T(e));return(A.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||r)&&function(e){for(var t,r=e;r&&r!==document.body;){if(t=r,!(0,R.isJestTest)()&&(t.offsetWidth<=0&&t.offsetHeight<=0||"none"===t.style.display))return!1;r=r.parentNode}return!0}(e)}function x(e){var t=T(e);return(isNaN(t)||t>=0)&&k(e)}function C(e){return Array.from(e.querySelectorAll(D)).filter(x)}var L=[],N=null,F=!1;function H(){F=!0}function I(){F&&(F=!1,N&&(N.contains(document.activeElement)||(C(N)[0]||N).focus()))}var q=i.React.useCallback,M=i.React.useEffect,$=i.React.useRef;var W=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=$(),n=$(null),o=q((function(o){if(n.current&&n.current(),r.current&&(!function(){var e=null;try{(e=L.pop())&&setTimeout((function(){return e.focus()}))}catch(e){}}(),N.removeEventListener("focusout",H),N.removeEventListener("focusin",I),N=null),e&&o){(N=o).addEventListener("focusout",H,!1),N.addEventListener("focusin",I,!0),L.push(document.activeElement);var i=function(e){n.current=t.disableAriaHider?null:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body > :not(script)",r=Array.from(document.querySelectorAll(t)).map((function(t){if(!t.contains(e)){var r=t.getAttribute("aria-hidden");return null!==r&&"false"!==r||t.setAttribute("aria-hidden","true"),{node:t,ariaHidden:r}}}));return function(){r.forEach((function(e){e&&(null===e.ariaHidden?e.node.removeAttribute("aria-hidden"):e.node.setAttribute("aria-hidden",e.ariaHidden))}))}}(e);var r=null;if(t.focusSelector&&(r="string"==typeof t.focusSelector?e.querySelector(t.focusSelector):t.focusSelector),!r){var o=Array.from(e.querySelectorAll(D));!(r=o.find(x)||o.find(k)||null)&&k(e)&&(r=e)}r&&r.focus()};setTimeout((function(){o.ownerDocument&&i(o)})),r.current=o}else r.current=null}),[e,t.focusSelector,t.disableAriaHider]);return M((function(){if(e){var t=function(e){"Tab"===e.key&&r.current&&function(e,t){var r=C(e);if(r.length){if(r[t.shiftKey?0:r.length-1]===document.activeElement||e===document.activeElement){t.preventDefault();var n=r[t.shiftKey?r.length-1:0];n&&n.focus()}}else t.preventDefault()}(r.current,e)};return document.addEventListener("keydown",t),function(){document.removeEventListener("keydown",t)}}}),[e]),o};function J(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function K(e){for(var t=1;t