diff --git a/404.html b/404.html index bc32122c..80ba4e41 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/2_6aVCKQz_LSecYHzdewp/_buildManifest.js b/_next/static/2_6aVCKQz_LSecYHzdewp/_buildManifest.js deleted file mode 100644 index c570fcd4..00000000 --- a/_next/static/2_6aVCKQz_LSecYHzdewp/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(s,c,e,a,d,t,o,i,n,r,u,b,h){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[e,s,c,a,d,o,i,n,r,t,u,b,"static/chunks/pages/index-02374c0fc2e0615d.js"],"/_error":["static/chunks/pages/_error-7707a3459bb7189d.js"],"/docs":[s,c,"static/chunks/pages/docs-aacb1ef69d6dae30.js"],"/docs/composing":[s,c,"static/chunks/pages/docs/composing-3909a80e1ef2183b.js"],"/docs/homepage":[e,s,c,a,d,t,"static/chunks/pages/docs/homepage-a1bfed7a76b18518.js"],"/docs/i18n":[s,c,"static/chunks/pages/docs/i18n-ef4fa6c41984f2b9.js"],"/docs/image":[s,c,o,"static/chunks/pages/docs/image-8ab514b103df5d9f.js"],"/docs/label":[e,s,c,a,d,t,"static/chunks/pages/docs/label-690a3200132b9d63.js"],"/docs/metadata":[e,s,c,a,d,t,"static/chunks/pages/docs/metadata-78ddc87c0b187ff2.js"],"/docs/partOf":[e,s,c,a,d,t,"static/chunks/pages/docs/partOf-1a8544cde4e8f13a.js"],"/docs/rendering":[e,s,c,a,d,t,"static/chunks/pages/docs/rendering-22aa11f317809ab7.js"],"/docs/requiredStatement":[e,s,c,a,d,t,"static/chunks/pages/docs/requiredStatement-881beb1a832866ac.js"],"/docs/scroll":[s,c,o,"static/chunks/pages/docs/scroll-02da343202f167d7.js"],"/docs/scroll/demo":[s,c,o,h,"static/chunks/pages/docs/scroll/demo-89b9ae08209a3f50.js"],"/docs/seeAlso":[e,s,c,a,d,t,"static/chunks/pages/docs/seeAlso-e8f8f8e426629f1f.js"],"/docs/slider":[e,s,c,a,d,i,n,r,t,u,b,"static/chunks/pages/docs/slider-66a8db531942d1f9.js"],"/docs/slider/demo":[e,s,c,a,d,i,n,h,r,t,u,b,"static/chunks/pages/docs/slider/demo-781a29d0f39b1aa9.js"],"/docs/summary":[e,s,c,a,d,t,"static/chunks/pages/docs/summary-b89496c6091175dd.js"],"/docs/thumbnail":[e,s,c,a,d,t,"static/chunks/pages/docs/thumbnail-416429cc357f211c.js"],"/docs/viewer":[s,c,o,"static/chunks/pages/docs/viewer-6b39ae18c1f02538.js"],"/docs/viewer/contentsearch":[s,c,o,"static/chunks/pages/docs/viewer/contentsearch-173e92819db77f45.js"],"/docs/viewer/demo":[s,c,o,h,"static/chunks/pages/docs/viewer/demo-ce5efcd671f2d365.js"],sortedPages:["/","/_app","/_error","/docs","/docs/composing","/docs/homepage","/docs/i18n","/docs/image","/docs/label","/docs/metadata","/docs/partOf","/docs/rendering","/docs/requiredStatement","/docs/scroll","/docs/scroll/demo","/docs/seeAlso","/docs/slider","/docs/slider/demo","/docs/summary","/docs/thumbnail","/docs/viewer","/docs/viewer/contentsearch","/docs/viewer/demo"]}}("static/css/445c4173ffc2bf04.css","static/chunks/546-1f75f42d42e53b58.js","static/chunks/714ca43d-40ddc96b87831ed0.js","static/chunks/965-ea656555f5a37a4f.js","static/chunks/580-95fb37128a90e563.js","static/chunks/542-d9ec244ae8135746.js","static/chunks/514-5c0e50803ee4fe0f.js","static/chunks/367-4fdbbcab0ecb544b.js","static/chunks/389-01a4bdc67945262f.js","static/chunks/634-6c35c8ba6b586437.js","static/chunks/769-bca440da70d3d0ab.js","static/css/e7f2c32b53a96c4e.css","static/chunks/966-0d9184b7d935a49f.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/ZTh6a5CdCG336JPh_OPrW/_buildManifest.js b/_next/static/ZTh6a5CdCG336JPh_OPrW/_buildManifest.js new file mode 100644 index 00000000..c456ecde --- /dev/null +++ b/_next/static/ZTh6a5CdCG336JPh_OPrW/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(s,c,e,a,d,t,o,i,n,r,b,u,h){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[e,s,c,a,d,o,i,n,r,t,b,u,"static/chunks/pages/index-416978aba4a10c58.js"],"/_error":["static/chunks/pages/_error-7707a3459bb7189d.js"],"/docs":[s,c,"static/chunks/pages/docs-9a81803c83d9bf85.js"],"/docs/composing":[s,c,"static/chunks/pages/docs/composing-f78d3e5e9aaf7531.js"],"/docs/homepage":[e,s,c,a,d,t,"static/chunks/pages/docs/homepage-bd87dffac9e5283c.js"],"/docs/i18n":[s,c,"static/chunks/pages/docs/i18n-88238a2979e11b57.js"],"/docs/image":[s,c,o,"static/chunks/pages/docs/image-a54f5a462eb86949.js"],"/docs/label":[e,s,c,a,d,t,"static/chunks/pages/docs/label-71e9277fdae91d2d.js"],"/docs/metadata":[e,s,c,a,d,t,"static/chunks/pages/docs/metadata-03412e9ae01b7bb1.js"],"/docs/partOf":[e,s,c,a,d,t,"static/chunks/pages/docs/partOf-a4652ee1bf63ffa1.js"],"/docs/rendering":[e,s,c,a,d,t,"static/chunks/pages/docs/rendering-ba5cd4b4f86041a9.js"],"/docs/requiredStatement":[e,s,c,a,d,t,"static/chunks/pages/docs/requiredStatement-806ebfcc99050034.js"],"/docs/scroll":[s,c,o,"static/chunks/pages/docs/scroll-c34f7673152768ae.js"],"/docs/scroll/demo":[s,c,o,h,"static/chunks/pages/docs/scroll/demo-b5f41dae6913de84.js"],"/docs/seeAlso":[e,s,c,a,d,t,"static/chunks/pages/docs/seeAlso-3906fe6c9a9720c1.js"],"/docs/slider":[e,s,c,a,d,i,n,r,t,b,u,"static/chunks/pages/docs/slider-317a847894d6eb4f.js"],"/docs/slider/demo":[e,s,c,a,d,i,n,h,r,t,b,u,"static/chunks/pages/docs/slider/demo-217803658578fe35.js"],"/docs/summary":[e,s,c,a,d,t,"static/chunks/pages/docs/summary-0331f8064bee1d00.js"],"/docs/thumbnail":[e,s,c,a,d,t,"static/chunks/pages/docs/thumbnail-de55780687c568fa.js"],"/docs/viewer":[s,c,o,"static/chunks/pages/docs/viewer-066e2cb225ab69ac.js"],"/docs/viewer/contentsearch":[s,c,o,"static/chunks/pages/docs/viewer/contentsearch-c826ba020964e793.js"],"/docs/viewer/demo":[s,c,o,h,"static/chunks/pages/docs/viewer/demo-9d4dd30d36643ffe.js"],sortedPages:["/","/_app","/_error","/docs","/docs/composing","/docs/homepage","/docs/i18n","/docs/image","/docs/label","/docs/metadata","/docs/partOf","/docs/rendering","/docs/requiredStatement","/docs/scroll","/docs/scroll/demo","/docs/seeAlso","/docs/slider","/docs/slider/demo","/docs/summary","/docs/thumbnail","/docs/viewer","/docs/viewer/contentsearch","/docs/viewer/demo"]}}("static/css/445c4173ffc2bf04.css","static/chunks/546-1f75f42d42e53b58.js","static/chunks/714ca43d-40ddc96b87831ed0.js","static/chunks/965-ea656555f5a37a4f.js","static/chunks/580-95fb37128a90e563.js","static/chunks/542-d9ec244ae8135746.js","static/chunks/514-5c0e50803ee4fe0f.js","static/chunks/367-4fdbbcab0ecb544b.js","static/chunks/389-01a4bdc67945262f.js","static/chunks/634-6c35c8ba6b586437.js","static/chunks/769-bca440da70d3d0ab.js","static/css/e7f2c32b53a96c4e.css","static/chunks/966-0d9184b7d935a49f.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/2_6aVCKQz_LSecYHzdewp/_ssgManifest.js b/_next/static/ZTh6a5CdCG336JPh_OPrW/_ssgManifest.js similarity index 100% rename from _next/static/2_6aVCKQz_LSecYHzdewp/_ssgManifest.js rename to _next/static/ZTh6a5CdCG336JPh_OPrW/_ssgManifest.js diff --git a/_next/static/chunks/991.11bafb80917f4a96.js b/_next/static/chunks/991.11bafb80917f4a96.js new file mode 100644 index 00000000..bdef08b6 --- /dev/null +++ b/_next/static/chunks/991.11bafb80917f4a96.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[991],{6991:function(e,t,n){n.r(t),n.d(t,{default:function(){return eg}});var i=n(2676),a=n(5271);let r={activeLanguages:void 0,annotations:[],manifest:void 0,options:{offset:0,figure:{display:"image-viewer",aspectRatio:100/61.8,width:"38.2%"},language:{defaultLanguages:void 0,enabled:!1,options:[]}},searchActiveMatch:void 0,searchMatches:void 0,searchString:void 0,vault:new(n(4340)).j};function o(e,t){switch(t.type){case"updateAnnotations":return{...e,annotations:t.payload};case"updateActiveLanguages":return{...e,activeLanguages:t.payload};case"updateSearchActiveMatch":return{...e,searchActiveMatch:t.payload};case"updateSearchMatches":return{...e,searchMatches:t.payload};case"updateSearchString":return{...e,searchString:t.payload};default:return e}}let l=(0,a.createContext)({dispatch:()=>null,state:r}),s=e=>{var t;let{children:n,manifest:s}=e,d={...r.options,...e.options},c=(null===(t=d.language)||void 0===t?void 0:t.defaultLanguages)||[],[u,p]=(0,a.useReducer)(o,{...r,activeLanguages:c,options:d});return(0,i.jsx)(l.Provider,{value:{state:{...u,manifest:s,options:d},dispatch:p},children:n})};var d=n(4384),c=n(8158);let u=(0,c.zo)("div",{display:"flex",flexDirection:"row",alignItems:"center",background:"$primary",filter:"drop-shadow(2px 2px 5px #0002)",borderRadius:"2rem"}),p=(0,c.zo)("div",{position:"absolute",zIndex:10,overflow:"hidden",height:"2rem",justifyContent:"space-between"}),h=(0,c.zo)("header",{fontSize:"1",paddingBottom:"1.618rem",position:"relative",display:"flex",justifyContent:"space-between",zIndex:2,".clover-scroll-header-label":{fontWeight:"400",fontSize:"1.25rem"}}),g=(0,c.zo)("section",{margin:"0",gap:"1rem",position:"relative",zIndex:0});var x=n(757),m=n(4868);let f=(0,c.zo)("div",{width:"2rem",height:"2rem",["".concat(m.tr)]:{background:"$primary",width:"inherit",height:"inherit",display:"flex",justifyContent:"center",borderRadius:"2rem",padding:"0",justifyItems:"center",flexDirection:"column",alignItems:"center","&:hover":{background:"$accent"},svg:{fill:"$secondary"}},["".concat(m.Hz)]:{"> label":{fontSize:"0.8333rem",display:"flex",marginBottom:"0.5rem"}}}),v=(0,c.zo)("div",{width:"1rem",height:"1rem",borderRadius:"3px",backgroundColor:"$secondaryMuted",border:"1px solid $secondaryAlt",display:"inline-flex",fontSize:"0.7222rem",alignContent:"center",justifyContent:"center",textAlign:"center",flexDirection:"column"}),b=(0,c.zo)(x.z$,{marginTop:"-1px"}),y=(0,c.zo)(x.fC,{display:"flex",alignContent:"center",alignItems:"center",gap:"0.5rem",backgroundColor:"transparent",border:"none",fontFamily:"inherit",fontSize:"1rem",marginTop:"0.25rem","&[data-state='checked']":{["".concat(v)]:{backgroundColor:"$accent",borderColor:"$accent",color:"$secondary"}}});var j=e=>{var t;let{lang:n,isChecked:r}=e,{state:o,dispatch:s}=(0,a.useContext)(l),{activeLanguages:d,options:c}=o,{language:u}=c,p=((null==u?void 0:null===(t=u.options)||void 0===t?void 0:t.find(e=>Object.keys(e)[0]===n))||n)[n]||n;return(0,i.jsxs)(y,{checked:r,onCheckedChange:e=>{s({type:"updateActiveLanguages",payload:e&&void 0!==d?[...d,n]:null==d?void 0:d.filter(e=>e!==n)})},children:[(0,i.jsx)(v,{children:(0,i.jsx)(b,{children:"✓"})}),p]})},w=n(8855),z=n(5323);let C=e=>{let{title:t,style:n={}}=e;return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",style:n,children:[(0,i.jsx)("title",{children:t}),(0,i.jsx)("path",{d:"m455.77,49.65c-.53-.94-1.53-1.52-2.61-1.52h-1.46c-.9,0-1.76.41-2.33,1.11-7.48,9.2-14.92,20.42-22.14,33.34-.49.87-.51,1.93-.05,2.82,14.51,28.46,28.67,57.32,28.8,70.41-.1.12-.38.35-.96.57-.05.02-.1.04-.15.06-11.86,5.21-25.25,8.74-37.93,11.77-35.75,8.37-68.11,12.45-98.93,12.45-37.86,0-69.49-6.59-91.47-19.05-24.29-13.77-36.6-34.28-36.6-60.96,0-12.24,2.79-26.82,8.29-43.33.49-1.48-.23-3.1-1.67-3.71l-11.65-4.95c-1.43-.61-3.09-.02-3.82,1.35-11.8,22.23-17.54,45.74-17.54,71.9,0,35.09,14.3,62.03,42.49,80.08,24.82,15.89,60.52,24.29,103.24,24.29,57.18,0,132.5-18.87,159.14-35.1.42-.25.77-.61,1.02-1.03,8.99-15.08,15.86-28.36,15.86-50.18,0-35.58-22.59-78.13-29.52-90.32Z"}),(0,i.jsx)("path",{d:"m321.24,273.28c-1.26-.92-3.01-.72-4.03.45-8.38,9.62-16.7,20.51-23.73,29.88-.95,1.27-.75,3.06.46,4.09,2.19,1.86,4.38,3.71,6.55,5.54,9.53,8.05,18.54,15.66,27.7,24.35.58.55,1.32.82,2.06.82.69,0,1.38-.24,1.95-.72,9.71-8.28,17.81-17.85,24.79-29.26.71-1.16.55-2.65-.39-3.63-11.73-12.33-23.62-22.94-35.36-31.52Z"}),(0,i.jsx)("path",{d:"m256.38,433.6l-90-218c-4.64-11.23-17.5-16.58-28.73-11.94-5.41,2.23-9.71,6.53-11.94,11.94l-90,218c-4.69,11.21.59,24.1,11.8,28.79,11.21,4.69,24.1-.59,28.79-11.8.03-.07.06-.14.08-.2l18.33-44.39h102.67l18.33,44.39c3.4,8.24,11.43,13.61,20.34,13.61,12.15,0,21.99-9.86,21.99-22.01,0-2.88-.57-5.73-1.67-8.39h0Zm-143.5-71.6l33.17-80.35,33.17,80.35h-66.34Z"})]})};var k=()=>{let{state:e}=(0,a.useContext)(l),{activeLanguages:t,annotations:n}=e,r=n?(0,z.k)(n):[];return(0,i.jsx)(f,{children:(0,i.jsxs)(w.J2,{children:[(0,i.jsx)(w.J2.Trigger,{children:(0,i.jsx)(C,{title:"language",style:{width:"18px",height:"18px"}})}),(0,i.jsxs)(w.J2.Content,{children:[(0,i.jsx)("label",{children:"Language"}),r.map(e=>(0,i.jsx)(j,{isChecked:null==t?void 0:t.includes(e),lang:e},e))]})]})})},S=n(1390);let L="255, 197, 32";(0,c.zo)("span",{fontWeight:"700"}),(0,c.zo)("div",{display:"flex",gap:"0.25rem"});let E=(0,c.zo)("div",{fontSize:"0.9rem !important",color:"$secondaryAlt",margin:"0 0.5em"});(0,c.zo)("div",{display:"flex",flexDirection:"column",button:{backgroundColor:"#6660",opacity:"0.7",transition:"$all",padding:"0.5rem 0.618rem",fontSize:"0.9rem",lineHeight:"1.1rem",textAlign:"left",borderRadius:"2rem",border:"1px solid #6662",display:"flex",flexDirection:"column",gap:"0.25rem","&:hover":{opacity:"1",boxShadow:"5px 5px 13px #6662"},"&[data-result=true]":{backgroundColor:"rgba(".concat(L,", 0.2)"),borderColor:"rgba(".concat(L,", 0.2)"),opacity:"1","&:hover":{backgroundColor:"rgba(".concat(L,", 0.2)")}}}});let I=(0,c.zo)("input",{margin:"0",background:"none",zIndex:"2",justifyContent:"center",display:"flex",alignItems:"center",fontSize:"1rem",fontFamily:"inherit",outline:"none !important",border:"none !important",color:"$secondary",cursor:"pointer",boxSizing:"content-box !important",flexGrow:"0",width:"2rem"}),M=(0,c.zo)("button",{position:"absolute",zIndex:"3",border:"none",background:"transparent",color:"$secondary !important",fill:"$secondary !important",stroke:"$secondary !important",transition:"$all",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",flexDirection:"column",borderRadius:"2rem",height:"2rem",width:"2rem",svg:{color:"inherit",fill:"inherit",stroke:"inherit"}}),$=(0,c.zo)("button",{opacity:"1",alignSelf:"center",margin:"0 0.25rem",fill:"$secondary",flexShrink:"0",border:"none",background:"transparent",display:"inline-flex",alignItems:"center",justifyContent:"center",flexDirection:"column",borderRadius:"2rem",height:"2rem",width:"2rem",svg:{color:"inherit",fill:"inherit"},'&[aria-disabled="true"]':{opacity:"0",display:"none"}}),A=(0,c.zo)("form",{display:"flex",justifyContent:"space-between",transition:"$all",flexGrow:"1",height:"2rem",variants:{isPanelExpanded:{true:{["".concat(M)]:{marginLeft:"0",cursor:"text"},["".concat(I)]:{width:"100%",padding:"0 1rem 0 2rem",cursor:"text"}},false:{"&:hover":{backgroundColor:"$accent !important",borderRadius:"2rem"},["".concat(M)]:{cursor:"pointer"},["".concat(I)]:{cursor:"pointer","&::placeholder":{color:"transparent !important"}}}}}}),R=(0,c.zo)("div",{display:"flex",alignItems:"center",gap:"0.25rem","&[data-active=true]":{paddingRight:"0.5rem"},button:{fontSize:"0.9em",fill:"$secondary",color:"$secondary",stroke:"$secondary",svg:{fill:"inherit",color:"inherit",stroke:"inherit",width:"1.25em"}}});var D=e=>{let{activeIndex:t,searchString:n,total:a}=e,r=0===a?(0,i.jsxs)(i.Fragment,{children:["No results for ",(0,i.jsx)("strong",{children:n})]}):(0,i.jsxs)(i.Fragment,{children:[t+1," of ",a," results for ",(0,i.jsx)("strong",{children:n})]});return(0,i.jsx)(E,{children:r})};let P=e=>{let{title:t,style:n={}}=e;return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",style:n,children:[(0,i.jsx)("title",{children:t}),(0,i.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"45",d:"M244 400L100 256l144-144M120 256h292"})]})},B={charset:"latin:extra, arabic:extra, cyrillic:extra, cjk:extra",optimize:!0,tokenize:"full",resolution:9,document:{id:"id",index:"content"}};var F=()=>{let[e,t]=(0,a.useState)(0),{dispatch:n,state:r}=(0,a.useContext)(l),{activeLanguages:o,annotations:s,searchString:d=""}=r,c=new S.Z.Document(B),u=[];null==s||s.forEach(e=>{var t;null==e||null===(t=e.body)||void 0===t||t.forEach(e=>{var t;if(!(null==o?void 0:o.includes(String(e.language))))return;let n=null==e?void 0:null===(t=e.value)||void 0===t?void 0:t.replace(/\n/g,"");u.push(null==e?void 0:e.id),c.add({id:null==e?void 0:e.id,content:n})})});let p=function(e,t){let n=RegExp(t,"gi"),i={total:0,matches:[]};return e.forEach(e=>{let t;let a=e.body.id,r=e.body.value,o=[],l=0;for(console.log(t);null!==(t=n.exec(r));)l++,o.push("".concat(a,"/").concat(l));l>0&&(i.total+=l,i.matches.push({[a]:o}))}),i}((null==c?void 0:c.search(d).reduce((e,t)=>[...new Set([...e,...t.result])],[])).map(e=>null==s?void 0:s.filter(t=>t.body.find(t=>t.id===e)).map(t=>{let n=t.body.findIndex(t=>t.id===e);return{...t,body:t.body[n]}}).shift()),d),h=p.matches.flatMap(e=>Object.values(e).flat());return(0,a.useEffect)(()=>{t(0),n({type:"updateSearchMatches",payload:p}),n({type:"updateSearchActiveMatch",payload:void 0})},[d]),(0,a.useEffect)(()=>{n({type:"updateSearchActiveMatch",payload:h[e]})},[e,d]),(0,i.jsxs)(R,{"data-active":!!d,children:[d&&(0,i.jsx)(D,{activeIndex:e,searchString:d,total:p.total}),(null==p?void 0:p.total)!==0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("button",{onClick:()=>t(e=>e>0?e-1:h.length-1),children:(0,i.jsx)(P,{title:"previous",style:{transform:"rotate(90deg)"}})}),(0,i.jsx)("button",{onClick:()=>t(e=>e(0,i.jsxs)("svg",{style:{width:"16px",height:"16px"},xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:[(0,i.jsx)("title",{children:"search"}),(0,i.jsx)("path",{d:"M456.69 421.39L362.6 327.3a173.81 173.81 0 0034.84-104.58C397.44 126.38 319.06 48 222.72 48S48 126.38 48 222.72s78.38 174.72 174.72 174.72A173.81 173.81 0 00327.3 362.6l94.09 94.09a25 25 0 0035.3-35.3zM97.92 222.72a124.8 124.8 0 11124.8 124.8 124.95 124.95 0 01-124.8-124.8z"})]}),T=()=>(0,i.jsxs)("svg",{style:{width:"16px",height:"16px"},xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:[(0,i.jsx)("title",{children:"close"}),(0,i.jsx)("path",{d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"})]});var W=e=>{let{togglePanel:t,isPanelExpanded:n}=e,{dispatch:r,state:o}=(0,a.useContext)(l),{searchString:s}=o,d=(0,a.useRef)(null),c=()=>d.current===document.activeElement&&t(!0),u=()=>{var e;null===(e=d.current)||void 0===e||e.blur(),p(),t(!1),r({payload:"",type:"updateSearchString"}),r({payload:void 0,type:"updateSearchActiveMatch"})},p=()=>{d.current&&(d.current.value="")},h=e=>{"Escape"===e.key&&(e.preventDefault(),u())};return(0,a.useEffect)(()=>{var e;return null===(e=document)||void 0===e||e.addEventListener("keydown",h),()=>{var e;null===(e=document)||void 0===e||e.removeEventListener("keydown",h)}},[]),(0,a.useEffect)(()=>{if(null==d?void 0:d.current)return d.current.addEventListener("focus",c),d.current.addEventListener("blur",c),()=>{d.current&&(d.current.removeEventListener("focus",c),d.current.removeEventListener("blur",c))}},[]),(0,i.jsxs)(A,{id:"scroll-search",autoComplete:"off",isPanelExpanded:n,"data-testid":"scroll-panel-search-form",children:[(0,i.jsx)(M,{onClick:e=>{var t;e.preventDefault(),null==d||null===(t=d.current)||void 0===t||t.focus()},children:(0,i.jsx)(H,{})}),(0,i.jsx)(I,{ref:d,name:"clover-search",type:"text",placeholder:"Search...",defaultValue:s,onChange:e=>{var t;r({payload:null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.value,type:"updateSearchString"})}}),(0,i.jsx)($,{"aria-disabled":!n,"aria-label":"Close search panel",onClick:e=>{e.preventDefault(),u()},disabled:!n,children:(0,i.jsx)(T,{})})]})};let V=(0,c.zo)("div",{display:"flex",position:"relative",zIndex:"1",maxWidth:"100%",transition:"$all",variants:{isPanelExpanded:{true:{zIndex:1,opacity:1,transform:"translateX(0)"},false:{zIndex:-1,opacity:0,transform:"translateX(-2.618rem)",transitionDelay:"0",transition:"none"}}}});var _=e=>{let{width:t,isFixed:n}=e,r=(0,a.useRef)(null),[o,s]=a.useState(!1),{state:d}=(0,a.useContext)(l),{options:c}=d,{offset:h,language:g}=c,x=null==g?void 0:g.enabled,m=x?4.5:2;return(0,i.jsxs)(p,{ref:r,"data-testid":"scroll-panel",style:{display:o?"unset":"inline-flex",left:o?"unset":n?"unset":"calc(".concat(t,"px - ").concat(m,"rem)"),marginLeft:o?"-".concat(t,"px"):n?"-".concat(m,"rem"):"unset",width:o?t:"".concat(m,"rem"),...n?{position:"fixed",top:n?h:0}:{}},children:[!o&&x&&(0,i.jsx)(k,{}),(0,i.jsxs)(u,{children:[(0,i.jsx)(W,{togglePanel:function(e){s(e)},isPanelExpanded:o}),(0,i.jsx)(V,{"data-testid":"scroll-panel-results","data-panel-expanded":o,isPanelExpanded:o,children:o&&(0,i.jsx)(F,{})})]})]})},J=e=>{let{label:t}=e,{state:n}=(0,a.useContext)(l),{options:r}=n,{offset:o}=r,s=(0,a.useRef)(null),[c,u]=(0,a.useState)(0),[p,g]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=s.current;if(!e)return;let t=new ResizeObserver(e=>{for(let t of e)t.contentRect&&u(t.contentRect.width)});return t.observe(e),()=>{t.disconnect()}},[]),(0,a.useEffect)(()=>{let e=()=>{let e=s.current;e&&(e.getBoundingClientRect().top<=o?g(!0):g(!1))};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,i.jsxs)(h,{ref:s,children:[(0,i.jsx)(d.__,{label:t,className:"clover-scroll-header-label"}),(0,i.jsx)("div",{children:(0,i.jsx)(_,{width:c,isFixed:p})})]})};let N=(0,c.zo)("article",{transition:"all 0.382s ease-in-out",display:"flex",flexDirection:"row",flexWrap:"nowrap",gap:"2.618rem"}),O=(0,c.zo)("div",{transition:"$all",flexShrink:0}),G=(0,c.zo)("div",{display:"flex",flexGrow:1,flexDirection:"column",justifyContent:"flex-start","> div":{display:"flex",flexDirection:"row",gap:"2.618rem","> div":{width:"calc(100% / var(--num-items))",boxSizing:"border-box"}}}),Z=(0,c.zo)("hr",{margin:"0",borderColor:"transparent",height:"1.618rem",position:"relative",width:"61.8%",zIndex:0,marginLeft:"38.2%",display:"flex",justifyContent:"flex-end","&::before":{content:"attr(aria-label)",position:"absolute",right:"1.618rem",bottom:"0",zIndex:1,display:"flex",fontSize:"0.7222rem",fontWeight:"400",lineHeight:"1rem",background:"inherit",opacity:.7},"&::after":{content:"",width:"calc(100% - 2.618em)",position:"absolute",zIndex:0,height:"1px",background:"#6662"}}),Y=(0,c.zo)("div",{display:"flex",flexDirection:"column",gap:"2.618rem","&[data-figures-visible='true']":{["& ".concat(O)]:{opacity:1,zIndex:0,transform:"translateX(0)"}}});var X=n(1675);let q=(0,c.zo)(X.o,{}),K=(0,c.zo)("figure",{figcaption:{display:"flex",flexDirection:"column",margin:"1.618rem 0 0",opacity:.9,gap:"0.382rem",em:{fontSize:"0.9em",fontStyle:"normal",opacity:.7}}});var Q=e=>{let{canvas:t,canvasInfo:{current:n,total:a}}=e;return(0,i.jsxs)("figcaption",{children:[(0,i.jsxs)("em",{children:[n," / ",a]}),(null==t?void 0:t.label)&&(0,i.jsx)(d.__,{label:null==t?void 0:t.label}),(null==t?void 0:t.summary)&&(0,i.jsx)(d.ER,{summary:null==t?void 0:t.summary,as:"p"})]})},U=n(1338);let ee=(0,c.zo)("div",{width:"100%",height:"100%",background:"#6662",backgroundSize:"contain",color:"white",position:"relative",zIndex:"1",overflow:"hidden"});var et=a.memo(e=>{let{body:t,label:n}=e;return(0,i.jsx)(ee,{"data-testid":"scroll-figure-image",children:(0,i.jsx)(U.default,{body:t,openSeadragonConfig:{showNavigator:!1,showHomeControl:!1},...n&&{label:n}})})}),en=a.memo(e=>{let{body:t,label:n}=e;return(0,i.jsx)(ee,{"data-testid":"scroll-figure-thumbnail",children:(0,i.jsx)(d.pl,{thumbnail:[t],style:{width:"100%",height:"100%",objectFit:"contain",objectPosition:"center"},altAsLabel:n})})}),ei=n(9822),ea=e=>{let{canvas:t,canvasInfo:n}=e,{state:o}=(0,a.useContext)(l),{vault:s,options:d}=o,{figure:c}=d,u=c.display?c.display:r.options.figure.display,p=c.aspectRatio?c.aspectRatio:r.options.figure.aspectRatio,h=(0,ei.G)(s,t.id);return h?(0,i.jsxs)(K,{children:[null==h?void 0:h.map(e=>(0,i.jsxs)(q,{ratio:p,children:["thumbnail"===u&&(0,i.jsx)(en,{body:e,label:null==t?void 0:t.label}),"image-viewer"===u&&(0,i.jsx)(et,{label:null==t?void 0:t.label,body:e})]},null==e?void 0:e.id)),(0,i.jsx)(Q,{canvas:t,canvasInfo:n})]}):null};let er="255, 197, 32",eo=(0,c.zo)("div",{opacity:"1","&[dir=rtl]":{textAlign:"right"},"&[data-active-language=false]":{opacity:"0",width:"0",height:"0"},ul:{padding:"1rem"},li:{listStyleType:"disc",li:{listStyleType:"circle"}},"span.clover-scroll-highlight":{position:"relative",fontWeight:"bold","&.active":{"&::before":{top:"0",position:"absolute",display:"inline",content:"",width:"calc(100% + 4px)",height:"calc(100% + 2px) ",marginLeft:"-2px",borderRadius:"3px",border:"1px solid rgba(".concat(er,", 0.2)"),borderBottom:"1px solid rgba(".concat(er,", 0.618)"),boxShadow:"1px 1px 1px #6661"},"&::after":{left:"0",top:"0",position:"absolute",display:"inline",content:"",width:"calc(100% + 4px)",height:"calc(100% + 2px) ",marginLeft:"-2px",marginTop:"-1px",borderRadius:"3px",backgroundColor:"rgba(".concat(er,", 0.2)"),zIndex:-1}},"&::before":{top:"0",position:"absolute",display:"inline",content:"",width:"calc(100% + 4px)",height:"calc(100% + 2px) ",marginLeft:"-2px",borderRadius:"3px",border:"1px solid #6663",borderBottom:"1px solid #6664",boxShadow:"1px 1px 1px #6661"},"&::after":{left:"0",top:"0",position:"absolute",display:"inline",content:"",width:"calc(100% + 4px)",height:"calc(100% + 2px) ",marginLeft:"-2px",marginTop:"-1px",borderRadius:"3px",backgroundColor:"#6661",zIndex:-1}}}),el=e=>{let{searchString:t="",content:n,stringLength:i=150}=e,a=n.toLowerCase().indexOf(t.toLowerCase());if(-1!==a){let e=Math.max(0,a-i/2),r=Math.min(n.length,a+t.length+i/2);if(e>0){let t=n.lastIndexOf(" ",e+1);e=t>0?t+1:e}if(r-1?e:r}n=(e>0?"... ":"")+n.substring(e,r)+(r{let t,{body:n,numItems:r=1,stringLength:o,type:s="content"}=e,{state:d}=(0,a.useContext)(l),{activeLanguages:c,searchActiveMatch:u,searchString:p}=d,h=String(n.value);"snippet"==s&&(h=el({searchString:p,content:h,stringLength:o}));let g=(0,es.Z)(h);if("text/plain"===n.format&&(t=null==h?void 0:h.replace(/\n/g,"
")),"text/markdown"===n.format&&(t=null==g?void 0:g.html),"text/html"===n.format&&(t=h),String(p)&&t){let e=1,i=RegExp("(".concat(p,")"),"gi");t=null==t?void 0:t.replace(i,t=>{let i="".concat(n.id,"/").concat(e),a=u===i;return e+=1,'').concat(t,"")})}let x=[n.id,s].join("-"),m=["ar"].includes(String(n.language)),f=String(n.language);return((0,a.useEffect)(()=>{if(u){let e=document.querySelector('[data-index="'.concat(u,'"]'));e&&e.scrollIntoView({behavior:"smooth",block:"center",inline:"center"})}},[u]),t)?(0,i.jsx)(eo,{dangerouslySetInnerHTML:{__html:t},"data-active-language":null==c?void 0:c.includes(f),"data-body-id":x,"data-testid":"scroll-item-body",style:{"--num-items":r},id:x,dir:m?"rtl":"ltr",css:{fontSize:m?"1.3em":"1em"},lang:f}):null},ec=a.memo(e=>{var t;let{hasItemBreak:n,isLastItem:o,item:s,itemCount:d,itemNumber:c}=e,{state:u}=a.useContext(l),{activeLanguages:p,annotations:h,vault:g,options:x}=u,{figure:m}=x,f=null==g?void 0:g.get(s),v=null==p?void 0:p.length,b=null==h?void 0:null===(t=h.filter(e=>{var t,n;return(null===(n=e.target)||void 0===n?void 0:null===(t=n.source)||void 0===t?void 0:t.id)===s.id}))||void 0===t?void 0:t.map(e=>null==e?void 0:e.body.map((e,t)=>(0,i.jsx)(ed,{body:e,numItems:v},t)));return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(N,{"data-page-break":n,"data-page-number":c,"data-last-item":o,children:[(0,i.jsx)(O,{css:{width:m.width?m.width:r.options.figure.width},"data-width":m.width,children:f&&(0,i.jsx)(ea,{canvas:f,canvasInfo:{current:c,total:d}})}),(0,i.jsx)(G,{children:(0,i.jsx)("div",{children:(null==b?void 0:b.length)?b:(0,i.jsx)("p",{children:"[Blank]"})})})]}),n&&(0,i.jsx)(Z,{"aria-label":"Page Break"})]})}),eu=e=>{let{items:t}=e;return(0,i.jsx)(Y,{children:t.map((e,n)=>{let a=n+1,r=a===t.length;return(0,i.jsx)(ec,{item:e,hasItemBreak:a{let[n,i]=(0,a.useState)([]);return(0,a.useEffect)(()=>{if(!t)return;let n=[];null==e||e.forEach(e=>{var i;let a=t.get(e);null==a||null===(i=a.annotations)||void 0===i||i.forEach(e=>{var i;let a=t.get(e);null==a||null===(i=a.items)||void 0===i||i.forEach(e=>{let i=t.get(e);if(i){var a;n.push({...i,body:null==i?void 0:null===(a=i.body)||void 0===a?void 0:a.map(e=>t.get(e))})}})})}),i(n.reduce((e,t)=>(e.some(e=>e.id===t.id)||e.push(t),e),[]))},[e,t]),n};let eh=e=>{let{iiifContent:t}=e,[n,r]=(0,a.useState)(),{state:o,dispatch:s}=(0,a.useContext)(l),{options:d,vault:c}=o,u=ep(null==n?void 0:n.items,c);return((0,a.useEffect)(()=>{c&&c.load(t).then(e=>e&&r(e)).catch(e=>console.error("Manifest ".concat(t," failed to load: ").concat(e)))},[t]),(0,a.useEffect)(()=>{var e;let t=(null==d?void 0:null===(e=d.language)||void 0===e?void 0:e.defaultLanguages)||(0,z.k)(u);console.log(u),s({type:"updateAnnotations",payload:u}),s({type:"updateActiveLanguages",payload:t})},[u]),n)?(0,i.jsx)(g,{children:n&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(J,{label:null==n?void 0:n.label}),(0,i.jsx)(eu,{items:n.items})]})}):null};var eg=e=>{let{iiifContent:t,options:n}=e;return(0,i.jsx)(s,{options:n,children:(0,i.jsx)(eh,{iiifContent:t})})}},7097:function(e,t,n){n.d(t,{x:function(){return i}});let i=(0,n(8158).zo)("svg",{display:"inline-flex",variants:{isLarge:{true:{height:"4rem",width:"4rem"}},isMedium:{true:{height:"2rem",width:"2rem"}},isSmall:{true:{height:"1rem",width:"1rem"}}}})},8622:function(e,t,n){n.d(t,{J:function(){return r}});var i=n(2676);n(5271);var a=n(7097);let r=e=>(0,i.jsx)(a.x,{...e,"data-testid":"icon-svg",role:"img",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",children:e.children});r.Title=e=>{let{children:t}=e;return(0,i.jsx)("title",{children:t})},r.Add=()=>(0,i.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 112v288M400 256H112"}),r.Audio=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("path",{d:"M232 416a23.88 23.88 0 01-14.2-4.68 8.27 8.27 0 01-.66-.51L125.76 336H56a24 24 0 01-24-24V200a24 24 0 0124-24h69.75l91.37-74.81a8.27 8.27 0 01.66-.51A24 24 0 01256 120v272a24 24 0 01-24 24zm-106.18-80zm-.27-159.86zM320 336a16 16 0 01-14.29-23.19c9.49-18.87 14.3-38 14.3-56.81 0-19.38-4.66-37.94-14.25-56.73a16 16 0 0128.5-14.54C346.19 208.12 352 231.44 352 256c0 23.86-6 47.81-17.7 71.19A16 16 0 01320 336z"}),(0,i.jsx)("path",{d:"M368 384a16 16 0 01-13.86-24C373.05 327.09 384 299.51 384 256c0-44.17-10.93-71.56-29.82-103.94a16 16 0 0127.64-16.12C402.92 172.11 416 204.81 416 256c0 50.43-13.06 83.29-34.13 120a16 16 0 01-13.87 8z"}),(0,i.jsx)("path",{d:"M416 432a16 16 0 01-13.39-24.74C429.85 365.47 448 323.76 448 256c0-66.5-18.18-108.62-45.49-151.39a16 16 0 1127-17.22C459.81 134.89 480 181.74 480 256c0 64.75-14.66 113.63-50.6 168.74A16 16 0 01416 432z"})]}),r.Close=()=>(0,i.jsx)("path",{d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"}),r.Download=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("path",{d:"M336 176h40a40 40 0 0140 40v208a40 40 0 01-40 40H136a40 40 0 01-40-40V216a40 40 0 0140-40h40",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"}),(0,i.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M176 272l80 80 80-80M256 48v288"})]}),r.Image=()=>(0,i.jsx)("path",{d:"M416 64H96a64.07 64.07 0 00-64 64v256a64.07 64.07 0 0064 64h320a64.07 64.07 0 0064-64V128a64.07 64.07 0 00-64-64zm-80 64a48 48 0 11-48 48 48.05 48.05 0 0148-48zM96 416a32 32 0 01-32-32v-67.63l94.84-84.3a48.06 48.06 0 0165.8 1.9l64.95 64.81L172.37 416zm352-32a32 32 0 01-32 32H217.63l121.42-121.42a47.72 47.72 0 0161.64-.16L448 333.84z"}),r.Video=()=>(0,i.jsx)("path",{d:"M464 384.39a32 32 0 01-13-2.77 15.77 15.77 0 01-2.71-1.54l-82.71-58.22A32 32 0 01352 295.7v-79.4a32 32 0 0113.58-26.16l82.71-58.22a15.77 15.77 0 012.71-1.54 32 32 0 0145 29.24v192.76a32 32 0 01-32 32zM268 400H84a68.07 68.07 0 01-68-68V180a68.07 68.07 0 0168-68h184.48A67.6 67.6 0 01336 179.52V332a68.07 68.07 0 01-68 68z"})},4868:function(e,t,n){n.d(t,{Hz:function(){return d},bC:function(){return l},tr:function(){return c},uv:function(){return u},yP:function(){return s}});var i=n(9454),a=n(8158);let r=(0,a.F4)({"0%":{opacity:0,transform:"translateY(1rem)"},"100%":{opacity:1,transform:"translateY(0)"}}),o=(0,a.F4)({"0%":{opacity:0,transform:"translateY(1rem)"},"100%":{opacity:1,transform:"translateY(0)"}}),l=(0,a.zo)(i.Eh,{fill:"$secondaryAlt"}),s=(0,a.zo)(i.x8,{position:"absolute",right:"0",top:"0",padding:"0.5rem",margin:"0",cursor:"pointer",border:"none",background:"none",fill:"inherit","&:hover":{opacity:"0.75"}}),d=(0,a.zo)(i.VY,{border:"none",backgroundColor:"white",fill:"inhrerit",padding:"1rem 2rem 1rem 1rem",width:"auto",minWidth:"200px",maxWidth:"350px",borderRadius:"3px",boxShadow:"5px 5px 13px #0002",animationDuration:"0.3s",animationTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)",'&[data-side="top"]':{animationName:o},'&[data-side="bottom"]':{animationName:r},'&[data-align="end"]':{["& ".concat(l)]:{margin:"0 0.7rem"}}}),c=(0,a.zo)(i.xz,{display:"inline-flex",padding:"0.5rem 0",margin:"0 0.5rem 0 0",cursor:"pointer",border:"none",background:"none","> button, > span":{margin:"0"}}),u=(0,a.zo)(i.fC,{boxSizing:"content-box"})},8855:function(e,t,n){n.d(t,{JO:function(){return i.J},J2:function(){return o},Vp:function(){return s}});var i=n(8622),a=n(2676),r=n(4868);n(5271);let o=e=>{let{children:t}=e;return(0,a.jsx)(r.uv,{children:t})};o.Trigger=e=>(0,a.jsx)(r.tr,{...e,children:e.children}),o.Content=e=>(0,a.jsxs)(r.Hz,{...e,sideOffset:5,collisionPadding:21,children:[(0,a.jsx)(r.bC,{}),(0,a.jsx)(r.yP,{children:(0,a.jsx)(i.J,{isSmall:!0,children:(0,a.jsx)(i.J.Close,{})})}),e.children]});var l=n(7097);let s=(0,n(8158).zo)("div",{boxSizing:"border-box",display:"inline-flex",alignItems:"center",borderRadius:"5px",padding:"$1",marginBottom:"$2",marginRight:"$2",backgroundColor:"$lightGrey",color:"$richBlack50",textTransform:"uppercase",fontSize:"$2",objectFit:"contain",lineHeight:"1em !important","&:last-child":{marginRight:"0"},["".concat(l.x)]:{position:"absolute",left:"$1",height:"$3",width:"$3"},variants:{isIcon:{true:{position:"relative",paddingLeft:"$5"}}}})},9854:function(e,t,n){n.d(t,{g:function(){return i}});let i=(e,t,n,i)=>{let a={canvas:void 0,accompanyingCanvas:void 0,annotationPage:void 0,annotations:[]};if(a.canvas=e.get(t),a.canvas){var r,o;a.annotationPage=e.get(a.canvas.items[0]),a.accompanyingCanvas=(null===(r=a.canvas)||void 0===r?void 0:r.accompanyingCanvas)?e.get(null===(o=a.canvas)||void 0===o?void 0:o.accompanyingCanvas):void 0}if(a.annotationPage){let r=e.get(a.annotationPage.items).map(t=>({body:e.get(t.body[0].id),motivation:t.motivation,type:"Annotation"})),o=[];r.forEach(t=>{"Choice"===t.body.type?t.body.items.forEach(n=>o.push({...t,id:n.id,body:e.get(n.id)})):o.push(t)}),a.annotations=o.filter(a=>{if(a){if(!a.body||!a.motivation){console.error("Invalid annotation after Hyperion parsing: missing either 'body' or 'motivation'",a);return}let r=a.body;Array.isArray(r)&&(r=r[0]);let o=e.get(r.id);if(o)switch(n){case"painting":return a.target===t.id&&a.motivation&&"painting"===a.motivation[0]&&i.includes(o.type)&&(a.body=o),!!a;case"supplementing":return;default:throw Error("Invalid annotation motivation.")}}})}return a}},9822:function(e,t,n){n.d(t,{G:function(){return a}});var i=n(9854);let a=(e,t)=>{let n=(0,i.g)(e,{id:t,type:"Canvas"},"painting",["Image","Sound","Video"]);if(0!==n.annotations.length&&n.annotations&&n.annotations)return n.annotations.map(e=>null==e?void 0:e.body)}}}]); \ No newline at end of file diff --git a/_next/static/chunks/991.3f3c9ac04c76ed6f.js b/_next/static/chunks/991.3f3c9ac04c76ed6f.js deleted file mode 100644 index 470db598..00000000 --- a/_next/static/chunks/991.3f3c9ac04c76ed6f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[991],{6991:function(e,t,n){n.r(t),n.d(t,{default:function(){return eg}});var i=n(2676),a=n(5271);let r={activeLanguages:void 0,annotations:[],manifest:void 0,options:{offset:0,figure:{display:"image-viewer",aspectRatio:100/61.8,width:"38.2%"},language:{defaultLanguages:void 0,enabled:!1,options:[]}},searchActiveMatch:void 0,searchMatches:void 0,searchString:void 0,vault:new(n(4340)).j};function o(e,t){switch(t.type){case"updateAnnotations":return{...e,annotations:t.payload};case"updateActiveLanguages":return{...e,activeLanguages:t.payload};case"updateSearchActiveMatch":return{...e,searchActiveMatch:t.payload};case"updateSearchMatches":return{...e,searchMatches:t.payload};case"updateSearchString":return{...e,searchString:t.payload};default:return e}}let l=(0,a.createContext)({dispatch:()=>null,state:r}),s=e=>{var t;let{children:n,manifest:s}=e,d={...r.options,...e.options},c=(null===(t=d.language)||void 0===t?void 0:t.defaultLanguages)||[],[u,p]=(0,a.useReducer)(o,{...r,activeLanguages:c,options:d});return(0,i.jsx)(l.Provider,{value:{state:{...u,manifest:s,options:d},dispatch:p},children:n})};var d=n(4384),c=n(8158);let u=(0,c.zo)("div",{display:"flex",flexDirection:"row",alignItems:"center",background:"$primary",filter:"drop-shadow(2px 2px 5px #0002)",borderRadius:"2rem"}),p=(0,c.zo)("div",{position:"absolute",zIndex:10,overflow:"hidden",height:"2rem",justifyContent:"space-between"}),h=(0,c.zo)("header",{fontSize:"1",paddingBottom:"1.618rem",position:"relative",display:"flex",justifyContent:"space-between",zIndex:2,".clover-scroll-header-label":{fontWeight:"400",fontSize:"1.25rem"}}),g=(0,c.zo)("section",{margin:"0",gap:"1rem",position:"relative",zIndex:0});var x=n(757),m=n(4868);let f=(0,c.zo)("div",{width:"2rem",height:"2rem",["".concat(m.tr)]:{background:"$primary",width:"inherit",height:"inherit",display:"flex",justifyContent:"center",borderRadius:"2rem",padding:"0",justifyItems:"center",flexDirection:"column",alignItems:"center","&:hover":{background:"$accent"},svg:{fill:"$secondary"}},["".concat(m.Hz)]:{"> label":{fontSize:"0.8333rem",display:"flex",marginBottom:"0.5rem"}}}),v=(0,c.zo)("div",{width:"1rem",height:"1rem",borderRadius:"3px",backgroundColor:"$secondaryMuted",border:"1px solid $secondaryAlt",display:"inline-flex",fontSize:"0.7222rem",alignContent:"center",justifyContent:"center",textAlign:"center",flexDirection:"column"}),b=(0,c.zo)(x.z$,{marginTop:"-1px"}),y=(0,c.zo)(x.fC,{display:"flex",alignContent:"center",alignItems:"center",gap:"0.5rem",backgroundColor:"transparent",border:"none",fontFamily:"inherit",fontSize:"1rem",marginTop:"0.25rem","&[data-state='checked']":{["".concat(v)]:{backgroundColor:"$accent",borderColor:"$accent",color:"$secondary"}}});var j=e=>{var t;let{lang:n,isChecked:r}=e,{state:o,dispatch:s}=(0,a.useContext)(l),{activeLanguages:d,options:c}=o,{language:u}=c,p=((null==u?void 0:null===(t=u.options)||void 0===t?void 0:t.find(e=>Object.keys(e)[0]===n))||n)[n]||n;return(0,i.jsxs)(y,{checked:r,onCheckedChange:e=>{s({type:"updateActiveLanguages",payload:e&&void 0!==d?[...d,n]:null==d?void 0:d.filter(e=>e!==n)})},children:[(0,i.jsx)(v,{children:(0,i.jsx)(b,{children:"✓"})}),p]})},w=n(8855),z=n(5323);let C=e=>{let{title:t,style:n={}}=e;return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",style:n,children:[(0,i.jsx)("title",{children:t}),(0,i.jsx)("path",{d:"m455.77,49.65c-.53-.94-1.53-1.52-2.61-1.52h-1.46c-.9,0-1.76.41-2.33,1.11-7.48,9.2-14.92,20.42-22.14,33.34-.49.87-.51,1.93-.05,2.82,14.51,28.46,28.67,57.32,28.8,70.41-.1.12-.38.35-.96.57-.05.02-.1.04-.15.06-11.86,5.21-25.25,8.74-37.93,11.77-35.75,8.37-68.11,12.45-98.93,12.45-37.86,0-69.49-6.59-91.47-19.05-24.29-13.77-36.6-34.28-36.6-60.96,0-12.24,2.79-26.82,8.29-43.33.49-1.48-.23-3.1-1.67-3.71l-11.65-4.95c-1.43-.61-3.09-.02-3.82,1.35-11.8,22.23-17.54,45.74-17.54,71.9,0,35.09,14.3,62.03,42.49,80.08,24.82,15.89,60.52,24.29,103.24,24.29,57.18,0,132.5-18.87,159.14-35.1.42-.25.77-.61,1.02-1.03,8.99-15.08,15.86-28.36,15.86-50.18,0-35.58-22.59-78.13-29.52-90.32Z"}),(0,i.jsx)("path",{d:"m321.24,273.28c-1.26-.92-3.01-.72-4.03.45-8.38,9.62-16.7,20.51-23.73,29.88-.95,1.27-.75,3.06.46,4.09,2.19,1.86,4.38,3.71,6.55,5.54,9.53,8.05,18.54,15.66,27.7,24.35.58.55,1.32.82,2.06.82.69,0,1.38-.24,1.95-.72,9.71-8.28,17.81-17.85,24.79-29.26.71-1.16.55-2.65-.39-3.63-11.73-12.33-23.62-22.94-35.36-31.52Z"}),(0,i.jsx)("path",{d:"m256.38,433.6l-90-218c-4.64-11.23-17.5-16.58-28.73-11.94-5.41,2.23-9.71,6.53-11.94,11.94l-90,218c-4.69,11.21.59,24.1,11.8,28.79,11.21,4.69,24.1-.59,28.79-11.8.03-.07.06-.14.08-.2l18.33-44.39h102.67l18.33,44.39c3.4,8.24,11.43,13.61,20.34,13.61,12.15,0,21.99-9.86,21.99-22.01,0-2.88-.57-5.73-1.67-8.39h0Zm-143.5-71.6l33.17-80.35,33.17,80.35h-66.34Z"})]})};var k=()=>{let{state:e}=(0,a.useContext)(l),{activeLanguages:t,annotations:n}=e,r=n?(0,z.k)(n):[];return(0,i.jsx)(f,{children:(0,i.jsxs)(w.J2,{children:[(0,i.jsx)(w.J2.Trigger,{children:(0,i.jsx)(C,{title:"language",style:{width:"18px",height:"18px"}})}),(0,i.jsxs)(w.J2.Content,{children:[(0,i.jsx)("label",{children:"Language"}),r.map(e=>(0,i.jsx)(j,{isChecked:null==t?void 0:t.includes(e),lang:e},e))]})]})})},S=n(1390);let L="255, 197, 32";(0,c.zo)("span",{fontWeight:"700"}),(0,c.zo)("div",{display:"flex",gap:"0.25rem"});let E=(0,c.zo)("div",{fontSize:"0.9rem !important",color:"$secondaryAlt",margin:"0 0.5em"});(0,c.zo)("div",{display:"flex",flexDirection:"column",button:{backgroundColor:"#6660",opacity:"0.7",transition:"$all",padding:"0.5rem 0.618rem",fontSize:"0.9rem",lineHeight:"1.1rem",textAlign:"left",borderRadius:"2rem",border:"1px solid #6662",display:"flex",flexDirection:"column",gap:"0.25rem","&:hover":{opacity:"1",boxShadow:"5px 5px 13px #6662"},"&[data-result=true]":{backgroundColor:"rgba(".concat(L,", 0.2)"),borderColor:"rgba(".concat(L,", 0.2)"),opacity:"1","&:hover":{backgroundColor:"rgba(".concat(L,", 0.2)")}}}});let I=(0,c.zo)("input",{margin:"0",background:"none",zIndex:"2",justifyContent:"center",display:"flex",alignItems:"center",fontSize:"1rem",fontFamily:"inherit",outline:"none !important",border:"none !important",color:"$secondary",cursor:"pointer",boxSizing:"content-box !important",flexGrow:"0",width:"2rem"}),M=(0,c.zo)("button",{position:"absolute",zIndex:"3",border:"none",color:"$secondary !important",fill:"$secondary !important",stroke:"$secondary !important",transition:"$all",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",flexDirection:"column",borderRadius:"2rem",height:"2rem",width:"2rem",svg:{color:"inherit",fill:"inherit",stroke:"inherit"}}),$=(0,c.zo)("button",{opacity:"1",display:"flex",alignItems:"center",width:"1.25em",height:"1.25em",alignSelf:"center",margin:"0 0.25rem",fill:"$secondary",flexShrink:"0",svg:{color:"inherit",fill:"inherit"},'&[aria-disabled="true"]':{opacity:"0",display:"none"}}),A=(0,c.zo)("form",{display:"flex",justifyContent:"space-between",transition:"$all",flexGrow:"1",height:"2rem",variants:{isPanelExpanded:{true:{["".concat(M)]:{marginLeft:"0",cursor:"text"},["".concat(I)]:{width:"100%",padding:"0 1rem 0 2rem",cursor:"text"}},false:{"&:hover":{backgroundColor:"$accent !important",borderRadius:"2rem"},["".concat(M)]:{cursor:"pointer"},["".concat(I)]:{cursor:"pointer","&::placeholder":{color:"transparent !important"}}}}}}),R=(0,c.zo)("div",{display:"flex",alignItems:"center",gap:"0.25rem","&[data-active=true]":{paddingRight:"0.5rem"},button:{fontSize:"0.9em",fill:"$secondary",color:"$secondary",stroke:"$secondary",svg:{fill:"inherit",color:"inherit",stroke:"inherit",width:"1.25em"}}});var D=e=>{let{activeIndex:t,searchString:n,total:a}=e,r=0===a?(0,i.jsxs)(i.Fragment,{children:["No results for ",(0,i.jsx)("strong",{children:n})]}):(0,i.jsxs)(i.Fragment,{children:[t+1," of ",a," results for ",(0,i.jsx)("strong",{children:n})]});return(0,i.jsx)(E,{children:r})};let P=e=>{let{title:t,style:n={}}=e;return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",style:n,children:[(0,i.jsx)("title",{children:t}),(0,i.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"45",d:"M244 400L100 256l144-144M120 256h292"})]})},B={charset:"latin:extra, arabic:extra, cyrillic:extra, cjk:extra",optimize:!0,tokenize:"full",resolution:9,document:{id:"id",index:"content"}};var F=()=>{let[e,t]=(0,a.useState)(0),{dispatch:n,state:r}=(0,a.useContext)(l),{activeLanguages:o,annotations:s,searchString:d=""}=r,c=new S.Z.Document(B),u=[];null==s||s.forEach(e=>{var t;null==e||null===(t=e.body)||void 0===t||t.forEach(e=>{var t;if(!(null==o?void 0:o.includes(String(e.language))))return;let n=null==e?void 0:null===(t=e.value)||void 0===t?void 0:t.replace(/\n/g,"");u.push(null==e?void 0:e.id),c.add({id:null==e?void 0:e.id,content:n})})});let p=function(e,t){let n=RegExp(t,"gi"),i={total:0,matches:[]};return e.forEach(e=>{let t;let a=e.body.id,r=e.body.value,o=[],l=0;for(console.log(t);null!==(t=n.exec(r));)l++,o.push("".concat(a,"/").concat(l));l>0&&(i.total+=l,i.matches.push({[a]:o}))}),i}((null==c?void 0:c.search(d).reduce((e,t)=>[...new Set([...e,...t.result])],[])).map(e=>null==s?void 0:s.filter(t=>t.body.find(t=>t.id===e)).map(t=>{let n=t.body.findIndex(t=>t.id===e);return{...t,body:t.body[n]}}).shift()),d),h=p.matches.flatMap(e=>Object.values(e).flat());return(0,a.useEffect)(()=>{t(0),n({type:"updateSearchMatches",payload:p}),n({type:"updateSearchActiveMatch",payload:void 0})},[d]),(0,a.useEffect)(()=>{n({type:"updateSearchActiveMatch",payload:h[e]})},[e,d]),(0,i.jsxs)(R,{"data-active":!!d,children:[d&&(0,i.jsx)(D,{activeIndex:e,searchString:d,total:p.total}),(null==p?void 0:p.total)!==0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("button",{onClick:()=>t(e=>e>0?e-1:h.length-1),children:(0,i.jsx)(P,{title:"previous",style:{transform:"rotate(90deg)"}})}),(0,i.jsx)("button",{onClick:()=>t(e=>e(0,i.jsxs)("svg",{style:{width:"16px",height:"16px"},xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:[(0,i.jsx)("title",{children:"search"}),(0,i.jsx)("path",{d:"M456.69 421.39L362.6 327.3a173.81 173.81 0 0034.84-104.58C397.44 126.38 319.06 48 222.72 48S48 126.38 48 222.72s78.38 174.72 174.72 174.72A173.81 173.81 0 00327.3 362.6l94.09 94.09a25 25 0 0035.3-35.3zM97.92 222.72a124.8 124.8 0 11124.8 124.8 124.95 124.95 0 01-124.8-124.8z"})]}),T=()=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:[(0,i.jsx)("title",{children:"close"}),(0,i.jsx)("path",{d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"})]});var W=e=>{let{togglePanel:t,isPanelExpanded:n}=e,{dispatch:r,state:o}=(0,a.useContext)(l),{searchString:s}=o,d=(0,a.useRef)(null),c=()=>d.current===document.activeElement&&t(!0),u=()=>{var e;null===(e=d.current)||void 0===e||e.blur(),p(),t(!1),r({payload:"",type:"updateSearchString"}),r({payload:void 0,type:"updateSearchActiveMatch"})},p=()=>{d.current&&(d.current.value="")},h=e=>{"Escape"===e.key&&(e.preventDefault(),u())};return(0,a.useEffect)(()=>{var e;return null===(e=document)||void 0===e||e.addEventListener("keydown",h),()=>{var e;null===(e=document)||void 0===e||e.removeEventListener("keydown",h)}},[]),(0,a.useEffect)(()=>{if(null==d?void 0:d.current)return d.current.addEventListener("focus",c),d.current.addEventListener("blur",c),()=>{d.current&&(d.current.removeEventListener("focus",c),d.current.removeEventListener("blur",c))}},[]),(0,i.jsxs)(A,{id:"scroll-search",autoComplete:"off",isPanelExpanded:n,"data-testid":"scroll-panel-search-form",children:[(0,i.jsx)(M,{onClick:e=>{var t;e.preventDefault(),null==d||null===(t=d.current)||void 0===t||t.focus()},children:(0,i.jsx)(H,{})}),(0,i.jsx)(I,{ref:d,name:"clover-search",type:"text",placeholder:"Search...",defaultValue:s,onChange:e=>{var t;r({payload:null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.value,type:"updateSearchString"})}}),(0,i.jsx)($,{"aria-disabled":!n,"aria-label":"Close search panel",onClick:e=>{e.preventDefault(),u()},disabled:!n,children:(0,i.jsx)(T,{})})]})};let V=(0,c.zo)("div",{display:"flex",position:"relative",zIndex:"1",maxWidth:"100%",transition:"$all",variants:{isPanelExpanded:{true:{zIndex:1,opacity:1,transform:"translateX(0)"},false:{zIndex:-1,opacity:0,transform:"translateX(-2.618rem)",transitionDelay:"0",transition:"none"}}}});var _=e=>{let{width:t,isFixed:n}=e,r=(0,a.useRef)(null),[o,s]=a.useState(!1),{state:d}=(0,a.useContext)(l),{options:c}=d,{offset:h,language:g}=c,x=null==g?void 0:g.enabled,m=x?4.5:2;return(0,i.jsxs)(p,{ref:r,"data-testid":"scroll-panel",style:{display:o?"unset":"inline-flex",left:o?"unset":n?"unset":"calc(".concat(t,"px - ").concat(m,"rem)"),marginLeft:o?"-".concat(t,"px"):n?"-".concat(m,"rem"):"unset",width:o?t:"".concat(m,"rem"),...n?{position:"fixed",top:n?h:0}:{}},children:[!o&&x&&(0,i.jsx)(k,{}),(0,i.jsxs)(u,{children:[(0,i.jsx)(W,{togglePanel:function(e){s(e)},isPanelExpanded:o}),(0,i.jsx)(V,{"data-testid":"scroll-panel-results","data-panel-expanded":o,isPanelExpanded:o,children:o&&(0,i.jsx)(F,{})})]})]})},J=e=>{let{label:t}=e,{state:n}=(0,a.useContext)(l),{options:r}=n,{offset:o}=r,s=(0,a.useRef)(null),[c,u]=(0,a.useState)(0),[p,g]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=s.current;if(!e)return;let t=new ResizeObserver(e=>{for(let t of e)t.contentRect&&u(t.contentRect.width)});return t.observe(e),()=>{t.disconnect()}},[]),(0,a.useEffect)(()=>{let e=()=>{let e=s.current;e&&(e.getBoundingClientRect().top<=o?g(!0):g(!1))};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,i.jsxs)(h,{ref:s,children:[(0,i.jsx)(d.__,{label:t,className:"clover-scroll-header-label"}),(0,i.jsx)("div",{children:(0,i.jsx)(_,{width:c,isFixed:p})})]})};let N=(0,c.zo)("article",{transition:"all 0.382s ease-in-out",display:"flex",flexDirection:"row",flexWrap:"nowrap",gap:"2.618rem"}),O=(0,c.zo)("div",{transition:"$all",flexShrink:0}),G=(0,c.zo)("div",{display:"flex",flexGrow:1,flexDirection:"column",justifyContent:"flex-start","> div":{display:"flex",flexDirection:"row",gap:"2.618rem","> div":{width:"calc(100% / var(--num-items))",boxSizing:"border-box"}}}),Z=(0,c.zo)("hr",{margin:"0",borderColor:"transparent",height:"1.618rem",position:"relative",width:"61.8%",zIndex:0,marginLeft:"38.2%",display:"flex",justifyContent:"flex-end","&::before":{content:"attr(aria-label)",position:"absolute",right:"1.618rem",bottom:"0",zIndex:1,display:"flex",fontSize:"0.7222rem",fontWeight:"400",lineHeight:"1rem",background:"inherit",opacity:.7},"&::after":{content:"",width:"calc(100% - 2.618em)",position:"absolute",zIndex:0,height:"1px",background:"#6662"}}),Y=(0,c.zo)("div",{display:"flex",flexDirection:"column",gap:"2.618rem","&[data-figures-visible='true']":{["& ".concat(O)]:{opacity:1,zIndex:0,transform:"translateX(0)"}}});var X=n(1675);let q=(0,c.zo)(X.o,{}),K=(0,c.zo)("figure",{figcaption:{display:"flex",flexDirection:"column",margin:"1.618rem 0 0",opacity:.9,gap:"0.382rem",em:{fontSize:"0.9em",fontStyle:"normal",opacity:.7}}});var Q=e=>{let{canvas:t,canvasInfo:{current:n,total:a}}=e;return(0,i.jsxs)("figcaption",{children:[(0,i.jsxs)("em",{children:[n," / ",a]}),(null==t?void 0:t.label)&&(0,i.jsx)(d.__,{label:null==t?void 0:t.label}),(null==t?void 0:t.summary)&&(0,i.jsx)(d.ER,{summary:null==t?void 0:t.summary,as:"p"})]})},U=n(1338);let ee=(0,c.zo)("div",{width:"100%",height:"100%",background:"#6662",backgroundSize:"contain",color:"white",position:"relative",zIndex:"1",overflow:"hidden"});var et=a.memo(e=>{let{body:t,label:n}=e;return(0,i.jsx)(ee,{"data-testid":"scroll-figure-image",children:(0,i.jsx)(U.default,{body:t,openSeadragonConfig:{showNavigator:!1,showHomeControl:!1},...n&&{label:n}})})}),en=a.memo(e=>{let{body:t,label:n}=e;return(0,i.jsx)(ee,{"data-testid":"scroll-figure-thumbnail",children:(0,i.jsx)(d.pl,{thumbnail:[t],style:{width:"100%",height:"100%",objectFit:"contain",objectPosition:"center"},altAsLabel:n})})}),ei=n(9822),ea=e=>{let{canvas:t,canvasInfo:n}=e,{state:o}=(0,a.useContext)(l),{vault:s,options:d}=o,{figure:c}=d,u=c.display?c.display:r.options.figure.display,p=c.aspectRatio?c.aspectRatio:r.options.figure.aspectRatio,h=(0,ei.G)(s,t.id);return h?(0,i.jsxs)(K,{children:[null==h?void 0:h.map(e=>(0,i.jsxs)(q,{ratio:p,children:["thumbnail"===u&&(0,i.jsx)(en,{body:e,label:null==t?void 0:t.label}),"image-viewer"===u&&(0,i.jsx)(et,{label:null==t?void 0:t.label,body:e})]},null==e?void 0:e.id)),(0,i.jsx)(Q,{canvas:t,canvasInfo:n})]}):null};let er="255, 197, 32",eo=(0,c.zo)("div",{opacity:"1","&[dir=rtl]":{textAlign:"right"},"&[data-active-language=false]":{opacity:"0",width:"0",height:"0"},ul:{padding:"1rem"},li:{listStyleType:"disc",li:{listStyleType:"circle"}},"span.clover-scroll-highlight":{position:"relative",fontWeight:"bold","&.active":{"&::before":{top:"0",position:"absolute",display:"inline",content:"",width:"calc(100% + 4px)",height:"calc(100% + 2px) ",marginLeft:"-2px",borderRadius:"3px",border:"1px solid rgba(".concat(er,", 0.2)"),borderBottom:"1px solid rgba(".concat(er,", 0.618)"),boxShadow:"1px 1px 1px #6661"},"&::after":{left:"0",top:"0",position:"absolute",display:"inline",content:"",width:"calc(100% + 4px)",height:"calc(100% + 2px) ",marginLeft:"-2px",marginTop:"-1px",borderRadius:"3px",backgroundColor:"rgba(".concat(er,", 0.2)"),zIndex:-1}},"&::before":{top:"0",position:"absolute",display:"inline",content:"",width:"calc(100% + 4px)",height:"calc(100% + 2px) ",marginLeft:"-2px",borderRadius:"3px",border:"1px solid #6663",borderBottom:"1px solid #6664",boxShadow:"1px 1px 1px #6661"},"&::after":{left:"0",top:"0",position:"absolute",display:"inline",content:"",width:"calc(100% + 4px)",height:"calc(100% + 2px) ",marginLeft:"-2px",marginTop:"-1px",borderRadius:"3px",backgroundColor:"#6661",zIndex:-1}}}),el=e=>{let{searchString:t="",content:n,stringLength:i=150}=e,a=n.toLowerCase().indexOf(t.toLowerCase());if(-1!==a){let e=Math.max(0,a-i/2),r=Math.min(n.length,a+t.length+i/2);if(e>0){let t=n.lastIndexOf(" ",e+1);e=t>0?t+1:e}if(r-1?e:r}n=(e>0?"... ":"")+n.substring(e,r)+(r{let t,{body:n,numItems:r=1,stringLength:o,type:s="content"}=e,{state:d}=(0,a.useContext)(l),{activeLanguages:c,searchActiveMatch:u,searchString:p}=d,h=String(n.value);"snippet"==s&&(h=el({searchString:p,content:h,stringLength:o}));let g=(0,es.Z)(h);if("text/plain"===n.format&&(t=null==h?void 0:h.replace(/\n/g,"
")),"text/markdown"===n.format&&(t=null==g?void 0:g.html),"text/html"===n.format&&(t=h),String(p)&&t){let e=1,i=RegExp("(".concat(p,")"),"gi");t=null==t?void 0:t.replace(i,t=>{let i="".concat(n.id,"/").concat(e),a=u===i;return e+=1,'').concat(t,"")})}let x=[n.id,s].join("-"),m=["ar"].includes(String(n.language)),f=String(n.language);return((0,a.useEffect)(()=>{if(u){let e=document.querySelector('[data-index="'.concat(u,'"]'));e&&e.scrollIntoView({behavior:"smooth",block:"center",inline:"center"})}},[u]),t)?(0,i.jsx)(eo,{dangerouslySetInnerHTML:{__html:t},"data-active-language":null==c?void 0:c.includes(f),"data-body-id":x,"data-testid":"scroll-item-body",style:{"--num-items":r},id:x,dir:m?"rtl":"ltr",css:{fontSize:m?"1.3em":"1em"},lang:f}):null},ec=a.memo(e=>{var t;let{hasItemBreak:n,isLastItem:o,item:s,itemCount:d,itemNumber:c}=e,{state:u}=a.useContext(l),{activeLanguages:p,annotations:h,vault:g,options:x}=u,{figure:m}=x,f=null==g?void 0:g.get(s),v=null==p?void 0:p.length,b=null==h?void 0:null===(t=h.filter(e=>{var t,n;return(null===(n=e.target)||void 0===n?void 0:null===(t=n.source)||void 0===t?void 0:t.id)===s.id}))||void 0===t?void 0:t.map(e=>null==e?void 0:e.body.map((e,t)=>(0,i.jsx)(ed,{body:e,numItems:v},t)));return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(N,{"data-page-break":n,"data-page-number":c,"data-last-item":o,children:[(0,i.jsx)(O,{css:{width:m.width?m.width:r.options.figure.width},"data-width":m.width,children:f&&(0,i.jsx)(ea,{canvas:f,canvasInfo:{current:c,total:d}})}),(0,i.jsx)(G,{children:(0,i.jsx)("div",{children:(null==b?void 0:b.length)?b:(0,i.jsx)("p",{children:"[Blank]"})})})]}),n&&(0,i.jsx)(Z,{"aria-label":"Page Break"})]})}),eu=e=>{let{items:t}=e;return(0,i.jsx)(Y,{children:t.map((e,n)=>{let a=n+1,r=a===t.length;return(0,i.jsx)(ec,{item:e,hasItemBreak:a{let[n,i]=(0,a.useState)([]);return(0,a.useEffect)(()=>{if(!t)return;let n=[];null==e||e.forEach(e=>{var i;let a=t.get(e);null==a||null===(i=a.annotations)||void 0===i||i.forEach(e=>{var i;let a=t.get(e);null==a||null===(i=a.items)||void 0===i||i.forEach(e=>{let i=t.get(e);if(i){var a;n.push({...i,body:null==i?void 0:null===(a=i.body)||void 0===a?void 0:a.map(e=>t.get(e))})}})})}),i(n.reduce((e,t)=>(e.some(e=>e.id===t.id)||e.push(t),e),[]))},[e,t]),n};let eh=e=>{let{iiifContent:t}=e,[n,r]=(0,a.useState)(),{state:o,dispatch:s}=(0,a.useContext)(l),{options:d,vault:c}=o,u=ep(null==n?void 0:n.items,c);return((0,a.useEffect)(()=>{c&&c.load(t).then(e=>e&&r(e)).catch(e=>console.error("Manifest ".concat(t," failed to load: ").concat(e)))},[t]),(0,a.useEffect)(()=>{var e;let t=(null==d?void 0:null===(e=d.language)||void 0===e?void 0:e.defaultLanguages)||(0,z.k)(u);console.log(u),s({type:"updateAnnotations",payload:u}),s({type:"updateActiveLanguages",payload:t})},[u]),n)?(0,i.jsx)(g,{children:n&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(J,{label:null==n?void 0:n.label}),(0,i.jsx)(eu,{items:n.items})]})}):null};var eg=e=>{let{iiifContent:t,options:n}=e;return(0,i.jsx)(s,{options:n,children:(0,i.jsx)(eh,{iiifContent:t})})}},7097:function(e,t,n){n.d(t,{x:function(){return i}});let i=(0,n(8158).zo)("svg",{display:"inline-flex",variants:{isLarge:{true:{height:"4rem",width:"4rem"}},isMedium:{true:{height:"2rem",width:"2rem"}},isSmall:{true:{height:"1rem",width:"1rem"}}}})},8622:function(e,t,n){n.d(t,{J:function(){return r}});var i=n(2676);n(5271);var a=n(7097);let r=e=>(0,i.jsx)(a.x,{...e,"data-testid":"icon-svg",role:"img",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",children:e.children});r.Title=e=>{let{children:t}=e;return(0,i.jsx)("title",{children:t})},r.Add=()=>(0,i.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 112v288M400 256H112"}),r.Audio=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("path",{d:"M232 416a23.88 23.88 0 01-14.2-4.68 8.27 8.27 0 01-.66-.51L125.76 336H56a24 24 0 01-24-24V200a24 24 0 0124-24h69.75l91.37-74.81a8.27 8.27 0 01.66-.51A24 24 0 01256 120v272a24 24 0 01-24 24zm-106.18-80zm-.27-159.86zM320 336a16 16 0 01-14.29-23.19c9.49-18.87 14.3-38 14.3-56.81 0-19.38-4.66-37.94-14.25-56.73a16 16 0 0128.5-14.54C346.19 208.12 352 231.44 352 256c0 23.86-6 47.81-17.7 71.19A16 16 0 01320 336z"}),(0,i.jsx)("path",{d:"M368 384a16 16 0 01-13.86-24C373.05 327.09 384 299.51 384 256c0-44.17-10.93-71.56-29.82-103.94a16 16 0 0127.64-16.12C402.92 172.11 416 204.81 416 256c0 50.43-13.06 83.29-34.13 120a16 16 0 01-13.87 8z"}),(0,i.jsx)("path",{d:"M416 432a16 16 0 01-13.39-24.74C429.85 365.47 448 323.76 448 256c0-66.5-18.18-108.62-45.49-151.39a16 16 0 1127-17.22C459.81 134.89 480 181.74 480 256c0 64.75-14.66 113.63-50.6 168.74A16 16 0 01416 432z"})]}),r.Close=()=>(0,i.jsx)("path",{d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"}),r.Download=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("path",{d:"M336 176h40a40 40 0 0140 40v208a40 40 0 01-40 40H136a40 40 0 01-40-40V216a40 40 0 0140-40h40",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"}),(0,i.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M176 272l80 80 80-80M256 48v288"})]}),r.Image=()=>(0,i.jsx)("path",{d:"M416 64H96a64.07 64.07 0 00-64 64v256a64.07 64.07 0 0064 64h320a64.07 64.07 0 0064-64V128a64.07 64.07 0 00-64-64zm-80 64a48 48 0 11-48 48 48.05 48.05 0 0148-48zM96 416a32 32 0 01-32-32v-67.63l94.84-84.3a48.06 48.06 0 0165.8 1.9l64.95 64.81L172.37 416zm352-32a32 32 0 01-32 32H217.63l121.42-121.42a47.72 47.72 0 0161.64-.16L448 333.84z"}),r.Video=()=>(0,i.jsx)("path",{d:"M464 384.39a32 32 0 01-13-2.77 15.77 15.77 0 01-2.71-1.54l-82.71-58.22A32 32 0 01352 295.7v-79.4a32 32 0 0113.58-26.16l82.71-58.22a15.77 15.77 0 012.71-1.54 32 32 0 0145 29.24v192.76a32 32 0 01-32 32zM268 400H84a68.07 68.07 0 01-68-68V180a68.07 68.07 0 0168-68h184.48A67.6 67.6 0 01336 179.52V332a68.07 68.07 0 01-68 68z"})},4868:function(e,t,n){n.d(t,{Hz:function(){return d},bC:function(){return l},tr:function(){return c},uv:function(){return u},yP:function(){return s}});var i=n(9454),a=n(8158);let r=(0,a.F4)({"0%":{opacity:0,transform:"translateY(1rem)"},"100%":{opacity:1,transform:"translateY(0)"}}),o=(0,a.F4)({"0%":{opacity:0,transform:"translateY(1rem)"},"100%":{opacity:1,transform:"translateY(0)"}}),l=(0,a.zo)(i.Eh,{fill:"$secondaryAlt"}),s=(0,a.zo)(i.x8,{position:"absolute",right:"0",top:"0",padding:"0.5rem",margin:"0",cursor:"pointer",border:"none",background:"none",fill:"inherit","&:hover":{opacity:"0.75"}}),d=(0,a.zo)(i.VY,{border:"none",backgroundColor:"white",fill:"inhrerit",padding:"1rem 2rem 1rem 1rem",width:"auto",minWidth:"200px",maxWidth:"350px",borderRadius:"3px",boxShadow:"5px 5px 13px #0002",animationDuration:"0.3s",animationTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)",'&[data-side="top"]':{animationName:o},'&[data-side="bottom"]':{animationName:r},'&[data-align="end"]':{["& ".concat(l)]:{margin:"0 0.7rem"}}}),c=(0,a.zo)(i.xz,{display:"inline-flex",padding:"0.5rem 0",margin:"0 0.5rem 0 0",cursor:"pointer",border:"none",background:"none","> button, > span":{margin:"0"}}),u=(0,a.zo)(i.fC,{boxSizing:"content-box"})},8855:function(e,t,n){n.d(t,{JO:function(){return i.J},J2:function(){return o},Vp:function(){return s}});var i=n(8622),a=n(2676),r=n(4868);n(5271);let o=e=>{let{children:t}=e;return(0,a.jsx)(r.uv,{children:t})};o.Trigger=e=>(0,a.jsx)(r.tr,{...e,children:e.children}),o.Content=e=>(0,a.jsxs)(r.Hz,{...e,sideOffset:5,collisionPadding:21,children:[(0,a.jsx)(r.bC,{}),(0,a.jsx)(r.yP,{children:(0,a.jsx)(i.J,{isSmall:!0,children:(0,a.jsx)(i.J.Close,{})})}),e.children]});var l=n(7097);let s=(0,n(8158).zo)("div",{boxSizing:"border-box",display:"inline-flex",alignItems:"center",borderRadius:"5px",padding:"$1",marginBottom:"$2",marginRight:"$2",backgroundColor:"$lightGrey",color:"$richBlack50",textTransform:"uppercase",fontSize:"$2",objectFit:"contain",lineHeight:"1em !important","&:last-child":{marginRight:"0"},["".concat(l.x)]:{position:"absolute",left:"$1",height:"$3",width:"$3"},variants:{isIcon:{true:{position:"relative",paddingLeft:"$5"}}}})},9854:function(e,t,n){n.d(t,{g:function(){return i}});let i=(e,t,n,i)=>{let a={canvas:void 0,accompanyingCanvas:void 0,annotationPage:void 0,annotations:[]};if(a.canvas=e.get(t),a.canvas){var r,o;a.annotationPage=e.get(a.canvas.items[0]),a.accompanyingCanvas=(null===(r=a.canvas)||void 0===r?void 0:r.accompanyingCanvas)?e.get(null===(o=a.canvas)||void 0===o?void 0:o.accompanyingCanvas):void 0}if(a.annotationPage){let r=e.get(a.annotationPage.items).map(t=>({body:e.get(t.body[0].id),motivation:t.motivation,type:"Annotation"})),o=[];r.forEach(t=>{"Choice"===t.body.type?t.body.items.forEach(n=>o.push({...t,id:n.id,body:e.get(n.id)})):o.push(t)}),a.annotations=o.filter(a=>{if(a){if(!a.body||!a.motivation){console.error("Invalid annotation after Hyperion parsing: missing either 'body' or 'motivation'",a);return}let r=a.body;Array.isArray(r)&&(r=r[0]);let o=e.get(r.id);if(o)switch(n){case"painting":return a.target===t.id&&a.motivation&&"painting"===a.motivation[0]&&i.includes(o.type)&&(a.body=o),!!a;case"supplementing":return;default:throw Error("Invalid annotation motivation.")}}})}return a}},9822:function(e,t,n){n.d(t,{G:function(){return a}});var i=n(9854);let a=(e,t)=>{let n=(0,i.g)(e,{id:t,type:"Canvas"},"painting",["Image","Sound","Video"]);if(0!==n.annotations.length&&n.annotations&&n.annotations)return n.annotations.map(e=>null==e?void 0:e.body)}}}]); \ No newline at end of file diff --git a/_next/static/chunks/nextra-data-en-US.json b/_next/static/chunks/nextra-data-en-US.json index 8bd1ca6b..0526d709 100644 --- a/_next/static/chunks/nextra-data-en-US.json +++ b/_next/static/chunks/nextra-data-en-US.json @@ -1 +1 @@ -{"/docs/composing":{"title":"Getting Started","data":{"":"Clover IIIF is designed to allow for rapid creation of web content translated from IIIF resources. The following is quick step-by-step guide to get you up and running with Clover IIIF.","creating-a-work-page#Creating a Work page":"In this tutorial, we will install Clover IIIF and compose a \"Work\" page representing a IIIF Manifest for Northwestern Football vs. Illinois, 1950.","install-package#Install package":"Add the following dependency to your project:\nnpm install @samvera/clover-iiif","create-file#Create file":"Create a file called Work.jsx in your project and add the following:","define-component#Define component":"Import React. Define and export a functional component named Work that renders an empty
element.\nimport React from \"react\";\nconst Work = () => {\n return
;\n};\nexport default Work;","add-viewer#Add Viewer":"As an initial step, define a constant manifestId that points to the IIIF Manifest for Northwestern Football vs. Illinois, 1950. Then, add a component to the Work component that renders the IIIF Manifest. If your react application is running in your browser, you should see the Clover IIIF viewer.\nimport React from \"react\";\nimport Viewer from \"@samvera/clover-iiif/viewer\";\nconst Work = () => {\n const manifestId =\n \"https://api.dc.library.northwestern.edu/api/v2/works/0902aed4-0eb0-4ab4-a151-c925493be04e?as=iiif\";\n return (\n
\n \n
\n );\n};\nexport default Work;","add-manifest-content#Add Manifest Content":"Next, we add the IIIF Primitives components to the Work component to render the IIIF Manifest content.This requires fetching the IIIF Manifest and passing it to the components. The following code snippet demonstrates how to fetch the IIIF Manifest in a useEffect hook, set the manifest in state, and pass the manifest properties to the IIIF Primitives components.\nWhile the Viewer and Slider components are designed for both the IIIF\nPresentation API 2.x and 3.0, the Primitives components, e.g., Label,\nSummary, Metadata, are limited to the IIIF Presentation API 3.0. If\nthis is an issue, you can use\n@iiif/parser for\nconversion.\nimport React, { useEffect, useState } from \"react\";\nimport Viewer from \"@samvera/clover-iiif/viewer\";\nimport {\n Homepage,\n Label,\n Metadata,\n PartOf,\n RequiredStatement,\n SeeAlso,\n Summary,\n} from \"@samvera/clover-iiif/primitives\";\nconst Work = () => {\n const [manifest, setManifest] = useState();\n const manifestId =\n \"https://api.dc.library.northwestern.edu/api/v2/works/0902aed4-0eb0-4ab4-a151-c925493be04e?as=iiif\";\n useEffect(() => {\n (async () => {\n const response = await fetch(manifestId);\n const json = await response.json();\n setManifest(json);\n })();\n }, [manifestId]);\n if (!manifest) return <>;\n return (\n
\n \n
\n
\n
\n );\n};\nexport default Work;","add-slider#Add Slider":"Finally, we add the Slider component to render the IIIF Collection that this Manifest is part of. We also need to import the swiper CSS files for baseline styling.\nimport React, { useEffect, useState } from \"react\";\nimport Viewer from \"@samvera/clover-iiif/viewer\";\nimport {\n Homepage,\n Label,\n Metadata,\n PartOf,\n RequiredStatement,\n SeeAlso,\n Thumbnail,\n} from \"@samvera/clover-iiif/primitives\";\nimport Slider from \"@samvera/clover-iiif/slider\";\nimport \"swiper/css\";\nimport \"swiper/css/navigation\";\nimport \"swiper/css/pagination\";\nconst Work = () => {\n const [manifest, setManifest] = useState();\n const manifestId =\n \"https://api.dc.library.northwestern.edu/api/v2/works/0902aed4-0eb0-4ab4-a151-c925493be04e?as=iiif\";\n const collectionId = manifest?.partOf[0].id;\n useEffect(() => {\n (async () => {\n const response = await fetch(manifestId);\n const json = await response.json();\n setManifest(json);\n })();\n }, [manifestId]);\n if (!manifest) return <>;\n return (\n
\n \n
\n
\n \n
\n );\n};\nexport default Work;","summary#Summary":"In this tutorial, we installed Clover IIIF and composed an unstyled \"Work\" page representing a IIIF Manifest. The completed code covered in these steps is available in a CodeSandbox."}},"/docs/homepage":{"title":"Homepage","data":{"":"A web page that is about the object represented by the resource that has the homepage property.\n\n\n Homepage at Northwestern University Libraries Digital Collections\n","usage#Usage":"","react#React":"import { Homepage } from \"@samvera/clover-iiif/primitives\";\nconst CustomHomepage = ({ homepage }) => {\n return ;\n};\nexport default CustomHomepage;","nextjs#Next.js":"If using Next.js, you will want to render your Homepage component as a Next.js Link component. To do so, pass the Homepage component with the as prop using Link.\nimport Link from \"next/link\";\nimport { Primitives as IIIF } from \"@samvera/clover-iiif/primitives\";\nconst CustomHomepage = ({ homepage }) => {\n return ;\n};\nexport default CustomHomepage;","api-reference#API Reference":"Prop\tType\tDefault\tRequired\tas\ta\ta\t--\thomepage\thomepage\t--\tYes\tclassName\tstring, undefined\t--\t--\tstyle\tCSSProperties, undefined\t--\t--\tlang\tstring, undefined\t--\t--\ttitle\tstring, undefined\t--\t--\tdata-*\tstring, undefined\t--\t--\taria-*\tAriaAttributes, undefined\t--\t--","html-attributes#HTML Attributes":"Homepage, like all Clover IIIF primitives accept common HTMLElement attributes. Use the JSX style className prop to add custom classes. The same attribute methodology can be used for id, style, title, data-*, and aria-* props.In the following example, an onClick() function will display an with the data-homepage-id attribute value.\n {\n e.preventDefault();\n alert(e.target.dataset.homepageId);\n }}\n/>\n\n Homepage at Northwestern University Libraries Digital Collections\n","wrapping-children#Wrapping Children":"The Homepage component can also be used to wrap React children. An aria-label element with the value of the homepage label.\n\n View Homepage\n\nView Homepage\n\n View Homepage\n"}},"/docs/i18n":{"title":"i18n","data":{"":"We welcome contributions to Clover IIIF in any language. If you would like to contribute to a language, please follow the instructions below.\n{\n \"commonClose\": \"Close\",\n \"commonNext\": \"Next\",\n \"commonPrevious\": \"Previous\",\n \"commonSearch\": \"Search\",\n \"commonSearchPlaceholder\": \"Search...\",\n \"commonShare\": \"Share\",\n \"commonViewAll\": \"View All\",\n ...\n}","how-to-contribute#How to contribute":"Fork the Clover IIIF repository.\nCreate a new file in the src/i18n/locales directory for the relative BCP 47 language code you would like to contribute towards, example fr.json for French.\nCopy the en.json file as a template and translate the string values for each key.\nImport the new language JSON file within the src/i18n/locales/index.ts file and include it in the default export.\nSubmit a pull request.","adding-a-new-locale#Adding a new locale":"Add a new file in the src/i18n/locales directory with the relative BCP 47 language code, example fr.json for French.\n{\n \"commonClose\": \"Fermer\",\n \"commonNext\": \"Suivant\",\n \"commonPrevious\": \"Précédent\",\n \"commonSearch\": \"Rechercher\",\n \"commonSearchPlaceholder\": \"Rechercher...\",\n \"commonShare\": \"Partager\",\n \"commonViewAll\": \"Voir Tout\",\n ...\n}\nimport en from \"./en.json\";\nimport fr from \"./fr.json\";\nexport default {\n en,\n fr,\n};","language-and-region-subtags#Language and Region subtags":"If you would like to contribute a locale for a lanugage with a region subtag,\nplease use the - dash character to separate the language and region in the filename,\nexample fr-CA.json for Canadian French.You will need to adjust the import statement in the src/i18n/locales/index.ts file to include the new locale.\nimport en from \"./en.json\";\nimport fr from \"./fr.json\";\nimport frCA from \"./fr-CA.json\";\nexport default {\n en,\n fr,\n \"fr-CA\": frCA,\n};"}},"/docs":{"title":"Docs","data":{"":"UI component library for rapidly creating high-quality and accessible IIIF-fluent web interfaces.Clover IIIF is a suite of Manifest and Collection components combined with lower-level IIIF Presentation 3.0 API UI components. Clover IIIF has a focus on accessibility, customization and developer experience. You can use Clover IIIF to build your own custom IIIF-fluent web interfaces while still using the full power of the IIIF Presentation 3.0 API.","vision#Vision":"Implementation of the IIIF Presentation API does not need to be limited to a primary viewer. Using Clover IIIF breaks the model of a \"viewer\" and allows the IIIF Presentation API to be used as a front-end for any web application. This is possible because the IIIF Presentation API is a highly defined and interoperable specification for representing digital objects. This means that the IIIF Presentation API can be used to represent any digital object, not just images. This concept gives creation to highly interoperable web user interfaces.","key-features#Key Features":"Accessibility - All components lean on WAI-ARIA design patterns to ensure that they are accessible to all users.\nCustomization - All components are designed to be easily customized with CSS.\nDeveloper Experience - All components are built with developer experience in mind and are designed to be easily integrated into any web application."}},"/docs/label":{"title":"Label","data":{"":"The Label component is used to display the label of a resource. It is used in the following contexts: Manifest, Canvas, Range, Annotation, AnnotationPage, Collection, and Manifest. It is a string or an object with language keys and string values.\n

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file diff --git a/docs/metadata.html b/docs/metadata.html index d2b423f6..09b06c26 100644 --- a/docs/metadata.html +++ b/docs/metadata.html @@ -11,7 +11,7 @@ --nextra-primary-hue: 209deg; --nextra-primary-saturation: 100%; } -
Documentation
Metadata

