PageSourceSearch

https://app.payjustnow.com/js/8341.0b931e5d.js

js payjustnow.com collected 2026-09-24 12:51:08 UTC 7,354 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpwa=self.webpackChunkpwa||[]).push([[8341],{11811:function(e,t,s){e.exports=s.p+"img/sms_notification_icon.f50fdaf9.svg"},31907:function(e,t,s){e.exports=s.p+"img/deals-icon.65e2d10d.svg"},48341:function(e,t,s){s.r(t),s.d(t,{default:function(){return Z}});var i=s(20641),l=s(90033),n=s(11811),a=s(57436),o=s(52440),c=s(31907);const p={class:"dashboard-inner flex-1"},r={class:"py-8 px-0 tablet:p-6 border-pjn-grey-lightest"},h={class:"max-w-lg"},d={class:"px-4 flex justify-left items-center border-pjn-grey-lighter py-5 lg:py-6 xl:py-8 xl:mr-20"},u={class:"flex flex-col justify-between ml-auto"},f={class:"toggle-dot"},g=["checked"],m={class:"px-4 flex justify-left items-center border-t border-pjn-grey-lighter py-5 lg:py-6 xl:py-8 xl:mr-20"},x={class:"flex flex-col justify-between ml-auto"},k={class:"toggle-dot"},y=["checked"],b={class:"px-4 flex justify-left items-center border-t border-pjn-grey-lighter py-5 lg:py-6 xl:py-8 xl:mr-20"},_={class:"flex flex-col justify-between ml-auto"},L={class:"toggle-dot"},v=["checked"],w={key:0,class:"px-4 flex justify-left items-center border-t border-pjn-grey-lighter py-5 lg:py-6 xl:py-8 xl:mr-20"},j={class:"flex flex-col justify-between ml-auto"},P={class:"toggle-dot"},C=["checked"],N={class:"px-4 flex justify-left items-center border-t border-pjn-grey-lighter py-5 lg:py-6 xl:py-8 xl:mr-20"},$={class:"flex flex-col justify-between ml-auto"},S={class:"toggle-dot"},A=["checked"];s(44114);var E=s(24058),I=s(56222),D=s(40159),M=s(2977),H=s(32162),J={created(){this.$store.dispatch(E.DN,"Preferences"),this.$store.dispatch(E.Wv,!1),this.$route.query.successAfterPINVerify&&"true"==this.$route.query.successAfterPINVerify&&this.$notify({title:"Success!",text:"Your preferences have been updated",group:"top",type:"success"}),this.$store.dispatch(D.Hu,{with_deals:!1}).then(()=>{this.sms_notification="1"==this.user[H.Jl],this.push_notification="1"==this.user[H.mc],this.email_notification="1"==this.user[H.aj],this.pin_enabled="1"==this.user[H.CZ],this.show_deals="1"==this.user[H.sH],this.$store.dispatch(E.Af,!0),this.pin_status=this.user.pin_status}).catch(e=>{})},data(){return{sms_notification:!1,push_notification:!1,email_notification:!1,pin_enabled:!1,show_deals:!1,pin_status:null}},methods:{toggleSmsNotification(e){this.updatePreference({name:H.Jl,value:e.target.checked}).then(()=>{this.sms_notification="1"==this.user[H.Jl]})},togglePushNotification(e){this.updatePreference({name:H.mc,value:e.target.checked}).then(()=>{this.push_notification="1"==this.user[H.mc]})},toggleEmailNotification(e){this.updatePreference({name:H.aj,value:e.target.checked}).then(()=>{this.email_notification="1"==this.user[H.aj]})},togglePINEnabled(e){e.target.checked&&"Invalid"==this.user.pin_status?this.$router.push({path:"my-profile/update-pin"}):this.updatePreference({name:H.CZ,value:e.target.checked}).then(()=>{this.pin_enabled="1"==this.user[H.CZ]})},toggleDeals(e){this.updatePreference({name:H.sH,value:e.target.checked}).then(()=>{this.show_deals="1"==this.user[H.sH]})},updatePreference({name:e,value:t}){return this.$store.dispatch(E.Af,!1).then(()=>this.$store.dispatch(I.M_,{name:e,value:t}).then(()=>this.$store.dispatch(E.Af,!0).then(()=>
1{this.$notify({title:"Success!",text:"Your preferences have been updated",group:"top",type:"success"}),Promise.resolve()})).catch(e=>{this.$store.dispatch(E.Af,!0).then(()=>{412!==e.response.status&&this.$notify({title:"Oops!",text:"There has been an error, please try again",group:"top",type:"error"}),Promise.resolve()})}))}},computed:{...(0,M.L8)(["user"])}};var Z=(0,s(66262).A)(J,[["render",function(e,t,s,E,I,D){return(0,i.uX)(),(0,i.CE)("div",p,[(0,i.Lk)("div",r,[t[16]||(t[16]=(0,i.Lk)("p",{class:"heading-2a mb-8 font-bold text-lg px-6 tablet:px-0"},"Notifications",-1)),(0,i.Lk)("div",h,[t[15]||(t[15]=(0,i.Lk)("p",{class:"font-medium text-sm lg:leading-tight mb-8text-pjn-neutral-0 lg:w-3/4 px-6 tablet:px-0"}," We’ll remind you of your next instalment via email and one of the options below, so you need never miss a payment and incur late fees. ",-1)),(0,i.Lk)("div",null,[(0,i.Lk)("div",d,[t[5]||(t[5]=(0,i.Lk)("img",{class:"mx-1",style:{width:"20px",height:"20px"},src:n,alt:"sms icon"},null,-1)),t[6]||(t[6]=(0,i.Lk)("span",{class:"text-sm md:text-base font-medium pl-2 md:pl-3 lg:pl-4 xl:pl-8"}," Marketing standard text messages (SMS) ",-1)),(0,i.Lk)("div",u,[(0,i.Lk)("span",{class:(0,l.C4)({"toggle-button":!0,unchecked:!I.sms_notification,checked:I.sms_notification})},[(0,i.Lk)("span",f,[(0,i.Lk)("input",{id:"sms-notification",type:"checkbox",checked:I.sms_notification,onClick:t[0]||(t[0]=(...e)=>D.toggleSmsNotification&&D.toggleSmsNotification(...e))},null,8,g)])],2)])]),(0,i.Lk)("div",m,[t[7]||(t[7]=(0,i.Lk)("img",{class:"mx-1",style:{width:"20px",height:"20px"},src:a,alt:"push notifications"},null,-1)),t[8]||(t[8]=(0,i.Lk)("span",{class:"text-sm md:text-base font-medium pl-2 md:pl-3 lg:pl-4 xl:pl-8"}," Marketing mobile push notifications ",-1)),(0,i.Lk)("div",x,[(0,i.Lk)("span",{class:(0,l.C4)({"toggle-button":!0,unchecked:!I.push_notification,checked:I.push_notification})},[(0,i.Lk)("span",k,[(0,i.Lk)("input",{id:"push-notification",type:"checkbox",checked:I.push_notification,onClick:t[1]||(t[1]=(...e)=>D.togglePushNotification&&D.togglePushNotification(...e))},null,8,y)])],2)])]),(0,i.Lk)("div",b,[t[9]||(t[9]=(0,i.Lk)("img",{class:"mx-1",style:{width:"20px",height:"20px"},src:o,alt:"email notifications"},null,-1)),t[10]||(t[10]=(0,i.Lk)("span",{class:"text-sm md:text-base font-medium pl-2 md:pl-3 lg:pl-4 xl:pl-8"}," Marketing email notifications ",-1)),(0,i.Lk)("div",_,[(0,i.Lk)("span",{class:(0,l.C4)({"toggle-button":!0,unchecked:!I.email_notification,checked:I.email_notification})},[(0,i.Lk)("span",L,[(0,i.Lk)("input",{id:"push-notification",type:"checkbox",checked:I.email_notification,onClick:t[2]||(t[2]=(...e)=>D.toggleEmailNotification&&D.toggleEmailNotification(...e))},null,8,v)])],2)])]),"Active"!==I.pin_status?((0,i.uX)(),(0,i.CE)("div",w,[t[11]||(t[11]=(0,i.Lk)("img",{class:"mx-1",style:{width:"20px",height:"20px"},src:o,alt:"email notifications"},null,-1)),t[12]||(t[12]=(0,i.Lk)("span",{class:"text-sm md:text-base font-medium pl-2 md:pl-3 lg:pl-4 xl:pl-8"}," PIN Security ",-1)),(0,i.Lk)("div",j,[(0,i.Lk)("span",{class:(0,l.C4)({"toggle-button":!0,unchecked:!I.pin_enabled,checked:I.pin_enabled})},[(0,i.Lk)("span",P,[(0,i.Lk)("input",{id:"pin-enabled",type:"checkbox",checked:I.pin_enabled,onClick:t[3]||(t[3]=(...e)=>D.togglePINEnabled&&D.togglePINEnabled(...e))},null,8,C)])],2)])])):(0,i.Q3)("",!0),(0,i.Lk)("div",N,[t[13]||(t[13]=(0,i.Lk)("img",{class:"mx-1",style:{width:"20px",height:"20px"},src:c,alt:"Deals"},null,-1)),t[14]||(t[14]=(0,i.Lk)("span",{class:"text-sm md:text-base font-medium pl-2 md:pl-3 lg:pl-4 xl:pl-8"}," Show my latest deals when I log in ",-1)),(0,i.Lk)("div",$,[(0,i.Lk)("span",{class:(0,l.C4)({"toggle-button":!0,unchecked:!I.show_deals,checked:I.show_deals})},[(0,i.Lk)("span",S,[(0,i.Lk)("input",{id:"push-notification",type:"checkbox",checked:I.show_deals,onClick:t[4]||(t[4]=(...e)=>D.toggleDeals&&D.toggleDeals(...e))},null,8,A)])],2)])])])])])])}]])},52440:function(e,t,s){e.exports=s.p+"img/email_notification_icon.75345ba2.svg"},57436:function(e,t,s){e.exports=s.p+"img/push_notification_icon.d9a36a69.svg"}}]);

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.