PageSourceSearch

https://front.com/_next/static/chunks/app/(web)/layout-053e5a3c1a564b59.js

js front.com collected 2026-10-02 02:34:07 UTC 86,704 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3523],{2914:function(e,t,l){Promise.resolve().then(l.t.bind(l,65878,23)),Promise.resolve().then(l.t.bind(l,88003,23)),Promise.resolve().then(l.bind(l,32036)),Promise.resolve().then(l.bind(l,54580)),Promise.resolve().then(l.bind(l,24117)),Promise.resolve().then(l.bind(l,12914)),Promise.resolve().then(l.bind(l,84282)),Promise.resolve().then(l.bind(l,83130)),Promise.resolve().then(l.bind(l,83264)),Promise.resolve().then(l.bind(l,75834)),Promise.resolve().then(l.bind(l,76582)),Promise.resolve().then(l.bind(l,32839)),Promise.resolve().then(l.t.bind(l,21515,23))},19812:function(e,t,l){"use strict";var a=l(57437),r=l(19653),i=l(37679),n=l(2265);t.Z=e=>{let{children:t,className:l,duration:o=.3}=e,s=(0,n.useRef)(null),[d,c]=(0,n.useState)("auto"),u=(0,n.useRef)(!1),m=(0,n.useRef)(null),h=(0,r.E)();return(0,n.useLayoutEffect)(()=>{let e=s.current;if(!e)return;let t=new ResizeObserver(()=>{let t=e.offsetHeight;null!=m.current&&t<m.current&&h.start({opacity:[1,.4,1]},{duration:o,ease:"easeInOut"}),m.current=t,c(t)});return t.observe(e),()=>t.disconnect()},[h,o]),(0,a.jsx)(i.E.div,{animate:{height:d},transition:u.current?{duration:o,ease:"easeInOut"}:{duration:0},onAnimationComplete:()=>{u.current=!0},className:l,children:(0,a.jsx)(i.E.div,{ref:s,animate:h,children:t})})}},22142:function(e,t,l){"use strict";l.d(t,{S:function(){return d}});var a=l(57437),r=l(63024),i=l(36760),n=l.n(i);let o=e=>{let{className:t}=e;return(0,a.jsx)("svg",{className:t,width:"15",height:"11",viewBox:"0 0 15 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M13.5773 0.244078C13.9027 -0.0813593 14.4302 -0.0813591 14.7557 0.244078C15.0811 0.569514 15.0811 1.09703 14.7557 1.42246L5.589 10.5891C5.26356 10.9146 4.73605 10.9146 4.41061 10.5891L0.243945 6.42246L0.186979 6.35899C-0.0799795 6.03168 -0.0611513 5.54917 0.243945 5.24408C0.549042 4.93898 1.03154 4.92015 1.35885 5.18711L1.42233 5.24408L4.9998 8.82155L13.5773 0.244078Z",fill:"#001B38"})})},s=e=>{let{className:t}=e;return(0,a.jsx)("svg",{className:t,width:"15",height:"11",viewBox:"0 0 15 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M13.5773 0.244078C13.9027 -0.0813593 14.4302 -0.0813591 14.7557 0.244078C15.0811 0.569514 15.0811 1.09703 14.7557 1.42246L5.589 10.5891C5.26356 10.9146 4.73605 10.9146 4.41061 10.5891L0.243945 6.42246L0.186979 6.35899C-0.0799795 6.03168 -0.0611513 5.54917 0.243945 5.24408C0.549042 4.93898 1.03154 4.92015 1.35885 5.18711L1.42233 5.24408L4.9998 8.82155L13.5773 0.244078Z",fill:"#E2DCF6"})})},d=e=>{let{items:t,className:l}=e;return(0,a.jsx)("div",{className:n()("space-y-xl",l),children:t.map(e=>(0,a.jsxs)("div",{className:"flex items-center gap-s",children:[(0,a.jsx)(o,{className:"hidden visible-light-theme-only"}),(0,a.jsx)(s,{className:"hidden visible-dark-theme-only"}),(0,a.jsx)(r.xv,{type:"p2",className:"text-primary",children:e.text})]},e.id))})}},32036:function(e,t,l){"use strict";l.d(t,{PerfomanceConsentWrapper:function(){return i}});var a=l(57437),r=l(75834);let i=e=>{let{children:t}=e;return(0,a.jsx)(r.OneTrustConsentWrapper,{groupId:r.Gt.Performance,children:t})};t.default=e=>{let{children:t}=e,l=(0,r.au)();return(0,a.jsx)(r.VS.Provider,{value:l,children:t})}},54580:function(e,t,l){"use strict";l.d(t,{default:function(){return x}});var a=l(57437),r=l(8099),i=l(48322),n=l(34078),o=l(73986),s=l(32839),d=l(99376);l(76600);var c=l(2265);let u=(0,i.h)("optimizely"),m=(0,c.createContext)({campaignIds:[],variationIds:[]}),h=()=>{u.log("Removing white-out..."),document.documentElement.classList.remove("hide")},p=e=>{let[t,l]=(0,c.useState)([]),[a,i]=(0,c.useState)([]),[d,m]=(0,c.useState)(!0),p=(0,c.useRef)();(0,c.useEffect)(()=>e(()=>{m(!1)}),[e]),(0,c.useEffect)(()=>{d&&(!0===window.optimizelyWaitForChanges?(u.log("optimizelyWaitForChanges is set to true, setting white-out timeout"),p.current=setTimeout(h,5e3)):document.documentElement.classList.contains("hide")&&(u.log("optimizelyWaitForChanges was not set, removing white-out"),h()))},[d]),(0,c.useEffect)(()=>
1{if(!window.optimizelyActionAppliedListenerAdded){window.optimizelyActionAppliedListenerAdded=!0;let e=()=>{h(),p.current&&clearTimeout(p.current)};window.optimizelyActionAppliedCount?e():window.optimizely.push({type:"addListener",filter:{type:"action",name:"applied"},handler:e})}},[]);let f=(0,c.useCallback)((e,r)=>{l(Array.from(new Set([...t,e]))),i(Array.from(new Set([...a,r])))},[t,a]);return(0,c.useEffect)(()=>{window.optimizelyCampaignDecidedListener=f},[f]),(0,c.useEffect)(()=>(window.__onOptimizelyLoad=s.H,()=>{delete window.__onOptimizelyLoad}),[]),(0,c.useEffect)(()=>{let{campaignIds:e,variationIds:t}=o.Z.getState();l(e),i(t),t.length&&n.Z.event(r.SX.OPTIMIZELY_DECISION,{[r.qD.OPTIMIZELY_VARIATION_IDS]:t.join(",")}),window.optimizelyCampaignDecidedListenerAdded||(window.optimizelyCampaignDecidedListenerAdded=!0,window.optimizely.push({type:"addListener",filter:{type:"lifecycle",name:"campaignDecided"},handler:e=>{var t;let l=(null!==(t=e.data.campaign.name)&&void 0!==t?t:e.data.campaign.id)||"(not set)",{variationId:a}=e.data.decision;if(!a){u.info("Not activating campaign '".concat(l,"': no variation is set"));return}u.info("Variation '".concat(a,"' of campaign '").concat(l,"' activated")),window.optimizelyCampaignDecidedListener(e.data.campaign.id,a);let{variationIds:i}
1=o.Z.getState();n.Z.event(r.SX.OPTIMIZELY_DECISION,{[r.qD.OPTIMIZELY_VARIATION_IDS]:i.join(",")})}}))},[]),{campaignIds:t,variationIds:a}},f=()=>{let e=(0,d.usePathname)(),t=(0,c.useRef)(!0),l=(0,c.useRef)(null),a=p(e=>{l.current=e});return(0,c.useEffect)(()=>{if(t.current){t.current=!1;return}l.current&&l.current()},[e]),a};var x=e=>{let{children:t}=e,l=f();return(0,a.jsx)(m.Provider,{value:l,children:t})}},24117:function(e,t,l){"use strict";var a=l(57437),r=l(93280);t.default=e=>{let{children:t}=e,l=(0,r.K)();return(0,a.jsx)(r.S.Provider,{value:l,children:t})}},77523:function(e,t,l){"use strict";l.d(t,{V:function(){return h}});var a=l(57437),r=l(72163),i=l(36760),n=l.n(i),o=l(37679);let s=(0,r.j)("transition-all duration-800 ease-in-out rounded-full icon-action hover:icon-action-hover",{variants:{parentSurfaceClass:{"surface-l0":"surface-l1 hover:surface-l1-active","surface-l1":"surface-l2 hover:surface-l2-active","surface-l2":"surface-l3 hover:surface-l3-active"},size:{small:"p-1",large:"p-xs"}},defaultVariants:{parentSurfaceClass:"surface-l0",size:"small"}}),d={initial:{rotate:0},animate:{rotate:90}},c={duration:.4},u=e=>{let{isExpanded:t}=e;return(0,a.jsxs)(o.E.svg,{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:[(0,a.jsx)(o.E.path,{d:"M5.75 2.25C5.75 1.97386 5.97386 1.75 6.25 1.75C6.52614 1.75 6.75 1.97386 6.75 2.25L6.75 9.25C6.75 9.52614 6.52614 9.75 6.25 9.75C5.97386 9.75 5.75 9.52614 5.75 9.25L5.75 2.25Z",fill:"currentColor",initial:"initial",animate:t?"animate":"initial",variants:d,transition:c}),(0,a.jsx)("path",{d:"M2.75 6.24994C2.47386 6.24994 2.25 6.02608 2.25 5.74994C2.25 5.4738 2.47386 5.24994 2.75 5.24994L9.75 5.24994C10.0261 5.24994 10.25 5.4738 10.25 5.74994C10.25 6.02608 10.0261 6.24994 9.75 6.24994L2.75 6.24994Z",fill:"currentColor"})]})},m=e=>{let{isExpanded:t}=e;return(0,a.jsxs)(o.E.svg,{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[(0,a.jsx)(o.E.path,{d:"M7.6665 3C7.6665 2.63181 7.96498 2.33333 8.33317 2.33333C8.70136 2.33333 8.99984 2.63181 8.99984 3L8.99984 12.3333C8.99984 12.7015 8.70136 13 8.33317 13C7.96498 13 7.6665 12.7015 7.6665 12.3333L7.6665 3Z",fill:"currentColor",initial:"initial",animate:t?"animate":"initial",variants:d,transition:c}),(0,a.jsx)("path",{d:"M3.6665 8.33325C3.2832 8.33325 2.99984 8.03477 2.99984 7.66658C2.99984 7.29839 3.29832 6.99992 3.6665 6.99992L12.9998 6.99992C13.368 6.99992 13.6665 7.2984 13.6665 7.66659C13.6665 8.03478 13.368 8.33325 12.9998 8.33325L3.6665 8.33325Z",fill:"currentColor"})]})},h=e=>{let{parentSurfaceClass:t,size:l,onClick:r,isExpanded:i=!1}=e;return(0,a.jsx)("button",{className:n()(s({parentSurfaceClass:t,size:l})),onClick:r,children:"small"===l?(0,a.jsx)(u,{isExpanded:i}):(0,a.jsx)(m,{isExpanded:i})})}},12914:function(e,t,l){"use strict";l.d(t,{default:function(){return S}});var a,r,i,n,o=l(57437),s=l(36760),d=l.n(s),c=l(99376),u=e=>{let{...t}=e;return(0,o.jsxs)("svg",{width:"1511",height:"307",viewBox:"0 0 1511 307",...t,children:[(0,o.jsx)("rect",{x:"1511",y:"306.383",width:"190.25",height:"129.282",transform:"rotate(-180 1511 306.383)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"1320.75",y:"177.104",width:"190.25",height:"38.571",transform:"rotate(-180 1320.75 177.104)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"1320.75",y:"306.383",width:"190.25",height:"107.45",transform:"rotate(-180 1320.75 306.383)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"1511",y:"157.819",width:"190.25",height:"42.902",transform:"rotate(-180 1511 157.819)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"1320.75",y:"114.918",width:"190.25",height:"25.1885",transform:"rotate(-180 1320.75 114.918)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"1130.5",y:"140.106",width:"190.25",height:"25.1885",transform:"rotate(-180 1130.5 140.106)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"750",y:"140.106",width:"190.25",height:"25.1885",transform:"rotate(-180 750 140.106)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"369.5",y:"118.854",width:"190.25",height:"40.1387",transform:"rotate(-180 369.5 118.854)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"369.5",y:"195.788",width:"190.25",height:"40.1387",transform:"rotate(-180 369.5 195.788)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"369.5",y:"306.383",width:"190.25",height:"100.843",transform:"rotate(-180 369.5 306.383)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"179.25",y:"306.383",width:"190.25",height:"118.662",transform:"rotate(-180 179.25 306.383)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"179.25",y:"166.659",width:"190.25",height:"69.2685",transform:"rotate(-180 179.25 166.659)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"179.25",y:"81.4553",width:"190.25",height:"24.79",transform:"rotate(-180 179.25 81.4553)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"179.25",y:"17.6958",width:"190.25",height:"17.6957",transform:"rotate(-180 179.25 17.6958)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"369.5",y:"46.8284",width:"190.25",height:"20.0693",transform:"rotate(-180 369.5 46.8284)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"750",y:"214.096",width:"190.25",height:"49.5888",transform:"rotate(-180 750 214.096)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"750",y:"306.383",width:"190.25",height:"60.9221",transform:"rotate(-180 750 306.383)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"559.75",y:"306.383",width:"190.25",height:"69.8619",transform:"rotate(-180 559.75 306.383)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"559.75",y:"225.309",width:"190.25",height:"49.5888",transform:"rotate(-180 559.75 225.309)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"559.75",y:"145.825",width:"190.25",height:"11.434",transform:"rotate(-180 559.75 145.825)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"1130.5",y:"214.096",width:"190.25",height:"48.8006",transform:"rotate(-180 1130.5 214.096)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"1130.5",y:"306.383",width:"190.25",height:"81.0745",transform:"rotate(-180 1130.5 306.383)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"940.25",y:"306.383",width:"190.25",height:"60.9221",transform:"rotate(-180 940.25 306.383)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"940.25",y:"236.518",width:"190.25",height:"48.8006",transform:"rotate(-180 940.25 236.518)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"940.25",y:"166.659",width:"190.25",height:"26.5525",transform:"rotate(-180 940.25 166.659)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"1511",y:"89.7271",width:"190.25",height:"25.1885",transform:"rotate(-180 1511 89.7271)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5}),(0,o.jsx)("rect",{x:"1511",y:"39.356",width:"190.25",height:"12.5943",transform:"rotate(-180 1511 39.356)",fill:"currentColor",stroke:"currentColor",strokeWidth:.5})]})};let m=e=>{let{backgroundColor:t,children:l}=e;return(0,o.jsx)("div",{className:d()("px-container-mobile md:px-container-desktop py-5",{"bg-violet-900 text-violet-200":"violet"===t}),children:(0,o.jsx)("div",{className:"mx-auto max-w-grid",children:l})})},h={"/product/ai":"bg-violet-900","/game-changer":"bg-violet-100"},p=e=>{var t;return null!==(t=h[e])&&void 0!==t?t:""},f=["/control-shift","/partners/channel"],x=e=>f.includes(e);var v=l(94746),g=["title","titleId"];function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)({}).hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(null,arguments)}var C=v.memo(function(e){var t=e.title,l=e.titleId,o=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l={};for(var a in e)if(({}).hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;l[a]=e[a]}return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)l=i[a],-1===t.indexOf(l)&&({}).propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,g);return v.createElement("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 14","aria-labelledby":l},o),t?v.createElement("title",{id:l},t):null,a||(a=v.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M7.4 12.8h6.8l3.1-11.6H7.4a5.8 5.8 0 000 11.6z",clipRule:"evenodd"})),r||(r=v.createElement("path",{fill:"#06f",fillRule:"evenodd",d:"M22.6 0H7.4c-3.9 0-7 3.1-7 7s3.1 7 7 7h15.2c3.9 0 7-3.1 7-7s-3.2-7-7-7zm-21 7c0-3.2 2.6-5.8 5.8-5.8h9.9l-3.1 11.6H7.4A5.8 5.8 0 011.6 7z",clipRule:"evenodd"})),i||(i=v.createElement("path",{fill:"#fff",d:"M24.6 4c.2.2.2.6 0 .8L22.5 7l2.2 2.2c.2.2.2.6 0 .8-.2.2-.6.2-.8 0l-2.2-2.2-2.2 2.2c-.2.2-.6.2-.8 0a.6.6 0 010-.8L20.8 7l-2.2-2.2a.6.6 0 010-.8c.2-.2.6-.2.8 0l2.2 2.2L23.8 4c.2-.2.6-.2.8 0z"})),n||(n=v.createElement("path",{fill:"#06f",d:"M12.7 4.1c.2.2.3.6.1.8L8.6 9.8
1c-.1.1-.2.2-.3.2-.2.1-.5.1-.7-.1L5.4 7.7a.6.6 0 010-.8c.2-.2.6-.2.8 0L8 8.6l3.8-4.5c.2-.2.6-.2.9 0z"})))}),M=l(71359);let w=e=>{let{backgroundColor:t,copyright:l,legalLinks:a}=e;return(0,o.jsx)("div",{className:d()("border-t border-solid pt-4 text-12/16",{"border-violet-500":"violet"===t}),children:(0,o.jsxs)("div",{className:"grid grid-cols-12 gap-y-4 gap-gutter-mobile md:gap-x-gutter-desktop",children:[(0,o.jsx)("div",{className:"col-span-12 xl:col-span-4",children:(0,o.jsx)("p",{className:d()({"text-violet-300":"violet"===t}),children:l})}),(0,o.jsx)("div",{className:"col-span-12 xl:col-span-8",children:(0,o.jsxs)("ul",{className:"flex flex-col gap-2 xl:flex-row xl:gap-1 xl:justify-between",children:[a.map(e=>(0,o.jsx)("li",{children:(0,o.jsx)(M.default,{href:e.href,className:d()("hover:text-white duration-200 transition-colors ease-in-quad",{"text-violet-300":"violet"===t}),children:e.title})},"footer-legal-link-".concat(e.href))),(0,o.jsx)("li",{children:(0,o.jsxs)("span",{onClick:()=>{window.OneTrust.ToggleInfoDisplay()},className:d()("cursor-default hover:text-white duration-200 transition-colors ease-in-quad",{"text-violet-300":"violet"===t}),children:["Your Privacy Choices ",(0,o.jsx)(C,{width:28,style:{display:"inline-block"}})]})})]})})]})})},j=e=>{let{smallLinksTitle:t,smallLinkColumns:l,backgroundColor:a}=e;return(0,o.jsx)("div",{className:"pb-5",children:(0,o.jsxs)("div",{className:"grid grid-cols-12 gap-y-5 gap-gutter-mobile md:gap-x-gutter-desktop",children:[(0,o.jsx)("div",{className:"col-span-12 xl:col-span-4",children:(0,o.jsx)("p",{className:"text-10/14 uppercase",children:t})}),(0,o.jsx)("div",{className:"col-span-12 xl:col-span-8",children:(0,o.jsx)("div",{className:"grid grid-cols-2 xl:grid-cols-4 gap-y-5 gap-gutter-mobile md:gap-x-gutter-desktop",children:l.map((e,t)=>{var l,r;return(0,o.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,o.jsx)("p",{className:"text-10/14 uppercase",children:e.title}),(0,o.jsx)("ul",{className:"flex flex-col gap-2",children:e.links.map(e=>(0,o.jsx)("li",{children:(0,o.jsx)(M.default,{href:e.href,className:d()("hover:text-white duration-200 transition-colors ease-in-quad",{"text-violet-200":"violet"===a}),children:e.title})},"footer-link-".concat(e.href)))})]},"small-link-column-".concat(null!==(r=null===(l=e.title)||void 0===l?void 0:l.replace(/\s/g,"-"))&&void 0!==r?r:t))})})})]})})};l(2265);var b=l(1238),N=l(71191);let k=e=>{let{backgroundColor:t,tagline:l,badgeIcons:a,socialLinks:r,linkColumns:i}=e;return(0,o.jsx)("div",{className:d()("px-container-mobile md:px-container-desktop py-4 md:py-10",{"bg-violet-800 text-violet-200":"violet"===t}),children:(0,o.jsx)("div",{className:"mx-auto max-w-grid",children:(0,o.jsxs)("div",{className:"grid grid-cols-12 gap-y-8 gap-gutter-mobile md:gap-x-gutter-desktop",children:[(0,o.jsxs)("div",{className:"col-span-12 xl:col-span-4 flex flex-col gap-2",children:[(0,o.jsx)(N.default,{className:d()("w-[282px] h-[65px] block",{"text-violet-100":"violet"===t})}),(0,o.jsx)("p",{className:"text-30/36 max-w-44",children:l}),(0,o.jsx)("div",{className:"flex gap-2",children:a}),(0,o.jsx)("ul",{className:"flex gap-2",children:r.map(e=>(0,o.jsx)("li",{children:(0,o.jsx)(M.default,{title:e.title,href:e.href,target:"_blank",className:d()("flex flex-col justify-center items-center w-6 h-6 rounded-full duration-200 transition-colors ease-in-quad",{"bg-violet-700 hover:bg-opacity-50":"violet"===t}),children:e.icon})},"footer-social-link-".concat(e.href)))})]}),(0,o.jsx)("div",{className:"col-span-12 xl:col-span-8",children:(0,o.jsx)("div",{children:i.map((e,l)=>(0,o.jsx)("div",{className:"flex flex-col gap-2",children:(0,o.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-y-5 gap-x-gutter-mobile md:gap-x-gutter-desktop",children:[e.sections.map(e=>{var a,r;return(0,o.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,o.jsx)("p",{className:"text-10/14 uppercase text-white",children:e.title}),(0,o.jsx)("ul",{className:"flex flex-col gap-2",children:e.links.map(e=>(0,o.jsx)("li",{children:(0,o.jsxs)(M.default,{href:e.href,className:d()("hover:text-white duration-200 transition-colors ease-in-quad flex gap-2",{"text-violet-200":"violet"===t}),children:[(0,o.jsx)("span",{className:"block",children:e.title}),e.tag&&(0,o.jsx)("span",{className:"relative top-[1px] bg-green-200 text-green-800 block rounded-4 px-half text-10/15 h-[15px] uppercase font-mono",children:e.tag})]})},"footer-link-".concat(e.href)))})]},"footer-link-column-section-".concat(null!==(r=null===(a=e.title)||void 0===a?void 0:a.replace(/\s/g,"-"))&&void 0!==r?r:l))}),e.featuredLinks&&(0,o.jsx)("ul",{className:"flex flex-col gap-2",children:e.featuredLinks.map(e=>(0,o.jsx)("li",{children:(0,o.jsxs)(M.default,{href:e.href,className:d()("hover:text-white duration-200 transition-colors ease-in-quad flex items-center gap-1",{"text-violet-100":"violet"===t}),children:[(0,o.jsx)("span",{className:"block",children:e.title}),(0,o.jsx)(b.Z,{className:"block"})]})},"footer-link-".concat(e.href)))})]})},"footer-link-column-".concat(l)))})})]})})})};var S=e=>{let{backgroundColor:t="violet",hideTopPattern:l=!1,tagline:a,badgeIcons:r=[],socialLinks:i=[],linkColumns:n=[],smallLinksTitle:s,smallLinkColumns:h=[],legalLinks:f=[],copyright:v}=e,g=(0,c.usePathname)();return(0,o.jsxs)("footer",{className:d()(p(g),"overflow-hidden"),children:[!l&&!x(g)&&(0,o.jsx)("div",{className:"h-30 md:h-[21vw] relative w-full overflow-hidden",children:(0,o.jsx)(u,{className:"absolute left-[-100vw] right-[-100vw] bottom-[-1px] w-[300vw] md:left-0 md:right-0 md:w-full h-auto text-violet-800"})}),(0,o.jsx)(k,{backgroundColor:t,tagline:a,badgeIcons:r,socialLinks:i,linkColumns:n}),(0,o.jsxs)(m,{backgroundColor:t,children:[(0,o.jsx)(j,{smallLinksTitle:s,smallLinkColumns:h,backgroundColor:t}),(0,o.jsx)(w,{backgroundColor:t,copyright:v,legalLinks:f})]})]})}},1238:function(e,t,l){"use strict";var a=l(57437);t.Z=e=>{let{...t}=e;return(0,a.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[(0,a.jsx)("path",{d:"M3.75 9H14.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M9 3.75L14.25 9L9 14.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}},71191:function(e,t,l){"use strict";l.r(t);var a=l(57437);t.default=e=>{let{...t}=e;return(0,a.jsxs)("svg",{width:"283",height:"65",viewBox:"0 0 283 65",...t,children:[(0,a.jsxs)("g",{className:"icon-logo-mark",children:[(0,a.jsx)("path",{d:"M0 63.6152H21.3918V21.3008H64.0428V-0.00341797H0V63.6152Z",fill:"#A857F1"}),(0,a.jsx)("path",{d:"M45.5945 64.8878C56.2523 64.8878 64.8922 56.2479 64.8922 45.5901C64.8922 34.9323 56.2523 26.2925 45.5945 26.2925C34.9367 26.2925 26.2969 34.9323 26.2969 45.5901C26.2969 56.2479 34.9367 64.8878 45.5945 64.8878Z",fill:"#A857F1"})]}),(0,a.jsxs)("g",{className:"icon-logo-type",children:[(0,a.jsx)("path",{d:"M259.657 62.7285C255.717 62.7285 252.686 61.6893 250.564 59.6108C248.485 57.5323 247.446 54.5012 247.446 50.5174V31.6812H239.457V20.7041H247.446V6.41455H260.762V20.7041H272.128V31.6812H260.762V47.7245C260.762 49.0668 261.108 50.0844 261.801 50.7773C262.494 51.4701 263.511 51.8165 264.854 51.8165H272.128V62.7285H259.657Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M195.352 20.7035H207.433V24.211C208.818 22.6954 210.507 21.5263 212.499 20.7035C214.534 19.8375 216.786 19.3828 219.254 19.3395C221.679 19.2962 223.952 19.7076 226.074 20.5736C228.196 21.4397 230.036 22.6521 231.595 24.211C233.154 25.8131 234.345 27.7834 235.168 30.1217C236.034 32.4167 236.467 35.2313 236.467 38.5655V62.7279H223.086V39.9295C223.086 38.1975 222.913 36.8551 222.567 35.9025C222.264 34.9065 221.766 34.0621 221.073 33.3693C219.817 32.1569 218.107 31.5506 215.942 31.5506C213.776 31.5506 212.066 32.1569 210.81 33.3693C210.074 34.0621 209.533 34.9065 209.186 35.9025C208.883 36.8551 208.732 38.1975 208.732 39.9295V62.7279H195.352V20.7035Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M167.21 63.8325C162.836 63.8325 158.852 62.8582 155.258 60.9096C151.708 59.0043 148.893 56.3412 146.814 52.9204C144.779 49.5429 143.762 45.7972 143.762 41.6836C143.762 37.5699 144.779 33.8026 146.814 30.3818C148.893 26.961 151.708 24.2762 155.258 22.3277C158.852 20.3358 162.836 19.3398 167.21 19.3398C171.583 19.3398 175.545 20.3358 179.096 22.3277C182.69 24.2762 185.505 26.961 187.54 30.3818C189.575 33.8026 190.593 37.5699 190.593 41.6836C190.593 45.7972 189.575 49.5429 187.54 52.9204C185.505 56.3412 182.69 59.0043 179.096 60.9096C175.545 62.8582 171.583 63.8325 167.21 63.8325ZM167.21 52.0111C169.028 52.0111 170.652 51.5564 172.081 50.6471C173.553 49.7377 174.701 48.5036 175.524 46.9447C176.346 45.3859 
1176.758 43.6322 176.758 41.6836C176.758 39.735 176.346 37.9813 175.524 36.4224C174.701 34.8635 173.553 33.6511 172.081 32.7851C170.652 31.8757 169.028 31.421 167.21 31.421C165.348 31.421 163.681 31.8757 162.208 32.7851C160.779 33.6511 159.653 34.8635 158.831 36.4224C158.008 37.9813 157.597 39.735 157.597 41.6836C157.597 43.6322 158.008 45.3859 158.831 46.9447C159.653 48.5036 160.801 49.7377 162.273 50.6471C163.746 51.5564 165.391 52.0111 167.21 52.0111Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M114.129 20.7037H126.145V25.7051C127.574 23.9297 129.285 22.5657 131.276 21.613C133.312 20.6604 135.498 20.1841 137.837 20.1841C139.352 20.1841 140.824 20.314 142.253 20.5738V33.1746C141.214 32.7849 139.785 32.59 137.967 32.59C134.762 32.59 132.229 33.5643 130.367 35.5129C129.371 36.5089 128.613 37.7213 128.094 39.1503C127.617 40.5792 127.379 42.4196 127.379 44.6713V62.7281H114.129V20.7037Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M75.8164 -0.665527H109.852V12.0002H89.5214V24.4062H109.462V36.6173H89.5214V62.7283H75.8164V-0.665527Z",fill:"currentColor"})]})]})}},8065:function(e,t,l){"use strict";l.d(t,{u:function(){return x},Z:function(){return v}});var a=l(57437),r=l(77523),i=l(54776),n=l(34078),o=l(36760),s=l.n(o),d=l(48614),c=l(37679),u=l(50314),m=l(33145),h=l(2265),p=l(82286);let f=e=>{let{children:t,className:l}=e;return(0,a.jsx)("div",{className:s()(l,"transition-all duration-200 ease-in-out relative z-[3000000001] bg-white rounded-10 overflow-hidden m-auto shadow-sm"),children:t})},x=e=>{let{children:t,onClose:l,name:o,className:x,id:v,preventClose:g,sendEvents:y=!0,buttonTheme:C="theme-white",backgroundImageSrc:M}=e,w=(0,h.useRef)(null),[j,b]=(0,h.useState)(!0);(0,h.useEffect)(()=>{y&&n.Z.track("modal_opened",{modal_label:o})},[]),(0,h.useEffect)(()=>{let e=e=>{"Escape"===e.key&&(g||N())};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]);let N=()=>{y&&n.Z.track("modal_closed",{modal_label:o}),b(!1)},k=M?" bg-black/20":"bg-black/80";return(0,a.jsx)(d.M,{onExitComplete:()=>{!j&&l&&l()},children:j&&(0,a.jsx)(p.Z,{children:(0,a.jsxs)(c.E.div,{onClick:()=>!g&&N(),className:"fixed inset-0 overflow-hidden touch-none z-[2147483643]",initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{ease:u.mZ,duration:.4},children:[M&&(0,a.jsx)("div",{className:"absolute inset-0 z-0",children:(0,a.jsx)("div",{className:"hidden md:block",children:(0,a.jsx)(m.default,{className:"object-cover w-full h-full",src:M,alt:"Modal Full Screen Overlay",width:1200,height:1200})})}),(0,a.jsx)("div",{id:v,ref:w,className:s()("absolute inset-0 backdrop-blur-[3px] ",k)}),(0,a.jsx)("div",{className:"flex items-center relative h-[100dvh] overflow-y-scroll p-2",children:(0,a.jsx)(c.E.div,{className:"m-auto",initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:20},transition:{ease:u.mZ,duration:.4},onClick:e=>e.stopPropagation(),children:(0,a.jsxs)(f,{className:x,children:[!g&&(0,a.jsx)("div",{className:"absolute top-0 right-0 p-xs z-10",children:(0,a.jsx)("div",{className:"origin-center transform rotate-45",children:(0,a.jsx)(i.Z,{theme:C,children:(0,a.jsx)(r.V,{parentSurfaceClass:"surface-l0",size:"large",onClick:N,isExpanded:!1})})})}),t]})})})]},"modal-overlay")})})};var v=x},84282:function(e,t,l){"use strict";l.d(t,{default:function(){return ee}});var a,r,i,n,o=l(57437),s=l(32063),d=l(95998),c=l(2265),u=l(64413),m=l(36011),h=l(63024),p=l(56822),f=l(8099),x=l(41372);(a=i||(i={})).DemoForm="experience-1754512585010",a.TestingForm="experience-1756419692233";var v=l(75834),g=l(70689),y=l(34078),C=l(68248),M=l(73986),w=l(83038),j=l(27846);(r=n||(n={})).FormStepOne="initial-form",r.FormStepTwo="secondary-form",r.Scheduler="scheduler",r.Confirmation="confirmation",r.ConfirmationSubmitted="confirmation-submitted";let b={[d.lM.QualifiedMeetingOffered]:"No",[d.lM.MostRecentQualifiedMeetingOfferedStatus]:"No",[d.lM.QualifiedBookingStatus]:"Was not shown calendar",[d.lM.MostRecentQualifiedBookingStatus]:"Was not shown calendar"},N={...b,[d.lM.QualifiedMeetingNotOfferedReason]:"Company size below threshold"},k={...b,[d.lM.QualifiedMeetingNotOfferedReason]:"Flagged as existing customer"},S=()=>{var e,t,l,a;let{isGDPR:r}=(0,c.useContext)(v.VS),[n,o]=(0,c.useState)("initial-form"),[s,u]=(0,c.useState)(null),[m,h]=(0,c.useState)(null),[p,b]=(0,c.useState)(!1),[,S]=(0,j.J)("requested-demo",!1),[E,_]=(0,c.useState)(!r),F=(0,c.useRef)(!0),T=(0,c.useRef)(!1),O=e=>{S(!0),u(e),o("secondary-form")},I=(e,t)=>{b(t),h(e),t?o("scheduler"):o("confirmation")},L=(0,g.q_)({formId:d.KD.RequestDemoStarted,name:"Request Demo Modal Start",content:"Request Demo Modal Start",onSuccess:async e=>{y.Z.event(f.SX.DEMO_STARTED,{[f.qD.USER_EMAIL]:e[d.lM.Email],[f.qD.COMPANY_SIZE]:e[d.lM.CompanySize]}),M.Z.event(x.vE.DEMO_STARTED),O(e)}}),Z=(0,g.Te)({initialValues:{[d.lM.Email]:"",[d.lM.CompanySize]:"",[d.lM.MarketingEmailOptOut]:!!r},onSubmit:L,validate:e=>{let t={};if(t[d.lM.Email]=d.XC[d.lM.Email](e[d.lM.Email],{required:!0,allowPersonalEmail:!1,allowSharedEmail:!1}),t[d.lM.CompanySize]=d.XC[d.lM.CompanySize](e[d.lM.CompanySize],{required:!0}),!Object.values(t).every(e=>void 0===e))return t},validateOnBlur:!1}),P=(0,g.q_)({formId:d.KD.RequestDemo,name:"Request Demo Modal",content:"Request Demo Modal",beforeSubmit:async e=>{let{isPayingCustomer:t}=await (0,C.Ij)(e[d.lM.Email]);t?(Object.assign(e,k),F.current=!1):parseInt(e[d.lM.CompanySize],10)<parseInt(d.bB.Small,10)&&(Object.assign(e,N),F.current=!1)},onSuccess:async e=>{y.Z.trackDemoRequest({[f.qD.USER_EMAIL]:e[d.lM.Email],[f.qD.USER_FIRST_NAME]:e[d.lM.FirstName],[f.qD.USER_LAST_NAME]:e[d.lM.LastName],[f.qD.USER_PHONE]:e[d.lM.Phone]}),M.Z.event(x.vE.ANY_GET_STARTED_MODAL_FORM_SUBMIT),M.Z.event(x.vE.REQUEST_DEMO_SUCCESS),I(e,F.current)}}),z=(0,g.Te)({enableReinitialize:!0,initialValues:{[d.lM.CompanySize]:null!==(e=null==s?void 0:s[d.lM.CompanySize])&&void 0!==e?e:"",[d.lM.Email]:null!==(t=null==s?void 0:s[d.lM.Email])&&void 0!==t?t:"",[d.lM.MarketingEmailOptOut]:null!==(l=null==s?void 0:s[d.lM.MarketingEmailOptOut])&&void 0!==l?l:!!r,[d.lM.CompanyName]:"",[d.lM.FirstName]:"",[d.lM.Industry]:"",[d.lM.JobTitle]:"",[d.lM.LastName]:"",[d.lM.PrimaryUsecase]:"",[d.lM.Phone]:""},onSubmit:P,validate:e=>{let t={};if(t[d.lM.Email]=d.XC[d.lM.Email](e[d.lM.Email],{required:!0,allowPersonalEmail:!0,allowSharedEmail:!0}),t[d.lM.FirstName]=d.XC[d.lM.FirstName](e[d.lM.FirstName],{required:!0}),t[d.lM.LastName]=d.XC[d.lM.LastName](e[d.lM.LastName],{required:!0}),t[d.lM.CompanyName]=d.XC[d.lM.CompanyName](e[d.lM.CompanyName],{required:!0}),t[d.lM.CompanySize]=d.XC[d.lM.CompanySize](e[d.lM.CompanySize],{required:!0}),t[d.lM.Phone]=d.XC[d.lM.Phone](e[d.lM.Phone],{required:!0}),!Object.values(t).every(e=>void 0===e))return t},validateOnBlur:!1}),A=(0,g.Te)({enableReinitialize:!0,initialValues:{[d.lM.Email]:null!==(a=null==s?void 0:s[d.lM.Email])&&void 0!==a?a:"",[d.lM.HowDidYouFindFront]:"",[d.lM.HowDidYouFindFrontOther]:""},onSubmit:(0,g.q_)({formId:d.KD.HowDidYouHearAboutUs,name:"How did you find Front?",content:"How did you find Front?",onSuccess:async()=>o("confirmation-submitted")})}),D=async e=>{let t={email:e[d.lM.Email],first_name:e[d.lM.FirstName],last_name:e[d.lM.LastName],company:e[d.lM.CompanyName],title:e[d.lM.JobTitle]||"",phone_number:e[d.lM.Phone],company_
1size_form:e[d.lM.CompanySize],industry_self_select:e[d.lM.Industry]},l=await (0,w.vb)(t);(0,w.vA)(l)},B=async e=>{await D(e),T.current=!0,(0,w.yJ)(i.TestingForm),b(!0)};(0,c.useEffect)(()=>{"scheduler"===n&&!T.current&&m&&B(m)},[n,m,T.current]),(0,c.useEffect)(()=>{(0,w.NB)((e,t)=>{"Meeting Booked"===e&&H()})},[]),(0,c.useEffect)(()=>{_(!r),Z.setFieldValue(d.lM.MarketingEmailOptOut,!!r)},[r]);let H=()=>{o("confirmation")};return{currentStep:n,demoStepTwoFormData:m,meetingOffered:p,stepOneFormik:Z,stepTwoFormik:z,howDidYouHearAboutUsFormik:A,reOpenQualifiedScheduler:()=>{m&&B(m)},gdprOptIn:r?{checked:E,onToggle:e=>{_(e),Z.setFieldValue(d.lM.MarketingEmailOptOut,!e)}}:null,onMeetingBooked:H}};var E=l(96871),_=l(27648);let F=e=>{let{onClose:t}=e;return(0,o.jsxs)("ul",{className:"flex flex-col gap-y-s",children:[(0,o.jsx)("li",{children:(0,o.jsx)(_.default,{href:E.K_,onClick:()=>{null==t||t(),y.Z.track("click",{element_type:"link",element_label:"Explore our product tour",location:"Form Success - Demo Modal"})},children:(0,o.jsx)(u.ButtonElement,{variant:"tertiary",className:"p-0",text:"Explore our product tour"})})}),(0,o.jsx)("li",{children:(0,o.jsx)(_.default,{href:E.F2,onClick:()=>{null==t||t(),y.Z.track("click",{element_type:"link",element_label:"Check out our resource hub",location:"Form Success - Demo Modal"})},children:(0,o.jsx)(u.ButtonElement,{className:"p-0",variant:"tertiary",text:"Check out our resource hub"})})}),(0,o.jsx)("li",{children:(0,o.jsx)(_.default,{href:E.o3,onClick:()=>{null==t||t(),y.Z.track("click",{element_type:"link",element_label:"Meet our customers",location:"Form Success - Demo Modal"})},children:(0,o.jsx)(u.ButtonElement,{variant:"tertiary",text:"Meet our customers",className:"p-0"})})})]})},T=e=>{let t={};return Object.values(e).sort(()=>Math.random()-.5).forEach(e=>{"Other"!==e&&(t[e]=e)}),t.Other="Other",Object.entries(t).map(e=>{let[t,l]=e;return{label:t,value:l}})};var O=e=>{let{formik:t,userFirstName:l,currentStep:a,onClose:r,meetingOffered:i=!1}=e,f=(0,c.useMemo)(()=>T(d.kM),[]),x="Podcast"===t.values[d.lM.HowDidYouFindFront]||"Billboard or outdoor signage"===t.values[d.lM.HowDidYouFindFront]||"Other"===t.values[d.lM.HowDidYouFindFront];return(0,o.jsxs)("div",{className:"flex flex-col gap-lg my-auto",children:[(0,o.jsx)(p.t,{align:"left",type:"h3p2",title:"Thank you, ".concat(null!=l?l:"friend","!"),description:i?"We look forward to meeting with you.":"Here's what you can expect next."}),!i&&(0,o.jsx)(p.t,{type:"p2",align:"left",title:"We’ll be in touch",description:"A product expert will call or email you soon to set up a time to chat. We’ll ask about your workflows to prepare a personalized demo that fits your team’s unique needs."}),(0,o.jsx)(h.xv,{type:"p2",className:"text-secondary",children:"In the meantime, there are a few ways to explore Front on your own."}),(0,o.jsx)(F,{onClose:r}),a===n.ConfirmationSubmitted?(0,o.jsx)("div",{children:(0,o.jsx)("h4",{className:"text-p2 mt-3 mb-[4px] font-600",children:"Thank you for your feedback!"})}):(0,o.jsxs)("form",{id:"how-did-you-hear-about-us-form",className:"flex flex-col py-md gap-md",onSubmit:t.handleSubmit,noValidate:!0,children:[(0,o.jsx)(m.m,{name:d.lM.HowDidYouFindFront,label:d.r8.HowDidYouHearAboutUs,placeholder:"Select one",options:f,value:t.values[d.lM.HowDidYouFindFront],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:t.errors[d.lM.HowDidYouFindFront]}),x&&(0,o.jsx)(s.Z,{type:"text",name:d.lM.HowDidYouFindFrontOther,label:d.r8.HowDidYouFindFrontOther,placeholder:"Please provide additional details",value:t.values[d.lM.HowDidYouFindFrontOther],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:t.errors[d.lM.HowDidYouFindFrontOther]}),(0,o.jsx)(m.m,{name:d.lM.WhatAreYouHopingToImprove,label:d.r8.WhatAreYouHopingToImprove,placeholder:"Select one",options:Object.entries(d.K2).map(e=>{let[t,l]=e;return{label:t,value:l}}),value:t.values[d.lM.WhatAreYouHopingToImprove],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:t.errors[d.lM.WhatAreYouHopingToImprove]}),(0,o.jsx)(m.m,{name:d.lM.HowAreYouManagingThisWorkToday,label:d.r8.HowAreYouManagingThisWorkToday,placeholder:"Select one",options:Object.entries(d.W5).map(e=>{let[t,l]=e;return{label:t,value:l}}),value:t.values[d.lM.HowAreYouManagingThisWorkToday],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:t.errors[d.lM.HowAreYouManagingThisWorkToday]}),(0,o.jsx)(m.m,{name:d.lM.RoughlyHowManyPeopleWillUseFront,label:d.r8.RoughlyHowManyPeopleWillUseFront,placeholder:"Select one",options:Object.entries(d.G).map(e=>{let[t,l]=e;return{label:t,value:l}}),value:t.values[d.lM.RoughlyHowManyPeopleWillUseFront],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:t.errors[d.lM.RoughlyHowManyPeopleWillUseFront]}),(0,o.jsx)(u.ButtonElement,{variant:"primary",buttonType:"filled",text:t.isValidating||t.isSubmitting?"Submitting":"Submit",disabled:t.isValidating||t.isSubmitting})]})]})},I=e=>{let{reOpenQualifiedScheduler:t,onClose:l}=e;return(0,o.jsxs)("div",{className:"flex flex-col gap-lg",children:[(0,o.jsx)(p.t,{type:"h3p2",align:"left",title:"We look forward to connecting",description:"A scheduler will open momentarily, or you can click the button below to find a time to chat."}),(0,o.jsx)(u.ButtonElement,{variant:"primary",buttonType:"filled",text:"Schedule a demo",onClick:()=>{t()}}),(0,o.jsx)(h.xv,{type:"p2",children:"There are also some ways to explore Front on your own."}),(0,o.jsx)(F,{onClose:l})]})},L=l(21256),Z=()=>(0,o.jsxs)(h.xv,{as:"p",type:"caption2",className:"text-primary",children:["By clicking “Continue”, I acknowledge I have read and agreed to"," ",L.Gs,"’s"," ",(0,o.jsx)("a",{href:E.uS,target:"_blank",rel:"noreferrer",className:"underline",children:"Terms"})," ","and"," ",(0,o.jsx)("a",{href:E.Yk,target:"_blank",rel:"noreferrer",className:"underline",children:"Privacy Notice"}),"."]}),P=l(16758),z=l(72063),A=e=>{let{formik:t,gdprOptIn:l}=e,a=!(0,P.Mw)(t.values[d.lM.Email]),r=(0,g.IT)(t),i=r(d.lM.Email),n=r(d.lM.CompanySize),c=t.isValidating||t.isSubmitting||!!i||!!n;return(0,o.jsxs)("form",{id:"demo-form-step-one",className:"flex flex-col",onSubmit:t.handleSubmit,noValidate:!0,children:[(0,o.jsxs)("fieldset",{className:"flex flex-col gap-lg py-xl",children:[(0,o.jsx)(s.U,{type:"email",name:d.lM.Email,label:d.r8.Email,placeholder:"[email protected]",value:t.values[d.lM.Email],onChange:t.handleChange,onBlur:t.handleBlur,warningMessage:a?"Please enter your work email.":void 0,errorMessage:i}),(0,o.jsx)(m.m,{name:d.lM.CompanySize,label:d.r8.CompanySize,placeholder:"Select one",options:Object.entries(d.QG).map(e=>{let[t,l]=e;return{label:t,value:l}}),value:t.values[d.lM.CompanySize],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:n}),l&&(0,o.jsx)(z.X,{name:d.lM.MarketingEmailOptOut,checked:l.checked,className:"my-auto [&_input]:border-gray-600",onChange:e=>l.onToggle(e.target.checked),label:"Opt into emails with the latest news, offers, promotions, and resources from Front."})]}),(0,o.jsx)(u.ButtonElement,{variant:"primary",buttonType:"filled",className:"mb-s",disabled:c,text:t.isValidating||t.isSubmitting?"Submitting":"C
1ontinue"}),(0,o.jsx)(Z,{})]})},D=l(1666),B=l(93280),H=e=>{let{formik:t}=e,{getTempUserData:l}=(0,c.useContext)(B.S),a=(0,g.IT)(t),r=a(d.lM.FirstName),i=a(d.lM.LastName),n=a(d.lM.Phone),m=a(d.lM.CompanyName),h=t.isValidating||t.isSubmitting||!!r||!!i||!!n||!!m;return(0,c.useEffect)(()=>{let e=l();Object.keys(e).forEach(l=>{t.setFieldValue(l,e[l])})},[]),(0,o.jsxs)("form",{id:"demo-form-step-two",className:"flex flex-col",onSubmit:t.handleSubmit,noValidate:!0,children:[(0,o.jsxs)("fieldset",{className:"flex flex-col gap-lg py-xl",children:[(0,o.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-md",children:[(0,o.jsx)(s.Z,{type:"text",name:d.lM.FirstName,label:d.r8.FirstName,placeholder:"Jamie",value:t.values[d.lM.FirstName],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:r}),(0,o.jsx)(s.Z,{type:"text",name:d.lM.LastName,label:d.r8.LastName,placeholder:"Smith",value:t.values[d.lM.LastName],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:i})]}),(0,o.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-md",children:[(0,o.jsx)(s.Z,{type:"text",name:d.lM.CompanyName,label:d.r8.CompanyName,placeholder:"Your Company",value:t.values[d.lM.CompanyName],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:m}),(0,o.jsx)(D.Z,{name:d.lM.Phone,label:d.r8.Phone,value:t.values[d.lM.Phone],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:n})]})]}),(0,o.jsx)(u.ButtonElement,{disabled:h,text:t.isValidating||t.isSubmitting?"Submitting":"Continue",variant:"primary",buttonType:"filled"})]})},V=e=>{let{onClose:t}=e,{currentStep:l,demoStepTwoFormData:a,meetingOffered:r,stepOneFormik:i,stepTwoFormik:s,howDidYouHearAboutUsFormik:c,gdprOptIn:u,reOpenQualifiedScheduler:m}=S();return(0,o.jsxs)(o.Fragment,{children:[l===n.FormStepOne&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(p.t,{type:"h3p2",align:"left",headingLevel:"h3",title:"Get a personalized demo",description:"Help us tailor the demo experience to your needs."}),(0,o.jsx)(A,{formik:i,gdprOptIn:u})]}),l===n.FormStepTwo&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(p.t,{type:"h3p2",align:"left",title:"Tell us a little more about yourself",description:"So we can show you how Front can address your business needs."}),(0,o.jsx)(h.xv,{type:"caption2",className:"text-red-500 mt-xs",children:"Note: Your request is not complete until you submit this form."}),(0,o.jsx)(H,{formik:s})]}),l===n.Scheduler&&a&&(0,o.jsx)(I,{reOpenQualifiedScheduler:m}),(l===n.Confirmation||l===n.ConfirmationSubmitted)&&a&&(0,o.jsx)(O,{currentStep:l,formik:c,userFirstName:null==a?void 0:a[d.lM.FirstName],onClose:t,meetingOffered:r})]})},R=l(8065),q=l(54776),W=l(19812),U=l(22142),Y=l(33145);let J=e=>{let{className:t}=e;return(0,o.jsxs)("svg",{className:t,width:"512",height:"766",viewBox:"0 0 512 766",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{d:"M498.785 -531.002C141.024 -531.002 -148.999 -240.856 -148.999 117.058C-148.999 474.971 141.024 765.117 498.785 765.117C856.547 765.117 1146.57 474.971 1146.57 117.058C1146.57 -240.856 856.547 -531.002 498.785 -531.002Z",fill:"url(#paint0_linear_13570_13242)"}),(0,o.jsx)("path",{d:"M276.823 -531.002C-80.939 -531.002 -370.962 -240.856 -370.962 117.058C-370.962 474.971 -80.939 765.117 276.823 765.117C634.584 765.117 924.607 474.971 924.607 117.058C924.607 -240.856 634.584 -531.002 276.823 -531.002Z",fill:"url(#paint1_linear_13570_13242)"}),(0,o.jsx)("path",{d:"M256.643 -531.002C-101.119 -531.002 -391.142 -240.856 -391.142 117.058C-391.142 474.971 -101.119 765.117 256.643 765.117C614.405 765.117 904.428 474.971 904.428 117.058C904.428 -240.856 614.405 -531.002 256.643 -531.002Z",fill:"url(#paint2_linear_13570_13242)"}),(0,o.jsx)("path",{d:"M14.5003 -531.002C-343.261 -531.002 -633.285 -240.856 -633.285 117.058C-633.285 474.971 -343.261 765.117 14.5003 765.117C372.262 765.117 662.285 474.971 662.285 117.058C662.285 -240.856 372.262 -531.002 14.5003 -531.002Z",fill:"url(#paint3_linear_13570_13242)"}),(0,o.jsx)("path",{d:"M-227.642 -531.002C-585.404 -531.002 -875.427 -240.856 -875.427 117.058C-875.427 474.971 -585.404 765.117 -227.642 765.117C130.119 765.117 420.143 474.971 420.143 117.058C420.143 -240.856 130.119 -531.002 -227.642 -531.002Z",fill:"url(#paint4_linear_13570_13242)"}),(0,o.jsx)("path",{d:"M-469.785 -531.002C-827.546 -531.002 -1117.57 -240.856 -1117.57 117.058C-1117.57 474.971 -827.546 765.117 -469.785 765.11
17C-112.023 765.117 178 474.971 178 117.058C178 -240.856 -112.023 -531.002 -469.785 -531.002Z",fill:"url(#paint5_linear_13570_13242)"}),(0,o.jsxs)("defs",{children:[(0,o.jsxs)("linearGradient",{id:"paint0_linear_13570_13242",x1:"3842.41",y1:"-668.151",x2:"3837.09",y2:"754.657",gradientUnits:"userSpaceOnUse",children:[(0,o.jsx)("stop",{offset:"0.274038","stop-color":"#AF96F6"}),(0,o.jsx)("stop",{offset:"0.793269","stop-color":"#5B1F76"})]}),(0,o.jsxs)("linearGradient",{id:"paint1_linear_13570_13242",x1:"3620.45",y1:"-668.151",x2:"3615.13",y2:"754.657",gradientUnits:"userSpaceOnUse",children:[(0,o.jsx)("stop",{offset:"0.201923","stop-color":"#AF96F6"}),(0,o.jsx)("stop",{offset:"0.8","stop-color":"#5B1F76"})]}),(0,o.jsxs)("linearGradient",{id:"paint2_linear_13570_13242",x1:"3600.27",y1:"-668.151",x2:"3594.95",y2:"754.657",gradientUnits:"userSpaceOnUse",children:[(0,o.jsx)("stop",{offset:"0.182692","stop-color":"#AF96F6"}),(0,o.jsx)("stop",{offset:"0.793269","stop-color":"#5B1F76"})]}),(0,o.jsxs)("linearGradient",{id:"paint3_linear_13570_13242",x1:"3358.13",y1:"-668.151",x2:"3352.81",y2:"754.657",gradientUnits:"userSpaceOnUse",children:[(0,o.jsx)("stop",{offset:"0.115385","stop-color":"#AF96F6"}),(0,o.jsx)("stop",{offset:"0.8","stop-color":"#5B1F76"})]}),(0,o.jsxs)("linearGradient",{id:"paint4_linear_13570_13242",x1:"3115.99",y1:"-668.151",x2:"3110.66",y2:"754.657",gradientUnits:"userSpaceOnUse",children:[(0,o.jsx)("stop",{offset:"0.0625","stop-color":"#AF96F6"}),(0,o.jsx)("stop",{offset:"0.8","stop-color":"#5B1F76"})]}),(0,o.jsxs)("linearGradient",{id:"paint5_linear_13570_13242",x1:"2873.84",y1:"-668.151",x2:"2868.52",y2:"754.657",gradientUnits:"userSpaceOnUse",children:[(0,o.jsx)("stop",{offset:"0.01","stop-color":"#AF96F6"}),(0,o.jsx)("stop",{offset:"0.8","stop-color":"#5B1F76"})]})]})]})};var X=()=>(0,o.jsx)(q.Z,{theme:"theme-dark-violet",className:"h-full min-h-85",children:(0,o.jsxs)("div",{className:"surface-l0 relative h-full border-solid border-[1px] border-gray-100 rounded-10 overflow-hidden",children:[(0,o.jsx)(J,{className:"absolute h-full w-full"}),(0,o.jsxs)("div",{className:"relative z-1 top-0 left-0 bottom-0 right-0  flex flex-col justify-between",children:[(0,o.jsxs)("div",{className:"pl-8 py-3 md:py-3xl flex flex-col gap-xl",children:[(0,o.jsx)(h.xv,{type:"h4",className:"text-primary",children:"Front is the only platform built to handle your complex customer operations"}),(0,o.jsx)(U.S,{className:"space-y-md",items:[{id:"1",text:"Coordinate across teams in a shared system"},{id:"2",text:"Design sophisticated workflows with ease"},{id:"3",text:"Gain insights to manage your entire operation"}]})]}),(0,o.jsx)("div",{className:"pr-8 max-h-55",children:(0,o.jsx)(Y.default,{className:"self-start",src:"https://front.com/webassets/rebrand/request-demo-modal-copilot-image-2026.png",alt:"Copilot product illustration",width:542,height:300})})]})]})}),G=e=>{let{children:t,onClose:l}=e;return(0,o.jsx)(R.u,{name:"Demo Modal",buttonTheme:"theme-gray",onClose:()=>{l()},className:"max-w-[1084px] p-0 overflow-hidden",children:(0,o.jsx)(q.Z,{theme:"theme-white",children:(0,o.jsx)(W.Z,{children:(0,o.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2",children:[(0,o.jsx)("div",{className:"p-2xs",children:(0,o.jsx)("div",{className:"overflow-hidden rounded-10 h-full",children:(0,o.jsx)(X,{})})}),(0,o.jsx)("div",{className:"p-2xl relative flex flex-col",children:(0,o.jsx)("div",{className:"my-auto",children:t})})]})})})})},K=e=>{let{onClose:t}=e;return(0,o.jsx)(G,{onClose:t,children:(0,o.jsx)(V,{onClose:t})})},Q=l(20186),$=l(99376),ee=()=>{let{isDemoModalOpen:e,setDemoModalOpen:t}=(0,Q.ZP)();return(0,$.useRouter)(),(0,c.useEffect)(()=>{if(e){let e=M.Z.activatePage(x.I3.ANY_GET_STARTED_MODAL),t=M.Z.activatePage(x.I3.DEMO_MODAL);return()=>{e(),t()}}},[e]),e?(0,o.jsx)(K,{onClose:()=>t(!1)}):null}},83130:function(e,t,l){"use strict";l.d(t,{default:function(){return ev}});var a,r,i=l(57437),n=l(46110),o=l(8099),s=l(95998),d=l(41372),c=l(75834),u=l(93280);let m="front-anonymous-id";var h=l(27064),p=l.n(h),f=l(96871),x=l(15833);let v=()=>{if("front.com"===window.location.hostname)return f.wz.replace(/\/$/i,"");let e=(0,x.ej)("front-preprod-app-domain");return(null!=e?e:f.wz).replace(/\/$/i,"")};var g=l(48322),y=l(88165);(0,g.h)("front");var C={getFaid:()=>{try{return window.localStorage.getItem("front.aid")}catch(e){return null}}},M=l(16758),w={checkEmailAvailability:async function(e){if(!e)throw Error("You must provide an email address");
1if(!(0,M.oH)(e))throw Error("Email address is not valid");try{let{data:{status:t}}=await p().get("".concat(v(),"/api/1/email_available/").concat(encodeURIComponent(e)),{withCredentials:!0,headers:{[m]:C.getFaid()}});return"available"===t}catch(e){if(p().isAxiosError(e)){var t;if((null===(t=e.response)||void 0===t?void 0:t.status)===409)return!1}throw e}},signup:function(e){return p().post("".concat(v(),"/api/1/signup"),e,{withCredentials:!0,headers:{[m]:C.getFaid()}})},validateEmail:function(e){return p().post("".concat(v(),"/api/1/send_validation_email"),e,{withCredentials:!0,headers:{[m]:C.getFaid()}})}},j=l(38225),b=l(70689),N=l(34078),k=l(2265),S=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,l]=(0,k.useState)(!1),[a,r]=(0,k.useState)(""),[i,n]=(0,k.useState)(!1),[o,s]=(0,k.useState)(!1),[d,c]=(0,k.useState)(!1);(0,k.useEffect)(()=>{let t=!0;if(n(!1),c(!1),!(0,M.oH)(a)){s(!1);return}if(s(!0),l(!0),e.beforeCheck){let t=e.beforeCheck(a);if("boolean"==typeof t){n(t),s(!1);return}}let r=setTimeout(async()=>{try{let e=await w.checkEmailAvailability(a);if(!t)return;n(e)}catch(e){t&&c(!0)}t&&(s(!1),e.afterCheck&&setTimeout(()=>{e.afterCheck(a)},0))},1500);return()=>{t=!1,clearTimeout(r)}},[a]);let u=0;return t?o?u=2:d?u=-2:i?u=1:i||(u=-1):u=0,[u,r]};(a=r||(r={}))[a.Error=-2]="Error",a[a.Unavailable=-1]="Unavailable",a[a.Untouched=0]="Untouched",a[a.Available=1]="Available",a[a.Checking=2]="Checking";var E=l(68248),_=l(73986),F=l(51653);let T=()=>{var e,t,l,a,i,m,h,p,f,x,g,C,T,O,I,L,Z,P,z;let{getTempUserData:A}=(0,k.useContext)(u.S),[D,B]=(0,k.useState)(1),[H,V]=(0,k.useState)(!1),R=(0,F.jU)()?new URLSearchParams(window.location.search):new URLSearchParams,q="true"===R.get("override"),W=R.get("affiliate"),U=q?"Forced Trial":W?"Affiliate Signup":"",[Y,J]=S(),[X,G]=(0,k.useState)(null),[K,Q]=(0,k.useState)(""),{isGDPR:$}=(0,k.useContext)(c.VS),[ee,et]=(0,k.useState)(!$);(0,k.useEffect)(()=>{W&&j.Z.setAffiliateFromQuery()},[W]),(0,k.useEffect)(()=>{3===D&&(_.Z.event(d.vE.TRIAL_SIGNUP_SECOND_STEP),N.Z.track("submit_form",{form_name:"Trial Modal",form_content:"Trial Modal"}))},[D]),(0,k.useEffect)(()=>{4===D&&_.Z.event(d.vE.TRIAL_SIGNUP_THIRD_STEP)},[D]);let el=(0,b.Te)({initialValues:{[s.lM.CompanyName]:"",[s.lM.FirstName]:"",[s.lM.Industry]:"",[s.lM.JobTitle]:"",[s.lM.LastName]:"",[s.lM.Email]:"",[s.lM.CompanySize]:"",[s.lM.Phone]:"",[s.lM.MarketingEmailOptOut]:!!$},onSubmit:(e,t)=>{let l=parseInt(e[s.lM.CompanySize]);E.ZP.submitForm(s.KD.GetStartedModalPartial,{[s.lM.Affiliate]:j.Z.getAffiliateFromCookie(),[s.lM.ContentName]:"Trial Modal",[s.lM.Email]:e[s.lM.Email],[s.lM.FirstName]:e[s.lM.FirstName],[s.lM.LastName]:e[s.lM.LastName],[s.lM.CompanyName]:e[s.lM.CompanyName],[s.lM.JobTitle]:e[s.lM.JobTitle],[s.lM.CompanySize]:e[s.lM.CompanySize],[s.lM.Industry]:e[s.lM.Industry],[s.lM.Phone]:e[s.lM.Phone],[s.lM.MarketingEmailOptOut]:String(e[s.lM.MarketingEmailOptOut]),[s.lM.TrialType]:U||(l>50?"Customized Sales Trial":"Standard Trial")}).catch(e=>{y.Z.captureException(e)}).finally(()=>{t.setSubmitting(!1),G(e),50>=parseInt(e.company_size__new_)||q||W?B(3):B(2)})},validate:e=>{var t,l,a;let i={};switch(i[s.lM.Email]=s.XC[s.lM.Email](e[s.lM.Email],{required:!0,allowPersonalEmail:!0,allowSharedEmail:!0}),Y){case r.Available:break;case r.Unavailable:i[s.lM.Email]=null!==(t=i[s.lM.Email])&&void 0!==t?t:n.ur.EXISTS;break;case r.Error:i[s.lM.Email]=null!==(l=i[s.lM.Email])&&void 0!==l?l:n.ur.ERROR;break;default:i[s.lM.Email]=null!==(a=i[s.lM.Email])&&void 0!==a?a:""}if(i[s.lM.FirstName]=s.XC[s.lM.FirstName](e[s.lM.FirstName],{required:!0}),i[s.lM.LastName]=s.XC[s.lM.LastName](e[s.lM.LastName],{required:!0}),i[s.lM.CompanyName]=s.XC[s.lM.CompanyName](e[s.lM.CompanyName],{required:!0}),i[s.lM.Industry]=s.XC[s.lM.Industry](e[s.lM.Industry],{required:!0}),i[s.lM.CompanySize]=s.XC[s.lM.CompanySize](e[s.lM.CompanySize],{required:!0}),i[s.lM.JobTitle]=s.XC[s.lM.JobTitle](e[s.lM.JobTitle],{required:!0}),i[s.lM.Phone]=s.XC[s.lM.Phone](e[s.lM.Phone],{required:!0}),!Object.values(i).every(e=>void 0===e))return i},validateOnBlur:!1});(0,k.useEffect)(()=>{let e=A();Object.keys(e).forEach(t=>{el.setFieldValue(t,e[t])})},[]),(0,k.useEffect)(()=>{J(el.values[s.lM.Email])},[el.values[s.lM.Email]]),(0,k.useEffect)(()=>{Y!==r.Untouched&&el.setFieldTouched(s.lM.Email,!0,!0)},[Y]);let ea=(0,b.Te)({enableReinitialize:!0,initialValues:{password:"",[s.lM.CompanyName]:null!==(e=null==X?void 0:X[s.lM.CompanyName])&&void 0!==e?e:"",[s.lM.CompanySize]:null!==(t=null==X?void 0:X[s.lM.CompanySize])&&void 0!==t?t:"",[s.lM.Email]:null!==(l=null==X?void 0:X[s.lM.Email])&&void 0!==l?l:"",[s.lM.FirstName]:null!==(a=null==X?void 0:X[s.lM.FirstName])&&void 0!==a?a:"",[s.lM.Industry]:null!==(i=null==X?void 0:X[s.lM.Industry])&&void 0!==i?i:"",[s.lM.JobTitle]:null!==(m=null==X?void 0:X[s.lM.JobTitle])&&void 0!==m?m:"",[s.lM.LastName]:null!==(h=null==X?void 0:X[s.lM.LastName])&&void 0!==h?h:"",[s.lM.Phone]:null!==(p=null==X?void 0:X[s.lM.Phone])&&void 0!==p?p:"",[s.lM.MarketingEmailOptOut]:null!==(f=null==X?void 0:X[s.lM.MarketingEmailOptOut])&&void 0!==f&&f},onSubmit:(e,t)=>
1{var l,a,r,i;w.validateEmail({email:e[s.lM.Email],password:null!==(r=e.password)&&void 0!==r?r:"",affiliate:e[s.lM.Affiliate],origin:null!==(i=null===(a=window)||void 0===a?void 0:null===(l=a.location)||void 0===l?void 0:l.href)&&void 0!==i?i:""}).then(()=>{G(e),B(4)}).catch(e=>{}).finally(()=>{t.setSubmitting(!1),N.Z.track("submit_form",{form_name:"Trial Step 3",form_content:"Trial Step 3"})})},validate:e=>{var t,l,a,i;let o={};switch(o[s.lM.Email]=s.XC[s.lM.Email](e[s.lM.Email],{required:!0,allowPersonalEmail:!0,allowSharedEmail:!0}),Y){case r.Available:break;case r.Unavailable:o[s.lM.Email]=null!==(t=o[s.lM.Email])&&void 0!==t?t:n.ur.EXISTS;break;case r.Error:o[s.lM.Email]=null!==(l=o[s.lM.Email])&&void 0!==l?l:n.ur.ERROR;break;default:o[s.lM.Email]=null!==(a=o[s.lM.Email])&&void 0!==a?a:""}if(o.password=(i=e.password)?(0,M.uo)(i)?void 0:"8 characters minimum, at least 1 uppercase letter and 1 number":"Password is required",o[s.lM.CompanySize]=s.XC[s.lM.CompanySize](e[s.lM.CompanySize],{required:!0}),!Object.values(o).every(e=>void 0===e))return o},validateOnBlur:!1}),er=(0,b.Te)({enableReinitialize:!0,initialValues:{code:"",password:null!==(x=null==X?void 0:X.password)&&void 0!==x?x:"",[s.lM.CompanyName]:null!==(g=null==X?void 0:X[s.lM.CompanyName])&&void 0!==g?g:"",[s.lM.CompanySize]:null!==(C=null==X?void 0:X[s.lM.CompanySize])&&void 0!==C?C:"",[s.lM.Email]:null!==(T=null==X?void 0:X[s.lM.Email])&&void 0!==T?T:"",[s.lM.FirstName]:null!==(O=null==X?void 0:X[s.lM.FirstName])&&void 0!==O?O:"",[s.lM.Industry]:null!==(I=null==X?void 0:X[s.lM.Industry])&&void 0!==I?I:"",[s.lM.JobTitle]:null!==(L=null==X?void 0:X[s.lM.JobTitle])&&void 0!==L?L:"",[s.lM.LastName]:null!==(Z=null==X?void 0:X[s.lM.LastName])&&void 0!==Z?Z:"",[s.lM.Phone]:null!==(P=null==X?void 0:X[s.lM.Phone])&&void 0!==P?P:"",[s.lM.MarketingEmailOptOut]:null!==(z=null==X?void 0:X[s.lM.MarketingEmailOptOut])&&void 0!==z&&z},onSubmit:(e,t)=>{var l,a,r;Q("");let i=setTimeout(()=>{V(!0)},2e3),n=j.Z.getAffiliateFromCookie()||"";w.signup({affiliate:n,code:e.code,company:e[s.lM.CompanyName],email:e[s.lM.Email],family_name:e[s.lM.LastName],given_name:e[s.lM.FirstName],industry:e[s.lM.Industry],origin:null!==(r=null===(a=window)||void 0===a?void 0:null===(l=a.location)||void 0===l?void 0:l.href)&&void 0!==r?r:"",password:e.password,size:e[s.lM.CompanySize]}).then(t=>{var l,a;let{data:r}=t;V(!0);let i={[o.qD.USER_EMAIL]:e[s.lM.Email],[o.qD.USER_FIRST_NAME]:e[s.lM.FirstName],[o.qD.USER_LAST_NAME]:e[s.lM.LastName],affiliate:n,company:e[s.lM.CompanyName],gclid:j.Z.getAttributionFromCookie().gclid,industry:e[s.lM.Industry],label:window.btoa(unescape(encodeURIComponent(null!==(a=null!==(l=r.first_admin_id)&&void 0!==l?l:r.id)&&void 0!==a?a:""))),teammate_id:r.first_admin_id,marketing_email_opt_out:e[s.lM.MarketingEmailOptOut]};E.ZP.submitForm(s.KD.TrialSignup,{[s.lM.Affiliate]:n,[s.lM.ContentName]:"Trial Signup",[s.lM.Email]:e[s.lM.Email],[s.lM.FirstName]:e[s.lM.FirstName],[s.lM.LastName]:e[s.lM.LastName],[s.lM.CompanyName]:e[s.lM.CompanyName],[s.lM.JobTitle]:e[s.lM.JobTitle],[s.lM.CompanySize]:e[s.lM.CompanySize],[s.lM.Industry]:e[s.lM.Industry],[s.lM.Phone]:e[s.lM.Phone],[s.lM.MarketingEmailOptOut]:String(e[s.lM.MarketingEmailOptOut]),[s.lM.TrialType]:U||"Standard Trial"}).catch(e=>{y.Z.captureException(e)}).finally(()=>{U?N.Z.trackForcedTrialSignup(U,i):N.Z.trackTrialSignup(i),_.Z.event(d.vE.TRIAL_SIGNUP),setTimeout(()=>{var e;window.location.href=null!==(e=r.first_login_url)&&void 0!==e?e:v()},250)})}).catch(e=>{var l,a,r;clearTimeout(i),V(!1),y.Z.captureException(e),(null===(a=e.response)||void 0===a?void 0:null===(l=a.data)||void 0===l?void 0:l.code)==="bad_validation_code"?t.setFieldError("code","Incorrect validation code"):(null===(r=e.response)||void 0===r?void 0:r.status)===429?Q("Too many attempts, please try again later"):Q("An unexpected error occurred, please refresh and try again")}).finally(()=>{t.setSubmitting(!1)})},validate:e=>{var t;let l={};if(l[s.lM.FirstName]=s.XC[s.lM.FirstName](e[s.lM.FirstName],{required:!0}),l[s.lM.LastName]=s.XC[s.lM.LastName](e[s.lM.LastName],{required:!0}),l[s.lM.CompanyName]=s.XC[s.lM.CompanyName](e[s.lM.CompanyName],{required:!0}),l[s.lM.Industry]=s.XC[s.lM.Industry](e[s.lM.Industry],{required:!0}
1),l[s.lM.JobTitle]=s.XC[s.lM.JobTitle](e[s.lM.JobTitle],{required:!0}),l.code=(t=e.code)?6!==t.length?"The code is 6 digits long":void 0:"Please enter the code sent to your email",!Object.values(l).every(e=>void 0===e))return l},validateOnBlur:!1});return(0,k.useEffect)(()=>{if(2===D){var e,t,l,a,r,i,n,o,c;_.Z.event(d.vE.CUSTOMIZED_TRIAL_SUCCESS),N.Z.trackCustomSalesTrialSignup();let u=j.Z.getAffiliateFromCookie()||"";E.ZP.submitForm(s.KD.TrialSignup,{[s.lM.Affiliate]:u,[s.lM.ContentName]:"Trial Signup",[s.lM.Email]:null!==(e=null==X?void 0:X[s.lM.Email])&&void 0!==e?e:"",[s.lM.FirstName]:null!==(t=null==X?void 0:X[s.lM.FirstName])&&void 0!==t?t:"",[s.lM.LastName]:null!==(l=null==X?void 0:X[s.lM.LastName])&&void 0!==l?l:"",[s.lM.CompanyName]:null!==(a=null==X?void 0:X[s.lM.CompanyName])&&void 0!==a?a:"",[s.lM.JobTitle]:null!==(r=null==X?void 0:X[s.lM.JobTitle])&&void 0!==r?r:"",[s.lM.CompanySize]:null!==(i=null==X?void 0:X[s.lM.CompanySize])&&void 0!==i?i:"",[s.lM.Industry]:null!==(n=null==X?void 0:X[s.lM.Industry])&&void 0!==n?n:"",[s.lM.Phone]:null!==(o=null==X?void 0:X[s.lM.Phone])&&void 0!==o?o:"",[s.lM.MarketingEmailOptOut]:String(null!==(c=null==X?void 0:X[s.lM.MarketingEmailOptOut])&&void 0!==c&&c),[s.lM.TrialType]:"Customized Sales Trial"}).catch(e=>{y.Z.captureException(e)})}},[X,D]),{currentStep:D,setCurrentStep:B,showLoader:H,emailState:{checking:Y===r.Checking,isNotWorkEmail:!(0,M.Mw)(el.values[s.lM.Email])},error:K,personalInfoFormik:el,emailPasswordFormik:ea,confirmationCodeFormik:er,gdprOptIn:$?{checked:ee,onToggle:e=>{et(e),el.setFieldValue(s.lM.MarketingEmailOptOut,!e)}}:null}};var O=l(56822),I=l(64413),L=l(63024),Z=l(36760),P=l.n(Z),z=e=>{let{code:t,confirmationCodeLength:l,onChange:a,onFocus:r,disabled:n,invalid:o,className:s}=e,[d,c]=(0,k.useState)(""),[u,m]=(0,k.useState)(!1),h=(0,k.useRef)(null),p=(0,k.useMemo)(()=>d.length<l?d.length:l-1,[d,l]);return(0,k.useEffect)(()=>{a(d)},[d]),(0,k.useEffect)(()=>{c(t)},[t]),(0,i.jsx)("div",{className:P()("inline-flex justify-center items-center flex-col select-none",s),children:(0,i.jsxs)("div",{className:"inline-flex justify-center items-center gap-xs",onClick:()=>{var e;return null===(e=h.current)||void 0===e?void 0:e.focus()},children:[[...Array(l)].map((e,t)=>(0,i.jsx)("div",{className:P()("p-4xs rounded-6 overflow-hidden",t===p?"border-active":"border-l0"),children:(0,i.jsxs)("div",{className:P()("w-7 h-7 p-2xs rounded-4 text-primary surface-l1 flex items-center justify-center cursor-pointer mr-2 last:mr-0"),children:[(0,i.jsx)(L.xv,{as:"span",type:"p1-medium",className:"text-primary",children:d.charAt(t)}),u&&t===p&&(0,i.jsx)("span",{className:"w-px h-3 bg-blue-900 animate-caret-blink","aria-hidden":"true"})]},"cell-".concat(t))},"cell-".concat(t))),(0,i.jsx)("input",{className:"absolute font-size-p2 text-center bg-transparent outline-none opacity-0 w-0 h-0 appearance-none",ref:h,id:"hidden-code-input",value:"",onFocus:()=>{r&&r(o),m(!0)},onBlur:()=>m(!1),onChange:e=>{if(n)return;let{value:t}=e.target,a=t.replace(/[^0-9]/gim,"");d.length<=l&&c((d+a).slice(0,l))},onKeyUp:e=>{n||"Backspace"!==e.key||c(d.slice(0,d.length-1))}})]})})};let A=e=>{let{quote:t}=e;return(0,i.jsxs)("div",{className:"text-center w-full max-w-lg",children:[(0,i.jsxs)(L.xv,{type:"p1",className:"text-primary mb-2  xs",children:["“",t.text,"”"]}),(0,i.jsxs)(L.xv,{type:"p2-medium",className:"text-secondary",children:[t.author,(0,i.jsxs)("span",{className:"ml-1 text-secondary",children:[t.role,", ",t.company]})]})]})},D={Technology:[{text:"Front helps us maintain that delicate balance between speed and quality.",author:"Mary Ochs",role:"Head of Customer Support",company:"DealDash"},{text:"Using Front, we're able to speedily communicate … when cases need to be escalated. This has allowed us to solve issues much faster.",author:"Guillaume Poirier",role:"VP of Customer Care",company:"Lydia"},{text:"The organizations we support often laud our attention to customer support… a lot of that can be attributed to how Front keeps us organized.",author:"Justin Reisch",role:"Director of Marketing",company:"Fundraise Up"}
1,{text:"Front has been a game-changer for the way we work internally.",author:"Justin Reisch",role:"Director of Marketing",company:"Fundraise Up"},{text:"Front provides the automation we need, allowing us to focus on our core business",author:"Lucian Puca",role:"Automation and Workflow Lead",company:"Mixam"},{text:"We're sending far fewer emails now that we have message comments in Front",author:"Mairtini Ni Dhomhnaill",role:"Founder",company:"Countsy"},{text:"My team literally could not do what they do without Front. Front gives our team the stability and security to work efficiently and deliver a great experience",author:"Trish Bingham",role:"VP of Client Services",company:"Boostability"},{text:"While most industry standards aim for a 24-hour email first response time, with Front, we've managed to respond twice as fast.",author:"Mary Ochs",role:"Head of Customer Support",company:"DealDash"}],"Professional Services":[{text:"[Front] is going to significantly increase communication quality while, at the same time, reduce the daily email burden on our team. You can't do better than that.",author:"Joe Daggar",role:"VP of Technology and Enablement",company:"PuzzleHR"},{text:"We saw nice development in NPS since we started Front, from 60 to 80.",author:"Cl\xe9ment Ouizille",role:"Co-founder",company:"Convelio"},{text:"[We] optimized [our] support operations … after consolidating channels, ensuring seamless integration. We saw [our] CSAT score increase by 23% in less than a year.",author:"Liz Sanchez",role:"Senior Customer Support Manager",company:"Spruce"}],Retail:[{text:"Front helps us maintain that delicate balance between speed and quality.",author:"Mary Ochs",role:"Head of Customer Support",company:"DealDash"},{text:"We pride ourselves on having the best customer support team in the world, so we needed a solution that could match that level of excellence. The answer was Front.",author:"Mary Ochs",role:"Head of Customer Support",company:"DealDash"},{text:"The different collaboration features in Front allow us to quickly bring in expertise from different team members without having to switch platforms.",author:"Mary Ochs",role:"Head of Customer Support",company:"DealDash"},{text:"Front helps us maintain a delicate balance between speed and quality in our customer interactions. It empowers our team to work efficiently, collaborate seamlessly, and consistently deliver the exceptional service for which DealDash is known.",author:"Mary Ochs",role:"Head of Customer Support",company:"DealDash"}],Logistics:[{text:"We are able to handle a similar volume of emails as we had in 2019 with 25% less staff. It has really made us more efficient.",author:"Lukasz Biegus",role:"CTO",company:"TBR Global Chauffering"},{text:"[With Front] we are doing 400-600 automatic quotes per business day. This leads to more won business, and we are closing more deals.",author:"Mike Nasceif Jr.",role:"Operational Process and Training Manager",company:"Load One"},{text:"Front is a no-brainer for teams that have a high volume of email, share an inbox, or collaborate with each other. I love the platform. I wish I had it years ago.",author:"Marissa Taylor",role:"Manager of Business Process Improvement",company:"Estes Forwarding"},{text:"With Front, we can predict business trends, better prepare for seasonality, and make appropriate plans for team members vacations.",author:"Douglas Kurtz",role:"Director of Aviation Services",company:"MNX Global Logistics"}]},B=e=>{let t=D[e]||D.Technology,l=Math.floor(Math.random()*t.length);return t[l]},H=e=>{let{className:t}=e;return(0,i.jsxs)("svg",{className:t,width:"250",height:"103",viewBox:"0 0 250 103",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M27.6963 74.1064H42.9861V43.862H73.471V28.6348H27.6963V74.1064Z",fill:"#A857F1"}),(0,i.jsx)("path",{d:"M60.2843 75.0158C67.9019 75.0158 74.0773 68.8404 74.0773 61.2227C74.0773 53.605 67.9019 47.4297 60.2843 47.4297C52.6666 47.4297 46.4912 53.605 46.4912 61.2227C46.4912 68.8404 52.6666 75.0158 60.2843 75.0158Z",fill:"#A857F1"}),(0,i.jsx)("path",{d:"M213.288 73.4722C210.471 73.4722 208.305 72.7294 206.788 71.2438C205.303 69.7582 204.56 67.5917 204.56 64.7443V51.281H198.85V43.4352H204.56V33.2217H214.077V43.4352H222.201V51.281H214.077V62.748C214.077 63.7075 214.325 64.4348 214.82 64.93C215.315 65.4252 216.042 65.6728 217.002 65.6728H222.201V73.4722H213.288Z",fill:"#001B38"}),(0,i.jsx)("path",{d:"M167.324 43.4351H175.959V45.9421C176.95 44.8588 178.157 44.0232 179.58 43.4351C181.035 42.8161 182.645 42.4912 184.409 42.4602C186.142 42.4293 187.767 42.7233 189.283 43.3423C190.8 43.9613 192.115 44.8279 193.229 45.9421C194.344 47.0873 195.195 48.4955 195.783 50.1668C196.402 51.8071 196.711 53.8189 196.711 56.2021V73.4722H187.148V57.177C187.148 55.939 187.024 54.9795 186.776 54.2986C186.56 53.5868 186.204 52.9832 
1185.709 52.488C184.811 51.6214 183.588 51.1881 182.041 51.1881C180.493 51.1881 179.271 51.6214 178.373 52.488C177.847 52.9832 177.46 53.5868 177.213 54.2986C176.996 54.9795 176.888 55.939 176.888 57.177V73.4722H167.324V43.4351Z",fill:"#001B38"}),(0,i.jsx)("path",{d:"M147.21 74.2612C144.084 74.2612 141.236 73.5648 138.667 72.172C136.13 70.8102 134.118 68.9068 132.632 66.4617C131.178 64.0476 130.45 61.3705 130.45 58.4302C130.45 55.4899 131.178 52.7973 132.632 50.3522C134.118 47.9072 136.13 45.9883 138.667 44.5955C141.236 43.1718 144.084 42.46 147.21 42.46C150.336 42.46 153.168 43.1718 155.705 44.5955C158.274 45.9883 160.286 47.9072 161.741 50.3522C163.195 52.7973 163.923 55.4899 163.923 58.4302C163.923 61.3705 163.195 64.0476 161.741 66.4617C160.286 68.9068 158.274 70.8102 155.705 72.172C153.168 73.5648 150.336 74.2612 147.21 74.2612ZM147.21 65.8118C148.51 65.8118 149.67 65.4868 150.692 64.8369C151.744 64.1869 152.564 63.3048 153.152 62.1906C153.74 61.0764 154.034 59.823 154.034 58.4302C154.034 57.0374 153.74 55.784 153.152 54.6698C152.564 53.5556 151.744 52.689 150.692 52.07C149.67 51.42 148.51 51.095 147.21 51.095C145.879 51.095 144.687 51.42 143.635 52.07C142.614 52.689 141.809 53.5556 141.221 54.6698C140.633 55.784 140.339 57.0374 140.339 58.4302C140.339 59.823 140.633 61.0764 141.221 62.1906C141.809 63.3048 142.629 64.1869 143.681 64.8369C144.734 65.4868 145.91 65.8118 147.21 65.8118Z",fill:"#001B38"}),(0,i.jsx)("path",{d:"M109.27 43.4349H117.858V47.0096C118.88 45.7407 120.102 44.7657 121.526 44.0848C122.98 43.4039 124.543 43.0635 126.215 43.0635C127.298 43.0635 128.35 43.1563 129.372 43.342V52.3485C128.629 52.0699 127.607 51.9307 126.308 51.9307C124.017 51.9307 122.207 52.627 120.876 54.0198C120.164 54.7317 119.622 55.5983 119.251 56.6196C118.91 57.641 118.74 58.9563 118.74 60.5657V73.4719H109.27V43.4349Z",fill:"#001B38"}),(0,i.jsx)("path",{d:"M81.8857 28.1611H106.212V37.214H91.6814V46.0812H105.934V54.8091H91.6814V73.472H81.8857V28.1611Z",fill:"#001B38"})]})};var V=e=>{let{firstName:t,industry:l}=e,a=(0,k.useMemo)(()=>B(l),[l]);return(0,i.jsxs)("div",{className:"fixed inset-0 w-full h-full z-50 bg-white flex flex-col items-center pointer-events-none",children:[(0,i.jsx)(H,{className:"mt-[38vh] mb-[min(20vh,270px)]"}),(0,i.jsx)("div",{className:"w-25 h-[10px] rounded-6  bg-violet-200 overflow-hidden will-change-transform mt-0 mx-auto mb-5",children:(0,i.jsx)("div",{className:"h-full w-[400px] mx-[-100px] animate-signup-loader-progress-bar bg-[radial-gradient(circle,#A857F1,#E2DCF6)]"})}),a?(0,i.jsx)(A,{quote:a}):(0,i.jsxs)(L.xv,{type:"p1",className:"text-primary",children:["Welcome to Front, ",t]})]})},R=e=>{let{formik:t,showLoader:l,error:a}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("form",{onSubmit:t.handleSubmit,noValidate:!0,className:"flex flex-col pt-xs space-y-xl",children:[(0,i.jsx)("div",{className:"flex",children:(0,i.jsx)(z,{code:t.values.code,confirmationCodeLength:6,onChange:e=>t.setFieldValue("code",e),disabled:!1,invalid:t.touched.code&&!!t.errors.code,onFocus:()=>{var e;(null===(e=t.errors.code)||void 0===e?void 0:e.includes("Incorrect"))&&t.setFieldValue("code","")}})}),t.touched.code&&t.errors.code?(0,i.jsx)("p",{children:t.errors.code}):null,a?(0,i.jsx)(L.xv,{as:"span",type:"caption1",className:"text-red-500",children:a}):null,(0,i.jsx)(I.ButtonElement,{variant:"primary",buttonType:"filled",disabled:t.isValidating||t.isSubmitting,text:t.isSubmitting?"Creating your account...":"Create my account"})]}),l?(0,i.jsx)(V,{firstName:t.values[s.lM.FirstName],industry:t.values[s.lM.Industry]}):null]})},q=l(27648);let W=e=>{let{onDemoClick:t}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(O.t,{type:"h3p2",align:"left",title:"We offer a customized trial experience for teams of your size.",description:"A Front specialist will be in touch shortly to help you get started. In the meantime, take Front for a spin with an interactive product tour."}),(0,i.jsx)(L.xv,{type:"p2",className:"text-secondary"}),(0,i.jsx)(q.default,{href:f.K_,target:"_blank",children:(0,i.jsx)(I.ButtonElement,{variant:"primary",buttonType:"filled",text:"Take a tour",onClick:t})})]})};var U=l(32063),Y=l(17089);let J=e=>{let{password:t}=e,l=t.length>7,a=t.match(/[A-Z]/),r=t.match(/[0-9]/);return t&&(0,i.jsxs)("div",{className:"relative md:absolute z-1 top-[10px] left-[calc(100%+8px)] w-2xs bg-gray-900 rounded-10 p-s text-white gap-s before:content-[''] before:absolute before:top-[calc(50%-8px)] before:left-[-16px] before:w-0 before:h-0 before:border-[8px] before:border-transparent before:border-r-blue-900 before:z-1]",children:[(0,i.jsx)(L.xv,{type:"caption2",className:"text-white mb-3xs",children:"Password requirements:"}),(0,i.jsxs)("ul",{className:"space-y-3xs",children:[(0,i.jsxs)("li",{className:"flex items-center gap-2xs",children:[l?(0,i.jsx)(Y.Z,{name:"check",size:12,type:"filled",className:"text-green-500"}):(0,i.jsx)(Y.Z,{name:"x-close",size:12,type:"filled",className:"text-red-500"}),(0,i.jsx)(L.xv,{type:"caption2",className:"text-white",children:" 8 characters"})]}),(0,i.jsxs)("li",{className:"flex items-center gap-2xs",children:[a?(0,i.jsx)(Y.Z,{name:"check",size:12,type:"filled",className:"text-green-500"}):(0,i.jsx)(Y.Z,{name:"x-close",size:12,type:"filled",className:"text-red-500"}),(0,i.jsx)(L.xv,{type:"caption2",className:"text-white",children:" 1 uppercase letter"})]}),(0,i.jsxs)("li",{className:"flex items-center gap-2xs",children:[r?(0,i.jsx)(Y.Z,{name:"check",size:12,type:"filled",className:"text-green-500"}):(0,i.jsx)(Y.Z,{name:"x-close",size:12,type:"filled",className:"text-red-500"}),(0,i.jsx)(L.xv,{type:"caption2",className:"text-white",children:" 1 number"})]})]})]})};var X=e=>{let{formik:t}=e,[l,a]=(0,k.useState)(!1);return(0,i.jsxs)("form",{className:"flex flex-col gap-y-s",onSubmit:t.handleSubmit,noValidate:!0,children:[(0,i.jsx)(U.Z,{type:"email",name:s.lM.Email,label:s.r8.Email,placeholder:"[email protected]",value:t.values[s.lM.Email],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:t.errors[s.lM.Email]}),(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)(U.Z,{type:"password",name:"password",label:"Cho
1ose a password",placeholder:"Password",value:t.values.password,onChange:t.handleChange,onBlur:t.handleBlur,onFocus:()=>a(!0),errorMessage:t.errors.password,helpMessage:"8 characters minimum, and at least 1 uppercase letter and 1 number"}),l&&t.values.password&&t.errors.password?(0,i.jsx)(J,{password:t.values.password}):null]}),(0,i.jsx)(I.ButtonElement,{variant:"primary",buttonType:"filled",text:t.isSubmitting?"Submitting...":"Next",disabled:t.isValidating||t.isSubmitting})]})},G=l(19812),K=l(8065),Q=l(54776),$=l(21256),ee=l(22142),et=l(27116);let el=["GoDaddy","Echo","Clickup","Branch","Baggu","UberFreight"];var ea=()=>(0,i.jsx)(Q.Z,{theme:"theme-dark-violet",className:"h-full p-2xs",children:(0,i.jsxs)("div",{className:"surface-l0 flex flex-col justify-center gap-y-xl py-margin-section-md px-2xl h-full rounded-10 overflow-hidden",children:[(0,i.jsxs)(L.xv,{type:"h3",className:"text-primary",children:[$.fC," businesses trust Front to:"]}),(0,i.jsx)(ee.S,{items:[{id:"1",text:"Boost average CSAT to 87%"},{id:"2",text:"Improve productivity up to 46%"},{id:"3",text:"Reduce average response time by 25%"}]}),(0,i.jsx)("div",{className:"flex flex-wrap justify-center gap-s",children:el.map(e=>(0,i.jsx)("div",{className:"m-auto",children:(0,i.jsx)(et.Z,{type:e,className:"w-full"})},e))})]})});let er=e=>{let{name:t,preventClose:l,onClose:a,backgroundImageSrc:r,children:n}=e;return(0,i.jsx)(K.Z,{className:"max-w-3xl p-0 flex overflow-visible",buttonTheme:"theme-gray",name:t,preventClose:l,sendEvents:!l,backgroundImageSrc:r,onClose:()=>{a()},children:(0,i.jsxs)("div",{className:"grid md:grid-cols-2",children:[(0,i.jsx)(ea,{}),(0,i.jsx)(Q.Z,{theme:"theme-white",className:"flex flex-col justify-center items-center",children:(0,i.jsx)(G.Z,{children:(0,i.jsx)("div",{className:"my-auto flex flex-col gap-y-md p-lg",children:n})})})]})})};var ei=l(72063),en=l(1666),eo=l(36011);let es=()=>(0,i.jsx)("a",{href:"legal/supplemental-terms#ai_features_terms",target:"_blank",rel:"noreferrer",className:"text-primary underline",children:"AI Supplemental Terms"}),ed=e=>{let{text:t}=e;return(0,i.jsx)("a",{href:f.uS,target:"_blank",rel:"noreferrer",className:"text-primary underline",children:t})},ec=()=>(0,i.jsx)("a",{href:f.Yk,target:"_blank",className:"text-primary underline",children:"Privacy Notice"}),eu=()=>(0,i.jsxs)(L.xv,{as:"p",type:"caption2",className:"text-secondary",children:["By signing up, I acknowledge that I have read and agreed to the"," ",(0,i.jsx)(ed,{text:"General Terms"}),", ",(0,i.jsx)(es,{}),", and ",(0,i.jsx)(ec,{}),"."]}),em=()=>(0,i.jsxs)(L.xv,{as:"p",type:"caption2",className:"text-secondary",children:["By clicking “Continue”, I acknowledge I have read and agreed to FrontApp, Inc.’s"," ",(0,i.jsx)(ed,{text:"Terms"})," and ",(0,i.jsx)(ec,{}),"."]}),eh=e=>{let{type:t}=e;return"trial"===t?(0,i.jsx)(eu,{}):(0,i.jsx)(em,{})};var ep=e=>{let{formik:t,gdprOptIn:l,emailState:a}=e,r=(0,b.IT)(t),n=r(s.lM.Email),o=r(s.lM.FirstName),d=r(s.lM.LastName),c=r(s.lM.CompanyName),u=r(s.lM.JobTitle),m=r(s.lM.Industry),h=r(s.lM.Phone),p=r(s.lM.CompanySize),f=t.isValidating||t.isSubmitting||(null==a?void 0:a.checking)||!!n||!!o||!!d||!!c||!!u||!!m||!!h||!!p;return(0,i.jsxs)("form",{id:"trial-form-step-one",className:"flex flex-col gap-y-s",onSubmit:t.handleSubmit,noValidate:!0,children:[(0,i.jsx)(U.Z,{type:"email",name:s.lM.Email,label:s.r8.Email,placeholder:"[email protected]",value:t.values[s.lM.Email],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:n,warningMessage:(null==a?void 0:a.isNotWorkEmail)?"It's best to sign up with your work email":void 0,loading:null==a?void 0:a.checking}),(0,i.jsxs)("fieldset",{className:"grid grid-cols-2 gap-s",children:[(0,i.jsx)(U.Z,{type:"text",name:s.lM.FirstName,label:s.r8.FirstName,placeholder:"Jamie",value:t.values[s.lM.FirstName],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:o}),(0,i.jsx)(U.Z,{type:"text",name:s.lM.LastName,label:s.r8.LastName,placeholder:"Smith",value:t.values[s.lM.LastName],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:d})]}),(0,i.jsxs)("fieldset",{className:"grid grid-cols-2 gap-s",children:[(0,i.jsx)(U.Z,{type:"text",name:s.lM.CompanyName,label:s.r8.CompanyName,placeholder:"Your Company",value:t.values[s.lM.CompanyName],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:c}),(0,i.jsx)(U.Z,{type:"text",name:s.lM.JobTitle,label:s.r8.JobTitle,placeholder:"e.g., Director of Operations",value:t.values[s.lM.JobTitle],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:u})]}),(0,i.jsx)(eo.Z,{name:s.lM.Industry,label:s.r8.Industry,options:Object.entries(s.ZR).map(e=>{let[t,l]=e;return{label:t,value:l}}),placeholder:"Select one",value:t.values[s.lM.Industry],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:m}),(0,i.jsxs)("fieldset",{className:"grid grid-cols-2 gap-s",children:[(0,i.jsx)(en.Z,{name:s.lM.Phone,label:s.r8.Phone,value:t.values[s.lM.Phone],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:h}),(0,i.jsx)(eo.Z,{name:s.lM.CompanySize,label:s.r8.CompanySize,options:Object.entries(s.QG).map(e=>{let[t,l]=e;return{label:t,value:l}}),placeholder:"Select one",value:t.values[s.lM.CompanySize],onChange:t.handleChange,onBlur:t.handleBlur,errorMessage:p})]}),l&&(0,i.jsx)(ei.Z,{checked:l.checked,onChange:e=>l.onToggle(e.target.checked),label:(0,i.jsxs)(L.xv,{type:"caption2",children:["I ",(0,i.jsx)("span",{className:"font-500",children:"do"}
1)," want to receive marketing communications from Front."]}),wrapperClassName:"mt-3xs"}),(0,i.jsx)(I.ButtonElement,{variant:"primary",buttonType:"filled",className:"delay-100",text:t.isSubmitting?"Submitting...":(null==a?void 0:a.checking)?"Validating email...":"Submit",disabled:f}),(0,i.jsx)(eh,{type:"trial"})]})},ef=e=>{let{preventClose:t=!1,onClose:l=()=>{},step1Heading:a="Try Front for free",step1Subheading:r="Help us tailor the trial experience to your needs.",step2Heading:n="14-days free, no credit card required",step2Subheading:o="You’re one step closer to delivering exceptional service at scale.",step3Heading:s="You’re almost there!",step3Subheading:d="We sent a six-digit code to your email. It will expire in 30 minutes. Keep this window open while checking your code."}=e,{currentStep:c,showLoader:u,emailState:m,error:h,personalInfoFormik:p,emailPasswordFormik:f,confirmationCodeFormik:x,gdprOptIn:v}=T(),g=(0,F.jU)()?new URLSearchParams(window.location.search):new URLSearchParams,y="true"===g.get("override"),C=g.get("affiliate");return(0,i.jsxs)(er,{name:"Free Trial Modal",preventClose:t,backgroundImageSrc:"https://front.com/assets/pages/global-ai/Try-for-Free-Modal/Inbox-Background.png",onClose:()=>{l()},children:[1===c&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(O.t,{type:"h3p2",align:"left",title:y?"Create your free account":a,description:y?"Sign up for a 14-day free trial, no credit card required.":r}),(0,i.jsx)(ep,{formik:p,gdprOptIn:v,emailState:m})]}),2===c&&(0,i.jsx)(W,{onDemoClick:()=>{N.Z.track("click",{element_type:"link",element_label:"Product Tour",location:"Form Success - Managed Trial Confirmation Modal"}),l()}}),3===c&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(O.t,{type:"h3p2",align:"left",title:C?"Develop on Front":n,description:o}),(0,i.jsx)(X,{formik:f})]}),4===c&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(O.t,{type:"h3p2",align:"left",title:s,description:d}),(0,i.jsx)(R,{formik:x,showLoader:u,error:h})]})]})},ex=l(20186),ev=()=>{let{isTrialModalOpen:e,setTrialModalOpen:t}=(0,ex.ZP)();return(0,k.useEffect)(()=>{if(e){let e=_.Z.activatePage(d.I3.ANY_GET_STARTED_MODAL),t=_.Z.activatePage(d.I3.TRIAL_MODAL);return()=>{e(),t()}}},[e]),e?(0,i.jsx)(ef,{onClose:()=>{t(!1)}}):null}},83264:function(e,t,l){"use strict";var a=l(57437),r=l(34078),i=l(83038),n=l(99376),o=l(2265);t.default=()=>{let e=(0,n.usePathname)(),[t,l]=(0,o.useState)(!0);return(0,o.useEffect)(()=>{t&&l(!1),t||r.Z.pageview(t,{new_route_url:e}),(0,i.kG)()},[e,t]),(0,a.jsx)("span",{})}},1666:function(e,t,l){"use strict";var a=l(57437),r=l(36760),i=l.n(r),n=l(2265),o=l(36576),s=l.n(o);l(54074);var d=l(63024);let c=["us","fr","gb","ca","in","au","de","nl","br"];t.Z=e=>{let{name:t,label:l,value:r,errorMessage:o,wrapperClassName:u,onBlur:m,onChange:h,onNumberChange:p,onCountryChange:f}=e,x=(0,n.useId)();return(0,a.jsxs)("label",{htmlFor:x,className:i()("flex flex-col gap-y-2xs",u),children:[l&&(0,a.jsx)(d.xv,{as:"span",type:"p2",className:"text-primary",children:l}),(0,a.jsx)("div",{className:i()("surface-l1 rounded-[6px] text-primary","[&_.react-tel-input]:!w-full","[&_.react-tel-input_.form-control]:!w-full","[&_.react-tel-input_.form-control]:!h-auto","[&_.react-tel-input_.form-control]:!bg-transparent","[&_.react-tel-input_.form-control]:!border-0","[&_.react-tel-input_.form-control]:!rounded-[6px]","[&_.react-tel-input_.form-control]:!py-xs","[&_.react-tel-input_.form-control]:!pl-[48px]","[&_.react-tel-input_.form-control]:!pr-s","[&_.react-tel-input_.form-control]:!font-sans","[&_.react-tel-input_.form-control]:!text-current","[&_.react-tel-input_.form-control:focus]:!shadow-none","[&_.react-tel-input_.flag-dropdown]:!bg-transparent","[&_.react-tel-input_.flag-dropdown]:!border-0","[&_.react-tel-input_.flag-dropdown]:!rounded-l-[6px]","[&_.react-tel-input_.selected-flag]:!bg-transparent","[&_.react-tel-input_.selected-flag]:!rounded-l-[6px]","[&_.react-tel-input_.selected-flag:hover]:!bg-black/10","[&_.react-tel-input_.selected-flag.open]:!bg-black/10","[&_.react-tel-input_.country-list]:!bg-white","[&_.react-tel-input_.country-list]:!text-black","[&_.react-tel-input_.country-list]:!rounded-[6px]"),children:(0,a.jsx)(s(),{inputProps:{id:x,name:t},country:"us",value:null!=r?r:"",onChange:(e,t,l)=>{null==p||p(e),null==h||h(l),t&&"countryCode"in t&&(null==f||f(t.name,t.countryCode))},onBlur:m,isValid:!0,preferredCountries:c,searchPlaceholder:"Search for your country",preserveOrder:["preferredCountries"],specialLabel:"",enableSearch:!0,disableSearchIcon:!0})}),o&&(0,a.jsx)(d.xv,{as:"span",type:"caption2",className:"text-red-500",children:o})]})}},56822:function(e,t,l){"use strict";l.d(t,{t:function(){return h}});var a=l(57437),r=l(42798),i=l.n(r);let n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,l=e.trim().split(/\s+/).filter(
1Boolean).slice(0,t);return 0===l.length?"":i()(l.join(" "))};var o=l(36760),s=l.n(o),d=l(2265),c=l(63024);let u=e=>{let{description:t,descriptionType:l,descriptionClassName:r}=e;return t?"string"==typeof t?t.length>0?(0,a.jsx)(c.xv,{type:l,className:r,children:t}):null:(0,a.jsx)(c.xv,{as:"div",type:l,className:r,children:t}):null},m={d1p1:{title:"display1",description:"p1"},d2p1:{title:"display2",description:"p1"},d3p1:{title:"display3",description:"p1"},h1p1:{title:"h1",description:"p1"},h1p2:{title:"h1",description:"p2"},h2p2:{title:"h2",description:"p2"},h3p2:{title:"h3",description:"p2"},p2:{title:"p2-medium",description:"p2"},p1:{title:"p1-medium",description:"p1"}},h=e=>{let{type:t="d1p1",align:l="left",eyebrow:r,title:i,headingLevel:o="h2",isHeadingBalanced:h=!0,description:p,className:f}=e,{title:x,description:v}=m[t],g=(0,d.useMemo)(()=>"center"===l?"text-center":"text-left",[l]),y=(0,d.useMemo)(()=>n(i),[i]),C=(0,d.useMemo)(()=>s()("text-secondary text-pretty",{"max-w-dimensions-840 mx-auto":"center"===l,"max-w-dimensions-732":"left"===l,"mt-xs":"h3p2"!==t,"mt-2xs":"h3p2"===t,"mt-4xs":"p2"===t}),[p]);return(0,a.jsxs)("div",{className:s()(f,g),children:[r&&(0,a.jsx)(c.xv,{type:"micro1",className:"text-secondary mb-xs",children:r}),(0,a.jsx)(c.xv,{id:y,as:o,type:x,className:s()("text-primary lg:whitespace-pre-wrap",h?"text-balance":""),children:i}),(0,a.jsx)(u,{description:p,descriptionType:v,descriptionClassName:C})]})}},54776:function(e,t,l){"use strict";var a=l(57437);t.Z=e=>{let{theme:t,className:l,children:r}=e;return(0,a.jsx)("div",{"data-theme":t,className:l,children:r})}},76582:function(e,t,l){"use strict";l.d(t,{LinkedInCAPIListener:function(){return h}});var a,r,i=l(48322),n=l(7948),o=l(88165);(a=r||(r={})).Email="SHA256_EMAIL",a.ClickID="LINKEDIN_FIRST_PARTY_ADS_TRACKING_UUID";var s=l(8541),d=l.n(s),c=l(2265);let u=(0,i.h)("linkedin capi"),m="li_fat_id",h=()=>{let e=(0,c.useCallback)(e=>{try{if(e.userInfo.email&&(0,n.K)(e.userInfo.email))return;let t={conversion:"urn:lla:llaPartnerConversion:".concat(e.conversionId),eventId:e.eventId,conversionHappenedAt:Date.now(),user:function(e){var t,l;let a={userIds:[]};(null==e?void 0:e.email)&&a.userIds.push({idType:r.Email,idValue:e.email}),a.userInfo={firstName:null!==(t=e.firstName)&&void 0!==t?t:"",lastName:null!==(l=e.lastName)&&void 0!==l?l:""};let i=function(){let e=new URLSearchParams(window.location.search).get(m)||d().get(m);if(e)return e}();return i&&a.userIds.push({idType:r.ClickID,idValue:i}),a}(e.userInfo)};u.log("Triggering conversion",t),fetch("/api/licapi",{method:"POST",body:JSON.stringify(t)})}catch(e){o.Z.captureException(e)}},[]);return(0,c.useEffect)(()=>(window.licapi=e,()=>{try{delete window.licapi}catch(e){}}),[e]),null}},83038:function(e,t,l){"use strict";l.d(t,{NB:function(){return n},kG:function(){return c},vA:function(){return s},vb:function(){return o},yJ:function(){return d}});var a=l(96871),r=l(16758);let i=()=>window.qualified,n=e=>{i()&&window.qualified("handleEvents",e)},o=async e=>{let t="",l=await fetch(a.fv);if(l.ok){let{countryName:e}=await l.json();e&&(t=e)}return e.free_email_domain=String((0,r.AN)(e.email)),e.ip_country=t,e},s=e=>{i()&&(window.qualified("saveFormData",e),window.qualified("emitFormFill","custom"))},d=e=>{i()&&window.qualified("showFormExperience",e)},c=()=>{i()&&window.qualified("page")}},32839:function(e,t,l){"use strict";l.d(t,{H:function(){return d},OptimizelyScript:function(){return c}});var a=l(57437),r=l(41372),i=l(75834),n=l(48322),o=l(51653);let s=(0,n.h)("optimizely"),d=()=>{(0,o.jU)()&&(window.optimizely.push({type:"addListener",filter:{type:"lifecycle",name:"initialized"},handler:()=>{s.info("Optimizely initialized")}}),window.optimizely.push({type:"addListener",filter:{type:"lifecycle",name:"pageActivated"},handler:e=>{var t;s.success("Page '".concat(null!==(t=e.data.page.name)&&void 0!==t?t:e.data.page.apiName,"' activated"))}}),window.optimizely.push({type:"addListener",filter:{type:"lifecycle",name:"pageDeactivated"},handler:e=>{var t;s.info("Page '".concat(null!==(t=e.data.page.name)&&void 0!==t?t:e.data.page.a
1piName,"' deactivated"))}}),window.optimizely.push({type:"addListener",filter:{type:"analytics",name:"trackEvent"},handler:e=>{var t;s.success("Event '".concat(null!==(t=e.data.name)&&void 0!==t?t:e.data.apiName,"' was tracked"))}}))},c=(0,a.jsx)("script",{type:"text/plain",className:i.bJ,"data-ot-category":"C0002",dangerouslySetInnerHTML:{__html:r.Q1}})},21515:function(){}},function(e){e.O(0,[7485,1070,7648,6645,3466,8958,1066,3209,8821,8187,1192,8780,7326,8347,5855,1389,2971,2117,1744],function(){return e(e.s=2914)}),_N_E=e.O()}]);
2//# sourceMappingURL=layout-053e5a3c1a564b59.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.