PageSourceSearch

https://hexcoded.ai/_next/static/chunks/6060-8e79d575a4f77d56.js

js hexcoded.ai collected 2026-10-05 14:00:15 UTC 10,893 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6060],{8164:(e,t,n)=>{n.d(t,{z:()=>g});var i=n(79229);let r="G-0YRVQGCM7F",o="AW-18330658930",l="OorJCMTcs9McEPLQ3qRE",a="EyooCMHcs9McEPLQ3qRE";function c(){return"string"==typeof o&&o.length>0}function u(e,t){if(!("string"==typeof r&&r.length>0||c()))return;let n=window.gtag;if("function"==typeof n)try{t&&"object"==typeof t?n("event",e,t):n("event",e)}catch(e){}}function s(e,t){e&&u("conversion",{send_to:e,...t&&"object"==typeof t?t:{}})}async function d(e){try{var t;if("string"!=typeof e||0===e.length||!(null==(t=window.crypto)?void 0:t.subtle))return null;let n=e.trim().toLowerCase(),i=new TextEncoder,r=await window.crypto.subtle.digest("SHA-256",i.encode(n)),o=new Uint8Array(r),l="";for(let e of o)l+=e.toString(16).padStart(2,"0");return l}catch(e){return null}}async function p(){let{email:e,phone:t,firstName:n,lastName:i,postalCode:r,country:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l={},a={};if("string"==typeof e&&e.length>0){let t=await d(e);t&&(l.email_address=t)}if("string"==typeof t&&t.length>0){let e=await d(t);e&&(l.phone_number=e)}if("string"==typeof n&&n.trim().length>0){let e=await d(n);e&&(a.first_name=e)}if("string"==typeof i&&i.trim().length>0){let e=await d(i);e&&(a.last_name=e)}return"string"==typeof r&&r.trim().length>0&&(a.postal_code=r.trim()),"string"==typeof o&&2===o.trim().length&&(a.country=o.trim().toUpperCase()),Object.keys(a).length>0&&(l.address=a),Object.keys(l).length>0?l:null}var _=n(6847);let f="phc_o7q8WZf7siN7MAv3ZVD3JuYbwWe97DwxqD4x9mjwvaGj";function m(e,t,n){if(!("string"==typeof f&&f.length>0))return;let i=_.default&&"function"==typeof _.default.capture?_.default:null;if(i)try{i.capture(e,t&&"object"==typeof t?t:void 0)}catch(e){}}function y(e){try{e()}catch(e){}}let g={pageView(){y(()=>(0,i.$q)()),y(()=>u("page_view",{page_location:window.location.href,page_path:window.location.pathname+window.location.search}))},setUserIdentity(e){let{email:t,externalId:n,firstName:r,lastName:o}=e;y(()=>(0,i.uR)({email:t,externalId:n,firstName:r,lastName:o}))},viewContent(e){let{contentName:t,contentCategory:n,contentType:r,currentCycle:o,currentTab:l,selectedPlan:a}=e,c={};t&&(c.content_name=t),n&&(c.content_category=n),r&&(c.content_type=r),o&&(c.cycle=o),l&&(c.tab=l),a&&(c.selected_plan=a),y(()=>(0,i.u4)("ViewContent",c)),y(()=>u("view_item",{...t?{item_name:t}:{},...n?{item_category:n}:{},...r?{content_type:r}:{},...o?{cycle:o}:{},...l?{tab:l}:{},...a?{selected_plan:a}:{}})),y(()=>m("pricing_viewed",{...t?{content_name:t}:{},...n?{category:n}:{},...o?{cycle:o}:{},...l?{tab:l}:{},...a?{selected_plan:a}:{}}))},completeRegistration(e){let{userId:t,signupSource:n,country:r,referrer:a,email:d,firstName:_,lastName:f}=e,g=t?"registration_".concat(t):null,h={value:0,currency:"USD"};n&&(h.signup_source=n),r&&(h.country=r),a&&(h.referrer=a),y(()=>(0,i.u4)("CompleteRegistration",h,{eventID:g})),y(()=>u("sign_up",{...g?{event_id:g}:{},...n?{method:n}:{},...r?{country:r}:{}})),y(()=>m("signed_up",{...g?{event_id:g}:{},...n?{signup_source:n}:{},...r?{country:r}:{},...a?{referrer:a}:{}})),y(()=>{let e=c()&&l?"".concat(o,"/").concat(l):null;if(!e)return;let t={};g&&(t.transaction_id=g),s(e,t),("string"==typeof d&&d.length>0||"string"==typeof _&&_.length>0||"string"==typeof f&&f.length>0)&&p({email:d,firstName:_,lastName:f,country:r}).then(n=>{if(n)try{s(e,{...t,user_data:n})}catch(e){}}).catch(()=>{})})},initiateCheckout(e){let{planCode:t,cycle:n,subscriptionId:r=null,value:o,currency:l,numItems:a,contentIds:c,contentType:s,predictedLtv:d}=e,p=r?"checkout_".concat(r):t?"checkout_draft_".concat(t):null,_={content_name:t,content_category:n};"number"==typeof o&&o>0&&(_.value=o),l&&(_.currency=l),"number"==typeof a&&a>0&&(_.num_items=a),Array.isArray(c)&&c.length>0&&(_.content_ids=c),s&&(_.content_type=s),"number"==typeof d&&d>0&&(_.predicted_ltv=d),y(()=>(0,i.u4)("InitiateCheckout",_,{eventID:p})),y(()=>{let e={};p&&(e.event_id=p),"number"==typeof o&&o>0&&(e.value=o),l&&(e.currency=l),Array.isArray(c)&&c.length>0&&(e.items=c.map(e=>({item_id:e,item_name:t}))),t&&(e.item_name=t),n&&(e.cycle=n),"number"==typeof a&&a>0&&(e.num_items=a),u("begin_checkout",e)}),y(()=>m("checkout_started",{...p?{event_id:p}:{},...t?{plan:t}:{},...n?{cycle:n}:{},..."number"==typeof o&&o>0?{value:o}:{},...l?{currency:l}:{},..."number"==typeof a&&a>0?{num_items:a}:{}}))},purchase(e){let{subscriptionId:t,planCode:n,cycle:r,value:l,currency:d,numItems:_,contentIds:f,contentType:g,orderId:h,predictedLtv:v,email:b,firstName:w,lastName:k,postalCode:C,country:A}=e,D=t?"purchase_".concat(t):null,j={content_name:n,content_category:r};"number"==typeof l&&l>0&&(j.value=l),d&&(j.currency=d),"number"==typeof _&&_>0&&(j.num_items=_),Array.isArray(f)&&f.length>0&&(j.content_ids=f),g&&(j.content_type=g),h&&(j.order_id=h),"number"==typeof v&&v>0&&(j.predicted_ltv=v),y(()=>(0,i.u4)("Purchase",j,{eventID:D})),y(()=>{let e={};D&&(e.event_id=D),D&&(e.transaction_id=D),"number"==typeof l&&l>0&&(e.value=l),d&&(e.currency=d),Array.isArray(f)&&f.length>0&&(e.items=f.map(e=>({item_id:e,item_name:n}))),n&&(e.item_name=n),r&&(e.cycle=r),"number"==typeof _&&_>0&&(e.num_items=_),h&&(e.order_id=h),u("purchase",e)}),y(()=>m("subscription_started",{...D?{event_id:D}:{},...t?{subscription_id:t}:{},...n?{plan:n}:{},...r?{cycle:r}:{},..."number"==typeof l&&l>0?{value:l}:{},...d?{currency:d}:{},...h?{order_id:h}:{}})),y(()=>{let e=c()&&a?"".concat(o,"/").concat(a):null;if(!e)return;let t={};D&&(t.transaction_id=D),"number"==typeof l&&l>0&&(t.value=l),d&&(t.currency=d),s(e,t),("string"==typeof b&&b.length>0||"string"==typeof w&&w.length>0||"string"==typeof k&&k.length>0||"string"==typeof C&&C.length>0)&&p({email:b,firstName:w,lastName:k,postalCode:C,country:A}).then(n=>{if(n)try{s(e,{...t,user_data:n})}catch(e){}}).catch(()=>{})}),y(()=>m("subscription_started",{...D?{event_id:D}:{},...t?{subscription_id:t}:{},...n?{plan:n}:{},...r?{cycle:r}:{},..."number"==typeof l&&l>0?{value:l}:{},...d?{currency:d}:{},...h?{order_id:h}:{}}))},briefCreated(e){let{briefId:t,toolCode:n,projectId:i,plan:r}=e;y(()=>m("brief_created",{...t?{brief_id:t}:{},...n?{tool:n}:{},...i?{project_id:i}:{},...r?{plan:r}:{}}))},videoDownloaded(e){let{briefId:t,videoUrl:n,variantId:i,toolCode:r}=e;y(()=>m("video_downloaded",{...t?{brief_id:t}:{},...n?{video_url:n}:{},...i?{variant_id:i}:{},...r?{tool:r}:{}}))},creditsToppedUp(e){let{topupId:t,credits:n,amount:i,currency:r}=e;y(()=>m("credits_topped_up",{...t?{topup_id:t}:{},..."number"==typeof n&&n>0?{credits:n}:{},..."number"==typeof i&&i>0?{amount:i}:{},...r?{currency:r}:{}}))},toolOpened(e){let{toolCode:t,entry:n}=e;y(()=>m("tool_opened",{...t?{tool:t}:{},...n?{entry:n}:{}}))}
1,trialPitchViewed(e){let{surface:t}=e;y(()=>m("trial_pitch_viewed",{surface:t}))},trialCtaTapped(e){let{surface:t}=e;y(()=>m("trial_cta_tapped",{surface:t}))},paywallHit(e){let{surface:t,mode:n}=e;y(()=>m("paywall_hit",{surface:t,mode:n}))},trialMandateResolved(e){let{approved:t,surface:n,simulated:i}=e;y(()=>m(t?"trial_mandate_approved":"trial_mandate_failed",{surface:n,simulated:!0===i}))},toolSelectorViewed(){y(()=>m("tool_selector_viewed",{}))},toolSelectorPicked(e){let{tool:t}=e;y(()=>m("tool_selector_picked",{tool:t}))},toolSelectorSkipped(){y(()=>m("tool_selector_skipped",{}))},landingCtaClicked(e){let{location:t,variant:n}=e;y(()=>m("landing_cta_clicked",{location:t||"unknown",...n?{variant:n}:{}}))}}},79229:(e,t,n)=>{n.d(t,{$q:()=>l,jD:()=>r,u4:()=>o,uR:()=>a});let i="2638808026516962";function r(){return"string"==typeof i&&i.length>0}function o(e,t,n){if(!r())return;let i=window.fbq;if("function"==typeof i)try{let r=t&&"object"==typeof t?t:{},o=null==n?void 0:n.eventID;o?i("track",e,r,{eventID:o}):t&&"object"==typeof t?i("track",e,r):i("track",e)}catch(e){}}function l(){o("PageView")}function a(){let{email:e,externalId:t,firstName:n,lastName:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!r())return;let l=window.fbq;if("function"==typeof l)try{let r={};if("string"==typeof e&&e.includes("@")&&(r.em=e.trim().toLowerCase()),"string"==typeof t&&t.length>0&&(r.external_id=t),"string"==typeof n&&n.trim().length>0&&(r.fn=n.trim().toLowerCase()),"string"==typeof o&&o.trim().length>0&&(r.ln=o.trim().toLowerCase()),0===Object.keys(r).length)return;l("init",i,r)}catch(e){}}},96060:(e,t,n)=>{n.d(t,{PostHogProvider:()=>_,u:()=>p});var i=n(5032),r=n(67748),o=n(97081),l=n(74267),a=n(8164);let c="phc_o7q8WZf7siN7MAv3ZVD3JuYbwWe97DwxqD4x9mjwvaGj",u=(0,r.createContext)(null);function s(e,t){let n={email:e};try{let e=null==t?void 0:t.firstName,i=null==t?void 0:t.lastName;e&&(n.first_name=e),i&&(n.last_name=i),(null==t?void 0:t.id)&&(n.clerk_user_id=t.id),(null==t?void 0:t.createdAt)&&(n.signup_date=new Date(t.createdAt).toISOString())}catch(e){}try{let e=(0,l.SK)();e&&(e.utm_source&&(n.utm_source=e.utm_source),e.utm_medium&&(n.utm_medium=e.utm_medium),e.utm_campaign&&(n.utm_campaign=e.utm_campaign),e.utm_content&&(n.utm_content=e.utm_content),e.utm_term&&(n.utm_term=e.utm_term),e.gclid&&(n.gclid=e.gclid),e.gbraid&&(n.gbraid=e.gbraid),e.wbraid&&(n.wbraid=e.wbraid),e.fbclid&&(n.fbclid=e.fbclid),e.referrer&&(n.first_touch_referrer=e.referrer),e.captured_at&&(n.first_touch_at=e.captured_at))}catch(e){}return n}function d(e,t,n,i){try{a.z.setUserIdentity({email:e,externalId:t,firstName:n,lastName:i})}catch(e){}}function p(e){let t=(0,r.useContext)(u),[n,i]=(0,r.useState)(null),o=!c&&/^(localhost|127\.0\.0\.1|\[::1\]|.+\.local)$/i.test(window.location.hostname);return(0,r.useEffect)(()=>{if(!t||!e)return;let n=t.isFeatureEnabled(e);void 0!==n&&i(!!n);let r=t.onFeatureFlags(()=>{let n=t.isFeatureEnabled(e);i(void 0===n?null:!!n)});return()=>{try{r&&r()}catch(e){}}},[t,e]),!!o||n}function _(e){var t;let{children:l}=e,[a,p]=(0,r.useState)(null),_=(0,r.useRef)(!1),{isLoaded:f,isSignedIn:m,user:y}=(0,o.Jd)(),g=null==y||null==(t=y.primaryEmailAddress)?void 0:t.emailAddress;return(0,r.useEffect)(()=>{if(!_.current)c&&f&&(!m||g)&&(_.current=!0,Promise.resolve().then(n.bind(n,6847)).then(e=>{let{default:t}=e;if(t.init(c,{api_host:"https://us.i.posthog.com",person_profiles:"always",cross_subdomain_cookie:!0,persistence:"localStorage+cookie",enableSessionReplay:!0,session_recording:{maskAllInputs:!0,maskInputOptions:{password:!0},blockClass:"ph-no-capture"},...m&&g?{bootstrap:{distinctID:g,isIdentifiedID:!0}}:{}}),m&&g){t.setPersonPropertiesForFlags({email:g});let e=s(g,y);t.identify(g,e),d(g,null==y?void 0:y.id,null==y?void 0:y.firstName,null==y?void 0:y.lastName)}p(t)}).catch(()=>{}))},[f,m,g]),(0,r.useEffect)(()=>{if(a&&f)if(m&&g){a.setPersonPropertiesForFlags({email:g});let e=s(g,y);a.identify(g,e),d(g,null==y?void 0:y.id),"function"==typeof a.reloadFeatureFlags&&a.reloadFeatureFlags()}else m||a.reset()},[a,f,m,g]),(0,i.jsx)(u.Provider,{value:a,children:l})}}}]);

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.