PageSourceSearch

https://www.paulbowles.org/assets/LostMusicalWorks-B4JnFXSk.js

js paulbowles.org collected 2026-10-02 10:03:55 UTC 2,553 bytes, 1 lines download raw bytes

1import{_ as g}from"./IconBack-Ws7IqLO5.js";import{d as L,z as h,e as C,c as n,b as e,h as v,i as B,F as d,r as c,u as W,m as p,p as M,o,t as a,l,C as r}from"./index-DYEHZl2K.js";import{f as _}from"./musical-work-CPDHxbQl.js";import"./index-BjtuyMK1.js";const O={class:"mx-5 py-90 lg:px-16 2xl:px-20 text-xl lg:text-2xl lg:py-90"},b={class:"flex items-center justify-between"},D={class:"mt-10"},E={class:"list-disc mx-10 mt-5"},N={key:0},P={key:1},V={class:"mt-10"},T={class:"list-disc mx-10 mt-5"},A={key:0},F={key:1},U={class:"mt-10"},j={class:"list-disc mx-10 mt-5"},w={key:0},z={key:1},G=L({__name:"LostMusicalWorks",setup(H){h({title:"Paul Bowles’s lost musical works"});const x=function(i){W().updateLoading(i)},S=function(i){W().updateError(i)},f=p([]),y=p([]),k=p([]);return C(async()=>{x(!0);try{const{data:i}=await _(1,"Song",!1,"",!1);f.value=i.results;const{data:s}=await _(1,"Piano",!1,"",!1);y.value=s.results;let u=[],m=1;for(;;){const{data:t}=await _(m,"Orchestra",!1,"",!1);if(u=u.concat(t.results),!t.next)break;m++}k.value=u,x(!1)}catch(i){S(i)}}),(i,s)=>{const u=g,m=M("router-link");return o(),n("div",O,[e("div",b,[s[0]||(s[0]=e("h1",{class:"text-3xl md:text-6xl font-heading uppercase"},"PAUL BOWLES’S LOST MUSICAL WORKS",-1)),v(m,{to:"/music",class:"hover:opacity-75 hover:-translate-x-5 transition-transform"},{default:B(()=>[v(u)]),_:1})]),e("div",D,[s[3]||(s[3]=e("h2",{class:"text-2xl"},"Songs",-1)),e("ul",E,[(o(!0),n(d,null,c(f.value,t=>(o(),n("li",{key:t.id},[e("i",null,a(t.title),1),s[1]||(s[1]=l(",",-1)),t.instruments!==""?(o(),n("span",N," ("+a(t.instruments)+"),",1)):r("",!0),l(" "+a(t.year),1),t.comment!==""?(o(),n("span",P," ("+a(t.comment)+")",1)):r("",!0),s[2]||(s[2]=l(".",-1))]))),128))])]),e("div",V,[s[6]||(s[6]=e("h2",{class:"text-2xl"},"Piano Work",-1)),e("ul",T,[(o(!0),n(d,null,c(y.value,t=>(o(),n("li",{key:t.id},[e("i",null,a(t.title),1),s[4]||(s[4]=l(",",-1)),t.instruments&&t.instruments!==""?(o(),n("span",A," ("+a(t.instruments)+"),",1)):r("",!0),l(" "+a(t.year),1),t.comment!==""?(o(),n("span",F," ("+a(t.comment)+")",1)):r("",!0),s[5]||(s[5]=l(".",-1))]))),128))])]),e("div",U,[s[9]||(s[9]=e("h2",{class:"text-2xl"},"Orchestral Music",-1)),e("ul",j,[(o(!0),n(d,null,c(k.value,t=>(o(),n("li",{key:t.id},[e("i",null,a(t.title),1),s[7]||(s[7]=l(",",-1)),t.instruments&&t.instruments!==""?(o(),n("span",w," ("+a(t.instruments)+"),",1)):r("",!0),l(" "+a(t.year),1),t.comment!==""?(o(),n("span",z," ("+a(t.comment)+")",1)):r("",!0),s[8]||(s[8]=l(".",-1))]))),128))])])])}}});export{G 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.