HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1017-azure #17~24.04.1-Ubuntu SMP Mon Dec 1 20:10:50 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/smarthr-co-in/demo/angular/template/chunk-BT37DHWM.js
import{Aa as re,F as K,I as q,Id as ne,Jd as se,P as Y,Z as Q,c as W,ca as y,fa as D,ia as m,ja as w,ka as g,la as Z,na as H,oa as ee,q as $,ta as te,u as I}from"./chunk-AQ27DSQO.js";var O=class{},k=class{},T=class r{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(e){e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
`).forEach(t=>{let n=t.indexOf(":");if(n>0){let o=t.slice(0,n),s=t.slice(n+1).trim();this.addHeaderEntry(o,s)}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((t,n)=>{this.addHeaderEntry(n,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([t,n])=>{this.setHeaderEntries(t,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof r?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){let t=new r;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof r?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){let t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,t);let o=(e.op==="a"?this.headers.get(t):void 0)||[];o.push(...n),this.headers.set(t,o);break;case"d":let s=e.value;if(!s)this.headers.delete(t),this.normalizedNames.delete(t);else{let i=this.headers.get(t);if(!i)return;i=i.filter(l=>s.indexOf(l)===-1),i.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,i)}break}}addHeaderEntry(e,t){let n=e.toLowerCase();this.maybeSetNormalizedName(e,n),this.headers.has(n)?this.headers.get(n).push(t):this.headers.set(n,[t])}setHeaderEntries(e,t){let n=(Array.isArray(t)?t:[t]).map(s=>s.toString()),o=e.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}};var B=class{encodeKey(e){return oe(e)}encodeValue(e){return oe(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function Re(r,e){let t=new Map;return r.length>0&&r.replace(/^\?/,"").split("&").forEach(o=>{let s=o.indexOf("="),[i,l]=s==-1?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,s)),e.decodeValue(o.slice(s+1))],a=t.get(i)||[];a.push(l),t.set(i,a)}),t}var we=/%(\d[a-f0-9])/gi,be={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function oe(r){return encodeURIComponent(r).replace(we,(e,t)=>be[t]??e)}function S(r){return`${r}`}var p=class r{map;encoder;updates=null;cloneFrom=null;constructor(e={}){if(this.encoder=e.encoder||new B,e.fromString){if(e.fromObject)throw new y(2805,!1);this.map=Re(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{let n=e.fromObject[t],o=Array.isArray(n)?n.map(S):[S(n)];this.map.set(t,o)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){let t=[];return Object.keys(e).forEach(n=>{let o=e[n];Array.isArray(o)?o.forEach(s=>{t.push({param:n,value:s,op:"a"})}):t.push({param:n,value:o,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let t=this.encoder.encodeKey(e);return this.map.get(e).map(n=>t+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let t=new r({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let t=(e.op==="a"?this.map.get(e.param):void 0)||[];t.push(S(e.value)),this.map.set(e.param,t);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],o=n.indexOf(S(e.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var X=class{map=new Map;set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function Pe(r){switch(r){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function ie(r){return typeof ArrayBuffer<"u"&&r instanceof ArrayBuffer}function ae(r){return typeof Blob<"u"&&r instanceof Blob}function ce(r){return typeof FormData<"u"&&r instanceof FormData}function Ne(r){return typeof URLSearchParams<"u"&&r instanceof URLSearchParams}var de="Content-Type",le="Accept",ue="X-Request-URL",he="text/plain",fe="application/json",Me=`${fe}, ${he}, */*`,N=class r{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(e,t,n,o){this.url=t,this.method=e.toUpperCase();let s;if(Pe(this.method)||o?(this.body=n!==void 0?n:null,s=o):s=n,s){if(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,this.keepalive=!!s.keepalive,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params),s.priority&&(this.priority=s.priority),s.cache&&(this.cache=s.cache),s.credentials&&(this.credentials=s.credentials),typeof s.timeout=="number"){if(s.timeout<1||!Number.isInteger(s.timeout))throw new y(2822,"");this.timeout=s.timeout}s.mode&&(this.mode=s.mode),s.redirect&&(this.redirect=s.redirect),s.integrity&&(this.integrity=s.integrity),s.referrer&&(this.referrer=s.referrer),this.transferCache=s.transferCache}if(this.headers??=new T,this.context??=new X,!this.params)this.params=new p,this.urlWithParams=t;else{let i=this.params.toString();if(i.length===0)this.urlWithParams=t;else{let l=t.indexOf("?"),a=l===-1?"?":l<t.length-1?"&":"";this.urlWithParams=t+a+i}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||ie(this.body)||ae(this.body)||ce(this.body)||Ne(this.body)?this.body:this.body instanceof p?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||ce(this.body)?null:ae(this.body)?this.body.type||null:ie(this.body)?null:typeof this.body=="string"?he:this.body instanceof p?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?fe:null}clone(e={}){let t=e.method||this.method,n=e.url||this.url,o=e.responseType||this.responseType,s=e.keepalive??this.keepalive,i=e.priority||this.priority,l=e.cache||this.cache,a=e.mode||this.mode,f=e.redirect||this.redirect,L=e.credentials||this.credentials,E=e.referrer||this.referrer,_=e.integrity||this.integrity,U=e.transferCache??this.transferCache,j=e.timeout??this.timeout,C=e.body!==void 0?e.body:this.body,c=e.withCredentials??this.withCredentials,d=e.reportProgress??this.reportProgress,h=e.headers||this.headers,P=e.params||this.params,u=e.context??this.context;return e.setHeaders!==void 0&&(h=Object.keys(e.setHeaders).reduce((v,R)=>v.set(R,e.setHeaders[R]),h)),e.setParams&&(P=Object.keys(e.setParams).reduce((v,R)=>v.set(R,e.setParams[R]),P)),new r(t,n,C,{params:P,headers:h,context:u,reportProgress:d,responseType:o,withCredentials:c,transferCache:U,keepalive:s,cache:l,priority:i,timeout:j,mode:a,redirect:f,credentials:L,referrer:E,integrity:_})}},b=(function(r){return r[r.Sent=0]="Sent",r[r.UploadProgress=1]="UploadProgress",r[r.ResponseHeader=2]="ResponseHeader",r[r.DownloadProgress=3]="DownloadProgress",r[r.Response=4]="Response",r[r.User=5]="User",r})(b||{}),A=class{headers;status;statusText;url;ok;type;redirected;constructor(e,t=200,n="OK"){this.headers=e.headers||new T,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.redirected=e.redirected,this.ok=this.status>=200&&this.status<300}},z=class r extends A{constructor(e={}){super(e)}type=b.ResponseHeader;clone(e={}){return new r({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},x=class r extends A{body;constructor(e={}){super(e),this.body=e.body!==void 0?e.body:null}type=b.Response;clone(e={}){return new r({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0,redirected:e.redirected??this.redirected})}},M=class extends A{name="HttpErrorResponse";message;error;ok=!1;constructor(e){super(e,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Oe=200,Ae=204;function V(r,e){return{body:e,headers:r.headers,context:r.context,observe:r.observe,params:r.params,reportProgress:r.reportProgress,responseType:r.responseType,withCredentials:r.withCredentials,credentials:r.credentials,transferCache:r.transferCache,timeout:r.timeout,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,integrity:r.integrity,referrer:r.referrer}}var pe=(()=>{class r{handler;constructor(t){this.handler=t}request(t,n,o={}){let s;if(t instanceof N)s=t;else{let a;o.headers instanceof T?a=o.headers:a=new T(o.headers);let f;o.params&&(o.params instanceof p?f=o.params:f=new p({fromObject:o.params})),s=new N(t,n,o.body!==void 0?o.body:null,{headers:a,context:o.context,params:f,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,integrity:o.integrity,timeout:o.timeout})}let i=$(s).pipe(q(a=>this.handler.handle(a)));if(t instanceof N||o.observe==="events")return i;let l=i.pipe(K(a=>a instanceof x));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(I(a=>{if(a.body!==null&&!(a.body instanceof ArrayBuffer))throw new y(2806,!1);return a.body}));case"blob":return l.pipe(I(a=>{if(a.body!==null&&!(a.body instanceof Blob))throw new y(2807,!1);return a.body}));case"text":return l.pipe(I(a=>{if(a.body!==null&&typeof a.body!="string")throw new y(2808,!1);return a.body}));case"json":default:return l.pipe(I(a=>a.body))}case"response":return l;default:throw new y(2809,!1)}}delete(t,n={}){return this.request("DELETE",t,n)}get(t,n={}){return this.request("GET",t,n)}head(t,n={}){return this.request("HEAD",t,n)}jsonp(t,n){return this.request("JSONP",t,{params:new p().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,n={}){return this.request("OPTIONS",t,n)}patch(t,n,o={}){return this.request("PATCH",t,V(o,n))}post(t,n,o={}){return this.request("POST",t,V(o,n))}put(t,n,o={}){return this.request("PUT",t,V(o,n))}static \u0275fac=function(n){return new(n||r)(w(O))};static \u0275prov=D({token:r,factory:r.\u0275fac})}return r})();var _e=new m("");function Ie(r,e){return e(r)}function De(r,e,t){return(n,o)=>ee(t,()=>e(n,s=>r(s,o)))}var ye=new m(""),me=new m(""),ge=new m("",{providedIn:"root",factory:()=>!0});var J=(()=>{class r extends O{backend;injector;chain=null;pendingTasks=g(re);contributeToStability=g(ge);constructor(t,n){super(),this.backend=t,this.injector=n}handle(t){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(ye),...this.injector.get(me,[])]));this.chain=n.reduceRight((o,s)=>De(o,s,this.injector),Ie)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(Y(n))}else return this.chain(t,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||r)(w(k),w(H))};static \u0275prov=D({token:r,factory:r.\u0275fac})}return r})();var ke=/^\)\]\}',?\n/,xe=RegExp(`^${ue}:`,"m");function Fe(r){return"responseURL"in r&&r.responseURL?r.responseURL:xe.test(r.getAllResponseHeaders())?r.getResponseHeader(ue):null}var G=(()=>{class r{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new y(-2800,!1);let n=this.xhrFactory;return $(null).pipe(Q(()=>new W(s=>{let i=n.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach((c,d)=>i.setRequestHeader(c,d.join(","))),t.headers.has(le)||i.setRequestHeader(le,Me),!t.headers.has(de)){let c=t.detectContentTypeHeader();c!==null&&i.setRequestHeader(de,c)}if(t.timeout&&(i.timeout=t.timeout),t.responseType){let c=t.responseType.toLowerCase();i.responseType=c!=="json"?c:"text"}let l=t.serializeBody(),a=null,f=()=>{if(a!==null)return a;let c=i.statusText||"OK",d=new T(i.getAllResponseHeaders()),h=Fe(i)||t.url;return a=new z({headers:d,status:i.status,statusText:c,url:h}),a},L=()=>{let{headers:c,status:d,statusText:h,url:P}=f(),u=null;d!==Ae&&(u=typeof i.response>"u"?i.responseText:i.response),d===0&&(d=u?Oe:0);let v=d>=200&&d<300;if(t.responseType==="json"&&typeof u=="string"){let R=u;u=u.replace(ke,"");try{u=u!==""?JSON.parse(u):null}catch(Ee){u=R,v&&(v=!1,u={error:Ee,text:u})}}v?(s.next(new x({body:u,headers:c,status:d,statusText:h,url:P||void 0})),s.complete()):s.error(new M({error:u,headers:c,status:d,statusText:h,url:P||void 0}))},E=c=>{let{url:d}=f(),h=new M({error:c,status:i.status||0,statusText:i.statusText||"Unknown Error",url:d||void 0});s.error(h)},_=E;t.timeout&&(_=c=>{let{url:d}=f(),h=new M({error:new DOMException("Request timed out","TimeoutError"),status:i.status||0,statusText:i.statusText||"Request timeout",url:d||void 0});s.error(h)});let U=!1,j=c=>{U||(s.next(f()),U=!0);let d={type:b.DownloadProgress,loaded:c.loaded};c.lengthComputable&&(d.total=c.total),t.responseType==="text"&&i.responseText&&(d.partialText=i.responseText),s.next(d)},C=c=>{let d={type:b.UploadProgress,loaded:c.loaded};c.lengthComputable&&(d.total=c.total),s.next(d)};return i.addEventListener("load",L),i.addEventListener("error",E),i.addEventListener("timeout",_),i.addEventListener("abort",E),t.reportProgress&&(i.addEventListener("progress",j),l!==null&&i.upload&&i.upload.addEventListener("progress",C)),i.send(l),s.next({type:b.Sent}),()=>{i.removeEventListener("error",E),i.removeEventListener("abort",E),i.removeEventListener("load",L),i.removeEventListener("timeout",_),t.reportProgress&&(i.removeEventListener("progress",j),l!==null&&i.upload&&i.upload.removeEventListener("progress",C)),i.readyState!==i.DONE&&i.abort()}})))}static \u0275fac=function(n){return new(n||r)(w(se))};static \u0275prov=D({token:r,factory:r.\u0275fac})}return r})(),Te=new m(""),Le="XSRF-TOKEN",Ue=new m("",{providedIn:"root",factory:()=>Le}),je="X-XSRF-TOKEN",Ce=new m("",{providedIn:"root",factory:()=>je}),F=class{},Se=(()=>{class r{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,n){this.doc=t,this.cookieName=n}getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=ne(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(n){return new(n||r)(w(te),w(Ue))};static \u0275prov=D({token:r,factory:r.\u0275fac})}return r})(),Be=/^(?:https?:)?\/\//i;function Xe(r,e){if(!g(Te)||r.method==="GET"||r.method==="HEAD"||Be.test(r.url))return e(r);let t=g(F).getToken(),n=g(Ce);return t!=null&&!r.headers.has(n)&&(r=r.clone({headers:r.headers.set(n,t)})),e(r)}function ze(...r){let e=[pe,G,J,{provide:O,useExisting:J},{provide:k,useFactory:()=>g(_e,{optional:!0})??g(G)},{provide:ye,useValue:Xe,multi:!0},{provide:Te,useValue:!0},{provide:F,useClass:Se}];for(let t of r)e.push(...t.\u0275providers);return Z(e)}export{pe as a,ze as b};