XylotrechusZ
!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=Array(t);n<t;n++)r[n]=e[n];return r}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,u,c=[],a=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{if(!a&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(l)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}e.r(t),e.d(t,{ConditionalWrapper:function(){return o},FadeIn:function(){return a},IdProvider:function(){return P},JSXFromText:function(){return y},SprintR:function(){return b},StoreProvider:function(){return x},create:function(){return ee},getComponents:function(){return v},useFocusTrap:function(){return X},useId:function(){return O},useIdContext:function(){return j},usePopup:function(){return Q},useScript:function(){return q},useStateWithDep:function(){return re},useStoreContext:function(){return T}});var o=function(e){var t=e.condition,n=e.wrapper,r=e.children;return t?n(r):r},i=window.gform.libraries,u=i.React.useState,c=i.React.useEffect;function a(e){var t=r(u(0),2),n=t[0],o=t[1],a="number"==typeof e.transitionDuration?e.transitionDuration:400,l="number"==typeof e.transformDistance?e.transformDistance:20,f="number"==typeof e.delay?e.delay:50,s=e.wrapperTag||"div",d=e.childTag||"div",p=void 0===e.visible||e.visible;return c((function(){var t=i.React.Children.count(e.children);if(p||(t=0),t===n){var r=setTimeout((function(){e.onComplete&&e.onComplete()}),a);return function(){return clearTimeout(r)}}var u=t>n?1:-1,c=setTimeout((function(){o(n+u)}),f);return function(){return clearTimeout(c)}}),[i.React.Children.count(e.children),f,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(l,"px)"),opacity:n>r?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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=l(r))return r;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,n){return(t=f(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<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t){return Object.keys(e).reduce((function(n,r){var o=t[r]||{};return n[r]={component:o.component||e[r],props:p({$style:o.style},o.props)},n}),{})}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(null,arguments)}function y(e){var t,n,r,o,u=e.closingSymbol,c=void 0===u?"%%":u,a=e.openingSymbol,l=void 0===a?"%%":a,f=e.text,s=void 0===f?"":f,d=e.tokens,p=(void 0===d?[]:d).reduce((function(e,t){return e[t.key]=t,e}),{});return i.React.createElement(i.React.Fragment,null,(t=s,n=new RegExp("".concat(l,"(.*?)").concat(c,"([\\s\\S]*?)").concat(l,"\\1").concat(c),"g"),r=0,o=[],t.replace(n,(function(e,n,u,c){o.push(t.slice(r,c));var a=p[n];if(a){var l=a.component;o.push(i.React.createElement(l,m({},a.props,{key:"".concat(n,"-").concat(c)}),u))}else o.push(u);r=c+e.length})),o.push(t.slice(r)),o))}function b(e){var t=e.text,n=void 0===t?"":t,r=e.tokens,o=void 0===r?[]:r;return i.React.createElement(i.React.Fragment,null,n.split(/(%\d\$s)/).map((function(e,t){var n=e.match(/%(\d)\$s/);if(n){var r=parseInt(n[1],10)-1,u=o[r];if(!u)return null;var c=u.component;return i.React.createElement(c,m({key:t},u.props))}return e})))}var g=window.gform.utils,h=i.React.useState,O=function(e){return r(h((function(){return e||(0,g.uniqueId)("id")})),1)[0]},w=i.React.createContext,S=i.React.useContext,E=w(null),j=function(){return S(E)},P=function(e){var t=e.children,n=e.id,r=O(void 0===n?"":n);return i.React.createElement(E.Provider,{value:r},t)},R=i.React.createContext,A=i.React.useContext,C=i.React.useState,k=R(null),T=function(e){var t=A(k);if(!t)throw new Error("Missing StoreProvider.");return t(e)},x=function(e){var t=e.children,n=e.initialState,o=e.createStore,u=r(C((function(){return o(n)})),1)[0];return i.React.createElement(k.Provider,{value:u},t)};var D=["src","checkForExisting"],F=i.React.useState,L=i.React.useEffect,N="undefined"!=typeof window&&void 0!==window.document,I={},H=function(e){var t=document.querySelector('script[src="'.concat(e,'"]'));if(t)return I[e]={loading:!1,error:null,scriptEl:t}};function q(e){var t=e.src,n=e.checkForExisting,o=void 0!==n&&n,i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,D),u=t?I[t]:void 0;!u&&o&&t&&N&&(u=H(t));var c=r(F(u?u.loading:Boolean(t)),2),a=c[0],l=c[1],f=r(F(u?u.error:null),2),s=f[0],d=f[1];return L((function(){if(N&&t&&a&&!s){var e;!(u=I[t])&&o&&(u=H(t)),u?e=u.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]})),u=I[t]={loading:!0,error:null,scriptEl:e});var n=function(){u&&(u.loading=!1),l(!1)},r=function(e){u&&(u.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 M=/input|select|textarea|button|object/,$="a, input, select, textarea, button, object, [tabindex]";function K(e){var t=e.getAttribute("tabindex");return null===t&&(t=void 0),parseInt(t,10)}function W(e){var t=e.nodeName.toLowerCase(),n=!isNaN(K(e));return(M.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,g.isJestTest)()&&(t.offsetWidth<=0&&t.offsetHeight<=0||"none"===t.style.display))return!1;n=n.parentNode}return!0}(e)}function J(e){var t=K(e);return(isNaN(t)||t>=0)&&W(e)}function _(e){return Array.from(e.querySelectorAll($)).filter(J)}var z=i.React.useCallback,B=i.React.useEffect,U=i.React.useRef;var X=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=U(),r=U(null),o=function(){var e=[],t=null,n=!1;function r(){n=!0}function o(){n&&(n=!1,t&&(t.contains(document.activeElement)||(_(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,u=o.returnFocus,c=o.setupScopedFocus,a=o.teardownScopedFocus,l=z((function(o){if(r.current&&r.current(),n.current&&(u(),a()),e&&o){c(o),i();var l=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($));!(n=o.find(J)||o.find(W)||null)&&W(e)&&(n=e)}n&&n.focus()};setTimeout((function(){o.ownerDocument&&l(o)})),n.current=o}else n.current=null}),[e,t.focusSelector,t.disableAriaHider]);return B((function(){if(e){var t=function(e){"Tab"===e.key&&n.current&&function(e,t){var n=_(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]),l},Y=i.React.useEffect,G=i.React.useState,Q=function(e){var t=e.closeOnClickOutside,n=void 0===t||t,o=e.customClickOutsideLogic,i=void 0===o?function(){}:o,u=e.duration,c=void 0===u?150:u,a=e.initialOpen,l=void 0!==a&&a,f=e.onAfterClose,s=void 0===f?function(){}:f,d=e.onAfterOpen,p=void 0===d?function(){}:d,v=e.onClose,m=void 0===v?function(){}:v,y=e.onOpen,b=void 0===y?function(){}:y,g=e.popupRef,h=void 0===g?null:g,O=e.triggerRef,w=void 0===O?null:O,S=r(G(!1),2),E=S[0],j=S[1],P=r(G(!1),2),R=P[0],A=P[1],C=r(G(l),2),k=C[0],T=C[1];Y((function(){if(n){var e=function(e){k&&null!=w&&w.current&&null!=h&&h.current&&(w.current.contains(e.target)||h.current.contains(e.target)||i(e)||x())};return document.addEventListener("click",e),function(){document.removeEventListener("click",e)}}}),[k,h,w]);var x=function(){m(),T(!1),A(!0),setTimeout((function(){A(!1),s()}),c)};return{closePopup:x,openPopup:function(){b(),j(!0),requestAnimationFrame((function(){T(!0),setTimeout((function(){j(!1),p()}),c)}))},handleEscKeyDown:function(e){var t;"Escape"===e.key&&(x(),null==w||null===(t=w.current)||void 0===t||t.focus())},popupHide:R,popupOpen:k,popupReveal:E,setPopupHide:A,setPopupOpen:T,setPopupReveal:j}};function V(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 Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ee=function(e,t){var n=(0,i.zustand)((function(n){return Z(Z({},e),t(n))}));return n.getData=function(){var t=n.getState();return(0,g.filterObject)(t,(function(t){var n=r(t,1)[0];return void 0!==e[n]}))},n.getActions=function(){var e=n.getState(),o=t();return(0,g.filterObject)(e,(function(e){var t=r(e,1)[0];return void 0!==o[t]}))},n},te=i.React.useState,ne=i.React.useEffect;function re(e){var t=r(te(e),2),n=t[0],o=t[1];return ne((function(){o(e)}),[e]),[n,o]}!function(){var e=window.gformComponentNamespace||"gform";window[e]=window[e]||{},window[e].utils=window[e].utils||{},window[e].utils.react=window[e].utils.react||{};var n=window[e].utils.react;Object.entries(t).forEach((function(e){var t=r(e,2),o=t[0],i=t[1];n[o]=i}))}()}();