PageSourceSearch

https://app.tweethunter.io/_next/static/chunks/pages/invite-55240658efd3f055.js

js tweethunter.io collected 2026-09-24 09:24:30 UTC 3,257 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="dc47aa83-ee7d-4910-b01a-3f82eec094b4",e._sentryDebugIdIdentifier="sentry-dbid-dc47aa83-ee7d-4910-b01a-3f82eec094b4")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6273],{386:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/invite",function(){return i(64843)}])},64843:function(e,n,i){"use strict";i.r(n);var t=i(85893),a=i(90038),r=i(31046),o=i(68029),d=i(50232),s=i(51107),c=i(90092),l=i(88329),u=i(38488),h=i(67294),v=i(48633),f=i(74931),g=i(85551),p=i(96885),m=i(29992),x=i(95857);n.default=()=>{var e,n;let i=(0,p.useRouter)(),[w,b]=(0,v.kP)(),[y]=(0,a.a)("(max-width: 600px)"),{colorMode:_}=(0,r.If)(),[j,k]=h.useState(!1),[N,I]=h.useState(!1),[D,z]=h.useState(!1),T=(0,m.I)();return(0,t.jsx)(o.x,{pl:y?2:100,pt:10,children:(0,t.jsxs)(o.x,{children:[(0,t.jsx)(d.X,{children:"You have been invited in an organization"}),T?(null===(e=(0,x.D0)(w))||void 0===e?void 0:e.inviteOrgTwUserName)?(0,t.jsxs)(o.x,{children:[(0,t.jsxs)(d.X,{mt:16,fontSize:"lg",children:["You've been invited by @",null===(n=(0,x.D0)(w))||void 0===n?void 0:n.inviteOrgTwUserName]}),(0,t.jsx)(s.X,{mt:5,fontWeight:"medium",isChecked:N,onChange:e=>{I(!N)},children:"Share my account with my organization"}),(0,t.jsx)(c.x,{color:"neutral.content",children:"Allow people in your organization with an admin or content writer role to use your Tweet Hunter account on your behalf"}),(0,t.jsx)(l.k,{mt:10,children:(0,t.jsx)(u.z,{variant:"primary",isLoading:j,onClick:async()=>{var e,n,t,a,r;k(!0),await (0,x.Nq)(w,{orgAcceptShare:N});let o=await (0,g.qC)({url:"payment-acceptInvite",token:"",data:{inviteOrgTwUserName:null===(e=(0,x.D0)(w))||void 0===e?void 0:e.inviteOrgTwUserName,inviteOrgId:null===(n=(0,x.D0)(w))||void 0===n?void 0:n.inviteOrgId,idUser:null==w?void 0:null===(a=w.user)||void 0===a?void 0:null===(t=a.data)||void 0===t?void 0:t.id},session:w});o.success?(f.default.success("Invitation accepted"),i.push((null===(r=(0,x.D0)(w))||void 0===r?void 0:r.description)?"/auto":"/onboarding")):(f.default.error("An error occurred: "+o.message),k(!1))},isDisabled:!T,children:"Join Organization"})})]}):(0,t.jsxs)(o.x,{children:[(0,t.jsx)(c.x,{mt:20,fontWeight:"600",fontSize:"lg",children:"Invitation not found"}),(0,t.jsx)(u.z,{mt:10,variant:"primary",onClick:e=>{i.push("/auto")},children:"Get back in the app"})]}):(0,t.jsxs)(o.x,{children:[(0,t.jsx)(c.x,{mt:20,fontWeight:"600",fontSize:"lg",children:"You need a Tweet Hunter account to accept it"}),(0,t.jsx)(u.z,{mt:10,onClick:e=>i.push("/sign"),variant:"primary",isDisabled:b,children:"Sign Up"})]})]})})}},50232:function(e,n,i){"use strict";i.d(n,{X:function(){return c}});var t=i(85893),a=i(65544),r=i(34926),o=i(49381),d=i(73035),s=i(17997);let c=(0,o.G)(function(e,n){let i=(0,d.m)("Heading",e),{className:o,...c}=(0,a.L)(e);return(0,t.jsx)(s.m.h2,{ref:n,className:(0,r.cx)("chakra-heading",e.className),...c,__css:i})});c.displayName="Heading"}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=386)}),_N_E=e.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.