PageSourceSearch

https://www.riseart.com/fe/assets/List-CPl1LFaD.js

js riseart.com collected 2026-09-24 18:18:25 UTC 12,523 bytes, 49 lines download raw bytes

1import{j as t,e as W,k as O}from"./vendor-antd-BBP9elV-.js";import{c as z,bl as B,aC as H,U as G,cn as J,aA as X,K as Y,g as Z,M as ee,N as ie,Q as ne,u as te,V as ae,d as se,co as oe,W as q,cp as le,S as re}from"./index-DRcpVgJh.js";import{r as V,d as I}from"./vendor-redux-KLK4bked.js";import{M as Q}from"./vendor-intl-BdRQ4zCJ.js";import{y as me,M as _,ah as de,n as ce,a5 as ue,D as pe,H as fe}from"./ra-packages-common-CvkwZ4BT.js";import{a as ve}from"./Breadcrumbs-DP4vJUbh.js";import{F as ge}from"./Section-TqGqQmZ2.js";import{s as ke,C as he,a as Fe}from"./Module-61fkTz0Q.js";import{s as ye,a as Se}from"./filter-B8X1ULlf.js";import{a as Ne,f as xe,h as Ce}from"./Columns-CaMGKbTL.js";import{F as je}from"./GridLayout-CkWMq21v.js";import{P as be}from"./Pagination-CwuQelDN.js";import{f as Pe,F as we,b as Me}from"./Sidebar-BJm66IhM.js";import{d as De}from"./author-BOx8bWnn.js";import{a as Le}from"./vendor-router-qVASvVEu.js";import"./vendor-react-fAf-fo_p.js";import"./ra-packages-feutils-BT9hW3Hl.js";import"./vendor-hashbase-DgZ-AY2q.js";import"./vendor-misc-1-GGAxc6aE.js";import"./ra-packages-icons-CuBFMsoF.js";import"./react-intersection-observer-Cu_qKbcA.js";import"./vendor-apollo-CkY1D5Bj.js";import"./vendor-sentry-browser-BvxBMkSh.js";import"./vendor-react-markdown-DTBd1y6J.js";import"./vendor-micromark-D3BnM3h_.js";import"./Breadcrumbs-DgDCuy41.js";import"./utils-C1Of0bqB.js";import"./collectionArt-B-El5KOT.js";import"./Menu-CxOfyG1i.js";import"./Fluid-e_qs3yFu.js";import"./AddCartItem-CHLmtHxs.js";import"./Article-Bz8gQEj0.js";import"./Enquire-NmcL-1xw.js";import"./Boxes-B7Ez9Qyf.js";import"./withTranslatedRouter-BRXAb2J2.js";import"./subscribe-C1Rt_TWh.js";import"./Grid-CYzNaFpa.js";import"./filterArt-DpR-MnLB.js";import"./Follow-DfVBUE9H.js";import"./Share-BTLZcKRl.js";import"./useGridSort-CIosFjqk.js";import"./Shortcuts-CPRk1z-k.js";import"./StickyGridHeader-CnsKlbY1.js";const Ee="ra-collection-grid";function Te(i){const e=z.c(19),{isLoading:n,items:a,pageUrl:o,paginationType:s,pagination:m,filters:r}=i,l=n===void 0?!1:n;let v;e[0]!==a?(v=a===void 0?[]:a,e[0]=a,e[1]=v):v=e[1];const d=v,S=V.useRef(null);let g;e[2]===Symbol.for("react.memo_cache_sentinel")?(g=()=>pe(S,50),e[2]=g):g=e[2];const k=g;let c;e[3]!==d?(c=d&&d.map(_e),e[3]=d,e[4]=c):c=e[4];let f;e[5]!==c?(f=t.jsx(Ce,{columnCount:"1",children:c}),e[5]=c,e[6]=f):f=e[6];let u;e[7]!==d||e[8]!==o||e[9]!==m||e[10]!==s?(u=d&&d.length>0&&t.jsx(Ne,{children:t.jsx(be,{...m,paginationType:s,pageUrl:o,beforeChange:k,children:Ie})}),e[7]=d,e[8]=o,e[9]=m,e[10]=s,e[11]=u):u=e[11];let p;e[12]!==l||e[13]!==f||e[14]!==u?(p=t.jsxs(Y,{className:Pe,isActive:l,children:[f,u]}),e[12]=l,e[13]=f,e[14]=u,e[15]=p):p=e[15];let h;return e[16]!==r||e[17]!==p?(h=t.jsx("div",{className:Ee,ref:S,children:t.jsx(je,{...r,children:p})}),e[16]=r,e[17]=p,e[18]=h):h=e[18],h}function Ie(i){return t.jsx(ue,{...i})}function _e(i,e){const n=B.collectionImage(i.images),a=n?t.jsx(H,{type:"list.common",artDirectionKey:"collection.main",image:n,alt:i.name,lazyload:e?{once:!0,height:"100%",offset:200,placeholder:t.jsx(me,{height:"100%"})}:null}):null,o=i.author&&G.authorDetail(i.author.type,i.author.typeId,i.author.typeAlias);return t.jsx(xe,{columnCount:"1",children:t.jsx(J,{link:{to:G.collectionDetail(i.id,i.slug)},name:i.name,description:i.summary,bottomContent:t.jsx(X,{images:i.author.avatars,name:i.author.fullName,children:t.jsx(Q,{id:"components.collections.curator_text",values:{name:o?t.jsx(ce,{type:"strong",to:o,title:i.author.fullName,children:i.author.fullName}):t.jsx("strong",{children:i.author.fullName}),curatorText:""}})}),children:n&&t.jsxs(_,{minWidth:0,children:[t.jsx(_,{maxWidth:W,children:a}),t.jsx(_,{minWidth:O,children:t.jsx(de,{children:a})})]})})},i.slug)}const Re=[{key:"medium",items:[{dimension:"medium",componentKey:"mediumChecklist"}]},{key:"style",items:[{dimension:"style",componentKey:"styleChecklist"}]},{key:"subject",items:[{dimension:"subject",componentKey:"subjectChecklist"}]}],ze=[{dimension:"medium",componentKey:"mediumShortcut"},{dimension:"style",componentKey:"styleShortcut"},{dimension:"subject",componentKey:"subjectShortcut"}];var F={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"filterCollection"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"inputCollectionFilter"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InputCollectionFilter"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"filterCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"inputCollectionFilter"},value:{kind:"Variable",name:{kind:"Name",value:"inputCollectionFilter"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"summary"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"author"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AuthorFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"public"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mimeType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"extension"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"size"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"active"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parentId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"children"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"public"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mimeType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"extension"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"size"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"active"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"pagination"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PaginationInfoFragment"},directives:[]}]}}]}}]}}],loc:{start:0,end:857}};F.loc.source={body:`#import "../../fragments/common/author.graphql"
2#import "../../fragments/common/paginationInfo.graphql"
3
4query filterCollection($inputCollectionFilter: InputCollectionFilter!) {
5  filterCollection(inputCollectionFilter: $inputCollectionFilter) {
6    items {
7      id
8      status
9      slug
10      name
11      description
12      summary
13      author {
14        ...AuthorFragment
15      }
16      images {
17        id
18        status
19        public
20        mimeType
21        key
22        extension
23        size
24        width
25        height
26        type
27        active
28        parentId
29        children {
30          id
31          status
32          public
33          mimeType
34          key
35          extension
36          size
37          width
38          height
39          type
40          active
41        }
42      }
43    }
44    pagination {
45      ...PaginationInfoFragment
46    }
47  }
48}
49`,name:"GraphQL request",locationOffset:{line:1,column:1}};var A={};function U(i){return i.filter(function(e){if(e.kind!=="FragmentDefinition")return!0;var n=e.name.value;return A[n]?!1:(A[n]=!0,!0)})}F.definitions=F.definitions.concat(U(De.definitions));F.definitions=F.definitions.concat(U(Z.definitions));function T(i,e){if(i.kind==="FragmentSpread")e.add(i.name.value);else if(i.kind==="VariableDefinition"){var n=i.type;n.kind==="NamedType"&&e.add(n.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(a){T(a,e)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(a){T(a,e)}),i.definitions&&i.definitions.forEach(function(a){T(a,e)})}var R={};(function(){F.definitions.forEach(function(e){if(e.name){var n=new Set;T(e,n),R[e.name.value]=n}})})();function K(i,e){for(var n=0;n<i.definitions.length;n++){var a=i.definitions[n];if(a.name&&a.name.value==e)return a}}function Ge(i,e){var n={kind:i.kind,definitions:[K(i,e)]};i.hasOwnProperty("loc")&&(n.loc=i.loc);var a=R[e]||new Set,o=new Set,s=new Set;
49for(a.forEach(function(r){s.add(r)});s.size>0;){var m=s;s=new Set,m.forEach(function(r){if(!o.has(r)){o.add(r);var l=R[r]||new Set;l.forEach(function(v){s.add(v)})}})}return o.forEach(function(r){var l=K(i,r);l&&n.definitions.push(l)}),n}Ge(F,"filterCollection");const{SLIDER:$}=ne.type,qe=5;function Ae(i){const e=z.c(32),{domain:n,paginationType:a}=i,o=te();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=Fe("cmsCollectionsSlider"),e[0]=s):s=e[0];const m=I(s),r=I(ke),{filters:l,page:v}=I(ye(n),Se)||{},{pageUrl:d}=Me(),S=!o,g=ae({items:qe,page:v,...l},o);let k;e[1]!==g?(k={inputCollectionFilter:g},e[1]=g,e[2]=k):k=e[2];let c;e[3]!==S||e[4]!==k?(c={skip:S,variables:k},e[3]=S,e[4]=k,e[5]=c):c=e[5];const{loading:f,data:u}=se(F,c);let p;e[6]!==u?(p=u&&u.filterCollection||{},e[6]=u,e[7]=p):p=e[7];const{items:h,pagination:y}=p,P=!!(v===1&&(m||r));let N;e[8]!==l?(N=l?{medium:l.medium,style:l.style,subject:l.subject}:{},e[8]=l,e[9]=N):N=e[9];let w;e[10]===Symbol.for("react.memo_cache_sentinel")?(w=["medium","style","subject"],e[10]=w):w=e[10];let M;e[11]!==n||e[12]!==N?(M=t.jsx(ve,{filterDomain:n,filters:N,config:w}),e[11]=n,e[12]=N,e[13]=M):M=e[13];const D=M;let x;e[14]!==D||e[15]!==P?(x=P?t.jsxs("div",{className:oe,children:[t.jsx(q,{sizes:"wide",children:D}),t.jsx(he,{placeholder:"cmsCollectionsSlider"})]}):t.jsxs(ge,{component:V.Fragment,...P?{background:null,className:le}:null,children:[D,t.jsx(fe,{tag:"h1",level:"2",align:"center",children:t.jsx(Q,{id:"components.collections.list_title",children:Ke})})]}),e[14]=D,e[15]=P,e[16]=x):x=e[16];let L;e[17]===Symbol.for("react.memo_cache_sentinel")?(L={xs:"wide",sm:"wide",md:"wide",lg:"narrow",xl:"narrow"},e[17]=L):L=e[17];let C;e[18]!==n?(C={domain:n,sidebarModel:Re,shortcutsModel:ze},e[18]=n,e[19]=C):C=e[19];let j;e[20]!==y?(j=y?{totalPages:y.totalPages,total:y.totalItems,pageSize:y.itemsPerPage,current:y.currentPage}:{},e[20]=y,e[21]=j):j=e[21];let b;e[22]!==h||e[23]!==f||e[24]!==d||e[25]!==a||e[26]!==C||e[27]!==j?(b=t.jsx(re,{padding:"none",children:t.jsx(q,{sizes:L,children:t.jsx(Te,{isLoading:f,pageUrl:d,paginationType:a,filters:C,pagination:j,items:h})})}),e[22]=h,e[23]=f,e[24]=d,e[25]=a,e[26]=C,e[27]=j,e[28]=b):b=e[28];let E;return e[29]!==x||e[30]!==b?(E=t.jsxs(t.Fragment,{children:[x,b]}),e[29]=x,e[30]=b,e[31]=E):E=e[31],E}function Ke(i){return i}function Li(i){const e=z.c(8),n=Le(),{translatedLocation:a}=ee(),o=ie.domain[i.routeConfig.filterDomainKey];let s;e[0]!==o||e[1]!==n?(s=t.jsx(Ae,{domain:o,paginationType:$,match:n}),e[0]=o,e[1]=n,e[2]=s):s=e[2];let m;return e[3]!==o||e[4]!==a||e[5]!==n||e[6]!==s?(m=t.jsx(we,{match:n,location:a,paginationType:$,domain:o,children:s}),e[3]=o,e[4]=a,e[5]=n,e[6]=s,e[7]=m):m=e[7],m}export{Li as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.