PageSourceSearch

https://account.canapii.com/chunk-LT4ZXC3W.js

js canapii.com collected 2026-09-24 09:41:46 UTC 2,129 bytes, 1 lines download raw bytes

1import{a as E}from"./chunk-33XKUF6S.js";import"./chunk-3PGMBZAP.js";import"./chunk-65I45D2I.js";import"./chunk-GZL4NBTB.js";import{a as v}from"./chunk-OMIAKVTT.js";import"./chunk-3XCK7DOC.js";import"./chunk-PJWNDC7A.js";import"./chunk-QDFFLVTB.js";import"./chunk-JIVZONLP.js";import"./chunk-S43ITSQ5.js";import{e as h,h as b,k as a}from"./chunk-5FWAKVG3.js";import{z as f}from"./chunk-KAXBUATZ.js";import{Fa as o,Gc as s,Hc as c,Wb as r,Wc as p,bc as d,cc as n,jd as m}from"./chunk-XW6AEKHB.js";import"./chunk-6G35VSEK.js";var C=(()=>{class e{constructor(t,i,u,l){this.router=t,this.route=i,this.accountService=u,this.utilitiesService=l,this.href=""}ngOnInit(){this.href=this.router.url,this.userPK=this.href.split("/")[2]}unsubsribeClick(){this.accountService.unsubscribeToEmail({user:this.userPK,unsubscribeToEmail:!0}).then(t=>{if(t&&t?.success)this.utilitiesService.alert({header:"Success",message:t.message}),this.router.navigate(["/"]);else throw t}).catch(t=>{this.utilitiesService.alert(t.message)})}static{this.\u0275fac=function(i){return new(i||e)(r(b),r(h),r(E),r(v))}}static{this.\u0275cmp=d({type:e,selectors:[["app-unsubscribe-email"]],decls:9,vars:0,consts:[[1,"container","h-100"],[1,"d-flex","align-content-center","flex-wrap","h-100"],[1,"mx-auto","text-center"],[1,"my-4","subtitle"],[1,"btn","btn-primary",3,"click"]],template:function(i,u){i&1&&(s(0,"div",0)(1,"div",1)(2,"div",2)(3,"h2"),m(4,"Unsubscribe"),c(),s(5,"div",3),m(6,"If you wish not to receive 'Monthly credit usage' email."),c(),s(7,"a",4),p("click",function(){return u.unsubsribeClick()}),m(8,"Click here to unsubscribe"),c()()()())},styles:["h1[_ngcontent-%COMP%]{font-size:6rem}.subtitle[_ngcontent-%COMP%]{font-size:1.6rem}"]})}}return e})();var y=[{path:"",component:C}],M=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=n({type:e})}static{this.\u0275inj=o({imports:[a.forChild(y),a]})}}return e})();var T=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=n({type:e})}static{this.\u0275inj=o({imports:[f,M]})}}return e})();export{T as UnsubscribeEmailModule};

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.