1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="6ca3a800-1e6e-a8b6-f7d0-666e1649ede7")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,287547,e=>{"use strict";var t=e.i(744664),l=e.i(987588),a=e.i(264458),s=e.i(229387),r=e.i(254207),i=e.i(797926),o=e.i(552823);let n=["Privacy","Legal","Terms & Conditions","Cookies"];e.s(["SimpleFooter",0,({schema:e,size:d="base",darkMode:c=!1,showCopyright:u=!0})=>{let{isoCountryCode:m}=(0,r.useFactorialContext)(),f=(0,l.useMemo)(()=>{let t=[];return(e?.footerItems??[]).forEach(e=>(e.links??[]).forEach(e=>{n.includes(e.name)&&e.url&&t.push({target:e.target,href:e.url,label:e.title})})),t},[e]),x=e=>{(0,s.emitCustomGAEvent)({action:"clicked_footer_link",category:"webpage_footer",label:e.target.innerText,isoCountryCode:m})};return(0,t.jsx)("footer",{className:(0,a.default)(c&&"bg-neutral-120"),children:(0,t.jsx)("div",{className:"max-w-7xl mx-auto py-2xl px-lg overflow-hidden mb-2xl md:mb-auto",children:(0,t.jsxs)("nav",{className:"-mx-md -my-xs flex flex-wrap justify-center items-center gap-sm","aria-label":"Footer",children:[u&&(0,t.jsx)("div",{className:"flex flex-row justify-center",children:(0,t.jsxs)(o.default,{color:c?"white100":"neutral80",size:d,children:["© ",new Date().getFullYear()," Factorial"]})}),f?.map(({href:e,label:l,target:a})=>(0,t.jsx)("div",{className:"flex flex-row justify-center",children:(0,t.jsx)(i.default,{href:e,target:a,onClick:x,children:(0,t.jsx)(o.default,{color:c?"white100":"neutral80",size:d,className:"hover:text-neutral-100",children:l})})},l))]})})})}])},677297,e=>{"use strict";var t=e.i(744664),l=e.i(264458),a=e.i(649387),s=e.i(704007),r=e.i(987588),i=e.i(209769),o=e.i(2098);let n=({onClick:e})=>(0,t.jsx)("div",{onClick:e,className:"fixed top-0 left-0 h-full w-full z-10","aria-hidden":!0}),d=({selector:e,options:l,openIcon:a,closedIcon:s,optionsId:i})=>{let[o,d]=(0,r.useState)(!1),c=(0,r.useRef)(null),u=(0,r.useRef)(null),m=(0,r.useCallback)(()=>{d(!1),c.current?.focus()},[]),f=(0,r.useCallback)(e=>{"Escape"===e.key&&(e.preventDefault(),m())},[m]);return(0,r.useEffect)(()=>{if(o){let e=u.current?.querySelector('[role="menuitem"]');e?.focus()}},[o]),(0,t.jsxs)(t.Fragment,{children:[o&&(0,t.jsx)(n,{onClick:m}),(0,t.jsxs)("div",{className:"relative",onKeyDown:f,children:[(0,t.jsxs)("button",{ref:c,type:"button",onClick:()=>d(e=>!e),"aria-expanded":o,"aria-haspopup":"menu","aria-controls":i,className:"flex items-center cursor-pointer bg-transparent border-none p-0 font-inherit text-inherit",children:[e,o?a:s]}),o&&(0,t.jsx)("div",{ref:u,children:l})]})]})};var c=e.i(539795);let u=({children:e,id:a})=>{let s=(0,c.useIntl)();return(0,t.jsx)("div",{id:a,"aria-label":s.formatMessage({id:"Kwng6C",defaultMessage:[{type:0,value:"Select your country and language"}]}),className:"z-20 absolute right-auto top-auto bottom-xl md:left-auto md:right-0",children:(0,t.jsx)("div",{className:(0,l.default)("p-sm shadow-sm border border-white h-full w-full","bg-white top-0 border rounded-lg h-auto w-auto"),children:e})})};var m=e.i(370891),f=e.i(552823);let x=({pickerImagePath:e,label:l})=>(0,t.jsxs)("div",{className:"flex items-center cursor-pointer",children:[e&&(0,t.jsx)(m.Image,{"aria-hidden":"true",src:e,width:24,height:24,alt:l}),(0,t.jsx)(f.default,{className:"ml-xs",size:"base",children:l})]});var h=e.i(668966);let p=(0,t.jsx)(h.default,{ariaHidden:!0,className:"ml-2xs",mode:"fill",size:"md",color:"neutral80",icon:o.default}),g=(0,t.jsx)(h.default,{ariaHidden:!0,className:"ml-2xs",mode:"fill",size:"md",color:"neutral80",icon:i.default}),j=({label:e,pickerImagePath:l,children:a})=>{let s=(0,r.useId)(),i=(0,t.jsx)(x,{label:e,pickerImagePath:l}),o=(0,t.jsx)(u,{id:s,children:a});return(0,t.jsx)(d,{options:o,selector:i,openIcon:p,closedIcon:g,optionsId:s})};var w=e.i(761759);let b=({title:e,dropdownOptions:a})=>{let i=(0,r.useId)();return a.length?(0,t.jsxs)("div",{className:"flex flex-col overflow-hidden",children:[(0,t.jsx)(f.default,{id:i,align:"center",children:e}),(0,t.jsx)("hr",{className:(0,l.default)("h-1 mt-sm",[s.default.backgrounds.neutral80])}),(0,t.jsx)(w.default,{options:a,ariaLabelledby:i})]}):null};var v=e.i(254207),y=e.i(393783);let N=(e,t)=>t?t.map(t=>{let l="",a=t.originalLocale?.toLocaleLowerCase()??"";return e[a]&&(l=e[a]),{text:(0,y.getMarketLabel)(t),href:(0,y.getMarketPageUrl)(t,l),imagePath:(0,y.getMarketFlagPath)(t.isoCountryCode)}}):[],k=({layoutDictionary:e,slugsByLocale:l})=>{let{currentTld:a,marketsByRegion:s}=(0,v.useFactorialContext)(),{isoCountryCode:r}=a,i=N(l,s.europe),o=N(l,s.america),n=N(l,s.africa),d=N(l,s.asia),c=!!(i.length||o.length||n.length||d.length),u=(0,y.getMarketLabel)(a),m=(0,y.getMarketFlagPath)(r);return c?(0,t.jsx)(j,{label:u,pickerImagePath:m,children:(0,t.jsxs)("div",{className:"flex gap-y-lg md:gap-x-md md:min-w-max",children:[(0,t.jsx)(b,{title:e.europe,dropdownOptions:i}),(0,t.jsx)(b,{title:e.america,dropdownOptions:o}),(0,t.jsx)(b,{title:e.africa,dropdownOptions:n}),(0,t.jsx)(b,{title:e.asia,dropdownOptions:d})]})}):null},C=({certifications:e})=>(0,t.jsx)("div",{className:"w-full lg:w-1/2 flex items-center flex-wrap gap-sm justify-center md:justify-start",children:e.map(({image:e})=>(0,t.jsx)(m.default,{title:e.title,data:e.responsiveImage??null,alt:e.alt,className:"!h-[60px] !w-auto"},e.id))});var M=e.i(880613);let F=({certifications:e,locale:l,layoutDictionary:a})=>{let[s,i]=(0,r.useState)([]),o=(0,M.usePathname)();(0,r.useEffect)(()=>{let e=[...document.querySelectorAll('meta[name^="footer-alternate-"]')].map(e=>({locale:e.name.replace("footer-alternate-",""),value:e.content}));i(e.length?e:[...document.querySelectorAll("link[rel=alternate]")].map(e=>({locale:e.hreflang,value:new URL(e.href).pathname.slice(1)})))}
2,[o]);let n=Object.fromEntries(s.map(({locale:e,value:t})=>[e,t]));return(0,t.jsxs)("div",{className:"flex flex-col gap-y-lg md:gap-y-0 md:flex-row",children:[(0,t.jsx)(C,{certifications:e}),!!s.length&&(0,t.jsx)("div",{className:"w-full lg:w-1/2 flex items-center gap-x-sm justify-start md:justify-end",children:(0,t.jsx)(k,{locale:l,slugsByLocale:n,layoutDictionary:a})})]})};var I=e.i(287547),_=e.i(837200);let z=({socials:e})=>(0,t.jsx)("ul",{className:"flex list-none p-0 m-0",children:e.filter(e=>e.url).map(({icon:e,url:l})=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{"aria-label":e.alt??void 0,className:"w-sm h-sm min-w-sm min-h-sm p-sm box-content flex",target:"_blank",href:l,rel:"noreferrer",children:(0,t.jsx)(_.ExternalIcon,{src:e.url,className:"w-full h-full"})})},l))});var P=e.i(797926),A=e.i(229387);let L=({label:e,href:l,target:a,className:s})=>{let{isoCountryCode:r}=(0,v.useFactorialContext)();return(0,t.jsx)(P.default,{href:l??"",target:a,color:"neutral100",className:s,onClick:e=>{(0,A.emitCustomGAEvent)({action:"clicked_footer_link",category:"webpage_footer",label:e.target.innerText,isoCountryCode:r})},children:(0,t.jsx)(f.default,{color:"neutral100",size:"xs",children:e})})},S=({title:e,navLinks:l})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.default,{size:"base",color:"neutral100",weight:"bold",children:e}),(0,t.jsx)("ul",{className:"flex flex-col pt-sm",children:l.filter(e=>e.url).map(e=>(0,t.jsx)("li",{className:"flex",children:(0,t.jsx)(L,{label:e.title,href:e.url??null,target:e.target,className:"py-xs hover:underline"})},e.id))})]});var E=e.i(118375),R=e.i(858482);let O=()=>{let e=(0,c.useIntl)(),l=e.formatMessage({id:"1wokJ7",defaultMessage:[{type:0,value:"Download on the App Store"}]}),a=e.formatMessage({id:"08jKoU",defaultMessage:[{type:0,value:"Get it on Google Play"}]});return(0,t.jsxs)("div",{className:"flex items-start justify-start",children:[(0,t.jsx)(P.default,{href:R.IOS_APP_STORE_URL,ariaLabel:l,children:(0,t.jsx)("div",{className:"flex mr-sm",children:(0,t.jsx)(E.default,{src:"/images/apple-store.png",width:120,height:40,alt:""})})}),(0,t.jsx)(P.default,{href:R.GOOGLE_PLAY_APP_URL,ariaLabel:a,children:(0,t.jsx)("div",{className:"flex",children:(0,t.jsx)(E.default,{src:"/images/google-play.png",alt:"",width:135,height:40})})})]})};var T=e.i(732641);let U=({simpleFooter:e,footer:l,menuMode:a})=>(0,T.shouldUseSimpleFooterForMenuMode)(a)?(0,t.jsx)(t.Fragment,{children:e}):(0,t.jsx)(t.Fragment,{children:l});var D=e.i(676386),B=e.i(487525);let G=({title:e,href:a,backgroundImage:s,type:r,className:i})=>{let{isoCountryCode:o}=(0,v.useFactorialContext)();return(0,t.jsxs)(P.default,{href:a,onClick:()=>{(0,A.emitCustomGAEvent)({action:`clicked_${r}_card`,category:"webpage_footer",label:e,isoCountryCode:o})},className:(0,l.default)("group relative flex flex-col justify-end","rounded-lg overflow-hidden h-[172px] w-[256px] p-sm","shadow-sm transition-all will-change-[box-shadow,transform] duration-300 ease-[cubic-bezier(0,0,0.5,1)] hover:shadow-ambient-xl hover:scale-[1.016]",i),children:[(0,t.jsx)(m.default,{className:"absolute inset-0 bg-cover bg-center object-cover w-full h-full",data:{src:s,aspectRatio:256/172,width:256,height:172,alt:"",title:""},alt:""}),(0,t.jsx)("span",{className:(0,l.default)("z-10 grid place-items-center rounded-full pointer-events-none","absolute top-s12 right-s12 w-s32 h-s32","cursor-pointer transition-transform duration-150","transform-gpu will-change-transform origin-center group-hover:-rotate-45","border-1 border-white/50 bg-white/50 backdrop-blur-[30px]"),children:(0,t.jsx)(h.default,{icon:B.default,color:"neutral120",size:"sm"})}),(0,t.jsx)(f.default,{className:"z-10",color:"neutral120",size:"base",weight:"semibold",children:e})]})},K=()=>{let e=(0,c.useIntl)(),{currentTld:l}=(0,v.useFactorialContext)(),{demoUrl:a}=(0,R.findRoutes)(l);return(0,t.jsx)(G,{href:a,type:"demo",title:e.formatMessage({id:"0M+zIn",defaultMessage:[{type:0,value:"Book a free demo"}]}),backgroundImage:"https://www.datocms-assets.com/58969/1750427609-footer-demo-call.webp"})},q={default:"https://www.datocms-assets.com/58969/1750427608-footer-platform-tour-us.webp",es:"https://www.datocms-assets.com/58969/1750427608-footer-platform-tour-es.webp",en:"https://www.datocms-assets.com/58969/1750427608-footer-platform-tour-us.webp",fr:"https://www.datocms-assets.com/58969/1750427608-footer-platform-tour-fr.webp",de:"https://www.datocms-assets.com/58969/1750427608-footer-platform-tour-de.webp",it:"https://www.datocms-assets.com/58969/1750427608-footer-platform-tour-it.webp",pt:"https://www.datocms-assets.com/58969/1750427608-footer-platform-tour-pt.webp",es_MX:"https://www.datocms-assets.com/58969/1750427608-footer-platform-tour-es.webp",en_GB:"https://www.datocms-assets.com/58969/1750427608-footer-platform-tour-us.webp",pt_BR:"https://www.datocms-assets.com/58969/1750427608-footer-platform-tour-pt.webp"},H=()=>{let e=(0,c.useIntl)(),{currentTld:l,datoLocale:a}=(0,v.useFactorialContext)(),{productTourUrl:s}=(0,R.findRoutes)(l);return(0,t.jsx)(G,{href:s,type:"product_tour",title:e.formatMessage({id:"tX5en8",defaultMessage:[{type:0,value:"Tour the platform"}]}),backgroundImage:q[a]||q.default})},X=["es","it","de","fr","pt","us"],Y=({menuMode:e})=>{let l=(0,c.useIntl)(),{isoCountryCode:a}=(0,v.useFactorialContext)();return(0,T.shouldHideFooterCtaCards)(e)||!X.includes(a)?null:(0,t.jsxs)("div",{className:"mt-xl mb-md flex flex-wrap gap-md md:justify-between xl:mb-lg",children:[(0,t.jsxs)("div",{className:"md:max-w-s264",children:[(0,t.jsx)(D.default,{size:"m",className:"mb-md"}),(0,t.jsx)(f.default,{color:"neutral80",className:"mb-md",children:l.formatMessage({id:"CpUSVn",defaultMessage:[{type:0,value:"The AI that unlocks your company's potential."}]})})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-md",children:[(0,t.jsx)(K,{}),(0,t.jsx)(H,{})]})]})};e.s(["default",0,({menuMode:e,schema:r,locale:i,layoutDictionary:o})=>{if(!r)return null;let n=(0,t.jsx)(a.default,{bgColor:"white100",children:(0,t.jsx)(I.SimpleFooter,{schema:r,size:"xs"})}),d=(0,t.jsxs)("footer",{className:"container bg-white pb-xl print:hidden",children:[(0,t.jsx)(Y,{menuMode:e}),(0,t.jsx)("ul",{className:"grid grid-cols-6 gap-lg sm:flex pb-xl",children:r.footerItems.map(({id:e,links:l,title:a})=>(0,t.jsx)("li",{className:"col-span-3 mt-xl sm:flex-1 mr-md",children:(0,t.jsx)(S,{title:a,navLinks:l})},e))}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between",children:[(0,t.jsx)("div",{className:"pt-xl",children:(0,t.jsx)(O,{})}),(0,t.jsx)("div",{className:"pt-xl",children:(0,t.jsx)(z,{socials:r.socialMedia})})]}),(0,t.jsx)("hr",{className:(0,l.default)("h-1 my-xl",[s.default.backgrounds.neutral80])}),(0,t.jsx)(F,{layoutDictionary:o,locale:i,certifications:r.certifications})]});return(0,t.jsx)(U,{menuMode:e,footer:d,simpleFooter:n})}],677297)},80534,function(e){e.n(e.i(677297))},649387,e=>{"use strict";var t=e.i(744664),l=e.i(264458),a=e.i(353166),s=e.i(987588),r=e.i(118375);let i="absolute hidden lg:block",o=()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:i,style:{right:"-66px",top:"-20px"},children:(0,t.jsx)(r.default,{src:"/images/artifacts/quarter-viridian-stroke.svg",alt:"",width:264,height:216})}),(0,t.jsx)("div",{className:i,style:{left:"-66px",bottom:"-60px"},children:(0,t.jsx)(r.default,{src:"/images/artifacts/bullet-complementary-stroke.svg",alt:"",width:264,height:216})})]}),{colors:n,zIndexList:d}=a.default,c={none:"p-3xs",sm:"py-lg sm:py-lg",md:"py-2xl sm:py-2xl",lg:"py-2xl sm:py-4xl"},u=({children:e,withArtifacts:a=!1,simplified:s=!1}
2)=>(0,t.jsxs)(t.Fragment,{children:[a&&(0,t.jsx)(o,{}),(0,t.jsx)("div",{className:(0,l.default)(!s&&"container","relative z-10"),children:e})]}),m=({size:e,cropContent:a=!1,bgColor:s,children:r,onTop:i,className:o,simplified:d})=>(0,t.jsx)("div",{className:(0,l.default)("md:mx-auto","flex-1","relative",{"2xl:max-w-pageBox 2xl:rounded-lg md:mx-lg":!i},d?"pt-lg md:pt-xl":c[e],s&&n.backgrounds[s],!d&&{"md:overflow-hidden":a},o),children:r}),f=(0,s.forwardRef)(({children:e,size:a="md",bgColor:s="neutral10",id:r,zIndex:i=0,withArtifacts:o=!1,onTop:n=!1,simplified:c=!1,overflowVisible:f=!1,className:x},h)=>(0,t.jsx)("div",{ref:h,id:r,className:(0,l.default)("flex","justify-center","relative",d[i]),children:(0,t.jsx)(m,{bgColor:s,size:a,onTop:n,simplified:c,cropContent:!f,className:x,children:(0,t.jsx)(u,{withArtifacts:o,simplified:c,children:e})})}));e.s(["PageBoxContainer",0,u,"default",0,f],649387)},761759,e=>{"use strict";var t=e.i(744664),l=e.i(264458),a=e.i(797926),s=e.i(370891),r=e.i(816443),i=e.i(353166),o=e.i(987588);let{colors:n,zIndexList:d}=i.default,c=({option:e,color:l})=>(0,t.jsxs)("div",{className:"flex py-xs px-sm",children:[(0,t.jsx)("div",{className:"mr-xs min-w-md",children:e.imagePath&&(0,t.jsx)(s.Image,{src:e.imagePath,width:24,height:24,alt:e.text})}),(0,t.jsx)(r.default,{size:"l",color:l,children:e.text})]});e.s(["default",0,({options:e=[],ariaLabelledby:s})=>{let r=(0,o.useRef)(null);return(0,t.jsx)("div",{ref:r,role:"menu","aria-orientation":"vertical","aria-labelledby":s,onKeyDown:e=>{let t=Array.from(r.current?.querySelectorAll('[role="menuitem"]')??[]);if(!t.length)return;let l=document.activeElement,a=t.indexOf(l),s=null;"ArrowDown"===e.key&&(s=(a+1)%t.length),"ArrowUp"===e.key&&(s=(a-1+t.length)%t.length),"Home"===e.key&&(s=0),"End"===e.key&&(s=t.length-1),null!==s&&(e.preventDefault(),t[s].focus())},className:(0,l.default)("flex flex-col rounded-sm py-xs bg-white max-h-19xl overflow-y-auto",d.dropdown),children:e.map(e=>(0,t.jsxs)("div",{className:(0,l.default)(`block ${n.backgroundColorsHover.neutral5} cursor-pointer`,e.imagePath&&"gap-xs"),children:[e.href&&(0,t.jsx)(a.default,{href:e.href,className:"flex",target:"_self",role:"menuitem",children:(0,t.jsx)(c,{color:e.disabled?"neutral40":"neutral80",option:e})}),!e.href&&(0,t.jsx)("div",{role:"menuitem",tabIndex:-1,children:(0,t.jsx)(c,{color:e.disabled?"neutral40":"neutral80",option:e})})]},e.text))})}])}]); 3 4//# debugId=6ca3a800-1e6e-a8b6-f7d0-666e1649ede7
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.