Metadata

+
Documentation
Metadata

Metadata

An ordered list of descriptions to be displayed to the user when they interact with the resource, given as pairs of human readable label and value entries.

metadata
<Metadata
@@ -141,4 +141,4 @@ 

}, ]} customValueDelimiter="<br/>" -/>


Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file +/>

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file diff --git a/docs/partOf.html b/docs/partOf.html index 307f30b8..7a8945e0 100644 --- a/docs/partOf.html +++ b/docs/partOf.html @@ -11,7 +11,7 @@ --nextra-primary-hue: 209deg; --nextra-primary-saturation: 100%; } -
Documentation
PartOf

PartOf

+
Documentation
PartOf

PartOf

A containing resource that includes the resource that has the partOf property.

partOf
<PartOf
@@ -61,4 +61,4 @@ 

}, ]} as="ol" -/>


Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file +/>

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file diff --git a/docs/rendering.html b/docs/rendering.html index a1048580..440dd852 100644 --- a/docs/rendering.html +++ b/docs/rendering.html @@ -11,7 +11,7 @@ --nextra-primary-hue: 209deg; --nextra-primary-saturation: 100%; } -
Documentation
Rendering

Rendering

+
Documentation
Rendering

Rendering

The Rendering component is used to display a list of alternate formats related to a resource. Whereas SeeAlso is used to link to a machine-readable resource such as metadata, the Rendering component alerts users that the resource is available in another format such as PDF or ePub or has a related format. Because of the wide variety of formats that @@ -55,4 +55,4 @@

}, ]} as="ol" -/>


Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file +/>

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file diff --git a/docs/requiredStatement.html b/docs/requiredStatement.html index a64c70bb..d2cbf844 100644 --- a/docs/requiredStatement.html +++ b/docs/requiredStatement.html @@ -11,7 +11,7 @@ --nextra-primary-hue: 209deg; --nextra-primary-saturation: 100%; } -
Documentation
RequiredStatement

