PageSourceSearch

https://www.beaugmented.ai/_next/static/chunks/37m7o0kmyxmxr.js

js beaugmented.ai collected 2026-10-05 15:28:12 UTC 8,643 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,53129,e=>{e.v(t=>Promise.all(["static/chunks/2gfca8mrb4lwr.js"].map(t=>e.l(t))).then(()=>t(55268)))},57019,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return d}});let n=e.r(43476),a=e.r(71645),i=e.r(5550),o=e.r(18581),s=e.r(8372),u=e.r(3017),l=e.r(91949),c=e.r(9396);function d({replace:e,scroll:t,prefetch:r,ref:f,...m}){let p=(0,a.useContext)(s.AppRouterContext),b=m.action,h="string"==typeof b;for(let e of u.DISALLOWED_FORM_PROPS)e in m&&delete m[e];let g=!!p&&h&&null===(!1===r||null===r?r:null),v=(0,a.useCallback)(e=>(g&&null!==p&&(0,l.mountFormInstance)(e,b,p,c.FetchStrategy.PPR),()=>{(0,l.unmountPrefetchableInstance)(e)}),[g,b,p]),y=(0,o.useMergedRef)(v,f??null);if(!h)return(0,n.jsx)("form",{...m,ref:y});let x=(0,i.addBasePath)(b);return(0,n.jsx)("form",{...m,ref:y,action:x,onSubmit:r=>(function(e,{actionHref:t,onSubmit:r,replace:n,scroll:a,router:i}){if("function"==typeof r&&(r(e),e.defaultPrevented)||!i)return;let o=e.currentTarget,s=e.nativeEvent.submitter,l=t;if(s){if((0,u.hasUnsupportedSubmitterAttributes)(s)||(0,u.hasReactClientActionAttributes)(s))return;let e=s.getAttribute("formAction");null!==e&&(l=e)}let c=(0,u.createFormSubmitDestinationUrl)(l,o);e.preventDefault();let d=c.href;i[n?"replace":"push"](d,{scroll:a})})(r,{router:p,actionHref:x,replace:e,scroll:t,onSubmit:m.onSubmit})})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},3017,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={DISALLOWED_FORM_PROPS:function(){return i},checkFormActionUrl:function(){return s},createFormSubmitDestinationUrl:function(){return o},hasReactClientActionAttributes:function(){return f},hasUnsupportedSubmitterAttributes:function(){return d},isSupportedFormEncType:function(){return u},isSupportedFormMethod:function(){return l},isSupportedFormTarget:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=["method","encType","target"];function o(e,t){let r;try{let t=window.location.href;r=new URL(e,t)}catch(t){throw Object.defineProperty(Error(`Cannot parse form action "${e}" as a URL`,{cause:t}),"__NEXT_ERROR_CODE",{value:"E152",enumerable:!1,configurable:!0})}for(let[e,n]of(r.searchParams.size&&(r.search=""),new FormData(t)))"string"!=typeof n&&(n=n.name),r.searchParams.append(e,n);return r}function s(e,t){let r,n="action"===t?"an `action`":"a `formAction`";try{r=new URL(e,"http://n")}catch(t){console.error(`<Form> received ${n} that cannot be parsed as a URL: "${e}".`);return}r.searchParams.size&&console.warn(`<Form> received ${n} that contains search params: "${e}". This is not supported, and they will be ignored. If you need to pass in additional search params, use an \`<input type="hidden" />\` instead.`)}let u=e=>"application/x-www-form-urlencoded"===e,l=e=>"get"===e,c=e=>"_self"===e;function d(e){let t=e.getAttribute("formEncType");if(null!==t&&!u(t))return!0;let r=e.getAttribute("formMethod");if(null!==r&&!l(r))return!0;let n=e.getAttribute("formTarget");return!(null===n||c(n))}function f(e){let t=e.getAttribute("formAction");return t&&/\s*javascript:/i.test(t)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},24388,e=>{"use strict";var t,r,n,a,i,o,s=e.i(43476);(t=a||(a={})).ERROR="error",t.LOADING="loading",t.PLAYING="playing",t.PAUSED="paused",t.READY="ready",(r=i||(i={})).SHA_256="SHA-256",r.SHA_384="SHA-384",r.SHA_512="SHA-512",(n=o||(o={})).CODE="code",n.ERROR="error",n.VERIFIED="verified",n.VERIFYING="verifying",n.UNVERIFIED="unverified",n.EXPIRED="expired";var u=e.i(57019),l=e.i(71645),c=e.i(46696),d=e.i(19455),f=e.i(75157);let m=(0,f.cn)("border-border bg-transparent px-10 py-5 text-body text-foreground placeholder:text-muted-foreground focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-ring user-invalid:border-destructive user-invalid:outline-destructive aria-invalid:border-destructive aria-invalid:outline-destructive disabled:cursor-not-allowed disabled:opacity-50");function p({className:e,...t}){return(0,s.jsx)("input",{className:(0,f.cn)(m,"rounded-full border",e),...t})}function b({className:e,...t}){return(0,s.jsx)("textarea",{className:(0,f.cn)(m,"rounded-3xl border",e),...t})}var h=e.i(38035),g=e.i(31670);let v="contact-form";function y({onStateChange:t,...r}){(0,l.useEffect)(()=>{let t=!0;return e.A(53129).then(()=>{t&&globalThis.$altcha.i18n.set(v,{...globalThis.$altcha.i18n.get("en"),label:""})}),()=>{t=!1}},[]);let n=(0,l.useRef)(null);return(0,l.useEffect)(()=>{let e=e=>{"detail"in e&&t?.(e.detail)}
1,{current:r}=n;if(r)return r.addEventListener("statechange",e),()=>r.removeEventListener("statechange",e)},[t]),(0,s.jsx)("altcha-widget",{language:v,...r,ref:n})}let x=JSON.stringify({hideFooter:!0,hideLogo:!0});e.s(["default",0,function({className:e,action:t,onChange:r,...n}){let[a,i]=(0,l.useState)(void 0),[m,v]=(0,l.useState)(!1),[S,R]=(0,l.useState)(!1),E=(0,l.useRef)(!1),w=(0,l.useRef)(null),[A,j]=(0,l.useState)(o.UNVERIFIED),F=S||A===o.VERIFYING;(0,l.useEffect)(()=>{let e=w.current;return()=>{e&&(0,h.disposeFormSubmission)(e)}},[]);let P=(0,g.default)();return(0,s.jsxs)(u.default,{id:"contact-form",ref:w,"aria-busy":F,action:async e=>{if(!E.current){E.current=!0,i(void 0),R(!0);try{let r=await t(e);if(w.current&&(0,h.settleFormSubmission)(w.current,{ok:r.ok}),r.ok)w.current?.reset(),v(!0),P(()=>v(!1),2e3);else{let e=r.error??"Something went wrong submitting the form";c.toast.error(e),i(e)}}catch{let e="Something went wrong submitting the form";w.current&&(0,h.settleFormSubmission)(w.current,{ok:!1}),c.toast.error(e),i(e)}finally{E.current=!1,R(!1)}}},...n,onChange:e=>{a&&i(void 0),m&&v(!1),r?.(e)},className:(0,f.cn)("group flex flex-col gap-5 mb-12 flex-3 max-w-3xl",e),"data-assistant-form":!0,children:[(0,s.jsx)(p,{type:"text",placeholder:"Your Name",name:"name",required:!0,maxLength:100}),(0,s.jsx)(p,{type:"email",placeholder:"Your Email",name:"email",required:!0,maxLength:254}),(0,s.jsx)(b,{placeholder:"Your Message",className:"flex-1 min-h-46",name:"message",required:!0,maxLength:5e3}),(0,s.jsxs)("div",{className:"flex flex-row gap-4 items-center justify-between",children:[(0,s.jsx)(d.Button,{type:"submit",variant:"secondary",size:"sm",disabled:F,className:(0,f.cn)("self-start px-10 py-2.5 font-semibold uppercase","group-invalid:opacity-30",m&&"opacity-100! pointer-events-none text-primary border-primary"),children:m?"Success!":"Send"}),(0,s.jsxs)("div",{className:"flex flex-row",children:[(0,s.jsx)(y,{style:{display:A===o.VERIFYING?"block":"none","--altcha-border-width":"0"},onStateChange:({state:e})=>{A!==e&&j(e),e===o.ERROR&&(i("Verification failed. Try again later."),w.current&&(0,h.settleFormSubmission)(w.current,{ok:!1}))},challenge:"/api/captcha",auto:"onsubmit",configuration:x}),a&&A!==o.VERIFYING&&(0,s.jsx)("p",{className:"text-body text-destructive",children:a})]})]})]})}],24388)},38035,e=>{"use strict";let t=new WeakMap,r=(e,r,n)=>{r.settled||t.get(e)!==r||(r.settled=!0,window.clearTimeout(r.timeoutId),t.delete(e),r.resolve(n))},n=(e,n)=>{let a=t.get(e);a&&r(e,a,{status:"settled",result:n})};e.s(["acquireFormSubmission",0,(e,n)=>{if(t.has(e))return{status:"busy"};let a=()=>{},i={started:!1,settled:!1,timeoutId:0,promise:new Promise(e=>{a=e}),resolve:e=>a(e)};return i.timeoutId=window.setTimeout(()=>r(e,i,{status:"timed_out"}),n),t.set(e,i),{status:"acquired",attempt:{markStarted:()=>!i.settled&&t.get(e)===i&&(i.started=!0,!0),releaseBeforeStart:()=>{i.started||r(e,i,{status:"cancelled"})},wait:e=>new Promise(t=>{let r=!1,n=n=>{r||(r=!0,e?.removeEventListener("abort",a),t(n))},a=()=>n({status:"cancelled"});e?.aborted?a():(e?.addEventListener("abort",a,{once:!0}),i.promise.then(n))})}}},"disposeFormSubmission",0,e=>{let n=t.get(e);n&&r(e,n,{status:"cancelled"})},"failFormSubmission",0,e=>{n(e,{ok:!1})},"settleFormSubmission",0,n])},31670,e=>{"use strict";var t=e.i(71645);e.s(["default",0,function(){let e=(0,t.useRef)(null),r=(0,t.useCallback)((t,r)=>(e.current&&clearTimeout(e.current),e.current=setTimeout(t,r),e.current),[]);return(0,t.useEffect)(()=>()=>{e.current&&clearTimeout(e.current)},[]),r}])}]);

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.