1import{A as V,ma as q,z as d}from"./chunk-DFUKPMQN.js";import"./chunk-7ELP4SZV.js";import{Ra as R,y as D}from"./chunk-GDCS72TQ.js";import"./chunk-SCC7ACRQ.js";import"./chunk-E64BWJFD.js";import"./chunk-CLLFYLUG.js";import"./chunk-GNMYUIWE.js";import"./chunk-FDI4RDCW.js";import"./chunk-XJEW5TDR.js";import"./chunk-W24Y3QFI.js";import"./chunk-7Z7I53LX.js";import"./chunk-B3J4M45L.js";import"./chunk-J3ZZA6JQ.js";import"./chunk-7MAOHMQL.js";import{Pb as S,Rb as T}from"./chunk-MNGIZMQL.js";import{N as B,P as $,Sa as N,Ta as H,v as E,x as f,y as A}from"./chunk-M7EWG22K.js";import{Ca as x,Cd as F,Da as C,Db as g,Ib as v,Jb as c,Ld as P,Nb as k,Ud as j,ec as n,fc as m,gc as l,hc as M,oc as b,qc as I,sb as w,sc as O,sd as y,ta as a}from"./chunk-LWKSSQIT.js";import"./chunk-GNET6V3H.js";import"./chunk-YFS56YF6.js";import"./chunk-V74UPKQA.js";import"./chunk-WZV4MCBN.js";import"./chunk-JDW7CRRD.js";import"./chunk-5P62Z3LP.js";import"./chunk-PLG2FR2B.js";import"./chunk-KSKAC24W.js";import"./chunk-5J5MGKDM.js";import"./chunk-6LDQVY2Z.js";import"./chunk-CANMTA5I.js";import"./chunk-2W6AMNZB.js";import"./chunk-EDDAJQLE.js";import"./chunk-LEHPC5KV.js";import"./chunk-I5RU5ILP.js";import"./chunk-MMTCPDNB.js";import"./chunk-P3NO7XK7.js";import"./chunk-UGZ4NCUX.js";import"./chunk-3CATNTMZ.js";import"./chunk-PBT2ZP43.js";import"./chunk-2LKA543C.js";import"./chunk-4PB2IVUM.js";import"./chunk-376JE37I.js";import"./chunk-JIJY6HMW.js";import"./chunk-JYHY4IRZ.js";import"./chunk-NHW5QJWD.js";import"./chunk-UNVPVZMR.js";import"./chunk-I3OFYBCA.js";import"./chunk-FKVIE2NW.js";import"./chunk-SVP5PGQS.js";import"./chunk-ZL6DIT67.js";import{a as u,b as h,k as p}from"./chunk-LTMWWKVK.js";j();A();T();y();T();A();j();function L(o,t){if(o&1){let s=b();m(0,"app-category-icon",4),I("click",function(){let e=x(s).$implicit,i=O();return C(i.click_category(e.master_name,e.category_idx))}),l()}if(o&2){let s=t.$implicit;n("category",s.category)}}var U=(()=>{let t=class t{constructor(r,e){this.app=r,this.router=e,this.category_list=[],this.category_array=[]}ngOnInit(){return p(this,null,function*(){yield this.fetch_category_list(),this.category_array=Object.keys(d).map(r=>{let e=d[r],i=this.category_list.find(_=>_.category_onoff==="on"&&e.master_names.includes((_.category_name||"").trim()));return i?h(u({category:r},e),{category_idx:i.category_idx,master_name:i.category_name}):null}).filter(r=>r!==null);try{yield this.app.google_tag_manager_service.log_page_view("BUY:Category")}catch(r){console.error("Error logging page view:",r)}})}click_category(r,e){this.router.navigate(["/category-buy"],{queryParams:{category:r,category_idx:e}});try{this.app.google_tag_manager_service.ready_eec_data("\uCE74\uD14C\uACE0\uB9AC_\uC138\uBD80\uD074\uB9AD",{category_name:r,category_idx:e}).send()}catch{}}trackById(r,e){return e.category_idx}fetch_category_list(){return p(this,null,function*(){try{let r={filter:{logic:"and",filters:[{field:"category_onoff",value:"on",operator:"eq"}]},skip:0,take:1e3,sort:[{field:"category_display_order",dir:"asc"}]},e=yield this.app.db.select_category_list(r);this.category_list=e?.rows||[]}catch(r){console.error("Error fetching category list:",r),this.category_list=[]}return this.category_list})}};t.\u0275fac=function(e){return new(e||t)(g(S),g(E))},t.\u0275cmp=v({type:t,selectors:[["app-category"]],inputs:{category_list:"category_list"},standalone:!1,decls:4,vars:4,consts:[["backHref","home","title","\uCE74\uD14C\uACE0\uB9AC",1,"giftistar",3,"backButton","cart","search"],[1,"category-page-wrapper",2,"padding-top","16px"],[1,"category-page-box"],[3,"category","click",4,"ngFor","ngForOf"],[3,"click","category"]],template:function(e,i){e&1&&(M(0,"s-gnb-top",0),m(1,"div",1)(2,"div",2),k(3,L,1,1,"app-category-icon",3),l()()),e&2&&(n("backButton",!0)("cart",!0)("search",!1),w(3),n("ngForOf",i.category_array))},dependencies:[F,V,D],styles:[`.category-page-wrapper[_ngcontent-%COMP%]{background-color:#fff;height:100%}.category-page-box[_ngcontent-%COMP%]{padding:10px 16px;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;row-gap:24px}app-category-icon[_ngcontent-%COMP%]{flex:0 0 calc(25% - 6px);max-width:calc(25% - 6px);min-width:70px} 2/*# sourceMappingURL=category.page-6ADZPEVT.css.map */`]});let o=t;return o}
2)();y();var Z=[{path:"",children:[{path:"",component:U}]}],Y=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=c({type:t}),t.\u0275inj=a({imports:[f.forChild(Z),f]});let o=t;return o})();$();H();y();var dt=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=c({type:t}),t.\u0275inj=a({imports:[P,B,N,Y,q,R]});let o=t;return o})();export{dt as CategoryModule}; 3//# sourceMappingURL=category.module-GFAVO2GL.js.map
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.