PageSourceSearch

https://www.custtom.com/build/assets/ShopIndex-DmrjR6hP.js

js custtom.com collected 2026-10-10 01:18:47 UTC 2,556 bytes, 1 lines download raw bytes

1import{v as w}from"./index-BAzMPhwh.js";import B from"./ProductCard-C5y037mq.js";import x from"./BackButton-CDzh-gzl.js";import z from"./AdvancedProductCard-C5vfOndo.js";import{_ as D}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{s as S,A as c,C as i,K as O,u as h,R as n,G as _,Q as A,W as L,L as d,S as p,r as y,c as N,D as l,H as k}from"./inertia-prototypes-_0KFShPv.js";import"./index-DyiQYywk.js";import"./AdvancedPicture-B_3rBqFI.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./isSymbol-DvzfyB44.js";import"./useHoliday-RidSVV7F.js";import"./useDevice-Bk5XUS65.js";import"./index-DLgy2mg4.js";import"./LoaderIcon-CbqUFsTQ.js";const V={class:"container"},$={class:"product-header"},q={class:"product-content"},E={class:"anchor"},P=["onClick"],R={key:0,class:"spacing products"},F={key:1,class:"spacing no-item"},G={__name:"ShopIndex",props:{collections:{required:!0}},setup(v){const m=v,s=y(!1),r=y(0),g=window.locale_route("order.index");function u(a){r.value=a}function C(){s.value&&(s.value=!1)}function I(){s.value=!s.value}S(()=>{document.querySelectorAll(".vue-cls-container").forEach(e=>{e.style.display="block"});const t=new URL(window.location).searchParams.get("coll");if(t!==null){const e=m.collections.findIndex(f=>f.id===parseInt(t));e>=0?u(parseInt(e)):u(0)}});const o=N(()=>m.collections[r.value]);return(a,b)=>(l(),c("div",null,[i("div",V,[O(x,{path:h(g)},null,8,["path"]),i("div",$,[i("h1",null,n(a.trans("shop.title.page")),1)]),i("div",q,[i("div",E,[i("ul",{class:_(["collection-bar",s.value?"bar-active":""])},[A((l(),c("li",{onClick:I,class:"coll active selected-option"},[L(n(o.value.title),1)])),[[h(w),C]]),(l(!0),c(d,null,p(v.collections,(t,e)=>(l(),c("li",{key:t.id,onClick:f=>u(e),class:_(["coll",e===r.value?"active":""])},n(t.title),11,P))),128))],2)]),o.value.product_count>=1?(l(),c("div",R,[o.value.id!==10&&o.value.id!==6&&o.value.id!==5?(l(!0),c(d,{key:0},p(o.value.products,(t,e)=>(l(),k(B,{key:t.id,product:t,"collection-id":o.value.id,"is-lazy":e>=3,"fetch-priority":e===0?"high":"auto"},null,8,["product","collection-id","is-lazy","fetch-priority"]))),128)):(l(!0),c(d,{key:1},p(o.value.products,(t,e)=>(l(),k(z,{key:t.id,"price-label-type":o.value.id===10?"from-for":"default",product:t,"collection-id":o.value.id,"is-lazy":e>=3,"fetch-priority":e===0?"high":"auto"},null,8,["price-label-type","product","collection-id","is-lazy","fetch-priority"]))),128))])):(l(),c("div",F,[i("h2",null,n(a.trans("shop.title.no-item")),1)]))])])]))}},oe=D(G,[["__scopeId","data-v-c056cb87"]]);export{oe 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.