text: (window.webpackJsonp=window.webpackJsonp||[]).push([[233],{idra:function(t,e,n){"use strict";n.r(e);var o=n("ofXK"),i=n("3Pt+"),r=n("TEn/"),s=n("tyNb"),d=n("mrSG"),a=n("qXBG"),u=n("fXoL"),c=n("ejX5");function l(t,e){if(1&t){const t=u["\u0275\u0275getCurrentView"]();u["\u0275\u0275elementStart"](0,"ion-buttons",4),u["\u0275\u0275elementStart"](1,"ion-button",5),u["\u0275\u0275listener"]("click",(function(){return u["\u0275\u0275restoreView"](t),u["\u0275\u0275nextContext"]().gotoInCampus()})),u["\u0275\u0275text"](2,"\u53bb\u8003\u8bc4"),u["\u0275\u0275elementEnd"](),u["\u0275\u0275elementEnd"]()}}const m=[{path:"",component:(()=>{class t{constructor(t,e,n){this.route=t,this.router=e,this.auth=n,this.isStudent=!0,this.route.params.subscribe(t=>{this.the_studentid=t.id})}ngOnInit(){this.init()}init(){return Object(d.a)(this,void 0,void 0,(function*(){this.isStudent=yield this.auth.is_student()}))}gotoInCampus(){this.router.navigate(["character/incampus/create",{id:this.the_studentid}])}}return t.\u0275fac=function(e){return new(e||t)(u["\u0275\u0275directiveInject"](s.a),u["\u0275\u0275directiveInject"](s.g),u["\u0275\u0275directiveInject"](a.a))},t.\u0275cmp=u["\u0275\u0275defineComponent"]({type:t,selectors:[["app-display-student"]],decls:9,vars:2,consts:[["slot","start"],["defaultHref","tabs"],["slot","end",4,"ngIf"],[3,"studentid"],["slot","end"],[3,"click"]],template:function(t,e){1&t&&(u["\u0275\u0275elementStart"](0,"ion-header"),u["\u0275\u0275elementStart"](1,"ion-toolbar"),u["\u0275\u0275elementStart"](2,"ion-buttons",0),u["\u0275\u0275element"](3,"ion-back-button",1),u["\u0275\u0275elementEnd"](),u["\u0275\u0275elementStart"](4,"ion-title"),u["\u0275\u0275text"](5,"\u5b66\u751f\u8be6\u60c5"),u["\u0275\u0275elementEnd"](),u["\u0275\u0275template"](6,l,3,0,"ion-buttons",2),u["\u0275\u0275elementEnd"](),u["\u0275\u0275elementEnd"](),u["\u0275\u0275elementStart"](7,"ion-content"),u["\u0275\u0275element"](8,"app-student-detail",3),u["\u0275\u0275elementEnd"]()),2&t&&(u["\u0275\u0275advance"](6),u["\u0275\u0275property"]("ngIf",!1===e.isStudent),u["\u0275\u0275advance"](2),u["\u0275\u0275property"]("studentid",e.the_studentid))},directives:[r.IonHeader,r.IonToolbar,r.IonButtons,r.IonBackButton,r.IonBackButtonDelegate,r.IonTitle,o.NgIf,r.IonContent,c.a,r.IonButton],styles:[""]}),t})()}];let p=(()=>{class t{}return t.\u0275mod=u["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=u["\u0275\u0275defineInjector"]({factory:function(e){return new(e||t)},imports:[[s.i.forChild(m)],s.i]}),t})();var f=n("Ql/B");n.d(e,"DisplayStudentPageModule",(function(){return h}));let h=(()=>{class t{}return t.\u0275mod=u["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=u["\u0275\u0275defineInjector"]({factory:function(e){return new(e||t)},imports:[[o.CommonModule,i.FormsModule,r.IonicModule,p,f.a]]}),t})()}}]);