PageSourceSearch

https://front.com/_next/static/chunks/1389-03443001f75cde86.js

js front.com collected 2026-10-02 02:34:06 UTC 10,934 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1389],{93131:function(e,t,r){r.d(t,{C:function(){return l}});var n=r(57437),s=r(37679),a=r(2265);let i=()=>(0,n.jsxs)("svg",{className:"icon-brand",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M3.3335 8H12.6668",stroke:"currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M8 3.33333L12.6667 8L8 12.6667",stroke:"currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})]}),o=()=>(0,n.jsx)(s.E.div,{className:"relative overflow-hidden ml-3xs w-2 h-2",children:(0,n.jsxs)(s.E.div,{className:"flex items-center absolute",variants:{rest:{x:-16},hover:{x:0}},transition:{duration:.3,ease:[.5,.01,.44,.99]},children:[(0,n.jsx)(i,{}),(0,n.jsx)(i,{})]})}),l=(0,a.forwardRef)((e,t)=>{let{className:r,children:a,animate:i,inheritVariants:l=!1,...u}=e;return(0,n.jsxs)(s.E.button,{ref:t,...l?{}:{initial:"rest",animate:i,whileHover:void 0===i?"hover":void 0},className:r,...u,children:[a,(0,n.jsx)(o,{})]})});l.displayName="TertiaryButton"},64413:function(e,t,r){r.r(t),r.d(t,{Button:function(){return x},ButtonBaseClasses:function(){return d},ButtonElement:function(){return p},buttonVariants:function(){return f}});var n=r(57437),s=r(15146),a=r(72163),i=r(36760),o=r.n(i),l=r(71359),u=r(2265),c=r(93131);let d="transition-colors duration-400 ease-appear rounded-[64px] text-white font-sans font-weight-medium font-size-p2 font-line-height-p2 font-letter-spacing-p2 focus-visible:button-focus",f=(0,a.j)(d,{variants:{variant:{primary:"py-xs px-s",secondary:"py-2xs px-xs",tertiary:"py-xs px-s flex items-center justify-center button-text-inverted space-x-xs"},buttonType:{filled:"",outlined:"bg-transparent "},disabled:{true:"",false:""}},compoundVariants:[{variant:["primary","secondary"],buttonType:"filled",class:"button-surface button-text-default hover:button-surface-active"},{variant:["primary","secondary"],buttonType:"outlined",class:"button-border button-text-inverted hover:button-border-hover hover:button-surface-outline-hover active:button-surface-outline-active active:button-text-outline-active"},{variant:["primary","secondary"],buttonType:"filled",disabled:!0,class:"cursor-not-allowed button-surface-disabled button-text-disabled hover:button-surface-disabled hover:button-text-disabled active:button-surface-disabled active:button-text-disabled"},{variant:["primary","secondary"],buttonType:"outlined",disabled:!0,class:"cursor-not-allowed button-border-disabled button-text-disabled hover:button-border-disabled hover:button-surface-outline-disabled active:button-border-disabled active:button-surface-outline-disabled active:button-text-disabled"}],defaultVariants:{variant:"primary",buttonType:"filled",disabled:!1}}),p=(0,u.forwardRef)((e,t)=>{let{className:r,variant:s,buttonType:a,disabled:i,text:l,...u}=e;return"tertiary"===s?(0,n.jsx)(c.C,{className:o()(f({variant:s}),r),ref:t,...u,children:l}):(0,n.jsx)("button",{className:o()(f({variant:s,buttonType:a,disabled:i}),r),ref:t,...u,children:l})});p.displayName="ButtonElement";let x=e=>{let{action:t,href:r,target:a,text:i,disabled:o,...u}=e,{modalActionHandler:c}=(0,s.M)();return"url"===t&&r?(0,n.jsx)(l.default,{href:r,target:a||"_self",children:(0,n.jsx)(p,{...u,text:i,disabled:o})}):"trial"===t?(0,n.jsx)(p,{...u,onClick:()=>c("trial"),text:i,disabled:o}):"demo"===t?(0,n.jsx)(p,{...u,onClick:()=>c("demo"),text:i,disabled:o}):(0,n.jsx)(p,{...u,text:i,disabled:o})}},72063:function(e,t,r){r.d(t,{X:function(){return l}});var n=r(57437),s=r(36760),a=r.n(s),i=r(2265),o=r(63024);let l=(0,i.forwardRef)((e,t)=>{let{label:r,errorMessage:s,wrapperClassName:l,className:u,...c}=e,d=(0,i.useId)();return(0,n.jsxs)("div",{className:a()("flex flex-col gap-spacing-4",l),children:[(0,n.jsxs)("label",{htmlFor:d,className:"flex items-start gap-spacing-8 cursor-pointer",children:[(0,n.jsxs)("span",{className:"relative inline-flex flex-shrink-0 w-2 h-2 my-auto",children:[(0,n.jsx)("input",{ref:t,id:d,type:"checkbox",className:a()("peer h-full w-full cursor-pointer rounded-[3px]","appearance-none","icon-rating bg-transparent border-solid border-gray-200 border-[1px]","checked:bg-current checked:border-current","focus-visible:outline focus-visible:outline-2 focus-visible:outline-current focus-visible:outline-offset-2","transition-colors",u),...c}),(0,n.jsx)("svg",{"aria-hidden":!0,viewBox:"0 0 16 16",className:"pointer-events-none absolute inset-0 m-auto h-[10px] w-[10px] hidden peer-checked:block text-white",children:(0,n.jsx)("path",{d:"M3 8 L6.5 11.5 L13 4.5",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),r&&(0,n.jsx)(o.xv,{as:"span",type:"caption2",className:"text-primary",children:r})]}),s&&(0,n.jsx)(o.xv,{as:"span",type:"caption2",className:"text-red-500",children:s})]})});l.displayName="Checkbox",t.Z=l},32063:function(e,t,r){r.d(t,{U:function(){return c}});var n=r(57437),s=r(36760),a=r.n(s),i=r(37679),o=r(2265),l=r(17089),u=r(63024);let c=(0,o.forwardRef)((e,t)=>{let{label:r,errorMessage:s,warningMessage:c,helpMessage:d,wrapperClassName:f,className:p,type:x="text",loading:m,...b}=e,h=(0,o.useId)(),v=s||c;return(0,n.jsxs)("label",{htmlFor:h,className:a()("flex flex-col gap-2xs",f),children:[r&&(0,n.jsx)(u.xv,{as:"span",type:"p2",className:"text-primary",children:r}),(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("input",{ref:t,id:h,type:x,className:a()("w-full surface-l1 text-primary placeholder:text-primary-inactive","rounded-[6px] px-s py-xs","font-sans font-size-p2 font-line-height-p2","outline-none focus-visible:ring-2 focus-visible:ring-citron-500",p),...b}),m&&(0,n.jsx)(i.E.div,{className:"flex absolute right-1 top-0 bottom-0",style:{transformOrigin:"center center"},initial:{rotate:0},animate:{rotate:360},transition:{duration:1.75,ease:"linear",repeat:1/0},children:(0,n.jsx)(l.Z,{className:"m-auto",name:"settings-02",size:16})})]}),d&&!v&&(0,n.jsx)(u.xv,{as:"span",type:"caption2",className:"text-gray-500",children:d}),v&&(0,n.jsx)(u.xv,{as:"span",type:"caption2",className:"text-red-500",children:v})]})});c.displayName="InputField",t.Z=c},36011:function(e,t,r){r.d(t,{m:function(){return u}});var n=r(57437),s=r(36760),a=r.n(s),i=r(2265),o=r(17089),l=r(63024);let u=(0,i.forwardRef)((e,t)=>{let{label:r,options:s,placeholder:u,errorMessage:c,wrapperClassName:d,className:f,value:p,...x}=e,m=(0,i.useId)();return(0,n.jsxs)("label",{htmlFor:m,className:a()("flex flex-col gap-2xs",d),children:[r&&(0,n.jsx)(l.xv,{as:"span",type:"p2",className:"text-primary",children:r}),(0,n.jsxs)("div",{className:"relative group",children:[(0,n.jsxs)("select",{ref:t,id:m,value:null!=p?p:"",className:a()("appearance-none w-full surface-l1 text-primary","rounded-[6px] pl-s pr-6 py-xs","font-sans font-size-p2 font-line-height-p2","outline-none focus-visible:ring-2 focus-visible:ring-citron-500",f),...x,children:[u&&(0,n.jsx)("option",{value:"",disabled:!0,children:u}),s.map(e=>(0,n.jsx)("option",{value:e.value,children:e.label},e.value))]}),(0,n.jsx)(o.Z,{name:"chevron-down",size:20,className:"absolute right-2 top-1/2 -translate-y-1/2 text-primary pointer-events-none group-hover:icon-action-active"})]}),c&&(0,n.jsx)(l.xv,{as:"span",type:"caption2",className:"text-red-500",children:c})]})});u.displayName="SelectField",t.Z=u},21256:function(e,t,r){r.d(t,{Gs:function(){return n},fC:function(){return s}});let n="FrontApp, Inc.",s="9,300+"},93280:function(e,t,r){r.d(t,{K:function(){return f},S:function(){return d}});var n=r(96871),s=r(48322),a=r(51653),i=r(59128),o=r.n(i),l=r(2265),u=r(13194);let c=(0,s.h)("user context"),d=(0,l.createContext)({userData:{},setUserData:()=>{},getTempUserData:()=>({}),setTempUserData:()=>{}}),f=()=>{let[e,t]=(0,u.V)("user-data",{}),[r,n]=(0,l.useState)({}),s=e=>t(t=>({...t,...e}));return(0,l.useEffect)(()=>{!e.enrichedFromHubspot&&new URLSearchParams(window.location.search).has("_hsenc")&&(c.info("Attempting to enrich from Hubspot"),(0,a.$l)(p,{maxAttempts:3,delay:e=>1e3*e,initialDelay:1500}).then(e=>{if(!Object.keys(e).length)return void c.warn("No Hubspot enrichment data was returned");c.success("Enrichment data from Hubspot returned",e),s({...e,enrichedFromHubspot:!0})}).catch(()=>{c.error("Could not enrich from Hubspot")}))},[]),{userData:null!=e?e:{},setUserData:s,getTempUserData:(0,l.useCallback)(()=>{let e=o()(r);return n({}),e},[r]),setTempUserData:e=>n(e)}};async function p(){let e=await fetch(n.wG);if(404===e.status||204===e.status)return{};if(!e.ok)throw Error();return await e.json()}},70689:function(e,t,r){r.d(t,{IT:function(){return h},Te:function(){return m},q_:function(){return b}});var n=r(95998),s=r(93280),a=r(34078),i=r(68248),o=r(88165),l=r(63993),u=r(41443),c=r.n(u),d=r(460
175),f=r.n(d),p=r(2265);let x=(0,r(48322).h)("formik"),m=e=>{var t;let{userData:r}=(0,p.useContext)(s.S);if(e.validateOnBlur=null!==(t=e.validateOnBlur)&&void 0!==t&&t,e.initialValues){let t=c()(e.initialValues,(t,n)=>{if(t)return t;let s=n;if(e.fieldPrefillMapping){let t=e.fieldPrefillMapping[n];if(null===t)return"";"string"==typeof t&&(s=t)}if(s in r){let e=r[s];if(e)return e}return""===t||null===t?"":t});e.initialValues=t}let a=(0,l.TA)(e);return(0,p.useEffect)(()=>{n.tV.forEach(t=>{let n=t;if(e.fieldPrefillMapping){let r=e.fieldPrefillMapping[t];if(null===r)return"";"string"==typeof r&&(n=r)}if(n in r&&n in e.initialValues)try{let e=a.getFieldMeta(n);e.touched||e.value||a.setFieldValue(n,r[n])}catch(e){}})},[r]),a},b=e=>{let{updateUserData:t=!0,...r}=e,{setUserData:l}=(0,p.useContext)(s.S),u=x.withTag(r.name);return async(e,s)=>{var c,d;let p;let x={...e};p="function"==typeof r.formId?await r.formId(x):r.formId,u.log("Submitting form..."),r.beforeSubmit&&(u.log("Running beforeSubmit..."),await r.beforeSubmit(x,s),u.success("beforeSubmit complete"));let m={...f()(x,null!==(c=r.omitFields)&&void 0!==c?c:[]),...null!==(d=r.extraFields)&&void 0!==d?d:{},[n.lM.ContentName]:r.content};await i.ZP.submitForm(p,m).then(async e=>{u.success("Form submission complete"),a.Z.track("submit_form",{form_name:r.name,form_content:r.content,form_id:p}),r.onSuccess&&(u.log("Running onSuccess..."),await r.onSuccess(x,s,p),u.success("onSuccess complete")),t&&l(Object.keys(m).filter(e=>n.tV.includes(e)).reduce((e,t)=>({...e,[t]:m[t]}),{}))}).catch(async e=>{u.error("Form submission failed");let t={};e instanceof i.Ks?(t=Object.fromEntries(e.fields.map(e=>[e.field,e.error])),u.warn("Setting form errors..."),s.setErrors(t),o.Z.captureException(e,e=>{e.addMetadata("form",{formId:p,formValues:m,fieldErrors:t})})):(o.Z.captureException(e),u.error(e)),r.onError&&(u.log("Running onError..."),await r.onError(t,x,s),u.success("onError complete"))}).finally(()=>{s.setSubmitting(!1)})}},h=e=>t=>e.touched[t]?e.errors[t]:void 0}}]);
2//# sourceMappingURL=1389-03443001f75cde86.js.map

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.