1import{a as y}from"./chunk-Q5BMATET.js";import{a as w}from"./chunk-NLZZXSJU.js";import{a as M}from"./chunk-OGTZZSR4.js";import"./chunk-DX2BN65R.js";import"./chunk-YASVFBAP.js";import"./chunk-S5RX4V2W.js";import"./chunk-XBOBKATK.js";import"./chunk-37OBSATO.js";import"./chunk-SIY4TAKR.js";import"./chunk-3GMDOKA4.js";import"./chunk-CFXMN67B.js";import"./chunk-4JM4SJ7J.js";import"./chunk-TKGY6PYJ.js";import{c as h,g as S,k as D}from"./chunk-NOMRVDJJ.js";import"./chunk-MMLU7Y2O.js";import"./chunk-XI2WLH56.js";import{$b as g,Ac as _,Fb as p,Gb as m,Lb as r,Mb as i,Nb as n,Ob as a,Oc as u,Sa as v,Z as c,ab as o,mc as l,nc as C,oa as f,pb as x}from"./chunk-5P65DMBE.js";var O=e=>["/store",e];function b(e,d){e&1&&(i(0,"div",1),a(1,"app-spin",2),n())}function k(e,d){if(e&1&&(i(0,"div",4)(1,"div",5),a(2,"img",6),i(3,"div",7)(4,"h1"),l(5),n(),i(6,"a",8),l(7,"Back to Store"),n()()()(),a(8,"app-review",9)),e&2){let t=g(2);o(2),r("src",t.storeDetails()?.logo,v),o(3),C(t.storeDetails()?.name),o(),r("routerLink",_(5,O,t.storeDetails()?.slug)),o(2),r("storeDetails",t.storeDetails())("displayMode","full")}}function P(e,d){e&1&&(i(0,"div",3),l(1,"Store not found."),n())}function L(e,d){if(e&1&&p(0,k,9,7)(1,P,2,0,"div",3),e&2){let t=g();m(t.storeDetails()?0:1)}}var B=(()=>{class e{constructor(){this.route=c(h),this.storeService=c(y),this.slug=f(null),this.storeDetailsResource=this.storeService.getStoreDetails(()=>({storeId:this.slug()||"",analytics:!1})),this.storeDetails=u(()=>this.storeDetailsResource.error()?void 0:this.storeDetailsResource.value()),this.isLoading=u(()=>this.storeDetailsResource.isLoading())}ngOnInit(){let t=this.route.snapshot.paramMap.get("slug");t&&this.slug.set(t)}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275cmp=x({type:e,selectors:[["app-store-reviews"]],decls:3,vars:1,consts:[[1,"store-reviews-page"],[1,"loading-container"],["tip","Loading reviews..."],[1,"empty-state"],[1,"page-header"],[1,"store-info"],["alt","Store logo",1,"store-logo",3,"src"],[1,"store-text"],[1,"back-link",3,"routerLink"],[3,"storeDetails","displayMode"]],template:function(s,R){s&1&&(i(0,"div",0),p(1,b,2,0,"div",1)(2,L,2,1),n()),s&2&&(o(),m(R.isLoading()?1:2))},dependencies:[D,S,w,M],styles:[".store-reviews-page[_ngcontent-%COMP%]{padding:16px;max-width:1200px;margin:0 auto}.page-header[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:16px}.store-info[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px}.store-logo[_ngcontent-%COMP%]{width:56px;height:56px;border-radius:12px;object-fit:cover;background:#f2f2f2}.store-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:20px;margin:0 0 4px}.back-link[_ngcontent-%COMP%]{font-size:14px;color:#f90047;text-decoration:none}.loading-container[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:40px 0}.empty-state[_ngcontent-%COMP%]{padding:40px 0;text-align:center;color:#666}"]})}}return e})();export{B as StoreReviewsComponent};
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.