PageSourceSearch

https://huurteam-zuidlimburg.nl/chunk-KSJL6HYX.js

js huurteam-zuidlimburg.nl collected 2026-10-09 01:02:38 UTC 2,506 bytes, 1 lines download raw bytes

1import{c as D}from"./chunk-NTJG3FLQ.js";import{j as L,l as k}from"./chunk-5BIPHO7T.js";import"./chunk-CDH2N352.js";import"./chunk-MEPTZCO5.js";import{a as O,b as F}from"./chunk-33PAUPYH.js";import{Cc as w,Gb as m,Gc as x,Hb as h,Ia as o,Ib as y,Ic as R,Jc as j,Kc as B,N as S,Na as c,Ra as T,Sa as l,Ub as _,Vb as g,aa as s,bb as u,db as f,ha as E,i as v,ia as b,ib as a,jb as r,kb as C,n as M,pb as A,pc as N,rb as I,sb as p}from"./chunk-W4HWQLHX.js";function q(t,d){if(t&1){let e=A();a(0,"p"),m(1),_(2,"translate"),r(),a(3,"button",3),I("click",function(){E(e);let n=p(2);return b(n.cancelAppointment())}),m(4),_(5,"translate"),r()}t&2&&(o(),h(g(2,2,"CANCEL.CONFIRM_MESSAGE")),o(3),y(" ",g(5,4,"CANCEL.BUTTON_TEXT")," "))}function X(t,d){if(t&1&&(a(0,"p"),m(1),r()),t&2){let e=p(2);o(),h(e.message)}}function z(t,d){if(t&1&&u(0,q,6,6)(1,X,2,1,"p"),t&2){let e=p();f(e.finished?1:0)}}function H(t,d){t&1&&C(0,"app-spinner")}var P=(()=>{class t{constructor(e,i,n){this.route=e,this.appointmentService=i,this.translate=n,this.subscriptions$=new M,this.finished=!1,this.loading=!1,this.message=""}ngOnInit(){this.translate.get("CANCEL.SUCCESS_MESSAGE").subscribe(e=>{this.message=e})}ngOnDestroy(){this.subscriptions$.unsubscribe()}cancelAppointment(){return v(this,null,function*(){this.loading=!0;let{eventId:e,email:i}=yield this.route.queryParams.pipe(S()).toPromise(),n=this.appointmentService.cancel(e,i).subscribe($=>{this.finished=!0,this.loading=!1},$=>{this.finished=!0,this.loading=!1,this.translate.get("CANCEL.ERROR_MESSAGE").subscribe(U=>{this.message=U})});this.subscriptions$.add(n)})}static{this.\u0275fac=function(i){return new(i||t)(c(w),c(D),c(R))}}static{this.\u0275cmp=T({type:t,selectors:[["app-cancel"]],standalone:!1,decls:5,vars:1,consts:[[2,"height","30vh"],[1,"columns","is-centered","has-text-centered"],[1,"column","is-6"],["mat-raised-button","","color","warn",2,"margin-top","3%",3,"click"]],template:function(i,n){i&1&&(C(0,"div",0),a(1,"div",1)(2,"div",2),u(3,z,2,1)(4,H,1,0,"app-spinner"),r()()),i&2&&(o(3),f(n.loading?4:3))},dependencies:[L,O,j],encapsulation:2})}}return t})();var J=[{path:"",component:P}],V=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=l({type:t})}static{this.\u0275inj=s({imports:[x.forChild(J),x]})}}return t})();var ft=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=l({type:t})}static{this.\u0275inj=s({imports:[N,V,k,F,B]})}}return t})();export{ft as CancelModule};

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.