"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[26237],{36776:function(e,t,r){var n=r(24246),a=r(69363);t.Z=e=>{let{author:t,className:r,style:o,dataCy:i,size:l=32,roundedFull:s,noShadow:c}=e;return(0,n.jsx)("div",{className:(0,a.A)("h-8 w-8 font-medium text-blue-50 flex items-center justify-center",r,!(null==t?void 0:t.profilePictureUrl)&&"bg-blue-500",s?"rounded-full":"rounded-md"),style:o,"data-cy":i,children:(null==t?void 0:t.profilePictureUrl)?(0,n.jsx)("img",{referrerPolicy:"no-referrer",width:l,height:l,src:t.profilePictureUrl,className:(0,a.A)("inline-block max-w-none",s?"rounded-full":"rounded-md",!c&&"shadow"),style:{width:"".concat(l,"px"),height:"".concat(l,"px")},alt:"Profile picture"}):(null==t?void 0:t.firstName)?(0,n.jsxs)(n.Fragment,{children:[((null==t?void 0:t.firstName)||"")[0],((null==t?void 0:t.lastName)||"")[0]]}):(0,n.jsx)("svg",{width:l,height:l,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"p-[6px]",children:(0,n.jsx)("path",{fillRule:"evenodd",d:"M7.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3.751 20.105a8.25 8.25 0 0 1 16.498 0 .75.75 0 0 1-.437.695A18.683 18.683 0 0 1 12 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 0 1-.437-.695Z",clipRule:"evenodd"})})})}},38563:function(e,t,r){r.d(t,{Z:function(){return d}});var n=r(24246);r(27378);var a=r(91944),o=r(80844),i=r(36734),l=r(51765),s=r(60602),c=r(69363),d=e=>{let{onClick:t,icon:r,children:d,loading:m,className:u,theme:h="primary",disabled:x,type:p="button",size:f="normal",innerStyle:g,pulse:b,removeRingOffset:v,loadingIconClassName:y,tabIndex:w,style:j={},"data-cy":C,"aria-label":N,noColorChangeOnDisabled:k,innerClassName:A,pulseSize:T="normal"}=e;return(0,n.jsxs)("button",{"data-cy":C||"button-component","aria-label":N,style:j,tabIndex:w,type:p,className:(0,c.A)("inline-flex items-center px-3 border shadow-sm leading-4 font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",b&&"relative","normal"===f?"h-[42px] sm:h-[38px] text-sm":"extra_small"===f?"h-[26px] text-xs":"mini"===f?"text-sm":"large"===f?"h-[42px] text-base":"extra_large"===f?"h-[46px] text-base":"h-[34px] text-sm","danger"===h&&"bg-red-500 hover:bg-red-700 focus:red-blue text-white border-transparent focus:ring-red-500","link"===h&&"bg-transparent text-blue-500 px-0 hover:text-blue-700 !shadow-none border-transparent","link-secondary"===h&&"bg-transparent text-gray-500 px-0 hover:text-gray-700 !shadow-none border-transparent","primary"===h&&"border-transparent bg-blue-600 hover:bg-blue-700 text-white","fillout-primary"===h&&"border-transparent bg-primary hover:bg-primary-light text-fillout-black focus:ring-fillout-black ","fillout-primary-inverted"===h&&"border-transparent bg-fillout-black hover:bg-fillout-black/90 text-primary focus:ring-fillout-black ","soft-primary"===h&&"border-transparent bg-blue-50 hover:bg-blue-100 text-blue-500 focus:ring-blue-600 !border-blue-400","green"===h&&"border-transparent bg-green-600 hover:bg-green-700 text-white focus:ring-green-600","violet"===h&&"border-transparent bg-violet-600 hover:bg-violet-700 text-white","outline-danger"===h&&"border-red-200 bg-red-50 text-red-600 hover:bg-red-100 focus:ring-red-500","amber"===h&&"border-transparent bg-amber-500 hover:bg-amber-700 text-white","transparent"===h&&"text-gray-800 !shadow-none border-transparent","secondary"===h&&"border-gray-300 text-gray-100 bg-gray-800 hover:bg-gray-600 focus:!ring-gray-500","secondary-light"===h&&" focus:ring-gray-400 border-gray-300 text-gray-500 bg-white hover:bg-gray-50","outline"===h&&"border-gray-300 text-gray-500 bg-white hover:bg-gray-100 ","primary-outline"===h&&"border-blue-400 text-blue-500 bg-white hover:bg-gray-100","black"===h&&"border-transparent bg-black text-white hover:bg-gray-800 focus:ring-gray-800","pink"===h&&"border-transparent bg-pink-500 text-white hover:bg-pink-600","violet"===h&&"border-transparent bg-violet-600 hover:bg-violet-700 text-white focus:ring-violet-600",x&&!k&&"!bg-gray-300 !hover:bg-gray-300 ",(v||"link"===h)&&"focus:ring-0 focus:ring-offset-0",u),onClick:t,disabled:m||x,children:[b&&(0,n.jsxs)("span",{className:(0,c.A)("absolute left-auto flex","small"===T?"h-2 w-2 -top-[4px] -right-[4px]":"h-3 w-3 -top-[6px] -right-[6px]"),children:[(0,n.jsx)("span",{className:(0,c.A)("animate-ping absolute inline-flex h-full w-full rounded-full opacity-75","outline-danger"===h?"bg-red-300":"bg-blue-300")}),(0,n.jsx)("span",{className:(0,c.A)("relative inline-flex rounded-full","outline-danger"===h?"bg-red-300":"bg-blue-300","small"===T?"h-2 w-2":"h-3 w-3")})]}),m?(0,n.jsx)(i.Ho,{className:(0,c.A)("animate-spin -ml-1 mr-3 h-5 w-5",y,"small"===f&&"h-4 w-4","extra_small"===f&&"h-5 w-5","link"===h&&"p-1 mr-[6px]","secondary-light"===h||"outline"===h?"text-gray-400":"link"===h?"text-blue-500":"fillout-primary"===h?"text-fillout-black":"text-white")}):"plus"===r?(0,n.jsx)(a.Z,{className:"-ml-0.5 mr-2 h-4 w-4","aria-hidden":"true"}):"share"===r?(0,n.jsx)(o.Z,{className:"-ml-0.5 mr-[6px] h-4 w-4","aria-hidden":"true"}):"refresh"===r?(0,n.jsx)(s.Z,{className:"-ml-0.5 mr-[6px] h-4 w-4","aria-hidden":"true"}):"copy"===r?(0,n.jsx)(l.Z,{className:"-ml-0.5 mr-[6px] h-4 w-4","aria-hidden":"true"}):r?(0,n.jsx)(n.Fragment,{children:r}):(0,n.jsx)(n.Fragment,{}),(0,n.jsx)("span",{className:(0,c.A)("max-w-full overflow-hidden",A),style:g,children:d})]})}},41149:function(e,t,r){var n=r(39308),a=r(24246),o=r(69363),i=r(71866),l=r.n(i),s=r(57997),c=r(5362),d=r(41956);let m=r(39997).ZP.div.withConfig({componentId:"sc-6ba390ab-0"})(["button:focus{--tw-ring-color:"," !important;}@keyframes scaleUp{0%{transform:scale(1);}50%{transform:scale(1.05);}100%{transform:scale(1);}}.animate-check{animation:scaleUp 0.3s ease-in-out;}"],e=>e.primaryColor);t.Z=e=>{let{label:t,sublabel:r,checked:i,onChange:u,textColor:h,className:x,primaryColor:p,size:f="small",backgroundColor:g,rightToLeft:b,borderColor:v,id:y,fullWidth:w,customLabel:j,labelClassname:C,shouldAnimate:N,labelId:k,descriptionId:A,dontRenderLabel:T,disabled:z,tabIndex:S}=e;return(0,a.jsxs)("div",{className:(0,o.A)("relative flex items-center",w&&"w-full"),children:[(0,a.jsx)(m,{className:"flex items-center h-5",primaryColor:p||l().blue[600],children:(0,a.jsx)("button",{id:y,role:"checkbox","data-cy":"checkbox-component","aria-describedby":A,onClick:()=>u(!i),disabled:z,className:(0,o.A)("rounded border-[1.5px] focus:ring-2 focus:ring-offset-2 flex justify-center items-center","extra_small"===f&&"h-3 w-3","small"===f&&"h-4 w-4","medium"===f&&"h-5 w-5","large"===f&&"h-6 w-6",N&&i&&"animate-check",x),style:{background:i?p||l().blue[600]:g,borderColor:v||l().gray[300]},"aria-labelledby":k,"aria-checked":i,tabIndex:S,children:i&&(0,a.jsx)(s.n,{className:"w-4 h-4",style:{color:(0,c.nD)(p||l().blue[600])},"aria-hidden":!0})})}),(0,a.jsxs)("div",{className:(0,o.A)("text-sm",b?"mr-3":"ml-3",w&&"w-full"),onClick:()=>u(!i),children:[t&&!T&&(0,a.jsx)("label",{style:(0,n._)({color:h||l().gray[700]},f?d.lk[f].desktop.answerSize:{}),className:C,children:t}),j&&(0,a.jsx)(a.Fragment,{children:j}),r&&(0,a.jsx)("div",{className:"text-gray-500 flex whitespace-pre-line",children:r})]})]})}},13271:function(e,t,r){var n=r(39308),a=r(97768),o=r(24246),i=r(27378),l=r(69363),s=r(5362),c=r(45858);let d=(0,i.forwardRef)((e,t)=>{let{placeholder:r,onChange:i,rightIconAllowClickEvents:d,value:m,className:u,readOnly:h,iconStyle:x,iconClassName:p,customSize:f="small",onBlur:g,type:b,Icon:v,dataCy:y,filloutBrand:w,RightIcon:j,ariaLabel:C,isClearable:N}=e,k=(0,a._)(e,["placeholder","onChange","rightIconAllowClickEvents","value","className","readOnly","iconStyle","iconClassName","customSize","onBlur","type","Icon","dataCy","filloutBrand","RightIcon","ariaLabel","isClearable"]);return(0,o.jsxs)("div",{className:"relative w-full ",children:[v&&(0,o.jsx)("div",{className:(0,l.A)("absolute inset-y-0 left-0 flex items-center pointer-events-none","extra_small"===f&&"pl-2","small"===f&&"pl-3","medium"===f&&"pl-3","large"===f&&"pl-4"),children:(0,o.jsx)(v,{className:(0,l.A)("text-gray-400",p),style:(0,n._)({},x,(0,s.Pk)(f)),"aria-hidden":"true"})}),j&&(0,o.jsx)("div",{className:(0,l.A)("absolute inset-y-0 right-0 flex items-center",d?"":"pointer-events-none","extra_small"===f&&"pr-2","small"===f&&"pr-3","medium"===f&&"pr-3","large"===f&&"pr-4"),children:(0,o.jsx)(j,{style:(0,n._)({},(0,s.Pk)(f)),"aria-hidden":"true"})}),N&&m&&(0,o.jsx)("div",{className:(0,l.A)("absolute right-[6px] top-[2px] flex items-center cursor-pointer p-1 py-2 text-gray-300 hover:text-gray-400 transition ease-in-out"),onClick:()=>{null==i||i("")},children:(0,o.jsx)(c.o,{className:"w-4 h-4 "})}),(0,o.jsx)("input",(0,n._)({"data-cy":y||"input-component",ref:t,onBlur:g,readOnly:h,type:b||"text",value:m,className:(0,l.A)("shadow-sm block w-full rounded border-gray-300",u,v&&"extra_small"===f&&"pl-8",v&&"small"===f&&"pl-10",v&&"medium"===f&&"pl-12",v&&"large"===f&&"pl-[52px]",N&&"pr-7","extra_small"===f&&"sm:text-sm","extra_small"!==f?"text-sm":"",w&&"focus:ring-fillout-black focus:border-fillout-black"),placeholder:r,onChange:e=>null==i?void 0:i(e.target.value),"aria-label":C},k))]})});t.Z=d},55667:function(e,t,r){r.d(t,{Z:function(){return s}});var n=r(24246),a=r(19023),o=r(88038),i=r.n(o),l=e=>{let{title:t,description:r,iconUrl:o,customOgImageUrl:l,dontSeoIndex:s,ogUrl:c,oembedUrl:d}=e,m=l||a.qT,u=c||a.D$;return(0,n.jsxs)(i(),{children:[(0,n.jsx)("title",{children:t}),(0,n.jsx)("meta",{name:"description",content:r}),(0,n.jsx)("link",{rel:"icon",href:o||"".concat(a.D$,"/favicon.ico")}),(0,n.jsx)("meta",{charSet:"utf-8"}),s&&(0,n.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),d&&(0,n.jsx)("link",{rel:"alternate",type:"application/json+oembed",href:d,title:t}),(0,n.jsx)("meta",{name:"twitter:title",content:t}),(0,n.jsx)("meta",{property:"og:title",content:t}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{property:"og:description",content:r}),(0,n.jsx)("meta",{name:"description",content:r}),(0,n.jsx)("meta",{name:"image",content:m}),(0,n.jsx)("meta",{name:"twitter:description",content:r}),(0,n.jsx)("meta",{name:"twitter:site",content:"@filloutcom"}),(0,n.jsx)("meta",{property:"og:url",content:u}),(0,n.jsx)("link",{href:u,rel:"canonical"}),(0,n.jsx)("meta",{property:"og:site_name",content:t}),(0,n.jsx)("meta",{property:"og:image",content:m}),(0,n.jsx)("meta",{name:"twitter:image",content:m}),(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image"})]})};function s(e){let{children:t,seoTitle:r,seoDescription:o,iconUrl:i,dontSeoIndex:s,ogUrl:c,oembedUrl:d,customOgImageUrl:m}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l,{customOgImageUrl:m,title:r||a.i2,description:o||(0,a.KT)("form"),iconUrl:i,dontSeoIndex:s,ogUrl:c,oembedUrl:d}),t]})}},94177:function(e,t,r){r.d(t,{N:function(){return u}});var n=r(39308),a=r(55818),o=r(97768),i=r(24246),l=r(48484),s=r.n(l),c=r(39997),d=r(69363);let m=c.ZP.div.withConfig({componentId:"sc-12168950-0"})(["div{color:",";}"],e=>e.color),u=e=>{let{color:t}=e,r=(0,o._)(e,["color"]);return(0,i.jsx)(m,{color:t,children:(0,i.jsx)(h,(0,a._)((0,n._)({},r),{color:t}))})},h=e=>{let{size:t="normal",className:r,type:n,color:a}=e;return(0,i.jsx)(s(),{type:n||"spin",className:(0,d.A)("dark:text-slate-400",r),height:"large"===t?35:"normal"===t?25:"small-normal"===t?20:15,width:"large"===t?35:"normal"===t?25:"small-normal"===t?20:15,color:a})};t.Z=h},37828:function(e,t,r){var n=r(39308),a=r(55818),o=r(24246),i=r(27124),l=r.n(i),s=r(57332),c=r(95389),d=r(13993),m=r(74959),u=r(27378),h=r(39997),x=r(69363),p=r(57367),f=r(63713),g=r(32484),b=r(77577),v=r(98626);let y=h.ZP.div.withConfig({componentId:"sc-1a7ccf4f-0"})(["div{opacity:100;transition:opacity 300ms;-webkit-transition:opacity 500ms;}"]),w=h.ZP.div.withConfig({componentId:"sc-1a7ccf4f-1"})([".progress-value{box-shadow:0px 5px 40px -1px ",";border-radius:10px;background:",";height:7px;width:0;}"],e=>l()(e.activeTheme.questionsColorOnNoOpacity).fade(.3).string(),e=>e.activeTheme.questionsColorOnNoOpacity);t.Z=e=>{let{activeTheme:t,isPayingOrg:r,language:i}=e,h=(0,m.T)(),j=(0,m.C)(s.Vcu),C=(0,m.C)(c.AT),N=(0,m.C)(d.gh),k=(0,m.C)(d.kf),[A,T]=(0,u.useState)(0),[z,S]=(0,u.useState)(),[Z,F]=(0,u.useState)(),{t:_}=(0,f.T)(i),P="error"===j||"done"===j&&"live"===N&&!!C&&!!k,[I,E]=(0,u.useState)(!0),O=()=>{setTimeout(()=>{T(e=>e+1),E(!1),setTimeout(()=>{E(!0)},(.7-.4)*1e3)},400)};return Z?(0,o.jsx)(o.Fragment,{}):(0,o.jsx)(p.rs,{delay:0,play:P&&z,easeType:"ease",duration:.4,start:{opacity:100},end:{opacity:0},onComplete:()=>{F(!0)},render:e=>{let{style:i}=e;return(0,o.jsx)(b.NB,{style:(0,a._)((0,n._)({},i),{background:t.questionsBackgroundColorNoOpacity}),id:"loading-container",className:(0,x.A)("absolute right-0 left-0 top-0 bottom-0 w-full h-full z-[1000000] items-center justify-center flex"),children:(0,o.jsx)(w,{activeTheme:t,children:(0,o.jsxs)("div",{className:(0,x.A)("flex flex-col ",g.Z.loadingContainer),children:[(0,o.jsx)(y,{children:(0,o.jsx)("div",{className:"flex w-full justify-center opacity-0",children:(0,o.jsxs)("div",{className:"flex flex-col items-center",children:[!r&&(0,o.jsx)("div",{className:"text-sm mb-1",style:{color:l()(t.questionsColorOnNoOpacity).fade(.6).string()},children:"Powered by"}),(0,o.jsx)("div",{className:(0,x.A)("text-2xl leading-5 font-semibold ",r?"mb-4":"mb-2"),style:{color:l()(t.questionsColorOnNoOpacity).fade(.3).string()},children:r?_("Loading",!0):(0,o.jsx)(v.ds,{scale:.8,className:"mb-[2px]",textColor:l()(t.questionsColorOnNoOpacity).fade(.3).string()})})]})})}),(0,o.jsx)("div",{className:"max-w-[75%]",children:(0,o.jsx)("div",{className:"h-[20px] w-[150px] flex relative items-center justify-start",children:(0,o.jsx)(p.rs,{delay:0,play:I,easeType:"ease",duration:.7,start:{width:0},end:{width:"100%"},onComplete:()=>{P?(S(!0),h((0,s.wqz)({isFinished:!0}))):O()},render:e=>{let{style:t}=e;return(0,o.jsx)("div",{className:"progress-value",style:t})}},A)})})]})})})}})}},39565:function(e,t,r){var n=r(39308),a=r(24246),o=r(99622),i=r(71866),l=r.n(i),s=r(27378),c=r(61403),d=r.n(c),m=r(38563),u=r(72619),h=r(69363),x=r(22398);t.Z=e=>{let{isOpen:t,setIsOpen:r,children:i,title:c,buttonTitle:p="Create",submissionDisabled:f,onConfirm:g,loading:b,secondaryButton:v,blockCloseOnOverlayClick:y,buttonTheme:w,hideCloseIcon:j,maxWidth:C,closeIconClassName:N,footerClassName:k,width:A,noScaffolding:T,noBodyPadding:z,noBodyOverflow:S,buttonSize:Z,height:F,modalHeight:_,customTop:P,theme:I,titleClassName:E,maxModalHeight:O,xIconClassName:q,bodyMaxHeight:H,buttonIcon:B,wFullTitle:L,zIndex:R,buttonRef:W}=e,U=(0,s.useRef)(null),[D,M]=(0,s.useState)(!1),[K,V]=(0,s.useState)(0),$=(0,s.useMemo)(()=>{if((0,u.zd)()&&(0,x.rp)()){let e;return(e=K+200window.innerHeight&&(e-=K+e-window.innerHeight+100),"".concat(e,"px")}return P||"100px"},[P,K,W]),X={content:(0,n._)({top:$,left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",transform:"translate(-50%, 0%)",overflow:S?void 0:"hidden",border:I?void 0:"none",borderWidth:I?2:void 0,borderColor:null==I?void 0:I.borderColor,borderRadius:8,background:(null==I?void 0:I.questionsBackgroundColor)||l().white,boxShadow:"0px 4px 4px rgba(0, 0, 0, 0.30)",width:A||"100%",maxWidth:C||600,height:_,maxHeight:O},z?{padding:0}:{}),overlay:{zIndex:R||1e3,backgroundColor:"rgb(15 23 42 / 60%)"}},G=(0,a.jsxs)("div",{ref:U,className:"flex flex-col",style:{height:F,maxHeight:H||((0,u.zd)()&&(0,x.rp)()?"95vh":"calc(95vh - 126px)")},children:[null!=c&&(0,a.jsxs)("div",{className:(0,h.A)("flex justify-between mb-4 sticky !shrink-0",z&&"p-5 pb-0",E,L&&"w-full"),children:[(0,a.jsx)("div",{className:(0,h.A)("flex items-center min-w-0",L&&"w-full"),children:(0,a.jsx)("div",{className:(0,h.A)("text-lg leading-6 font-medium",L&&"w-full"),style:{color:(null==I?void 0:I.questionsColor)||l().gray[900]},children:c})}),!j&&(0,a.jsx)(m.Z,{onClick:()=>r(!1),theme:"transparent",className:(0,h.A)("px-0 h-[25px]",N),"data-cy":"modal-close-button",children:(0,a.jsx)(o.b,{className:(0,h.A)("h-6 w-6 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 rounded-md",q),style:{color:(null==I?void 0:I.questionsColor)||l().gray[400]},"aria-hidden":"true"})})]}),(0,a.jsx)("div",{className:(0,h.A)("flex flex-col h-full",!S&&"overflow-auto"),children:i}),!!g&&(0,a.jsxs)("div",{className:(0,h.A)("mt-5 flex justify-between !shrink-0",k),children:[(0,a.jsx)("div",{children:v}),g&&(0,a.jsx)("div",{"data-cy":"modal-button",children:(0,a.jsx)(m.Z,{disabled:f,loading:b,theme:w,icon:B,onClick:async()=>{await g()},size:Z,children:p})})]})]});return(0,s.useEffect)(()=>{M(t)},[t]),(0,s.useEffect)(()=>{U.current&&V(U.current.offsetHeight)},[D]),(0,a.jsx)(d(),{shouldCloseOnOverlayClick:!y,isOpen:t,ariaHideApp:!1,onRequestClose:()=>r(!1),style:X,contentLabel:"Example Modal",onAfterOpen:()=>document.body.style.overflow="hidden",onAfterClose:()=>document.body.style.overflow="unset",children:T?i:G})}},18602:function(e,t,r){var n=r(97768),a=r(24246),o=r(39019),i=r(13186),l=r(29788),s=r(27378),c=r(69363);t.Z=e=>{var{children:t,isOpen:r,onClose:d,className:m,hideCloseButton:u,centered:h,innerClassname:x,hidden:p,dontCloseOnAwayClick:f,dialogClassName:g,dontAnimateScale:b,style:v,size:y,backdropClassname:w,noFocusTrap:j}=e,C=(0,n._)(e,["children","isOpen","onClose","className","hideCloseButton","centered","innerClassname","hidden","dontCloseOnAwayClick","dialogClassName","dontAnimateScale","style","size","backdropClassname","noFocusTrap"]);let N=j?"div":o.V,k=j?"div":o.V.Panel;return(0,a.jsx)(i.u.Root,{show:r,as:s.Fragment,children:(0,a.jsxs)(N,{as:"div",className:(0,c.A)("relative z-[1001]",p&&"hidden",g),onClose:f?()=>{}:d,onClick:j?()=>{!f&&j&&d()}:void 0,children:[(0,a.jsx)(i.u.Child,{as:s.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,a.jsx)("div",{className:(0,c.A)("fixed inset-0 bg-gray-500 bg-opacity-50 transition-opacity",w)})}),(0,a.jsx)("div",{className:"fixed z-[1001] inset-0 overflow-y-auto overflow-x-hidden","data-cy":"new-modal-content",children:(0,a.jsx)("div",{className:(0,c.A)("flex justify-center min-h-full p-4 text-center ",h?"items-center":"items-start sm:p-0 lg:pt-[100px]",x),"data-cy":C["data-cy"],children:(0,a.jsx)(i.u.Child,{as:s.Fragment,enter:"ease-out duration-300",enterFrom:(0,c.A)("opacity-0 translate-y-4 sm:translate-y-0",!b&&"sm:scale-95"),enterTo:(0,c.A)("opacity-100 translate-y-0",!b&&"sm:scale-100"),leave:"ease-in duration-200",leaveFrom:(0,c.A)("opacity-100 translate-y-0",!b&&"sm:scale-100"),leaveTo:(0,c.A)("opacity-0 translate-y-4 sm:translate-y-0",!b&&"sm:scale-95"),children:(0,a.jsxs)(k,{className:(0,c.A)("relative rounded-lg text-left shadow-xl transform transition-all sm:my-8 sm:max-w-[1200px] bg-white ",m,"md"===y&&"w-[512px]","mobile"===y&&"w-[350px]"),style:v,onClick:e=>{j&&e.stopPropagation()},children:[t,!u&&(0,a.jsx)("button",{className:"absolute top-0 right-0 -mt-3 -mr-3 text-gray-400 hover:text-gray-600 bg-gray-100 hover:bg-gray-200 rounded-full border border-gray-400 z-[100]",onClick:d,"data-cy":"new-modal-close-button",children:(0,a.jsx)(l.b,{className:"h-8 w-8 p-1","aria-hidden":"true"})})]})})})})]})})}},50329:function(e,t,r){r.d(t,{Be:function(){return h},C0:function(){return d},Fx:function(){return x},WE:function(){return m},_5:function(){return v},cW:function(){return p},er:function(){return c},lf:function(){return f},qz:function(){return s},uX:function(){return u},x2:function(){return g}});var n=r(39997),a=r(71866),o=r.n(a),i=r(27124),l=r.n(i);let s=n.ZP.div.withConfig({componentId:"sc-c544b881-0"})(["input:focus{--tw-ring-color:"," !important;}"],e=>e.primaryColor),c=n.ZP.div.withConfig({componentId:"sc-c544b881-1"})(["button:focus{--tw-ring-color:"," !important;}"],e=>e.primaryColor),d=n.ZP.div.withConfig({componentId:"sc-c544b881-2"})(["div:hover{--tw-ring-color:"," !important;}.ant-picker{border-radius:",";}"," .ant-picker-suffix{color:",";}.ant-picker-input > input::placeholder{color:",";opacity:1;letter-spacing:0.5px;}.ant-picker-input > input{font-size:",";line-height:",";}"],e=>e.activeTheme.primaryColor,e=>"underline"===e.activeTheme.inputStyle?"0px !important":void 0,e=>"underline"===e.activeTheme.inputStyle&&(0,n.iv)([".ant-picker:hover{transition:border 0.2s ease-in-out;border-bottom:2px solid "," !important;}"],e.activeTheme.focusColor),e=>e.activeTheme.questionsColor,e=>e.activeTheme.mediumFadedAnswersColor,e=>e.activeTheme.formElementSizes.answerSize.fontSize,e=>e.activeTheme.formElementSizes.answerSize.lineHeight);n.ZP.div.withConfig({componentId:"sc-c544b881-3"})(["span{--tw-ring-color:"," !important;}"],e=>e.color);let m=n.ZP.div.withConfig({componentId:"sc-c544b881-4"})(["div{--tw-ring-color:",";border-color:",";}"],e=>e.shouldShow&&e.primaryColor,e=>e.shouldShow&&e.primaryColor),u=n.ZP.div.withConfig({componentId:"sc-c544b881-5"})(["div{--tw-ring-color:",";}"],e=>e.primaryColor);n.ZP.div.withConfig({componentId:"sc-c544b881-6"})(["input:focus{--tw-ring-color:"," !important;border-color:"," !important;}"],e=>e.primaryColor,e=>e.primaryColor);let h=n.ZP.div.withConfig({componentId:"sc-c544b881-7"})([""," "," textarea:focus{--tw-ring-color:"," !important;border-color:"," !important;}textarea{border-color:",";background ",";color:",";font-size:",";line-height:",";}textarea::placeholder{color:",";opacity:1;}textarea:-ms-input-placeholder{color:",";}textarea::-ms-input-placeholder{color:",";}"],e=>"underline"===e.activeTheme.inputStyle&&(0,n.iv)(["textarea{border:none !important;border-bottom:2px solid "," !important;border-radius:0 !important;--tw-shadow:none !important;}"],e.activeTheme.borderColor),e=>"rounded"===e.activeTheme.inputStyle&&(0,n.iv)(["textarea{border-radius:18px !important;}"]),e=>"underline"===e.activeTheme.inputStyle?e.activeTheme.questionsBackgroundColor:e.activeTheme.focusColor,e=>e.activeTheme.focusColor,e=>e.activeTheme.borderColor,e=>e.activeTheme.inputBackgroundColor,e=>e.activeTheme.answersColor,e=>e.activeTheme.formElementSizes.answerSize.fontSize,e=>e.activeTheme.formElementSizes.answerSize.lineHeight,e=>e.activeTheme.mediumFadedAnswersColor,e=>e.activeTheme.mediumFadedAnswersColor,e=>e.activeTheme.mediumFadedAnswersColor),x=n.ZP.div.withConfig({componentId:"sc-c544b881-8"})([""," "," input:focus{--tw-ring-color:"," !important;border-color:"," !important;border-width:",";}input{border-color:",";background:",";color:",";font-size:",";line-height:",";min-height:",";}input::placeholder{color:",";opacity:1;}input:-ms-input-placeholder{color:",";}input::-ms-input-placeholder{color:",";}"],e=>"underline"===e.activeTheme.inputStyle&&(0,n.iv)(["input{border:none !important;border-bottom:1px solid "," !important;border-radius:0 !important;--tw-shadow:none !important;}"],e.activeTheme.borderColor),e=>"rounded"===e.activeTheme.inputStyle&&(0,n.iv)(["input{border-radius:9999px !important;}"]),e=>"underline"===e.activeTheme.inputStyle?e.activeTheme.questionsBackgroundColor:e.activeTheme.focusColor,e=>e.activeTheme.focusColor,e=>"underline"===e.activeTheme.inputStyle?"2px !important":"",e=>e.activeTheme.borderColor,e=>e.backgroundColor||e.activeTheme.inputBackgroundColor,e=>e.activeTheme.answersColor,e=>e.activeTheme.formElementSizes.answerSize.fontSize,e=>e.activeTheme.formElementSizes.answerSize.lineHeight,e=>e.activeTheme.formElementSizes.inputHeight,e=>e.placeholderColor||e.activeTheme.mediumFadedAnswersColor,e=>e.placeholderColor||e.activeTheme.mediumFadedAnswersColor,e=>e.placeholderColor||e.activeTheme.mediumFadedAnswersColor),p=n.ZP.div.withConfig({componentId:"sc-c544b881-9"})(["input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}input[type='number']{-moz-appearance:textfield;}"]),f=n.ZP.div.withConfig({componentId:"sc-c544b881-10"})(["> div{"," font-size:",";line-height:",";}"],e=>e.addPadding&&"\n padding-top: 2px;\n padding-bottom: 2px;\n ",e=>e.activeTheme.formElementSizes.answerSize.fontSize,e=>e.activeTheme.formElementSizes.answerSize.lineHeight),g=n.ZP.div.withConfig({componentId:"sc-c544b881-11"})(["div{border-color:",";}input{color:",";}"],e=>e.activeTheme.borderColor,e=>e.activeTheme.answersColor),b=e=>l()(e).contrast(l()(o().white))>2?e:l()(e).darken(.6).string(),v=n.ZP.div.withConfig({componentId:"sc-c544b881-12"})([".ant-radio-checked .ant-radio-inner{border-color:"," !important;}.ant-radio-checked .ant-radio-inner:after{background-color:",";}.ant-radio:hover .ant-radio-inner{border-color:",";}"],e=>b(e.primaryColor),e=>b(e.primaryColor),e=>b(e.primaryColor))},94009:function(e,t,r){r.d(t,{Ak:function(){return d},pv:function(){return c}});var n=r(24246),a=r(98054),o=r.n(a),i=r(79894),l=r.n(i);r(27378);var s=r(69363);function c(e){let{currentTab:t,tabs:r,setTab:a,color:o}=e;return(0,n.jsx)("nav",{className:"isolate flex divide-x divide-gray-200 rounded-lg shadow bg-transparent overflow-hidden","aria-label":"Tabs",children:r.map((e,i)=>(0,n.jsxs)("a",{onClick:()=>a(e.value),className:(0,s.A)(e.value===t?"text-gray-900":"text-gray-500 hover:text-gray-700",0===i?"rounded-l-lg":"",i===r.length-1?"rounded-r-lg":"","group relative min-w-0 flex-1 overflow-hidden bg-white py-4 px-3 text-sm font-medium text-center hover:bg-gray-50 focus:z-10"),"aria-current":e.value===t?"page":void 0,children:[(0,n.jsx)("span",{children:e.name}),(0,n.jsx)("span",{"aria-hidden":"true",style:{background:e.value===t?o:""},className:(0,s.A)(e.value===t?"bg-blue-500":"bg-transparent","absolute inset-x-0 bottom-0 h-1")})]},e.value))})}let d=e=>{let{currentTab:t,tabs:r,className:a,noBorder:i,rightComponent:c,parentClassName:d,size:m="normal"}=e;return(0,n.jsx)("div",{className:(0,s.A)("pb-5 sm:pb-0 flex w-full overflow-x-auto overflow-y-hidden scrollbar-hide",a,!i&&"border-b border-gray-200"),children:(0,n.jsx)("div",{className:(0,s.A)("block mx-4",d),children:(0,n.jsx)("nav",{className:(0,s.A)("-mb-px flex","large"===m?"space-x-8":"space-x-6"),children:r.map(e=>{let r=e.Icon;return(0,n.jsxs)(l(),{href:e.href,className:(0,s.A)(t!==e.value&&"border-transparent text-fillout-black/40 hover:text-fillout-black ","group inline-flex items-center px-1 border-b-2 transition-none ","font-medium text-base",o().className,"large"===m?"py-4":"pb-2",t===e.value&&e.selectedClassName,e.hoverClassName),"aria-current":e.value===t,children:[r&&(0,n.jsx)(r,{className:"-ml-0.5 mr-2 h-5 w-5 text-current","aria-hidden":"true"}),(0,n.jsx)("span",{className:"whitespace-nowrap",children:e.name}),c&&e.value===t&&c]},e.value)})})})})};t.ZP=e=>{let{currentTab:t,tabs:r,setTab:a,className:o,theme:i="primary",unselectedTabClassName:l,noBorder:c,rightComponent:d,parentClassName:m,selectedTabClassName:u,size:h="normal"}=e;return(0,n.jsx)("div",{className:(0,s.A)("pb-5 sm:pb-0 flex w-full overflow-x-auto overflow-y-hidden scrollbar-hide",o,!c&&"border-b border-gray-200"),children:(0,n.jsx)("div",{className:(0,s.A)("block mx-4",m),children:(0,n.jsx)("nav",{className:(0,s.A)("-mb-px flex","large"===h?"space-x-8":"space-x-6"),children:r.map(e=>{let r=e.Icon;return(0,n.jsxs)("a",{onClick:()=>a(e.value),className:(0,s.A)(t===e.value&&("primary"===i?"border-blue-500 text-blue-600":"border-gray-900 text-gray-900 hover:!text-gray-900"),t!==e.value&&"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300","group inline-flex items-center px-1 border-b-2 font-medium text-sm",t!==e.value?l:u,"large"===h?"py-4":"pb-2"),"aria-current":e.value===t,children:[r&&(0,n.jsx)(r,{className:(0,s.A)(e.value===t?"primary"===i?"text-blue-500":"text-gray-900":"text-gray-400 group-hover:text-gray-500","-ml-0.5 mr-2 h-5 w-5"),"aria-hidden":"true"}),(0,n.jsx)("span",{className:"whitespace-nowrap",children:e.name}),d&&e.value===t&&d]},e.value)})})})})}},78113:function(e,t,r){var n=r(24246),a=r(47977),o=r(69363);t.Z=e=>{let{title:t,children:r,disableInlineBlock:i,className:l,mouseEnterDelay:s,color:c,innerClassName:d,placement:m,noZIndex:u,mouseLeaveDelay:h}=e;return(0,n.jsx)(n.Fragment,{children:t?(0,n.jsx)(a.Z,{title:t,overlayClassName:d,placement:m||"top",className:(0,o.A)(!u&&"z-[14]"),mouseEnterDelay:s,color:c,mouseLeaveDelay:h,children:(0,n.jsx)("div",{className:(0,o.A)(!i&&"inline-block",l),children:r})}):(0,n.jsx)(n.Fragment,{children:r})})}},29861:function(e,t,r){r.d(t,{W:function(){return m}});var n=r(39308),a=r(24246),o=r(51319),i=r(27124),l=r.n(i);r(27378);var s=r(69363),c=r(78113);let d=e=>{let{label:t,optionalTag:r,color:i,bold:l,isRequired:d,hint:m,hintIsLightMode:u,underLabel:h,size:x,className:p,rightToLeft:f,customHint:g,hintPlacement:b,labelStyles:v,htmlFor:y}=e;return(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center ",children:[t?(0,a.jsxs)("label",{className:(0,s.A)("flex items-center text-sm dark:text-slate-200 ",l?"font-medium":"weight font-light",p,"medium"===x&&"!font-medium text-base","large"===x&&"text-xl mb-[2px] !font-semibold","small"===x&&"text-sm","extra_small"===x&&"text-xs"),style:(0,n._)({color:i},v),htmlFor:y,children:[(0,a.jsx)(a.Fragment,{children:t}),d?(0,a.jsxs)("div",{className:(0,s.A)("text-red-500 flex items-center",f?"mr-[6px]":"ml-[6px]"),children:["*"," "]}):(0,a.jsx)(a.Fragment,{})]}):(0,a.jsx)("div",{}),r&&(0,a.jsx)("div",{className:(0,s.A)("text-gray-400 flex items-center",f?"mr-[6px]":"ml-[6px]"),children:"Optional"}),m&&(0,a.jsx)(c.Z,{title:m,placement:b,children:(0,a.jsx)("div",{className:"pl-2 pr-3 z-10",children:(0,a.jsx)(o.z,{className:(0,s.A)("h-4 w-4 text-gray-400")})})}),g&&(0,a.jsx)(a.Fragment,{children:g})]}),h&&(0,a.jsx)(a.Fragment,{children:h})]})},m=e=>{let{label:t,children:r,hint:n,className:i,bold:l,hintPlacement:d,hintClassName:m,labelClassName:u,dataCy:h}=e;return(0,a.jsxs)("div",{className:(0,s.A)("flex justify-between items-center mb-5",i),"data-cy":h||"mini-switch",children:[(0,a.jsxs)("div",{className:" flex items-center",children:[(0,a.jsx)("div",{className:(0,s.A)("text-sm text-gray-600",l?"font-medium":"font-light",u),children:t}),n&&(0,a.jsx)(c.Z,{title:n,placement:d,children:(0,a.jsx)("div",{className:"pl-2 pr-3 z-10",children:(0,a.jsx)(o.z,{className:(0,s.A)("h-4 w-4 text-gray-400",m)})})})]}),r]})};t.Z=e=>{let{children:t,label:r,isRequired:n,rightLabel:o,subLabel:i,underLabel:c,caption:m,bold:u,hint:h,subLabelIsError:x,optionalTag:p,className:f,color:g,hintIsLightMode:b,noBottomMargin:v,size:y,rightLabelClassName:w,leftLabelClassName:j,dataCy:C,rightToLeft:N,customHint:k,hintPlacement:A,labelStyles:T,htmlFor:z,sublabelClassName:S,sublabelStyles:Z}=e,F=r||o||m;return(0,a.jsxs)("div",{"data-cy":C||"with-label",className:(0,s.A)("flex flex-col",f),children:[F&&(0,a.jsxs)("div",{className:(0,s.A)(!v&&"mb-2"),children:[(0,a.jsxs)("div",{className:(0,s.A)("flex justify-between items-center"),children:[(0,a.jsx)(d,{htmlFor:z,size:y,className:j,label:r,bold:u,hintPlacement:A,isRequired:n,hint:h,color:g,hintIsLightMode:b,rightToLeft:N,customHint:k,underLabel:c,labelStyles:T,optionalTag:p}),o&&(0,a.jsx)("label",{className:(0,s.A)(w,"block text-sm text-gray-600 dark:text-slate-500 items-center"),children:o})]}),m&&(0,a.jsx)("div",{className:(0,s.A)("text-gray-400 whitespace-pre-line","large"===y?"text-sm":"text-xs"),style:{color:g?l()(g).fade(.5).hsl().string():""},children:m})]}),t,i&&(0,a.jsx)("label",{htmlFor:"email",className:(0,s.A)("block text-xs font-small mt-2 dark:text-slate-200",x?"text-red-400 dark:text-red-400":"text-gray-400",S),style:Z,children:i})]})}},47551:function(e,t,r){r.d(t,{O:function(){return s}});var n=r(27378),a=r(19023),o=r(72619),i=r(86677),l=r(4899);let s=e=>{let{expectedSubdomain:t,customDomains:r}=e,s=(0,i.useRouter)();(0,n.useEffect)(()=>{let{hostname:e}=window.location;if((0,o.a8)()&&!a.DL){(null==r?void 0:r.find(t=>e===t))||s.push("/404");return}let n=(()=>{let t=e.split(".");return t.length>2?t[0]:null})();!n||l.hm.includes(n)||n===t||(0,o.zd)()||s.push("/404")},[t,r,s])}},33418:function(e,t,r){r.d(t,{ax:function(){return i},bK:function(){return l}});var n=r(38858),a=r(74959),o=r(27378);let i=()=>{let e=(0,a.T)(),t=(0,o.useCallback)(()=>{e((0,n.AK)({windowWidth:window.innerWidth}))},[e]);(0,o.useEffect)(()=>(e((0,n.AK)({windowWidth:window.innerWidth})),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}),[t,e])},l=()=>{let[e,t]=(0,o.useState)(0);return(0,o.useEffect)(()=>{let e=()=>{t(window.innerHeight)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),e}},52260:function(e,t,r){r.d(t,{$:function(){return n.Z}});var n=r(14066)},2179:function(e,t,r){r.d(t,{W:function(){return n.Z}});var n=r(37783)},45858:function(e,t,r){r.d(t,{o:function(){return n.Z}});var n=r(87794)},99622:function(e,t,r){r.d(t,{b:function(){return n.Z}});var n=r(44585)},29788:function(e,t,r){r.d(t,{b:function(){return n.Z}});var n=r(75905)}}]);