PageSourceSearch

https://squaredup.com/_next/static/chunks/8738.cadd30daae0f75a5.js

js squaredup.com collected 2026-10-03 19:22:04 UTC 1,951 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8738],{98738:(e,a,r)=>{r.r(a),r.d(a,{default:()=>x});var i=r(25599),t=r(40757),s=r(19082),l=r(87408),m=r(656),n=r(51895),o=r(36531),u=r(48491),d=r(22156),c=r(98968),h=r(34817),f=r(35987),b=r(58419),p=r(65985),k=r(44530),w=r(74029),j=r(72148);let y="website",g=u.Ik().shape({email:u.Yj().email("Invalid email").required("Please complete this required field."),feedback:u.Yj().required("Please provide some feedback before submitting."),[y]:(0,w.O)()});function x({submitText:e="Submit",pardotCampaignId:a,pardotListId:r,formName:u,redirectUrl:w,successMessage:A="Thanks for submitting this form.",className:S}){let N=(0,l.useRouter)(),q=(0,t.t)(g),{register:_,handleSubmit:E,setValue:I,setError:v,reset:z,formState:{errors:P,isSubmitting:C,isSubmitSuccessful:F}}=(0,o.mN)({resolver:q});(0,d.A)(z,F);let{checkHoneypot:R,checkRateLimit:Y,recordSubmission:B,clearSubmission:L}=(0,k._)({honeypotFieldName:y,setError:v,emailFieldName:"email"});(0,n.useEffect)(()=>{m.zS.ready(()=>{m.zS.user().then(e=>{let a=e.traits()?.email;a&&I("email",a)})})},[I]);let O=async e=>{if(!R(e[y])&&!Y(e.email))try{if(await (0,j.A)({...e,formName:u,pardotListId:r,pardotCampaignId:a}),B(e.email),w){let e=new URL(w,window.location.href);(0,c.P7)(w)&&(0,c.dB)(e,m.zS.instance?.user().anonymousId()),N.push(e.toString())}}catch(a){throw L(e.email),a}};return A&&F?(0,i.jsx)(p.A,{children:(0,i.jsx)("p",{className:"whitespace-pre-wrap",children:A})}):(0,i.jsxs)("form",{onSubmit:E(O),"data-form-name":u,className:(0,s.A)("b-form",S),children:[(0,i.jsx)(f.A,{register:_,name:y}),(0,i.jsx)(h.A,{type:"email",placeholder:"[email protected]",label:"Email",name:"email",register:_,required:!0,error:P.email?.message}),(0,i.jsx)(h.A,{as:"textarea",label:"If you’d like to share any comments, enter them here",name:"feedback",required:!0,register:_}),(0,i.jsx)(b.A,{isSubmitting:C,children:e})]})}}}]);

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.