PageSourceSearch

https://hypd.store/_nuxt/_categoryId_.0781b634.js

js hypd.store collected 2026-09-25 11:31:08 UTC 4,208 bytes, 1 lines download raw bytes

1import{_ as V,a as O,u as M,B as z,r as c,w as X,i as G,J as K,j as l,m as t,z as Q,e,L as Y,t as y,E as q,F as W,D as Z,f as ee,o as n,q as te,b as oe,s as ae,v as re,g as se}from"./entry.59d1b22d.js";import{u as ie}from"./index.c4ce6623.js";import{_ as ne}from"./no-orders.339d2e74.js";import{P as ce}from"./ProductCard.514afa79.js";import{I as le}from"./ImageFrame.d6f6474a.js";import"./nuxt-link.339660a9.js";import"./BottomSheet.96b3e7a3.js";import"./CrossIcon.20333d0c.js";import"./hypd-coin.04875b85.js";import"./SubmitButton.065cbb05.js";import"./ItemVariantSelector.6aee9fa3.js";const B=p=>(ae("data-v-5f306d61"),p=p(),re(),p),de={class:"curation-wrapper"},ue={class:"sub-header"},pe={class:"journey-path"},me={key:0,style:{color:"#000"}},fe={class:"curation-container"},ge={class:"curation-products"},_e={class:"heading"},ye={key:0,class:"product-listing-wrapper"},he={key:1,style:{display:"flex","justify-content":"center"}},ve=B(()=>t("div",{class:"lds-ellipsis"},[t("div"),t("div"),t("div"),t("div")],-1)),Ie=[ve],we={key:2,class:"no-products"},be=B(()=>t("img",{src:ne,alt:""},null,-1)),Se={__name:"[categoryId]",async setup(p){var b,S,C,$,k,x,D,P,T,R,F,j;let m,h;const a=O(),v=se(),r=M(),J=z(),s=c({}),f=c(null),I=c(null),w=c(0),d=c([]),u=c(!0);if(r.params.categoryId){const{data:o,error:i}=([m,h]=X(()=>ee(`${v.public.catalogURL}/api/categories`,{method:"POST",body:{id:[r.params.categoryId]},credentials:"include",headers:{"Content-Type":"application/json"}},"$fjqJyhwX5x")),m=await m,h(),m);o?(s.value={...o.value.payload[0]},console.log(s.value)):i&&console.log("Error fetching category info",err)}async function U(){var i;u.value=!0;try{var o=await $fetch(`${v.public.catalogURL}/api/catalog/category`,{method:"POST",body:{category_lvl3:[r.params.categoryId],page:w.value},headers:{"Content-Type":"application/json"}});w.value++,(i=o.payload)!=null&&i.data?d.value=[...d.value,...o.payload.data]:I.value.unobserve(f.value),u.value=!1}catch(g){u.value=!1,console.log("Error fetching catalog info",g)}}ie({ogUrl:`https://www.hypd.store/${(b=a.info)==null?void 0:b.username}`,title:`${(S=s.value)==null?void 0:S.name} • ${(C=a.info)==null?void 0:C.name} • HYPD`,ogTitle:`${($=s.value)==null?void 0:$.name} • ${(k=a.info)==null?void 0:k.name} • HYPD`,twitterTitle:`${(x=s.value)==null?void 0:x.name} • ${(D=a.info)==null?void 0:D.name} • HYPD`,description:"Shop from your favourite Creator's recommendations directly from their collection! | #ItsAFullTimeJob | #getHYPD",twitterDescription:"Shop from your favourite Creator's recommendations directly from their collection! | #ItsAFullTimeJob | #getHYPD",ogDescription:"Shop from your favourite Creator's recommendations directly from their collection! | #ItsAFullTimeJob | #getHYPD",ogImage:(T=(P=s.value)==null?void 0:P.thumbnail)==null?void 0:T.src,twitterImage:(F=(R=s.value)==null?void 0:R.thumbnail)==null?void 0:F.src,twitterCard:"summary",lang:"en-IN",icon:"/public/favicon.ico",ogUrl:`https://www.hypd.store/${(j=a.info)==null?void 0:j.username}/category/${r.params.categoryId}`});function A(o){o.forEach(async i=>{i.isIntersecting&&await U()})}function L(){J.replace({name:"CreatorStore",creatorUsername:a.info.username})}return G(()=>{f.value&&(I.value=K(f.value,A))}),(o,i)=>{var g,E,H,N;return n(),l("div",de,[t("div",ue,[t("div",pe,[t("span",{onClick:L},[Q(le,{alt:e(a).info.name,style:{width:"32px",height:"32px","border-radius":"50%","margin-right":"6px"},src:("getReplacedSource"in o?o.getReplacedSource:e(te))((E=(g=e(a).info)==null?void 0:g.profile_image)==null?void 0:E.src,100)},null,8,["alt","src"]),Y(" "+y(e(a).info.name)+" / Explore /   ",1)]),e(r).query.title?(n(),l("span",me,y(e(r).query.title),1)):q("",!0)])]),t("div",fe,[t("div",ge,[t("h2",_e,y(e(r).query.title),1),((H=e(d))==null?void 0:H.length)>0?(n(),l("div",ye,[(n(!0),l(W,null,Z(e(d),_=>(n(),oe(e(ce),{key:_==null?void 0:_.id,itemInfo:_},null,8,["itemInfo"]))),128))])):e(u)?(n(),l("div",he,Ie)):!e(u)&&((N=e(d))==null?void 0:N.length)==0?(n(),l("div",we,[be,Y(" No products found. ")])):q("",!0)]),t("div",{class:"pagination-target",ref_key:"target",ref:f},null,512)])])}}},He=V(Se,[["__scopeId","data-v-5f306d61"]]);export{He as default};

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.