PageSourceSearch

https://app.focusmate.com/chunk-7WIB5Y7A.js

js focusmate.com collected 2026-09-24 09:27:21 UTC 3,633 bytes, 4 lines download raw bytes

1import{G as j,oe as D,tc as M,uc as P}from"./chunk-X3UW4FV3.js";import"./chunk-3KUWIZFM.js";import{Kb as V,t as U,za as E}from"./chunk-QTYJNS4L.js";import{Gb as h,Gc as _,Ib as u,Kb as x,Ue as R,Ve as L,Wa as m,Yb as l,Zb as g,bb as i,db as b,kc as w,kd as S,pb as C,qd as I,rb as k,sd as T,wb as f,xb as e,ya as p,yb as o,za as d,zb as y}from"./chunk-NFWLLSTH.js";var A=()=>({autofocus:!1});function q(s,n){if(s&1){let B=h();e(0,"p-button",14),u("click",function(){p(B);let t=x();return d(t.goBack())}),o()}s&2&&f("buttonProps",w(2,A))("outlined",!0)}var F=`Want to cowork with me on Focusmate? It\u2019s a video call where we work on our own projects and hold each other accountable.
2
3`,te=(()=>{let n=class n{constructor(r,t,a,c,v,N,O){this.analyticsService=r,this.route=t,this.cdr=a,this.router=c,this.viewPortService=v,this.userService=N,this.dialogService=O,this.invitationText="",this.baseUrl=S.homeUrl,this.currentUser=new U}ngOnInit(){this.currentUser=this.route.snapshot.data.currentUser,this.invitationText=F+this.baseUrl+"/i/"+this.currentUser.availabilityCode}goBack(){this.router.navigate(["/dashboard"])}onCopyClick(){this.showLinkCopied=!0,navigator.clipboard.writeText(this.invitationText),this.analyticsService.logClickedEvent("Copy Rewards Referral Link","Rewards Referral Page"),setTimeout(()=>{this.showLinkCopied=!1,this.cdr.markForCheck()},2e3)}resetInviteLink(){this.dialogService.openConfirmInivteLinkResetModal(this.currentUser.availabilityCode).onClose.subscribe(r=>{r.availabilityCode&&(this.invitationText=F+this.baseUrl+"/i/"+r.availabilityCode)})}};n.\u0275fac=function(t){return new(t||n)(i(V),i(I),i(_),i(T),i(E),i(j),i(D))},n.\u0275cmp=b({type:n,selectors:[["app-invite"]],decls:21,vars:5,consts:[["confettiCanvas",""],[1,"relative","flex","flex-col","h-full","bg-p-content-background","bp908:rounded-2xl","shadow-fm","font-inter","animation-fade-in"],[1,"absolute","top-0","left-0","w-full","h-full","z-[1]"],[1,"w-full","flex-1","p-6","overflow-hidden","font-inter","z-[2]"],[1,"flex","flex-col","gap-6","font-inter"],[1,"flex","flex-col","gap-2.5","font-inter"],[1,"flex","items-center","gap-4"],["severity","secondary","icon","pi pi-arrow-left","aspect","square",3,"buttonProps","outlined"],[1,"text-2xl","font-semibold","text-color"],[1,"text-base","font-normal","text-muted-color"],["variant","text","severity","secondary"],[1,"flex","flex-col","justify-center","items-center","w-full"],[1,"w-full","sm:w-fit","sm:min-w-[88px]","ml-auto","mt-3",3,"click","buttonProps","label"],["severity","secondary","label","Reset invite link",1,"mt-4",3,"click"],["severity","secondary","icon","pi pi-arrow-left","aspect","square",3,"click","buttonProps","outlined"]],template:function(t,a){if(t&1){let c=h();e(0,"div",1),y(1,"div",2,0),e(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6),C(7,q,1,3,"p-button",7),e(8,"div",8),l(9," Cowork with someone you know "),o()(),e(10,"div",9)(11,"p"),l(12,"Share your private booking link to invite someone to cowork with you."),o(),e(13,"p"),l(14,"They\u2019ll be able to see your upcoming sessions and book directly with you."),o()()(),e(15,"p-message",10)(16,"div",11)(17,"div"),l(18),o(),e(19,"p-button",12),u("click",function(){return p(c),d(a.onCopyClick())}),o()()(),e(20,"p-button",13),u("click",function(){return p(c),d(a.resetInviteLink())}),o()()()()}t&2&&(m(7),k(a.viewPortService.isMobile()?7:-1),m(11),g(a.invitationText),m(),f("buttonProps",w(4,A))("label",a.showLinkCopied?"Copied!":"Copy message"))},dependencies:[L,R,P,M],encapsulation:2,changeDetection:0});let s=n;return s})();export{te as InviteComponent};
4//# sourceMappingURL=chunk-7WIB5Y7A.js.map

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.