1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{5301:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return r(4854)}])},8529:function(e,t,r){"use strict";r.d(t,{x:function(){return a}});var n=r(5893),o=r(8644),i=r(5562),a=function(e){var t=e.name,r=e.slug,a=e.image;return(0,n.jsxs)(o.Z,{href:"/artists/".concat(r),className:"group relative block w-full cursor-pointer overflow-hidden",children:[(0,n.jsx)("div",{className:"relative grayscale duration-300 group-hover:scale-110",children:(0,n.jsx)(i.Z,{src:a,alt:t,className:"block w-full",imgixParams:{ar:"5:3"}})}),(0,n.jsx)("div",{className:"absolute bottom-10 w-10/12 max-w-[400px] bg-black bg-opacity-50 duration-200 hover:bg-opacity-75 lg:w-1/2",children:(0,n.jsx)("span",{className:"inline-block p-4 text-xl font-bold text-white",children:t})})]})}},5562:function(e,t,r){"use strict";var n=r(5893),o=(r(7294),r(4915)),i=r(3073);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){a(e,t,r[t])}))}return e}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}t.Z=function(e){var t=e.src,r=void 0===t?"":t,a=e.imgixParams,l=c(e,["src","imgixParams"]),s=i.Z.mediaUrls.s3.reduce((function(e,t){return e.replace(t,i.Z.mediaUrls.imgix)}),r),f={disableLibraryParam:!0,aggressiveLoad:!0,imgixParams:{auto:"compress,format",fit:"crop",crop:"focalpoints,faces,edges"}};return l.width&&(f.defaultWidth=l.width),l.height&&(f.defaultHeight=l.height),(0,n.jsx)(o.ZP,u({src:s},f,l,{imgixParams:u({},f.imgixParams,a)}))}},4854:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return F}});var n=r(5893),o=r(7294),i=r(7283),a=r(3056),u=r(655),c=r(4735),l=r(8868);function s(){var e=(0,o.useRef)(!1);return(0,l.L)((function(){return e.current=!0,function(){e.current=!1}}),[]),e}var f=r(240),d=r(6681),m=r(6316),p=function(e){var t=e.children,r=e.initial,n=e.isPresent,i=e.onExitComplete,a=e.custom,c=e.presenceAffectsLayout,l=(0,d.h)(b),s=(0,m.M)(),p=(0,o.useMemo)((function(){return{id:s,initial:r,isPresent:n,custom:a,onExitComplete:function(e){var t,r;l.set(e,!0);try{for(var n=(0,u.XA)(l.values()),o=n.next();!o.done;o=n.next()){if(!o.value)return}}catch(a){t={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}null===i||void 0===i||i()},register:function(e){return l.set(e,!1),function(){return l.delete(e)}}}}),c?void 0:[n]);return(0,o.useMemo)((function(){l.forEach((function(e,t){return l.set(t,!1)}))}),[n]),o.useEffect((function(){!n&&!l.size&&(null===i||void 0===i||i())}),[n]),o.createElement(f.O.Provider,{value:p},t)};function b(){return new Map}var v=r(5364),g=r(5411),h=function(e){return e.key||""};var y=function(e){var t=e.children,r=e.custom,n=e.initial,i=void 0===n||n,a=e.onExitComplete,f=e.exitBeforeEnter,d=e.presenceAffectsLayout,m=void 0===d||d,b=(0,u.CR)(function(){var e=s(),t=(0,u.CR)((0,o.useState)(0),2),r=t[0],n=t[1],i=(0,o.useCallback)((function(){e.current&&n(r+1)}),[r]);return[(0,o.useCallback)((function(){return c.ZP.postRender(i)}),[i]),r]}(),1),y=b[0],x=(0,o.useContext)(v.p).forceRender;x&&(y=x);var w=s(),j=function(e){var t=[];return o.Children.forEach(e,(function(e){(0,o.isValidElement)(e)&&t.push(e)})),t}(t),E=j,k=new Set,O=(0,o.useRef)(E),P=(0,o.useRef)(new Map).current,N=(0,o.useRef)(!0);if((0,l.L)((function(){N.current=!1,function(e,t){e.forEach((function(e){var r=h(e);t.set(r,e)}))}(j,P),O.current=E})),(0,g.z)((function(){N.current=!0,P.clear(),k.clear()}
1)),N.current)return o.createElement(o.Fragment,null,E.map((function(e){return o.createElement(p,{key:h(e),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:m},e)})));E=(0,u.ev)([],(0,u.CR)(E),!1);for(var S=O.current.map(h),A=j.map(h),C=S.length,L=0;L<C;L++){var R=S[L];-1===A.indexOf(R)&&k.add(R)}return f&&k.size&&(E=[]),k.forEach((function(e){if(-1===A.indexOf(e)){var t=P.get(e);if(t){var n=S.indexOf(e);E.splice(n,0,o.createElement(p,{key:h(t),isPresent:!1,onExitComplete:function(){P.delete(e),k.delete(e);var t=O.current.findIndex((function(t){return t.key===e}));if(O.current.splice(t,1),!k.size){if(O.current=j,!1===w.current)return;y(),a&&a()}},custom:r,presenceAffectsLayout:m},t))}}})),E=E.map((function(e){var t=e.key;return k.has(t)?e:o.createElement(p,{key:h(e),isPresent:!0,presenceAffectsLayout:m},e)})),o.createElement(o.Fragment,null,k.size?E:E.map((function(e){return(0,o.cloneElement)(e)})))},x=r(7592),w=r(8529),j=r(6010),E=r(8644),k=function(e){var t=e.children,r=e.href,o=e.className;return(0,n.jsx)(E.Z,{href:r,className:(0,j.Z)("inline-flex rounded bg-[#f00b8f] px-12 py-3 font-bold text-white ring-white duration-200 hover:bg-[#be0973] focus:outline-none focus:ring-2",o),children:t})},O=r(3417),P=r(4175),N=r(5697),S=r.n(N),A=r(3073);function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function L(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(c){u=!0,o=c}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return C(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return C(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var R=[];function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(c){u=!0,o=c}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Z(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Z(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(){var e=_(o.useState(null),2),t=e[0],r=e[1],n=_(function(e){var t=L(o.useState({loaded:!1,error:!1}),2),r=t[0],n=t[1];return o.useEffect((function(){if(!R.includes(e)){R.push(e);var t=document.createElement("script");t.src=e,t.async=!0;var r=function(){n({loaded:!0,error:!1})},o=function(){var r=R.indexOf(e);r>=0&&R.splice(r,1),t.remove(),n({loaded:!0,error:!0})};return t.addEventListener("load",r),t.addEventListener("error",o),document.body.appendChild(t),function(){t.removeEventListener("load",r),t.removeEventListener("error",o)}}n({loaded:!0,error:!1})}),[e]),[r.loaded,r.error]}("https://sdks.shopifycdn.com/buy-button/latest/buy-button-storefront.min.js"),1),i=n[0];return o.useEffect((function(){if(i){var e=window.ShopifyBuy.buildClient(A.Z.shopify);window.ShopifyBuy.UI.onReady(e).then((function(e){return r(e)}))}}),[i]),t}var z=function(e){var t=e.as,r=e.id,i=e.moneyFormat,a=e.options,u=e.className,c=I(),l=(0,o.useRef)(null);return(0,o.useEffect)((function(){l.current&&c&&c.createComponent("collection",{node:l.current,id:r,moneyFormat:i,options:a})}),[c,l.current]),(0,n.jsx)(t,{ref:l,className:u})};z.propTypes={id:S().string.isRequired,moneyFormat:S().string,options:S().object,as:S().oneOfType([S().string,S().func]),className:S().string},z.defaultProps={moneyFormat:"%24%7B%7Bamount%7D%7D",options:{},as:"div",className:""};var T=r(5562),U=r(7386);function M(){var e,t,r=(e=['\n query GetHomepageData {\n portfolioList(site: "rhr", limit: 4, featured: true, sort: "title") {\n id\n title\n slug\n featuredImage {\n sourceUrl\n altText\n }\n }\n\n roundHillRecordsSettings {\n options {\n banners {\n title\n description\n image {\n sourceUrl\n altText\n }\n buttonlabel\n buttonurl\n }\n }\n }\n }\n'],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return M=function(){return r},r}var B=(0,i.Ps)(M()),F=function(){var e=(0,a.a)(B).data,t=null===e||void 0===e?void 0:e.portfolioList,r=null===e||void 0===e?void 0:e.roundHillRecordsSettings.options.banners,i=(0,o.useState)(0),u=i[0],c=i[1];return(0,o.useEffect)((function(){var e,t=null!==(e=null===r||void 0===r?void 0:r.length)&&void 0!==e?e:0;if(!(t<2)){var n=setTimeout((function(){return c(u===t-1?0:u+1)}),6e3);return function(){return clearTimeout(n)}}}),[r,u]),e?(0,n.jsxs)(O.A,{children:[(0,n.jsx)(U.Z,{}),(0,n.jsx)(P.W,{className:"mt-12 md:mt-16",children:(0,n.jsx)(y,{exitBeforeEnter:!0,children:r.map((function(e,t){return t!==u?null:(0,n.jsx)(x.E.section,{className:"relative pb-[62%]",initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},children:(0,n.jsx)("div",{className:"absolute inset-0",children:(0,n.jsx)("div",{className:"absolute inset-0 z-10 bg-black",children:(0,n.jsx)(E.Z,{href:e.buttonurl,children:(0,n.jsx)(T.Z,{src:e.image.sourceUrl,alt:"",imgixParams:{ar:"3:2"},className:"h-full w-full object-cover object-center opacity-80"})})})})},e.title)}))})}),(0,n.jsxs)(P.W,{className:"my-12 md:my-20",children:[(0,n.jsx)("div",{className:"my-12 grid grid-cols-1 gap-6 md:grid-cols-2",children:t.map((function(e){var t;return(0,n.jsx)(w.x,{name:e.title,image:null===(t=e.featuredImage)||void 0===t?void 0:t.sourceUrl,slug:e.slug},e.slug)}))}),(0,n.jsx)("div",{className:"mt-8 text-center",children:(0,n.jsx)(k,{href:"/artists",children:"View all our artists"})})]}),(0,n.jsx)("section",{className:"relative mt-28 pt-14 pb-8 md:pt-28 md:pb-28",children:(0,n.jsx)(P.W,{children:(0,n.jsx)(z,{id:"294021202080",options:{product:{styles:{product:{"@media (min-width: 601px)":{"max-width":"calc(25% - 20px)","margin-left":"20px","margin-bottom":"50px",width:"calc(25% - 20px)"}},title:{"font-size":"17px",color:"#fff"},button:{"font-weight":"bold",":hover":{"background-color":"#d33591"},"background-color":"#ea3ba1",":focus":{"background-color":"#d33591"},"border-radius":"0px","padding-left":"27px","padding-right":"27px"},price:{color:"#fff"}}},productSet:{styles:{products:{"@media (min-width: 601px)":{"margin-left":"-20px"}}}},modalProduct:{contents:{img:!1,imgWithCarousel:!0,button:!1,buttonWithQuantity:!0},styles:{product:{"@media (min-width: 601px)":{"max-width":"100%","margin-left":"0px","margin-bottom":"0px"}},button:{"font-weight":"bold",":hover":{"background-color":"#d33591"},"background-color":"#ea3ba1",":focus":{"background-color":"#d33591"},"border-radius":"0px","padding-left":"27px","padding-right":"27px"},title:{"font-family":"Helvetica Neue, sans-serif","font-weight":"bold","font-size":"26px",color:"#4c4c4c"}},text:{button:"Add to cart"}},option:{},cart:{styles:{button:{"font-weight":"bold",":hover":{"background-color":"#d33591"},"background-color":"#ea3ba1",":focus":{"background-color":"#d33591"},"border-radius":"0px"}},text:{total:"Subtotal",button:"Checkout"}},toggle:{styles:{toggle:{"font-weight":"bold","background-color":"#ea3ba1",":hover":{"background-color":"#d33591"},":focus":{"background-color":"#d33591"}}}}}})})})]}):null}}},function(e){e.O(0,[367,915,607,774,888,179],(function(){return t=5301,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.