mediacms/static/js/profile-media.js

1 line
15 KiB
JavaScript
Raw Normal View History

2024-10-04 12:17:40 +02:00
!function(){var n,t={4938:function(n,t,r){"use strict";var e=r(2541),o=r(4982);(0,e.X)("page-profile-media",o.a)},7446:function(n,t,r){"use strict";r(2070),r(5466);var e=r(3074),o=r.n(e);r(2299),o().string.isRequired,o().string.isRequired,o().func.isRequired},2915:function(n,t,r){"use strict";r(2004),r(8407),r(6394),r(8288),r(5677),r(2129),r(4655),r(288),r(4458),r(3675);var e=r(5466),o=r(3074),i=r.n(o),u=r(2299);function c(n,t){(null==t||t>n.length)&&(t=n.length);for(var r=0,e=new Array(t);r<t;r++)e[r]=n[r];return e}function a(n){var t,r,o=(t=(0,e.useState)(n.active),r=2,function(n){if(Array.isArray(n))return n}(t)||function(n,t){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var e,o,i=[],u=!0,c=!1;try{for(r=r.call(n);!(u=(e=r.next()).done)&&(i.push(e.value),!t||i.length!==t);u=!0);}catch(n){c=!0,o=n}finally{try{u||null==r.return||r.return()}finally{if(c)throw o}}return i}}(t,r)||function(n,t){if(n){if("string"==typeof n)return c(n,t);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(n,t):void 0}}(t,r)||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.")}()),i=o[0],a=o[1];return e.createElement("div",{className:"mi-filters-toggle"},e.createElement("button",{className:i?"active":"","aria-label":"Filter",onClick:function(){a(!i),void 0!==n.onClick&&n.onClick()}},e.createElement(u.O,{type:"filter_list"}),e.createElement("span",{className:"filter-button-label"},e.createElement("span",{className:"filter-button-label-text"},"FILTERS"))))}a.propTypes={onClick:i().func,active:i().bool},a.defaultProps={active:!1}},4234:function(n,t,r){"use strict";r.d(t,{CircleIconButton:function(){return e.M},MaterialIcon:function(){return o.O},NavigationContentApp:function(){return i.o},NavigationMenuList:function(){return u.S},Notifications:function(){return c.T},PopupMain:function(){return a.W8},PopupTop:function(){return a.HF},SpinnerLoader:function(){return f.i},UserThumbnail:function(){return l.q}});var e=r(7714),o=(r(7446),r(2915),r(2299)),i=r(2917),u=r(5671),c=r(2436),a=(r(5517),r(940)),f=r(6309),l=r(6142)},5517:function(n,t,r){"use strict";r(2004),r(8407),r(6394),r(8288),r(5677),r(2129),r(4655),r(288),r(4458),r(3675),r(5466);var e=r(3074),o=r.n(e);o().string,o().array.isRequired,o().string,o().number,o().number,o().number,o().func,o().func},824:function(n,t,r){"use strict";r.d(t,{LazyLoadItemListAsync:function(){return m}}),r(2070),r(2004),r(8407),r(6394),r(8288),r(5677),r(2129),r(4655),r(288),r(4458),r(3675),r(4517),r(9751),r(8833),r(815),r(5090),r(9174);var e=r(5466),o=r(8578),i=r(2546),u=r(8982),c=r(2832),a=r(3632),f=r(8986);function l(n,t){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.push.apply(r,e)}return r}function s(n){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){p(n,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(r,t))}))}return n}function p(n,t,r){return t in n?Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[t]=r,n}function y(){return(y=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(n[e]=r[e])}return n}).apply(this,arguments)}function d(n,t){(null==t||t>n.length)&&(t=n.length);for(var r=0,e=new Array(t);r<t;r++)e[r]=n[r];return e}function m(n){var t,r,u=(t=(0,i.useItemListLazyLoad)(n),r=13,function(n){if(Array.isArray(n))return n}(t)||function(n,t){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@ite