RequiredStatement

+
Documentation
RequiredStatement

RequiredStatement

The RequiredStatement component renders the required statement for a IIIF resource. The required statement is a human readable label and value pair that describes the rights status of the resource.

requiredStatement
<RequiredStatement
@@ -82,4 +82,4 @@ 

}, }} customValueDelimiter=". " -/>


Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file +/>

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file diff --git a/docs/scroll.html b/docs/scroll.html index f779c6bb..1a04f76a 100644 --- a/docs/scroll.html +++ b/docs/scroll.html @@ -11,7 +11,7 @@ --nextra-primary-hue: 209deg; --nextra-primary-saturation: 100%; } -
Documentation
Scroll

Scroll

+
Documentation
Scroll

Scroll

A UI component rendering a vertical scrolling articles that output individual Canvases, basic descriptive properties, and Annotations with commenting motivations with support for transcribing and translating motivations.

Manifest
@@ -85,4 +85,4 @@

options: [{ en: "English" }, { ar: "Arabic" }], }, }} -/>


Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file +/>

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file diff --git a/docs/scroll/demo.html b/docs/scroll/demo.html index 5f826ec1..2b3233c7 100644 --- a/docs/scroll/demo.html +++ b/docs/scroll/demo.html @@ -11,10 +11,10 @@ --nextra-primary-hue: 209deg; --nextra-primary-saturation: 100%; } -

