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