1/*! For license information please see 7705.61ba80b156e30de34651.bundle.js.LICENSE.txt */ 2"use strict";(globalThis.webpackChunkkentico_react_boilerplate=globalThis.webpackChunkkentico_react_boilerplate||[]).push([[7705,3329],{50259:function(e,t,n){n.d(t,{pm:function(){return l}});var r,o=n(67294),a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)},i=function(e){"undefined"!=typeof process&&process.env,console.warn(e)};(r||(r={})).SCRIPT_NOT_AVAILABLE="Recaptcha script is not available";var c=(0,o.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}});function l(e){var t=e.reCaptchaKey,n=e.useEnterprise,l=void 0!==n&&n,u=e.useRecaptchaNet,s=void 0!==u&&u,p=e.scriptProps,d=e.language,m=e.container,f=e.children,y=(0,o.useState)(null),h=y[0],g=y[1],b=(0,o.useRef)(t),v=JSON.stringify(p),w=JSON.stringify(null==m?void 0:m.parameters);(0,o.useEffect)((function(){if(t){var e=(null==p?void 0:p.id)||"google-recaptcha-v3",n=(null==p?void 0:p.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[n]=function(){var e=l?window.grecaptcha.enterprise:window.grecaptcha,n=a({badge:"inline",size:"invisible",sitekey:t},(null==m?void 0:m.parameters)||{});b.current=e.render(null==m?void 0:m.element,n)},function(e){var t=e.render,n=e.onLoadCallbackName,r=e.language,o=e.onLoad,a=e.useRecaptchaNet,i=e.useEnterprise,c=e.scriptProps,l=void 0===c?{}:c,u=l.nonce,s=void 0===u?"":u,p=l.defer,d=void 0!==p&&p,m=l.async,f=void 0!==m&&m,y=l.id,h=void 0===y?"":y,g=l.appendTo,b=h||"google-recaptcha-v3";if(function(e){return!!document.querySelector("#"+e)}(b))o();else{var v=function(e){return"https://www."+(e.useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(e.useEnterprise?"enterprise.js":"api.js")}({useEnterprise:i,useRecaptchaNet:a}),w=document.createElement("script");w.id=b,w.src=v+"?render="+t+("explicit"===t?"&onload="+n:"")+(r?"&hl="+r:""),s&&(w.nonce=s),w.defer=!!d,w.async=!!f,w.onload=o,("body"===g?document.body:document.getElementsByTagName("head")[0]).appendChild(w)}}({render:(null==m?void 0:m.element)?"explicit":t,onLoadCallbackName:n,useEnterprise:l,useRecaptchaNet:s,scriptProps:p,language:d,onLoad:function(){if(window&&window.grecaptcha){var e=l?window.grecaptcha.enterprise:window.grecaptcha;e.ready((function(){g(e)}))}else i("<GoogleRecaptchaProvider /> "+r.SCRIPT_NOT_AVAILABLE)},onError:function(){i("Error loading google recaptcha script")}}),function(){!function(e,t){(function(e){var t;e?function(e){if(e)for(;e.lastChild;)e.lastChild.remove()}("string"==typeof e?document.getElementById(e):e):(t=document.querySelector(".grecaptcha-badge"))&&t.parentNode&&document.body.removeChild(t.parentNode)})(t),window.___grecaptcha_cfg=void 0;var n=document.querySelector("#"+e);n&&n.remove(),function(){var e=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]');e&&e.remove()}()}(e,null==m?void 0:m.element)}}i("<GoogleReCaptchaProvider /> recaptcha key not provided")}),[l,s,v,w,d,t,null==m?void 0:m.element]);var E=(0,o.useCallback)((function(e){if(!h||!h.execute)throw new Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return h.execute(b.current,{action:e})}),[h,b]),C=(0,o.useMemo)((function(){return{executeRecaptcha:h?E:void 0,container:null==m?void 0:m.element}}),[E,h,null==m?void 0:m.element]);return o.createElement(c.Provider,{value:C},f)}function u(e,t){return e(t={exports:{}},t.exports),t.exports}c.Consumer;var s="function"==typeof Symbol&&Symbol.for,p=s?Symbol.for("react.element"):60103,d=s?Symbol.for("react.portal"):60106,m=s?Symbol.for("react.fragment"):60107,f=s?Symbol.for("react.strict_mode"):60108,y=s?Symbol.for("react.profiler"):60114,h=s?Symbol.for("react.provider"):60109,g=s?Symbol.for("react.context"):60110,b=s?Symbol.for("react.async_mode"):60111,v=s?Symbol.for("react.concurrent_mode"):60111,w=s?Symbol.for("react.forward_ref"):60112,E=s?Symbol.for("react.suspense"):60113,C=s?Symbol.for("react.suspense_list"):60120,S=s?Symbol.for("react.memo"):60115,x=s?Symbol.for("react.lazy"):60116,P=s?Symbol.for("react.block"):60121,k=s?Symbol.for("react.fundamental"):60117,F=s?Symbol.for("react.responder"):60118,O=s?Symbol.for("react.scope"):60119;function $(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case p:switch(e=e.type){case b:case v:case m:case y:case f:case E:return e;default:switch(e=e&&e.$$typeof){case g:case w:case x:case S:case h:return e;default:return t}}case d:return t}}}function N(e){return $(e)===v}var R={AsyncMode:b,ConcurrentMode:v,ContextConsumer:g,ContextProvider:h,Element:p,ForwardRef:w,Fragment:m,Lazy:x,Memo:S,Portal:d,Profiler:y,StrictMode:f,Suspense:E,isAsyncMode:function(e){return N(e)||$(e)===b},isConcurrentMode:N,isContextConsumer:function(e){return $(e)===g},isContextProvider:function(e){return $(e)===h},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===p},isForwardRef:function(e){return $(e)===w},isFragment:function(e){return $(e)===m},isLazy:function(e){return $(e)===x},isMemo:function(e){return $(e)===S},isPortal:function(e){return $(e)===d},isProfiler:function(e){return $(e)===y},isStrictMode:function(e){return $(e)===f},isSuspense:function(e){return $(e)===E},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===m||e===v||e===y||e===f||e===E||e===C||"object"==typeof e&&null!==e&&(e.$$typeof===x||e.$$typeof===S||e.$$typeof===h||e.$$typeof===g||e.$$typeof===w||e.$$typeof===k||e.$$typeof===F||e.$$typeof===O||e.$$typeof===P)},typeOf:$},T=u((function(e,t){})),M=(T.AsyncMode,T.ConcurrentMode,T.ContextConsumer,T.ContextProvider,T.Element,T.ForwardRef,T.Fragment,T.Lazy,T.Memo,T.Portal,T.Profiler,T.StrictMode,T.Suspense,T.isAsyncMode,T.isConcurrentMode,T.isContextConsumer,T.isContextProvider,T.isElement,T.isForwardRef,T.isFragment,T.isLazy,T.isMemo,T.isPortal,T.isProfiler,T.isStrictMode,T.isSuspense,T.isValidElementType,T.typeOf,u((function(e){e.exports=R}))),j={};j[M.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},j[M.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Object.defineProperty,Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype},23329:function(e,t,n){n.r(t);var r=n(67294),o=n(41054),a=n(39249),i=n(2790),c=n(49657),l=n(86737),u=n(27341),s=n(35563),p=n(47547),d=n(10712),m=function(){return m=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},m.apply(this,arguments)},f=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};t.default=function(e){var t=e.api,n=e.formSections,y=e.localization,h=e.reCaptcha,g=e.text,b=e.title,v=(0,r.useState)(!1),w=v[0],E=v[1],C=(0,r.useState)(null),S=C[0],x=C[1],P=(0,r.useContext)(i.f.Ctx).reCaptchaSiteKey,k=(0,r.useMemo)((function(){var e=[];
2return n.forEach((function(t){e=f(f([],e,!0),t.fields,!0)})),e}),[]),F=(0,p.i)([k]),O=c.cY.useFormFields(F),$=O.formValidationRules,N=O.initialValues,R=O.isInitialValid,T=O.visibleFormFields,M=(0,p.l)(T,n),j=function(e){var n=Object.keys(e),r=new FormData;return n.forEach((function(t){r.append(t,e[t])})),(0,c.ZV)({url:t,method:"POST",body:r},null)};return r.createElement(r.Fragment,null,b&&r.createElement(d.np,null,b),g&&r.createElement(d.oF,null,r.createElement(d.qY,null,g.left&&r.createElement(u.Ho,{content:(0,c.Q)(g.left)})),r.createElement(d.qY,{className:"right-text"},g.right&&r.createElement(u.Ho,{content:(0,c.Q)(g.right)}))),r.createElement(d.PQ,null,S&&w?r.createElement(s.v,{buttonTitle:(0,c.i0)(y,"formWithContacts/backToForm"),handleBackToForm:function(){E(!1),x(null)},text:S,title:(0,c.i0)(y,"formWithContacts/success/title")}):r.createElement(r.Fragment,null,r.createElement(o.J9,{initialValues:N,isInitialValid:R,onSubmit:function(e,t){return n=void 0,r=void 0,i=function(){var n,r;return function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}(this,(function(o){switch(o.label){case 0:return o.trys.push([0,5,6,7]),[4,(0,c.Dc)()];case 1:return o.sent(),n=null,h.isEnabled&&window.grecaptcha?[4,window.grecaptcha.execute(P,{action:h.action})]:[3,3];case 2:n=o.sent(),o.label=3;case 3:return r=m({},e),h.isEnabled&&n&&(r[l.hh.TOKEN_ID]=n),[4,j(r)];case 4:return function(e){var t=e.message,n=e.payload,r=e.success,o=null==n?void 0:n.redirectToUrl;E(r),o?c.VF.redirect(o):t&&x(t)}(o.sent()),t.resetForm(),[3,7];case 5:return function(e,t){var n;t.setErrors(c.cY.apiErrorsToFormikErrors(e.data)),(null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.message)&&a.Am.error(e.data.message)}(o.sent(),t),[3,7];case 6:return t.setSubmitting(!1),[7];case 7:return[2]}}
2))},new((o=Promise)||(o=Promise))((function(e,t){function a(e){try{l(i.next(e))}catch(e){t(e)}}function c(e){try{l(i.throw(e))}catch(e){t(e)}}function l(t){var n;t.done?e(t.value):(n=t.value,n instanceof o?n:new o((function(e){e(n)}))).then(a,c)}l((i=i.apply(n,r||[])).next())}));var n,r,o,i},validate:function(e){return c.cY.formikValidate(e,$)}},(function(e){return r.createElement("form",{noValidate:!0,onSubmit:e.handleSubmit},!!(null==M?void 0:M.length)&&M.map((function(t){var n=t.fields,o=t.id,a=t.legend;return r.createElement(u.Es.FormBody,{key:o},r.createElement("legend",{className:"u-sr-only"},a),r.createElement(u.Es.FormRow,null,!!(null==n?void 0:n.length)&&n.map((function(t){return function(e,t){var n="checkbox"===e.type&&1===e.options.length;return r.createElement(u.Es.FormCol,{key:e.id,md:e.fullWidth?12:6},r.createElement(u.Es.RenderFormikFormFieldByType,{field:e,formikProps:t,labelIsHidden:n}))}(t,e)}))))})),r.createElement(d.qe,null,r.createElement(u.zx,{disabled:e.isSubmitting,isLoading:e.isSubmitting,responsiveBlock:["xs","sm"],suffix:"arrow-right",template:"primary",type:"submit"},(0,c.i0)(y,"formWithContacts/submit"))),r.createElement(u.Es.ScrollToFirstError,{formikProps:e}))})))))}},37705:function(e,t,n){n.r(t),n.d(t,{default:function(){return F}});var r,o,a,i,c,l,u,s=n(67294),p=n(50259),d=n(2790),m=n(27341),f=n(49657),y=n(23329),h=n(40716),g=n.n(h),b=n(56613),v=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},w=(0,b.ZP)(m.$0).withConfig({displayName:"StyledSection",componentId:"-5qs79n"})(r||(r=v([""],[""]))),E=b.ZP.div.withConfig({displayName:"StyledFormLayout",componentId:"-usn1r8"})(o||(o=v(["\n display: grid;\n gap: "," 0;\n grid-template-columns: 1fr;\n\n @media (min-width: ","px) {\n gap: 0 ",";\n grid-template-columns: 2fr 1fr;\n }\n\n @media (min-width: ","px) {\n gap: 0 ",";\n }\n\n @media (min-width: ","px) {\n gap: 0 ",";\n grid-template-columns: "," ",";\n }\n"],["\n display: grid;\n gap: "," 0;\n grid-template-columns: 1fr;\n\n @media (min-width: ","px) {\n gap: 0 ",";\n grid-template-columns: 2fr 1fr;\n }\n\n @media (min-width: ","px) {\n gap: 0 ",";\n }\n\n @media (min-width: ","px) {\n gap: 0 ",";\n grid-template-columns: "," ",";\n }\n"])),g()(42),(function(e){return e.theme.breakpoints.lg}),g()(48),(function(e){return e.theme.breakpoints.xl}),g()(80),(function(e){return e.theme.breakpoints.xxl}),g()(142),g()(802),g()(330)),C=b.ZP.div.withConfig({displayName:"StyledForm",componentId:"-r8ty0z"})(a||(a=v([""],[""]))),S=b.ZP.div.withConfig({displayName:"StyledContacts",componentId:"-1ax9ban"})(i||(i=v([""],[""]))),x=b.ZP.div.withConfig({displayName:"StyledContactInfo",componentId:"-cn8d6g"})(c||(c=v(["\n font-size: ",";\n line-height: ",";\n margin-top: ",";\n"],["\n font-size: ",";\n line-height: ",";\n margin-top: ",";\n"])),(function(e){return e.theme.fontSizes.md}),(function(e){return e.theme.lineHeights.lg}),g()(24)),P=b.ZP.div.withConfig({displayName:"StyledHeadOfficeContact",componentId:"-yo93gs"})(l||(l=v(["\n margin-top: ",";\n\n @media (min-width: ","px) {\n margin-top: ",";\n }\n"],["\n margin-top: ",";\n\n @media (min-width: ","px) {\n margin-top: ",";\n }\n"])),g()(24),(function(e){return e.theme.breakpoints.lg}),g()(40)),k=b.ZP.h2.withConfig({displayName:"StyledHeadOfficeContactTitle",componentId:"-13660wa"})(u||(u=v(["\n margin-bottom: ",";\n"],["\n margin-bottom: ",";\n"])),g()(24)),F=function(e){var t=e.data,n=(0,s.useContext)(d.f.Ctx),r=n.culture,o=n.reCaptchaSiteKey,a=t.api,i=t.contact,c=t.contactInfoText,l=t.formSections,u=t.headOfficeContact,h=t.localization,g=t.reCaptcha,b=t.text,v=t.title;return s.createElement(w,null,s.createElement(m.Ar.Container,null,s.createElement(E,null,s.createElement(C,null,g.isEnabled&&o?s.createElement(p.pm,{language:r,reCaptchaKey:o},s.createElement(y.default,{api:a,formSections:l,localization:h,reCaptcha:g,text:b,title:v})):s.createElement(y.default,{api:a,formSections:l,localization:h,reCaptcha:g,text:b,title:v})),s.createElement(S,null,i&&s.createElement(m.r8,{data:i,isMajor:!0}),c&&s.createElement(x,null,s.createElement(m.Ho,{content:(0,f.Q)(c)})),u&&s.createElement(P,null,u.title&&s.createElement(k,null,u.title),u.contact&&s.createElement(m.r8,{data:u.contact}
2))))))}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.