1(function(){try{var y=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=(new y.Error).stack;C&&(y._sentryDebugIds=y._sentryDebugIds||{},y._sentryDebugIds[C]="e824d92a-6507-4a03-b5e4-8f523ed7d5a4",y._sentryDebugIdIdentifier="sentry-dbid-e824d92a-6507-4a03-b5e4-8f523ed7d5a4")}catch{}})(),(self.webpackChunktooningIonicAdmin=self.webpackChunktooningIonicAdmin||[]).push([[2273],{52273:(y,C,a)=>{a.r(C),a.d(C,{EtcUploadCategoryListPageModule:()=>se});var u=a(1085),T=a(73086),m=a(99335),_=a(99890),b=a(11896),v=a(94218),l=a(35401),M=a(76060),g=a(25786),f=a(64787),x=a(78859),E=a(53927),I=a(56533),s=a(3487),e=a(9957),S=a(43874),L=a(54632),O=a(42e3),P=a(89640),V=a(86691),k=a(77762),B=a(90619),d=a(1999),R=a(98156),w=a(28513),j=a(15969),F=a(21575),W=a(21120),K=a(71055),D=a(73854),$=a(11741);function N(i,c){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-button",10),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.isReorder=!0)}),e.\u0275\u0275text(1," \uc21c\uc11c\ubcc0\uacbd "),e.\u0275\u0275elementEnd()}}function z(i,c){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-button",11),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.addCategory())}),e.\u0275\u0275text(1," \uc2e0\uaddc \ub300\ubd84\ub958 \ucd94\uac00 "),e.\u0275\u0275elementEnd()}}function Q(i,c){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-button",18),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().index,r=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(r.editCategory(n))}),e.\u0275\u0275text(1," \uc218\uc815 "),e.\u0275\u0275elementEnd()}}function G(i,c){if(1&i&&(e.\u0275\u0275elementStart(0,"ion-item")(1,"div",12)(2,"div",13),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"div",14),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",15),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(8,Q,2,0,"ion-button",16),e.\u0275\u0275element(9,"ion-reorder",8)(10,"div",17),e.\u0275\u0275elementEnd()),2&i){const t=c.$implicit,o=c.index,n=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(o+1),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",t.name[n.languageKey.ko]," "),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",t.length," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",n.type===n.editTypeEnum.list&&!n.isReorder)}}function H(i,c){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-item")(1,"ion-label",24),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"ion-input",25),e.\u0275\u0275twoWayListener("ngModelChange",function(n){const r=e.\u0275\u0275restoreView(t).$implicit,p=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(p.data.name[r],n)||(p.data.name[r]=n),e.\u0275\u0275resetView(n)}),e.\u0275\u0275elementEnd()()}if(2&i){const t=c.$implicit,o=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(t),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("ngModel",o.data.name[t])}}function Z(i,c){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-button",26),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.editApply())}),e.\u0275\u0275text(1,"\uc218\uc815\uc644\ub8cc"),e.\u0275\u0275elementEnd()}}function Y(i,c){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-button",26),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.addApply())}),e.\u0275\u0275text(1,"\ucd94\uac00\uc644\ub8cc"),e.\u0275\u0275elementEnd()}}function X(i,c){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-col",19)(1,"ion-list",20),e.\u0275\u0275template(2,H,4,2,"ion-item",6),e.\u0275\u0275pipe(3,"values"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"div",21)(5,"ion-button",22),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();
1return e.\u0275\u0275resetView(n.type=n.editTypeEnum.list)}),e.\u0275\u0275text(6,"\ucde8\uc18c"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(7,Z,2,0,"ion-button",23)(8,Y,2,0,"ion-button",23),e.\u0275\u0275elementEnd()()}if(2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",e.\u0275\u0275pipeBind1(3,3,t.languageKey)),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",t.type===t.editTypeEnum.edit),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",t.type===t.editTypeEnum.add)}}let J=(()=>{class i{constructor(t,o,n){this.modalCtrl=t,this.app=o,this.etcUploadService=n,this.list=[],this.editTypeEnum=d.zlr}ngOnInit(){var t=this;return(0,s.A)(function*(){t.isReorder=!1,t.languageKey=d.gOZ,t.type=t.editTypeEnum.list,t.dataReset(),yield t.getAllEtcUploadTypeWithLength()})()}getAllEtcUploadTypeWithLength(){var t=this;return(0,s.A)(function*(){const{data:o}=yield t.etcUploadService.getAllEtcUploadTypeWithLength().toPromise();t.list=o})()}addCategory(){this.dataReset(),this.type=this.editTypeEnum.add}editCategory(t){this.dataReset(),this.listIndex=t,this.type=this.editTypeEnum.edit,this.data=(0,K.A)(this.list[this.listIndex])}doReorder(t){var o=this;return(0,s.A)(function*(){console.log("Dragged from index",t.detail.from,"to",t.detail.to);const n=o.list.splice(t.detail.from,1)[0];o.list.splice(t.detail.to,0,n),t.detail.complete(),o.isReorder=!1,yield o.updateOrder(),yield o.app.showToast("\uc21c\uc11c\ubcc0\uacbd\uc774 \uc644\ub8cc\ub418\uc5c8\uc2b5\ub2c8\ub2e4.")})()}updateOrder(){var t=this;return(0,s.A)(function*(){try{const o=t.list.map((n,r)=>
1{t.etcUploadService.etcUploadTypeOrderUpdate(+n.id,r).toPromise()});Promise.all(o).then((0,s.A)(function*(){yield t.app.showToast("\uc21c\uc11c\ubcc0\uacbd \uc800\uc7a5\uc744 \uc131\uacf5\ud558\uc600\uc2b5\ub2c8\ub2e4.")}),n=>(t.app.showToast("\ub9ac\uc624\ub354 \uc911 \uc5d0\ub7ec \ubc1c\uc0dd \uc0ad\uc81c \ud6c4 \ub2e4\uc2dc \uc9c4\ud589 \ud558\uc138\uc694"),console.error("\ub9ac\uc624\ub354 \uc624\ub958",n),!1))}catch(o){console.error(o),yield t.app.showToast(o.message)}})()}editApply(){var t=this;return(0,s.A)(function*(){(yield t.isValidation())?(t.type=t.editTypeEnum.list,delete t.data.__typename,t.list.splice(t.listIndex,1,t.data),t.etcUploadService.updateEtcUploadType(t.data).subscribe(()=>{t.app.showToast(t.listIndex+1+"\ubc88\uc9f8 \uac12\uc774 \uc218\uc815\ub418\uc5c8\uc2b5\ub2c8\ub2e4.")},o=>{t.app.showToast("\ub300\ubd84\ub958 \uc218\uc815 \uc2e4\ud328! \uad00\ub9ac\uc790\uc5d0\uac8c \ubb38\uc758\ud558\uc138\uc694."),(0,D.COt)("editApply",o.message,o.stack,t.app.user.getUserEmail(),!0)})):yield t.app.showToast("\ubaa8\ub4e0 \uac12\uc774 \uc785\ub825\ub418\uc788\uc5b4\uc57c \ud569\ub2c8\ub2e4.")})()}addApply(){var t=this;return(0,s.A)(function*(){(yield t.isValidation())?(t.type=t.editTypeEnum.list,t.list.push(t.data),t.etcUploadService.createEtcUploadType(t.data).subscribe(o=>{t.app.showToast("\ub300\ubd84\ub958\uac00 \ucd94\uac00\ub418\uc5c8\uc2b5\ub2c8\ub2e4."),t.list.map(n=>{n.id||(n.id=o.data.etcUploadTypeCreate.id)})},o=>{t.app.showToast("\ub300\ubd84\ub958 \ucd94\uac00 \uc2e4\ud328! \uad00\ub9ac\uc790\uc5d0\uac8c \ubb38\uc758\ud558\uc138\uc694."),(0,D.COt)("addApply",o.message,o.stack,t.app.user.getUserEmail(),!0)})):yield t.app.showToast("\ubaa8\ub4e0 \uac12\uc774 \uc785\ub825\ub418\uc788\uc5b4\uc57c \ud569\ub2c8\ub2e4.")})()}dataReset(){this.data={id:0,name:{[d.gOZ.ko]:"",[d.gOZ.en]:"",[d.gOZ.jp]:"",[d.gOZ.fr]:""},length:0}}isValidation(){var t=this;return(0,s.A)(function*(){let o=!0;for(const[n,r]of Object.entries(t.data.name))if(console.log(`${n}: ${r}`),""===r)return o=!1,o;return o})()}modalCancel(){var t=this;return(0,s.A)(function*(){t.dataReset(),yield t.modalCtrl.dismiss({})})()}static{this.\u0275fac=function(o){return new(o||i)(e.\u0275\u0275directiveInject(l.ModalController),e.\u0275\u0275directiveInject($.d),e.\u0275\u0275directiveInject(w.G))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-modal-etc-upload-make-type-setting"]],standalone:!1,decls:19,vars:6,consts:[["slot","end",2,"margin-right","0 !important"],["mode","md","style","padding-right: 8px; padding-left: 8px","color","success",3,"click",4,"ngIf"],["mode","md","style","padding-right: 8px; padding-left: 8px","color","tertiary",3,"click",4,"ngIf"],["appScrollbarTheme",""],["size","12",3,"sizeMd"],[3,"ionItemReorder","disabled"],[4,"ngFor","ngForOf"],["size-md","6","size","12","style","background: #f3f3f3; border-radius: 5px",4,"ngIf"],["slot","end"],["type","button",3,"click"],["mode","md","color","success",2,"padding-right","8px","padding-left","8px",3,"click"],["mode","md","color","tertiary",2,"padding-right","8px","padding-left","8px",3,"click"],[1,"d-flex","justify-content-between","align-items-center",2,"width","95%"],[2,"width","30%","text-align","left"],["matTooltip","\ud55c\uad6d \uce74\ud14c\uace0\ub9ac \uc774\ub984","matTooltipPosition","below",2,"width","40%","text-align","center"],["matTooltip","\ud3ec\ud568\ub41c \uce74\ud14c\uace0\ub9ac \uc694\uc18c\uc758 \uc218","matTooltipPosition","below",2,"width","30%","text-align","right"],["slot","end","mode","md","color","success",3,"click",4,"ngIf"],["tabindex","0"],["slot","end","mode","md","color","success",3,"click"],["size-md","6","size","12",2,"background","#f3f3f3","border-radius","5px"],["lines","full",1,"ion-no-margin"],[1,"d-flex","justify-content-end"],["mode","md","fill","outline",3,"click"],["mode","md","color","main",3,"click",4,"ngIf"],["position","floating"],[3,"ngModelChange","ngModel"],["mode","md","color","main",3,"click"]],template:function(o,n){1&o&&(e.\u0275\u0275elementStart(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),e.\u0275\u0275text(3,"\ub300\ubd84\ub958 \uc124\uc815(\uc2e0\uaddc\ucd94\uac00/\uc218\uc815)"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"ion-buttons",0),e.\u0275\u0275template(5,N,2,0,"ion-button",1)(6,z,2,0,"ion-button",2),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(7,"ion-content",3)(8,"ion-grid")(9,"ion-row")(10,"ion-col",4)(11,"ion-reorder-group",5),e.\u0275\u0275listener("ionItemReorder",function(p){return n.doReorder(p)}),e.\u0275\u0275template(12,G,11,4,"ion-item",6),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(13,X,9,5,"ion-col",7),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(14,"ion-footer")(15,"ion-toolbar")(16,"ion-buttons",8)(17,"ion-button",9),e.\u0275\u0275listener("click",function(){return n.modalCancel()}),e.\u0275\u0275text(18,"\ub2eb\uae30"),e.\u0275\u0275elementEnd()()()()),2&o&&(e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",!n.isReorder&&n.type!==n.editTypeEnum.edit),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",n.type===n.editTypeEnum.list),e.\u0275\u0275advance(4),e.\u0275\u0275property("sizeMd",n.type===n.editTypeEnum.list?12:6),e.\u0275\u0275advance(),e.\u0275\u0275property("disabled",!n.isReorder),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",n.list),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",n.type===n.editTypeEnum.add||n.type===n.editTypeEnum.edit))},dependencies:[m.NgForOf,m.NgIf,_.BC,_.vS,l.IonButton,l.IonButtons,l.IonCol,l.IonContent,l.IonFooter,l.IonGrid,l.IonHeader,l.IonInput,l.IonItem,l.IonLabel,l.IonList,l.IonReorder,l.IonReorderGroup,l.IonRow,l.IonTitle,l.IonToolbar,l.TextValueAccessor,f.R,v.e,T.Op],encapsulation:2})}}return i})();var q=a(5240),ee=a(90954),te=a(69680);const ne=["infiniteScroll"];function oe(i,c){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"app-editor2-bulk-convert-bar",13),e.\u0275\u0275listener("startConvert",function(){const n=e.\u0275\u0275restoreView(t),r=e.\u0275\u0275nextContext();
1return e.\u0275\u0275resetView(r.editor2ConvertAll.start(n))})("stopConvert",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.editor2ConvertAll.stop())}),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275property("noun",t.sourceType)("progress",t.editor2ConvertAll.progress())}}function ie(i,c){1&i&&e.\u0275\u0275element(0,"app-no-item")}function re(i,c){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",14)(1,"ion-card",15)(2,"div",16),e.\u0275\u0275listener("click",function(){const n=e.\u0275\u0275restoreView(t).$implicit,r=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(r.clickModify(n.categoryId))}),e.\u0275\u0275elementStart(3,"div",17),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(5,"img",18),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"ion-card-header")(7,"ion-card-title"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"ion-card-subtitle"),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"ion-card-content"),e.\u0275\u0275element(12,"hr",19),e.\u0275\u0275elementStart(13,"ion-button",20),e.\u0275\u0275listener("click",function(){const n=e.\u0275\u0275restoreView(t).$implicit,r=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(r.viewEditor2Category(n.categoryId))}),e.\u0275\u0275text(14," \uc5d0\ub514\ud1302 "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"div",21)(16,"ion-button",22),e.\u0275\u0275listener("cbOnSuccess",function(n){e.\u0275\u0275restoreView(t);const r=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(r.copied(n))}),e.\u0275\u0275text(17," ID\ubcf5\uc0ac "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(18,"ion-button",23),e.\u0275\u0275listener("click",function(){const n=e.\u0275\u0275restoreView(t).$implicit,r=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(r.clickRemove(n.name_ko,n.categoryId))}),e.\u0275\u0275text(19," \uc0ad\uc81c "),e.\u0275\u0275elementEnd()()()()()}if(2&i){const t=c.$implicit,o=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275property("ngClass",o.uiBGColor(t.status)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",o.uiStatusText(t.status)," "),e.\u0275\u0275advance(),e.\u0275\u0275propertyInterpolate("src",t.imgPath,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(t.name_ko),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(t.name_en),e.\u0275\u0275advance(6),e.\u0275\u0275property("cbContent",t.categoryId)}}const ae=[{path:"",component:(()=>{class i extends P.v{constructor(t,o,n,r,p,h,U,A,ce){super(),this.route=t,this.appComp=o,this.alertController=n,this.toastController=r,this.domSanitizer=p,this.modalCtrl=h,this.appL=U,this.etcUploadApiService=A,this.statusService=ce,this.editor2ConvertAll=(0,e.inject)(k.H),this.convertAllKind=null,this.visibleList=[],this.numOfPagingItems=20,this.data=new F.Pt,this.sourceType=t.snapshot.params.resourcetype,this.convertAllKind=(0,B.wQ)(this.sourceType)}ngOnInit(){super.ngOnInit(),this.loading=new W.R,this.loaded=!1,this.visibleList=[]}ionViewWillEnter(){var t=this;return(0,s.A)(function*(){t.app.sourceAuthorType=t.route.snapshot.params.AuthorType,yield t.getEtcUploadCategoryList(),t.fabOpen=!0,setTimeout(()=>{t.fabOpen=!1},5e3)})()}ionViewDidEnter(){var t=()=>super.ionViewDidEnter,o=this;return(0,s.A)(function*(){t().call(o),console.log(o.route.snapshot.params.resourcetype)})()}getEtcUploadCategoryList(){var t=this;return(0,s.A)(function*(){t.loaded=!1,yield t.loading.showLoader(""),console.log("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"),t.etcUploadApiService.getEtcUploadCategory(t.app.cache.getWorkingEtcUploadType(),t.app.sourceAuthorType).pipe((0,S.s)(1)).subscribe(function(){var o=(0,s.A)(function*({data:n,errors:r}){0===n.length?(console.log("empty"),t.isEmpty=!0):(t.visibleList=n,t.isEmpty=!1),r&&console.error("\ub124\ud2b8\uc6cc\ud06c\uc5d0\ub7ec!!!:::",r),t.loaded=!0,yield t.loading.hideLoader()});return function(n){return o.apply(this,arguments)}}(),function(){var o=(0,s.A)(function*(n){yield t.loading.hideLoader(),console.error(`${t.sourceType}`,"\uac00\uc838\uc624\uae30\ub97c \uc2e4\ud328 \ud558\uc600\uc2b5\ub2c8\ub2e4."),yield t.modal_toast(`${t.sourceType}\uac00\uc838\uc624\uae30\ub97c \uc2e4\ud328 \ud558\uc600\uc2b5\ub2c8\ub2e4.`)});return function(n){return o.apply(this,arguments)}}())})()}openModalReorder(){var t=this;return(0,s.A)(function*(){const o=yield t.modalCtrl.create({component:R.c,componentProps:{list:t.visibleList,type:"etcUploadCategory"}});return o.onDidDismiss().then(function(){var n=(0,s.A)(function*(r){null===r.data?console.log("data \uc5c6\uc74c"):yield t.getEtcUploadCategoryList()});return function(r){return n.apply(this,arguments)}}()),yield o.present()})()}modal_toast(t){var o=this;return(0,s.A)(function*(){yield(yield o.toastController.create({message:t,duration:1500})).present()})()}doRefresh(t){var o=this;return(0,s.A)(function*(){yield o.getEtcUploadCategoryList(),setTimeout(()=>{console.log("Async operation has ended"),t.target.complete()},100)})()}clickNew(t){this.app.cache.removeWorkingEtcUpload(),this.statusService.status=d.bk.prepare,this.app.go("etcUpload-make-basic/"+this.route.
1snapshot.params.resourcetype+"/"+this.app.sourceAuthorType)}clickRemove(t,o){var n=this;return(0,s.A)(function*(){const r=n;yield(yield n.alertController.create({header:`${n.sourceType}\uac00(\uc774) \uc0ad\uc81c\ub429\ub2c8\ub2e4!`,message:`'${t} ${n.sourceType}' \ub97c(\uc744) \uc0ad\uc81c \ud558\uaca0\uc2b5\ub2c8\uae4c?`,buttons:[{text:"Cancel",role:"cancel",cssClass:"secondary"},{text:"Okay",handler:()=>{n.etcUploadApiService.deleteEtcUploadCategory(o).pipe((0,S.s)(1)).subscribe(function(){var h=(0,s.A)(function*(U){r.visibleList.splice(r.visibleList.indexOf(r.visibleList.find(A=>A.categoryId===o)),1),yield n.modal_toast(`'${t} ${n.sourceType}' \uc0ad\uc81c\ub97c(\uc744) \uc644\ub8cc\ud558\uc600\uc2b5\ub2c8\ub2e4.`)});return function(U){return h.apply(this,arguments)}}(),h=>{n.modal_toast("\uc0ad\uc81c \uc2e4\ud328\ud558\uc600\uc2b5\ub2c8\ub2e4.. \uc624\ub958!!"),console.error("\uc0ad\uc81c \uc2e4\ud328:::::",h)})}}]})).present()})()}clickModify(t){var o=this;return(0,s.A)(function*(){o.app.cache.setWorkingEtcUpload(t),o.app.go("/etcUpload-make-basic/"+o.route.snapshot.params.resourcetype+"/"+o.app.sourceAuthorType)})()}viewEditor2Category(t){this.app.go("/editor2-resource-category-view/"+t)}copied(t){this.app.showToast(t.content+" \ub97c \uce74\ud53c\ud558\uc600\uc2b5\ub2c8\ub2e4.",1e3)}uiBGColor(t){switch(t){case d.bk.publish:return"winter-neva-gradient";case d.bk.prepare:return"juicy-peach-gradient"}return"heavy-rain-gradient"}uiStatusText(t){switch(t){case d.bk.publish:return"\ubc30\ud3ec\uc911";case d.bk.prepare:return"\uc900\ube44\uc911";case d.bk.adminView:return"\uad00\ub9ac\uc790\ubdf0"}return t}etcTypeSetting(){var t=this;return(0,s.A)(function*(){const o=yield t.modalCtrl.create({component:J,componentProps:{},cssClass:"modal-size-2"});return o.onDidDismiss().then(function(){var n=(0,s.A)(function*(r){});return function(r){return n.apply(this,arguments)}}()),yield o.present()})()}static{this.\u0275fac=function(o){return new(o||i)(e.\u0275\u0275directiveInject(I.ActivatedRoute),e.\u0275\u0275directiveInject(O.Z),e.\u0275\u0275directiveInject(l.AlertController),e.\u0275\u0275directiveInject(l.ToastController),e.\u0275\u0275directiveInject(q.up),e.\u0275\u0275directiveInject(l.ModalController),e.\u0275\u0275directiveInject(j.E),e.\u0275\u0275directiveInject(w.G),e.\u0275\u0275directiveInject(L.K))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-etcUpload-category-list"]],viewQuery:function(o,n){if(1&o&&e.\u0275\u0275viewQuery(ne,5),2&o){let r;e.\u0275\u0275queryRefresh(r=e.\u0275\u0275loadQuery())&&(n.infinityScroll=r.first)}},standalone:!1,features:[e.\u0275\u0275ProvidersFeature([V.Kk,k.H]),e.\u0275\u0275InheritDefinitionFeature],decls:19,vars:10,consts:[["slot","start"],["autoHide","true"],["slot","end",2,"margin-right","0 !important"],["mode","ios","color","success",2,"padding-right","8px","padding-left","8px",3,"click"],["mode","md","color","tertiary",2,"padding-right","8px","padding-left","8px",3,"click"],["appScrollbarTheme",""],["scope","all",3,"noun","progress"],["slot","fixed","pullFactor","0.5","pullMin","100","pullMax","200",3,"ionRefresh"],["pullingIcon","chevron-down-circle-outline","refreshingSpinner","crescent"],[1,"row","p-2"],[4,"ngIf"],["class","col-md-1 text-center p-2",4,"ngFor","ngForOf"],[3,"clickNew","closeW","fabOpen","icon","openW","title"],["scope","all",3,"startConvert","stopConvert","noun","progress"],[1,"col-md-1","text-center","p-2"],[2,"background-color","#f3f3f3"],["matRipple","",2,"min-height","150px",3,"click","ngClass"],[1,"rounded","small","text-center","font-weight-bold","bg-white","text-dark","p-1","m-1","w-25","position-absolute"],["alt","etc upload image",2,"height","150px",3,"src"],[1,"px-2"],["color","dark","type","button",1,"m-0","mb-2","w-100",3,"click"],[1,"d-flex","justify-content-between"],["expand","block","color","white","ngxClipboard","","type","button",1,"m-0",2,"width","48%",3,"cbOnSuccess","cbContent"],["color","danger","type","button",1,"m-0",2,"width","48%",3,"click"]],template:function(o,n){if(1&o&&(e.\u0275\u0275elementStart(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),e.\u0275\u0275element(3,"ion-menu-button",1),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"ion-title"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"ion-buttons",2)(7,"ion-button",3),e.\u0275\u0275listener("click",function(){return n.etcTypeSetting()}),e.\u0275\u0275text(8," \ub300\ubd84\ub958 \uc124\uc815 "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"ion-button",4),e.\u0275\u0275listener("click",function(){return n.openModalReorder()}),e.\u0275\u0275text(10," \uce74\ud14c\uace0\ub9ac \uc21c\uc11c \ubcc0\uacbd "),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(11,"i
1on-content",5),e.\u0275\u0275template(12,oe,1,2,"app-editor2-bulk-convert-bar",6),e.\u0275\u0275elementStart(13,"ion-refresher",7),e.\u0275\u0275listener("ionRefresh",function(p){return n.doRefresh(p)}),e.\u0275\u0275element(14,"ion-refresher-content",8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"div",9),e.\u0275\u0275template(16,ie,1,0,"app-no-item",10)(17,re,20,6,"div",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(18,"app-fab-button",12),e.\u0275\u0275listener("clickNew",function(p){return n.clickNew(p)}),e.\u0275\u0275elementEnd()()),2&o){let r;e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate2("",n.sourceType," \uadf8\ub8f9 \ub9ac\uc2a4\ud2b8 - ",n.app.sourceAuthorType,""),e.\u0275\u0275advance(7),e.\u0275\u0275conditional((r=n.convertAllKind)?12:-1,r),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",n.visibleList&&n.loaded&&0==n.visibleList.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",n.visibleList),e.\u0275\u0275advance(),e.\u0275\u0275property("closeW","60")("fabOpen",n.fabOpen)("icon","add")("openW","180")("title",n.sourceType+"\uadf8\ub8f9 \uc0dd\uc131")}},dependencies:[ee.h,m.NgClass,m.NgForOf,m.NgIf,l.IonButton,l.IonButtons,l.IonCard,l.IonCardContent,l.IonCardHeader,l.IonCardSubtitle,l.IonCardTitle,l.IonContent,l.IonHeader,l.IonMenuButton,l.IonRefresher,l.IonRefresherContent,l.IonTitle,l.IonToolbar,u.Uo,f.R,te.M,g.E,M.j],styles:[".testimonial-card[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{border:0 solid #fff!important}h5[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{white-space:normal!important}.winter-neva-gradient[_ngcontent-%COMP%]{background-image:linear-gradient(120deg,#a1c4fd,#c2e9fb)}.juicy-peach-gradient[_ngcontent-%COMP%]{background-image:linear-gradient(90deg,#ffecd2 0,#fcb69f)}"]})}}return i})()}];let le=(()=>{class i{static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275mod=e.\u0275\u0275defineNgModule({type:i})}static{this.\u0275inj=e.\u0275\u0275defineInjector({imports:[I.RouterModule.forChild(ae),I.RouterModule]})}}return i})(),se=(()=>{class i{static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275mod=e.\u0275\u0275defineNgModule({type:i})}static{this.\u0275inj=e.\u0275\u0275defineInjector({imports:[m.CommonModule,_.YN,l.IonicModule,le,E.H,u.FQ,x.k,f.C,v.h,T.Ls,b.M,g.E,M.j]})}}return i})()},89640:(y,C,a)=>{a.d(C,{v:()=>v});var u=a(9957),m=a(35401),b=a(11741);let v=(()=>{class l{constructor(){this.subscriptions=[],this.landingUrl="/",this.app=(0,u.inject)(b.d)}ngOnInit(){}ionViewDidEnter(){}ionViewDidLeave(){this.subscriptions.forEach(g=>{g.unsubscribe()}),this.subscriptions=[]}ngOnDestroy(){this.subscriptions.forEach(g=>{g.unsubscribe()}),this.subscriptions=[]}static{this.\u0275fac=function(f){return new(f||l)}}static{this.\u0275dir=u.\u0275\u0275defineDirective({type:l,viewQuery:function(f,x){if(1&f&&u.\u0275\u0275viewQuery(m.IonContent,5),2&f){let E;u.\u0275\u0275queryRefresh(E=u.\u0275\u0275loadQuery())&&(x.myContent=E.first)}}})}}return l})()}}]);
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.