uawdijnntqw1x1x1
IP : 216.73.216.55
Hostname : srv913213
Kernel : Linux srv913213 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
OS : Linux
PATH:
/
var
/
snap
/
..
/
crash
/
..
/
www
/
.
/
yapwebtv.com
/
..
/
school_portal_admin
/
127-es5.c4726db1177262727e6e.js
/
/
function _defineProperties(t,e){for(var a=0;a<e.length;a++){var c=e[a];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(t,_toPropertyKey(c.key),c)}}function _createClass(t,e,a){return e&&_defineProperties(t.prototype,e),a&&_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}function _toPropertyKey(t){var e=_toPrimitive(t,"string");return"symbol"==typeof e?e:e+""}function _toPrimitive(t,e){if("object"!=typeof t||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var c=a.call(t,e||"default");if("object"!=typeof c)return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(window.webpackJsonp=window.webpackJsonp||[]).push([[127],{zZnJ:function(t,e,a){"use strict";a.r(e);var c,i,r,n,o=a("tyNb"),l=a("ofXK"),s=a("3Pt+"),d=a("bTqV"),u=a("Wp6s"),f=a("bSwM"),h=a("FKr1"),g=a("iadO"),y=a("NFeN"),m=a("qFsG"),p=a("MutI"),b=a("bv9b"),v=a("QibW"),x=a("xHqg"),w=a("YUcS"),C=a("STbY"),k=a("CzEO"),_=a("lDzL"),M=a("7pIB"),F=a("M9IT"),L=a("Dh3D"),Y=a("wZkO"),j=a("+0xr"),O=a("DHi0"),I=a("lJxs"),G=_createClass((function t(){_classCallCheck(this,t),this.galleryId="",this.categoryName="",this.date="",this.attachment=[],this.status="",this.galleryCategoryId="",this.fileCount=""})),P=_createClass((function t(){_classCallCheck(this,t),this.galleryAttachmentId="",this.imageName="",this.image=""})),D=a("fXoL"),S=((r=function(){return _createClass((function t(){_classCallCheck(this,t)}),[{key:"adapt",value:function(t){return this.obj=new P,this.obj.galleryAttachmentId=t.gallery_attachment_id,this.obj.imageName=t.image_name,this.obj.image=t.image,this.obj}}])}()).\u0275fac=function(t){return new(t||r)},r.\u0275prov=D.Tb({token:r,factory:r.\u0275fac,providedIn:"root"}),r),N=((i=function(){return _createClass((function t(e){_classCallCheck(this,t),this.adapterAttachment=e}),[{key:"adapt",value:function(t){var e,a=this,c=[];return t.attachment&&(null===(e=t)||void 0===e||e.attachment.forEach((function(t){c.push(a.adapterAttachment.adapt(t))}))),this.obj=new G,this.obj.galleryId=t.gallery_id,this.obj.categoryName=t.category_name,this.obj.img=t.image_name,this.obj.date=t.date,this.obj.attachment=c,this.obj.status=t.status,this.obj.galleryCategoryId=t.gallery_category_id,this.obj.fileCount=t.file_count,this.obj}}])}()).\u0275fac=function(t){return new(t||i)(D.hc(S))},i.\u0275prov=D.Tb({token:i,factory:i.\u0275fac,providedIn:"root"}),i),X=((c=function(){return _createClass((function t(e){_classCallCheck(this,t),this.adapter=e}),[{key:"adapt",value:function(t){var e=this,a=[];return t.data.forEach((function(t){a.push(e.adapter.adapt(t))})),{keyword:t.keyword,message:t.message,gallarys:a,pageSize:t.count,page:t.page}}}])}()).\u0275fac=function(t){return new(t||c)(D.hc(N))},c.\u0275prov=D.Tb({token:c,factory:c.\u0275fac,providedIn:"root"}),c),z=a("qc5V"),R=((n=function(){return _createClass((function t(e,a){_classCallCheck(this,t),this.adapter=e,this.apiService=a,this.userId=0}),[{key:"create",value:function(t,e){var a=this;return this.apiService.post("create"==e?"gallery/create":"gallery/update",t).pipe(Object(I.a)((function(t){return a.adapter.adapt(t)})))}},{key:"status",value:function(t,e){return this.apiService.post(2!=e?"gallery/status":"gallery/delete",t)}},{key:"getList",value:function(){var t=this;return this.apiService.get("gallery").pipe(Object(I.a)((function(e){return t.adapter.adapt(e)})))}},{key:"getOne",value:function(t){var e=this;return this.apiService.get("gallery/".concat(t)).pipe(Object(I.a)((function(t){return e.adapter.adapt(t)})))}}])}()).\u0275fac=function(t){return new(t||n)(D.hc(X),D.hc(z.a))},n.\u0275prov=D.Tb({token:n,factory:n.\u0275fac,providedIn:"root"}),n),T=a("Gg3P"),E=a("Olgc"),V=a("jtrZ"),A=a("f0Cb"),q=a("XiUz"),J=a("mm/Q");function K(t,e){if(1&t&&(D.dc(0,"div",14),D.Yb(1,"img",15),D.cc()),2&t){var a=e.$implicit,c=e.index;D.Gb(1),D.yc("lightbox",c)("gallery","anotherLightbox")("src",a.data.thumb,D.Vc)}}function U(t,e){if(1&t&&(D.dc(0,"div",12),D.ad(1,K,2,3,"div",13),D.cc()),2&t){var a=D.pc();D.Gb(1),D.yc("ngForOf",a.items)}}function B(t,e){1&t&&(D.dc(0,"div",16),D.cd(1,"No images found.."),D.cc())}var Z,$=((Z=function(){return _createClass((function t(e,a,c,i,r,n,o){_classCallCheck(this,t),this.gallery=e,this.modelService=a,this.router=c,this.activatedRoute=i,this.loader=r,this.config=n,this.toaster=o,this.categoryList={},"DD MM YYYY"==n.dateRawFormat&&(this.dateFormat="dd MMM, yyyy"),"YYYY MM DD"==n.dateRawFormat&&(this.dateFormat="yyyy, MMM dd"),"MM DD YYYY"==n.dateRawFormat&&(this.dateFormat="MMM dd, yyyy "),this.galleryId=this.activatedRoute.snapshot.params.galleryId,this.getOneGallery(this.galleryId)}),[{key:"getOneGallery",value:function(t){var e=this;this.loader.open(),this.modelService.getOne(t).subscribe((function(t){"success"==t.keyword?(e.categoryList=t.gallarys[0],e.items=[],e.items=e.categoryList.attachment.map((function(t){return new O.d({src:t.imageName,thumb:t.imageName,name:t.image})})),e.basicLightboxExample(),e.withCustomGalleryConfig(),e.loader.close()):(e.loader.close(),e.toaster.present(t.message))}))}},{key:"ngOnInit",value:function(){}},{key:"basicLightboxExample",value:function(){this.gallery.ref().load(this.items)}},{key:"withCustomGalleryConfig",value:function(){var t=this.gallery.ref("anotherLightbox");t.setConfig({imageSize:O.e.Cover,thumbPosition:O.f.Bottom}),t.load(this.items)}}])}()).\u0275fac=function(t){return new(t||Z)(D.Xb(O.a),D.Xb(R),D.Xb(o.g),D.Xb(o.a),D.Xb(T.a),D.Xb(V.a),D.Xb(E.a))},Z.\u0275cmp=D.Rb({type:Z,selectors:[["app-view"]],decls:30,vars:8,consts:[["rel","stylesheet","href","https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css"],[1,"create_btn"],["mat-raised-button","","color","primary",1,"btn-primary-bg",3,"routerLink"],[1,"form_bg"],[1,"p-0"],[1,""],[1,"card-title-text"],["fxLayout","row wrap",1,"row","mt-24"],["fxFlex","100","fxFlex.gt-xs","10",1,""],["fxFlex","100","fxFlex.gt-xs","37",1,""],["fxLayout","row wrap","class","mt-16 mb-12",4,"ngIf"],["class","text-center",4,"ngIf"],["fxLayout","row wrap",1,"mt-16","mb-12"],["fxFlex","100","fxFlex.gt-xs","16.6","class","pr-12",4,"ngFor","ngForOf"],["fxFlex","100","fxFlex.gt-xs","16.6",1,"pr-12"],["width","180px","height","130px",1,"mr-8",3,"lightbox","gallery","src"],[1,"text-center"]],template:function(t,e){1&t&&(D.Yb(0,"link",0),D.dc(1,"div",1),D.dc(2,"button",2),D.cd(3,"Back"),D.cc(),D.cc(),D.dc(4,"div",3),D.dc(5,"mat-card",4),D.dc(6,"mat-card-title",5),D.dc(7,"div",6),D.cd(8,"View Gallery"),D.cc(),D.Yb(9,"mat-divider"),D.cc(),D.dc(10,"mat-card-content"),D.dc(11,"div",7),D.dc(12,"div",8),D.dc(13,"label"),D.dc(14,"strong"),D.cd(15,"Category Name"),D.cc(),D.cc(),D.cc(),D.dc(16,"div",9),D.dc(17,"label"),D.cd(18),D.cc(),D.cc(),D.cc(),D.dc(19,"div",7),D.dc(20,"div",8),D.dc(21,"label"),D.dc(22,"strong"),D.cd(23,"Event date"),D.cc(),D.cc(),D.cc(),D.dc(24,"div",9),D.dc(25,"label"),D.cd(26),D.qc(27,"date"),D.cc(),D.cc(),D.cc(),D.ad(28,U,2,1,"div",10),D.ad(29,B,2,0,"div",11),D.cc(),D.cc(),D.cc()),2&t&&(D.Gb(2),D.yc("routerLink","/parent/gallery/list"),D.Gb(16),D.dd(null==e.categoryList?null:e.categoryList.categoryName),D.Gb(8),D.dd(D.sc(27,5,null==e.categoryList?null:e.categoryList.date,e.dateFormat)),D.Gb(2),D.yc("ngIf",0!==(null==e.categoryList?null:null==e.categoryList.attachment?null:e.categoryList.attachment.length)),D.Gb(1),D.yc("ngIf",0===(null==e.categoryList?null:null==e.categoryList.attachment?null:e.categoryList.attachment.length)))},directives:[d.a,o.h,u.a,u.f,A.a,u.c,q.c,q.a,l.o,l.n,J.b],pipes:[l.e],styles:[".mat-form-field[_ngcontent-%COMP%]{width:100%}.f24[_ngcontent-%COMP%]{font-size:24px}.ml-0[_ngcontent-%COMP%]{margin-left:0!important}"]}),Z);function H(t,e){if(1&t){var a=D.ec();D.dc(0,"div",2),D.dc(1,"mat-card",3),D.lc("click",(function(t){D.Sc(a);var c=e.$implicit;return D.pc().viewDetails(c.galleryId)})),D.dc(2,"div",4),D.dc(3,"div",5),D.Yb(4,"img",6),D.cc(),D.dc(5,"div",7),D.dc(6,"h3",8),D.dc(7,"strong"),D.cd(8),D.cc(),D.cc(),D.dc(9,"h3"),D.cd(10),D.qc(11,"date"),D.cc(),D.dc(12,"h4",9),D.cd(13),D.cc(),D.cc(),D.cc(),D.cc(),D.cc()}if(2&t){var c=e.$implicit,i=D.pc();D.Gb(4),D.yc("src",null!=c&&c.attachment[0]?null==c?null:null==c.attachment[0]?null:c.attachment[0].imageName:i.assets/i.images/i.avartar.jpg,D.Vc),D.Gb(2),D.zc("title",null==c?null:c.categoryName),D.Gb(2),D.dd(null==c?null:c.categoryName),D.Gb(2),D.dd(D.sc(11,5,null==c?null:c.date,i.dateFormat)),D.Gb(3),D.ed("Contains : ",null==c?null:c.fileCount," files")}}var Q,W=[{path:"",children:[{path:"list",component:(Q=function(){return _createClass((function t(e,a,c,i,r,n){_classCallCheck(this,t),this.gallery=e,this.modelService=a,this.router=c,this.config=i,this.loader=r,this.toaster=n,this.categoryList=[],"DD MM YYYY"==i.dateRawFormat&&(this.dateFormat="dd MMM, yyyy"),"YYYY MM DD"==i.dateRawFormat&&(this.dateFormat="yyyy, MMM dd"),"MM DD YYYY"==i.dateRawFormat&&(this.dateFormat="MMM dd, yyyy "),this.getAll()}),[{key:"getAll",value:function(){var t=this;this.loader.open(),this.modelService.getList().subscribe((function(e){"success"==e.keyword?(t.loader.close(),t.categoryList=e.gallarys):(t.loader.close(),t.toaster.present(e.message))}))}},{key:"viewDetails",value:function(t){this.router.navigate(["/parent/gallery/view",t])}},{key:"ngOnInit",value:function(){}}])}(),Q.\u0275fac=function(t){return new(t||Q)(D.Xb(O.a),D.Xb(R),D.Xb(o.g),D.Xb(V.a),D.Xb(T.a),D.Xb(E.a))},Q.\u0275cmp=D.Rb({type:Q,selectors:[["app-list"]],decls:2,vars:1,consts:[["fxLayout","row wrap",1,"border-top"],["fxFlex","100","fxFlex.gt-xs","25","class","",4,"ngFor","ngForOf"],["fxFlex","100","fxFlex.gt-xs","25",1,""],[1,"p-8",2,"border-left","3px solid #734f96","cursor","pointer",3,"click"],["fxLayout","row wrap"],["fxFlex","100","fxFlex.gt-xs","30"],["width","60px","height","60px",1,"mr-8",3,"src"],["fxFlex","100","fxFlex.gt-xs","70",1,""],[1,"text-overflow",3,"title"],[1,"mb-0"]],template:function(t,e){1&t&&(D.dc(0,"div",0),D.ad(1,H,14,8,"div",1),D.cc()),2&t&&(D.Gb(1),D.yc("ngForOf",e.categoryList))},directives:[q.c,l.n,q.a,u.a],pipes:[l.e],styles:[".mat-form-field[_ngcontent-%COMP%]{width:100%}.f24[_ngcontent-%COMP%]{font-size:24px}.ml-0[_ngcontent-%COMP%]{margin-left:0!important}.text-overflow[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;display:block;white-space:nowrap}.border-top[_ngcontent-%COMP%]{border-top:1px solid rgba(60,43,43,.5490196078431373)!important}"]}),Q),data:{title:"List of Gallery",breadcrumb:"List"}},{path:"view/:galleryId",component:$,data:{title:"View Gallery",breadcrumb:"View"}}]}],tt=a("d3UM"),et=a("aYsj");a.d(e,"AppGalleryModule",(function(){return ct}));var at,ct=((at=_createClass((function t(){_classCallCheck(this,t)}))).\u0275mod=D.Vb({type:at}),at.\u0275inj=D.Ub({factory:function(t){return new(t||at)},imports:[[l.c,s.m,s.z,m.c,p.c,u.e,g.c,h.n,b.b,v.c,f.b,C.c,Y.d,d.b,y.b,x.a,w.a,k.b,tt.b,_.a,F.b,L.c,j.p,et.a,M.a,O.c,J.a,o.k.forChild(W)]]}),at)}}]);
/var/snap/../crash/../www/./yapwebtv.com/../school_portal_admin/127-es5.c4726db1177262727e6e.js