PageSourceSearch

https://www.clevelandart.org/_next/static/chunks/pages/art/[accession_number]-4812065ff09dc585.js

js clevelandart.org collected 2026-10-01 08:13:25 UTC 45,663 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7830],{6825:(e,t,l)=>{"use strict";l.d(t,{A:()=>h});var a=l(37876),n=l(34824),r=l(14e3),i=l(14232),s=l(69241),o=l(67662),d=l(32651),c=l(95044),u=l(15282);let m=e=>{var t;let{containerClassName:l="",listProps:m={},customBreadcrumb:h=[],capitalize:p=!1}=e,g=(0,n.useRouter)(),x=null!=(t=(0,r.usePathname)())?t:"/";(0,i.useEffect)(()=>{if(g&&!g.isReady)return},[g,x]);let{visuallyHiddenProps:v}=(0,c.B)(),[b,f]=(0,i.useState)(null),w=(0,i.useId)();return((0,i.useEffect)(()=>{if(h&&h.length>0)return void f(h);let e=x.split("/").filter(Boolean);e.shift(),f(e.reduce((t,l,a)=>e.length-1===a?t:[...t,{breadcrumb:l,href:"/"+e.slice(0,a+1).join("/")}],[]))},[g,x,h]),b&&(null==b?void 0:b.length)!==0)?(0,a.jsxs)("nav",{className:(0,s.A)("flex items-center w-full text-black md:text-15 md:leading-[150%] xsm:text-11 xsm:leading-[160%]",l),"aria-labelledby":"".concat(w,"-breadcrumbs"),children:[(0,a.jsx)("h2",{id:"".concat(w,"-breadcrumbs"),...v,children:"Breadcrumbs"}),(0,a.jsx)("ol",{className:"flex flex-wrap items-center w-full pt-2 [&>*:last-child>*>*>svg]:hidden",...m,children:(null==b?void 0:b.length)>0&&b.map((e,t)=>{var l;if(e&&(null==e||null==(l=e.breadcrumb)?void 0:l.length)!==0)return(0,a.jsxs)("li",{className:"flex items-center",children:[1==b.length&&(0,a.jsx)(o.A,{className:"mr-2"}),(0,a.jsx)(u.A,{className:p?"capitalize":void 0,href:e.href,children:e.breadcrumb}),b.length!==t+1?(0,a.jsx)(d.A,{className:"mx-2 md:mx-4"}):null]},e.href)})})]}):null},h=e=>{let{className:t,...l}=e,s=(0,n.useRouter)(),o=(0,r.usePathname)();(0,i.useEffect)(()=>{if(s&&!s.isReady)return},[s,o]);let[d,c]=i.useState(!0);return(i.useEffect(()=>{if("/"===o)return void c(!1)},[o]),d)?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(m,{...l,listProps:{"aria-labelledby":"breadcrumbs"},containerClassName:t})}):null}},11970:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>x});var a=l(37876),n=l(14714),r=l(9680),i=l(31554),s=l(31763),o=l(60619),d=l(69241),c=l(48230),u=l.n(c),m=l(40056),h=l(52092),p=l(41244);let g=e=>{let{title:t,image:l,description:o,href:c}=e,{pressProps:p}=(0,i.A)({});return(0,a.jsx)(h.A,{outerRingClassname:"group hover:cursor-pointer w-fit group !float-none inline-block mb-2 relative flex !h-auto pb-4",title:t,titleCta:c,type:"link",id:"shopify-link",children:(0,a.jsx)("div",{...(0,m.v)(p),className:(0,d.A)("relative"),children:(0,a.jsxs)("div",{className:"flex flex-col-reverse",children:[(0,a.jsxs)("div",{className:"",children:[t&&(0,a.jsx)(u(),{target:(0,s.i9)(c)?"_blank":"",href:c||"",prefetch:(0,s.$s)("false"),className:"border-card-link group-hover:underline group-hover:text-blue-02 focus:underline focus:text-blue-02",style:{wordBreak:"break-word",overflowWrap:"break-word"},children:(0,a.jsx)(n.A,{className:"heading-3 mb-2 px-4 pt-4 group-hover:text-blue-02 group-hover:underline",variant:"h3",label:t})}),o&&(0,a.jsx)("span",{className:"body-2 px-4",style:{display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflow:"hidden"},children:o})]}),(0,a.jsxs)("figure",{className:"relative md:h-60 w-full md:block overflow-hidden order-1 group-hover:shadow aspect-4/3 md:aspect-auto",children:[(0,a.jsx)(r.A,{className:(0,d.A)("object-cover","motion-safe:group-hover:scale-110 motion-safe:transition duration-700 ease-out"),alt:t,fill:!0,src:l||"/images/artwork-no-image-available.gif"}),(0,a.jsx)("div",{className:"absolute top-0 right-0 bottom-0 left-0 overflow-hidden opacity-0 motion-safe:transition duration-300 ease-in-out bg-gradient-to-t from-black to-transparent group-hover:opacity-60"})]})]})})})},x=e=>{let{shopifyItems:t=[],artworkAccessionNumber:l}=e;if(!(null==t?void 0:t.length))return null;let r=l?"https://shop.clevelandart.org/search?q=".concat(l):"";return(0,a.jsxs)(n.A,{headingClassName:"pb-6 xsm:leading-[110%] md:leading-[130%] !my-[0.281rem] md:!my-0 scroll-mt-14 md:scroll-mt-16",className:"!mb-0 relative bg-off-white border-[16px] border-skyblue px-12 py-8 mt-8",variant:"h2",label:"Shop the CMA Store",children:[(0,a.jsx)("div",{className:"w-auto grid grid-cols-1 tablet:grid-cols-2 mdlg:gr
1id-cols-4 gap-4",children:null==t?void 0:t.map((e,t)=>{var l;let{node:{title:n,description:r,onlineStoreUrl:i,images:s}}=e;return(0,a.jsx)("div",{className:"block",children:(0,a.jsx)(g,{href:i,image:(null==(l=s.edges)?void 0:l.length)?s.edges[0].node.url:void 0,title:n,description:(0,o.A)(r,{limit:70,preserveTags:!1,wordBreak:!0}).html||""})},t)})}),r&&(0,a.jsx)("div",{className:"mt-12 flex justify-center",children:(0,a.jsx)(p.Ay,{variant:"black",href:r,size:"md",id:"shop-more-art-button",children:"Shop More Art"})})]})}},17678:(e,t,l)=>{"use strict";l.d(t,{U:()=>a});let a=e=>!!(null==e?void 0:e.description)||(null==e?void 0:e.share_license_status)==="CC0"},26645:(e,t,l)=>{"use strict";l.d(t,{a5:()=>s,s9:()=>i,gN:()=>r});var a=l(37876),n=l(69241);l(14232);let r="px-4 md:px-37",i=e=>{let{children:t,className:l="",inverse:i=!1,removeMargins:s,id:o}=e,d=(0,n.A)(l,"w-full","relative z-10",i?"bg-black text-white":"bg-white text-black",!s&&r,"max-w-[120rem] xl:mx-auto");return(0,a.jsx)("div",{id:o,className:d,children:t})},s=e=>{let{children:t,className:l,noPadding:r}=e;return r?(0,a.jsx)("div",{children:t}):(0,a.jsx)("div",{className:(0,n.A)("pt-10 pb-10 md:pt-12 md:pb-12",l),children:t})}},27392:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var a=l(37876),n=l(71554),r=l(18847),i=l.n(r);let s=i()(()=>Promise.all([l.e(140),l.e(6397)]).then(l.bind(l,50140)),{loadableGenerated:{webpack:()=>[50140]},ssr:!1}),o=i()(()=>l.e(7179).then(l.bind(l,37179)),{loadableGenerated:{webpack:()=>[37179]},ssr:!1}),d=e=>{let{children:t,headerItems:l,mobileUtilityItems:r,footerItems:i,footerLocationItems:d,footerSponsors:c,inverse:u,headerVariant:m="black",isHeaderSticky:h=!1,isHeaderAnimated:p=!1,footerHasNoPadding:g}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o,{isSticky:h,inverse:u,data:l,variant:m,isAnimated:p,utilityMenuData:r}),(0,a.jsx)(n.A,{inverse:u,children:t}),(0,a.jsx)(s,{secondRow:d,firstRow:i,sponsors:c,noPadding:g})]})}},51016:(e,t,l)=>{"use strict";l.r(t),l.d(t,{PromoBannerItem:()=>p,default:()=>g});var a=l(37876),n=l(45526),r=l(14232),i=l(14714),s=l(9680),o=l(26645),d=l(36406),c=l(51607),u=l(69241),m=l(15282);let h=e=>{let{label:t,description:l,tags:n=[],cta:r,backgroundImage:h="",paddless:p,removeMargins:g}=e;return(0,a.jsx)(o.s9,{id:"".concat(t.toLowerCase().replaceAll(" ","-"),"-banner"),removeMargins:g,children:(0,a.jsxs)("div",{"data-testid":"promobanner","data-no-jump-link":"true",className:(0,u.A)("relative bg-no-repeat bg-cover px-6 py-12 md:px-32 :py-20 flex flex-col",p?"":"px-6 py-12 md:px-32 md:py-20"),children:[(0,a.jsxs)("div",{className:"relative flex flex-col order-2 w-full md:w-3/5 z-20",children:[(0,a.jsxs)(i.A,{variant:"h2",label:t,className:"order-2",headingClassName:"text-white",children:[l&&(0,a.jsx)("div",{className:"body-1 text-white md:mb-4 [&>*:first-child]:mt-0","data-content-type":"wysiwyg",dangerouslySetInnerHTML:{__html:l}}),(null==r?void 0:r.url)?(0,a.jsx)(m.A,{className:"mt-4 group w-fit box-border border-card-link",href:r.url,children:(0,a.jsx)("div",{className:"w-fit text-black px-6 py-3 md:px-8 md:py-4 xsm:text-xs md:text-18 md:leading-[1.451rem] font-bold hover:bg-blue-02 hover:text-white group-focus:border-solid bg-white border-3 border-transparent group-focus:bg-blue-02 group-focus:text-white group-focus:ring group-focus:ring-offset-4 group-focus:ring-white",children:r.label})}):null]}),n.length>0&&(0,a.jsx)(c.A,{className:"mb-9",label:t,outerClassName:"order-1",children:n.map(e=>(0,a.jsx)(d.A,{label:e},e))})]}),(0,a.jsx)(s.A,{className:"object-cover object-center w-full h-full order-1",src:h,fill:!0,alt:"background",sizes:"(max-width: 1920px) 100vw"}),(0,a.jsx)("div",{className:"absolute opacity-40 w-full h-full top-0 left-0 bg-black z-10 order-3"})]})})},p=e=>{let{node:t,removeMargins:l}=e,{field_background_image:r,title:i,body:s,field_tags:o,field_primary_cta:d}=t,c=(0,n.VG)(null==r?void 0:r.field_media_image);return(0,a.jsx)(h,{label:i,description:null==s?void 0:s.processed,backgroundImage:c,cta:{label:null==d?void 0:d.title,url:null==d?void 0:d.url},tags:o.map(e=>e.name),removeMargins:l})},g=e=>{let{collections:t=[],removeMargins:l,node:n}=e,[i,s]=r.useState(0),o=t.filter(e=>{var t;return null==e||null==(t=e.field_promo_banner_category)?void 0:t.some(e=>{var t;return(null==e?void 0:e.id)===(null==n||null==(t=n.field_banner_category)?void 0:t.id)})});return(r.useEffect(()=>{s(Math.floor(Math.random()*(null==o?void 0:o.length)))},[null==o?void 0:o.length]),(null==o?void 0:o.length)===0)?null:(0,a.jsx)(p,{node:o[i],removeMargins:l})}},51607:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var a=l(37876),n=l(31763),r=l(69241),i=l(14232);let s=e=>{let{children:t,className:l="",direction:s="horizontal",label:o,forLabel:d="Tags",outerClassName:c=""}=e,u=(0,i.useId)(),m="".concat(d," for: ").concat(o),h=i.Children.toArray(t).length;return(0,a.jsxs)("div",{className:c,children:[h>0&&(0,a.jsx)("span",{id:"tag-wrapper-".concat(u),className:"sr-only",children:(0,n.sT)(m)}),(0,a.jsx)("ul",{"aria-labelledby":h>0?"tag-wrapper-".concat(u):void 0,className:(0,r.A)(l,"flex flex-wrap xsm:gap-2 md:gap-4","horizontal"===s?"flex-row":"flex-col"),children:t})]})}},52092:(e,t,l)=>{"use strict";l.d(t,{A:()=>u});var a=l(37876),n=l(31554),r=l(69241),i=l(34824),s=l(14e3);let o=e=>{let{outerRingClassname:t,innerElementClassname:l,children:n,id:i,onPressWithLink:s,...o}=e;return(0,a.jsx)("div",{className:(0,r.A)("group/border-card bg-white h-fit group hover:cursor-pointer float-left w-full","relative",t,"w-full h-full justify-start"),id:i,onClick:s,children:(0,a.jsx)("div",{className:(0,r.A)("bg-white focus-within:outline focus-within:outline-4 focus-within:outline-offset-2 focus-within:outline-blue-03",l,"flex justify-start"),...o,children:n})})},d=e=>{let{titleCta:t,outerRingClassname:l,innerElementClassname:o,onPress:d=()=>null,onPressWithLink:c,children:u,isList:m,id:h,...p}=e,g=(0,i.useRouter)(),x=(0,s.useRouter)(),v=e=>{Object.hasOwn(e,"stopPropagation")&&e.stopPropagation();let l=window.getSelection();
1(l?l.toString():"")||!t||(g?g.push(t):x.push(t)),d(),c&&c(e)},{pressProps:b}=(0,n.A)({onPress:v,allowTextSelectionOnPress:!0});return(0,a.jsx)(m?"li":"div",{...b,className:(0,r.A)("group/border-card bg-white h-full group hover:cursor-pointer focus-within:outline focus-within:outline-4 focus-within:outline-offset-2 focus-within:outline-blue-03 focus-within:mx-2",l),onClick:v,onMouseDown:void 0,onPointerDown:void 0,id:h,children:(0,a.jsx)("div",{className:(0,r.A)("bg-white p-0.75 md:p-0",o),...p,children:u})})},c=e=>{let{outerRingClassname:t,innerElementClassname:l,onPress:i,onPressWithLink:s,children:o,id:d,pressEvents:c,isList:u,onKeyDown:m,...h}=e,{pressProps:p}=(0,n.A)({onPress:e=>{i(e),s&&s(e)}}),g=c?{...p}:{};return(0,a.jsx)(u?"li":"div",{...g,onKeyDown:e=>{if("Enter"===e.key){e.preventDefault(),m();return}},className:(0,r.A)("group group/border-card bg-white h-fit focus:outline-none w-full",t),id:d,children:(0,a.jsx)("div",{className:(0,r.A)("focus-within/border-card:border-solid bg-white focus-within:border-3 focus-within:border-blue-03 focus-within:p-0.75 w-full",l,"justify-items-start"),...h,children:o})})},u=e=>{let{children:t,title:l,outerRingClassname:n="",innerElementClassname:r="",titleCta:i="",borderCardFocusType:s="Linked",onPress:u=()=>null,onPressWithLink:m,pressEvents:h=!0,type:p,id:g,onKeyDown:x,...v}=e;return"No Link"!==s&&i&&0!==i.length?"link"===p?(0,a.jsx)(o,{id:g,titleCta:i,title:l,outerRingClassname:n,innerElementClassname:r,onPress:u,onPressWithLink:m,...v,children:t}):(0,a.jsx)(d,{onPress:u,onPressWithLink:m,titleCta:i,title:l,id:g,outerRingClassname:n,innerElementClassname:r,...v,children:t}):(0,a.jsx)(c,{title:l,id:g,outerRingClassname:n,innerElementClassname:r,onPress:u,onPressWithLink:m,pressEvents:h,onKeyDown:x,...v,children:t})}},71039:(e,t,l)=>{"use strict";l.d(t,{A:()=>b});var a=l(37876),n=l(41244),r=l(9365),i=l(77379),s=l(14232),o=l(15282);let d=e=>{let{longTermLoan:t,accessionNumber:l,setOpen:d}=e,{isDesktop:c}=(0,r.Ay)(),u=(0,s.useCallback)(()=>{let e=document.createElement("a");e.href="".concat("https://co-api-internal.clevelandart.org","/api/collectiononline/metadata/").concat(l),e.download="".concat(l,".txt"),e.click(),d(!1)},[l,d]);return(0,a.jsx)("div",{className:"grid gap-y-3 bg-white",children:(0,a.jsxs)("ul",{className:"list-none",children:[(0,a.jsx)("li",{children:(0,a.jsx)(n.Ay,{variant:"transparent",classNames:"underline w-auto mr-auto !h-auto",removePaddingX:!0,prefixClassname:"!pr-0 !mr-0 md:text-16",onPress:()=>d(!1),prefix:(0,a.jsx)(i.A,{width:c?"1.5rem":"1rem",height:c?"1.5rem":"1rem"}),children:"Close"})}),!t&&(0,a.jsxs)("li",{children:[(0,a.jsx)(n.Ay,{variant:"transparent",classNames:"underline w-auto mr-auto !h-auto",removePaddingX:!0,onPress:u,children:(0,a.jsx)("span",{className:"body-2 font-normal",children:"Download metadata only"})}),!c&&(0,a.jsx)("div",{className:"border-t h-0 border-gray"})]}),(0,a.jsx)("li",{children:(0,a.jsxs)("div",{className:"row body-2 w-[15.75rem]",children:["Image downloads not available."," ",(0,a.jsx)(o.A,{className:"!underline underline-offset-2",href:"/art/collection/contact?reason=image_use&artwork=".concat(l),children:"Order an image."})," ","See"," ",(0,a.jsx)(o.A,{className:"!underline underline-offset-2",href:"/open-access",children:"Open Access FAQ's"})," ","for more information."]})})]})})};var c=l(81477),u=l(14556),m=l(9176),h=l(67409),p=l(76800),g=l(96165),x=l(83427);let v=(0,s.forwardRef)((e,t)=>{let{accessionNumber:l,hasArtLensApp:r,alternateIndex:i,isCopyrighted:o,longTermLoan:v,has3dModel:b,download3dModelUrl:f,showDownloadButton:w=!0,showShareButton:y=!0,inModal:j=!1,className:_,url:k}=e,[N,A]=(0,s.useState)(!1),C=k||window.location.href,S=(()=>{if(!C)return C;try{let e=window.location.origin,t=new URL(C,e);return t.searchParams.set("utm_source","art_detail_share"),t.toString()}catch(e){return C}})(),T=!j,I=+!!y+ +!!r+ +!!w+ +!!T;return(0,a.jsx)("div",{ref:t,className:"py-6 !max-w-full ".concat(_),children:(0,a.jsxs)("div",{className:"grid grid-cols-1 xsm:".concat(1===I?"grid-cols-1":"grid-cols-2"," mdlg:grid-cols-4 mdlg:flex gap-2 md:gap-4"),children:[r&&(0,a.jsx)(n.Ay,{variant:"blue",size:"sm",href:"".concat("https://cma.org","/artlens/artwork/").concat(l),forceFullPageLoad:!0,suffix:(0,a.jsx)(p.A,{width:"1rem",he
1ight:"1rem"}),classNames:n.TI,suffixClassname:"!ml-2",children:"ArtLens App"}),y&&(0,a.jsx)(h.A,{url:S,focusPage:!0,buttonVariant:r||j?"bordered":"blue"}),w&&(0,a.jsx)(m.A,{buttonSize:"sm",offset:18,isOpen:N,setIsOpen:A,placement:"bottom left",popOverClassNames:"xsm:!w-auto",buttonVariant:"bordered",containerClassName:"relative inline-block",suffix:(0,a.jsx)(g.A,{width:"1rem",height:"1rem"}),label:"Download",isList:!1,buttonClassName:n.TI,lightUnderlay:!0,suffixClassname:"!ml-2",children:(0,a.jsx)(u.l,{className:"md:min-w-[15.5rem] text-black px-6 py-4",children:o?(0,a.jsx)(d,{setOpen:A,longTermLoan:v,accessionNumber:l}):(0,a.jsx)(c.A,{setOpen:A,alternateIndex:i,accessionNumber:l,has3dModel:b,download3dModelUrl:f,showMetadataDownload:!j})})}),T&&(0,a.jsx)("div",{className:"relative inline-block",children:(0,a.jsx)(n.Ay,{variant:"bordered",suffixClassname:"!text-current !ml-2","aria-label":"Print",size:"sm",suffix:(0,a.jsx)(x.A,{width:"1rem",height:"1rem"}),href:"/print/art/".concat(l),classNames:n.TI,children:"Print"})})]})})});v.displayName="ArtworkDetailsActionButtons";let b=v},72116:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/art/[accession_number]",function(){return l(76485)}])},76485:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSG:()=>el,default:()=>ea});var a=l(37876),n=l(63546),r=l(18481),i=l(17443),s=l(9365),o=l(23042),d=l(18847),c=l.n(d),u=l(89099),m=l(14232);let h=c()(()=>l.e(7676).then(l.bind(l,77676)),{loadableGenerated:{webpack:()=>[77676]},ssr:!1}),p=e=>{let{images:t,isOpen:l,onClose:n,modalType:r,modalState:d,navigateToImage:c,backToGrid:p,conservationStatement:g,artworkData:x}=e,{isMobile:v}=(0,s.Ay)(),b=(0,m.useRef)(null),f=(0,u.useRouter)();(0,i.H)({isDisabled:!l});let w=(0,m.useCallback)(()=>{var e;n(),null==(e=b.current)||e.focus()},[n]);return(0,m.useEffect)(()=>{if(!l)return;let e=e=>{let t=e.target,l=document.querySelector("header");l&&l.contains(t)&&(t.matches('button, a, [role="button"], [tabindex]:not([tabindex="-1"]), li')||t.closest('button, a, [role="button"], [tabindex]:not([tabindex="-1"]), li'))&&w()};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[l,w]),(0,m.useEffect)(()=>{if(!l)return;let e=document.querySelector(".header-mobile");if(!e)return;let t=e.style.position,a=e.style.top,n=e.style.zIndex,r=()=>{v?(e.style.position="sticky",e.style.top="0",e.style.zIndex="9997"):(e.style.position=t,e.style.top=a,e.style.zIndex=n)};return r(),window.addEventListener("resize",r),()=>{e.style.position=t,e.style.top=a,e.style.zIndex=n,window.removeEventListener("resize",r)}},[l,v]),(0,a.jsx)(o.N,{children:l&&r&&(0,a.jsx)(h,{images:t,isOpen:l,onClose:w,modalType:r,modalTypeName:"additional-views"===r?"Additional Views":"Conservation Statement",modalState:d,navigateToImage:c,backToGrid:p,conservationStatement:g,buttonRef:b,artworkData:x,router:f})})};var g=l(41915),x=l(71039),v=l(87934);let b=e=>{let{body:t,artworkAccessionNumber:l=""}=e,n=t.toString().replaceAll("[[ARTWORK_ID]]",l).replaceAll("<h2>",'<h2 class="border-b-[2px] border-black pb-2 md:pb-4 !mb-0 md:mb-4 xsm:mb-2 prose-h2">');return(0,a.jsx)("div",{className:"py-5 md:py-12",children:(0,a.jsx)(v.A,{bodyClassName:"[&>h2]:!mt-0 !my-0",body:n})})};var f=l(41492),w=l(14714),y=l(9680),j=l(31763),_=l(69241),k=l(73465),N=l(15282);let A=[{breakpoint:426,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:562,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:700,settings:{slidesToShow:4,slidesToScroll:1}},{breakpoint:837,settings:{slidesToShow:5,slidesToScroll:1}},{breakpoint:974,settings:{slidesToShow:6,slidesToScroll:1}},{breakpoint:1023,settings:{slidesToShow:7,slidesToScroll:1}},{breakpoint:1868,settings:{slidesToShow:4,slidesToScroll:1}},{breakpoint:9999,settings:{slidesToShow:5,slidesToScroll:1}}],C=e=>{let{title:t,alt_text:l,description:n,image:r,search:i}=e,{isMobile:o}=(0,s.Ay)();return(0,a.jsxs)("div",{className:"w-30 md:w-60 relative",children:[(0,a.jsx)(y.A,{className:(0,_.A)("object-cover",o?"h-30 w-30":"h-60 w-60"),alt:null!=l?l:"",src:r,width:o?120:240,height:o?120:240}),(0,a.jsx)(N.A,{href:"/art/collection/search?".concat(i),children:(0,a.jsxs)("div",{className:"body-1 flex flex-row gap-2 items-center font-medium mt
1-2",children:[!o&&(0,a.jsx)(k.A,{width:"1.7rem",height:"1.7rem",className:"translate-y-[-0.2rem]"}),t]})}),(0,a.jsx)("div",{className:(0,_.A)(o?"body-1":"font-medium leading-[140%] text-19 ml-[2.3rem]"),children:n})]})},S=e=>{let{collection:t,collectionMapped:l,type:n,department:r,medium:i,mediumMapped:o,creditline:d,artworksForSeeAlso:c}=e,u=(0,m.useRef)(null),{isMobile:h}=(0,s.Ay)(),[p,g]=(0,m.useState)(0),[x,v]=(0,m.useState)({slideIndex:0,shouldDisplayCarousel:!1}),b=(0,m.useMemo)(()=>h?16:40,[h]),y={Collection:null!=l?l:t,Department:r,"Type of artwork":n,Medium:null!=o?o:i,"Credit line":d},_={Collection:l?"collection_mapped":"collection",Department:"department","Type of artwork":"type",Medium:o?"medium_mapped":"medium","Credit line":"credit"},k=e=>{var t,l,a,n,r;return Array.isArray(c)?null!=(r=null==(n=c.find(t=>t["credit"===_[e]?"creditline":_[e]]===y[e]))||null==(a=n.image_assets)||null==(l=a.primary_image)||null==(t=l.small)?void 0:t.url)?r:"":(console.error("artworksForSeeAlso is not an array:",c),"")},N=Object.keys(y).filter(e=>!!k(e)).map(()=>({variant:"square"})),S=Array.isArray(c)&&c.length>0?c.reduce((e,t)=>{var l,a,n,r,i,s;return(null==t||null==(n=t.image_assets)||null==(a=n.primary_image)||null==(l=a.small)?void 0:l.width)?e+=parseInt(null==t||null==(s=t.image_assets)||null==(i=s.primary_image)||null==(r=i.small)?void 0:r.width):e},0)/c.length:0;return(0,m.useEffect)(()=>{let e=()=>{let e=Math.round(window.innerWidth*(S+b)/f._);g(e>240?240:e)};return window&&e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[S,b]),(0,a.jsx)(w.A,{headingClassName:"pb-6 xsm:leading-[110%] md:leading-[130%] !my-[0.281rem] md:!my-0",className:"!mb-0 relative",variant:"h2",label:"See Also",children:(0,a.jsx)("div",{className:"overflow-hidden w-auto",ref:u,children:(0,a.jsx)(f.A,{setSlideState:v,slideState:x,items:N,contRef:u,slidesToShow:4,showScrollbar:!1,itemWidth:h?122:p,itemPadding:83,variant:"align-top",sliderWrapperClassName:"!min-h-0 xsm:!mb-0 md:!mb-0",customBreakpoints:A,sliderControllerClassName:"top-0 [&>li>button]:h-10 [&>li>button]:w-10 [&>li>button]:p-0 [&>li>button]:text-xl md:[&>li>button]:h-[3.75rem] md:[&>li>button]:w-[3.75rem] md:[&>li>button]:md:text-[1.3125rem] !right-0",sliderClassName:"[&>.slick-list>.slick-track]:gap-4 md:[&>.slick-list>.slick-track]:gap-10 [&>.slick-list>.slick-track>.slick-slide>div]:flex md:!px-0 gap-4 md:gap-10",isContentCards:!1,children:[...Object.keys(y)].filter(e=>!!k(e)).map((e,t)=>"medium"===e.toLowerCase()?(0,a.jsx)("li",{children:(0,a.jsx)(C,{image:k(e),title:e,alt_text:(e=>{var t,l,a,n;return Array.isArray(c)?null!=(n=null==(a=c.find(t=>t["credit"===_[e]?"creditline":_[e]]===y[e]))||null==(l=a.image_assets)||null==(t=l.primary_image)?void 0:t.alt_text)?n:"":(console.error("artworksForSeeAlso is not an array:",c),"")})(e),description:(0,j.lC)(y[e]),search:"".concat(_[e],"=").concat(y[e])})},t):(0,a.jsx)("li",{children:(0,a.jsx)(C,{image:k(e),title:e,description:(0,j.sT)(y[e]),search:"".concat(_[e],"=").concat(y[e])})},t))})})})};var T=l(41244),I=l(51016),E=l(11970),P=l(16327);let M=c()(()=>Promise.all([l.e(5240),l.e(7404)]).then(l.bind(l,97202)),{loadableGenerated:{webpack:()=>[97202]}}),D=c()(()=>l.e(2529).then(l.bind(l,12529)),{loadableGenerated:{webpack:()=>[12529]}}),B=(0,m.forwardRef)((e,t)=>{var l,n,r,i,s,o,d,c,u,h,p,g,x,v;let{artwork:f,contactUsData:j,relatedContentData:_,artworksForSeeAlso:k,promoBannerData:N,scrollTop:A,shopifyItems:C}=e,[B,R]=(0,m.useState)(0),L=null==f||null==(l=f.creators)?void 0:l.reduce((e,t)=>(null==t?void 0:t.origin)?e.length>0?"".concat(e,", ").concat(null==t?void 0:t.origin):null==t?void 0:t.origin:e,""),z=null==f||null==(n=f.culture)?void 0:n.reduce((e,t)=>t?e.length>0?"".concat(e,", ").concat(t):t:e,""),O=null==f||null==(r=f.creators)?void 0:r.reduce((e,t)=>(null==t?void 0:t.name)?e.length>0?"".concat(e,", ").concat(null==t?void 0:t.name):null==t?void 0:t.name:e,"");(0,m.useEffect)(()=>{R(Math.floor(Math.random()*(null==N?void 0:N.length)))},[null==N?void 0:N.length]);let F="/images/artwork-no-image-available.gif",G=null!=(x=null==f||null==(o=f.image_assets)||null==(s=o.primary_image)||null==(i=s.medium)?void 0:i.url)?x:F,H=G===F?"Placeholder image":null!=(v=null==f||null==(c=f.image_assets)||null==(d=c.primary_image)?void 0:d.alt_text)?v:"";return(0,a.jsxs)("div",{ref:t,className:"grid grid-cols-12 gap-6 md:px-12 relative container mx-auto",children:[(0,a.jsxs)("div",{className:"xsm:hidden md:block md:col-span-2 md:sticky h-fit top-0 pt-12 pb-12",children:[(0,a.jsx)(y.A,{src:G,height:300,width:284,alt:H,className:"mb-6 h-full w-full object-cover max-h-75"}),(0,a.jsx)(w.A,{label:null==f?void 0:f.title,headingClassName:"!mb-1.5 font-serif",variant:"h3",id:"artwork-title-sidebar",children:(null==f?void 0:f.date_text)&&(0,a.jsx)("div",{className:"body-2",children:null==f?void 0:f.date_text})}),(0,a.jsxs)("div",{className:"flex flex-col gap-1.5 mb-4 mt-[1rem]",children:[(0,a.jsx)("h4",{className:"!text-24 font-fold-grotesque",children:O}),(0,a.jsx)("div",{className:"body-2 font-fold-grotesque",children:L}),(0,a.jsx)("div",{className:"body-2 font-fold-grotesque",children:z})]}),(0,a.jsx)(T.Ay,{size:"md",suffix:(0,a.jsx)(P.A,{className:"w-[1.5rem] h-[1.5rem]"}),suffixClassname:"!ml-2",removePaddingX:!0,onFocus:e=>{e.target.scrollIntoView()},onPress:A,variant:"transparent",children:"Back to Artwork View"})]}),(0,a.jsxs)("div",{className:"xsm:col-span-12 md:col-span-10 xsm:py-5 md:pt-12 md:pb-12 gap-8 md:gap-12 flex flex-col px-4 md:px-16",children:[(0,a.jsx)(S,{artworksForSeeAlso:k,collectionMapped:f.collection_mapped,collection:null==f?void 0:f.collection,type:null==f?void 0:f.type,department:null==f?void 0:f.department,medium:null==f?void 0:f.technique,mediumMapped:f.medium_mapped,creditline:null==f?void 0:f.creditline}),(null==f||null==(u=f.similar_artworks_data)?void 0:u.similar_artworks)&&(0,a.jsx)(M,{similarArtworks:null==f||null==(h=f.similar_artworks_data)?void 0:h.similar_artworks}
1),_.length>0?(0,a.jsx)(D,{relatedContentCards:_,reduceSpacingTop:(null==f||null==(g=f.similar_artworks_data)||null==(p=g.similar_artworks)?void 0:p.length)>0}):null,N.length>0?(0,a.jsx)(I.PromoBannerItem,{removeMargins:!0,node:N[B]},N[B].id):null,(C||[]).length>0&&(0,a.jsx)(E.default,{shopifyItems:C,artworkAccessionNumber:f.accession_number}),(0,a.jsx)(b,{artworkAccessionNumber:f.accession_number,body:j})]})]})});B.displayName="ArtworkDetailsAdditionalContent";var R=l(58201),L=l(26055),z=l(17678),O=l(50312),F=l(42101),G=l(27309),H=l(7216),q=l(60833);let V=e=>{var t,l,n,r,i,d,c;let{artwork:h,modalState:p,closeModal:g,openModal:x,showShareButton:v=!1}=e,{sketchfab_id:b}=h,f=(0,u.useRouter)(),{isDesktop:w}=(0,s.Ay)(),{asPath:y}=f,[_,k]=(0,m.useState)(!0),[N,A]=(0,m.useState)(!1),C=(0,m.useRef)(null),S=(0,m.useRef)(null),[T,I]=(0,m.useState)(!1),[E,P]=(0,m.useState)(!1),[M,D]=(0,m.useState)(!1),B=(0,m.useCallback)(async()=>{if(window){var e,t;if((0,j.NM)(window)&&!T)document.getElementsByTagName("body")[0].setAttribute("style","overflow:hidden;"),document.getElementsByTagName("main")[0].setAttribute("style","overflow:hidden;"),null==(e=S.current)||e.setAttribute("style","height:100dvh;position:fixed;left:0;top:0;right:0;z-index:5000;"),I(!0),k(!1);else if((0,j.NM)(window)&&T)document.getElementsByTagName("body")[0].setAttribute("style",""),document.getElementsByTagName("main")[0].setAttribute("style",""),null==(t=S.current)||t.setAttribute("style",""),I(!1),k(!0);else if(document.fullscreenElement){let e=(0,O.O)();e&&e.exit(),k(!0)}else{let e=(0,O.O)();e&&S.current&&await e.request(S.current),k(!1)}}},[T]);(0,L.A)({viewerRef:C,setShowToolbar:k,setIsArtworkExpanded:I}),(0,m.useEffect)(()=>{y.includes("#3d")&&b&&A(!0)},[y,b]);let V=()=>{P(e=>!e)},U=()=>{D(e=>!e)},W=(0,z.U)(h);(0,m.useEffect)(()=>{let e=e=>{("/"===e.key||"?"===e.key)&&(e.preventDefault(),D(e=>!e)),("i"===e.key||"I"===e.key)&&W&&(e.preventDefault(),V())};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[B,W]);let X=null!=(d=null==h||null==(t=h.image_assets)?void 0:t.primary_image)?d:"";return(0,a.jsxs)(F.P.div,{ref:S,variants:{expanded:{width:"100%"},collapsed:{width:T?"calc(100vw - (100vw - 100%))":w?"56.92vw":"100%"}},initial:"collapsed",animate:T?"expanded":"collapsed",transition:{duration:.35},className:"pb-5 md:pb-0 md:sticky md:top-28",children:[(0,a.jsxs)("div",{className:"relative","data-testid":"image-viewer-container",children:[(0,a.jsx)(R.A,{ref:C,allowZoom:W,showModel3D:N,isArtworkExpanded:T,modelId:null==h?void 0:h.sketchfab_id,seaDragonTiles:null!=(c=null==X||null==(l=X.seadragon_tiles)?void 0:l.url)?c:"",showToolbar:_,displayedImage:X,inAdditionalViewsModal:!1,accessionNumber:null==h?void 0:h.accession_number}),(0,a.jsx)(o.N,{children:E&&(0,a.jsx)(H.A,{onZoomIn:()=>{var e;return null==C||null==(e=C.current)?void 0:e.zoomIn()},onZoomOut:()=>{var e;return null==C||null==(e=C.current)?void 0:e.zoomOut()},onPanUp:()=>{var e;return null==C||null==(e=C.current)?void 0:e.pan(0,-.1)},onPanDown:()=>{var e;return null==C||null==(e=C.current)?void 0:e.pan(0,.1)},onPanLeft:()=>{var e;return null==C||null==(e=C.current)?void 0:e.pan(-.1,0)},onPanRight:()=>{var e;return null==C||null==(e=C.current)?void 0:e.pan(.1,0)},onFullScreen:B,onClose:V,onShortcuts:U})}),(0,a.jsx)(q.A,{isOpen:M,onClose:U})]}),X&&(0,a.jsx)(G.A,{has3D:!!(null==h?void 0:h.sketchfab_id),isExpanded:T,allowZoom:W,showToolbar:_,hasAdditionalViews:(null==h||null==(r=h.image_assets)||null==(n=r.alternate_images)?void 0:n.length)>0,hasConservationImages:!!(null==h||null==(i=h.image_assets)?void 0:i.conservation_images),hasConservationStatement:!!(null==h?void 0:h.conservation_statement),showModel3D:N,setShowModel3D:()=>{A(e=>!e),f.replace({pathname:f.pathname,query:f.query,hash:N?"":"#3d"})},setShowToolbar:()=>{k(e=>!e)},handleExpandCollapseArtwork:B,onAdditionalViews:()=>{p.isOpen&&"additional-views"===p.type?g():x("additional-views")},onConservationStatement:()=>{p.isOpen&&"conservation-statement"===p.type?g():x("conservation-statement")},onImageControls:V,showShareButton:v,shareUrl:window.location.href})]})};var U=l(27392),W=l(6825),X=l(34443),Y=l(56043),K=l(62867),Z=l(78226),$=l(67376),J=l.n($);let Q=c()(()=>l.e(4819).then(l.bind(l,17200)),{loadableGenerated:{webpack:()=>[17200]}}),ee=[{breadcrumb:"Home / Art",href:"/"}
1,{breadcrumb:"Collection Search",href:"/art/collection/search"}],et=e=>{var t,l,i,o,d,c,u,h,v,b;let{headerItems:f,mobileUtilityItems:y,footerItems:k,footerLocationItems:N,footerSponsors:A,artworkData:C,contactUsData:S,artworksForSeeAlso:T,relatedContentData:I,promoBannerData:E,shopifyItems:P}=e,[M,D]=(0,m.useState)(!1),[R,L]=(0,m.useState)(0),[z,O]=(0,m.useState)([]),{isMobile:F,isDesktop:G}=(0,s.Ay)(),H=(0,m.useRef)(null),q=(0,m.useRef)(null),K=(0,m.useRef)(null),{modalState:$,closeModal:et,openModal:el,navigateToImage:ea,backToGrid:en}=(()=>{let[e,t]=(0,m.useState)({isOpen:!1,type:null,viewMode:"grid",selectedImageIndex:null}),l=(0,m.useCallback)(()=>{let e=window.location.hash.match(/^#(additional-views|conservation-statement)(?:\/(\d+))?$/);if(e){let[,l,a]=e,n=a?parseInt(a,10):null;t({isOpen:!0,type:l,viewMode:null!==n?"single":"grid",selectedImageIndex:n})}else t({isOpen:!1,type:null,viewMode:"grid",selectedImageIndex:null})},[]),a=(0,m.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=null!==t?"#".concat(e,"/").concat(t):"#".concat(e);window.history.replaceState(null,"",a),l()},[l]),n=(0,m.useCallback)(()=>{t({isOpen:!1,type:null,viewMode:"grid",selectedImageIndex:null}),window.history.replaceState(null,"",window.location.pathname+window.location.search)},[]),r=(0,m.useCallback)(e=>{a(e)},[a]),i=(0,m.useCallback)((e,t)=>{a(e,t)},[a]),s=(0,m.useCallback)(e=>{a(e)},[a]);return(0,m.useEffect)(()=>(l(),window.addEventListener("hashchange",l),()=>window.removeEventListener("hashchange",l)),[l]),{modalState:e,updateHash:a,closeModal:n,openModal:r,navigateToImage:i,backToGrid:s}})(),er=C.provenance.reduce((e,t)=>[...(null==t?void 0:t.footnotes)||[]].filter(e=>!!e).length?[...e,t.footnotes]:e,[]),ei=(0,m.useMemo)(()=>{var e,t,l,a,n,r,i,s,o,d,c,u,m;return(null==C||null==(m=C.image_assets)||null==(u=m.alternate_images)?void 0:u.reduce((e,t)=>[...e,{id:t.date_created,date_formatted:t.date_created?(0,j.Yq)(t.date_created):"No date available",annotation:t.annotation,image:{src:t.medium.url,alt:null==C?void 0:C.title},item:t,onClick:()=>{}}],[{id:null==C||null==(t=C.image_assets)||null==(e=t.primary_image)?void 0:e.date_created,date_formatted:(null==C||null==(a=C.image_assets)||null==(l=a.primary_image)?void 0:l.date_created)?(0,j.Yq)(null==C||null==(r=C.image_assets)||null==(n=r.primary_image)?void 0:n.date_created):"No date available",annotation:null==C||null==(s=C.image_assets)||null==(i=s.primary_image)?void 0:i.annotation,image:{src:null==C||null==(d=C.image_assets)||null==(o=d.primary_image)?void 0:o.medium.url,alt:null==C?void 0:C.title},item:null==C||null==(c=C.image_assets)?void 0:c.primary_image,onClick:()=>{}}]))||[]},[C]),es=(0,m.useMemo)(()=>{var e,t,l,a,n,r,i,s,o,d,c,u,m;return(null==C||null==(m=C.image_assets)||null==(u=m.conservation_images)?void 0:u.reduce((e,t)=>[...e,{id:t.date_created,date_formatted:t.date_created?(0,j.Yq)(t.date_created):"No date available",annotation:t.annotation,image:{src:t.medium.url,alt:null==C?void 0:C.title},item:t,onClick:()=>{}}],[{id:null==C||null==(t=C.image_assets)||null==(e=t.primary_image)?void 0:e.date_created,date_formatted:(null==C||null==(a=C.image_assets)||null==(l=a.primary_image)?void 0:l.date_created)?(0,j.Yq)(null==C||null==(r=C.image_assets)||null==(n=r.primary_image)?void 0:n.date_created):"No date available",annotation:null==C||null==(s=C.image_assets)||null==(i=s.primary_image)?void 0:i.annotation,image:{src:null==C||null==(d=C.image_assets)||null==(o=d.primary_image)?void 0:o.medium.url,alt:null==C?void 0:C.title},item:null==C||null==(c=C.image_assets)?void 0:c.primary_image,onClick:()=>{}}]))||[]},[C]),eo=[...(null==C||null==(l=C.secondary_assets)||null==(t=l.videos)?void 0:t.length)>0?[{label:"Videos",items:C.secondary_assets.videos.map(e=>({title:e.title,url:e.url,thumbnail:e.thumbnail,width:e.width,height:e.height}))}]:[],{label:"Artist Biography",items:(null==C||null==(i=C.creators)?void 0:i.map(e=>({artist:e.name,biography:e.biography})))||[]},{label:"Inscriptions",items:(null==C||null==(o=C.inscriptions)?void 0:o.map(e=>({inscription:e.inscription,inscription_remark:e.inscription_remark,inscription_translation:e.inscription_translation})))||[]},{label:"Full Conservation Statement",items:(null==C?void 0:C.conservation_statement)!==""&&(null==C?void 0:C.conservation_statement)!==null?[{description:null==C?void 0:C.conservation_statement}]:[]},{label:"Provenance",items:(null==C||null==(d=C.provenance)?void 0:d.map(e=>({description:e.description,date:e.date,footnotes:[...(null==e?void 0:e.footnotes)||[]].filter(e=>!!e)})))||[]},{label:"Citations",items:null==C||null==(c=C.citations)?void 0:c.reduce((e,t)=>
1{var l;if(!(t.citation||t.page_number||t.url))return e;let a=null==t||null==(l=t.url)?void 0:l.match(/((ftp|http|https):\/\/)?([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])/);return[...e,{description:"".concat(t.citation).concat(t.page_number?" ".concat(t.page_number):"").concat(t.url?" ".concat(((e,t)=>{let l=/http(s?):\/\//.test(e)?e:"https://".concat(e);return'<a href="'.concat(l,'" class="underline inline-flex items-center gap-1" target="_blank">').concat(t,'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="inline-block" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M21 3h-6m6 0l-9 9m9-9v6"/><path d="M21 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V5a2 2 0 012-2h6"/></svg></a>')})(t.url,a?a[3]:"")):"")}]},[])},{label:"Exhibition History",items:[...(null==C||null==(h=C.exhibitions)||null==(u=h.current)?void 0:u.map(e=>({description:e.description,opening_date:e.opening_date})))||[],...(null==C||null==(b=C.exhibitions)||null==(v=b.legacy)?void 0:v.map(e=>({description:(null==e?void 0:e.description)||e,opening_date:e.opening_date})))||[]].sort((e,t)=>(0,X.A)((0,Y.default)(new Date(e.opening_date))?new Date(e.opening_date):0,(0,Y.default)(new Date(t.opening_date))?new Date(t.opening_date):0))},{label:"Cite this Artwork",items:[{description:null==C?void 0:C.tombstone}]}],ed=null==eo?void 0:eo.map(e=>"Artist Biography"==e.label?{label:"Artist Biography",items:((null==e?void 0:e.items)||[]).filter(e=>null!=e.biography)}:e),ec=null==ed?void 0:ed.filter(e=>{var t;return(null==e||null==(t=e.items)?void 0:t.length)>0}),eu=(0,m.useCallback)(()=>{if(window){var e,t,l,a;let{scrollY:n}=window;(null==K?void 0:K.current)&&(null==K||null==(t=K.current)||null==(e=t.getBoundingClientRect())?void 0:e.height)+R/2-n<0&&M&&D(!1),!M&&(null==K?void 0:K.current)&&(null==K||null==(a=K.current)||null==(l=a.getBoundingClientRect())?void 0:l.height)+R/2-n>0&&D(!0)}},[M,R]),em=e=>-1!==z.findIndex(t=>e===t);(0,m.useEffect)(()=>{if(document){var e,t;(null==(e=document)?void 0:e.getElementsByTagName("header")[0])&&L(null==(t=document)?void 0:t.getElementsByTagName("header")[0].clientHeight)}return window.addEventListener("scroll",eu),()=>window.removeEventListener("scroll",eu)},[eu]);let eh=!!(null==C?void 0:C.current_location);return(0,a.jsxs)(U.A,{headerVariant:"white",isHeaderSticky:!F&&M,headerItems:f,mobileUtilityItems:y,footerItems:k,footerLocationItems:N,footerSponsors:A,children:[(0,a.jsxs)("div",{ref:K,className:"flex text-black flex-col md:flex-row md:sticky md:items-start",children:[(0,a.jsxs)("h1",{className:"sr-only",children:["Artwork Page for ",C.title]}),F&&(0,a.jsx)(W.A,{customBreadcrumb:ee,className:"pb-2 px-4"}),(0,a.jsx)(V,{artwork:C,modalState:$,closeModal:et,openModal:el}),(0,a.jsxs)(Z.Hg,{name:"artwork-details",id:"artwork-details-container",style:{width:F?"100%":G?"43.08%":"37.34%"},className:"px-4 pb-5 md:px-16 md:pb-0 md:overflow-y-scroll scrollbar-hide",children:[G&&(0,a.jsx)(W.A,{customBreadcrumb:ee,className:"md:pb-4"}),(0,a.jsxs)("h2",{className:"sr-only",children:["Details / Information for ",C.title," "]}),(0,a.jsx)(g.A,{artwork:C}),(0,a.jsx)(x.A,{alternateIndex:0,hasArtLensApp:eh,has3dModel:!!C.sketchfab_id,download3dModelUrl:C.sketchfab_url,accessionNumber:C.accession_number,isCopyrighted:"CC0"!=C.share_license_status,longTermLoan:"long-term loan"==C.legal_status,className:"sm:border-solid sm:border-0 sm:border-t sm:border-gray-300",showDownloadButton:!0,inModal:!1,url:window.location.href}),C.did_you_know&&(0,a.jsx)("div",{className:" relative mt-4 mb-8 bg-off-white p-4 z-10 before:content-[''] before:absolute before:top-12 before:-right-[0.5em] before:bottom-[-0.5em] before:w-2 before:bg-[#D3356E] before:-z-10 after:content-[''] after:absolute after:-bottom-2 after:left-6 after:-right-2 after:h-2 after:bg-[#D3356E] after:-z-10 ",children:(0,a.jsxs)("div",{className:"flex items-start gap-6",children:[(0,a.jsx)("div",{className:"flex-shrink-0 w-12 h-12 bg-pink-02 rounded-full flex items-center justify-center shadow-md",children:(0,a.jsx)("span",{className:"text-white font text-4xl font-medium translate-y-[1px]",children:"?"})}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)(w.A,{className:"text-lg text-black",headingClassName:"!mb-1 md:!mb-1",variant:"h4",containerClassName:"!max-w-full !mb-1 md:!mb-1",label:"Did You Know?"}),(0,a.jsx)("span",{className:"body-1-tight mdlg:body-2-tight text-black",dangerouslySetInnerHTML:{__html:C.did_you_know}})]})]})}),C.description&&(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(w.A,{className:"row",variant:"h3",containerClassName:"!max-w-full",label:"Description",children:(0,a.jsx)("span",{className:"body-1-tight mdlg:body-2-tight text-grey-05",dangerouslySetInnerHTML:{__html:C.description}})})}),ec.length>0&&(0,a.jsx)("div",{role:"list",className:"list-none outline-none mt-6",ref:q,children:ec.map((e,t)=>(0,a.jsx)(Z.Hg,{role:"listitem",className:(0,_.A)("border-t last-of-type:border-b xsm:py-3 md:py-6",em(t+1)&&"pb-0"),style:{borderTopColor:"#C8C8C8",borderBottomColor:t===ec.length-1?"#C8C8C8":"transparent"},name:"accordion-".concat(t+1),children:(0,a.jsxs)(n.A,{onClick:()=>(e=>{em(e)?O(z.filter(t=>t!==e)):O(t=>[...t,e]),F||setTimeout(()=>{var t;
1(0,j.YG)(H.current)||window.innerHeight+(Z.XG.get("accordion-".concat(e)).getBoundingClientRect().top-R)>(null==(t=H.current)?void 0:t.getBoundingClientRect().top)?Z.Nk.scrollTo(Z.XG.get("artwork-details-container").offsetHeight-window.innerHeight+R,{duration:750,behavior:"smooth",isDynamic:!0}):Z.Nk.scrollMore(Z.XG.get("accordion-".concat(e)).getBoundingClientRect().top-R,{duration:750,behavior:"smooth",isDynamic:!0})},550)})(t+1),isOpened:em(t+1),label:e.label,labelClassName:"!border-0 !pb-0 xsm:text-16 md:text-20 lg:text-24 xsm:leading-[110%] md:leading-[130%] -tracking-[0.01em] font-medium font-serif",buttonClassName:"!h-auto relative",sectionClassName:"!px-0",buttonProps:{removePaddingX:!0,suffixClassname:"md:ml-4 xsm:text-16 md:text-[2rem] absolute right-1 md:right-0 !text-blue-03"},children:["Videos"===e.label?(0,a.jsx)(Q,{videos:C.secondary_assets.videos}):(0,a.jsx)(r.A,{accordionItems:null==e?void 0:e.items,provenanceFootnotes:er}),"Provenance"===e.label&&er.length>0&&(0,a.jsxs)("div",{className:"py-8",children:[(0,a.jsx)("span",{className:"xsm:text-16 md:text-20 xsm:leading-[110%] md:leading-[130%] -tracking-[0.01em] font-serif font-medium",children:"Provenance Footnotes"}),er.map((e,t)=>(0,a.jsxs)("div",{className:"py-8 border-b-grey-1 last-of-type:border-b-0 border-solid border-b text-grey-05",children:[(0,a.jsxs)("span",{className:"align-super",children:[t+1," "]}),(0,a.jsx)("span",{className:"body-2-tight",dangerouslySetInnerHTML:{__html:J()(e[0],{allowedTags:[]})}})]},t))]})]})},"".concat(e.label,"--").concat(t)))})]})]}),(0,a.jsx)(B,{ref:H,contactUsData:S,artwork:C,shopifyItems:P,artworksForSeeAlso:T,relatedContentData:I,promoBannerData:E,scrollTop:()=>{var e,t;Z.XG.get("artwork-details-container").scrollTo({top:0}),Z.Nk.scrollToTop(),null==(e=document.getElementById("artwork-details-container"))||e.setAttribute("tabindex","-1"),null==(t=document.getElementById("artwork-details-container"))||t.focus()}}),(0,a.jsx)(p,{images:"additional-views"===$.type?ei:es,isOpen:$.isOpen,onClose:et,modalType:$.type,modalState:$,navigateToImage:ea,backToGrid:en,conservationStatement:null==C?void 0:C.conservation_statement,artworkData:C},$.type)]})};var el=!0;let ea=e=>{var t,l,n,r,i,s,o,d,c;let{headerItems:u,footerItems:m,footerLocationItems:h,footerSponsors:p,artworkData:g,contactUsData:x,artworksForSeeAlso:v,relatedContentData:b,promoBannerData:f,mobileUtilityItems:w,shopifyItems:y,accession_number:j}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(K.bV,{title:"".concat(g.title," | Cleveland Museum of Art"),description:g.description,openGraph:{images:[{url:(null==g||null==(n=g.image_assets)||null==(l=n.primary_image)||null==(t=l.web)?void 0:t.url)||"",width:+((null==g||null==(s=g.image_assets)||null==(i=s.primary_image)||null==(r=i.web)?void 0:r.width)||0),height:+((null==g||null==(c=g.image_assets)||null==(d=c.primary_image)||null==(o=d.web)?void 0:o.height)||0)}]},additionalMetaTags:[{name:"last-updatedon",content:null==g?void 0:g.updated_at}]}),(0,a.jsx)(et,{headerItems:u,footerItems:m,shopifyItems:y,mobileUtilityItems:w,footerLocationItems:h,footerSponsors:p,artworkData:g,contactUsData:x,artworksForSeeAlso:v,relatedContentData:b,promoBannerData:f,accession_number:j},j)]})}},81477:(e,t,l)=>{"use strict";l.d(t,{A:()=>u});var a=l(37876),n=l(41244),r=l(9365),i=l(96165),s=l(60509),o=l(77379),d=l(14232),c=l(15282);let u=e=>{let{accessionNumber:t,alternateIndex:l,setOpen:u,has3dModel:m,download3dModelUrl:h,showMetadataDownload:p=!0}=e,{isDesktop:g}=(0,r.Ay)(),x=(0,d.useCallback)(e=>{let a=document.createElement("a");a.href="".concat("https://co-api-internal.clevelandart.org","/api/collectiononline/").concat(e,"/").concat(t).concat(((e,t)=>("jpeg_and_caption"===e||"tiff"===e)&&null!==t&&t>0?"?alternate=".concat(t-1):"")(e,l)),a.download="".concat(t,".").concat((e=>{switch(e){case"metadata":return"txt";case"jpeg_and_caption":return"zip";case"tiff":return"tiff";default:return""}})(e)),a.click(),u(!1)},[t,l,u]);return(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-3 bg-white",children:[(0,a.jsxs)("div",{className:"body-2 md:!text-18 w-[13.125rem] md:w-[19.5rem]",children:["This image is in the public domain.",(0,a.jsx)("br",{})," You can use it however you want.",(0,a.jsx)("br",{}),"Read more about"," ",(0,a.jsx)(c.A,{className:"!underline underline-offset-2 decoration-1",href:"/open-access",children:"Open Access"}),"."]}),(0,a.jsxs)("ul",{"aria-labelledby":"share-button-vertical",className:"list-none text-black flex flex-col gap-6 font-bold !leading-6",children:[(0,a.jsx)("li",{children:(0,a.jsx)(n.Ay,{variant:"white-borderless",id:"download-jpeg-button",classNames:"gap-1 !px-0 !h-auto !justify-start hover:underline w-full md:!text-18",prefixClassname:"!pr-0 !mr-0 md:text-16",onPress:()=>x("jpeg_and_caption"),prefix:(0,a.jsx)(i.A,{width:g?"1.5rem":"1rem",he
1ight:g?"1.5rem":"1rem"}),size:"slim",children:"JPEG and caption"})}),(0,a.jsx)("li",{children:(0,a.jsx)(n.Ay,{variant:"white-borderless",id:"download-tiff-button",classNames:"gap-1 !px-0 !h-auto !justify-start hover:underline w-full md:!text-18",prefixClassname:"!pr-0 !mr-0 md:text-16",onPress:()=>x("tiff"),prefix:(0,a.jsx)(i.A,{width:g?"1.5rem":"1rem",height:g?"1.5rem":"1rem"}),size:"slim",children:"High-resolution TIFF"})}),p&&(0,a.jsx)("li",{children:(0,a.jsx)(n.Ay,{variant:"white-borderless",classNames:"gap-1 !px-0 !h-auto !justify-start hover:underline w-full md:!text-18",prefixClassname:"!pr-0 !mr-0 md:text-16",onPress:()=>x("metadata"),prefix:(0,a.jsx)(i.A,{width:g?"1.5rem":"1rem",height:g?"1.5rem":"1rem"}),size:"slim",id:"download-metadata-button",children:"Download metadata only"})}),m&&(0,a.jsx)("li",{children:(0,a.jsxs)(n.Ay,{variant:"white-borderless",classNames:"gap-1 !px-0 !h-auto !justify-start hover:underline w-full md:!text-18",id:"download-3d-button",prefixClassname:"!pr-0 !mr-0 md:text-16",href:"".concat(h,"#download"),target:"_blank",prefix:(0,a.jsx)(i.A,{width:g?"1.5rem":"1rem",height:g?"1.5rem":"1rem"}),suffix:(0,a.jsx)(s.A,{width:g?"1.5rem":"1rem",height:g?"1.5rem":"1rem"}),size:"slim",children:["Download 3d Model",(0,a.jsx)("span",{className:"sr-only",children:"\xa0(opens in new tab)"})]})}),(0,a.jsx)("li",{children:(0,a.jsx)(n.Ay,{variant:"white-borderless",classNames:"gap-1 !px-0 !h-auto !justify-start hover:underline w-full md:!text-18",prefixClassname:"!pr-0 !mr-0 md:text-16",onPress:()=>u(!1),prefix:(0,a.jsx)(o.A,{width:g?"1.5rem":"1rem",height:g?"1.5rem":"1rem"}),size:"slim",children:"Close"})})]})]})}}},e=>{e.O(0,[3241,2867,9350,9357,6545,1492,1756,4903,636,6593,8792],()=>e(e.s=72116)),_N_E=e.O()}]);

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.