Scroll

+

Scroll


Docs

A UI component rendering vertical scrolling articles that output individual Canvases, basic descriptive properties, and Annotations with commenting motivations with support for transcribing and translating motivations.


-

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file +

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file diff --git a/docs/seeAlso.html b/docs/seeAlso.html index 91a74fc9..ee9a80a2 100644 --- a/docs/seeAlso.html +++ b/docs/seeAlso.html @@ -11,7 +11,7 @@ --nextra-primary-hue: 209deg; --nextra-primary-saturation: 100%; } -
Documentation
SeeAlso

SeeAlso

+
Documentation
SeeAlso

SeeAlso

The SeeAlso component is used to display a list of related resources. A machine-readable resource such as an XML or RDF description that is related to the current resource that has the seeAlso property. The resource may be of any media type, and contain any type of data.

seeAlso
<SeeAlso
@@ -51,4 +51,4 @@ 

}, ]} as="ol" -/>


Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file +/>

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file diff --git a/docs/slider.html b/docs/slider.html index e790b168..21968028 100644 --- a/docs/slider.html +++ b/docs/slider.html @@ -11,7 +11,7 @@ --nextra-primary-hue: 209deg; --nextra-primary-saturation: 100%; } -
Documentation
Slider

Slider

+

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file +]

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file diff --git a/docs/slider/demo.html b/docs/slider/demo.html index f6953042..0c202e84 100644 --- a/docs/slider/demo.html +++ b/docs/slider/demo.html @@ -11,9 +11,9 @@ --nextra-primary-hue: 209deg; --nextra-primary-saturation: 100%; } -

