PageSourceSearch

https://sheet-harmony-browser.lovable.app/assets/catalogue-fG3cvCGV.js

js sheet-harmony-browser.lovable.app collected 2026-10-03 03:44:46 UTC 27,272 bytes, 1 lines download raw bytes

1import{u as te,e as se,k as Se,l as ve,r as x,q as X,D as ae,t as Y,G as ne,H as Ee,F as le,s as ee,E as ke,j as e,I as oe,J as we,K as Ae,N as Fe,O as Ce,P as Te,Q as ge,L as H,a3 as De,a4 as fe,b as Re,T as Me,B as V,a5 as be,a6 as Be,a7 as Le,a8 as Ie,a9 as Oe,m as W,aa as ie,ab as ce,ac as ue,ad as T,U as _e,ae as Pe,af as Z,ag as Ne}from"./index-CWEO_VxY.js";import{N as ze}from"./CategoryGrid-ZXzKBXep.js";import{S as Ke}from"./sliders-horizontal-CkYLPYA7.js";import"./TranslatedTag-COCFucru.js";import"./translate.functions-Ly5_tfQ4.js";function qe(o){let n=2166136261;for(let l=0;l<o.length;l++)n^=o.charCodeAt(l),n=Math.imul(n,16777619)>>>0;return n>>>0}function $e(o,n){return[...o].map(l=>({it:l,k:qe(`${n}:${l.id}`)})).sort((l,d)=>l.k-d.k).map(l=>l.it)}function Je({seed:o,defaultEnsemble:n="All"}){const l=te(),{lang:d}=se(),{data:a,isLoading:h,error:m}=Se({queryKey:["products",d],queryFn:()=>ve(d),staleTime:1e3*60*5}),[f,E]=x.useState(""),[D,S]=x.useState(n),[b,R]=x.useState("All"),[M,P]=x.useState("All"),[g,N]=x.useState("All"),[y,F]=x.useState("All"),[k,B]=x.useState("All"),[w,L]=x.useState("All"),[I,O]=x.useState("default"),[C,$]=x.useState(25),J=x.useMemo(()=>{if(!a)return[];const s=new Map;for(const p of a)for(const i of X(p))s.set(i,(s.get(i)??0)+1);return Array.from(s.entries()).map(([p,i])=>({name:p,count:i})).sort((p,i)=>i.count-p.count||p.name.localeCompare(i.name))},[a]),z=x.useMemo(()=>{const s=new Map;if(a)for(const p of a)for(const i of ae(p))s.set(i,(s.get(i)??0)+1);return Array.from(s.entries()).map(([p,i])=>({name:p,count:i}))},[a]),K=x.useMemo(()=>{if(!a)return[];const s=new Map;for(const i of a)for(const c of Y(i))s.set(c,(s.get(c)??0)+1);const p=i=>{const c=parseFloat(i.replace(",","."));return Number.isFinite(c)?c:Number.POSITIVE_INFINITY};return Array.from(s.entries()).map(([i,c])=>({name:i,count:c})).sort((i,c)=>p(i.name)-p(c.name)||i.name.localeCompare(c.name,"de",{numeric:!0}))},[a]),q=x.useMemo(()=>{if(!a)return[];const s=new Map;for(const p of a){const i=new Set(X(p).map(c=>c.toLowerCase()));for(const c of p.tags){const j=c.toLowerCase();/^grad\b/i.test(c.trim())||ze.has(j)||i.has(j)||s.set(c,(s.get(c)??0)+1)}}return Array.from(s.entries()).map(([p,i])=>({name:p,count:i})).sort((p,i)=>i.count-p.count||p.name.localeCompare(i.name,"de"))},[a]),_=x.useMemo(()=>{const s={};if(a)for(const p of a){const i=ne(p);if(i!==null)for(const c of Ee)le(i,c.key)&&(s[c.key]=(s[c.key]??0)+1)}return s},[a]),v=x.useMemo(()=>{if(!a)return[];const s=f.trim().toLowerCase(),p=a.filter(i=>!(D!=="All"&&ee(i)!==D||b!=="All"&&ke(i)!==b||M!=="All"&&!X(i).includes(M)||g!=="All"&&!ae(i).includes(g)||y!=="All"&&!Y(i).includes(y)||k!=="All"&&!le(ne(i),k)||w!=="All"&&!i.tags.some(c=>c.toLowerCase()===w.toLowerCase())||s&&!`${i.title} ${i.vendor} ${i.tags.join(" ")} ${i.description}`.toLowerCase().includes(s)));return I==="newest"?[...p].sort((i,c)=>{const j=i.publishedAt?Date.parse(i.publishedAt):0;return(c.publishedAt?Date.parse(c.publishedAt):0)-j}):I==="az"?[...p].sort((i,c)=>i.title.localeCompare(c.title,"de")):$e(p,o)},[a,f,D,b,M,g,y,k,w,I,o]),t=(f?1:0)+(D!=="All"?1:0)+(b!=="All"?1:0)+(M!=="All"?1:0)+(g!=="All"?1:0)+(y!=="All"?1:0)+(k!=="All"?1:0)+(w!=="All"?1:0)+(I!=="default"?1:0),r=s=>{s(),$(25)},u={search:f,onSearch:s=>r(()=>E(s)),ensemble:D,onEnsemble:s=>r(()=>S(s)),material:b,onMaterial:s=>r(()=>R(s)),composer:M,onComposer:s=>r(()=>P(s)),composerOptions:J,soloInstrument:g,onSoloInstrument:s=>r(()=>N(s)),soloInstrumentOptions:z,difficulty:y,onDifficulty:s=>r(()=>F(s)),difficultyOptions:K,duration:k,onDuration:s=>r(()=>B(s)),durationCounts:_,theme:w,onTheme:s=>r(()=>L(s)),themeOptions:q,sort:I,onSort:s=>r(()=>O(s)),total:a?.length,shown:a?Math.min(v.length,C):void 0};return e.jsxs("div",{className:"grid lg:grid-cols-12 gap-10",children:[e.jsx("aside",{className:"hidden lg:block lg:col-span-3 lg:sticky lg:top-28 lg:self-start lg:max-h-[calc(100vh-8rem)] lg:overflow-y-auto lg:pr-2 scrollbar-subtle",children:e.jsx(oe,{...u})}),e.jsxs("div",{className:"lg:hidden flex items-center justify-between gap-3",children:[e.jsx("div",{className:"text-[11px] uppercase tracking-[0.2em] text-muted-foreground",children:a&&a.length>0?`${Math.min(v.length,C)} / ${a.length} ${l("Werke","works","œuvres","作品")}`:null}),e.jsxs(we,{children:[e.jsxs(Ae,{"aria-label":l("Filter öffnen","Open filters","Ouvrir les filtres","フィルターを開く"),className:"inline-flex items-center gap-2 min-h-11 px-4 border border-ink text-ink uppercase tracking-[0.18em] text-xs hover:bg-ink hover:text-cream transition-colors",children:[e.jsx(Ke,{className:"h-4 w-4","aria-hidden":"true"}),l("Filter","Filters","Filtres","フィルター"),t>0&&e.jsx("span",{className:"ml-1 inline-flex items-center justify-center min-w-5 h-5 px-1.5 text-[10px] bg-gold text-white rounded-full",children:t})]}),e.jsxs(Fe,{side:"left",className:"w-[90vw] max-w-md p-0 flex flex-col bg-background",children:[e.jsx("div",{className:"px-6 pt-6 pb-4 border-b border-border/60",children:e.jsx(Ce,{className:"font-display text-lg text-ink",children:l("FILTERN","FILTERS","FILTRES","絞り込み")})}),e.jsx("div",{className:"flex-1 overflow-y-auto px-6 py-6",children:e.jsx(oe,{...u})}),e.jsx("div",{className:"border-t border-border/60 px-6 py-4",children:e.jsxs(Te,{className:"w-full min-h-12 bg-ink text-cream uppercase tracking-[0.2em] text-xs hover:opacity-90 transition-opacity",children:[v.length," ",l("Ergebnisse anzeigen","results — show","résultats — afficher","件を表示")]})})]})]})]}),e.jsxs("div",{className:"lg:col-span-9",children:[h&&e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-x-6 gap-y-12",children:Array.from({length:9}).map((s,p)=>e.jsxs("div",{children:[e.jsx("div",{className:"aspect-[3/4] bg-secondary animate-pulse"}),e.jsx("div",{className:"h-3 w-24 bg-secondary mt-4 animate-pulse"}),e.jsx("div",{className:"h-5 w-3/4 bg-secondary mt-2 animate-pulse"})]},p))}),m&&e.jsx("div",{className:"text-sm text-destructive",children:l("Katalog konnte nicht geladen werden. Bitte aktualisieren Sie die Seite.","The catalog could not be loaded. Please refresh the page.","Le catalogue n'a pas pu être chargé. Veuillez actualiser la page.","カタログを読み込めませんでした。ページを更新してください。")}),!h&&!m&&v.length===0&&e.jsxs("div",{className:"text-center py-24",children:[e.jsx("p",{className:"font-display text-2xl text-ink",children:l("Keine Werke entsprechen Ihren Filtern.","No works match your filters.","Aucune œuvre ne correspond à vos filtres.","条件に合う作品はありません。")}),e.jsx("p",{className:"text-muted-foreground mt-2 text-sm",children:l("Setzen Sie einen Filter zurück oder suchen Sie nach einem anderen Begriff.","Reset a filter or try a different search term.","Réinitialisez un filtre ou essayez un autre terme de recherche.","フィルターをリセットするか、別のキーワードでお試しください。")})]}),v.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-x-6 gap-y-12",children:v.slice(0,C).map(s=>e.jsx(ge,{product:s},s.id))}),C<v.length&&e.jsx("div",{className:"text-center mt-16",children:e.jsx("button",{onClick:()=>$(s=>s+25),className:"uppercase tracking-[0.2em] text-xs border border-ink px-8 py-3.5 hover:bg-ink hover:text-cream transition-colors",children:l("Mehr anzeigen","Show more","Afficher plus","もっと見る")})})]})]})]})}
1function ye({crumbs:o,eyebrow:n,title:l,subtitle:d,children:a}){return e.jsxs("section",{className:"relative overflow-hidden bg-[linear-gradient(110deg,#2a1b47_0%,#241a45_35%,#152a52_100%)]",children:[e.jsx("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,rgba(129,140,248,0.18),transparent_65%)]"}),e.jsxs("div",{className:"relative mx-auto max-w-7xl px-6 py-7 md:py-9",children:[o&&o.length>0&&e.jsx("nav",{"aria-label":"Breadcrumb",className:"text-[10px] uppercase tracking-[0.22em] text-white/50 mb-2.5",children:o.map((h,m)=>e.jsxs("span",{children:[m>0&&e.jsx("span",{className:"mx-2 text-white/25",children:"/"}),h.to?e.jsx(H,{to:h.to,className:"hover:text-white/90 transition-colors",children:h.label}):e.jsx("span",{className:"text-white/75",children:h.label})]},`${h.label}-${m}`))}),n&&e.jsx("p",{className:"text-[10px] uppercase tracking-[0.3em] text-white/45",children:n}),e.jsx("h1",{className:"font-display text-[1.6rem] sm:text-3xl md:text-4xl text-white mt-1.5 leading-[1.12] tracking-tight break-words hyphens-auto",children:l}),d&&e.jsx("p",{className:"mt-2.5 max-w-3xl text-sm md:text-base leading-relaxed text-white/70",children:d}),a]})]})}const de=[{slug:"all",label:{DE:"Alle",EN:"All",FR:"Tous",JA:"すべて",ES:"Todos"}},{slug:"solo",label:{DE:"Solo & Solo mit Klavier",EN:"Solo & Solo with Piano",FR:"Solo & solo avec piano",JA:"ソロ & ソロ・ピアノ",ES:"Solo & solo con piano"}},{slug:"duo",label:{DE:"Duo",EN:"Duo",FR:"Duo",JA:"デュオ",ES:"Dúo"}},{slug:"ensemble",label:{DE:"Ensemble",EN:"Ensemble",FR:"Ensemble",JA:"アンサンブル",ES:"Ensemble"}}],Ge=/^(brass\s*band|fanfare\s*band|concert\s*band|blasorchester|blasmusik|symphonisches\s*blasorchester|wind\s*(band|orchestra)|traditional\s*(concert\s*band|wind\s*band)|marching\s*band|orchester|orchestra|sinfonieorchester|symphony\s*orchestra)$/i,Ue=/(blechbl[äa]ser|holzbl[äa]ser|brass|woodwind|streicher|string|schlagzeug|percussion|klarinetten|clarinet|saxophon|saxophone|ensemble|trio|quartett|quartet|quintett|quintet|sextett|sextet)/i,We=/(solo\s*mit\s*klavier|solo\s*with\s*piano|klavierbegleitung)/i,He=/^(solo|solo\s*instrument)$/i,Ve=/^(duett|duet|duo)$/i,Qe=/(trio|quartett|quartet|quintett|quintet|sextett|sextet|oktett|octet|ensemble)/i,Ye=/(duett|duet(s|te|ten)?\b|for\s*two\b|für\s*2\b|for\s*2\b|\bduo\b|für\s*2\s)/i;function Ze(o){return/\d\s*\.\s*Stimme/i.test(o.title)}function me(o){const n=o.soloInstrument?.value?.trim();if(!n)return[];if(n.startsWith("["))try{const l=JSON.parse(n);if(Array.isArray(l))return l.map(d=>String(d).trim()).filter(Boolean)}catch{return[n]}return[n]}function Q(o){const n=De(o);if(n.some(a=>Ge.test(a)))return null;const l=n.join(" "),d=Qe.test(o.title)||/trio|quartett|quartet|quintett|quintet/i.test(l);return n.some(a=>Ve.test(a))&&!d||Ye.test(o.title)&&!d?"duo":n.some(a=>We.test(a))?"solo-piano":n.some(a=>He.test(a))?me(o).some(a=>/piano|klavier|orgel|organ/i.test(a))?"solo-piano":"solo":n.some(a=>Ue.test(a))?!d&&me(o).length>0?"duo":"ensemble":null}function Xe(o){return o.filter(n=>!Ze(n)&&Q(n)!==null)}function et(o,n){const l=h=>{const m=h.replace(",",".").match(/\d+(\.\d+)?/);return m?Number(m[0]):NaN},d=l(o),a=l(n);return!Number.isNaN(d)&&!Number.isNaN(a)?d-a:Number.isNaN(d)?Number.isNaN(a)?o.localeCompare(n):1:-1}const tt="/__l5e/assets-v1/04a1b7ca-768c-4d1e-bdf0-b51b8ba4d436/titelbild-edu.png",st={url:tt},pe={"Brass Ensemble":{DE:"Blechbläser",EN:"Brass",FR:"Cuivres",JA:"金管",ES:"Metales"},"Woodwind Ensemble":{DE:"Holzbläser",EN:"Woodwind",FR:"Bois",JA:"木管",ES:"Viento madera"},"Saxophon Ensemble":{DE:"Saxophon",EN:"Saxophone",FR:"Saxophone",JA:"サクソフォン",ES:"Saxofón"},"Klarinetten Ensemble":{DE:"Klarinette",EN:"Clarinet",FR:"Clarinette",JA:"クラリネット",ES:"Clarinete"},"String Ensemble":{DE:"Streicher",EN:"Strings",FR:"Cordes",JA:"弦楽",ES:"Cuerdas"},"Percussion Ensemble":{DE:"Schlagwerk",EN:"Percussion",FR:"Percussions",JA:"打楽器",ES:"Percusión"},"Flex Band":{DE:"Flexible Besetzung",EN:"Flexible",FR:"Formation flexible",JA:"フレックス",ES:"Flexible"},"Concert Band":{DE:"Blasorchester",EN:"Concert Band",FR:"Orchestre d'harmonie",JA:"コンサートバンド",ES:"Banda sinfónica"},"Brass Band":{DE:"Brass Band",EN:"Brass Band",FR:"Brass band",JA:"ブラスバンド",ES:"Brass band"},Orchestra:{DE:"Orchester",EN:"Orchestra",FR:"Orchestre",JA:"オーケストラ",ES:"Orquesta"},Other:{DE:"Gemischt",EN:"Mixed",FR:"Mixte",JA:"混成",ES:"Mixto"}};function he(o,n){return pe[o]?.[n]??pe[o]?.EN??o}function xe(o){const[n,l=""]=o.split("?");if(!l)return{to:n};const d={};for(const a of l.split("&")){const[h,m=""]=a.split("=");h&&(d[decodeURIComponent(h)]=decodeURIComponent(m.replace(/\+/g," ")))}return{to:n,search:d}}function pt(){const{use:o,ensemble:n,instrument:l,category:d,grade:a}=fe.useSearch();
1return o?e.jsx(lt,{use:o,ensemble:n??"all",instrument:l,category:d,grade:a}):e.jsx(rt,{})}function rt(){const{lang:o}=se(),n=te(),{seed:l}=fe.useLoaderData(),{data:d}=V(be);return e.jsxs(e.Fragment,{children:[e.jsx(ye,{eyebrow:n("Katalog","Catalogue","Catalogue","カタログ"),title:n("Notenkatalog","Sheet Music Catalogue","Catalogue de partitions","楽譜カタログ"),subtitle:n("Symphonic Dimensions verlegt hochwertige Originalliteratur und Arrangements für Blasorchester, Brass Band, Fanfare Band, Flex Band und Ensembles. Stöbern Sie nach Besetzung, Schwierigkeitsgrad oder Thema.","Symphonic Dimensions publishes premium original works and arrangements for concert band, brass band, fanfare band, flex band and ensembles. Browse by ensemble, grade or theme.","Symphonic Dimensions publie des œuvres originales et des arrangements pour orchestre d'harmonie, brass band, fanfare, formations flexibles et ensembles. Parcourez par formation, niveau ou thème."),children:e.jsxs(H,{to:"/search",search:{q:""},className:"mt-5 inline-flex items-center gap-3 rounded-full border border-white/25 px-5 py-2.5 text-[11px] uppercase tracking-[0.22em] text-white hover:bg-white/10 transition-colors",children:[e.jsx(_e,{className:"h-4 w-4","aria-hidden":"true"}),n("Im Katalog suchen","Search the catalogue","Rechercher dans le catalogue","カタログを検索")]})}),e.jsxs("div",{className:"bg-white",children:[e.jsxs("section",{className:"mx-auto max-w-7xl px-6 pt-14 md:pt-20",children:[e.jsx("p",{className:"text-[10px] uppercase tracking-[0.28em] text-[#2563EB] mb-3",children:n("Entdecken","Discover","Découvrir","見つける")}),e.jsx("h2",{className:"font-display text-2xl md:text-3xl text-[#0a1f3d]",children:n("Kategorien entdecken","Explore categories","Explorer les catégories","カテゴリーを探す")})]}),Pe.map(a=>{const m=(a.id==="repertoire"&&d.length>0?d.map(f=>({label:{de:f.name,en:f.name,fr:f.name},href:`/catalogue?use=${encodeURIComponent(f.slug)}`})):null)??a.links;return e.jsx("section",{children:e.jsx("div",{className:"mx-auto max-w-7xl px-6 py-6 md:py-8",children:e.jsxs("div",{className:"rounded-2xl bg-[#F5F8FC] p-6 md:p-8",children:[e.jsx("p",{className:"text-[10px] uppercase tracking-[0.28em] text-[#2563EB] mb-5",children:T(a.title,o)}),a.variant==="cards"?e.jsx("ul",{className:"grid gap-3 sm:grid-cols-2 lg:grid-cols-3",children:a.links.map(f=>e.jsx("li",{children:e.jsxs(H,{...xe(f.href),className:"block group p-4 bg-white rounded-lg hover:shadow-[0_8px_24px_-12px_rgba(10,31,61,0.25)] transition-all",children:[e.jsx("span",{className:"block font-display text-base text-[#0a1f3d] group-hover:text-[#2563EB] transition-colors",children:T(f.label,o)}),f.caption&&e.jsx("span",{className:"block text-[10px] uppercase tracking-[0.22em] text-[#0a1f3d]/55 mt-1.5",children:T(f.caption,o)})]})},f.href))}):e.jsx("ul",{className:"flex flex-wrap gap-2",children:m.map(f=>e.jsx("li",{children:e.jsx(H,{...xe(f.href),className:"inline-flex items-center px-4 py-2 rounded-full bg-white text-sm text-[#0a1f3d] hover:bg-[#2563EB] hover:text-white transition-colors",children:T(f.label,o)})},f.href))})]})})},a.id)})]}),e.jsx("div",{className:"bg-background",children:e.jsxs("section",{className:"mx-auto max-w-7xl px-4 sm:px-6 py-10 lg:py-16",children:[e.jsx("h2",{className:"font-display text-ink mb-6 text-lg",children:n("FILTERN","FILTERS","FILTRES","絞り込み")}),e.jsx(Je,{seed:l})]})})]})}function at(o,n){const l=new Map;for(const[d,a]of o){let h=!1;for(const m of Object.keys(Z)){const f=Z[m][n],E=Ne[m][n];if(f?.includes(d)){l.set(E,(l.get(E)??0)+a),h=!0;break}}h||l.set(d,(l.get(d)??0)+a)}return l}function nt(o,n){for(const l of Object.keys(Z))if(Ne[l][n]===o)return Z[l][n];return[o]}function lt({use:o,ensemble:n,instrument:l,category:d,grade:a}){const{lang:h}=se(),m=te(),f=Re(),E=Me({from:"/catalogue"}),{data:D}=V(be),S=D.find(t=>t.slug===o)??null,b=Le[o]??null,{data:R}=V(Be),M=b?.extraCollectionHandles??[],{data:P}=V(Ie(M)),g=S?.slug==="prima-la-musica",N=x.useMemo(()=>{if(S){const c=new Set(S.handles),j=c.size>0?R.filter(A=>c.has(A.handle)):g?R:[];if(!g)return j;const G=["Maria Theresia","Scholl"],re=A=>
1G.some(U=>A.title.toLowerCase().includes(U.toLowerCase()));return Xe(j).filter(A=>!Oe(A)&&!re(A)).sort((A,U)=>{const je=A.publishedAt?Date.parse(A.publishedAt):0;return(U.publishedAt?Date.parse(U.publishedAt):0)-je})}if(!b)return[];const t=new Set((P??[]).map(c=>c.id)),r=c=>b.match(c)||t.has(c.id),u=R.filter(r),s=new Set(u.map(c=>W(c).toLowerCase().trim()).filter(Boolean));let p=R.filter(c=>{if(r(c))return!0;const j=W(c).toLowerCase().trim();return j?s.has(j):!1});const i=new Set(p.map(c=>c.id));for(const c of P??[])i.has(c.id)||p.push(c);return b.sortByNewest&&(p=[...p].sort((c,j)=>{const G=c.publishedAt?Date.parse(c.publishedAt):0;return(j.publishedAt?Date.parse(j.publishedAt):0)-G})),p},[R,P,b,S]),y=x.useMemo(()=>g?!d||d==="all"?N:d==="solo"?N.filter(t=>{const r=Q(t);return r==="solo"||r==="solo-piano"}):N.filter(t=>Q(t)===d):ie(N,n),[N,n,g,d]),F=g&&d==="ensemble",k=x.useMemo(()=>{const t=new Map;if(F){for(const u of y){const s=he(ee(u),h);t.set(s,(t.get(s)??0)+1)}return[...t.entries()].sort((u,s)=>s[1]-u[1]||u[0].localeCompare(s[0])).map(([u,s])=>({label:u,count:s}))}for(const u of y)for(const s of ce(u,h))t.set(s,(t.get(s)??0)+1);return[...at(t,h).entries()].sort((u,s)=>u[0].localeCompare(s[0])).map(([u,s])=>({label:u,count:s}))},[y,h,F]),B=x.useMemo(()=>{if(!l)return y;if(F)return y.filter(r=>he(ee(r),h)===l);const t=nt(l,h);return y.filter(r=>ce(r,h).some(u=>t.includes(u)))},[y,l,h,F]),w=x.useMemo(()=>{if(!g)return[];const t=new Map;for(const r of B)for(const u of Y(r))t.set(u,(t.get(u)??0)+1);return[...t.entries()].sort((r,u)=>et(r[0],u[0])).map(([r,u])=>({label:r,count:u}))},[B,g]),[L,I]=x.useState("default"),O=x.useMemo(()=>{const t=!g||!a?B:B.filter(r=>Y(r).includes(a));return L==="newest"?[...t].sort((r,u)=>(u.publishedAt?Date.parse(u.publishedAt):0)-(r.publishedAt?Date.parse(r.publishedAt):0)):L==="az"?[...t].sort((r,u)=>W(r).localeCompare(W(u),void 0,{sensitivity:"base"})):t},[B,a,g,L]),C=x.useMemo(()=>{const t=new Map;t.set("all",N.length);for(const r of N){const u=Q(r),s=u==="solo-piano"?"solo":u;s&&t.set(s,(t.get(s)??0)+1)}return t},[N]),$=x.useMemo(()=>{const t={all:N.length,"concert-band":0,"brass-band":0,"fanfare-band":0,"flex-band":0,ensembles:0,"solo-playalong":0};for(const r of ue)r.slug!=="all"&&(t[r.slug]=ie(N,r.slug).length);return t},[N]),J=t=>{E({search:r=>({...r,ensemble:t==="all"?void 0:t,instrument:void 0})})},z=t=>{E({search:r=>({...r,instrument:t})})},K=t=>{E({search:r=>({...r,category:t&&t!=="all"?t:void 0,instrument:void 0,grade:void 0})})},q=t=>{E({search:r=>({...r,grade:t})})},_=(t,r=!1)=>["px-4 py-2 text-[11px] uppercase tracking-[0.2em] transition-colors",t?"bg-ink text-cream":r?"bg-secondary/20 text-muted-foreground/40 cursor-not-allowed":"bg-secondary/40 text-ink hover:bg-secondary/70"].join(" "),v="w-full min-h-11 bg-secondary/40 text-ink px-4 text-[11px] uppercase tracking-[0.2em] outline-none focus:bg-secondary/70";return e.jsxs("div",{className:"bg-background min-h-screen",children:[e.jsx(ye,{crumbs:[{label:m("Start","Home","Accueil","ホーム","Inicio"),to:"/"},{label:m("Katalog","Catalogue","Catalogue","カタログ","Catálogo"),to:"/catalogue"},{label:S?S.name:b?T(b.label,h):o}],eyebrow:f("catalogue.browseByTheme"),title:S?S.name:b?T(b.h1,h):o,subtitle:g?m("Ausgewähltes Repertoire für prima la musica 2027. Entdecken Sie passende Werke aus dem Katalog von Symphonic Dimensions für Solo, Solo mit Klavier, Duo und Kammermusik.","Selected repertoire for prima la musica 2027. Discover suitable works from the Symphonic Dimensions catalogue for solo performance, solo with piano, duo and chamber music.","Répertoire sélectionné pour prima la musica 2027. Découvrez des œuvres du catalogue Symphonic Dimensions pour solo, solo avec piano, duo et musique de chambre.","prima la musica 2027 のための選定レパートリー。ソロ、ソロとピアノ、デュオ、室内楽に適した Symphonic Dimensions の作品をご覧ください。","Repertorio seleccionado para prima la musica 2027. Descubra obras del catálogo de Symphonic Dimensions para solo, solo con piano, dúo y música de cámara."):S?void 0:b?T(b.intro,h):void 0}),g&&e.jsx("section",{className:"bg-background",children:e.jsx("div",{className:"mx-auto max-w-7xl px-6 pt-8 md:pt-10",children:e.jsx("img",{src:st.url,alt:"Educational Repertoire",className:"block aspect-[40/2
11] w-full object-cover"})})}),e.jsx("section",{children:e.jsxs("div",{className:"mx-auto max-w-7xl px-6 py-8",children:[e.jsx("p",{className:"text-[10px] uppercase tracking-[0.28em] text-gold mb-4",children:g?m("Nach Kategorie filtern","Filter by category","Filtrer par catégorie","カテゴリーで絞り込む","Filtrar por categoría"):m("Nach Besetzung filtern","Filter by ensemble","Filtrer par formation","編成で絞り込む")}),g?e.jsxs(e.Fragment,{children:[e.jsx("select",{className:`lg:hidden ${v}`,value:d??"all",onChange:t=>K(t.target.value),"aria-label":m("Nach Kategorie filtern","Filter by category","Filtrer par catégorie","カテゴリーで絞り込む","Filtrar por categoría"),children:de.map(t=>e.jsxs("option",{value:t.slug,disabled:t.slug!=="all"&&(C.get(t.slug)??0)===0,children:[t.label[h]??t.label.EN," (",C.get(t.slug)??0,")"]},t.slug))}),e.jsx("ul",{className:"hidden lg:flex flex-wrap gap-2",children:de.map(t=>{const r=t.slug==="all"?!d:d===t.slug,u=C.get(t.slug)??0,s=t.slug!=="all"&&u===0;return e.jsx("li",{children:e.jsxs("button",{type:"button",onClick:()=>!s&&K(t.slug),disabled:s,className:_(r,s),"aria-pressed":r,children:[t.label[h]??t.label.EN,e.jsx("span",{className:"ml-2 text-[10px] opacity-60",children:u})]})},t.slug)})})]}):e.jsx("ul",{className:"flex flex-wrap gap-2",children:ue.map(t=>{const r=n===t.slug||n==="all"&&t.slug==="all",u=$[t.slug],s=t.slug!=="all"&&u===0;return e.jsx("li",{children:e.jsxs("button",{type:"button",onClick:()=>!s&&J(t.slug),disabled:s,className:["px-4 py-2 text-[11px] uppercase tracking-[0.2em] transition-colors",r?"bg-ink text-cream":s?"bg-secondary/20 text-muted-foreground/40 cursor-not-allowed":"bg-secondary/40 text-ink hover:bg-secondary/70"].join(" "),"aria-pressed":r,children:[T(t.label,h),e.jsx("span",{className:"ml-2 text-[10px] opacity-60",children:u})]})},t.slug)})}),k.length>1&&e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-[10px] uppercase tracking-[0.28em] text-gold mt-8 mb-4",children:F?m("Nach Instrumentierung filtern","Filter by instrumentation","Filtrer par instrumentation","編成で絞り込む","Filtrar por instrumentación"):m("Nach Instrument filtern","Filter by instrument","Filtrer par instrument","楽器で絞り込む","Filtrar por instrumento")}),g&&e.jsxs("select",{className:`lg:hidden ${v}`,value:l??"",onChange:t=>z(t.target.value||void 0),"aria-label":F?m("Nach Instrumentierung filtern","Filter by instrumentation","Filtrer par instrumentation","編成で絞り込む","Filtrar por instrumentación"):m("Nach Instrument filtern","Filter by instrument","Filtrer par instrument","楽器で絞り込む","Filtrar por instrumento"),children:[e.jsx("option",{value:"",children:m("Alle","All","Tous","すべて","Todos")}),k.map(t=>e.jsxs("option",{value:t.label,children:[t.label," (",t.count,")"]},t.label))]}),e.jsxs("ul",{className:g?"hidden lg:flex flex-wrap gap-2":"flex flex-wrap gap-2",children:[e.jsx("li",{children:e.jsx("button",{type:"button",onClick:()=>z(void 0),"aria-pressed":!l,className:["px-4 py-2 text-[11px] uppercase tracking-[0.2em] transition-colors",l?"bg-secondary/40 text-ink hover:bg-secondary/70":"bg-ink text-cream"].join(" "),children:m("Alle","All","Tous","すべて","Todos")})}),k.map(t=>{const r=l===t.label;return e.jsx("li",{children:e.jsxs("button",{type:"button",onClick:()=>z(r?void 0:t.label),"aria-pressed":r,className:["px-4 py-2 text-[11px] uppercase tracking-[0.2em] transition-colors",r?"bg-ink text-cream":"bg-secondary/40 text-ink hover:bg-secondary/70"].join(" "),children:[t.label,e.jsx("span",{className:"ml-2 text-[10px] opacity-60",children:t.count})]})},t.label)})]})]}),g&&w.length>1&&e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-[10px] uppercase tracking-[0.28em] text-gold mt-8 mb-4",children:m("Nach Schwierigkeit filtern","Filter by difficulty","Filtrer par niveau","難易度で絞り込む","Filtrar por dificultad")}),e.jsxs("select",{className:`lg:hidden ${v}`,value:a??"",onChange:t=>q(t.target.value||void 0),"aria-label":m("Nach Schwierigkeit filtern","Filter by difficulty","Filtrer par niveau","難易度で絞り込む","Filtrar por dificultad"),children:[e.jsx("option",{value:"",children:m("Alle","All","Tous","すべて","Todos")}),w.map(t=>e.jsxs("option",{value:t.label,children:[t.label," (",t.count,")"]},t.label))]}),e.jsxs("ul",{className:"hidden lg:flex flex-wrap gap-2",children:[e.jsx("li",{children:e.jsx("button",{type:"button",onClick:()=>q(void 0),"aria-pressed":!a,className:_(!a),children:m("Alle","All","Tous","すべて","Todos")})}),w.map(t=>{const r=a===t.label;return e.jsx("li",{children:e.jsxs("button",{type:"button",onClick:()=>q(r?void 0:t.label),"aria-pressed":r,className:_(r),children:[t.label,e.jsx("span",{className:"ml-2 text-[10px] opacity-60",children:t.count})]})},t.label)})]})]}),e.jsx("p",{className:"text-[10px] uppercase tracking-[0.28em] text-gold mt-8 mb-4",children:m("Sortieren","Sort","Trier","並び替え","Ordenar")}),e.jsx("ul",{className:"flex flex-wrap gap-2",children:[["default",m("Standard","Default","Par défaut","標準","Predeterminado")],["newest",m("Neu → Alt","New → Old","Nouveau → Ancien","新しい順","Nuevo → Antiguo")],["az","A – Z"]].map(([t,r])=>e.jsx("li",{children:e.jsx("button",{type:"button",onClick:()=>I(t),"aria-pressed":L===t,className:_(L===t),children:r})},t))}),g&&e.jsxs("p",{className:"mt-8 text-xs uppercase tracking-[0.22em] text-muted-foreground",children:[O.length," ",O.length===1?m("Werk","work","œuvre","作品","obra"):m("Werke","works","œuvres","作品","obras")]})]})}),e.jsx("section",{className:"mx-auto max-w-7xl px-6 py-16",children:O.length===0?e.jsxs("div",{className:"text-center py-24",children:[e.jsx("p",{className:"font-display text-2xl text-ink",children:m("Keine Werke entsprechen Ihrer Auswahl.","No works match your selection.","Aucune œuvre ne correspond à votre sélection.","条件に合う作品はありません。")}),e.jsx("button",{type:"button",onClick:()=>{g?K(void 0):J("all")},className:"mt-4 text-xs uppercase tracking-[0.22em] text-gold hover:underline",children:m("Filter zurücksetzen","Re
1set filter","Réinitialiser le filtre","フィルターをリセット")})]}):e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-x-6 gap-y-10 md:gap-y-12",children:O.map(t=>e.jsx(ge,{product:t},t.id))})})]})}export{pt as component};

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.