PageSourceSearch

https://jammcard.com/26.5ea2103603b7fbf0039e.js

js jammcard.com collected 2026-10-02 09:55:23 UTC 9,117 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkjammcard_web_app=self.webpackChunkjammcard_web_app||[]).push([[26],{65026:(lt,l,i)=>{i.r(l),i.d(l,{MyOpportunitiesModule:()=>dt});var r=i(38583),c=i(95987),v=i(75276),C=i(88291),p=i(96863),d=i(26215),T=i(77375),u=i(82011),t=i(37716),h=i(5469),f=i(31644),M=i(53370),b=i(90609),y=i(25917),O=i(43190),S=i(45435),x=i(15257),B=i(68307),N=i(88002),A=i(19590),J=i(90894),_=i(34014),j=i(23065),E=i(59291),Z=i(77121),L=i(6578),G=i(55859),m=i(84648);function I(e,a){if(1&e){const n=t.EpF();t.TgZ(0,"app-jammboard-gig-main-card",8),t.NdJ("emitReloadGigs",function(){return t.CHM(n),t.oxw(3).reloadGigs()}),t.qZA()}2&e&&t.Q6J("gigData",a.$implicit)("showSubMenu",!0)}function $(e,a){if(1&e){const n=t.EpF();t.ynx(0),t.YNc(1,I,1,2,"app-jammboard-gig-main-card",6),t.TgZ(2,"div",7),t.NdJ("visible",function(s){return t.CHM(n),t.oxw(2).bottomReached(s)}),t.qZA(),t.BQk()}if(2&e){const n=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",n.gigs),t.xp6(1),t.Q6J("debounceTime",500)}}function Y(e,a){1&e&&t.GkF(0)}function F(e,a){if(1&e&&(t.TgZ(0,"div",3),t.YNc(1,$,3,2,"ng-container",4),t.YNc(2,Y,1,0,"ng-container",5),t.qZA()),2&e){const n=t.oxw(),o=t.MAs(5);t.xp6(1),t.Q6J("ngIf",!!n.gigs.length),t.xp6(1),t.Q6J("ngTemplateOutlet",o)}}function Q(e,a){if(1&e){const n=t.EpF();t.TgZ(0,"app-jammboard-gig-main-card",8),t.NdJ("emitReloadGigs",function(){return t.CHM(n),t.oxw(3).reloadGigs()}),t.qZA()}2&e&&t.Q6J("gigData",a.$implicit)("showSubMenu",!0)}function w(e,a){if(1&e){const n=t.EpF();t.ynx(0),t.YNc(1,Q,1,2,"app-jammboard-gig-main-card",6),t.TgZ(2,"div",7),t.NdJ("visible",function(s){return t.CHM(n),t.oxw(2).bottomReached(s)}),t.qZA(),t.BQk()}if(2&e){const n=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",n.gigs),t.xp6(1),t.Q6J("debounceTime",500)}}function D(e,a){1&e&&t.GkF(0)}function P(e,a){if(1&e&&(t.TgZ(0,"div",3),t.YNc(1,w,3,2,"ng-container",4),t.YNc(2,D,1,0,"ng-container",5),t.qZA()),2&e){const n=t.oxw(),o=t.MAs(5);t.xp6(1),t.Q6J("ngIf",!!n.gigs.length),t.xp6(1),t.Q6J("ngTemplateOutlet",o)}}function R(e,a){1&e&&t._UZ(0,"app-jammboard-gig-main-card",10),2&e&&t.Q6J("gigData",a.$implicit)("showSubMenu",!1)}function H(e,a){if(1&e){const n=t.EpF();t.ynx(0),t.YNc(1,R,1,2,"app-jammboard-gig-main-card",9),t.TgZ(2,"div",7),t.NdJ("visible",function(s){return t.CHM(n),t.oxw(2).bottomReached(s)}),t.qZA(),t.BQk()}if(2&e){const n=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",n.gigs),t.xp6(1),t.Q6J("debounceTime",500)}}function U(e,a){1&e&&t.GkF(0)}function X(e,a){if(1&e&&(t.TgZ(0,"div",3),t.YNc(1,H,3,2,"ng-container",4),t.YNc(2,U,1,0,"ng-container",5),t.qZA()),2&e){const n=t.oxw(),o=t.MAs(5);t.xp6(1),t.Q6J("ngIf",!!n.gigs.length),t.xp6(1),t.Q6J("ngTemplateOutlet",o)}}function z(e,a){if(1&e&&t._UZ(0,"app-no-data",13),2&e){const n=t.oxw(2);t.Q6J("noDataTitle",n.noDataTitle)}}function W(e,a){1&e&&(t.TgZ(0,"div"),t._UZ(1,"bullet-list-content-loader"),t._UZ(2,"list-content-loader"),t.qZA())}const k=function(){return[]};function K(e,a){1&e&&(t.TgZ(0,"div",14),t.YNc(1,W,3,0,"div",15),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngForOf",t.DdM(1,k).constructor(6)))}function V(e,a){if(1&e&&(t.YNc(0,z,1,1,"app-no-data",11),t.YNc(1,K,2,2,"div",12)),2&e){const n=t.oxw();t.Q6J("ngIf",!n.gigs.length&&!n.gigLoadingInProgress),t.xp6(1),t.Q6J("ngIf",n.gigLoadingInProgress)}}let q=(()=>{class e{constructor(n,o,s,g,ct,mt){this.activeRoute=n,this.isBrowserService=o,this.jammboardService=s,this.router=g,this.store=ct,this.toastService=mt,this.subStateChange$=new d.X(null),this.stateChange=new t.vpe,this.subStateChange=new t.vpe,this.gigs=[],this.gigLoadingInProgress=!0,this.routeList=["posted","filled","deleted"],this.shouldShowNavigationTabs$=new d.X(!0),this.stateChange$=new d.X(null),this.hasMoreGigsToLoad=!0,this.gigsPageToLoad=0}ngOnInit(){this.isBrowserService.isBrowser()&&this.activeRoute.queryParams.pipe((0,O.w)(n=>void 0!==this.jammboardEnabled?(0,y.of)(n):this.store.select(J.Q).pipe((0,S.h)(o=>!(0,A.Z)(o)),(0,x.q)(1),(0,B.b)(o=>{this.jammboardEnabled=o.jammboardEnabled}),(0,N.U)(()=>n)))).subscribe(n=>{var o;if(this.jammboardEnabled){if(null==n?void 0:n.tab){const s=null===(o=n.tab)||void 0===o?void 0:o.toUpperCase();this.noDataTitle=`No ${null==s?void 0:s.toLowerCase()} opportunities yet`,this.status=p.NB[s],this.gigsPageToLoad=0,this.hasMoreGigsToLoad=!0,this.loadGigsByStatus()}}else this.router.navigate(["/mentors"])})}reloadGigs(){this.gigsPageToLoad=0,this.hasMoreGigsToLoad=!0,this.loadGigsByStatus()}loadGigsByStatus(n){(this.hasMoreGigsToLoad||0===this.gigsPageToLoad)&&(0===this.gigsPageToLoad&&
1(this.gigs=[]),this.gigLoadingInProgress=!0,this.jammboardService.getOpportunitiesByStatus(this.status,this.gigsPageToLoad).subscribe(o=>{const s=o.body.content.slice();this.gigs=[...this.gigs,...s],this.gigsPageToLoad+=1,o.body.last&&(this.hasMoreGigsToLoad=!1),this.gigLoadingInProgress=!1},o=>{this.toastService.showMessage("Something went wrong"),this.gigLoadingInProgress=!1}))}handleStateChange(n){this.stateChange.emit(n),this.stateChange$.next(n),n.tabName&&this.status!==p.NB[n.tabName]&&(this.noDataTitle=`No ${n.tabName.toLowerCase()} opportunities yet`,this.status=p.NB[n.tabName])}handleSubStateChange(n){this.subStateChange$.next(n)}bottomReached({isVisible:n}){n&&this.loadGigsByStatus()}}return e.\u0275fac=function(n){return new(n||e)(t.Y36(c.gz),t.Y36(p.jX),t.Y36(_.bX),t.Y36(c.F0),t.Y36(j.yh),t.Y36(_.kl))},e.\u0275cmp=t.Xpm({type:e,selectors:[["app-my-opportunities-content"]],inputs:{subStateChange$:"subStateChange$",goBack$:"goBack$"},outputs:{stateChange:"stateChange",subStateChange:"subStateChange"},decls:6,vars:3,consts:[[3,"routeList","goBack$","handleNotifications$","stateChange"],["class","jammboard__gigs-container",4,"appNavigationContent"],["altGigsContent",""],[1,"jammboard__gigs-container"],[4,"ngIf"],[4,"ngTemplateOutlet"],[3,"gigData","showSubMenu","emitReloadGigs",4,"ngFor","ngForOf"],["visibilityObserver","",1,"jammboard__bottom-mark",3,"debounceTime","visible"],[3,"gigData","showSubMenu","emitReloadGigs"],[3,"gigData","showSubMenu",4,"ngFor","ngForOf"],[3,"gigData","showSubMenu"],[3,"noDataTitle",4,"ngIf"],["class","jammboard__gigs-loader",4,"ngIf"],[3,"noDataTitle"],[1,"jammboard__gigs-loader"],[4,"ngFor","ngForOf"]],template:function(n,o){1&n&&(t.TgZ(0,"app-navigation",0),t.NdJ("stateChange",function(g){return o.handleStateChange(g)}),t.YNc(1,F,3,2,"div",1),t.YNc(2,P,3,2,"div",1),t.YNc(3,X,3,2,"div",1),t.qZA(),t.YNc(4,V,2,2,"ng-template",null,2,t.W1O)),2&n&&t.Q6J("routeList",o.routeList)("goBack$",o.goBack$)("handleNotifications$",o.subStateChange$)},directives:[u.Jz,E.K,r.O5,r.tP,r.sg,Z.T,L.S,G.d,m.aF,m.K5],styles:[".jammboard__gigs-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:16px;max-width:628px}@media (min-width: 670px){.jammboard__gigs-container[_ngcontent-%COMP%]{margin:52px auto}}app-jammboard-gig-main-card[_ngcontent-%COMP%]{margin-bottom:16px;border-radius:6px;background:white}"]}),e})(),tt=(()=>{class e{constructor(n,o,s){this.document=n,this.translate=o,this.titleService=s,this.showBackButton=!1,this.goBack$=new d.X(!1),this.subStateChange$=new d.X(null)}getWindowWidth(n){return window.innerWidth}ngOnInit(){this.translate.get("MY_GIGS").subscribe(n=>{this.pageTitle=n.GIGS,this.titleService.setTitle(n.MY_GIGS_PAGE_TITLE)}),this.document.body.classList.add("my-opportunities-page")}changeHeaderContent(n){this.state=n,this.getWindowWidth()<T.I?(this.pageTitle=n.tabName?n.tabName:"Jobs",this.showBackButton=n.state===u.CO.MOBILE_SELECTED):(this.pageTitle="Jobs",this.showBackButton=!1)}handleBackButtonClick(){this.state.pageStates?this.subStateChange$.next(this.state):(this.goBack$.next(!0),this.pageTitle="Jobs",this.showBackButton=!1)}}return e.\u0275fac=function(n){return new(n||e)(t.Y36(r.K0),t.Y36(h.sK),t.Y36(p.yD))},e.\u0275cmp=t.Xpm({type:e,selectors:[["app-my-opportunities"]],hostBindings:function(n,o){1&n&&t.NdJ("resize",function(g){return o.getWindowWidth(g)},!1,t.Jf7)},decls:4,vars:4,consts:[[3,"pageTitle","showBackButton","backButtonClick"],[3,"goBack$","subStateChange$","stateChange"]],template:function(n,o){1&n&&(t._UZ(0,"app-header"),t.TgZ(1,"app-user-page"),t.TgZ(2,"app-user-page-header",0),t.NdJ("backButtonClick",function(){return o.handleBackButtonClick()}),t.qZA(),t.TgZ(3,"app-my-opportunities-content",1),t.NdJ("stateChange",function(g){return o.changeHeaderContent(g)}),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Q6J("pageTitle",o.pageTitle)("showBackButton",o.showBackButton),t.xp6(1),t.Q6J("goBack$",o.goBack$)("subStateChange$",o.subStateChange$))},directives:[f.G,M.u,b.A,q],styles:[""]}),e})();var nt=i(63982),et=i(41158),ot=i(47887),it=i(22732),at=i(38859),st=i(52184),gt=i(2734);let rt=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[r.ez,m.GO,ot.E,it.A,at.Q,st.d,c.Bz,h.aw,gt.o]]}),e})();const pt=[{path:"",component:tt,children:[{path:":name/:id",data:{modalEnteredFrom:p.FF.MY_OPPORTUNITIES},component:C.J}]}];let dt=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[r.ez,v.O,rt,c.Bz.forChild(pt),nt.t,et.b]]}),e})()}}]);

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.