Slider

+

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file +

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file diff --git a/docs/summary.html b/docs/summary.html index 6abbfa7f..c9b4a2d8 100644 --- a/docs/summary.html +++ b/docs/summary.html @@ -11,7 +11,7 @@ --nextra-primary-hue: 209deg; --nextra-primary-saturation: 100%; } -
Documentation
Summary

Summary

+
Documentation
Summary

Summary

The Summary component is used to display a short description of the resource. It is a wrapper around the IIIF Presentation API 3.0 summary property (opens in a new tab). The summary property is a multi-lingual field that can be used to provide a short description of the resource. It is recommended that the summary be less than 250 characters. The summary property is intended to be displayed to the user when the resource is being selected from a list of search results or resources.

summary
<Summary
@@ -67,4 +67,4 @@ 

as="p" dir="rtl" lang="ar" -/>


Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file +/>

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file diff --git a/docs/thumbnail.html b/docs/thumbnail.html index c65fee92..1e565234 100644 --- a/docs/thumbnail.html +++ b/docs/thumbnail.html @@ -11,7 +11,7 @@ --nextra-primary-hue: 209deg; --nextra-primary-saturation: 100%; } -
Documentation
Thumbnail

Thumbnail

+
Documentation
Thumbnail

Thumbnail

The Thumbnail component is used to display a thumbnail for a IIIF resource. This generally is an Image, however, could be a short Video or Sound clip.

