"use strict";(("undefined"!=typeof self?self:global).webpackChunkclient_web=("undefined"!=typeof self?self:global).webpackChunkclient_web||[]).push([[1408],{23593:(e,n,r)=>{r.d(n,{g:()=>I});r(40065),r(43379),r(34192),r(4865);var t=r(30758),o=r(3074),i=r.n(o),c=r(61616),a=r(53731),l=r(13534),s=r(93493),u=r(69400),d=r(80021),f=r(52542),v=r(13734),b=(r(7651),r(30456),r(26701),r(25550),r(37417),r(11737),r(51691),r(702),r(5672),r(88856),r(51565),r(15342),r(18316),r(64539)),p=r(76348),h=r(85673),y=r(33233),m=r(67963),w=r(93195),O=r(92107),j=r(31019),g=r(77809),S=r(86070),x=function(e){var n=e.onSelect,r=(0,j.a)(),t=r.viewMode,o=r.setViewMode;return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(y.y,{children:O.Ru.get("web-player.your-library-x.sort-and-view-picker.view-as")}),g.i.map((function(e,r){var i=e.value,c=e.icon,a=e.text;return(0,S.jsx)(m.D,{role:"menuitemradio","aria-checked":t===i,divider:r===g.i.length-1?"after":void 0,autoClose:!1,leadingIcon:c(),onClick:function(){o(i),null==n||n(i)},children:a()},i)}))]})},k=["heading","selected","onSelect","options","enableViewModeMenu","onSelectViewMode","sortOrder"];function C(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function M(e){for(var n=1;n{r.d(n,{f:()=>a,z:()=>c});var t=r(30758),o=r(23100),i=r(19424);function c(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.l0o,r=(0,i.as)();return(0,t.useEffect)((function(){return e&&r((0,i.Mo)(e)),function(){r((0,i.Hf)())}}),[e,r]),e||n}var a=function(e){return c(e.color,e.fallbackColor),null}}}]); //# sourceMappingURL=xpui-routes-artist.js.map