PageSourceSearch

https://hou.la/chunk-3UYPFFIY.js

js hou.la collected 2026-10-02 16:01:19 UTC 40,764 bytes, 1 lines download raw bytes

1import{a as Oe}from"./chunk-YV6XQMVJ.js";import{d as we}from"./chunk-JR6ZEHMV.js";import{a as $,g as Se,h as Z,i as V,k as be,l as K}from"./chunk-7FOIO444.js";import{a as j}from"./chunk-IJJ4FMOI.js";import{a as xe}from"./chunk-WQ4PZYG4.js";import{G as Pe}from"./chunk-COBNBFGF.js";import{a as ve}from"./chunk-P52SAZ7N.js";import"./chunk-G3PWCLSY.js";import"./chunk-372BPJQ3.js";import"./chunk-AFVSMPBC.js";import"./chunk-JUAHV2TC.js";import{a as Ce}from"./chunk-RMFEZUNF.js";import"./chunk-BXOGPMZZ.js";import"./chunk-NRC4EHFH.js";import{a as he}from"./chunk-S2LG7ZZI.js";import{a as U}from"./chunk-FRZHUY6N.js";import{d as ue,h as fe}from"./chunk-32B64V2R.js";import"./chunk-3XLVKQRY.js";import"./chunk-DJ5AJG3T.js";import"./chunk-SLPC3Y4V.js";import"./chunk-XIRWNEM2.js";import"./chunk-AAORKXGN.js";import"./chunk-KDGXQRVY.js";import"./chunk-Q2KKZV5J.js";import"./chunk-JICM7NVH.js";import{a as Y}from"./chunk-AB6CKZTE.js";import{c as ge,d as z,e as G}from"./chunk-DIGPPQJE.js";import{o as ce,r as _e,s as de,x as me}from"./chunk-EU6HCBUP.js";import"./chunk-KAJMKXZ6.js";import{t as pe}from"./chunk-ZAQTNZYS.js";import{c as Q}from"./chunk-SRTXE2HR.js";import{$b as F,Ba as h,Fa as ae,Ib as w,Jb as x,Kc as L,Lb as R,Lc as T,Na as re,Rb as c,Tb as I,Ub as M,Uc as p,Vb as E,Vc as g,Wb as r,Wc as y,Xb as l,Yb as _,Zc as se,_a as W,ac as v,cb as le,da as b,db as a,gc as m,hc as s,la as C,ld as k,ma as u,nc as B,oc as H,pc as D,sa as ie,sb as N,tc as A,uc as d,va as ne,vc as P,wa as oe,wc as O,yb as f}from"./chunk-NTTV6FWH.js";import{g as te}from"./chunk-W7GRJBO5.js";var Re=["closeBtn"],Ie=t=>({count:t}),Ae=t=>({n:t}),Le=(t,i)=>i.id;function Ve(t,i){if(t&1&&(r(0,"span",8),d(1),p(2,"translate"),l()),t&2){let e=s();a(),P(y(2,1,e.countKey(),T(4,Ie,e.total())))}}function Ne(t,i){t&1&&(r(0,"div",10),_(1,"i",13),l())}function Fe(t,i){if(t&1){let e=v();r(0,"app-mp-state",14),m("action",function(){C(e);let o=s();return u(o.load())}),l()}t&2&&x("error",!0)}function Be(t,i){t&1&&_(0,"app-mp-state",12)}
1function He(t,i){t&1&&(r(0,"span",24),_(1,"i",31),d(2),p(3,"translate"),l()),t&2&&(a(2),O(" ",g(3,1,"PROFILE_PAGE.SHOP.VERIFIED_PURCHASE")," "))}function De(t,i){if(t&1&&_(0,"i",32),t&2){let e=i.$implicit,n=s().$implicit;R("pi-star-fill",e<=n.rating)("pi-star",e>n.rating)("is-on",e<=n.rating)}}function ze(t,i){if(t&1&&(r(0,"p",28),d(1),l()),t&2){let e=s().$implicit;a(),P(e.title)}}function Ge(t,i){if(t&1&&(r(0,"p",29),d(1),l()),t&2){let e=s().$implicit;a(),P(e.comment)}}function Ue(t,i){if(t&1&&(r(0,"div",30)(1,"p",33),d(2),p(3,"translate"),l(),r(4,"p",34),d(5),l()()),t&2){let e=s().$implicit;a(2),O(" ",g(3,2,"PROFILE_PAGE.SHOP.SELLER_REPLY")," "),a(3),O(" ",e.sellerReply," ")}}function $e(t,i){if(t&1&&(r(0,"li",16)(1,"div",19)(2,"span",20),d(3),l(),r(4,"span",21)(5,"span",22),d(6),l(),r(7,"span",23),d(8),f(9,He,4,3,"span",24),l()(),r(10,"span",25),d(11),l()(),r(12,"div",26),p(13,"translate"),M(14,De,1,6,"i",27,I),l(),f(16,ze,2,1,"p",28)(17,Ge,2,1,"p",29)(18,Ue,6,4,"div",30),l()),t&2){let e=i.$implicit,n=s(2);a(3),P(n.initials(e.authorName)),a(3),P(e.authorName),a(2),O(" ",n.formatDate(e.reviewDate)," "),a(),c(e.isVerified?9:-1),a(2),P(n.platformLabel(e.platform)),a(),w("aria-label",y(13,9,"APP.SHOP_PAGE.RATING_STARS",T(12,Ae,e.rating))),a(2),E(n.stars),a(2),c(e.title?16:-1),a(),c(e.comment?17:-1),a(),c(e.sellerReply?18:-1)}}function Ke(t,i){t&1&&(r(0,"div",17),_(1,"i",13),l())}function je(t,i){if(t&1){let e=v();r(0,"ul",15),M(1,$e,19,14,"li",16,Le),l(),f(3,Ke,2,0,"div",17),r(4,"span",18),m("nearEnd",function(){C(e);let o=s();return u(o.loadMore())}),l()}if(t&2){let e=s(),n=A(12);a(),E(e.reviews()),a(2),c(e.loadingMore()?3:-1),a(),x("nearEndRoot",n)("nearEndKey",e.reviews().length)}}var qe={trustpilot:"Trustpilot",google:"Google",facebook:"Facebook",yelp:"Yelp",tripadvisor:"Tripadvisor"},q=class t{static LIMIT=20;api=b($);workspaceId;lang="fr";closed=new ne;closeBtn;reviews=h([]);total=h(0);loading=h(!0);loadingMore=h(!1);hasError=h(!1);page=1;stars=[1,2,3,4,5];ngOnInit(){this.load()}ngAfterViewInit(){this.closeBtn?.nativeElement.focus()}close(){this.closed.emit()}load(){this.loading.set(!0),this.hasError.set(!1),this.api.sellerReviews(this.workspaceId,1,t.LIMIT).subscribe({next:i=>{this.reviews.set(i.reviews),this.total.set(i.total),this.page=1,this.loading.set(!1)},error:()=>{this.loading.set(!1),this.hasError.set(!0)}})}loadMore(){if(this.loadingMore()||this.reviews().length>=this.total())return;this.loadingMore.set(!0);let i=this.page+1;this.api.sellerReviews(this.workspaceId,i,t.LIMIT).subscribe({next:e=>{this.reviews.set([...this.reviews(),...e.reviews]),this.total.set(e.total),this.page=i,this.loadingMore.set(!1)},error:()=>this.loadingMore.set(!1)})}countKey(){return V("APP.SHOP_PAGE.REVIEWS_COUNT",this.total())}initials(i){let e=(i||"").trim().split(/\s+/).filter(Boolean);return e.length>=2?(e[0][0]+e[1][0]).toUpperCase():e.length?e[0][0].toUpperCase():"?"}formatDate(i){if(!i)return"";let e=new Date(i);if(isNaN(e.getTime()))return"";let n=String(e.getDate()).padStart(2,"0"),o=String(e.getMonth()+1).padStart(2,"0");return`${n}/${o}/${e.getFullYear()}`}platformLabel(i){return qe[i]||i}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=N({type:t,selectors:[["app-seller-reviews-modal"]],viewQuery:function(e,n){if(e&1&&B(Re,5),e&2){let o;H(o=D())&&(n.closeBtn=o.first)}},hostBindings:function(e,n){e&1&&m("keydown.escape",function(){return n.close()},!1,le)},inputs:{workspaceId:"workspaceId",lang:"lang"},outputs:{closed:"closed"},decls:17,vars:8,consts:[["closeBtn",""],["body",""],[1,"srm",3,"click"],["role","dialog","aria-modal","true","aria-labelledby","srm-title","data-testid","shop-reviews-modal",1,"srm__card",3,"click"],["type","button",1,"srm__close",3,"click"],["aria-hidden","true",1,"pi","pi-times"],[1,"srm__head"],["id","srm-title",1,"srm__title"],[1,"srm__count"],[1,"srm__body"],["role","status",1,"srm__spinner"],["icon","pi-exclamation-circle","message","COMMON.ERROR","actionLabel","COMMON.RETRY",3,"error"],["icon","pi-comment","message","PROFILE_PAGE.SHOP.NO_REVIEWS"],["aria-hidden","true",1,"pi","pi-spin","pi-spinner"],["icon","pi-exclamation-circle","message","COMMON.ERROR","actionLabel","COMMON.RETRY",3,"action","error"],[1,"srm__list"],[1,"srv"],["role","status",1,"srm__spinner","srm__spinner--small"],["appNearEnd","",1,"srm__sentinel",3,"nearEnd","nearEndRoot","nearEndKey"],[1,"srv__author"],["aria-hidden","true",1,"srv__init"],[1,"srv__who"],[1,"srv__name"],[1,"srv__meta"],[1,"srv__verified"],[1,"srv__platform"],["role","img",1,"srv__stars"],["aria-hidden","true",1,"pi",3,"pi-star-fill","pi-star","is-on"],[1,"srv__title"],[1,"srv__comment"],[1,"srv__reply"],["aria-hidden","true",1,"pi","pi-verified"],["aria-hidden","true",1,"pi"],[1,"srv__reply-head"],[1,"srv__reply-body"]],template:function(e,n){if(e&1){let o=v();r(0,"div",2),m("click",function(){return C(o),u(n.close())}),r(1,"div",3),m("click",function(Me){return C(o),u(Me.stopPropagation())}),r(2,"button",4,0),p(4,"translate"),m("click",function(){return C(o),u(n.close())}),_(5,"i",5),l(),r(6,"header",6)(7,"h2",7),d(8),p(9,"translate"),l(),f(10,Ve,3,6,"span",8),l(),r(11,"div",9,1),f(13,Ne,2,0,"div",10)(14,Fe,1,1,"app-mp-state",11)(15,Be,1,0,"app-mp-state",12)(16,je,5,3),l()()()}e&2&&(a(2),w("aria-label",g(4,4,"COMMON.CLOSE")),a(6),O(" ",g(9,6,"APP.SHOP_PAGE.CUSTOMER_REVIEWS")," "),a(2),c(n.total()>0?10:-1),a(3),c(n.loading()?13:n.hasError()?14:n.reviews().length?16:15))},dependencies:[G,z,K,j],styles:["[_nghost-%COMP%]{--paper: #0a0a14;--surface: #12121e;--surface-2: #1a1a2e;--ink: #ffffff;--ink-soft: rgba(255, 255, 255, .66);--ink-muted: rgba(255, 255, 255, .45);--accent: #2f8eef;--accent-bright: #54a6f6;--live: #ff3b30;--error: #ef4444;--border: rgba(255, 255, 255, .1);--border-soft: rgba(255, 255, 255, .06);--topbar: 64px;--story-ring-a: #ffc83a;--story-ring-b: #ff7a1a;--story-ring-seen: rgba(255, 255, 255, .22);display:block;color:var(--ink);font-family:Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}[_nghost-%COMP%]   *[_ngcontent-%COMP%]{box-sizing:border-box}[_nghost-%COMP%]   button[_ngcontent-%COMP%]{font-family:inherit;cursor:pointer}[_nghost-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}[_nghost-%COMP%]   [_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--accent-bright);outline-offset:2px}.srm[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:1000;background:#05050cb8;backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:16px}.srm__card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:560px;max-height:min(80vh,760px);display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:22px;box-shadow:0 40px 80px #0009;overflow:hidden}.srm__close[_ngcontent-%COMP%]{position:absolute;top:14px;right:14px;width:34px;height:34px;border-radius:50%;border:none;background:var(--surface-2);color:var(--ink-soft);display:flex;align-items:center;justify-content:center}.srm__close[_ngcontent-%COMP%]:hover{color:var(--ink)}.srm__head[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:12px;padding:22px 60px 14px 22px;border-bottom:1px solid var(--border-soft)}.srm__title[_ngcontent-%COMP%]{margin:0;font-size:20px;font-weight:800}.srm__count[_ngcontent-%COMP%]{font-size:12px;color:var(--ink-muted)}.srm__body[_ngcontent-%COMP%]{overflow-y:auto;padding:6px 22px 16px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.16) transparent}.srm__spinner[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:48px 0;color:var(--accent-bright)}.srm__spinner[_ngcontent-%COMP%]   .pi[_ngcontent-%COMP%]{font-size:26px}.srm__spinner--small[_ngcontent-%COMP%]{padding:14px 0}.srm__spinner--small[_ngcontent-%COMP%]   .pi[_ngcontent-%COMP%]{font-size:20px}.srm__list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.srm__sentinel[_ngcontent-%COMP%]{display:block;height:1px}.srv[_ngcontent-%COMP%]{padding:16px 0}.srv[_ngcontent-%COMP%] + .srv[_ngcontent-%COMP%]{border-top:1px solid var(--border-soft)}.srv__author[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}.srv__init[_ngcontent-%COMP%]{width:36px;height:36px;flex-shrink:0;border-radius:50%;background:#2f8eef1f;color:var(--accent-bright);font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center}.srv__who[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;flex-direction:column}.srv__name[_ngcontent-%COMP%]{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.srv__meta[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:12px;color:var(--ink-muted)}.srv__verified[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:3px;color:var(--accent-bright);font-size:11px}.srv__verified[_ngcontent-%COMP%]   .pi[_ngcontent-%COMP%]{font-size:12px}.srv__platform[_ngcontent-%COMP%]{flex-shrink:0;padding:2px 6px;border-radius:4px;background:#1e1e32;color:var(--ink-soft);font-size:10px;font-weight:600}.srv__stars[_ngcontent-%COMP%]{display:flex;gap:2px;margin-top:8px}.srv__stars[_ngcontent-%COMP%]   .pi[_ngcontent-%COMP%]{font-size:16px;color:var(--ink-muted)}.srv__stars[_ngcontent-%COMP%]   .pi.is-on[_ngcontent-%COMP%]{color:#ffc83a}.srv__title[_ngcontent-%COMP%]{margin:6px 0 0;font-weight:600;font-size:14px}.srv__comment[_ngcontent-%COMP%]{margin:4px 0 0;font-size:14px;color:var(--ink-soft);line-height:1.5;white-space:pre-line}.srv__reply[_ngcontent-%COMP%]{margin-top:10px;padding:10px;border-radius:8px;background:#1e1e32}.srv__reply-head[_ngcontent-%COMP%]{margin:0;font-size:12px;font-weight:700;color:var(--ink-soft)}.srv__reply-body[_ngcontent-%COMP%]{margin:4px 0 0;font-size:12px;color:var(--ink-soft);white-space:pre-line}@media (max-width: 520px){.srm[_ngcontent-%COMP%]{align-items:flex-end;padding:0}.srm__card[_ngcontent-%COMP%]{max-height:88vh;border-radius:22px 22px 0 0}}"]})};var We=["searchInput"],Qe=()=>[1,2,3,4,5,6],J=t=>({name:t}),X=t=>({count:t}),Ye=()=>({count:0}),Ze=()=>[1,2,3,4],Je=()=>[1,2],ee=(t,i)=>i.id;function Xe(t,i){t&1&&(_(0,"i",16),p(1,"translate")),t&2&&w("aria-label",g(1,1,"APP.MARKET.VERIFIED"))}function et(t,i){if(t&1&&(d(0),f(1,Xe,2,3,"i",16)),t&2){let e=s(2);O(" ",e.sellerName()," "),a(),c(e.verified()?1:-1)}}function tt(t,i){t&1&&_(0,"span",5)}function it(t,i){if(t&1){let e=v();r(0,"div",12),_(1,"i",17),r(2,"input",18,0),p(4,"translate"),p(5,"translate"),m("input",function(o){C(e);let S=s(2);return u(S.onSearchInput(o.target.value))}),l()()}t&2&&(a(2),x("placeholder",g(4,2,"APP.SHOP_PAGE.SEARCH_PLACEHOLDER")),w("aria-label",g(5,4,"APP.SHOP_PAGE.SEARCH_PLACEHOLDER")))}function nt(t,i){t&1&&(r(0,"div",19),_(1,"span",20)(2,"span",21)(3,"span",22),l())}function ot(t,i){t&1&&(r(0,"div",13),M(1,nt,4,0,"div",19,I),l()),t&2&&(a(),E(L(0,Qe)))}function at(t,i){t&1&&_(0,"app-mp-state",23)}function rt(t,i){if(t&1){let e=v();r(0,"app-mp-state",25),m("action",function(){C(e);let o=s(3);return u(o.retry())}),l()}t&2&&x("error",!0)}function lt(t,i){if(t&1&&f(0,at,1,0,"app-mp-state",23)(1,rt,1,1,"app-mp-state",24),t&2){let e=s();c(e.errorStatus()===404?0:1)}}function st(t,i){if(t&1){let e=v();r(0,"img",38),m("error",function(){C(e);let o=s(5);return u(o.avatarFailed.set(!0))}),l()}if(t&2){let e=s(2);x("src",e.avatarUrl,W)}}function pt(t,i){if(t&1&&(r(0,"span",36),d(1),l()),t&2){let e=s(5);a(),P(e.initial())}}function ct(t,i){t&1&&(r(0,"span",37),d(1),p(2,"translate"),l()),t&2&&(a(),P(g(2,1,"APP.MARKET.LIVE_BADGE")))}function _t(t,i){if(t&1&&f(0,st,1,1,"img",35)(1,pt,2,1,"span",36)(2,ct,3,3,"span",37),t&2){let e=s(),n=s(3);c(e.avatarUrl&&!n.avatarFailed()?0:1),a(2),c(e.isLive?2:-1)}}function dt(t,i){if(t&1){let e=v();r(0,"button",39),p(1,"translate"),m("click",function(o){C(e);let S=s(4);return u(S.onAvatarClick(o))}),F(2,40),l()}if(t&2){let e=s(),n=A(1),o=s(3);R("is-busy",o.openingLive()),x("disabled",o.openingLive()),w("aria-label",y(1,5,"APP.SHOP_PAGE.OPEN_LIVE",T(8,J,e.displayName))),a(2),x("ngTemplateOutlet",n)}}function mt(t,i){if(t&1&&(r(0,"a",33),p(1,"translate"),F(2,40),l()),t&2){let e=s(),n=A(1),o=s(3);x("routerLink",o.profileLink()),w("aria-label",y(1,3,"APP.SHOP_PAGE.OPEN_PROFILE",T(6,J,e.displayName))),a(2),x("ngTemplateOutlet",n)}}function gt(t,i){if(t&1&&(r(0,"span",34),F(1,40),l()),t&2){s();let e=A(1);a(),x("ngTemplateOutlet",e)}}function Ct(t,i){if(t&1&&f(0,_t,3,2,"ng-template",null,1,se)(2,dt,3,10,"button",32)(3,mt,3,8,"a",33)(4,gt,2,1,"span",34),t&2){let e=s(3);a(2),c(i.isLive?2:e.profileLink()?3:4)}}function ut(t,i){if(t&1){let e=v();r(0,"button",46),m("click",function(){C(e);let o=s(4);return u(o.openReviews())}),r(1,"span",44),d(2),p(3,"translate"),l(),r(4,"span",43),d(5),p(6,"translate"),_(7,"i",47),l()()}if(t&2){let e=s(),n=s(3);a(2),P(y(3,2,n.reviewsKey(e.totalReviews),T(7,X,e.totalReviews))),a(3),O(" ",g(6,5,"APP.SHOP_PAGE.REVIEWS")," ")}}function ft(t,i){if(t&1&&(r(0,"div",41)(1,"span",44),d(2),p(3,"translate"),l(),r(4,"span",43),d(5),p(6,"translate"),l()()),t&2){let e=s(4);a(2),P(y(3,2,e.reviewsKey(0),L(7,Ye))),a(3),P(g(6,5,"APP.SHOP_PAGE.REVIEWS"))}}function ht(t,i){if(t&1&&(r(0,"div",27)(1,"div",41)(2,"span",42),d(3),p(4,"translate"),l(),r(5,"span",43),d(6),p(7,"translate"),l()(),r(8,"div",41)(9,"span",44),d(10),l(),r(11,"span",43),d(12),p(13,"translate"),l()(),f(14,ut,8,9,"button",45)(15,ft,7,8,"div",41),l()),t&2){let e=s(2),n=s();a(3),P(y(4,5,n.productsKey(e.total()),T(12,X,e.total()))),a(3),P(g(7,8,"PROFILE_PAGE.CATALOG_PRODUCTS")),a(4),P(n.ratingText()),a(2),P(g(13,10,"APP.SHOP_PAGE.AVERAGE_RATING")),a(2),c(i.totalReviews>0?14:15)}}function xt(t,i){t&1&&(r(0,"a",48),_(1,"i",51),d(2),p(3,"translate"),l()),t&2&&(a(2),O(" ",g(3,1,"APP.SHOP_PAGE.SELLER_DASHBOARD")," "))}function vt(t,i){if(t&1){let e=v();r(0,"button",52),m("click",function(){C(e);let o=s(4);return u(o.toggleFollow())}),_(1,"i",53),d(2),p(3,"translate"),l()}t&2&&(a(2),O(" ",g(3,1,"APP.LIVE.FOLLOWING")," "))}function Pt(t,i){if(t&1){let e=v();r(0,"button",54),m("click",function(){C(e);let o=s(4);return u(o.toggleFollow())}),_(1,"i",55),d(2),p(3,"translate"),l()}t&2&&(a(2),O(" ",g(3,1,"APP.FOLLOW")," "))}function St(t,i){if(t&1&&f(0,xt,4,3,"a",48)(1,vt,4,3,"button",49)(2,Pt,4,3,"button",50),t&2){let e=s(3);c(e.isOwnShop()?0:e.isFollowing()?1:2)}}function bt(t,i){if(t&1){let e=v();r(0,"div",56)(1,"button",58),p(2,"translate"),m("click",function(){C(e);let o=s(4);return u(o.clearCollection())}
1),_(3,"i",59),d(4),p(5,"translate"),_(6,"i",60),l()()}t&2&&(a(),w("aria-label",g(2,2,"APP.SHOP_PAGE.CLEAR_COLLECTION")),a(3),O(" ",y(5,4,"APP.SHOP_PAGE.COLLECTION_FILTER",T(7,J,i.title))," "))}function Ot(t,i){t&1&&(r(0,"div",19),_(1,"span",20)(2,"span",21)(3,"span",22),l())}function wt(t,i){t&1&&(r(0,"div",57),M(1,Ot,4,0,"div",19,I),l()),t&2&&(a(),E(L(0,Ze)))}function yt(t,i){t&1&&_(0,"app-mp-state",61)}function Mt(t,i){t&1&&_(0,"app-mp-state",62)}function Et(t,i){if(t&1&&f(0,yt,1,0,"app-mp-state",61)(1,Mt,1,0,"app-mp-state",62),t&2){let e=s(3),n=s();c(n.query()||e.search()?0:1)}}function Tt(t,i){if(t&1&&_(0,"app-marketplace-product-card",64),t&2){let e=i.$implicit;x("product",e)("shopMode",!0)}}function kt(t,i){t&1&&(r(0,"div",19),_(1,"span",20)(2,"span",21),l())}function Rt(t,i){t&1&&M(0,kt,3,0,"div",19,I),t&2&&E(L(0,Je))}function It(t,i){if(t&1){let e=v();r(0,"div",63),M(1,Tt,1,2,"app-marketplace-product-card",64,ee),f(3,Rt,2,1),l(),r(4,"span",65),m("nearEnd",function(){C(e);let o=s(4);return u(o.loadMore())}),l()}if(t&2){let e=s(3),n=s();a(),E(n.visibleProducts()),a(2),c(e.isLoadingMore()?3:-1),a(),x("nearEndMargin",300)("nearEndKey",e.products().length)}}function At(t,i){if(t&1&&f(0,bt,7,9,"div",56)(1,wt,3,1,"div",57)(2,Et,2,1)(3,It,5,3),t&2){let e,n=s(2),o=s();c((e=o.activeCollection())?0:-1,e),a(),c(n.isLoading()?1:o.visibleProducts().length?3:2)}}function Lt(t,i){t&1&&_(0,"app-mp-state",66)}function Vt(t,i){if(t&1&&_(0,"img",69),t&2){let e=s().$implicit;x("src",e.imageUrl,W)}}function Nt(t,i){t&1&&(r(0,"span",70),_(1,"i",59),l())}function Ft(t,i){if(t&1){let e=v();r(0,"li")(1,"button",68),m("click",function(){let o=C(e).$implicit,S=s(5);return u(S.openCollection(o))}),f(2,Vt,1,1,"img",69)(3,Nt,2,0,"span",70),r(4,"span",71)(5,"span",72),d(6),l(),r(7,"span",73),d(8),p(9,"translate"),l()(),_(10,"i",47),l()()}if(t&2){let e=i.$implicit,n=s(5);a(2),c(e.imageUrl?2:3),a(4),P(e.title),a(2),P(y(9,3,n.productsKey(e.productCount),T(6,X,e.productCount)))}}function Bt(t,i){if(t&1&&(r(0,"ul",67),M(1,Ft,11,8,"li",null,ee),l()),t&2){let e=s(3);a(),E(e.collections())}}function Ht(t,i){if(t&1&&f(0,Lt,1,0,"app-mp-state",66)(1,Bt,3,0,"ul",67),t&2){let e=s(2);c(e.collections().length?1:0)}}function Dt(t,i){if(t&1&&_(0,"app-marketplace-product-card",64),t&2){let e=i.$implicit;x("product",e)("shopMode",!0)}}function zt(t,i){if(t&1){let e=v();r(0,"div",74),M(1,Dt,1,2,"app-marketplace-product-card",64,ee),l(),r(3,"span",65),m("nearEnd",function(){C(e);let o=s(4);return u(o.loadMore())}),l()}if(t&2){let e=s(3),n=s();a(),E(n.onSaleProducts()),a(2),x("nearEndMargin",300)("nearEndKey",e.products().length)}}function Gt(t,i){t&1&&(r(0,"div",76),_(1,"i",77),l())}function Ut(t,i){if(t&1){let e=v();r(0,"app-mp-state",75),m("action",function(){C(e);let o=s(4);return u(o.loadMore())}),l(),f(1,Gt,2,0,"div",76)}if(t&2){let e=s(3);x("actionLabel",e.hasMore()&&!e.isLoadingMore()?"APP.MARKET.SEE_MORE":null),a(),c(e.isLoadingMore()?1:-1)}}function $t(t,i){if(t&1&&f(0,zt,4,2)(1,Ut,2,2),t&2){let e=s(3);c(e.onSaleProducts().length?0:1)}}function Kt(t,i){if(t&1){let e=v();r(0,"section",26),f(1,Ct,5,1)(2,ht,16,14,"div",27)(3,St,3,1),l(),r(4,"div",28)(5,"button",29),m("click",function(){C(e);let o=s(2);return u(o.selectTab("all"))}),d(6),p(7,"translate"),l(),r(8,"button",30),m("click",function(){C(e);let o=s(2);return u(o.selectTab("collections"))}),d(9),p(10,"translate"),l(),r(11,"button",31),m("click",function(){C(e);let o=s(2);return u(o.selectTab("promo"))}),d(12),p(13,"translate"),l()(),f(14,At,4,2)(15,Ht,2,1)(16,$t,2,1)}if(t&2){let e,n,o,S=s(2);a(),c((e=S.seller())?1:-1,e),a(),c((n=S.stats())?2:-1,n),a(),c(S.seller()?3:-1),a(2),R("is-active",S.tab()==="all"),w("aria-selected",S.tab()==="all"),a(),O(" ",g(7,16,"APP.SHOP_PAGE.TAB_ALL")," "),a(2),R("is-active",S.tab()==="collections"),w("aria-selected",S.tab()==="collections"),a(),O(" ",g(10,18,"APP.SHOP_PAGE.TAB_COLLECTIONS")," "),a(2),R("is-active",S.tab()==="promo"),w("aria-selected",S.tab()==="promo"),a(),O(" ",g(13,20,"APP.SHOP_PAGE.TAB_PROMO")," "),a(2),c((o=S.tab())==="all"?14:o==="collections"?15:o==="promo"?16:-1)}}function jt(t,i){if(t&1){let e=v();r(0,"app-seller-reviews-modal",78),m("closed",function(){C(e);let o=s(2);return u(o.reviewsOpen.set(!1))}),l()}if(t&2){let e=s(),n=s();x("workspaceId",e.workspaceId)("lang",n.lang())}}function qt(t,i){t&1&&(r(0,"div",15),d(1),p(2,"translate"),l()),t&2&&(a(),P(g(2,1,i)))}function Wt(t,i){if(t&1){let e=v();r(0,"div",2)(1,"header",3),_(2,"app-mp-back"),r(3,"h1",4),f(4,et,2,2)(5,tt,1,0,"span",5),l(),r(6,"button",6),p(7,"translate"),p(8,"translate"),m("click",function(){C(e);let o=s();return u(o.share())}),_(9,"i",7),l(),r(10,"button",8),p(11,"translate"),m("click",function(){C(e);let o=s();return u(o.toggleSearch())}),_(12,"i",9),l(),r(13,"button",10),p(14,"translate"),p(15,"translate"),m("click",function(){C(e);let o=s();return u(o.refresh())}),_(16,"i",11),l()(),f(17,it,6,6,"div",12)(18,ot,3,1,"div",13)(19,lt,2,1)(20,Kt,17,22),l(),f(21,jt,1,2,"app-seller-reviews-modal",14)(22,qt,3,3,"div",15)}if(t&2){let e,n=i,o=s();a(4),c(o.sellerName()?4:n.isLoading()?5:-1),a(2),w("aria-label",g(7,18,"SHARE_MODAL.SHARE"))("title",g(8,20,"SHARE_MODAL.SHARE")),a(4),w("aria-pressed",o.searching())("aria-label",g(11,22,o.searching()?"APP.SHOP_PAGE.CLOSE_SEARCH":"COMMON.SEARCH")),a(2),R("pi-search",!o.searching())("pi-times",o.searching()),a(),x("disabled",o.refreshing()),w("aria-label",g(14,24,"APP.MARKET.REFRESH"))("title",g(15,26,"APP.MARKET.REFRESH")),a(3),R("pi-spin",o.refreshing()),a(),c(o.searching()?17:-1),a(),c(n.isLoading()&&!n.products().length?18:n.status()==="error"&&!n.products().length?19:20),a(3),c(o.reviewsOpen()?21:-1),a(),c((e=o.toast())?22:-1,e)}}var Qt=400,ye=class t{route=b(ce);router=b(_e);api=b($);seo=b(Ce);translate=b(ge);follows=b(ve);login=b(fe);workspaces=b(ue);authPrompt=b(he);platformId=b(ae);destroyRef=b(ie);zone=b(oe);ssrStatus=b(xe,{optional:!0});store=h(null);slug=h(null);verified=h(!1);tab=h("all");searching=h(!1);query=h("");reviewsOpen=h(!1);openingLive=h(!1);avatarFailed=h(!1);refreshing=h(!1);toast=h(null);followed=h(new Set);authResolved=h(!1);lang=h("fr");seller=k(()=>
1this.store()?.seller()??null);stats=k(()=>this.store()?.stats()??null);sellerName=k(()=>this.seller()?.displayName||"");sortedProducts=k(()=>{let i=this.store()?.products()??[],e=i.filter(o=>!Z(o)),n=i.filter(o=>Z(o));return[...e,...n]});visibleProducts=k(()=>{let i=this.query(),e=(this.store()?.search()||"").toLowerCase(),n=this.sortedProducts();return!i||i===e?n:n.filter(o=>o.title.toLowerCase().includes(i)||(o.description||"").toLowerCase().includes(i))});onSaleProducts=k(()=>this.visibleProducts().filter(Se));activeCollection=k(()=>{let i=this.store(),e=i?.collection();return!i||!e?null:i.collections().find(n=>n.id===e)||null});isOwnShop=k(()=>{let i=this.seller()?.workspaceId;return this.authResolved()&&!!i&&this.login.isLoggedIn&&this.workspaces.activeWorkspaceId===i});isFollowing=k(()=>{let i=this.seller()?.workspaceId;return!!i&&this.followed().has(i)});searchInput;searchTimer=null;toastTimer=null;constructor(){re(()=>{this.authResolved.set(!0),this.follows.ensureLoaded()})}ngOnInit(){this.lang.set(this.currentLang()),this.follows.following$.pipe(U(this.destroyRef)).subscribe(i=>this.followed.set(i)),this.translate.onLangChange.pipe(U(this.destroyRef)).subscribe(()=>{this.lang.set(this.currentLang()),this.applySeo()}),this.route.paramMap.pipe(U(this.destroyRef)).subscribe(i=>this.open(i.get("workspaceId")||""))}ngOnDestroy(){this.searchTimer&&clearTimeout(this.searchTimer),this.toastTimer&&clearTimeout(this.toastTimer)}currentLang(){return this.translate.currentLang||this.translate.defaultLang||"fr"}open(i){let e=new we(this.api,i);this.store.set(e),this.tab.set("all"),this.searching.set(!1),this.query.set(""),this.reviewsOpen.set(!1),this.slug.set(null),this.verified.set(!1),this.avatarFailed.set(!1),this.seo.updateCanonical(`a/shop/${i}`),this.seo.updateOgUrl(`${Y.app}/a/shop/${i}`),e.loadShop().then(()=>{if(this.store()===e){if(e.status()==="error"&&e.errorStatus()===404){this.seo.disableFollow(),this.ssrStatus&&(this.ssrStatus.code=404);return}this.seo.enableFollow(),this.applySeo()}}),this.api.publicWorkspace(i).subscribe({next:n=>{this.store()===e&&(this.slug.set(n?.slug||null),this.verified.set(!!n?.isVerified))},error:()=>{}})}applySeo(){let i=this.store(),e=i?.seller();if(!i||!e)return;let n=e.displayName,o=this.translate.instant("APP.SHOP_PAGE.SEO_TITLE",{name:n});this.seo.updateTitle(o),this.seo.updateDescription(this.translate.instant("APP.SHOP_PAGE.SEO_DESC",{name:n,count:i.total()})),this.seo.updateOgType("website"),e.avatarUrl?this.seo.updateOgImage(e.avatarUrl):this.seo.updatePageOgImage(o)}selectTab(i){this.tab.set(i)}toggleSearch(){let i=!this.searching();this.searching.set(i),i&&Q(this.platformId)&&setTimeout(()=>this.searchInput?.nativeElement.focus()),i||(this.query.set(""),this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=null,this.store()?.setSearch(null))}onSearchInput(i){let e=i.trim();this.query.set(e.toLowerCase()),this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout(()=>{this.searchTimer=null,this.store()?.setSearch(e)},Qt)}openCollection(i){this.searching.set(!1),this.query.set(""),this.store()?.loadShop(i.id),this.tab.set("all")}clearCollection(){this.store()?.loadShop(null)}loadMore(){this.store()?.loadMore()}refresh(){let i=this.store();!i||this.refreshing()||(this.refreshing.set(!0),i.refresh().finally(()=>this.refreshing.set(!1)))}retry(){this.store()?.refresh()}profileLink(){let i=this.slug();return i?`/@${i}`:null}onAvatarClick(i){let e=this.seller();if(!e?.isLive||(i.preventDefault(),this.openingLive()))return;this.openingLive.set(!0);let n=()=>{let o=this.profileLink();o&&this.router.navigateByUrl(o)};this.api.activeLiveRoomId(e.workspaceId).subscribe({next:o=>{this.openingLive.set(!1),o?this.router.navigate(["/live",o]):n()},error:()=>{this.openingLive.set(!1),n()}})}toggleFollow(){let i=this.seller()?.workspaceId;if(i){if(!this.login.isLoggedIn){this.authPrompt.openLogin();return}this.follows.toggle(i).subscribe()}}openReviews(){(this.stats()?.totalReviews||0)>0&&this.reviewsOpen.set(!0)}ratingText(){let i=this.stats();
1return!i||i.totalReviews<=0?"-":new Intl.NumberFormat(this.lang(),{minimumFractionDigits:1,maximumFractionDigits:1}).format(i.averageRating)}productsKey(i){return V("APP.MARKET.PRODUCTS_COUNT",i)}reviewsKey(i){return V("APP.SHOP_PAGE.REVIEWS_COUNT",i)}initial(){return(this.sellerName()||"H").charAt(0).toUpperCase()}share(){return te(this,null,function*(){let i=this.store()?.workspaceId;if(!i||!Q(this.platformId))return;let e=`${Y.app}/shop/${encodeURIComponent(i)}`,n=navigator;if(typeof n.share=="function")try{yield n.share({title:this.sellerName(),url:e});return}catch(o){if(o?.name==="AbortError")return}try{yield navigator.clipboard.writeText(e),this.showToast("APP.SHOP_PAGE.LINK_COPIED")}catch{}})}showToast(i){this.toast.set(i),this.toastTimer&&clearTimeout(this.toastTimer),this.zone.runOutsideAngular(()=>{this.toastTimer=setTimeout(()=>this.zone.run(()=>this.toast.set(null)),2600)})}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=N({type:t,selectors:[["app-seller-shop-page"]],viewQuery:function(e,n){if(e&1&&B(We,5),e&2){let o;H(o=D())&&(n.searchInput=o.first)}},decls:2,vars:1,consts:[["searchInput",""],["avatarContent",""],["data-testid","shop-page",1,"ssp"],[1,"ssp-top"],["data-testid","shop-name",1,"ssp-top__title"],[1,"ssp-top__ghost"],["type","button",1,"mp-icon-btn",3,"click"],["aria-hidden","true",1,"pi","pi-share-alt"],["type","button","data-testid","shop-search-toggle",1,"mp-icon-btn",3,"click"],["aria-hidden","true",1,"pi"],["type","button",1,"mp-icon-btn",3,"click","disabled"],["aria-hidden","true",1,"pi","pi-refresh"],["role","search",1,"ssp-search"],["aria-busy","true","data-testid","shop-skeleton",1,"mp-grid","mp-grid--pad","ssp-first"],[3,"workspaceId","lang"],["role","status",1,"ssp-toast"],["role","img",1,"pi","pi-verified"],["aria-hidden","true",1,"pi","pi-search"],["type","search","enterkeyhint","search","autocomplete","off","data-testid","shop-search",1,"ssp-search__input",3,"input","placeholder"],[1,"mp-ghost"],[1,"mp-ghost__img"],[1,"mp-ghost__line","mp-ghost__line--wide"],[1,"mp-ghost__line","mp-ghost__line--price"],["icon","pi-shop","message","APP.SHOP_PAGE.NOT_FOUND"],["icon","pi-exclamation-circle","message","COMMON.ERROR","actionLabel","COMMON.RETRY",3,"error"],["icon","pi-exclamation-circle","message","COMMON.ERROR","actionLabel","COMMON.RETRY",3,"action","error"],[1,"ssp-head"],[1,"ssp-stats"],["role","tablist",1,"mp-tabs","ssp-tabs"],["type","button","role","tab","data-testid","shop-tab-all",1,"mp-tab",3,"click"],["type","button","role","tab","data-testid","shop-tab-collections",1,"mp-tab",3,"click"],["type","button","role","tab","data-testid","shop-tab-promo",1,"mp-tab",3,"click"],["type","button","data-testid","shop-avatar",1,"ssp-avatar","is-live",3,"is-busy","disabled"],["data-testid","shop-avatar",1,"ssp-avatar",3,"routerLink"],["data-testid","shop-avatar",1,"ssp-avatar"],["alt","","referrerpolicy","no-referrer",3,"src"],[1,"ssp-avatar__init"],[1,"ssp-avatar__live"],["alt","","referrerpolicy","no-referrer",3,"error","src"],["type","button","data-testid","shop-avatar",1,"ssp-avatar","is-live",3,"click","disabled"],[3,"ngTemplateOutlet"],[1,"ssp-stat"],["data-testid","shop-total",1,"ssp-stat__value"],[1,"ssp-stat__label"],[1,"ssp-stat__value"],["type","button","data-testid","shop-reviews",1,"ssp-stat","ssp-stat--link"],["type","button","data-testid","shop-reviews",1,"ssp-stat","ssp-stat--link",3,"click"],["aria-hidden","true",1,"pi","pi-chevron-right"],["routerLink","/studio/shop",1,"ssp-cta"],["type","button","data-testid","shop-follow",1,"ssp-cta","ssp-cta--on"],["type","button","data-testid","shop-follow",1,"ssp-cta"],["aria-hidden","true",1,"pi","pi-th-large"],["type","button","data-testid","shop-follow",1,"ssp-cta","ssp-cta--on",3,"click"],["aria-hidden","true",1,"pi","pi-check"],["type","button","data-testid","shop-follow",1,"ssp-cta",3,"click"],["aria-hidden","true",1,"pi","pi-user-plus"],[1,"ssp-filter"],["aria-busy","true",1,"mp-grid","mp-grid--pad"],["type","button",1,"ssp-filter__chip",3,"click"],["aria-hidden","true",1,"pi","pi-folder"],["aria-hidden","true",1,"pi","pi-times"],["icon","pi-search","message","COMMON.NO_RESULTS","description","APP.SHOP_PAGE.NO_RESULTS_DESC"],["icon","pi-shopping-bag","message","APP.SHOP_PAGE.NO_PRODUCTS_TITLE","description","APP.SHOP_PAGE.NO_PRODUCTS_DESC"],["data-testid","shop-grid",1,"mp-grid","mp-grid--pad"],[3,"product","shopMode"],["appNearEnd","",1,"mp-sentinel",3,"nearEnd","nearEndMargin","nearEndKey"],["icon","pi-folder","message","APP.SHOP_PAGE.NO_COLLECTIONS_TITLE","description","APP.SHOP_PAGE.NO_COLLECTIONS_DESC"],["data-testid","shop-collections",1,"ssp-cols"],["type","button",1,"ssp-col",3,"click"],["alt","","loading","lazy",1,"ssp-col__img",3,"src"],[1,"ssp-col__img","ssp-col__img--empty"],[1,"ssp-col__txt"],[1,"ssp-col__title"],[1,"ssp-col__count"],["data-testid","shop-promo-grid",1,"mp-grid","mp-grid--pad"],["icon","pi-percentage","message","COMMON.NO_RESULTS",3,"action","actionLabel"],["role","status",1,"ssp-more"],["aria-hidden","true",1,"pi","pi-spin","pi-spinner"],[3,"closed","workspaceId","lang"]],template:function(e,n){if(e&1&&(r(0,"app-shell"),f(1,Wt,23,28),l()),e&2){let o;
1a(),c((o=n.store())?1:-1,o)}},dependencies:[pe,me,de,G,z,Pe,be,K,Oe,j,q],styles:["[_nghost-%COMP%]{--paper: #0a0a14;--surface: #12121e;--surface-2: #1a1a2e;--ink: #ffffff;--ink-soft: rgba(255, 255, 255, .66);--ink-muted: rgba(255, 255, 255, .45);--accent: #2f8eef;--accent-bright: #54a6f6;--live: #ff3b30;--error: #ef4444;--border: rgba(255, 255, 255, .1);--border-soft: rgba(255, 255, 255, .06);--topbar: 64px;--story-ring-a: #ffc83a;--story-ring-b: #ff7a1a;--story-ring-seen: rgba(255, 255, 255, .22);display:block;color:var(--ink);font-family:Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}[_nghost-%COMP%]   *[_ngcontent-%COMP%]{box-sizing:border-box}[_nghost-%COMP%]   button[_ngcontent-%COMP%]{font-family:inherit;cursor:pointer}[_nghost-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}[_nghost-%COMP%]   [_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--accent-bright);outline-offset:2px}@keyframes _ngcontent-%COMP%_mp-shimmer{0%{background-position:150% 0}to{background-position:-50% 0}}@media (prefers-reduced-motion: reduce){.mp-ghost__img[_ngcontent-%COMP%], .mp-ghost__line[_ngcontent-%COMP%], .mp-skel__banner[_ngcontent-%COMP%], .mp-skel__dot[_ngcontent-%COMP%], .mp-skel__bone[_ngcontent-%COMP%], .ssp-top__ghost[_ngcontent-%COMP%]{animation:none}}.mp-ghost[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:6px}.mp-ghost__img[_ngcontent-%COMP%]{display:block;background:linear-gradient(90deg,#fff0,#ffffff0f,#fff0) var(--surface-2);background-size:200% 100%;animation:_ngcontent-%COMP%_mp-shimmer 1.4s ease-in-out infinite;aspect-ratio:1/1;border-radius:12px}.mp-ghost__line[_ngcontent-%COMP%]{display:block;border-radius:4px;background:linear-gradient(90deg,#fff0,#ffffff0f,#fff0) var(--surface-2);background-size:200% 100%;animation:_ngcontent-%COMP%_mp-shimmer 1.4s ease-in-out infinite;height:10px;width:60px}.mp-ghost__line--wide[_ngcontent-%COMP%]{width:100%;height:12px}.mp-ghost__line--price[_ngcontent-%COMP%]{width:70px;height:14px}.mp-tabs[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid var(--border-soft);overflow-x:auto;scrollbar-width:none}.mp-tabs[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.mp-tab[_ngcontent-%COMP%]{flex:1 0 auto;background:none;border:none;border-bottom:3px solid transparent;color:var(--ink-muted);font-size:13px;font-weight:400;padding:12px 14px 10px;white-space:nowrap}.mp-tab.is-active[_ngcontent-%COMP%]{color:var(--ink);font-weight:700;border-bottom-color:var(--accent)}.mp-tab[_ngcontent-%COMP%]:hover{color:var(--ink)}.mp-icon-btn[_ngcontent-%COMP%]{flex-shrink:0;width:40px;height:40px;border-radius:50%;background:var(--surface-2);border:1px solid var(--border);color:var(--ink);display:inline-flex;align-items:center;justify-content:center}.mp-icon-btn[_ngcontent-%COMP%]:hover{border-color:var(--accent)}.mp-icon-btn[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:default}.ssp[_ngcontent-%COMP%]{max-width:1280px;margin:0 auto;padding-bottom:40px}.ssp-top[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;padding:12px 16px}.ssp-top__title[_ngcontent-%COMP%]{flex:1;min-width:0;margin:0 0 0 4px;display:flex;align-items:center;gap:6px;font-size:18px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ssp-top__title[_ngcontent-%COMP%]   .pi-verified[_ngcontent-%COMP%]{color:var(--accent-bright);font-size:16px}.ssp-top__ghost[_ngcontent-%COMP%]{display:block;border-radius:4px;background:linear-gradient(90deg,#fff0,#ffffff0f,#fff0) var(--surface-2);background-size:200% 100%;animation:_ngcontent-%COMP%_mp-shimmer 1.4s ease-in-out infinite;width:140px;height:18px}.ssp-search[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;margin:0 16px 8px;border-radius:12px;background:var(--surface-2);border:1px solid var(--accent)}.ssp-search[_ngcontent-%COMP%] > .pi[_ngcontent-%COMP%]{position:absolute;left:12px;color:#fff6}.ssp-search__input[_ngcontent-%COMP%]{flex:1;min-width:0;background:none;border:none;outline:none;color:var(--ink);font:inherit;font-size:15px;padding:11px 12px 11px 38px}.ssp-search__input[_ngcontent-%COMP%]::placeholder{color:#fff6}.ssp-first[_ngcontent-%COMP%]{margin-top:8px}.ssp-head[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:8px 16px 16px;max-width:560px;margin:0 auto}
1.ssp-avatar[_ngcontent-%COMP%]{position:relative;width:80px;height:80px;padding:0;border:none;border-radius:50%;background:var(--surface-2);display:flex;align-items:center;justify-content:center;cursor:pointer}.ssp-avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;object-fit:cover}.ssp-avatar__init[_ngcontent-%COMP%]{font-size:32px;font-weight:800;color:var(--accent-bright)}.ssp-avatar.is-live[_ngcontent-%COMP%]{box-shadow:0 0 0 3px var(--paper),0 0 0 5px var(--live)}.ssp-avatar.is-busy[_ngcontent-%COMP%]{opacity:.7;cursor:progress}.ssp-avatar__live[_ngcontent-%COMP%]{position:absolute;bottom:-8px;left:50%;transform:translate(-50%);padding:2px 7px;border-radius:5px;background:var(--live);color:#fff;font-size:10px;font-weight:800;letter-spacing:.04em}span.ssp-avatar[_ngcontent-%COMP%]{cursor:default}.ssp-stats[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-evenly;margin-top:18px}.ssp-stat[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;background:none;border:none;padding:4px 6px;color:var(--ink)}.ssp-stat__value[_ngcontent-%COMP%]{font-size:16px;font-weight:700}.ssp-stat__label[_ngcontent-%COMP%]{font-size:12px;color:var(--ink-muted);display:inline-flex;align-items:center;gap:2px}.ssp-stat--link[_ngcontent-%COMP%]   .ssp-stat__label[_ngcontent-%COMP%]{color:var(--accent-bright);text-decoration:underline}.ssp-stat--link[_ngcontent-%COMP%]   .ssp-stat__label[_ngcontent-%COMP%]   .pi[_ngcontent-%COMP%]{font-size:11px}.ssp-cta[_ngcontent-%COMP%]{width:100%;margin-top:16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border-radius:10px;border:1px solid var(--accent);background:var(--accent);color:#fff!important;font-size:14px;font-weight:700}.ssp-cta[_ngcontent-%COMP%]:hover{background:var(--accent-bright)}.ssp-cta--on[_ngcontent-%COMP%]{background:none;border-color:var(--border)}.ssp-cta--on[_ngcontent-%COMP%]:hover{background:#ffffff0a}.ssp-tabs[_ngcontent-%COMP%]{position:sticky;top:0;z-index:5;background:var(--paper);margin-bottom:12px}.ssp-filter[_ngcontent-%COMP%]{padding:0 16px 10px}.ssp-filter__chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 12px;border-radius:16px;background:#2f8eef26;border:1px solid rgba(47,142,239,.3);color:var(--accent-bright);font-size:12px;font-weight:600}.ssp-filter__chip[_ngcontent-%COMP%]   .pi[_ngcontent-%COMP%]{font-size:11px}.mp-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}@media (min-width: 600px){.mp-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 14px}}@media (min-width: 1000px){.mp-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width: 1300px){.mp-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(5,minmax(0,1fr))}}.mp-grid--pad[_ngcontent-%COMP%]{padding:0 12px}.mp-sentinel[_ngcontent-%COMP%]{display:block;height:1px}.ssp-more[_ngcontent-%COMP%]{display:flex;justify-content:center;color:var(--accent-bright);padding-bottom:20px}.ssp-cols[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0 12px;display:grid;gap:8px}@media (min-width: 900px){.ssp-cols[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}}.ssp-col[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;gap:12px;padding:10px 14px 10px 10px;border-radius:12px;background:var(--surface);border:1px solid var(--border-soft);color:var(--ink);text-align:left}.ssp-col[_ngcontent-%COMP%]:hover{border-color:var(--accent)}.ssp-col__img[_ngcontent-%COMP%]{width:48px;height:48px;border-radius:8px;object-fit:cover;flex-shrink:0}.ssp-col__img--empty[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;background:#2f8eef1a;color:var(--accent-bright)}.ssp-col__txt[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.ssp-col__title[_ngcontent-%COMP%]{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ssp-col__count[_ngcontent-%COMP%]{font-size:12px;color:var(--ink-muted)}.ssp-col[_ngcontent-%COMP%] > .pi[_ngcontent-%COMP%]{color:var(--ink-muted)}.ssp-toast[_ngcontent-%COMP%]{position:fixed;left:50%;bottom:90px;transform:translate(-50%);z-index:1100;padding:10px 18px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);color:var(--ink);font-size:13px;font-weight:600;box-shadow:0 12px 30px #00000080}"]})};export{Qt as SHOP_SEARCH_DEBOUNCE_MS,ye as SellerShopPageComponent};

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.