thumbnail
<Thumbnail
@@ -50,4 +50,4 @@ 

duration: 30, }, ]} -/>


Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file +/>

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file diff --git a/docs/viewer.html b/docs/viewer.html index 7b2f1132..4beb0a43 100644 --- a/docs/viewer.html +++ b/docs/viewer.html @@ -11,7 +11,7 @@ --nextra-primary-hue: 209deg; --nextra-primary-saturation: 100%; } -
Documentation
Viewer

Viewer

+

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file +}

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file diff --git a/docs/viewer/contentsearch.html b/docs/viewer/contentsearch.html index ed1d2b0f..2f25b689 100644 --- a/docs/viewer/contentsearch.html +++ b/docs/viewer/contentsearch.html @@ -11,10 +11,10 @@ --nextra-primary-hue: 209deg; --nextra-primary-saturation: 100%; } -

Viewer

+

Viewer


Docs

Content search.

Type in anything in the search field, and click the search button or type return. This demo will show the search results for "Berliner". Click on any of search results, and Clover will zoom and pan to that search result.

Due to the fact that the Clover documentation site is a statically generated, search will only return results for "Berliner" because the search service returns a static content search manifest. In a fully functional site, the search service will return a dynamic content search manifest based on the entered search words.

-

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file +

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file diff --git a/docs/viewer/demo.html b/docs/viewer/demo.html index 6adf7342..9e37874c 100644 --- a/docs/viewer/demo.html +++ b/docs/viewer/demo.html @@ -11,10 +11,10 @@ --nextra-primary-hue: 209deg; --nextra-primary-saturation: 100%; } -

Viewer

+

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file +

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file diff --git a/index.html b/index.html index 73b9f8bd..c40d6fba 100644 --- a/index.html +++ b/index.html @@ -11,6 +11,6 @@ --nextra-primary-hue: 209deg; --nextra-primary-saturation: 100%; } -
+

Showcase IIIF Manifests
as interoperable web content.

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.

Get Started
-

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file +

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
\ No newline at end of file