PageSourceSearch

https://strivejournal.com/chunk-7EXBTHAY.js

js strivejournal.com collected 2026-10-01 14:27:36 UTC 6,281 bytes, 1 lines download raw bytes

1import{a as W}from"./chunk-4JORLVPU.js";import{c as H}from"./chunk-2W6JP7XC.js";import"./chunk-RC3V2VR2.js";import"./chunk-25VCRAYN.js";import"./chunk-OEGABLSR.js";import"./chunk-NKY44VBP.js";import{$b as F,Ab as y,Bc as V,Ca as C,Fc as $,G as f,Gc as j,Hc as B,I as g,Ia as S,Ie as z,J as h,Ja as b,Rb as v,Ta as i,Tb as _,Ub as M,Wb as P,Yb as w,_ as r,ac as k,bc as O,da as x,dc as R,eb as c,ec as D,ed as L,fb as d,ma as p,oa as u,oc as G,od as A,pb as E,pc as I,sa as s,ta as t,ua as e,uc as T,va as n,xb as N}from"./chunk-HBSCIRJF.js";import"./chunk-SUG7OJVO.js";import"./chunk-3A2TMJPV.js";import"./chunk-EWCAJSRE.js";import"./chunk-P622T277.js";import"./chunk-JPSAJPKY.js";import"./chunk-FPQEFV5D.js";import"./chunk-KTJJRLDM.js";import"./chunk-KLS2ROOF.js";import"./chunk-2UB5Q5CK.js";import"./chunk-YUNOCBLG.js";import"./chunk-VGMJM2GZ.js";import"./chunk-2NIBOUWM.js";import"./chunk-I547WOKC.js";import"./chunk-C5ADM7RQ.js";import"./chunk-JKBRGGST.js";import"./chunk-NMFL75IO.js";import"./chunk-CU44V7JF.js";function U(o,q){o&1&&(t(0,"header")(1,"h1"),i(2,"Push Notifications"),e(),n(3,"ion-toggle",21),e())}function J(o,q){if(o&1){let a=C();t(0,"ion-button",22),S("click",function(){g(a);let l=b();return h(l.unregisterFCM())}),i(1,"Unregister this device"),e()}}var me=(()=>{class o{personalService=f(H);screensize=f(z);fcmActive=!1;isMobile$=this.screensize.isMobile$;mainForm=new P(null);form=this.personalService.form.pushNotification;fcmRegistered$=this.personalService.fcmIsRegistered;sub;constructor(){this.mainForm.setValue(this.form.main.value),this.form.main.value||this.form.disableControls(),this.sub=this.mainForm.valueChanges.subscribe(a=>{a?(this.personalService.registerFCM(!0,!0),this.form.enableControls()):(this.form.disableControls(),this.form.main.setValue(!1))})}ngOnDestroy(){this.sub.unsubscribe()}unregisterFCM(){this.personalService.unregisterFCM()}static \u0275fac=function(m){return new(m||o)};static \u0275cmp=x({type:o,selectors:[["journal-push-notification-settings"]],decls:117,vars:11,consts:[["title","Push Notifications","defaultHref","/profile"],["slot","end"],["fill","clear"],["slot","end",3,"formControl"],[3,"ngClass"],[3,"formGroup"],["lines","full"],["lines","none"],["formControlName","userSpectatingGeneral"],["formControlName","goalGeneral"],["formControlName","goalTeam"],["formControlName","goalChat"],["formControlName","goalRoadmap"],["formControlName","goalStory"],["formControlName","supports"],["formControlName","exerciseAffirmations"],["formControlName","exerciseDailyGratitude"],["formControlName","exerciseDearFutureSelf"],["formControlName","exerciseSelfReflect"],["formControlName","exerciseWheelOfLife"],[1,"secondary"],["slot","end","formControlName","main"],[1,"secondary",3,"click"]],template:function(m,l){m&1&&(t(0,"strive-header",0)(1,"ion-buttons",1)(2,"ion-button",2),n(3,"ion-toggle",3),e()()(),t(4,"ion-content",4),c(5,"async"),t(6,"form",5),p(7,U,4,0,"header"),c(8,"async"),t(9,"ion-list",6)(10,"ion-list-header"),i(11,"People you follow"),e(),t(12,"ion-item",7)(13,"ion-label")(14,"article")(15,"span"),i(16,"General"),e(),t(17,"small"),i(18,"New goals, finished goals"),e()()(),n(19,"ion-checkbox",8),e(),t(20,"ion-list-header"),i(21,"Goals"),e(),t(22,"ion-item")(23,"ion-label")(24,"article")(25,"span"),i(26,"General"),e(),t(27,"small"),i(28,"Status changes, reminders"),e()()(),n(29,"ion-checkbox",9),e(),t(30,"ion-item")(31,"ion-label")(32,"article")(33,"span"),i(34,"Team"),e(),t(35,"small"),i(36,"Team changes, Requests to join goal"),e()()(),n(37,"ion-checkbox",10),e(),t(38,"ion-item")(39,"ion-label")(40,"article")(41,"span"),i(42,"Chat"),e(),t(43,"small"),i(44,"New messages"),e()()(),n(45,"ion-checkbox",11),e(),t(46,"ion-item")(47,"ion-label")(48,"article")(49,"span"),i(50,"Roadmap"),e(),t(51,"small"),i(52,"Milestones status changes, due date warnings"),e()()(),n(53,"ion-checkbox",12),e(
1),t(54,"ion-item")(55,"ion-label")(56,"article")(57,"span"),i(58,"Story"),e(),t(59,"small"),i(60,"New posts"),e()()(),n(61,"ion-checkbox",13),e(),t(62,"ion-list-header"),i(63,"Supports"),e(),t(64,"ion-item",7)(65,"ion-label")(66,"article")(67,"span"),i(68,"General"),e(),t(69,"small"),i(70,"Status changes, counter supports"),e()()(),n(71,"ion-checkbox",14),e(),t(72,"ion-list-header"),i(73,"Exercises"),e(),t(74,"ion-item")(75,"ion-label")(76,"article")(77,"span"),i(78,"Affirmations"),e(),t(79,"small"),i(80,"Daily affirmation"),e()()(),n(81,"ion-checkbox",15),e(),t(82,"ion-item")(83,"ion-label")(84,"article")(85,"span"),i(86,"Daily Gratitude"),e(),t(87,"small"),i(88,"Reminder to write down three things"),e()()(),n(89,"ion-checkbox",16),e(),t(90,"ion-item")(91,"ion-label")(92,"article")(93,"span"),i(94,"Dear Future Self"),e(),t(95,"small"),i(96,"Receive message from the past"),e()()(),n(97,"ion-checkbox",17),e(),t(98,"ion-item")(99,"ion-label")(100,"article")(101,"span"),i(102,"Self Reflect"),e(),t(103,"small"),i(104,"New entry possible to self reflect"),e()()(),n(105,"ion-checkbox",18),e(),t(106,"ion-item",7)(107,"ion-label")(108,"article")(109,"span"),i(110,"Wheel of Life"),e(),t(111,"small"),i(112,"Reminder to fill in wheel of life"),e()()(),n(113,"ion-checkbox",19),e()(),t(114,"section"),p(115,J,2,0,"ion-button",20),c(116,"async"),e()()()),m&2&&(r(3),s("formControl",l.mainForm),r(),s("ngClass",d(5,5,l.isMobile$)?"ion-no-padding":"ion-padding"),r(2),s("formGroup",l.form),r(),u(d(8,7,l.isMobile$)===!1?7:-1),r(108),u(d(116,9,l.fcmRegistered$)?115:-1))},dependencies:[y,E,v,W,R,w,_,M,D,F,O,k,I,G,A,T,j,B,V,$,L,N],styles:["form[_ngcontent-%COMP%]{max-width:var(--page-max-width);margin:auto;display:flex;flex-direction:column;gap:16px}header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin-top:20px;margin-bottom:10px}header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{margin:0}header[_ngcontent-%COMP%]   ion-toggle[_ngcontent-%COMP%]{padding:8px}article[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px}article[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{color:var(--ion-color-medium)}section[_ngcontent-%COMP%]{display:flex;justify-content:center}@media only screen and (max-width:768px){ion-list[_ngcontent-%COMP%]{border-radius:0}}"],changeDetection:0})}return o})();export{me as PushNotificationsSettingsComponent};

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.