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]="d83a5bc9-141d-da6e-b273-d4a95c1d240c")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,72341,e=>{"use strict";var n=e.i(827303),t=e.i(23407),o=e.i(669055),a=e.i(347284);e.s(["default",0,function(e){var r=e.locale,i=(0,t._)(e,["locale"]);if(!r)throw Error(void 0);return(0,a.jsx)(o.IntlProvider,(0,n._)({locale:r},i))}])},674196,e=>{e.v({root:"Button-module__fhohnW__root"})},175271,e=>{"use strict";var n=e.i(347284);function t(e){return"auto"===e||"dark"===e||"light"===e}var o=e.i(993172),a=e.i(635068),r=e.i(511176),i=e.i(837618),c=e.i(966793),l=e.i(170292);function s(){var e=(0,l.useMantineTheme)(),t=(0,o.useMantineStyleNonce)(),c=(0,a.keys)(e.breakpoints).reduce(function(n,t){var o=e.breakpoints[t].includes("px"),a=(0,r.px)(e.breakpoints[t]),c=o?"".concat(a-.1,"px"):(0,i.em)(a-.1),l=o?"".concat(a,"px"):(0,i.em)(a);return"".concat(n,"@media (max-width: ").concat(c,") {.mantine-visible-from-").concat(t," {display: none !important;}}@media (min-width: ").concat(l,") {.mantine-hidden-from-").concat(t," {display: none !important;}}")},"");return(0,n.jsx)("style",{"data-mantine-styles":"classes",nonce:null==t?void 0:t(),dangerouslySetInnerHTML:{__html:c}})}var d=e.i(437303);function m(e){return Object.entries(e).map(function(e){var n=(0,d._)(e,2),t=n[0],o=n[1];return"".concat(t,": ").concat(o,";")}).join("")}function u(e,n){var t=n?[n]:[":root",":host"],o=m(e.variables),a=o?"".concat(t.join(", "),"{").concat(o,"}"):"",r=m(e.dark),i=m(e.light),c=function(e){return t.map(function(n){return":host"===n?"".concat(n,'([data-mantine-color-scheme="').concat(e,'"])'):"".concat(n,'[data-mantine-color-scheme="').concat(e,'"]')}).join(", ")},l=r?"".concat(c("dark"),"{").concat(r,"}"):"",s=i?"".concat(c("light"),"{").concat(i,"}"):"";return"".concat(a,"\n\n").concat(l,"\n\n").concat(s)}var h=e.i(415969),f=e.i(815175),v=e.i(159556),g=e.i(292451);function w(e,n){var t,o,a,r;return o=(t={color:e.colors[e.primaryColor][(0,v.getPrimaryShade)(e,n)],theme:e,autoContrast:null}).color,a=t.theme,("boolean"==typeof(r=t.autoContrast)?r:a.autoContrast)&&(0,g.parseThemeColor)({color:o||a.primaryColor,theme:a}).isLight?"var(--mantine-color-black)":"var(--mantine-color-white)"}var p=e.i(827303),b=e.i(167766);function y(e){var n,t,o=e.theme,a=e.color,r=e.colorScheme,i=e.name,c=void 0===i?a:i,l=e.withColorValues,s=void 0===l||l;if(!o.colors[a])return{};if("light"===r){var d,m,u=(0,v.getPrimaryShade)(o,"light"),h=(d={},(0,f._)(d,"--mantine-color-".concat(c,"-text"),"var(--mantine-color-".concat(c,"-filled)")),(0,f._)(d,"--mantine-color-".concat(c,"-filled"),"var(--mantine-color-".concat(c,"-").concat(u,")")),(0,f._)(d,"--mantine-color-".concat(c,"-filled-hover"),"var(--mantine-color-".concat(c,"-").concat(9===u?8:u+1,")")),(0,f._)(d,"--mantine-color-".concat(c,"-light"),(0,b.alpha)(o.colors[a][u],.1)),(0,f._)(d,"--mantine-color-".concat(c,"-light-hover"),(0,b.alpha)(o.colors[a][u],.12)),(0,f._)(d,"--mantine-color-".concat(c,"-light-color"),"var(--mantine-color-".concat(c,"-").concat(u,")")),(0,f._)(d,"--mantine-color-".concat(c,"-outline"),"var(--mantine-color-".concat(c,"-").concat(u,")")),(0,f._)(d,"--mantine-color-".concat(c,"-outline-hover"),(0,b.alpha)(o.colors[a][u],.05)),d);return s?(0,p._)((m={},(0,f._)(m,"--mantine-color-".concat(c,"-0"),o.colors[a][0]),(0,f._)(m,"--mantine-color-".concat(c,"-1"),o.colors[a][1]),(0,f._)(m,"--mantine-color-".concat(c,"-2"),o.colors[a][2]),(0,f._)(m,"--mantine-color-".concat(c,"-3"),o.colors[a][3]),(0,f._)(m,"--mantine-color-".concat(c,"-4"),o.colors[a][4]),(0,f._)(m,"--mantine-color-".concat(c,"-5"),o.colors[a][5]),(0,f._)(m,"--mantine-color-".concat(c,"-6"),o.colors[a][6]),(0,f._)(m,"--mantine-color-".concat(c,"-7"),o.colors[a][7]),(0,f._)(m,"--mantine-color-".concat(c,"-8"),o.colors[a][8]),(0,f._)(m,"--mantine-color-".concat(c,"-9"),o.colors[a][9]),m),h):h}var g=(0,v.getPrimaryShade)(o,"dark"),w=(n={},(0,f._)(n,"--mantine-color-".concat(c,"-text"),"var(--mantine-color-".concat(c,"-4)")),(0,f._)(n,"--mantine-color-".concat(c,"-filled"),"var(--mantine-color-".concat(c,"-").concat(g,")")),(0,f._)(n,"--mantine-color-".concat(c,"-filled-hover"),"var(--mantine-color-".concat(c,"-").concat(9===g?8:g+1,")")),(0,f._)(n,"--mantine-color-".concat(c,"-light"),(0,b.alpha)(o.colors[a][Math.max(0,g-2)],.15)),(0,f._)(n,"--mantine-color-".concat(c,"-light-hover"),(0,b.alpha)(o.colors[a][Math.max(0,g-2)],.2)),(0,f._)(n,"--mantine-color-".concat(c,"-light-color"),"var(--mantine-color-".concat(c,"-").concat(Math.max(g-5,0),")")),(0,f._)(n,"--mantine-color-".concat(c,"-outline"),"var(--mantine-color-".concat(c,"-").concat(Math.max(g-4,0),")")),(0,f._)(n,"--mantine-color-".concat(c,"-outline-hover"),(0,b.alpha)(o.colors[a][Math.max(g-4,0)],.05)),n);return s?(0,p._)((t={},(0,f._)(t,"--mantine-color-".concat(c,"-0"),o.colors[a][0]),(0,f._)(t,"--mantine-color-".concat(c,"-1"),o.colors[a][1]),(0,f._)(t,"--mantine-color-".concat(c,"-2"),o.colors[a][2]),(0,f._)(t,"--mantine-color-".concat(c,"-3"),o.colors[a][3]),(0,f._)(t,"--mantine-color-".concat(c,"-4"),o.colors[a][4]),(0,f._)(t,"--mantine-color-".concat(c,"-5"),o.colors[a][5]),(0,f._)(t,"--mantine-color-".concat(c,"-6"),o.colors[a][6]),(0,f._)(t,"--mantine-color-".concat(c,"-7"),o.colors[a][7]),(0,f._)(t,"--mantine-color-".concat(c,"-8"),o.colors[a][8]),(0,f._)(t,"--mantine-color-".concat(c,"-9"),o.colors[a][9]),t),w):w}var _=e.i(43178);
2function x(e,n,t){(0,a.keys)(n).forEach(function(o){return Object.assign(e,(0,f._)({},"--mantine-".concat(t,"-").concat(o),n[o]))})}var k=function(e){var n=(0,v.getPrimaryShade)(e,"light"),t=e.defaultRadius in e.radius?e.radius[e.defaultRadius]:(0,i.rem)(e.defaultRadius),o={variables:{"--mantine-z-index-app":"100","--mantine-z-index-modal":"200","--mantine-z-index-popover":"300","--mantine-z-index-overlay":"400","--mantine-z-index-max":"9999","--mantine-scale":e.scale.toString(),"--mantine-cursor-type":e.cursorType,"--mantine-webkit-font-smoothing":e.fontSmoothing?"antialiased":"unset","--mantine-moz-font-smoothing":e.fontSmoothing?"grayscale":"unset","--mantine-color-white":e.white,"--mantine-color-black":e.black,"--mantine-line-height":e.lineHeights.md,"--mantine-font-family":e.fontFamily,"--mantine-font-family-monospace":e.fontFamilyMonospace,"--mantine-font-family-headings":e.headings.fontFamily,"--mantine-heading-font-weight":e.headings.fontWeight,"--mantine-heading-text-wrap":e.headings.textWrap,"--mantine-radius-default":t,"--mantine-primary-color-filled":"var(--mantine-color-".concat(e.primaryColor,"-filled)"),"--mantine-primary-color-filled-hover":"var(--mantine-color-".concat(e.primaryColor,"-filled-hover)"),"--mantine-primary-color-light":"var(--mantine-color-".concat(e.primaryColor,"-light)"),"--mantine-primary-color-light-hover":"var(--mantine-color-".concat(e.primaryColor,"-light-hover)"),"--mantine-primary-color-light-color":"var(--mantine-color-".concat(e.primaryColor,"-light-color)")},light:{"--mantine-color-scheme":"light","--mantine-primary-color-contrast":w(e,"light"),"--mantine-color-bright":"var(--mantine-color-black)","--mantine-color-text":e.black,"--mantine-color-body":e.white,"--mantine-color-error":"var(--mantine-color-red-6)","--mantine-color-placeholder":"var(--mantine-color-gray-5)","--mantine-color-anchor":"var(--mantine-color-".concat(e.primaryColor,"-").concat(n,")"),"--mantine-color-default":"var(--mantine-color-white)","--mantine-color-default-hover":"var(--mantine-color-gray-0)","--mantine-color-default-color":"var(--mantine-color-black)","--mantine-color-default-border":"var(--mantine-color-gray-4)","--mantine-color-dimmed":"var(--mantine-color-gray-6)","--mantine-color-disabled":"var(--mantine-color-gray-2)","--mantine-color-disabled-color":"var(--mantine-color-gray-5)","--mantine-color-disabled-border":"var(--mantine-color-gray-3)"},dark:{"--mantine-color-scheme":"dark","--mantine-primary-color-contrast":w(e,"dark"),"--mantine-color-bright":"var(--mantine-color-white)","--mantine-color-text":"var(--mantine-color-dark-0)","--mantine-color-body":"var(--mantine-color-dark-7)","--mantine-color-error":"var(--mantine-color-red-8)","--mantine-color-placeholder":"var(--mantine-color-dark-3)","--mantine-color-anchor":"var(--mantine-color-".concat(e.primaryColor,"-4)"),"--mantine-color-default":"var(--mantine-color-dark-6)","--mantine-color-default-hover":"var(--mantine-color-dark-5)","--mantine-color-default-color":"var(--mantine-color-white)","--mantine-color-default-border":"var(--mantine-color-dark-4)","--mantine-color-dimmed":"var(--mantine-color-dark-2)","--mantine-color-disabled":"var(--mantine-color-dark-6)","--mantine-color-disabled-color":"var(--mantine-color-dark-3)","--mantine-color-disabled-border":"var(--mantine-color-dark-4)"}};x(o.variables,e.breakpoints,"breakpoint"),x(o.variables,e.spacing,"spacing"),x(o.variables,e.fontSizes,"font-size"),x(o.variables,e.lineHeights,"line-height"),x(o.variables,e.shadows,"shadow"),x(o.variables,e.radius,"radius"),e.colors[e.primaryColor].forEach(function(n,t){o.variables["--mantine-primary-color-".concat(t)]="var(--mantine-color-".concat(e.primaryColor,"-").concat(t,")")}),(0,a.keys)(e.colors).forEach(function(n){var t=e.colors[n];if(t&&(void 0===t?"undefined":(0,_._)(t))==="object"&&"mantine-virtual-color"in t){Object.assign(o.light,y({theme:e,name:t.name,color:t.light,colorScheme:"light",withColorValues:!0})),Object.assign(o.dark,y({theme:e,name:t.name,color:t.dark,colorScheme:"dark",withColorValues:!0}));return}t.forEach(function(e,t){o.variables["--mantine-color-".concat(n,"-").concat(t)]=e}),Object.assign(o.light,y({theme:e,color:n,colorScheme:"light",withColorValues:!1})),Object.assign(o.dark,y({theme:e,color:n,colorScheme:"dark",withColorValues:!1}))});var r=e.headings.sizes;return(0,a.keys)(r).forEach(function(n){o.variables["--mantine-".concat(n,"-font-size")]=r[n].fontSize,o.variables["--mantine-".concat(n,"-line-height")]=r[n].lineHeight,o.variables["--mantine-".concat(n,"-font-we
2ight")]=r[n].fontWeight||e.headings.fontWeight}),o},E=k(e.i(71732).DEFAULT_THEME);function C(e){var t,r,i,c,s,d,m=e.cssVariablesSelector,f=e.deduplicateCssVariables,v=(0,l.useMantineTheme)(),g=(0,o.useMantineStyleNonce)(),w=(r=(t={theme:v,generator:(0,o.useMantineCssVariablesResolver)()}).theme,i=t.generator,c=k(r),(s=null==i?void 0:i(r))?(0,h.deepMerge)(c,s):c),p=(void 0===m||":root"===m||":host"===m)&&f,b=u(p?(d={variables:{},light:{},dark:{}},(0,a.keys)(w.variables).forEach(function(e){E.variables[e]!==w.variables[e]&&(d.variables[e]=w.variables[e])}),(0,a.keys)(w.light).forEach(function(e){E.light[e]!==w.light[e]&&(d.light[e]=w.light[e])}),(0,a.keys)(w.dark).forEach(function(e){E.dark[e]!==w.dark[e]&&(d.dark[e]=w.dark[e])}),d):w,m);return b?(0,n.jsx)("style",{"data-mantine-styles":!0,nonce:null==g?void 0:g(),dangerouslySetInnerHTML:{__html:"".concat(b).concat(p?"":u({variables:{},dark:{"--mantine-color-scheme":"dark"},light:{"--mantine-color-scheme":"light"}},m))}}):null}C.displayName="@mantine/CssVariables";var S=e.i(360005);function j(e,n){var t,o,a="u">typeof window&&"matchMedia"in window&&(null==(t=window.matchMedia("(prefers-color-scheme: dark)"))?void 0:t.matches);null==(o=n())||o.setAttribute("data-mantine-color-scheme","auto"!==e?e:a?"dark":"light")}function N(e){var a,r,i,m,u,h,f,v,g,w,p,b,y,_,x,k=e.theme,E=e.children,N=e.getStyleNonce,T=e.withStaticClasses,A=e.withGlobalClasses,M=e.deduplicateCssVariables,V=e.withCssVariables,P=e.cssVariablesSelector,L=e.classNamesPrefix,R=e.colorSchemeManager,O=void 0===R?function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=n.key,a=void 0===o?"mantine-color-scheme-value":o;return{get:function(e){if("u"<typeof window)return e;try{var n=window.localStorage.getItem(a);return t(n)?n:e}catch(n){return e}},set:function(e){try{window.localStorage.setItem(a,e)}catch(e){console.warn("[@mantine/core] Local storage color scheme manager was unable to save color scheme.",e)}},subscribe:function(n){e=function(e){e.storageArea===window.localStorage&&e.key===a&&t(e.newValue)&&n(e.newValue)},window.addEventListener("storage",e)},unsubscribe:function(){window.removeEventListener("storage",e)},clear:function(){window.localStorage.removeItem(a)}}}():R,I=e.defaultColorScheme,q=e.getRootElement,z=void 0===q?function(){return document.documentElement}:q,G=e.cssVariablesResolver,D=e.forceColorScheme,B=e.stylesTransform,H=e.env,U=(r=(a={defaultColorScheme:void 0===I?"light":I,forceColorScheme:D,manager:O,getRootElement:z}).manager,i=a.defaultColorScheme,m=a.getRootElement,u=a.forceColorScheme,h=(0,c.useRef)(null),v=(f=(0,d._)((0,c.useState)(function(){return r.get(i)}),2))[0],g=f[1],w=u||v,p=(0,c.useCallback)(function(e){u||(j(e,m),g(e),r.set(e))},[r.set,w,u]),b=(0,c.useCallback)(function(){g(i),j(i,m),r.clear()},[r.clear,i]),(0,c.useEffect)(function(){return r.subscribe(p),r.unsubscribe},[r.subscribe,r.unsubscribe]),(0,S.useIsomorphicEffect)(function(){j(r.get(i),m)},[]),(0,c.useEffect)(function(){if(u)return j(u,m),function(){};void 0===u&&j(v,m),"u">typeof window&&"matchMedia"in window&&(h.current=window.matchMedia("(prefers-color-scheme: dark)"));var e,n=function(e){"auto"===v&&j(e.matches?"dark":"light",m)};return null==(e=h.current)||e.addEventListener("change",n),function(){var e;return null==(e=h.current)?void 0:e.removeEventListener("change",n)}},[v,u]),{colorScheme:w,setColorScheme:p,clearColorScheme:b}),F=U.colorScheme,W=U.setColorScheme,K=U.clearColorScheme;return _=(y={respectReducedMotion:(null==k?void 0:k.respectReducedMotion)||!1,getRootElement:z}).respectReducedMotion,x=y.getRootElement,(0,S.useIsomorphicEffect)(function(){if(_){var e;null==(e=x())||e.setAttribute("data-respect-reduced-motion","true")}},[_]),(0,n.jsx)(o.MantineContext.Provider,{value:{colorScheme:F,setColorScheme:W,clearColorScheme:K,getRootElement:z,classNamesPrefix:void 0===L?"mantine":L,getStyleNonce:N,cssVariablesResolver:G,cssVariablesSelector:null!=P?P:":root",withStaticClasses:void 0===T||T,stylesTransform:B,env:H},children:(0,n.jsxs)(l.MantineThemeProvider,{theme:k,children:[(void 0===V||V)&&(0,n.jsx)(C,{cssVariablesSelector:P,deduplicateCssVariables:void 0===M||M}),(void 0===A||A)&&(0,n.jsx)(s,{}),E]})})}N.displayName="@mantine/core/MantineProvider";var T=e.i(809928),A=e.i(471912),M=e.i(752182),V=e.i(674196),P={fontFamily:"var(--font-inter), sans-serif",headings:{fontFamily:"var(--font-inter), sans-serif",fontWeight:"900"},defaultRadius:"md",primaryColor:"green",colors:{green:["#f0f9f4","#d4edda","#a8d5b8","#7cbd95","#50a573","var(--color-brand-green)","var(--color-brand-green)","#204e34","#1a3e2a","#142e1f"]},components:{Button:A.Button.extend({defaultProps:{radius:16,fw:900},classNames:function(){var e;return(0,T._)((0,p._)({},V.default),{root:"".concat(null!=(e=V.default.root)?e:""," ring-0").trim()})}}),Select:M.Select.extend({defaultProps:{withScrollArea:!1},styles:{dropdown:{maxHeight:280,overflowY:"scroll",scrollbarGutter:"stable"}}})}};e.s(["default",0,function(e){var t=e.children;return(0,n.jsx)(N,{theme:P,children:t})}],175271)},766432,e=>{"use strict";var n=e.i(827303),t=e.i(437303),o=e.i(96080),a=e.i(347284),r=e.i(966793),i=e.i(458201),c=e.i(471912),l=e.i(746314),s=e.i(507500),d=e.i(264614),m="G-F11DG8NWFD".trim(),u="1898666833872394".trim(),h="QHiuJZUgoetX3cRagGPVGy".trim();function f(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];window.dataLayer=window.dataLayer||[],window.dataLayer.push(arguments)}function v(){var e=(0,s.analyticsAllowed)()?"granted":"denied",n=(0,s.marketingAllowed)()?"granted":"denied";return{analytics_storage:e,ad_storage:n,ad_user_data:n,ad_personalization:n}}function g(e,n){var t=document.createElement("script");t.async=!0,t.src=e,n&&(t.onload=n),document.head.appendChild(t)}function w(e){var n="expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/";document.cookie="".concat(e,"=;").concat(n),window.location.hostname.includes("chalkie.ai")&&(document.cookie="".concat(e,"=;").concat(n,";domain=.chalkie.ai"))}var p=["_fbp","_fbc","__oppref","__obref",d.ATTRIBUTION_COOKIE];function b(){if(window.__chalkieGaLoaded?m&&window.__chalkieGaLoaded&&(f
2("consent","update",v()),f("set","ads_data_redaction",!(0,s.marketingAllowed)())):m&&!window.__chalkieGaLoaded&&(window.__chalkieGaLoaded=!0,f("consent","default",v()),(0,s.marketingAllowed)()||f("set","ads_data_redaction",!0),"gdpr"===(0,s.consentRegion)()&&f("set","url_passthrough",!0),f("js",new Date),f("config",m),g("https://www.googletagmanager.com/gtag/js?id=".concat(m))),(0,s.marketingAllowed)()){if(u&&!window.fbq){var e=function(){for(var n=arguments.length,t=Array(n),a=0;a<n;a++)t[a]=arguments[a];e.callMethod?e.callMethod.apply(e,(0,o._)(t)):e.queue.push(t)};e.queue=[],e.push=e,e.loaded=!0,e.version="2.0",window.fbq=e,window._fbq||(window._fbq=e),g("https://connect.facebook.net/en_US/fbevents.js"),e("init",u),e("track","PageView"),window.__chalkieMetaPageViewUrl=window.location.href}if(h&&!window.oaiq){var n=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];n.q.push(t)};n.q=[],window.oaiq=n,g("https://bzrcdn.openai.com/sdk/oaiq.min.js",function(){window.dispatchEvent(new Event("chalkie:openai-ads-ready"))}),window.oaiq("init",{pixelId:h}),window.oaiq("measure","page_viewed",{type:"contents",contents:[{id:window.location.pathname,name:document.title,content_type:"page"}]}),window.__chalkieOpenAIPageViewUrl=window.location.href}}else if(p.forEach(w),window.fbq||window.oaiq)return void window.location.reload();(0,s.analyticsAllowed)()||document.cookie.split("; ").map(function(e){return e.split("=")[0]}).filter(function(e){return"_ga"===e||e.startsWith("_ga_")||e.startsWith("ph_")}).forEach(w)}var y=e.i(353152);function _(e,t){(0,y.capturePosthogEvent)(e,(0,n._)({region:(0,s.consentRegion)()},t))}var x={root:"h-9! border-brand-green bg-white px-3 font-semibold text-brand-green",label:"text-sm font-semibold"},k={root:"h-9! px-3",label:"text-sm font-semibold"};e.s(["default",0,function(){var e=(0,i.useTranslations)("common.cookieConsent"),n=(0,r.useSyncExternalStore)(s.subscribeToConsent,s.shouldShowConsentBanner,function(){return!1}),d=(0,t._)((0,r.useState)(!1),2),m=d[0],u=d[1],h=(0,t._)((0,r.useState)(!1),2),f=h[0],v=h[1],g=(0,t._)((0,r.useState)(!1),2),w=g[0],p=g[1],y=(0,t._)((0,r.useState)(!1),2),E=y[0],C=y[1],S=(0,r.useRef)(!1),j=(0,r.useRef)(null),N=n&&m&&!f||f,T=f?"marketing_settings":"marketing_banner",A=function(){p((0,s.analyticsAllowed)()),C((0,s.marketingAllowed)()),v(!0)};(0,r.useEffect)(function(){if(n&&!m){var e=setTimeout(function(){return u(!0)},2e3);return function(){return clearTimeout(e)}}},[n]),(0,r.useEffect)(function(){(0,s.applyGpcOptOut)(),b();var e=function(){return b()},n=function(){return A()};return window.addEventListener(s.CONSENT_CHANGED_EVENT,e),window.addEventListener(s.OPEN_CONSENT_PREFERENCES_EVENT,n),function(){window.removeEventListener(s.CONSENT_CHANGED_EVENT,e),window.removeEventListener(s.OPEN_CONSENT_PREFERENCES_EVENT,n)}},[]),(0,r.useEffect)(function(){if(N){var e,n=document.activeElement;return(!S.current||f)&&(S.current=!0,_("cookie_consent_shown",{surface:T,path:window.location.pathname})),null==(e=j.current)||e.focus(),f&&(document.body.style.overflow="hidden"),function(){var e;document.body.style.overflow="",null==n||null==(e=n.focus)||e.call(n)}}},[N,f]);var M=function(){return v(!1)},V=function(e){if("Escape"===e.key&&f)return void M();if("Tab"===e.key&&j.current&&f){var n=(0,o._)(j.current.querySelectorAll("a[href], button:not([disabled]), input:not([disabled])"));if(0!==n.length){var t=n[0],a=n[n.length-1],r=document.activeElement;e.shiftKey&&(r===t||!j.current.contains(r))?(e.preventDefault(),a.focus()):e.shiftKey||r!==a&&j.current.contains(r)||(e.preventDefault(),t.focus())}}},P=function(e,n,t){(0,s.saveConsent)({analytics:e,marketing:n}),_("cookie_consent_choice",{analytics:e,marketing:n,surface:T,action:t}),v(!1)};if(!N)return null;var L=(0,a.jsxs)("p",{className:"mt-2 text-sm text-gray-700",children:[e("message")," ",(0,a.jsx)(l.Link,{href:"/cookies",target:"_blank",className:"underline hover:text-gray-900",children:e("cookiePolicy")}),"."]});return f?(0,a.jsx)("div",{role:"dialog","aria-modal":"true","aria-label":e("modalTitle"),className:"fixed inset-0 z-400 flex items-end justify-center bg-black/40 p-4 sm:items-center",onKeyDown:V,onClick:function(e){e.target===e.currentTarget&&M()}
2,children:(0,a.jsxs)("div",{ref:j,tabIndex:-1,className:"max-h-full w-full max-w-lg overflow-y-auto rounded-xl bg-white p-6 shadow-2xl outline-none",children:[(0,a.jsx)("button",{type:"button","aria-label":e("close"),onClick:M,className:"float-right -mt-1 -mr-1 cursor-pointer rounded p-1 text-xl leading-none text-gray-400 hover:text-gray-700",children:"Ã"}),(0,a.jsx)("h2",{className:"text-lg font-semibold text-gray-900",children:e("modalTitle")}),L,(0,a.jsxs)("div",{className:"mt-4 space-y-4",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-semibold text-gray-900",children:e("essentialTitle")}),(0,a.jsx)("p",{className:"text-sm text-gray-600",children:e("essentialDescription")})]}),(0,a.jsx)("span",{className:"shrink-0 text-sm font-medium text-gray-500",children:e("alwaysOn")})]}),(0,a.jsxs)("label",{className:"flex items-start justify-between gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-semibold text-gray-900",children:e("analyticsTitle")}),(0,a.jsx)("p",{className:"text-sm text-gray-600",children:e("analyticsDescription")})]}),(0,a.jsx)("input",{type:"checkbox",checked:w,onChange:function(e){return p(e.target.checked)},className:"mt-1 h-5 w-5 shrink-0 accent-brand-teal"})]}),(0,a.jsxs)("label",{className:"flex items-start justify-between gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-semibold text-gray-900",children:e("marketingTitle")}),(0,a.jsx)("p",{className:"text-sm text-gray-600",children:e("marketingDescription")})]}),(0,a.jsx)("input",{type:"checkbox",checked:E,onChange:function(e){return C(e.target.checked)},className:"mt-1 h-5 w-5 shrink-0 accent-brand-teal"})]})]}),(0,a.jsxs)("div",{className:"mt-6 flex flex-wrap items-center justify-end gap-3",children:[(0,a.jsx)(c.Button,{variant:"outline",size:"sm",radius:12,classNames:x,onClick:function(){return P(w,E,"custom")},children:e("save")}),(0,a.jsx)(c.Button,{variant:"outline",size:"sm",radius:12,classNames:x,onClick:function(){return P(!1,!1,"reject_all")},children:e("rejectAll")}),(0,a.jsx)(c.Button,{size:"sm",radius:12,classNames:k,onClick:function(){return P(!0,!0,"accept_all")},children:e("acceptAll")})]})]})}):(0,a.jsx)("div",{role:"region","aria-label":e("modalTitle"),className:"fixed inset-x-0 bottom-0 z-400 p-4",onKeyDown:V,children:(0,a.jsxs)("div",{ref:j,tabIndex:-1,className:"mx-auto flex w-full max-w-5xl flex-col gap-4 roun
2ded-xl border border-gray-200 bg-white p-5 shadow-2xl outline-none motion-safe:animate-consent-in sm:flex-row sm:items-center",children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("h2",{className:"text-lg font-semibold text-gray-900",children:e("modalTitle")}),L]}),(0,a.jsxs)("div",{className:"flex shrink-0 flex-wrap items-center gap-3",children:[(0,a.jsx)(c.Button,{variant:"outline",size:"sm",radius:12,classNames:x,onClick:A,children:e("customise")}),(0,a.jsx)(c.Button,{variant:"outline",size:"sm",radius:12,classNames:x,onClick:function(){return P(!1,!1,"reject_all")},children:e("rejectAll")}),(0,a.jsx)(c.Button,{size:"sm",radius:12,classNames:k,onClick:function(){return P(!0,!0,"accept_all")},children:e("acceptAll")})]})]})})}],766432)},38180,e=>{"use strict";var n=e.i(966793);function t(e){return"pt-br"===e?"pt-BR":e.split("-")[0]}e.s(["default",0,function(e){var o=e.appId,a=e.locale,r=(0,n.useRef)(!1);return(0,n.useEffect)(function(){var e=function(){if(!r.current)if(r.current=!0,n(),window.intercomSettings={api_base:"https://api-iam.intercom.io",app_id:o,language_override:t(a)},"function"==typeof window.Intercom)window.Intercom("reattach_activator"),window.Intercom("update",window.intercomSettings);else{var e=[],i=Object.assign(function(){for(var n=arguments.length,t=Array(n),o=0;o<n;o++)t[o]=arguments[o];e.push(t)},{q:e,c:function(n){return e.push([n])}});window.Intercom=i;var c=document.createElement("script");c.type="text/javascript",c.async=!0,c.src="https://widget.intercom.io/widget/".concat(o),document.body.appendChild(c)}},n=function(){window.removeEventListener("scroll",e,{capture:!0}),window.removeEventListener("click",e,{capture:!0}),window.removeEventListener("touchstart",e,{capture:!0})},i=setTimeout(e,8e3);return window.addEventListener("scroll",e,{once:!0,capture:!0}),window.addEventListener("click",e,{once:!0,capture:!0}),window.addEventListener("touchstart",e,{once:!0,capture:!0}),function(){clearTimeout(i),n()}},[o,a]),(0,n.useEffect)(function(){r.current&&"function"==typeof window.Intercom&&window.Intercom("update",{language_override:t(a)})},[a]),null}])},339630,e=>{"use strict";var n=e.i(966793),t=e.i(195897),o=e.i(353152);e.s(["default",0,function(){var e=(0,t.usePathname)();return(0,n.useEffect)(function(){if(e){var n=window.location.href;window.fbq&&window.__chalkieMetaPageViewUrl!==n&&(window.fbq("track","PageView"),window.__chalkieMetaPageViewUrl=n),window.oaiq&&window.__chalkieOpenAIPageViewUrl!==n&&(window.oaiq("measure","page_viewed",{type:"contents",contents:[{id:e,name:document.title,content_type:"page"}]}),window.__chalkieOpenAIPageViewUrl=n),(0,o.capturePosthogEvent)("$pageview",{$current_url:n,path:e})}},[e]),null}])},940921,e=>{"use strict";var n=e.i(347284),t=e.i(966793),o=e.i(195897),a=e.i(264614),r=e.i(507500);function i(){var e=(0,o.useSearchParams)();return(0,t.useEffect)(function(){(0,a.captureMarketingAttribution)();var e=function(){return(0,a.captureMarketingAttribution)()};return window.addEventListener("chalkie:openai-ads-ready",e),window.addEventListener(r.CONSENT_CHANGED_EVENT,e),function(){window.removeEventListener("chalkie:openai-ads-ready",e),window.removeEventListener(r.CONSENT_CHANGED_EVENT,e)}},[e]),null}e.s(["default",0,function(){return(0,n.jsx)(t.Suspense,{fallback:null,children:(0,n.jsx)(i,{})})}])}]); 3 4//# debugId=d83a5bc9-141d-da6e-b273-d4a95c1d240c
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.