PageSourceSearch

https://hexabot.ai/_next/static/chunks/5397.cd4de3e205c94da1.js

js hexabot.ai collected 2026-10-02 05:15:19 UTC 5,264 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5397],{68005:function(e,t,n){n.d(t,{B6:function(){return a},Cf:function(){return r},X3:function(){return i},ZO:function(){return o},fs:function(){return c},mA:function(){return s},v9:function(){return d}});let i="hexabot_cookie_consent",o="hexabot_optional_cookie_consent",a="accepted",s="declined",r="hexabot:cookie-consent:settings",c="ls_aff_ref",l=e=>{var t;if("undefined"!=typeof document)return null===(t=document.cookie.split(";").map(e=>e.trim()).find(t=>t.startsWith("".concat(e,"="))))||void 0===t?void 0:t.slice(e.length+1)},d=()=>l(o)===a},95397:function(e,t,n){n.r(t),n.d(t,{CookieConsentManager:function(){return k}});var i,o,a=n(57437),s=n(13786),r=n(27648),c=n(48667),l=n(2265),d=n(99868),u=n(68005),f=n(40257);let g=m("https://hexabot.ai".trim()||"https://hexabot.ai");function m(e){return e.replace(/\/+$/,"")}m((null===(i=f.env.BLOG_URL)||void 0===i?void 0:i.trim())||"https://blog.hexabot.ai"),m((null===(o=f.env.NEXT_PUBLIC_API_ORIGIN)||void 0===o?void 0:o.trim())||"http://localhost:4000");let h=(e,t)=>{var n,i;window.dataLayer=null!==(n=window.dataLayer)&&void 0!==n?n:[],window.gtag=null!==(i=window.gtag)&&void 0!==i?i:function(){for(var e,t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];null===(e=window.dataLayer)||void 0===e||e.push(n)},window.gtag("consent",e,{ad_personalization:t,ad_storage:t,ad_user_data:t,analytics_storage:t})},x=e=>"_ga"===e||"_gid"===e||"_gat"===e||e.startsWith("_ga_")||e.startsWith("_gac_")||e.startsWith("_gcl_"),p=e=>x(e)||e===u.fs,w=(e,t)=>{document.cookie="".concat(e,"=; Path=/; Max-Age=0; SameSite=Lax").concat(t?"; Domain=".concat(t):"")},b=()=>{let{hostname:e}=window.location,t=new Set;return t.add(e),e.includes(".")&&(t.add(".".concat(e)),t.add(".".concat(e.split(".").slice(-2).join(".")))),[...t]},v=()=>{document.cookie.split(";").map(e=>{var t;return null===(t=e.split("=")[0])||void 0===t?void 0:t.trim()}).filter(e=>!!e).filter(p).forEach(e=>{w(e),b().forEach(t=>{w(e,t)})})};function _(){return(0,a.jsx)(c.default,{id:"google-ads-tag",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || [];\nwindow.gtag = window.gtag || function () { window.dataLayer.push(arguments); };\nwindow.gtag('config', '".concat("AW-18145652687","');")}})}function y(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.default,{id:"lemon-squeezy-affiliate-config",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:'window.lemonSqueezyAffiliate
1Config = { store: "hexabot" };'}}),(0,a.jsx)(c.default,{id:"lemon-squeezy-affiliate",src:"https://lmsqueezy.com/affiliate.js",strategy:"afterInteractive"})]})}function k(){let[e,t]=(0,l.useState)(!1),[n,i]=(0,l.useState)("byCookieValue");return(0,l.useEffect)(()=>{let e=(0,u.v9)();h("default",e?"granted":"denied"),t(e);let n=()=>{(0,d.V0)(u.ZO),(0,d.V0)(u.X3),h("update","denied"),t(!1),i("show"),v()};return window.addEventListener(u.Cf,n),()=>{window.removeEventListener(u.Cf,n)}},[]),(0,a.jsxs)(a.Fragment,{children:[e?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.GoogleTagManager,{gtmId:"GTM-NQCWMZDQ"}),(0,a.jsx)(s.GoogleAnalytics,{gaId:"G-0B5MKF3YKH"}),(0,a.jsx)(_,{}),(0,a.jsx)(y,{})]}):null,(0,a.jsxs)(d.ZP,{ariaAcceptLabel:"Accept cookies",ariaDeclineLabel:"Decline cookies",buttonClasses:"inline-flex h-9 flex-1 items-center justify-center rounded-md bg-zinc-950 px-4 text-sm font-medium text-white transition hover:bg-zinc-800 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-950 focus-visible:ring-offset-2",buttonText:"Accept",buttonWrapperClasses:"flex w-full flex-col-reverse gap-2 sm:flex-row",containerClasses:"fixed bottom-4 left-4 z-50 flex w-[calc(100%-2rem)] max-w-[25rem] flex-col gap-4 roun
1ded-lg border border-zinc-200 bg-white p-4 shadow-[0_18px_60px_-24px_rgba(15,23,42,0.42)] sm:bottom-6 sm:left-6 sm:p-5",contentClasses:"text-sm leading-6 text-zinc-700",cookieName:u.ZO,cookieValue:u.B6,customContainerAttributes:{"aria-label":"Cookie consent",role:"region"},declineButtonClasses:"inline-flex h-9 flex-1 items-center justify-center rounded-md border border-zinc-300 bg-white px-4 text-sm font-medium text-zinc-900 transition hover:bg-zinc-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-950 focus-visible:ring-offset-2",declineButtonText:"Decline",declineCookieValue:u.mA,disableButtonStyles:!0,disableStyles:!0,enableDeclineButton:!0,expires:180,location:"bottom",onAccept:()=>{h("update","granted"),t(!0),i("hidden")},onDecline:()=>{h("update","denied"),t(!1),i("hidden"),v()},sameSite:"lax",visible:n,children:[(0,a.jsx)("span",{className:"block font-medium text-zinc-950",children:"Cookies"}),(0,a.jsxs)("span",{className:"mt-1 block",children:["We use essential cookies to keep the site working, plus optional cookies for analytics and advertising — including measuring Google Ads campaigns. You can accept or decline them anytime. Read our"," ",(0,a.jsx)(r.default,{className:"font-medium underline",href:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/";return/^https?:\/\//.test(e)?e:new URL(e.startsWith("/")?e:"/".concat(e),"".concat(g,"/")).toString()}("/privacy"),children:"Privacy Policy"}),"."]})]})]})}}}]);

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.