PageSourceSearch

https://www.clientpoint.me/_next/static/chunks/pages/pricing-bb26e3c443b3b788.js

js clientpoint.me collected 2026-10-02 07:13:51 UTC 2,822 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9939],{20726:function(a,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pricing",function(){return t(40511)}])},40511:function(a,e,t){"use strict";t.r(e),t.d(e,{default:function(){return h}});var n=t(52322),i=t(2784),c=t(12907),s=t(94449),o=t(66773),r=t(5632),l=t(41859),u=t(95207),p=t(12910),d=t(37129);function h(){let a=(0,r.useRouter)(),e=(0,s.v9)(a=>a.auth),[t,h]=(0,i.useState)(!1),{subscribed:w}=(0,s.v9)(a=>a.assistant),[f,g]=(0,i.useState)(""),m=(0,u.yL)(),_=(0,i.useCallback)(()=>{u.zk.post(p.R8+"/subscription/iframe-url",JSON.stringify({userId:e.userId,email:e.email,redirectUrl:m?"https://go.clientpoint.me/ai_pro_success":window.location.href,inIframe:m})).then(e=>{g("https://www.clientpoint.net/pricing-0-1".concat(a.asPath.replace("/pricing",""),"&subscription_type=free_trial&current_package=free&term=annual&inIframe=").concat(m,"&").concat(e.data.data.split("?")[1]))})},[a.asPath,e.email,e.userId]),v=a=>{h(a[0])};(0,i.useEffect)(()=>(d.T.on("PROFILE_MENU_OPEN",a=>{v(a)}),()=>{d.T.removeListener("OPEN_JOB_DETAILS_VIEW",a=>{v(a)})}),[]);let I=(0,i.useCallback)(()=>u.zk.get("".concat(p.R8,"/subscription/manage-subscription/").concat(e.userId,"/").concat(encodeURIComponent(window.location.origin))).then(e=>{var t;(null===(t=e.data)||void 0===t?void 0:t.data)?g("https://www.clientpoint.net/pricing-0-1".concat(a.asPath.replace("/pricing",""),"&current_package=ai_pro&term=annual&inIframe=").concat(m,"&manage_subscription=").concat(encodeURIComponent(e.data.data))):g("https://www.clientpoint.net/pricing-0-1".concat(a.asPath.replace("/pricing",""),"&current_package=ai_pro&term=annual&inIframe=").concat(m))}),[a.asPath,e.userId]);return(0,i.useEffect)(()=>{var a;null===(a=window.rudderanalytics)||void 0===a||a.page()},[]),(0,i.useEffect)(()=>{w?I():u.zk.get(p.R8+"/assistant/user/"+e.userId+"/activated").then(a=>{var e;(null==a?void 0:null===(e=a.data)||void 0===e?void 0:e.data)?I():_()}).catch(()=>{_()})},[_,I,w,e.userId]),(0,n.jsxs)("div",{className:"h-screen overflow-hidden",children:[(0,n.jsx)("div",{className:"top-0 z-10 w-full",children:(0,n.jsx)(c.h,{user:e,fs:!1,auth0Instance:o.Z})}),(0,n.jsxs)("div",{className:"height-100 pricing-page",children:[(0,n.jsx)("div",{className:"close-pricing cursor-pointer hover:bg-primaryLightBg ".concat(t?"opacity-0":"opacity-100"),onClick:()=>a.push("/"),children:(0,n.jsx)(l.Z,{style:{fontSize:20}})}),f&&(0,n.jsx)("iframe",{sandbox:"allow-forms allow-modals allow-popups allow-same-origin allow-scripts allow-top-navigation allow-downloads allow-popups-to-escape-sandbox allow-presentation",id:"iframe",src:f,width:"100%",height:"100%"})]})]})}}},function(a){a.O(0,[3325,2182,5220,2812,5417,3661,6577,9097,1055,524,3850,2888,9774,179],function(){return a(a.s=20726)}),_N_E=a.O()}]);

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.