PageSourceSearch

https://www.myartbroker.com/_next/static/chunks/641.dc2559d01803dac2.js

js myartbroker.com collected 2026-10-02 05:38:18 UTC 4,450 bytes, 2 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f45b0314-e55b-404f-8244-44e12732b18f",e._sentryDebugIdIdentifier="sentry-dbid-f45b0314-e55b-404f-8244-44e12732b18f")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[641],{26462:e=>{e.exports={catalogueWrapper:"Catalogue_catalogueWrapper__UFY5v",section:"Catalogue_section__MLQ0Y",sectionTitle:"Catalogue_sectionTitle__ebHKY",catalogueLinks:"Catalogue_catalogueLinks__OF49e",catalogueLink:"Catalogue_catalogueLink__v3Ew5",catalogueItem:"Catalogue_catalogueItem__ohB2R"}},80641:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>_});var l=a(6029),n=a(55729),i=a(81278),o=a(90748),s=a(32988),r=a.n(s),u=a(14137),c=a(58339),d=a(80934),f=a(99329),v=a(97489),g=a(91105),m=a(26462),p=a.n(m);let h=o.indexes.RecordTypes;function _(e){let{items:t,renderImages:a,type:o=u.pd.Artist,showNumberOfWorks:s=!0,onClick:m,insightsQueryID:_,className:b,testID:w,searchInsightsEvent:C,isActiveConditional:k,recordType:y,shallowOverride:T,closeParentMenu:I,orderBySurname:x=!1,customClickHandler:L,multipleActive:A,testAttrItems:z}=e,{closeMobileNavigation:E}=(0,d.s)(),N=x?(0,g.d)(t,"name"):(0,v.Cd)(t,"name"),j=(0,i.useRouter)(),D=[],R=0;null==N||N.map(e=>{var t,a;let l=x?(0,v.Vz)(null===(t=(0,v.TU)(e.name))||void 0===t?void 0:t.toLowerCase()):(0,v.Vz)(null===(a=(0,v.Zx)(e.name))||void 0===a?void 0:a.toLowerCase());if(!D.some(function(e){return e.section===l})){let e=[];N.map((t,a)=>{var n,i;l===(x?(0,v.Vz)(null===(n=(0,v.TU)(t.name))||void 0===n?void 0:n.toLowerCase()):(0,v.Vz)(null===(i=(0,v.Zx)(t.name))||void 0===i?void 0:i.toLowerCase()))&&e.push({...t,index:a+1})}),D[R]={section:l,items:e},R++}});let S=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],V=(0,n.useRef)([]),[U,W]=(0,n.useState)([]);(0,n.useEffect)(()=>{let e=[];S.map(t=>{let a=D.findIndex(e=>{var a;return(null===(a=e.section)||void 0===a?void 0:a.toLowerCase())===(null==t?void 0:t.toLowerCase())});e.push((0,l.jsx)("button",{className:p().catalogueLink,onClick:()=>{null==m||m(t),V.current[a].scrollIntoView({behavior:"smooth"})},"data-testid":w&&"catalougue-link-".concat(w),disabled:!(a>-1),children:(0,l.jsx)(c.default,{size:c.TextSizes.primaryTitleSml,children:t})},t))}),W(e)},[V]);let Y=e=>{if(y===h.ARTICLES)return k===e.slug?"/articles":"/artist-".concat(e.slug,"/articles")},Z=e=>{if(A){var t;return(null===(t=A.find(t=>t.id==e._id))||void 0===t?void 0:t.checked)||!1}return!!k&&k===e.slug},B=(0,n.useCallback)((e,t)=>{L(e,t)},[A]);return(0,l.jsxs)("nav",{className:r()(p().catalogueWrapper,b&&b),"data-testid":w,children:[(0,l.jsx)("div",{className:p().catalogueLinks,children:U.map(e=>e)}),D.map(e=>{var t;return(0,l.jsxs)("div",{ref:e=>{V.current.push(e)},"data-testid":w&&"section-".concat(w),className:p().section,children:[(0,l.jsx)(c.default,{Tag:"h4",size:c.TextSizes.primaryTitleMed,className:p().sectionTitle,children:e.section}),null===(t=e.items)||void 0===t?void 0:t.map((e,t)=>(0,l.jsx)(u.Ay,{...e,testAttr:z,name:x?(0,f.w)(null==e?void 0:e.name):e.name,showNumberOfWorks:s,type:o,inline:!0,renderImage:a,countType:y===h.ARTICLES?"articles":void 0,totalArtworks:y===h.ARTICLES?e.totalArticles:e.totalArtworks,isActive:Z(e),overrideUrl:Y(e),clickHandler:t=>{if(T){t.preventDefault();let a=Y(e);j.push(a,void 0,{shallow:!0}),window.scrollTo({top:0,behavior:"smooth"})}L&&(B(e._id,e.slug),t.preventDefault()),null==E||E(),null==I||I()},className:p().catalogueItem,smallImage:!0,insightsQueryID:_,searchInsightsEvent:C,recordType:y,noPrefetch:!0,fallBackToInitials:!0},"".concat(e.name,"-").concat(t)))]},e.section)})]})}},97489:(e,t,a)=>{"use strict";function l(e){var t;return null!==(t=e.split(" ")[0])&&void 0!==t?t:""}function n(e){return e.replace(/^[\s,.]+|[\s,.]+$/g,"")}a.d(t,{Cd:()=>i,TU:()=>o,Vz:()=>s,Zx:()=>l});let i=(e,t)=>Array.isArray(e)&&0!==e.length?null==e?void 0:e.sort((e,a)=>{var i,o;let s=null!==(i=e[t])&&void 0!==i?i:"",r=null!==(o=a[t])&&void 0!==o?o:"",u=n(l(s)),c=n(l(r));return u.localeCompare(c)}):[];function o(e){if(null==e||""===e.trim())return"";let t=e.split(" ");return t[t.length-1]}function s(e){return"‘"===e.charAt(0)?e.charAt(1):e.charAt(0)}}}]);
2//# sourceMappingURL=641.dc2559d01803dac2.js.map

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.