1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7557,2993],{55675:function(e,t,r){"use strict";r.r(t);var n,a,l=r(58872);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}t.default=function(e){return l.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none"},e),n||(n=l.createElement("path",{fill:"{current}",fillRule:"evenodd",d:"M22 13.237H1.5v-1.474H22z",clipRule:"evenodd"})),a||(a=l.createElement("path",{fill:"{current}",fillRule:"evenodd",d:"M19.988 12.5a11.5 11.5 0 0 1-6.566-8.042l1.44-.316A10.02 10.02 0 0 0 22.5 11.78v1.44a10.02 10.02 0 0 0-7.639 7.638l-1.439-.316a11.5 11.5 0 0 1 6.566-8.042",clipRule:"evenodd"})))}},7557:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return h}});var n=r(27573),a=r(88558),l=r(7653),o=r(93351),i=r(2734);let s={plain:"border border-black-900 bg-gray-50",outlined:"border rounded-md",error:"bg-gray-50 border border-red-700 rounded-md focus:border-red-700"},c=l.forwardRef((e,t)=>{let{variant:r="plain",className:a="",...l}=e,o=(0,i.cn)("text-gray-600 placeholder-gray-500 focus:border-purple-600 transition duration-100 outline-none outline-offset-0 outline-1 px-4 py-3 w-full disabled:opacity-50 disabled:cursor-not-allowed font-paralucent text-base lg:text-sm",s[r],a);return(0,n.jsx)("input",{ref:t,className:o,...l})});c.displayName="Input";var u=e=>{var t,r;let{id:a,label:s,register:u,placeholder:d,className:f,required:p,inputClassName:h,labelBgColor:v="bg-gray-50",type:b="text",...m}=e,{control:g,register:x,formState:w}=(0,o.Gc)(),y=u||x(a),j=(0,o.qo)({name:y.name,control:g}),[N,k]=(0,l.useState)(!1),E=p?" *":"",_=!!j||N,S=null===(r=w.errors[a])||void 0===r?void 0:null===(t=r.message)||void 0===t?void 0:t.toString(),L=!S;return(0,n.jsx)("div",{className:(0,i.cn)("relative font-paralucent mb-[2.125rem] max-h-[4rem]",f),children:(0,n.jsxs)("label",{htmlFor:a,children:[(0,n.jsxs)("span",{className:(0,i.cn)("relative text-xs top-3 left-3 px-2 inline-block transition-all duration-200",_?"opacity-100 scale-100":"opacity-0 scale-50"),children:[(0,n.jsxs)("span",{className:"absolute inset-0 flex flex-col z-[-1]",children:[(0,n.jsx)("span",{className:(0,i.cn)("h-1/2 w-full",v)}),(0,n.jsx)("span",{className:"h-1/2 w-full bg-transparent"})]}),(0,n.jsx)("em",{className:(0,i.cn)("transition-all duration-200 delay-200 not-italic",_?"opacity-100":"opacity-0",!L&&"text-red-700"),children:"".concat(s).concat(E)})]}),(0,n.jsx)(c,{id:a,placeholder:"".concat(d||s).concat(E),type:b,className:(0,i.cn)("focus:border-green-800 focus:outline-green-800 hover:outline-green-800 hover:border-green-800 box-border",!L&&"border-red-700 focus:border-red-700 focus:outline-red-700 hover:outline-red-700 hover:border-red-700 bg-gray-50 box-border",h),...y,...m,onFocus:()=>k(!0),onBlur:()=>k(!1)}),!L&&(0,n.jsx)("span",{role:"alert",className:(0,i.cn)("text-red-700 text-xs"),children:S})]})})},d=r(90553),f=r(22756),p=r(65297),h=e=>{var t;let{ctaButton:r,onFormSubmit:l,inputProps:o,isIconVisible:s,buttonClassName:c,pageSection:h="unknown",inputClassName:v="[&&]:bg-gray-200",labelBgColor:b="bg-white"}=e,m=(0,f.default)(),g=(0,p.p)(null==r?void 0:r.href);return(0,n.jsxs)(n.Fragment,{children:[(null==r?void 0:r.show_input)&&o&&(0,n.jsx)(u,{...o,placeholder:null!==(t=null==r?void 0:r.input_placeholder)&&void 0!==t?t:o.placeholder,inputClassName:(0,i.cn)("h-[3.13rem]",v),className:"w-full relative -right-[0.0625rem] max-w-[29rem]",labelBgColor:b}),(0,n.jsx)(d.Z,{as:(null==r?void 0:r.href)?a.Z:"button",href:g,type:"submit",className:(0,i.cn)("w-[3.125rem] h-[3.125rem]",c),onClick:()=>{m("Click",{element_text:(null==r?void 0:r.text)||"",element_href:(null==r?void 0:r.href)||"",page_section:h,user_action:(null==r?void 0:r.href)?"cta_link":"cta_form_submit",has_input:(null==r?void 0:r.show_input)||!1}),null==l||l()},isIconVisible:s,children:null==r?void 0:r.text})]})}},34413:function(e,t,r){"use strict";r.r(t),r.d(t,{PreserveParamsLink:function(){return i}});var n=r(27573),a=r(88146),l=r(7653),o=r(22526);let i=e=>{let{href:t,...r}=e,i=(0,o.Z)(),s=(0,l.useMemo)(()=>
1{if(!t||"string"!=typeof t)return t;let e=i.toString();if(!e)return t;let r=t.includes("?")?"&":"?";return"".concat(t).concat(r).concat(e)},[t,i]);return(0,n.jsx)(a.default,{...r,href:s})};t.default=i},88558:function(e,t,r){"use strict";r.d(t,{Z:function(){return n.PreserveParamsLink}});var n=r(34413)},22526:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(81695),a=r(7653);let l=new URLSearchParams,o="client-search-params:change",i=!1,s=()=>{i||(i=!0,["pushState","replaceState"].forEach(e=>{let t=window.history[e].bind(window.history);window.history[e]=function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];let a=t(...r);return window.dispatchEvent(new Event(o)),a}}))};function c(){let e=(0,n.usePathname)(),[t,r]=(0,a.useState)(l);return(0,a.useEffect)(()=>{s();let e=()=>{let e=new URLSearchParams(window.location.search);r(t=>{let r=e.toString();return""===r?t===l?t:l:r===t.toString()?t:e})};return e(),window.addEventListener(o,e),window.addEventListener("popstate",e),()=>{window.removeEventListener(o,e),window.removeEventListener("popstate",e)}},[e]),t}},65297:function(e,t,r){"use strict";r.d(t,{p:function(){return l},t:function(){return i}});var n=r(7653),a=r(22526);let l=e=>{let t=(0,a.Z)();return(0,n.useMemo)(()=>{if(!e)return"";let r=t.toString();if(!r)return e;let n=e.indexOf("#"),a=-1===n?e:e.slice(0,n),l=-1===n?"":e.slice(n),o=a.includes("?")?"&":"?",i=a?"".concat(a).concat(o).concat(r):"?".concat(r);return"".concat(i).concat(l)},[e,t])},o=e=>!!e&&e.startsWith("/")&&!e.startsWith("//"),i=e=>{let t=l(e);return o(e)?t:e}},90553:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var n=r(27573),a=r(7653),l=r(55675),o=r(2734);r(54502);var i=e=>{let{text:t,className:r}=e;return(0,n.jsx)("span",{className:(0,o.cn)("translate-animation relative overflow-hidden flex align-top w-full h-full",r),"data-text":t,"aria-label":t,children:(0,n.jsx)("span",{className:"opacity-0",children:t})})};let s={default:"bg-gray-200 text-black-900 border-black-900 hover:bg-green-500 hover:border-[#334155]",active:"text-green-500 border-green-500",negative:"text-orange-500 border-orange-500"},c={default:"fill-black-900",active:"fill-green-900",negative:"fill-orange-900"},u={default:"bg-green-500 border-black-900",active:"bg-green-500 border-green-500",negative:"bg-orange-500 border-orange-500"},d={top:"-rotate-90",right:"rotate-0",bottom:"rotate-90",left:"-rotate-180"},f=a.forwardRef((e,t)=>{let{as:r="button",scroll:f,href:p,variant:h="default",iconDirection:v="right",isIconVisible:b=!0,className:m,icon:g,download:x,withAnimation:w=!1,...y}=e,{children:j}=y,N="".concat("flex items-center justify-center h-12 group w-fit border border-1 whitespace-nowrap text-base font-medium transition-all ease-in-out active:scale-[0.97] motion-reduce:active:scale-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#22D3EE] disabled:opacity-50 disabled:cursor-not-allowed"," ").concat(s[h]," ").concat(m),k="boolean"==typeof f&&"string"!=typeof r,E={...y,...p?{href:p}:{},..."a"===r&&void 0!==x?{download:x}:{},...k?{scroll:f}:{},ref:t,className:N};return(0,n.jsxs)(r,{...E,children:[j&&(0,n.jsx)("div",{className:(0,o.cn)("flex items-center justify-center h-full group",w&&"px-5"),children:w?(0,n.jsx)(i,{text:j}):(0,n.jsx)("span",{className:"px-5",children:j})}),b&&(0,n.jsx)("span",{className:(0,o.cn)("w-12 h-full flex items-center justify-center",j&&"border-l",u[h]),children:g?a.cloneElement(g,{className:(0,o.cn)(c[h],d[v],g.props.className)}):(0,n.jsx)(l.default,{className:(0,o.cn)(c[h],d[v])})})]})});f.displayName="Button";var p=f},54502:function(){}}]);
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.